{"version":3,"sources":["webpack:///./src/components/layers/Layerselect.vue","webpack:///src/components/layers/Layerselect.vue","webpack:///./src/components/layers/Layerselect.vue?6338","webpack:///./src/components/layers/Layerselect.vue?744b"],"names":["render","_vm","this","_c","_self","directives","name","rawName","value","content","rightclickLabel","delay","show","hide","placement","autohide","expression","staticClass","staticStyle","on","$event","preventDefault","selectSingle","apply","arguments","_l","openLayersMaps","map","key","getTarget","attrs","domProps","isVisible","toggle","layer","nativeOn","type","indexOf","_k","keyCode","button","_v","_s","label","get","isolinesLegendImgDataURL","_e","differencesLegendImgDataURL","staticRenderFns","components","LegendElement","props","computed","_objectSpread","mapState","mapGetters","openLayersMap","getLayer","layerId","singleLayerVisible","$gettext","watch","ongoingRefresh","refreshLegend","methods","$store","commit","loadLegendImage","_this","selectedSurvey","getSource","updateParams","cql_filter","setVisible","getVisible","changed","forEach","m","_this2","storeTarget","_this3","HTTP","concat","headers","Accept","localStorage","getItem","responseType","then","response","reader","FileReader","onload","event","target","result","readAsDataURL","data","catch","error","message","_error$response","status","displayError","title","created","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,WAAW,CAAC,CAACC,KAAK,UAAUC,QAAQ,YAAYC,MAAO,CAChIC,QAASR,EAAIS,gBACbC,MAAO,CACLC,KAAM,IACNC,KAAM,KAERC,UAAW,SACXC,UAAU,GACTC,WAAW,kJAAkJC,YAAY,mDAAmDC,YAAY,CAAC,sBAAsB,sBAAsB,CAACf,EAAG,MAAM,CAACc,YAAY,SAASE,GAAG,CAAC,YAAc,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBpB,EAAIqB,aAAaC,MAAM,KAAMC,cAAc,CAACvB,EAAIwB,GAAIxB,EAAIyB,gBAAgB,SAASC,GAAK,OAAOxB,EAAG,QAAQ,CAACyB,IAAID,EAAIE,YAAYZ,YAAY,YAAYa,MAAM,CAAC,KAAO,Y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A,wBACA,GAAAD,EAAAV,SAAA,CACA,IAAAY,EAAAF,EAAAV,SAAAa,EAAAD,EAAAC,OAAAL,EAAAI,EAAAJ,KACAG,EAAA,GAAAlB,OAAAoB,EAAA,MAAApB,OAAAe,EAAAG,SAAAH,GAEAM,eAAA,CACAC,MAAAxB,EAAApB,SAAA,iBACAwC,iBAKAK,QAAA,WACA,KAAA1C,kBC9LmW,I,YCO/V2C,EAAY,eACd,EACA1G,EACAgD,GACA,EACA,KACA,KACA,MAIa,aAAA0D,E","file":"js/chunk-2d0b688f.7406e587.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:({\n content: _vm.rightclickLabel,\n delay: {\n show: 1000,\n hide: 100\n },\n placement: 'bottom',\n autohide: true\n }),expression:\"{\\n content: rightclickLabel,\\n delay: {\\n show: 1000,\\n hide: 100\\n },\\n placement: 'bottom',\\n autohide: true\\n }\"}],staticClass:\"d-flex flex-column flex-start px-2 border-bottom\",staticStyle:{\"border-bottom-style\":\"dashed !important\"}},[_c('div',{staticClass:\"d-flex\",on:{\"contextmenu\":function($event){$event.preventDefault();return _vm.selectSingle.apply(null, arguments)}}},[_vm._l((_vm.openLayersMaps),function(map){return _c('input',{key:map.getTarget(),staticClass:\"mt-1 mr-1\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":_vm.isVisible(map)},on:{\"change\":function($event){return _vm.toggle(map)}}})}),_c('LegendElement',{staticClass:\"pointer\",attrs:{\"layer\":_vm.layer},nativeOn:{\"click\":function($event){return _vm.toggle()}}}),_c('label',{staticClass:\"pointer layername form-check-label ml-1\",on:{\"click\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"left\",37,$event.key,[\"Left\",\"ArrowLeft\"]))return null;if('button' in $event && $event.button !== 0)return null;return _vm.toggle()}}},[_vm._v(\"\\n \"+_vm._s(_vm.label)+\"\\n \")])],2),_c('div',[(_vm.isVisible() && _vm.layer.get('id') === 'BOTTLENECKISOLINE')?_c('div',[_c('img',{staticClass:\"rounded my-1 d-block\",attrs:{\"src\":_vm.isolinesLegendImgDataURL}})]):_vm._e(),(_vm.isVisible() && _vm.layer.get('id') === 'DIFFERENCES')?_c('div',[_c('img',{staticClass:\"rounded my-1 d-block\",attrs:{\"src\":_vm.differencesLegendImgDataURL}})]):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n {{ label }}\n \n \n \n \n \n \n \n \n \n \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!./Layerselect.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!./Layerselect.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Layerselect.vue?vue&type=template&id=4ef9b9ef\"\nimport script from \"./Layerselect.vue?vue&type=script&lang=js\"\nexport * from \"./Layerselect.vue?vue&type=script&lang=js\"\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 null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}