{"version":3,"sources":["webpack:///./node_modules/debounce/index.js","webpack:///./src/components/Search.vue?f6a1","webpack:///./src/components/Search.vue","webpack:///src/components/Search.vue","webpack:///./src/components/Search.vue?9dcd","webpack:///./src/components/Search.vue?14ea"],"names":["debounce","func","wait","immediate","timeout","args","context","timestamp","result","later","last","Date","now","setTimeout","apply","debounced","this","arguments","callNow","clear","clearTimeout","flush","module","exports","render","_vm","_c","_self","class","searchbarContainerStyle","staticClass","searchButtonStyle","attrs","on","toggleSearchbar","searchgroupwidthbottlenecks","showSearchbar","contextBoxContent","sgnobottlenecks","big","showContextBox","indexOf","directives","name","rawName","value","searchQuery","expression","searchInputStyle","domProps","$event","type","_k","keyCode","key","triggerEnter","target","composing","searchResults","_l","entry","index","preventDefault","moveToSearchResult","_e","includes","_v","_s","location","locationcode","staticRenderFns","setFocus","document","querySelector","focus","data","searchQueryIsDirty","isSearching","computed","_objectSpread","mapState","mapGetters","get","$store","state","application","set","commit","searchIndicator","smallbox","searchcontainerwidth","searchgroupwidth","searchcontainerwidthbottlenecks","searchgroupwidthbottleneks","rounded","watch","triggerSearch","currentVisibleTime","doSearch","methods","loadLogs","_this","dispatch","filter","filters","from","format","startDate","to","endDate","query","then","catch","error","message","response","_error$response","status","concat","displayError","title","$gettext","length","_this2","isCalculating","HTTP","post","showTimeSlider","string","time","toISOString","headers","localStorage","getItem","_error$response2","resultEntry","zoom","openLayersMap","getLayer","setVisible","id","geom","coordinates","preventZoomOut","boundingBox","Math","min","_toConsumableArray","map","c","max","component"],"mappings":"0HAcA,SAASA,EAASC,EAAMC,EAAMC,GAC5B,IAAIC,EAASC,EAAMC,EAASC,EAAWC,EAGvC,SAASC,IACP,IAAIC,EAAOC,KAAKC,MAAQL,EAEpBG,EAAOR,GAAQQ,GAAQ,EACzBN,EAAUS,WAAWJ,EAAOP,EAAOQ,IAEnCN,EAAU,KACLD,IACHK,EAASP,EAAKa,MAAMR,EAASD,GAC7BC,EAAUD,EAAO,OAXnB,MAAQH,IAA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0D,EAAA,KAEA,KAAAY,OAAAI,OAAA,kCAAAnD,mBC7a+U,I,wBCQ3UmH,EAAY,eACd,EACA/H,EACA8C,GACA,EACA,KACA,WACA,MAIa,aAAAiF,E","file":"js/chunk-64264b3e.7f1bb88b.js","sourcesContent":["/**\n * Returns a function, that, as long as it continues to be invoked, will not\n * be triggered. The function will be called after it stops being called for\n * N milliseconds. If `immediate` is passed, trigger the function on the\n * leading edge, instead of the trailing. The function also has a property 'clear' \n * that is a function which will clear the timer to prevent previously scheduled executions. \n *\n * @source underscore.js\n * @see http://unscriptable.com/2009/03/20/debouncing-javascript-methods/\n * @param {Function} function to wrap\n * @param {Number} timeout in ms (`100`)\n * @param {Boolean} whether to execute at the beginning (`false`)\n * @api public\n */\nfunction debounce(func, wait, immediate){\n var timeout, args, context, timestamp, result;\n if (null == wait) wait = 100;\n\n function later() {\n var last = Date.now() - timestamp;\n\n if (last < wait && last >= 0) {\n timeout = setTimeout(later, wait - last);\n } else {\n timeout = null;\n if (!immediate) {\n result = func.apply(context, args);\n context = args = null;\n }\n }\n };\n\n var debounced = function(){\n context = this;\n args = arguments;\n timestamp = Date.now();\n var callNow = immediate && !timeout;\n if (!timeout) timeout = setTimeout(later, wait);\n if (callNow) {\n result = func.apply(context, args);\n context = args = null;\n }\n\n return result;\n };\n\n debounced.clear = function() {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n };\n \n debounced.flush = function() {\n if (timeout) {\n result = func.apply(context, args);\n context = args = null;\n \n clearTimeout(timeout);\n timeout = null;\n }\n };\n\n return debounced;\n};\n\n// Adds compatibility for ES modules\ndebounce.debounce = debounce;\n\nmodule.exports = debounce;\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Search.vue?vue&type=style&index=0&id=8620173a&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{class:_vm.searchbarContainerStyle},[_c('div',{staticClass:\"input-group-prepend m-0 d-print-none\"},[_c('span',{class:_vm.searchButtonStyle,attrs:{\"for\":\"search\"},on:{\"click\":_vm.toggleSearchbar}},[_c('font-awesome-icon',{attrs:{\"icon\":\"search\"}})],1)]),_c('div',{class:[\n 'searchgroup',\n {\n searchgroupwidthbottlenecks:\n this.showSearchbar && this.contextBoxContent === 'bottlenecks',\n sgnobottlenecks:\n this.showSearchbar && this.contextBoxContent !== 'bottlenecks',\n 'searchgroup-collapsed': !_vm.showSearchbar,\n big:\n _vm.showContextBox &&\n ['bottlenecks', 'staging', 'stretches'].indexOf(\n _vm.contextBoxContent\n ) !== -1\n }\n ]},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchQuery),expression:\"searchQuery\"}],class:_vm.searchInputStyle,attrs:{\"id\":\"search\",\"type\":\"text\"},domProps:{\"value\":(_vm.searchQuery)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.triggerEnter.apply(null, arguments)},\"input\":function($event){if($event.target.composing)return;_vm.searchQuery=$event.target.value}}})]),(_vm.showSearchbar && _vm.searchResults !== null && !_vm.showContextBox)?_c('div',{staticClass:\"searchresults border-top ui-element bg-white rounded-bottom d-print-none position-absolute\"},_vm._l((_vm.searchResults),function(entry,index){return _c('div',{key:index,staticClass:\"border-top text-left\"},[_c('a',{staticClass:\"p-2 d-block text-nowrap\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.moveToSearchResult(entry)}}},[(entry.type === 'bottleneck')?_c('font-awesome-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"ship\",\"fixed-width\":\"\"}}):_vm._e(),(entry.type === 'rhm')?_c('font-awesome-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"water\",\"fixed-width\":\"\"}}):_vm._e(),(entry.type === 'city')?_c('font-awesome-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"city\",\"fixed-width\":\"\"}}):_vm._e(),(entry.type === 'gauge')?_c('font-awesome-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"ruler-vertical\",\"fixed-width\":\"\"}}):_vm._e(),(['stretch', 'section'].includes(entry.type))?_c('font-awesome-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"road\",\"fixed-width\":\"\"}}):_vm._e(),_vm._v(\"\\n \"+_vm._s(entry.name)+\"\\n \"),(entry.location || entry.locationcode)?_c('span',[_vm._v(\"(\"+_vm._s(entry.location)),(entry.location && entry.locationcode)?_c('span',[_vm._v(\", \")]):_vm._e(),_vm._v(_vm._s(entry.locationcode)+\")\")]):_vm._e()],1)])}),0):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Search.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Search.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Search.vue?vue&type=template&id=8620173a&scoped=true\"\nimport script from \"./Search.vue?vue&type=script&lang=js\"\nexport * from \"./Search.vue?vue&type=script&lang=js\"\nimport style0 from \"./Search.vue?vue&type=style&index=0&id=8620173a&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8620173a\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}