From 4d89a7502475e7177e1b673a8478cac9f0f8513c Mon Sep 17 00:00:00 2001 From: volterra79 Date: Wed, 11 Oct 2023 10:43:06 +0200 Subject: [PATCH] :arrow_up: : Client: Bump g3w-client https://github.com/g3w-suite/g3w-client/releases/tag/v3.7.18 --- README.md | 2 +- g3w-admin/client/static/client/js/app.min.js | 28 ++++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 5d4afd4f3..8055d6e5b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Software releases follow theese main branches as described in the compatibility | Branch | Python version | Django version | Client version | QGIS API | First release | Status | |------------|----------------|----------------|----------------|----------|--------------|---------------- | | [dev] | 3.10 | 2.2 | dev | ✔️ | Unreleased | ⚠️️ Unstable | -| [v.3.5.x] | 3.10 | 2.2 | 3.7.17 | ✔️ | August 2023 | 🪲️ Bug fixing | +| [v.3.5.x] | 3.10 | 2.2 | 3.7.18 | ✔️ | August 2023 | 🪲️ Bug fixing | | [v.3.4.x] | 3.8 | 2.2 | 3.4.x | ✔️ | Mar 2022 | 🪲 Bug fixing | | [v.3.3.x] | 3.6 | 2.2 | 3.3.x | ✔️ | Sep 2021 | 🚨 End of Life | | [v.3.2.x] | 3.6 | 2.2 | 3.2.x | ✔️ | Apr 2021 | 🚨 End of Life | diff --git a/g3w-admin/client/static/client/js/app.min.js b/g3w-admin/client/static/client/js/app.min.js index 6dece816e..67416750a 100644 --- a/g3w-admin/client/static/client/js/app.min.js +++ b/g3w-admin/client/static/client/js/app.min.js @@ -21,17 +21,17 @@ staticClass:"project_title_content"},[r("div",{staticClass:"main_title"},[e._v(e function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){var t,n,i,a,o,s,u;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return t="EPSG:4326",this.layerMenu.loading.shp=!0,n=l.getService("map"),i=n.getLayerByName(e.name),a=new ol.format.GeoJSON,o=i.getSource().getFeatures(),e.crs!==t&&(o=o.map(function(r){var n=r.clone();return n.getGeometry().transform(e.crs,t),n})),s=a.writeFeaturesObject(o,{featureProjection:t}),u=e.name.split("."+e.type)[0],d.download(s,{folder:u,types:{point:u,mulipoint:u,polygon:u,multipolygon:u,line:u,polyline:u,multiline:u}}),r.next=12,this.$nextTick();case 12:this.layerMenu.loading.shp=!1,this._hideMenu();case 14:case"end":return r.stop()}},r,this)}));return e}(),showAttributeTable:function(e){var t=this;this.layerMenu.loading.data_table=!1,l.closeContent();var r=s.getLayerById(e);this.layerMenu.loading.data_table=!0;var n=new p({layer:r,formatter:1});n.on("show",function(){t.isMobile()&&l.hideSidebar(),t.layerMenu.loading.data_table=!1,t._hideMenu()}),n.show({title:r.getName()})},startEditing:function(){var e=this,t=void 0,r=s.getLayersStores();r.forEach(function(r){if(t=r.getLayerById(e.layerMenu.layer.id))return t.getLayerForEditing(),!1})},setCurrentLayerStyle:function(e){var t=this,r=!1;if(this.layerMenu.layer.styles.forEach(function(n,i){i===e?(t.layerMenu.stylesMenu.style=n.name,r=!n.current,n.current=!0):n.current=!1}),r){var n=this.layerMenu.layer.id,i=s.getLayerById(this.layerMenu.layer.id);i&&(a["default"].$emit("layer-change-style",{layerId:n}),i.change())}this.closeLayerMenu()},showStylesMenu:function(){function e(e,r){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e,t){var n,i,a,o,s,l;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!e){r.next=15;break}return n=$(t.target),this.layerMenu.stylesMenu.top=n.offset().top,this.layerMenu.stylesMenu.left=n.offset().left+n.width()+(n.outerWidth()-n.width())/2+h.left,i=$("#layer-menu"),a=$(t.target),o=a.children("ul"),s=o.height(),l=i.height(),this.layerMenu.stylesMenu.maxHeight=s>=l?l:null,this.layerMenu.stylesMenu.overflowY=s>=l?"scroll":null,this.layerMenu.stylesMenu.top=(s>=l?i:a).offset().top,this.layerMenu.stylesMenu.left=this.isMobile()?0:a.offset().left+a.width()+(a.outerWidth()-a.width())/2+h.left,r.next=15,this.$nextTick();case 15:this.layerMenu.stylesMenu.show=e;case 16:case"end":return r.stop()}},r,this)}));return e}(),showMetadataInfo:function(){function e(e,r){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e,t){var n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!e){r.next=6;break}return n=$(t.target),this.layerMenu.metadatainfoMenu.top=n.offset().top,this.layerMenu.metadatainfoMenu.left=n.offset().left+n.width()+(n.outerWidth()-n.width())/2+h.left,r.next=6,this.$nextTick();case 6:this.layerMenu.metadatainfoMenu.show=e;case 7:case"end":return r.stop()}},r,this)}));return e}(),showColorMenu:function(e,t){if(e){var r=$(t.target);this.layerMenu.colorMenu.top=r.offset().top,this.layerMenu.colorMenu.left=r.offset().left+r.width()+(r.outerWidth()-r.width())/2-h.left}this.layerMenu.colorMenu.show=e}},created:function(){var e=this;a["default"].$on("showmenulayer",function(){var t=n(regeneratorRuntime.mark(function r(t,n){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e._hideMenu(),r.next=3,e.$nextTick();case 3:return e.layerMenu.left=n.x,e.layerMenu.name=t.name,e.layerMenu.layer=t,e.layerMenu.show=!0,e.layerMenu.colorMenu.color=t.color,r.next=10,e.$nextTick();case 10:e.layerMenu.top=$(n.target).offset().top-$(e.$refs["layer-menu"]).height()+$(n.target).height()/2,$('.catalog-menu-wms[data-toggle="tooltip"]').tooltip();case 12:case"end":return r.stop()}},r,e)}));return function(e,r){return t.apply(this,arguments)}}())}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.layerMenu.show?r("ul",{directives:[{name:"click-outside-layer-menu",rawName:"v-click-outside-layer-menu",value:e.closeLayerMenu,expression:"closeLayerMenu"}],ref:"layer-menu",style:{top:e.layerMenu.top+"px",left:e.layerMenu.left+"px"},attrs:{id:"layer-menu",tabindex:"-1"}},[r("li",{staticClass:"title"},[r("div",[e._v(e._s(e.layerMenu.layer.title))]),e._v(" "),r("div",{staticStyle:{"font-weight":"normal","font-size":"0.8em"}},[e._v(e._s(e.getGeometryType(e.layerMenu.layer.id,e.layerMenu.layer.external)))])]),e._v(" "),e.layerMenu.layer.projectLayer?e._e():r("li",[r("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[r("layerspositions",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-between"},attrs:{position:e.layerMenu.layer.position},on:{"layer-position-change":function(t){return e.changeLayerMapPosition({position:t,layer:e.layerMenu.layer})}}})],1)]),e._v(" "),e.layerMenu.layer.metadata&&e.layerMenu.layer.metadata["abstract"]?r("li",{on:{mouseleave:function(t){return t.target!==t.currentTarget?null:e.showMetadataInfo(!1)},mouseover:function(t){return t.target!==t.currentTarget?null:e.showMetadataInfo(!0,t)}}},[r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("info")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"Metadata",expression:"'Metadata'"}],staticClass:"item-text"}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.layerMenu.metadatainfoMenu.show,expression:"layerMenu.metadatainfoMenu.show"}],staticStyle:{position:"fixed","background-color":"#FFFFFF",color:"#000000","padding-left":"0","border-radius":"0 3px 3px 0"},style:{top:e.layerMenu.metadatainfoMenu.top+"px",left:e.layerMenu.metadatainfoMenu.left+1+"px"}},[r("div",{staticClass:"layer-menu-metadata-info",staticStyle:{padding:"5px"},domProps:{innerHTML:e._s(e.layerMenu.layer.metadata["abstract"])}})])]):e._e(),e._v(" "),e.layerMenu.layer.geolayer&&e.layerMenu.layer.styles&&e.layerMenu.layer.styles.length>1?r("li",{staticClass:"menu-icon",on:{mouseleave:function(t){return t.target!==t.currentTarget?null:e.showStylesMenu(!1,t)},mouseover:function(t){return t.target!==t.currentTarget?null:e.showStylesMenu(!0,t)}}},[r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("palette")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"catalog_items.contextmenu.styles",expression:"'catalog_items.contextmenu.styles'"}],staticClass:"item-text"}),e._v(" "),r("span",{staticClass:"menu-icon","class":e.g3wtemplate.getFontClass("arrow-right"),staticStyle:{position:"absolute",right:"0","margin-top":"3px"}}),e._v(" "),r("ul",{directives:[{name:"show",rawName:"v-show",value:e.layerMenu.stylesMenu.show,expression:"layerMenu.stylesMenu.show"}],staticStyle:{position:"fixed","padding-left":"0","background-color":"#FFFFFF",color:"#000000"},style:{top:e.layerMenu.stylesMenu.top+"px",left:e.layerMenu.stylesMenu.left+"px",maxHeight:e.layerMenu.stylesMenu.maxHeight+"px",overflowY:e.layerMenu.stylesMenu.overflowY}},e._l(e.layerMenu.layer.styles,function(t,n){return r("li",{key:t.name,on:{click:function(t){return t.stopPropagation(),e.setCurrentLayerStyle(n)}}},[t.current?r("span",{"class":e.g3wtemplate.getFontClass("circle"),staticStyle:{"font-size":"0.8em"}}):e._e(),e._v(" "),r("span",[e._v(e._s(t.name)+"\n "),t.name===e.layerMenu.layer.defaultstyle&&e.layerMenu.layer.styles.length>1?r("span",[e._v("("),r("span",{directives:[{name:"t",rawName:"v-t",value:"default",expression:"'default'"}]}),e._v(")")]):e._e()])])}),0)]):e._e(),e._v(" "),e.canZoom(e.layerMenu.layer)?r("li",{on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.zoomToLayer(e.layerMenu.layer)}}},[r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("search")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"catalog_items.contextmenu.zoomtolayer",expression:"'catalog_items.contextmenu.zoomtolayer'"}],staticClass:"item-text"})]):e._e(),e._v(" "),e.layerMenu.layer.openattributetable?r("li",{on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.showAttributeTable(e.layerMenu.layer.id)}}},[r("bar-loader",{attrs:{loading:e.layerMenu.loading.data_table}}),e._v(" "),r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("list")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"catalog_items.contextmenu.open_attribute_table",expression:"'catalog_items.contextmenu.open_attribute_table'"}],staticClass:"item-text"})],1):e._e(),e._v(" "),e.layerMenu.layer.projectLayer||"wms"===e.layerMenu.layer._type?e._e():r("li",{on:{click:function(e){e.preventDefault(),e.stopPropagation()},mouseleave:function(t){return t.target!==t.currentTarget?null:e.showColorMenu(!1,t)},mouseover:function(t){return t.target!==t.currentTarget?null:e.showColorMenu(!0,t)}}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"catalog_items.contextmenu.vector_color_menu",expression:"'catalog_items.contextmenu.vector_color_menu'"}],staticClass:"item-text"}),e._v(" "),r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("arrow-right"),staticStyle:{position:"absolute",right:"0","margin-top":"3px"}}),e._v(" "),e.layerMenu.colorMenu.show?r("ul",{staticStyle:{position:"fixed"},style:{top:e.layerMenu.colorMenu.top+"px",left:e.layerMenu.colorMenu.left+"px"}},[r("li",{staticStyle:{padding:"0"}},[r("chrome-picker",{ref:"color_picker",staticStyle:{width:"100%"},on:{click:function(e){e.preventDefault(),e.stopPropagation()},"hook:beforeDestroy":e.onbeforeDestroyChangeColor,"change-color":e.onChangeColor},model:{value:e.layerMenu.colorMenu.color,callback:function(t){e.$set(e.layerMenu.colorMenu,"color",t)},expression:"layerMenu.colorMenu.color"}})],1)]):e._e()]),e._v(" "),e.layerMenu.layer.projectLayer||"wms"===e.layerMenu.layer._type?e._e():r("li",{directives:[{name:"download",rawName:"v-download"}],on:{click:function(e){e.preventDefault(),e.stopPropagation()}}},[r("div",{on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.downloadExternalShapefile(e.layerMenu.layer)}}},[r("bar-loader",{attrs:{loading:e.layerMenu.loading.shp}}),e._v(" "),r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("shapefile")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.catalog.menu.download.shp",expression:"'sdk.catalog.menu.download.shp'"}],staticClass:"item-text"})],1)]),e._v(" "),e.layerMenu.layer.projectLayer||"wms"!==e.layerMenu.layer._type?e._e():r("li",{on:{click:function(e){e.preventDefault(),e.stopPropagation()}}},[r("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.catalog.menu.setwmsopacity",expression:"'sdk.catalog.menu.setwmsopacity'"}],staticClass:"item-text"}),e._v(" "),r("span",{staticStyle:{"font-weight":"bold","margin-left":"5px"}},[e._v(e._s(e.layerMenu.layer.opacity))])]),e._v(" "),r("range",{attrs:{value:e.layerMenu.layer.opacity,min:0,max:1,step:.1,sync:!0},on:{changed:e._hideMenu,"change-range":e.setWMSOpacity}})],1),e._v(" "),e.canDownloadGeoTIFF(e.layerMenu.layer.id)?r("li",{directives:[{name:"download",rawName:"v-download"}]},[r("div",{on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.downloadGeoTIFF(e.layerMenu.layer.id)}}},[r("bar-loader",{attrs:{loading:e.layerMenu.loading.geotiff}}),e._v(" "),r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("geotiff")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.catalog.menu.download.geotiff",expression:"'sdk.catalog.menu.download.geotiff'"}],staticClass:"item-text"})],1)]):e._e(),e._v(" "),e.canDownloadGeoTIFF(e.layerMenu.layer.id)?r("li",{directives:[{name:"download",rawName:"v-download"}]},[r("div",{staticStyle:{position:"relative"},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.downloadGeoTIFF(e.layerMenu.layer.id,!0)}}},[r("bar-loader",{attrs:{loading:e.layerMenu.loading.geotiff}}),e._v(" "),r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("geotiff"),staticStyle:{color:"#777"}}),e._v(" "),r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("crop"),staticStyle:{position:"absolute",left:"-7px",bottom:"8px","font-size":"1.2em"}}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.catalog.menu.download.geotiff_map_extent",expression:"'sdk.catalog.menu.download.geotiff_map_extent'"}],staticClass:"item-text"})],1)]):e._e(),e._v(" "),e.canDownloadShp(e.layerMenu.layer.id)?r("li",{directives:[{name:"download",rawName:"v-download"}]},[r("div",{on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.downloadShp(e.layerMenu.layer.id)}}},[r("bar-loader",{attrs:{loading:e.layerMenu.loading.shp}}),e._v(" "),r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("shapefile")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.catalog.menu.download.shp",expression:"'sdk.catalog.menu.download.shp'"}],staticClass:"item-text"})],1)]):e._e(),e._v(" "),e.canDownloadGpx(e.layerMenu.layer.id)?r("li",[r("div",{directives:[{name:"download",rawName:"v-download"}],on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.downloadGpx(e.layerMenu.layer.id)}}},[r("bar-loader",{attrs:{loading:e.layerMenu.loading.gpx}}),e._v(" "),r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("gpx")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.catalog.menu.download.gpx",expression:"'sdk.catalog.menu.download.gpx'"}],staticClass:"item-text"})],1)]):e._e(),e._v(" "),e.canDownloadGpkg(e.layerMenu.layer.id)?r("li",[r("div",{directives:[{name:"download",rawName:"v-download"}],on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.downloadGpkg(e.layerMenu.layer.id)}}},[r("bar-loader",{attrs:{loading:e.layerMenu.loading.gpkg}}),e._v(" "),r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("gpkg")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.catalog.menu.download.gpkg",expression:"'sdk.catalog.menu.download.gpkg'"}],staticClass:"item-text"})],1)]):e._e(),e._v(" "),e.canDownloadCsv(e.layerMenu.layer.id)?r("li",[r("div",{directives:[{name:"download",rawName:"v-download"}],on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.downloadCsv(e.layerMenu.layer.id)}}},[r("bar-loader",{attrs:{loading:e.layerMenu.loading.csv}}),e._v(" "),r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("csv")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.catalog.menu.download.csv",expression:"'sdk.catalog.menu.download.csv'"}],staticClass:"item-text"})],1)]):e._e(),e._v(" "),e.canDownloadXls(e.layerMenu.layer.id)?r("li",{directives:[{name:"download",rawName:"v-download"}]},[r("div",{on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.downloadXls(e.layerMenu.layer.id)}}},[r("bar-loader",{attrs:{loading:e.layerMenu.loading.xls}}),e._v(" "),r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("xls")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.catalog.menu.download.xls",expression:"'sdk.catalog.menu.download.xls'"}],staticClass:"item-text"})],1)]):e._e(),e._v(" "),e.canShowWmsUrl(e.layerMenu.layer.id)?r("li",[r("div",{staticStyle:{display:"flex","max-width":"300px","align-items":"center"},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.copyUrl({evt:t,layerId:e.layerMenu.layer.id,type:"Wms"})}}},[r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("map")}),e._v(" "),r("div",{staticStyle:{display:"inline-flex","justify-content":"space-between",width:"100%","align-items":"baseline"}},[r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip",value:"sdk.catalog.menu.wms.copy",expression:"'sdk.catalog.menu.wms.copy'"}],staticClass:"item-text catalog-menu-wms skin-tooltip-top",attrs:{"data-toggle":"tooltip"}},[e._v("WMS URL")]),e._v(" "),r("span",{staticClass:"bold catalog-menu-wms wms-url-tooltip skin-tooltip-top skin-color-dark","class":e.g3wtemplate.getFontClass("eye"),attrs:{"data-placement":"top","data-toggle":"tooltip",title:e.getWmsUrl(e.layerMenu.layer.id)}})])])]):e._e(),e._v(" "),e.canShowWfsUrl(e.layerMenu.layer.id)?r("li",[r("div",{staticStyle:{display:"flex","max-width":"300px","align-items":"center"},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.copyUrl({evt:t,layerId:e.layerMenu.layer.id,type:"Wfs"})}}},[r("span",{staticClass:"menu-icon skin-color-dark","class":e.g3wtemplate.getFontClass("map")}),e._v(" "),r("div",{staticStyle:{display:"inline-flex","justify-content":"space-between",width:"100%","align-items":"baseline"}},[r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip",value:"sdk.catalog.menu.wms.copy",expression:"'sdk.catalog.menu.wms.copy'"}],staticClass:"item-text catalog-menu-wms skin-tooltip-top",attrs:{"data-toggle":"tooltip"}},[e._v("WFS URL")]),e._v(" "),r("span",{staticClass:"bold catalog-menu-wms wms-url-tooltip skin-tooltip-top skin-color-dark","class":e.g3wtemplate.getFontClass("eye"),attrs:{"data-placement":"top","data-toggle":"tooltip",title:e.getWfsUrl(e.layerMenu.layer.id)}})])])]):e._e()]):e._e()},n.staticRenderFns=[],n._scopeId="data-v-4299ee5c"},{"core/applicationservice":7,"core/catalog/cataloglayersstoresregistry":9,"core/i18n/i18n.service":27,"gui/catalog/vue/catalogeventhub":138,"gui/gui":150,"gui/table/vue/table":219,"shp-write":"shp-write","vueify/lib/insert-css":2}],238:[function(e,t,r){e("vueify/lib/insert-css").insert(".layer-legend[data-v-f5fd4162]{padding-left:36px}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("gui/catalog/vue/catalogeventhub"),a=t(i),o=e("core/project/projectsregistry"),s=e("core/catalog/cataloglayersstoresregistry"),l=e("core/utils/utils"),u=(l.XHR,e("gui/gui"));r["default"]={name:"layerlegend",props:{legendplace:{type:"String"},layer:{type:Object}},data:function(){return{loading:!1,categories:[],currentstyle:this.layer.styles.find(function(e){return!0===e.current}).name}},computed:{externallegend:function(){return"wms"===this.layer.source.type},legend:function(){return this.layer.legend},show:function(){return this.layer.expanded&&this.layer.visible&&("toc"===this.legendplace||"tab"===this.legendplace&&this.layer.categories)}},methods:{getWmsSourceLayerLegendUrl:function(){return this.getProjectLayer().getLegendUrl({width:16,height:16})},getProjectLayer:function(){return s.getLayerById(this.layer.id)},isDisabled:function(e){return this.categories[e].disabled},showHideLayerCategory:function(e){this.categories[e].checked=!this.categories[e].checked,this.getProjectLayer().change(),"tab"===this.legendplace?this.layer.legend.change=!0:this.categories[e].checked&&this.mapReady&&this.setLayerCategories(!1)},setError:function(){this.legend.error=!0,this.legend.loading=!1},urlLoaded:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.legend.loading=!1;case 1:case"end":return e.stop()}},r,this)}));return e}(),onChangeLayerLegendStyle:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.loading=!0,!this.externallegend){t.next=3;break}return t.abrupt("return");case 3:if(e.layerId!==this.layer.id){t.next=16;break}return t.prev=4,t.next=7,this.setLayerCategories(!0);case 7:if(this.currentstyle=e.style,!this.dynamic){t.next=11;break}return t.next=11,this.setLayerCategories(!1);case 11:t.next=16;break;case 13:t.prev=13,t.t0=t["catch"](4);case 16:this.loading=!1;case 17:case"end":return t.stop()}},r,this,[[4,13]])}));return e}(),setLayerCategories:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,n,i,a,o=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,e=this.getProjectLayer(),t=e.getCategories(),!o||!t){r.next=7;break}this.categories=t,r.next=13;break;case 7:return r.next=9,e.getLegendGraphic({all:o});case 9:n=r.sent,i=n.nodes,a=void 0===i?[]:i,o?this._setAllLayerCategories(a):this._updateLayerCategories(a,t);case 13:r.next=18;break;case 15:r.prev=15,r.t0=r["catch"](0),this.setError();case 18:case"end":return r.stop()}},r,this,[[0,15]])}));return e}(),_setAllLayerCategories:function(e){var t=this.getProjectLayer(),r=[];e.forEach(function(e){var t=e.icon,n=e.title,i=e.ruleKey,a=e.checked,o=e.symbols,s=void 0===o?[]:o;t?r.push({icon:t,title:n,ruleKey:i,checked:a,disabled:!1}):s.forEach(function(e){e._checked=e.checked,e.disabled=!1,r.push(e)})}),t.setCategories(r),this.categories=r},_updateLayerCategories:function(e,t){var r=this.getProjectLayer();r.setCategories(t),this.categories=t,e.length?e.forEach(function(e){var r=e.icon,n=e.title,i=e.symbols,a=void 0===i?[]:i;r&&(a=[{icon:r,title:n}]),t.forEach(function(e){var t=a.find(function(t){return t.icon===e.icon&&t.title===e.title}),r="undefined"==typeof e.checked||e.checked;e.disabled=r&&"undefined"==typeof t})}):t.forEach(function(e){return e.disabled="undefined"==typeof e.checked||e.checked})},registerChangeMapLegendParamsEvent:function(){var e=this;u.getService("map").on("change-map-legend-params",n(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:e.mapReady=!0,e.layer.visible&&!1===e.externallegend&&("toc"===e.legendplace||e.layer.categories)&&e.setLayerCategories(!1);case 2:case"end":return t.stop()}},t,e)})))},runInitLayerVisibleAction:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setLayerCategories(!0);case 2:if(!this.dynamic){e.next=6;break}return e.next=5,this.setLayerCategories(!1);case 5:this.registerChangeMapLegendParamsEvent();case 6:this.initialize=!0;case 7:case"end":return e.stop()}},r,this)}));return e}()},watch:{"layer.visible":function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==this.externallegend||!e){t.next=8;break}if(!1!==this.initialize){t.next=6;break}return t.next=4,this.runInitLayerVisibleAction();case 4:t.next=8;break;case 6:return t.next=8,this.setLayerCategories(!this.dynamic);case 8:case"end":return t.stop()}},r,this)}));return e}()},created:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.initialize=!1,this.dynamic=o.getCurrentProject().getContextBaseLegend(),this.mapReady=!1,a["default"].$on("layer-change-style",this.onChangeLayerLegendStyle),!1!==this.externallegend||!0!==this.layer.visible){e.next=7;break}return e.next=7,this.runInitLayerVisibleAction();case 7:case"end":return e.stop()}},r,this)}));return e}(),beforeDestroy:function(){a["default"].$off("layer-change-style",this.onChangeLayerLegendStyle)}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"layer-legend",on:{click:function(e){e.stopPropagation(),e.preventDefault()}}},[e.legend?r("bar-loader",{attrs:{loading:e.legend.loading}}):e._e(),e._v(" "),e.externallegend?r("figure",[r("img",{attrs:{src:e.getWmsSourceLayerLegendUrl()}})]):r("figure",{directives:[{name:"disabled",rawName:"v-disabled",value:e.loading,expression:"loading"}]},[r("bar-loader",{attrs:{loading:e.loading}}),e._v(" "),e._l(e.categories,function(t,n){return r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:t.disabled,expression:"category.disabled"}],staticStyle:{display:"flex","align-items":"center",width:"100%"}},[t.ruleKey?r("span",{"class":e.g3wtemplate.getFontClass(t.checked?"check":"uncheck"),staticStyle:{"padding-right":"3px"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.showHideLayerCategory(n)}}}):e._e(),e._v(" "),"toc"===e.legendplace?r("img",{attrs:{src:t.icon&&"data:image/png;base64,"+t.icon},on:{error:function(t){return e.setError()},load:function(t){return e.urlLoaded()}}}):e._e(),e._v(" "),"tab"===e.legendplace&&t.ruleKey||"toc"===e.legendplace?r("span",{staticClass:"g3w-long-text",staticStyle:{"padding-left":"3px"}},[e._v("\n "+e._s(t.title)+"\n ")]):e._e()])})],2)],1)},n.staticRenderFns=[],n._scopeId="data-v-f5fd4162"},{"core/catalog/cataloglayersstoresregistry":9,"core/project/projectsregistry":83,"core/utils/utils":92,"gui/catalog/vue/catalogeventhub":138,"gui/gui":150,"vueify/lib/insert-css":2}],239:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={props:{layersgroup:{type:Object}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{border:"1px solid #ffffff33",margin:"5px"}},[r("h4",{staticStyle:{margin:"5px","font-weight":"bold"}},[e._v(e._s(e.layersgroup.title))]),e._v(" "),e._l(e.layersgroup.nodes,function(e){return r("tristate-tree",{staticClass:"item",attrs:{layerstree:e}})})],2)},n.staticRenderFns=[]},{}],240:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={props:["layerstree","legend","active"],data:function(){return{}},computed:{visiblelayers:function(){var e=[],t=function r(t){var n=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var l=o.value;!_.isNil(l.id)&&l.visible&&l.geolayer&&!l.exclude_from_legend&&e.push(l),_.isNil(l.nodes)||r(l.nodes)}}catch(u){i=!0,a=u}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw a}}};return t(this.layerstree.tree),e}},watch:{layerstree:{handler:function(e,t){},deep:!0},visiblelayers:function(e){this.$emit("showlegend",!!e.length)}},created:function(){this.$emit("showlegend",!!this.visiblelayers.length)}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"tab-pane","class":{active:e.active},attrs:{role:"tabpanel",id:"legend"}},[r("layerslegend-items",{attrs:{active:e.active,legend:e.legend,layers:e.visiblelayers}})],1)},n.staticRenderFns=[]},{}],241:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function e(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(l){i=!0,a=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw a}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=e("gui/catalog/vue/catalogeventhub"),o=t(a),s=e("store/catalog-layers"),l=t(s),u=e("services/application"),c=t(u),d=e("store/projects"),p=t(d),f=e("services/gui"),h=t(f);r["default"]={props:{layers:{"default":[]},legend:{type:Object},active:{"default":!0}},data:function(){return{legendurls:[]}},watch:{layers:{handler:function(){this.getLegendSrc()},immediate:!1},active:function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){var t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!e){r.next=6;break}if(t=this.layers.filter(function(e){return e.legend.change}),0!==this.legendurls.length&&!this.dynamic&&!t.length){r.next=6;break}return r.next=5,this.getLegendSrc(this.layers);case 5:t.forEach(function(e){return e.legend.change=!1});case 6:case"end":return r.stop()}},r,this)}));return e}()},methods:{setError:function(e){e.error=!0,e.loading=!1},urlLoaded:function(e){e.loading=!1},getLegendUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=l["default"].getLayerById(e.id);if(r)return r.getLegendUrl(t,{all:!this.dynamic,format:"image/png",categories:e.categories})},getLegendUrlParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t="",r={LAYERS:[],STYLES:[],LEGEND_ON:[],LEGEND_OFF:[]};return e.reduce(function(e,t){return r.LAYERS.push(t.layerName),r.STYLES.push(t.style),t.legend_on&&r.LEGEND_ON.push(t.legend_on),t.legend_off&&r.LEGEND_OFF.push(t.legend_off),r},r),t+="LAYERS="+encodeURIComponent(r.LAYERS.join(",")),t+="&STYLES="+encodeURIComponent(r.STYLES.join(",")),r.LEGEND_ON.length&&(t+="&LEGEND_ON="+encodeURIComponent(r.LEGEND_ON.join(","))),r.LEGEND_OFF.length&&(t+="&LEGEND_OFF="+encodeURIComponent(r.LEGEND_OFF.join(","))),c["default"].getFilterToken()&&(t+="&filtertoken="+c["default"].getFilterToken()),t},getLegendSrc:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,n,a,o,s,l,u,c,d,p,f,h,v,g,m,y,_,b,w,x,S,C=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return this.legendurls=[],r.next=3,this.$nextTick();case 3:if(this.active){r.next=5;break}return r.abrupt("return");case 5:e={GET:{},POST:{}},t=this,n=this.layers.filter(function(e){return e.geolayer}),a=0;case 9:if(!(a0&&void 0!==arguments[0]?arguments[0]:{};e.getLegendSrc()})},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.dynamic?h["default"].getService("map").on("change-map-legend-params",function(){e.mapReady=!0,e.getLegendSrc()}):this.mapReady=!0;case 3:case"end":return t.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"legend-item"},e._l(e.legendurls,function(t){return r("figure",[r("bar-loader",{attrs:{loading:t.loading}}),e._v(" "),r("img",{directives:[{name:"show",rawName:"v-show",value:!t.loading&&!t.error,expression:"!legendurl.loading && !legendurl.error"}],attrs:{src:t.url},on:{error:function(r){return e.setError(t)},load:function(r){return e.urlLoaded(t)}}}),e._v(" "),r("span",{staticClass:"divider"})],1)}),0)},n.staticRenderFns=[]},{"gui/catalog/vue/catalogeventhub":138,"services/application":381,"services/gui":391,"store/catalog-layers":404,"store/projects":409}],242:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("components/CatalogLayerLegend.vue"),a=t(i),o=e("gui/catalog/vue/catalogeventhub"),s=t(o),l=e("core/utils/utils"),u=l.downloadFile,c=e("gui/gui"),d=e("core/catalog/cataloglayersstoresregistry"),p={count:0,timeoutID:null,handleClick:function(e,t){p.count+=1,p.timeoutID||(p.timeoutID=setTimeout(function(){e.call(t),p.reset()},300))},reset:function(){p.count=0,p.timeoutID=null}};r["default"]={props:["layerstree","storeid","legend","legendplace","highlightlayers","parent_mutually_exclusive","parentFolder","externallayers","root","parent"],components:{layerlegend:a["default"]},data:function(){return{expanded:this.layerstree.expanded,isGroupChecked:!0,controltoggled:!1,n_childs:null,filtered:!1}},computed:{showLegendLayer:function(){return!this.layerstree.exclude_from_legend},showLayerTocLegend:function(){return!this.isGroup&&this.showLegendLayer&&this.layerstree.geolayer},isGroup:function(){return!!this.layerstree.nodes},legendlayerposition:function(){return this.showLegendLayer&&this.layerstree.legend?this.legendplace:"tab"},showscalevisibilityclass:function(){return!this.isGroup&&this.layerstree.scalebasedvisibility},showScaleVisibilityToolip:function(){return this.showscalevisibilityclass&&this.layerstree.disabled&&this.layerstree.checked},isTable:function(){return!this.isGroup&&!this.layerstree.geolayer&&!this.layerstree.external},isHidden:function(){return this.layerstree.hidden&&!0===this.layerstree.hidden},selected:function(){this.layerstree.selected=(!this.layerstree.disabled||!this.layerstree.selected)&&this.layerstree.selected},isHighLight:function(){return this.highlightlayers&&!this.isGroup&&d.getLayerById(this.layerstree.id).getTocHighlightable()&&this.layerstree.visible},isInGrey:function(){return!this.isGroup&&!this.isTable&&!this.layerstree.external&&(!this.layerstree.visible||this.layerstree.disabled)}},watch:{"layerstree.disabled":function(e){},"layerstree.checked":function(e,t){this.isGroup?this.handleGroupChecked(this.layerstree):this.handleLayerChecked(this.layerstree)}},methods:{init:function(){var e=this;this.isGroup&&!this.layerstree.checked&&this.handleGroupChecked(this.layerstree),this.isGroup&&!this.root&&this.layerstree.nodes.forEach(function(t){t.id&&e.parent_mutually_exclusive&&!e.layerstree.mutually_exclusive&&(t.uncheckable=!0)})},handleGroupChecked:function(e){var t=e.checked,r=e.parentGroup,n=e.nodes,i=function o(e){var t=e.nodes,r=e.visible;t.forEach(function(e){void 0!==e.id?e.parentGroup.checked&&e.checked&&d.getLayerById(e.id).setVisible(r):o({nodes:e.nodes,visible:r&&e.checked})})};if(t){var a=!r||r.checked;for(r&&r.mutually_exclusive?r.nodes.forEach(function(t){t.checked=t.groupId===e.groupId,t.checked&&i({nodes:t.nodes,visible:a})}):i({nodes:n,visible:a});r;)r.checked=r.root||r.checked,r=r.parentGroup}else n.forEach(function(e){void 0!==e.id?e.checked&&d.getLayerById(e.id).setVisible(!1):i({nodes:e.nodes,visible:!1})})},handleLayerChecked:function(e){var t=e.checked,r=e.id,n=e.disabled,i=e.projectLayer,a=void 0!==i&&i,o=e.parentGroup;if(a){var l=d.getLayerById(r);if(t){l.setVisible(!n);for(o.mutually_exclusive&&o.nodes.forEach(function(e){return e.checked=e.id===r});o;)o.checked=!0,o=o.parentGroup}else l.setVisible(!1);s["default"].$emit("treenodevisible",l)}else c.getService("map").changeLayerVisibility({id:r,visible:t})},toggleFilterLayer:function(){s["default"].$emit("activefiltertokenlayer",this.storeid,this.layerstree)},clearSelection:function(){s["default"].$emit("unselectionlayer",this.storeid,this.layerstree)},toggle:function(){this.layerstree.checked=!this.layerstree.checked},expandCollapse:function(){this.layerstree.expanded=!this.layerstree.expanded},select:function(){this.layerstree.external||s["default"].$emit("treenodeselected",this.storeid,this.layerstree)},zoomToLayer:function(e){c.getService("map").goToBBox([e.bbox.minx,e.bbox.miny,e.bbox.maxx,e.bbox.maxy],e.epsg)},canZoom:function(e){return e.bbox&&[e.bbox.minx,e.bbox.miny,e.bbox.maxx,e.bbox.maxy].find(function(e){return e>0})},onTreeItemClick:function(){var e=this;this.isGroup||this.isTable||p.handleClick(function(){switch(p.count){case 1:e.select();break;case 2:e.canZoom(e.layerstree)&&e.zoomToLayer(e.layerstree)}},this)},triClass:function(){return this.g3wtemplate.getFontClass(this.layerstree.checked?"check":"uncheck")},downloadExternalLayer:function(e){e.file?u(e.file):e.url},removeExternalLayer:function(e,t){c.getService("map").removeExternalLayer(e,wms)},showLayerMenu:function(e,t){!this.isGroup&&(this.layerstree.openattributetable||this.layerstree.downloadable||this.layerstree.geolayer||this.layerstree.external)&&s["default"].$emit("showmenulayer",e,t)}},created:function(){this.init()},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:$("span.scalevisibility").tooltip();case 3:case"end":return e.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("li",{staticClass:"tree-item","class":{selected:(!e.isGroup||!e.isTable)&&e.layerstree.selected,itemmarginbottom:!e.isGroup,disabled:e.isInGrey,group:e.isGroup},style:{marginLeft:e.isGroup?"0":"5px"},on:{contextmenu:function(t){return t.preventDefault(),t.stopPropagation(),e.showLayerMenu(e.layerstree,t)},click:function(t){return t.stopPropagation(),e.onTreeItemClick(t)}}},[e.isGroup?r("span",{staticClass:"root collapse-expande-collapse-icon","class":[{bold:e.isGroup},e.g3wtemplate.getFontClass(e.layerstree.expanded?"caret-down":"caret-right")],staticStyle:{"padding-right":"2px"},on:{click:e.expandCollapse}}):e._e(),e._v(" "),e.isGroup?r("span",{"class":[e.triClass()],staticStyle:{color:"#ffffff"},on:{click:function(t){return t.stopPropagation(),e.toggle()}}}):e.isTable?r("span",{directives:[{name:"show",rawName:"v-show",value:!e.layerstree.hidden,expression:"!layerstree.hidden"}],"class":[e.parentFolder?"child":"root",e.g3wtemplate.getFontClass("table")],staticStyle:{"padding-left":"18px"}}):[e.layerstree.external&&e.layerstree.removable?r("span",{"class":e.g3wtemplate.getFontClass("trash"),staticStyle:{color:"red","padding-left":"1px"},on:{click:function(t){return e.removeExternalLayer(e.layerstree.name,e.layerstree._type)}}}):e._e(),e._v(" "),e.layerstree.external&&e.layerstree.download?r("span",{"class":e.g3wtemplate.getFontClass("download"),staticStyle:{color:"#ffffff","margin-left":"5px"},on:{click:function(t){return e.downloadExternalLayer(e.layerstree.download)}}}):e._e(),e._v(" "),r("span",{directives:[{name:"show",rawName:"v-show",value:!e.layerstree.hidden,expression:"!layerstree.hidden"}],staticClass:"checkbox-layer","class":e.parentFolder?"child":"root"},["toc"===e.legendlayerposition||!e.isGroup&&e.layerstree.categories?r("span",{staticClass:"collapse-expande-collapse-icon","class":e.g3wtemplate.getFontClass(e.layerstree.visible&&e.layerstree.expanded?"caret-down":"caret-right"),on:{click:function(t){return t.target!==t.currentTarget?null:(t.stopPropagation(),e.expandCollapse(t))}}}):e._e(),e._v(" "),r("span",{"class":[e.g3wtemplate.getFontClass(e.layerstree.checked?"check":"uncheck"),{"toc-added-external-layer":!e.layerstree.legend&&e.layerstree.external}],style:{paddingLeft:"toc"===e.legendlayerposition?"5px":!e.isGroup&&e.layerstree.categories?"5px":!e.layerstree.legend&&e.layerstree.external?"1px":"18px"},on:{click:function(t){return t.stopPropagation(),e.toggle()}}})])],e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.layerstree.hidden||e.isGroup,expression:"!layerstree.hidden || isGroup"}],staticClass:"tree-node-title","class":{disabled:!e.layerstree.external&&(e.layerstree.disabled||e.layerstree.id&&!e.layerstree.visible),bold:e.isGroup}},[r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip.text",value:e.showScaleVisibilityToolip?"minscale:"+e.layerstree.minscale+" - maxscale:"+e.layerstree.maxscale:"",expression:"showScaleVisibilityToolip ? `minscale:${layerstree.minscale} - maxscale:${layerstree.maxscale}` : ''",modifiers:{text:!0}}],staticClass:"skin-tooltip-top g3w-long-text","class":{highlightlayer:e.isHighLight,scalevisibility:e.showscalevisibilityclass},attrs:{"data-placement":"top","current-tooltip":e.showScaleVisibilityToolip?"minscale:"+e.layerstree.minscale+" - maxscale: "+e.layerstree.maxscale:""}},[e._v("\n "+e._s(e.layerstree.title)+"\n ")]),e._v(" "),!e.isGroup&&e.layerstree.selection?r("div",[e.layerstree.selection.active?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"layer_selection_filter.tools.clear",expression:"'layer_selection_filter.tools.clear'",modifiers:{create:!0}}],staticClass:"action-button skin-tooltip-left selection-filter-icon","class":e.g3wtemplate.getFontClass("success"),attrs:{"data-placement":"left","data-toggle":"tooltip"},on:{click:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"caputure",void 0,t.key,void 0)?null:(t.preventDefault(),t.stopPropagation(),e.clearSelection(t))}}}):e._e(),e._v(" "),e.layerstree.external||!e.layerstree.selection.active&&!e.layerstree.filter.active?e._e():r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"layer_selection_filter.tools.filter",expression:"'layer_selection_filter.tools.filter'",modifiers:{create:!0}}],staticClass:"action-button skin-tooltip-left selection-filter-icon","class":[e.g3wtemplate.getFontClass("filter"),e.layerstree.filter.active?"active":""],attrs:{"data-placement":"left","data-toggle":"tooltip"},on:{click:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"caputure",void 0,t.key,void 0)?null:(t.preventDefault(),t.stopPropagation(),e.toggleFilterLayer(t))}}})]):e._e()]),e._v(" "),e.showLayerTocLegend?r("layerlegend",{attrs:{legendplace:e.legendplace,layer:e.layerstree}}):e._e(),e._v(" "),e.isGroup?r("ul",{directives:[{name:"show",rawName:"v-show",value:e.layerstree.expanded,expression:"layerstree.expanded"}],staticClass:"tree-content-items group","class":["g3w-lendplace-"+e.legendplace]},e._l(e.layerstree.nodes,function(t){return r("span",{key:t.id||t.groupId},[r("tristate-tree",{attrs:{root:!1,legendConfig:e.legend,legendplace:e.legendplace,highlightlayers:e.highlightlayers,parentFolder:e.isGroup,layerstree:t,storeid:e.storeid,parent:e.layerstree,parent_mutually_exclusive:!!e.layerstree.mutually_exclusive}})],1)}),0):e._e()],2)},n.staticRenderFns=[]},{"components/CatalogLayerLegend.vue":238,"core/catalog/cataloglayersstoresregistry":9,"core/utils/utils":92,"gui/catalog/vue/catalogeventhub":138,"gui/gui":150}],243:[function(e,t,r){e("vueify/lib/insert-css").insert(".field[data-v-15499600]{background-color:transparent!important;padding-top:3px;padding-bottom:3px;display:flex;align-items:center}.value[data-v-15499600]{position:relative}.field div[data-v-15499600]{padding-left:3px;padding-right:3px}.field_value[data-v-15499600]{padding-left:0!important}");!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"field",props:["state"]}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"field",style:{fontSize:e.isMobile()&&"0.8em"}},[e.state.label?r("div",{staticClass:"col-sm-6 field_label"},[e._t("label",[e._v(e._s(e.state.label))])],2):e._e(),e._v(" "),r("div",{staticClass:"field_value","class":[e.state.label?"col-sm-6":null]},[e._t("field",[r("span",{staticStyle:{"word-wrap":"break-word"},domProps:{innerHTML:e._s(e.state.value)}})])],2)])},n.staticRenderFns=[],n._scopeId="data-v-15499600"},{"vueify/lib/insert-css":2}],244:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t=1;t0},panelname:function(){var e=void 0;return this.stack.contentsdata.length&&(e=this.stack.contentsdata.slice(-1)[0].content.getTitle()),e},closable:function(){return i["default"].closable}},watch:{"stack.contentsdata":function(){var e=$("#g3w-floatbarpanel-placeholder").children();e.forEach(function(t,r){r==e.length-1?$(t).show():$(t).hide()})}},methods:{closePanel:function(){i["default"].closePanel()}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("aside",{staticClass:"control-sidebar control-sidebar-light"},[r("a",{directives:[{name:"show",rawName:"v-show",value:e.panelsinstack,expression:"panelsinstack"}],staticClass:"floatbar-aside-toggle",attrs:{href:"#","data-toggle":"control-sidebar",role:"button"}},[r("span",{staticClass:"sr-only"},[e._v("Expand")])]),e._v(" "),r("div",{staticStyle:{position:"absolute"},attrs:{id:"floatbar-spinner"}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.panelsinstack,expression:"panelsinstack"}],staticClass:"g3w-sidebarpanel"},[e.closable?r("div",{staticClass:"row"},[r("div",{staticClass:"col-xs-12 col-sm-12 col-md-12"},[r("button",{staticClass:"pull-right close-panel-button","class":e.g3wtemplate.getFontClass("close"),on:{click:e.closePanel}})])]):e._e(),e._v(" "),e.panelname?r("div",[r("h4",{staticClass:"g3w-floatbarpanel-name"},[e._v(e._s(e.panelname))])]):e._e(),e._v(" "),r("div",{staticClass:"g3w-floatbarpanel-placeholder",attrs:{id:"g3w-floatbarpanel-placeholder"}})])])},n.staticRenderFns=[],n._scopeId="data-v-6437fe21"},{"services/floatbar":390}],252:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("components/FormHeader.vue"),a=t(i),o=e("components/FormFooter.vue"),s=t(o);r["default"]={data:function(){return{state:{},switchcomponent:!1,body:{components:{before:[],after:[]}}}},components:{g3wformheader:a["default"],G3wFormFooter:s["default"]},transitions:{addremovetransition:"showhide"},methods:{isRootComponent:function(e){return this.$options.service.isRootComponent(e)},backToRoot:function(){this.$options.service.setRootComponent()},handleRelation:function(e){this.$options.service.handleRelation(e)},disableComponent:function(e){var t=e.id,r=e.disabled,n=void 0!==r&&r;this.$options.service.disableComponent({id:t,disabled:n})},resizeForm:function(e){this.$options.service.setCurrentFormPercentage(e)},switchComponent:function(e){this.switchcomponent=!0,this.$options.service.setCurrentComponentById(e)},changeInput:function(e){return this.$options.service.changeInput(e)},addToValidate:function(e){this.$options.service.addToValidate(e)},removeToValidate:function(e){this.$options.service.removeToValidate(e)},reloadLayout:function(){var e=$(this.$el).height();if(e){var t=$(this.$refs.g3w_form_footer.$el),r=$(this.$refs.g3wform_body),n=t.height()?t.height()+50:50,i=e-($(this.$refs.g3wformheader.$el).height()+n);r.height(i)}}},updated:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.switchcomponent&&setTimeout(function(){return e.switchcomponent=!1},0);case 3:case"end":return t.stop()}},r,this)}));return e}(),created:function(){var e=this;this.$options.service.getEventBus().$on("set-main-component",function(){e.switchComponent(0)}),this.$options.service.getEventBus().$on("component-validation",function(t){var r=t.id,n=t.valid;e.$options.service.setValidComponent({id:r,valid:n})}),this.$options.service.getEventBus().$on("addtovalidate",this.addToValidate),this.$options.service.getEventBus().$on("disable-component",this.disableComponent)},mounted:function(){this.$options.service.isValid(),this.$options.service.setReady(!0)},beforeDestroy:function(){this.$options.service.clearAll()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"g3wform_content",staticStyle:{position:"relative"}},[r("bar-loader",{attrs:{loading:e.state.loading}}),e._v(" "),r("g3wformheader",{ref:"g3wformheader",attrs:{currentid:e.state.currentheaderid,headers:e.state.headers,update:e.state.update,valid:e.state.valid},on:{"resize-form":e.resizeForm,clickheader:e.switchComponent}}),e._v(" "),r("div",{ref:"g3wform_body",staticClass:"g3wform_body"},[e._l(e.body.components.before,function(t){return r(t,{tag:"component",attrs:{fields:e.state.fields}})}),e._v(" "),r("keep-alive",[r(e.state.component,{tag:"component",attrs:{handleRelation:e.handleRelation,state:e.state},on:{"hook:activated":e.reloadLayout,addtovalidate:e.addToValidate,removetovalidate:e.removeToValidate,changeinput:e.changeInput}})],1),e._v(" "),e._l(e.body.components.after,function(t){return r(t,{tag:"component",attrs:{fields:e.state.fields}})})],2),e._v(" "),r("g3w-form-footer",{ref:"g3w_form_footer",attrs:{isRootComponent:e.isRootComponent,backToRoot:e.backToRoot,state:e.state}})],1)},n.staticRenderFns=[]},{"components/FormFooter.vue":254,"components/FormHeader.vue":255}],253:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/InputG3WFormInputs.vue"),i=t(n);r["default"]=Vue.extend({props:["state","handleRelation"],data:function(){return{show:!0}},components:{G3wFormInputs:i["default"]},methods:{addToValidate:function(e){this.$emit("addtovalidate",e)},removeToValidate:function(e){this.$emit("removetovalidate",e)},changeInput:function(e){this.$emit("changeinput",e)}},computed:{hasFormStructure:function(){return!!this.state.formstructure}}})}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",[r("form",{staticClass:"form-horizontal g3w-form"},[r("div",{staticClass:"box-primary"},[r("div",{staticClass:"box-body"},[e.hasFormStructure?[r("tabs",{attrs:{layerid:e.state.layerid,feature:e.state.feature,handleRelation:e.handleRelation,contenttype:"editing",addToValidate:e.addToValidate,changeInput:e.changeInput,removeToValidate:e.removeToValidate,tabs:e.state.formstructure,fields:e.state.fields}})]:[r("g3w-form-inputs",{attrs:{state:e.state,addToValidate:e.addToValidate,removeToValidate:e.removeToValidate,changeInput:e.changeInput},on:{changeinput:e.changeInput,addinput:e.addToValidate,removeinput:e.removeToValidate}})]],2)])])])},n.staticRenderFns=[]},{"components/InputG3WFormInputs.vue":278}],254:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0});var e=Object.assign||function(e){for(var t=1;t1 },[e.headers.length>1?"tabs":"one"]],staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"},style:{fontSize:e.isMobile()&&"1em !important"},on:{click:function(r){return r.stopPropagation(),e.click(t.id)}}},[t.icon?r("span",{staticStyle:{"margin-right":"5px"}},[r("i",{"class":t.icon})]):e._e(),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t:pre",value:t.title,expression:"header.title",arg:"pre"}],staticClass:"g3w-long-text"},[e._v(e._s(t.name))]),e._v(" "),r(t.component,{tag:"component",attrs:{valid:e.valid,update:e.update}})],1)}),0)])},n.staticRenderFns=[]},{}],256:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"bar-loader",props:["loading","color"],render:function(e){if(this.loading)return e("div",{style:{backgroundColor:this.color||"#FFFFFF",border:0},"class":{"bar-loader":!0}})}}},{}],257:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=t(i),o=e("core/utils/utils"),s=o.getUniqueDomId;r["default"]={name:"datetime",props:{type:{type:String,"default":"date"},format:{type:String,"default":"YYYY-MM-DD"},minDate:{"default":!1},maxDate:{"default":!1},enabledDates:{"default":!1},value:{},label:{"default":"Date"}},data:function(){return{datetimevalue:this.value}},methods:{changeInput:function(e){},change:function(e){var t=moment(e).format(this.format);this.$emit("change",t)}},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.datetimeinputelement=$(this.$refs.iddatetimepicker),this.datetimeinputelement.datetimepicker({minDate:this.minDate,maxDate:this.maxDate,defaultDate:this.datetimevalue,useCurrent:!1,allowInputToggle:!0,enabledDates:this.enabledDates,showClose:!0,format:this.format,locale:a["default"].lng,toolbarPlacement:"top",widgetPositioning:{horizontal:"right"}}),this.datetimeinputelement.on("dp.change",function(t){var r=t.date;e.change(r)}),this.datetimeinputelement.on("dp.hide",function(e){}),a["default"].ismobile&&setTimeout(function(){return datetimeinputelement.blur()});case 7:case"end":return t.stop()}},r,this)}));return e}(),watch:{value:function(e){this.datetimevalue=e,this.datetimeinputelement.data("DateTimePicker").date(e)},minDate:function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.datetimeinputelement.data("DateTimePicker").minDate(e);case 1:case"end":return t.stop()}},r,this)}));return e}(),maxDate:function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.datetimeinputelement.data("DateTimePicker").maxDate(e);case 1:case"end":return t.stop()}},r,this)}));return e}(),enabledDates:function(e){this.datetimeinputelement.data("DateTimePicker").enabledDates(e)}},created:function(){this.id=s()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"datimecontainer"},[r("label",{directives:[{name:"t",rawName:"v-t",value:e.label,expression:"label"}],staticStyle:{display:"block"},attrs:{"for":e.id}}),e._v(" "),r("div",{staticClass:"form-group"},[r("div",{ref:"iddatetimepicker",staticClass:"input-group date"},[r("input",{ref:"idinputdatetimepiker",staticClass:"form-control",attrs:{id:e.id,type:"text"},on:{change:e.changeInput}}),e._v(" "),r("span",{staticClass:"input-group-addon caret"},[r("span",{staticClass:"datetimeinput","class":["time"===e.type?e.g3wtemplate.getFontClass("time"):e.g3wtemplate.getFontClass("calendar")]})])])])])},n.staticRenderFns=[],n._scopeId="data-v-6bf70548"},{"core/applicationstate":8,"core/utils/utils":92}],258:[function(e,t,r){e("vueify/lib/insert-css").insert(".divider[data-v-d6e97c08]{display:block;position:relative;padding:0;margin-bottom:5px;height:0;width:100%;max-height:0;font-size:1px;line-height:0;clear:both;border:none;border-bottom:2px solid #eee}");!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"divider"}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{staticClass:"divider"})},n.staticRenderFns=[],n._scopeId="data-v-d6e97c08"},{"vueify/lib/insert-css":2}],259:[function(e,t,r){e("vueify/lib/insert-css").insert('.modal-content[data-v-695ce1b5]{background:hsla(0,0%,100%,.6);border-radius:3px}.modal-dialog[data-v-695ce1b5]{display:inline-block;text-align:left;vertical-align:middle}.modal[data-v-695ce1b5]{text-align:center;padding:0!important}.modal[data-v-695ce1b5]:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-4px}.carousel .carousel-control span[data-v-695ce1b5]{color:#3c8dbc}');!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("core/project/projectsregistry");r["default"]={name:"g3w-images-gallery",props:{images:{type:Array,"default":[]},id:{type:String,"default":"gallery"},active:{type:Number}},data:function(){return{carouselId:"carousel_"+Date.now()}},methods:{isActive:function(e){return e===active},isRelativePath:function(e){return _.startsWith(e,"/")||_.startsWith(e,"http")?e:t.getConfig().mediaurl+e}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"modal fade modal-fullscreen force-fullscreen",attrs:{id:e.id,tabindex:"-1",role:"dialog","aria-labelledby":"","aria-hidden":"true"}},[r("div",{staticClass:"modal-dialog"},[r("div",{staticClass:"modal-content"},[r("div",{staticClass:"modal-body"},[r("div",{staticClass:"carousel slide",attrs:{id:e.carouselId,"data-interval":"false"}},[r("div",{staticClass:"carousel-inner"},e._l(e.images,function(t,n){return r("div",{staticClass:"item","class":e.active==n?"active":""},[r("img",{staticStyle:{margin:"auto"},attrs:{src:e.isRelativePath(t.src)}})])}),0),e._v(" "),e.images.length>1?r("a",{staticClass:"left carousel-control",attrs:{href:"#"+e.carouselId,role:"button","data-slide":"prev"}},[r("span",{"class":e.g3wtemplate.getFontClass("arrow-left")})]):e._e(),e._v(" "),e.images.length>1?r("a",{staticClass:"right carousel-control",attrs:{href:"#"+e.carouselId,role:"button","data-slide":"next"}},[r("span",{"class":e.g3wtemplate.getFontClass("arrow-left")})]):e._e()])])])])])},n.staticRenderFns=[],n._scopeId="data-v-695ce1b5"},{"core/project/projectsregistry":83,"vueify/lib/insert-css":2}],260:[function(e,t,r){e("vueify/lib/insert-css").insert(".show-hide-geo[data-v-bda40098]{color:#3c8dbc;cursor:pointer;font-size:1.2em}");!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("gui/vue/vue.mixins"),n=t.geoMixin;r["default"]={name:"g3w-geospatial",props:{data:{}},mixins:[n],data:function(){return{layerId:"table_layer_"+Date.now(),visible:!1,id:"geo_table_"+Date.now()}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"geo-content"},[r("span",{staticClass:"show-hide-geo","class":[e.visible?e.g3wtemplate.getFontClass("eye-close"):e.g3wtemplate.getFontClass("eye")],on:{click:function(t){return t.stopPropagation(),e.showLayer()}}})])},n.staticRenderFns=[],n._scopeId="data-v-bda40098"},{"gui/vue/vue.mixins":227,"vueify/lib/insert-css":2}],261:[function(e,t,r){e("vueify/lib/insert-css").insert(".help_div_container[data-v-e48ef61a]{color:#fff;text-align:justify;position:relative;border-radius:3px;margin:5px 2px;white-space:pre-line;background-color:#384246!important}.help_icon[data-v-e48ef61a]{text-align:center;font-size:.7em;margin-top:-4px;margin-left:-4px;background-color:#222d32;font-weight:700;color:#fff;position:absolute;top:0;left:0;width:15px;height:15px;box-shadow:0 3px 5px rgba(0,0,0,.5);border:1px solid #fff;border-radius:50%}.g3w-help-message-content[data-v-e48ef61a]{max-height:200px;padding:10px;overflow-y:auto}");!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"helpdiv",props:{message:{type:String,required:!0},type:{type:String,"default":"info"}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"help_div_container"},[r("span",{staticClass:"help_icon"},[e._v("i")]),e._v(" "),r("div",{directives:[{name:"t",rawName:"v-t",value:e.message,expression:"message"}],staticClass:"g3w-help-message-content"})])},n.staticRenderFns=[],n._scopeId="data-v-e48ef61a"},{"vueify/lib/insert-css":2}],262:[function(e,t,r){e("vueify/lib/insert-css").insert(".img-responsive[data-v-1e46c404]{cursor:pointer}.g3w-image[data-v-1e46c404]{padding-left:0!important;min-width:100px;max-width:100%;cursor:pointer}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=e("components/GlobalGallery.vue"),a=t(i);r["default"]={name:"g3w-image",props:{value:{}},data:function(){return{galleryId:"gallery_"+Date.now(),active:null}},components:{"g3w-images-gallery":a["default"]},computed:{values:function(){return Array.isArray(this.value)?this.value:[this.value]}},methods:{getSrc:function(e){return"object"===("undefined"==typeof e?"undefined":n(e))?e.photo:e},showGallery:function(e){this.active=e,"object"===n(this.value)&&(this.value.active=!0),$("#"+this.galleryId).modal("show")},getGalleryImages:function(){var e=this,t=[];return this.values.forEach(function(r){t.push({src:e.getSrc(r)})}),t}},created:function(){}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"container-fluid"},[r("div",{staticClass:"row"},e._l(e.values,function(t,n){return r("div",{staticClass:"g3w-image col-md-6 col-sm-12"},[r("img",{staticClass:"img-thumbnail",attrs:{src:e.getSrc(t)},on:{click:function(t){return e.showGallery(n)}}})])}),0),e._v(" "),r("g3w-images-gallery",{attrs:{id:e.galleryId,active:e.active,images:e.getGalleryImages()}})],1)},n.staticRenderFns=[],n._scopeId="data-v-1e46c404"},{"components/GlobalGallery.vue":259,"vueify/lib/insert-css":2}],263:[function(e,t,r){e("vueify/lib/insert-css").insert(".g3w-layer-positions[data-v-85d7b5f4]{display:flex;flex-direction:column;margin:5px 0}.g3w-layer-positions-info-message[data-v-85d7b5f4]{margin-bottom:5px;font-weight:700}.g3w-layer-positions-checkboxes[data-v-85d7b5f4]{display:flex;justify-content:space-between}");!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("app/constant"),n=e("core/utils/utils"),i=n.getUniqueDomId;r["default"]={name:"layerspositions",props:{position:{type:String,"default":t.MAP_SETTINGS.LAYER_POSITIONS["default"]}},data:function(){return{layerpositions:t.MAP_SETTINGS.LAYER_POSITIONS.getPositions()}},methods:{change:function(){this.$emit("layer-position-change",this.position)}},created:function(){var e=this;this.ids={layerpositions:i()},this.layerpositions.forEach(function(t){return e.ids[t]=i()}),this.change()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"g3w-layer-positions",attrs:{id:e.ids.layerpositions}},[r("div",{directives:[{name:"t",rawName:"v-t",value:"layer_position.message",expression:"`layer_position.message`"}],staticClass:"g3w-layer-positions-info-message"}),e._v(" "),r("div",{staticClass:"g3w-layer-positions-checkboxes"},e._l(e.layerpositions,function(t){return r("div",{key:t},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.position,expression:"position"}],staticClass:"form-control magic-radio",attrs:{type:"radio",id:e.ids[t]},domProps:{value:t,checked:e.position===t,checked:e._q(e.position,t)},on:{change:[function(r){e.position=t},e.change]}}),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"layer_position."+t,expression:"`layer_position.${layerposition}`"}],attrs:{"for":e.ids[t]}})])}),0)])},n.staticRenderFns=[],n._scopeId="data-v-85d7b5f4"},{"app/constant":5,"core/utils/utils":92,"vueify/lib/insert-css":2}],264:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"progressbar",props:["progress"],render:function(e){if(null!==this.progress&&void 0!==this.progress)return e("div",{style:{margin:"5px 0 5px 0",width:"100%",backgroundColor:"#FFFFFF",border:0,borderRadius:"3px"}},[e("div",{style:{width:(this.progress<10?10:this.progress)+"%",display:"flex",justifyContent:"center",fontWeight:"bold"},"class":{"skin-background-color":!0}},[e("span",this.progress+"%")])])}}},{}],265:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/utils/utils"),i=n.debounce;r["default"]={name:"range",props:{id:{required:!0},label:{type:"String","default":""},min:{type:Number,"default":0},max:{type:Number,"default":10},step:{type:Number,"default":1},labelValue:{},value:{"default":0},sync:{type:Boolean,"default":!1}},data:function(){return{}},methods:{changeBackGround:function(e){this.$refs["range-input"].style.backgroundSize=(e?100*(e-this.min)/(this.max-this.min):0)+"% 100%"},setValue:function(e){this.changedValue(e)},change:function(e){var t=1*e.target.value;this.changedValue(t)},emitChangeValue:function(e){this.value=e,this.$emit("change-range",{id:this.id,value:e})}},watch:{value:function(e){this.changeBackGround(e),this.sync&&this.emitChangeValue(e)}},created:function(){var e=this;this.changedValue=this.sync?function(){return e.$emit("changed")}:i(function(t){e.emitChangeValue(t)})},mounted:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.changeBackGround(this.value);case 3:case"end":return e.stop()}},n,this)}));return e}(),beforeDestroy:function(){}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{display:"flex","flex-direction":"column"}},[r("label",{directives:[{name:"t",rawName:"v-t",value:e.label,expression:"label"}],staticStyle:{display:"block"},attrs:{"for":e.id}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],ref:"range-input",attrs:{id:e.id,type:"range",min:e.min,max:e.max,step:e.step},domProps:{value:e.value},on:{change:e.change,__r:function(t){e.value=t.target.value}}})])},n.staticRenderFns=[],n._scopeId="data-v-0f312640"},{"core/utils/utils":92}],266:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;tli[data-v-36361baa]{flex:1;display:flex}.formquerytabs>li>a[data-v-36361baa]{font-weight:700;flex:1}.tab-content[data-v-36361baa]{//margin-top:10px}.nav-tabs>li>a.mobile[data-v-36361baa]{padding:5px 10px}.tab_a[data-v-36361baa]{padding:5px;margin-right:0!important;//border:1px solid #eee;border-bottom:0;margin-bottom:3px;border-radius:3px 3px 0 0}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var a,o=e("core/expression/tabservice"),s=t(o),l=e("components/GlobalTabsNode.vue"),u=t(l),c=e("gui/gui"),d=e("core/utils/utils"),p=d.getUniqueDomId;r["default"]=(a={name:"tabs",props:{group:{type:Boolean,"default":!1},contenttype:{"default":"query"},layerid:{required:!0},tabs:{required:!0},feature:{required:!0},fields:{required:!0},addToValidate:Function,removeToValidate:Function,changeInput:Function,showRelationByField:{type:Boolean,"default":!0},handleRelation:{type:Function,"default":function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.relation,r=e.layerId,n=e.feature;return c.getService("queryresults").showRelation({relation:t,layerId:r,feature:n})}}},components:{Node:u["default"]},data:function(){return{ids:[]}},computed:{required_fields:function(){return"editing"===this.contenttype&&this.fields.filter(function(e){return e.validate.required}).map(function(e){return e.name})},show:function(){return this.tabs.reduce(function(e,t){return e||void 0===t.visible||!!t.visible},!1)}},methods:{setVisibility:function(){function e(e){return t.apply(this,arguments)}var t=i(regeneratorRuntime.mark(function r(e){var t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,s["default"].getVisibility({qgs_layer_id:this.layerid,expression:e.visibility_expression.expression,feature:this.feature,contenttype:this.contenttype});case 2:t=r.sent,e.visible=t;case 4:case"end":return r.stop()}},r,this)}));return e}(),setEditingRequireTab:function(e){var t=this,r=!1;return r=void 0===e.nodes?this.required_fields.indexOf(e.field_name)!==-1:!!e.nodes.find(function(e){return t.setEditingRequireTab(e)})},getField:function(e){return this.fields.find(function(t){return t.name===e})}}},n(a,"components",{Node:u["default"]}),n(a,"created",function(){function e(){return t.apply(this,arguments)}var t=i(regeneratorRuntime.mark(function r(){var e,t,n,a,o,s,l,u,c=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:for(this.unwatch=[],e=function(e){e.visibility_expression&&(void 0===e.visible&&c.$set(e,"visible",0),c.setVisibility(e)),"editing"===c.contenttype&&(void 0===e.required&&(e.required=c.setEditingRequireTab(e)),e.visibility_expression&&e.visibility_expression.referenced_columns.forEach(function(t){var r=c.fields.find(function(e){return e.name===t});c.unwatch.push(c.$watch(function(){return r.value},function(){var t=i(regeneratorRuntime.mark(function n(t){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:c.feature.set(r.name,t),c.setVisibility(e);case 2:case"end":return n.stop()}},n,c)}));return function(e){return t.apply(this,arguments)}}()))})),c.ids.push("tab_"+p())},t=!0,n=!1,a=void 0,r.prev=5,o=this.tabs[Symbol.iterator]();!(t=(s=o.next()).done);t=!0)l=s.value,e(l);r.next=13;break;case 9:r.prev=9,r.t0=r["catch"](5),n=!0,a=r.t0;case 13:r.prev=13,r.prev=14,!t&&o["return"]&&o["return"]();case 16:if(r.prev=16,!n){r.next=19;break}throw a;case 19:return r.finish(16);case 20:return r.finish(13);case 21:this.root_tabs=[],this.group?this.root_tabs=[this.tabs]:(u=[],this.tabs.forEach(function(e){e.nodes?u.push(e):(u.length&&(c.root_tabs.push([].concat(u)),u.splice(0)),c.root_tabs.push({nodes:[e]}))}),u.length&&this.root_tabs.push(u));case 23:case"end":return r.stop()}},r,this,[[5,9,13,21],[14,,16,20]])}));return e}()),n(a,"beforeDestroy",function(){this.unwatch.forEach(function(e){return e()}),this.unwatch=null}),a)}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.show?r("div",{staticClass:"tabs-wrapper"},[e._l(e.root_tabs,function(t){return[Array.isArray(t)?[r("ul",{staticClass:"formquerytabs nav nav-tabs"},[e._l(t,function(t,n){return[void 0===t.visible||t.visible?r("li",{"class":{active:0===n}},[r("a",{staticClass:"tab_a","class":{mobile:e.isMobile(),"group-title":e.group},style:{fontSize:e.isMobile()?"1.0em":(e.group?"1.1":"1.2")+"em"},attrs:{"data-toggle":"tab",href:"#"+e.ids[n]}},[e._v("\n "+e._s(t.name)+" "),"editing"===e.contenttype&&t.required?r("span",{staticStyle:{"padding-left":"3px","font-size":"1.1em"}},[e._v("*")]):e._e()])]):e._e()]})],2),e._v(" "),r("div",{staticClass:"tab-content","class":{editing:"editing"===e.contenttype}},[e._l(t,function(t,n){return[void 0===t.visible||t.visible?r("div",{staticClass:"tab-pane fade","class":{"in active":0===n},attrs:{id:e.ids[n]}},[r("node",{attrs:{showRelationByField:e.showRelationByField,handleRelation:e.handleRelation,feature:e.feature,layerid:e.layerid,contenttype:e.contenttype,addToValidate:e.addToValidate,removeToValidate:e.removeToValidate,changeInput:e.changeInput,fields:e.fields,showTitle:!1,node:t}})],1):e._e()]})],2)]:r("node",{attrs:{showRelationByField:e.showRelationByField,handleRelation:e.handleRelation,feature:e.feature,layerid:e.layerid,contenttype:e.contenttype,addToValidate:e.addToValidate,removeToValidate:e.removeToValidate,changeInput:e.changeInput,fields:e.fields,showTitle:!1,node:t}})]})],2):e._e()},n.staticRenderFns=[],n._scopeId="data-v-36361baa"},{"components/GlobalTabsNode.vue":270,"core/expression/tabservice":25,"core/utils/utils":92,"gui/gui":150,"vueify/lib/insert-css":2}],270:[function(e,t,r){e("vueify/lib/insert-css").insert(".tab-node[data-v-d72f9c66]{min-width:0;overflow:hidden}.title[data-v-d72f9c66]{font-weight:700;width:100%;color:#fff;padding:3px;margin-top:5px;margin-bottom:5px;border-radius:2px}.node-row[data-v-d72f9c66]{margin-bottom:0;column-gap:2px;margin-top:0;display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column}.row.mobile[data-v-d72f9c66]{margin-bottom:0!important}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;tthis.nodesLength?this.nodesLength:e},showGroupTile:function(){return this.showTitle&&this.node.showlabel&&this.node.groupbox}},methods:{loadingRelation:function(e){var t=s.getCurrentProject().getLayerById(this.layerid),r=t.getRelationById(e.name);return r.state},isRelationDisabled:function(e){return void 0===this.getRelationName(e.name)||"editing"===this.contenttype&&this.isRelationChildLayerNotEditable(e)},getRelationName:function(e){var t=s.getCurrentProject().getRelationById(e);return t&&t.name},isRelationChildLayerNotEditable:function(e){var t=(e.nmRelationId,e.name),r=s.getCurrentProject(),n=r.getRelationById(t),i=n.referencingLayer,a=r.getLayerById(i);return!a.isEditable()},getNodes:function(e){var t=(e-1)*this.columnNumber;return this.filterNodes.slice(t,this.columnNumber+t)},getNode:function(e,t){return this.getNodes(e)[t-1]},getField:function(e){if(e.relation)return e;var t=this.fields.find(function(t){var r=e.field_name?e.field_name.replace(/ /g,"_"):e.field_name;return t.name===r});return t},getNodeType:function(e){var t=e.groupbox||e.nodes?"group":e.relation?"relation":"field";return"field"!==t||void 0!==e.alias&&""!==e.alias||(e.alias=e.field_name),t},getComponent:function(e){return e.relation?void 0:e.query?e.input.type:"g3w-input"}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"tab-node group"},[e.showGroupTile?r("h5",{staticClass:"title group-title","class":{mobile:e.isMobile()},style:{fontSize:e.isMobile()?"1em":"1.1em"}},[e._v(e._s(e.node.name))]):e._e(),e._v(" "),e._l(e.rows,function(t){return r("div",{staticClass:"node-row","class":{mobile:e.isMobile()}},[e._l(e.columnNumber,function(n){return[e.getNode(t,n)?["field"===e.getNodeType(e.getNode(t,n))?r(e.getComponent(e.getField(e.getNode(t,n))),{tag:"component",staticStyle:{padding:"5px 3px 5px 3px"},attrs:{state:e.getField(e.getNode(t,n)),changeInput:e.changeInput,addToValidate:e.addToValidate,removeToValidate:e.removeToValidate,feature:e.feature},on:{changeinput:e.changeInput,addinput:e.addToValidate,removeinput:e.removeToValidate -}}):["group"===e.getNodeType(e.getNode(t,n))?r("tabs",e._b({staticClass:"sub-group",staticStyle:{width:"100% !important"},attrs:{group:!0,tabs:[e.getNode(t,n)]}},"tabs",e.$props,!1)):[e.showRelationByField?r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.isRelationDisabled(e.getNode(t,n))||e.loadingRelation(e.getNode(t,n)).loading,expression:"isRelationDisabled(getNode(row, column)) || loadingRelation(getNode(row, column)).loading"}],style:{cursor:e.showRelationByField&&"pointer"},on:{click:function(r){r.stopPropagation(),e.handleRelation({relation:e.getNode(t,n),feature:e.feature,layerId:e.layerid})}}},[r("bar-loader",{attrs:{loading:e.loadingRelation(e.getNode(t,n)).loading}}),e._v(" "),r("div",{staticStyle:{display:"flex","align-items":"center"}},[r("div",{staticClass:"query_relation_field"},[r("i",{"class":e.g3wtemplate.font[""+("query"===e.context?"relation":"pencil")]})]),e._v(" "),r("span",{staticClass:"query_relation_field_message g3w-long-text"},[r("span",{staticStyle:{"text-transform":"uppercase"}},[e._v(" "+e._s(e.getRelationName(e.getNode(t,n).name)))])])])],1):e._e()]]]:e._e()]})],2)})],2)},n.staticRenderFns=[],n._scopeId="data-v-d72f9c66"},{"components/InputG3W.vue":277,"core/project/projectsregistry":83,"gui/fields/fields":145,"gui/gui":150,"vueify/lib/insert-css":2}],271:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={props:["state"],methods:{showCustomModal:function(e){this.$emit("show-custom-modal-content",e)}},created:function(){this.state.type=this.state.type||"link"}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("li",{staticClass:"customheaderlink dropdown user user-menu",attrs:{title:e.state.title}},["link"===e.state.type?r("a",{staticClass:"dropdown-toggle","class":{imagelink:!!e.state.img},attrs:{href:e.state.url,target:e.state.target}},[e.state.img?r("img",{staticStyle:{"max-height":"20px"},attrs:{src:e.state.img}}):r("span",[e.state.i18n?r("span",{directives:[{name:"t",rawName:"v-t",value:e.state.title,expression:"state.title"}]}):r("span",[e._v(e._s(e.state.title))])])]):"modal"===e.state.type?r("a",{staticClass:"dropdown-toggle",staticStyle:{cursor:"pointer"},attrs:{"data-toggle":"modal","data-target":"#custom_modal"},on:{click:function(t){return e.showCustomModal(e.state.id)}}},[r("span",[e._v(e._s(e.state.title))])]):e._e()])},n.staticRenderFns=[]},{}],272:[function(e,t,r){e("vueify/lib/insert-css").insert(".control-label[data-v-9e697b7e]{text-align:left!important;padding-top:0!important;margin-bottom:3px}");!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t=1;t-1:e.value},on:{change:[function(t){var r=e.value,n=t.target,i=!!n.checked;if(Array.isArray(r)){var a=null,o=e._i(r,a);n.checked?o<0&&(e.value=r.concat([a])):o>-1&&(e.value=r.slice(0,o).concat(r.slice(o+1)))}else e.value=i},e.changeCheckBox]}}),e._v(" "),r("label",{attrs:{"for":e.id}},[e._v(e._s(e.label))])])])},n.staticRenderFns=[]},{"core/utils/utils":92,"gui/inputs/input":159,"gui/inputs/widgetmixins":184}],274:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("gui/inputs/input");r["default"]={mixins:[t]}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("baseinput",{attrs:{state:e.state}},[r("input",{directives:[{name:"disabled",rawName:"v-disabled",value:!e.editable,expression:"!editable"},{name:"model",rawName:"v-model",value:e.state.value,expression:"state.value"}],staticClass:"form-control","class":{"input-error-validation":e.notvalid},staticStyle:{cursor:"pointer"},attrs:{slot:"body",placeholder:e.state["default"],type:"color",tabIndex:e.tabIndex,field:e.state.name,id:e.state.name},domProps:{value:e.state.value},on:{change:e.change,input:function(t){t.target.composing||e.$set(e.state,"value",t.target.value)}},slot:"body"})])},n.staticRenderFns=[]},{"gui/inputs/input":159}],275:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=t(i),o=e("gui/inputs/input"),s=e("core/utils/utils"),l=s.getUniqueDomId,u=e("gui/vue/vue.mixins"),c=u.resizeMixin;r["default"]={mixins:[o,c],data:function(){var e=l();return{widget_container:{top:0,left:0},iddatetimepicker:"datetimepicker_"+e,idinputdatetimepiker:"inputdatetimepicker_"+e}},methods:{resize:function(){var e=$("#"+this.iddatetimepicker);e&&e.data("DateTimePicker")&&e.data("DateTimePicker").hide()},timeOnly:function(){return!this.state.input.options.formats[0].date}},watch:{"state.value":function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){var t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(e===$("#"+this.idinputdatetimepiker).val()){r.next=5;break}return t=null!==e?moment(e,this.datetimefieldformat).format(this.datetimedisplayformat):e,r.next=4,this.$nextTick();case 4:$("#"+this.idinputdatetimepiker).val(t);case 5:case"end":return r.stop()}},r,this)}));return e}()},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,i,o,s,l,u,c,d,p,f,h,v,g,m=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=this.state.input.options,t=e.formats,i=void 0===t?[]:t,o=e.layout,s=void 0===o?{vertical:"top",horizontal:"left"}:o,l=i[0],u=l.minDate,c=l.maxDate,d=l.fieldformat,p=l.enabledDates,f=l.disabledDates,h=l.displayformat,v=l.useCurrent,r.next=4,this.$nextTick();case 4:this.datetimedisplayformat=this.service.convertQGISDateTimeFormatToMoment(h),this.datetimefieldformat=this.service.convertQGISDateTimeFormatToMoment(d),this.service.setValidatorOptions({fielddatetimeformat:this.datetimefieldformat}),g=moment(this.state.value,this.datetimefieldformat,!0).isValid()?moment(this.state.value,this.datetimefieldformat).toDate():null,$("#"+this.iddatetimepicker).datetimepicker({defaultDate:g,format:this.datetimedisplayformat,ignoreReadonly:!0,allowInputToggle:!0,enabledDates:p,disabledDates:f,useCurrent:v,toolbarPlacement:"top",minDate:u,maxDate:c,widgetParent:$(this.$refs.datimewidget_container),widgetPositioning:{vertical:s.vertical||"top",horizontal:s.horizontal||"left"},showClose:!0,locale:this.service.getLocale()}),$("#"+this.iddatetimepicker).on("dp.change",function(){var e=$("#"+m.idinputdatetimepiker).val(),t=_.isEmpty(_.trim(e))?null:moment(e,m.datetimedisplayformat).format(m.datetimefieldformat);m.state.value=t,m.change()}),$("#"+this.iddatetimepicker).on("dp.show",function(){var e=n(regeneratorRuntime.mark(function t(e){var r,n,i,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,m.$nextTick();case 2:r=m.$refs.datetimepicker_body.getBoundingClientRect(),n=r.top,i=r.left,a=r.width,m.widget_container.top=n,m.widget_container.left=i-a,m.$emit("datetimepickershow");case 6:case"end":return e.stop()}},t,m)}));return function(t){return e.apply(this,arguments)}}()),$("#"+this.iddatetimepicker).on("dp.hide",function(e){m.$emit("datetimepickershow")}),a["default"].ismobile&&setTimeout(function(){$("#"+m.idinputdatetimepiker).blur()});case 13:case"end":return r.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("baseinput",{attrs:{state:e.state}},[r("div",{ref:"datetimepicker_body",attrs:{slot:"body"},slot:"body"},[r("div",{ref:"datimewidget_container",style:{top:e.widget_container.top+"px",left:e.widget_container.left+"px",position:"fixed",zIndex:1e4}}),e._v(" "),r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:!e.editable,expression:"!editable"}],staticClass:"input-group date",attrs:{id:e.iddatetimepicker}},[r("input",{staticClass:"form-control","class":{"input-error-validation":e.notvalid},attrs:{type:"text",id:e.idinputdatetimepiker,tabIndex:e.tabIndex,readonly:!e.editable||e.isMobile()?"readonly":null}}),e._v(" "),r("span",{staticClass:"input-group-addon caret"},[r("span",{"class":[e.g3wtemplate.getFontClass(e.timeOnly()?"time":"calendar")]})])])])])},n.staticRenderFns=[]},{"core/applicationstate":8,"core/utils/utils":92,"gui/inputs/input":159,"gui/vue/vue.mixins":227}],276:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("gui/inputs/input");r["default"]={mixins:[t]}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("baseinput",{attrs:{state:e.state}},[r("input",{directives:[{name:"disabled",rawName:"v-disabled",value:!e.editable,expression:"!editable"},{name:"model",rawName:"v-model",value:e.state.value,expression:"state.value"}],staticClass:"form-control","class":{"input-error-validation":e.notvalid},staticStyle:{width:"100%"},attrs:{slot:"body",tabIndex:e.tabIndex,type:"number",step:e.state.step||1,placeholder:e.state["default"]},domProps:{value:e.state.value},on:{change:e.change,input:[function(t){t.target.composing||e.$set(e.state,"value",t.target.value)},e.change]},slot:"body"})])},n.staticRenderFns=[]},{"gui/inputs/input":159}],277:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t=1;t',e.title="Add column left";var t=this.$el.querySelector(".ql-column-right");t.innerHTML='',t.title="Add column right";var r=this.$el.querySelector(".ql-column-remove");r.innerHTML='',r.title="Remove column";var n=this.$el.querySelector(".ql-row-above");n.innerHTML='',n.title="Add row above";var i=this.$el.querySelector(".ql-row-below");i.innerHTML='',i.title="Add row below";var a=this.$el.querySelector(".ql-row-remove");a.innerHTML='',a.title="Remove row"}},created:function(){this.edit_state={edit:!1,show_html:!1},this.state.edit_states||(this.state.edit_states=[]),this.state.edit_states.push(this.edit_state)},mounted:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){var e,t=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=[[{header:[1,2,3,4,5,6,!1]}],[{align:""},{align:"center"},{align:"right"},{align:"justify"}],[{color:[]},{background:[]}],["bold","italic","underline",{list:"ordered"},{list:"bullet"},"link","clean","html"],["table","column-left","column-right","column-remove","row-above","row-below","row-remove"]],r.next=3,this.$nextTick();case 3:this.quill=new Quill(this.$refs.quill_editor,{modules:{table:!0,toolbar:{container:e,handlers:{html:function(){t.edit_state.show_html=!t.edit_state.show_html,t.edit_state.show_html?t.quill.container.firstChild.innerText=t.quill.container.firstChild.innerHTML:t.quill.container.firstChild.innerHTML=t.quill.container.firstChild.innerText;var e=!0,r=!1,n=void 0;try{for(var i,a=t.$el.querySelectorAll(".ql-formats")[Symbol.iterator]();!(e=(i=a.next()).done);e=!0){var o=i.value,s=!0,l=!1,u=void 0;try{for(var c,d=o.children[Symbol.iterator]();!(s=(c=d.next()).done);s=!0){var p=c.value;p.classList.contains("ql-html")?p.classList.toggle("skin-color"):p.classList.toggle("g3w-disabled")}}catch(f){l=!0,u=f}finally{try{!s&&d["return"]&&d["return"]()}finally{if(l)throw u}}}}catch(f){r=!0,n=f}finally{try{!e&&a["return"]&&a["return"]()}finally{if(r)throw n}}},"column-left":function(){return t.table.insertColumnLeft()},"column-right":function(){return t.table.insertColumnRight()},"column-remove":function(){return t.table.deleteColumn()},"row-above":function(){return t.table.insertRowAbove()},"row-below":function(){return t.table.insertRowBelow()},"row-remove":function(){return t.table.deleteRow()}}}},theme:"snow"}),this.quill.container.firstChild.innerHTML=this.state.value,this.table=this.quill.getModule("table"),this.setupTableCustomTools(),this.handler=function(){t.state.value=t.edit_state.show_html?t.quill.container.firstChild.innerText:t.quill.container.firstChild.innerHTML,t.edit_state.edit=!0,t.change(),setTimeout(function(){return t.edit_state.edit=!1})},this.quill.on("text-change",this.handler);case 9:case"end":return r.stop()}},n,this)}));return e}(),watch:{"state.value":function(e){this.edit_state.edit||(this.edit_state.show_html?this.quill.container.firstChild.innerText=e:this.quill.container.firstChild.innerHTML=e)}},beforeDestroy:function(){this.quill.off("text-change",this.handler),this.handler=null,this.quill=null,this.edit_state.edit=!1,this.edit_state.show_html=!1}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("baseinput",{directives:[{name:"disabled",rawName:"v-disabled",value:!e.editable,expression:"!editable"}],attrs:{state:e.state}},[r("div",{ref:"quill_editor",staticClass:"form-control",style:{border:e.novalid?"1px solid reed":"1px solid #ccc"},attrs:{slot:"body"},on:{keydown:function(e){e.stopPropagation()}},slot:"body"})])},n.staticRenderFns=[]},{"core/utils/utils":92,"gui/inputs/input":159,"vueify/lib/insert-css":2}],290:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("gui/inputs/input"),i=e("gui/vue/vue.mixins"),a=i.selectMixin,o=e("core/utils/utils"),s=o.getUniqueDomId;r["default"]={mixins:[n,a],data:function(){var e="unique_"+s();return{id:e}},watch:{"state.input.options.values":function(){function e(e){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.state.value=this.state.value?this.state.value:null,null!==this.state.value&&e.indexOf(this.state.value)===-1&&this.service.addValueToValues(this.state.value),t.next=4,this.$nextTick();case 4:this.state.value&&this.select2.val(this.state.value).trigger("change");case 5:case"end":return t.stop()}},n,this)}));return e}()},mounted:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.state.input.options.editable&&(this.select2=$("#"+this.id).select2({dropdownParent:$("#g3w-view-content"),tags:!0,language:this.getLanguage()}),this.select2.val(this.state.value).trigger("change"),this.select2.on("select2:select",function(t){var r=t.params.data.$value?t.params.data.$value:t.params.data.id;e.changeSelect(r)}));case 3:case"end":return t.stop()}},n,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("baseinput",{attrs:{state:e.state}},[r("select",{directives:[{name:"disabled",rawName:"v-disabled",value:!e.editable,expression:"!editable"}],staticClass:"form-control",staticStyle:{width:"100%"},attrs:{slot:"body",id:e.id,tabIndex:e.tabIndex},slot:"body"},[r("option",{attrs:{value:"null"}}),e._v(" "),e._l(e.state.input.options.values,function(t){return r("option",{key:t,domProps:{value:e.getValue(t)}},[e._v(e._s(e.getValue(t)))])})],2)])},n.staticRenderFns=[]},{"core/utils/utils":92,"gui/inputs/input":159,"gui/vue/vue.mixins":227}],291:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("components/MapAddLayer.vue"),a=t(i),o=e("./MapFooter.vue"),s=t(o);r["default"]={data:function(){var e=this.$options,t=e.service,r=e.target;return{target:r,maps_container:this.$options.maps_container,service:t,hidemaps:t.state.hidemaps,map_info:t.state.map_info}},components:{addlayer:a["default"],MapFooter:s["default"]},computed:{mapcontrolsalignement:function(){return this.service.state.mapcontrolsalignement},disableMapControls:function(){return this.service.state.mapControl.disabled}},methods:{showHideControls:function(){var e=this.service.getMapControls();e.forEach(function(e){return"scaleline"!==e.type&&e.control.showHide()})}},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.crs=this.service.getCrs(),t.next=3,this.$nextTick();case 3:this.service.setMapControlsContainer($(this.$refs["g3w-map-controls"])),this.service.onafter("addHideMap",n(regeneratorRuntime.mark(function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.ratio,i=t.layers,a=void 0===i?[]:i,o=t.mainview,s=void 0!==o&&o,l=t.switchable,u=void 0!==l&&l;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$nextTick();case 2:e.service._addHideMap({ratio:n,layers:a,mainview:s,switchable:u});case 3:case"end":return t.stop()}},r,e)})));case 5:case"end":return t.stop()}},r,this)}));return e}(),destroyed:function(){this.service.clear()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:e.maps_container}},[e._l(e.hidemaps,function(e){return r("div",{key:e.id,staticClass:"g3w-map hidemap",attrs:{id:e.id}})}),e._v(" "),r("div",{staticClass:"g3w-map",attrs:{id:e.target}},[r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.disableMapControls,expression:"disableMapControls"}],ref:"g3w-map-controls",staticClass:"g3w-map-controls","class":e.mapcontrolsalignement,staticStyle:{display:"flex"}}),e._v(" "),e.map_info.info?r("div",{ref:"g3w-map-info",style:e.map_info.style,attrs:{id:"g3w-map-info"}},[e._v("\n "+e._s(e.map_info.info)+"\n ")]):e._e(),e._v(" "),e._m(0),e._v(" "),r("addlayer",{attrs:{service:e.service}})],1),e._v(" "),r("map-footer",{attrs:{service:e.service}})],2)},n.staticRenderFns=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{display:"none"}},[r("div",{attrs:{id:"marker"}})])}]},{"./MapFooter.vue":293,"components/MapAddLayer.vue":292}],292:[function(e,t,r){!function(){function t(e){return Array.isArray(e)?e:Array.from(e)}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("app/constant"),a=e("core/utils/geo"),o=a.createVectorLayerFromFile,s=a.createStyleFunctionToVectorLayer,l=["zip","geojson","GEOJSON","kml","kmz","KMZ","KML","json","gpx","gml","csv"],u=[",",";"],c=VueColor.Chrome;c.mounted=n(regeneratorRuntime.mark(function d(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:$(".vue-color__chrome__toggle-btn").remove(),$(".vue-color__editable-input__label").remove(),$(".vue-color__chrome__saturation-wrap").css("padding-bottom","100px"),$(".vue-color__chrome").css({"box-shadow":"0 0 0 0",border:"1px solid #97A1A8"});case 6:case"end":return e.stop()}},d,this)})),r["default"]={props:["service"],data:function(){var e=this.service.getCrs();return void 0===i.EPSG.find(function(t){return t===e})&&i.EPSG.unshift(e),{vectorLayer:null,options:i.EPSG,error:!1,error_message:null,position:null,loading:!1,fields:[],field:null,accepted_extension:l.map(function(e){return"."+e}).join(","),csv:{valid:!1,loading:!1,headers:[],x:null,y:null,separators:u,separator:u[0]},layer:{name:null,type:null,crs:null,mapCrs:null,color:{hex:"#194d33",rgba:{r:25,g:77,b:51,a:1},a:1},data:null,visible:!0,title:null,id:null,external:!0}}},components:{"chrome-picker":c},methods:{setLayerMapPosition:function(e){this.position=e},setError:function(e){this.error_message="sdk.errors."+e,this.error=!0},clearError:function(){this.error=!1,this.error_message=null},onChangeColor:function(e){this.layer.color=e},onAddLayer:function(){function e(e){return r.apply(this,arguments)}var r=n(regeneratorRuntime.mark(function i(e){var r,n,a,o,s,u=this;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(this.csv.valid=!0,r=new FileReader,n=e.target.files[0].name,a=e.target.files[0].name.split("."),a=a[a.length-1].toLowerCase(),o=$(this.$refs.input_file),l.indexOf(a)===-1){i.next=33;break}if(this.clearError(),this.layer.mapCrs=this.service.getEpsg(),this.layer.name=n,this.layer.title=n,this.layer.id=n,this.layer.type=a,"csv"!==this.layer.type){i.next=18;break}r.onload=function(e){o.val(null);var r=e.target.result.split(/\r\n|\n/).filter(function(e){return e}),n=t(r),i=n[0],a=n.slice(1),s=function(e){var t=void 0;u.csv.loading=!0;var r=i.split(e),n=r.length;return n>1?(u.csv.headers=r,u.fields=r,u.csv.x=r[0],u.csv.y=r[1],t={headers:r,separator:e,x:u.csv.x,y:u.csv.y,values:a},u.csv.valid=!0):(u.csv.headers=u.fields=[],u.vectorLayer=null,u.csv.valid=!1,u.fields.splice(0)),u.csv.loading=!1,t};u.layer.data=s(u.csv.separator),u.$watch("csv.separator",function(e){return u.layer.data=s(e)})},r.readAsText(e.target.files[0]),i.next=31;break;case 18:return s=new Promise(function(t,n){if("zip"===u.layer.type||"kmz"===u.layer.type){var i=e.target.files[0];o.val(null),t(i)}else r.onload=function(e){var r=e.target.result;o.val(null),t(r)},r.readAsText(e.target.files[0])}),i.next=21,s;case 21:return this.layer.data=i.sent,i.prev=22,this.fields.splice(0),i.next=26,this.createVectorLayer();case 26:this.fields=this.vectorLayer.get("_fields"),i.next=31;break;case 29:i.prev=29,i.t0=i["catch"](22);case 31:i.next=34;break;case 33:this.setError("unsupported_format");case 34:case"end":return i.stop()}},i,this,[[22,29]])}));return e}(),createVectorLayer:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o(this.layer);case 3:return this.vectorLayer=e.sent,e.next=6,this.$nextTick();case 6:e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),this.setError("add_external_layer");case 11:case"end":return e.stop()}},r,this,[[0,8]])}));return e}(),addLayer:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.vectorLayer&&!this.csv.valid){e.next=17;break}return this.loading=!0,e.prev=2,e.next=5,o(this.layer);case 5:return this.vectorLayer=e.sent,this.vectorLayer.setStyle(s({color:this.layer.color,field:this.field})),e.next=9,this.service.addExternalLayer(this.vectorLayer,{crs:this.layer.crs,type:this.layer.type,position:this.position});case 9:$(this.$refs.modal_addlayer).modal("hide"),this.clearLayer(),e.next=16;break;case 13:e.prev=13,e.t0=e["catch"](2),this.setError("add_external_layer");case 16:this.loading=!1;case 17:case"end":return e.stop()}},r,this,[[2,13]])}));return e}(),clearLayer:function(){this.clearError(),this.loading=!1,this.layer.name=null,this.layer.title=null,this.layer.id=null,this.layer.type=null,this.layer.crs=this.service.getCrs(),this.layer.color={hex:"#194d33",rgba:{r:25,g:77,b:51,a:1},a:1},this.layer.data=null,this.vectorLayer=null,this.fields=[],this.field=null}},computed:{csv_extension:function(){return"csv"===this.layer.type},add:function(){return this.vectorLayer||this.csv.valid}},watch:{"csv.x":function(e){e&&(this.layer.data.x=e)},"csv.y":function(e){e&&(this.layer.data.y=e)}},created:function(){var e=this;this.layer.crs=this.service.getCrs(),this.service.on("addexternallayer",function(){return e.modal.modal("show")})},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.modal=$("#modal-addlayer").modal("hide"),this.modal.on("hidden.bs.modal",function(){return e.clearLayer()});case 4:case"end":return t.stop()}},r,this)}));return e}(),beforeDestroy:function(){this.clearLayer(),this.modal.modal("hide"),this.modal.remove()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"modal_addlayer",staticClass:"modal fade",attrs:{id:"modal-addlayer",role:"dialog"}},[r("div",{staticClass:"modal-dialog"},[r("div",{staticClass:"modal-content"},[r("div",{staticClass:"modal-header"},[r("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal"}},[e._v("×")]),e._v(" "),r("h4",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.header",expression:"'mapcontrols.add_layer_control.header'"}],staticClass:"modal-title",staticStyle:{"font-weight":"bold"}})]),e._v(" "),r("div",{staticClass:"modal-body"},[r("div",{staticClass:"form-group"},[r("label",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_projection",expression:"'mapcontrols.add_layer_control.select_projection'"}],attrs:{"for":"projection-layer"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.layer.crs,expression:"layer.crs"}],staticClass:"form-control",attrs:{id:"projection-layer"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.layer,"crs",t.target.multiple?r:r[0])}}},e._l(e.options,function(t){return r("option",{domProps:{value:t}},[e._v(e._s(t))])}),0)]),e._v(" "),r("layerspositions",{on:{"layer-position-change":function(t){return e.setLayerMapPosition(t)}}}),e._v(" "),r("p",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_color",expression:"'mapcontrols.add_layer_control.select_color'"}],staticStyle:{"font-weight":"700"}}),e._v(" "),r("chrome-picker",{staticStyle:{width:"100%",margin:"auto"},on:{"change-color":e.onChangeColor},model:{value:e.layer.color,callback:function(t){e.$set(e.layer,"color",t)},expression:"layer.color"}}),e._v(" "),r("bar-loader",{attrs:{loading:e.loading}}),e._v(" "),r("form",{attrs:{id:"addcustomlayer"}},[r("input",{ref:"input_file",attrs:{type:"file",title:" ",accept:e.accepted_extension},on:{change:function(t){return e.onAddLayer(t)}}}),e._v(" "),r("h4",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.drag_layer",expression:"'mapcontrols.add_layer_control.drag_layer'"}]}),e._v(" "),e.layer.name?r("h4",{staticClass:"skin-color",staticStyle:{"font-weight":"bold"}},[e._v(e._s(e.layer.name))]):e._e(),e._v(" "),r("div",[r("i",{staticClass:"fa-5x","class":e.g3wtemplate.getFontClass("cloud-upload"),attrs:{"aria-hidden":"true"}})]),e._v(" "),r("p",{staticStyle:{"font-weight":"bold"}},[e._v("[.gml, .geojson, .kml, .kmz ,.gpx, .csv, .zip(shapefile)]")])]),e._v(" "),e.csv_extension?r("div",{staticStyle:{padding:"15px",border:"1px solid grey","border-radius":"3px"}},[r("bar-loader",{attrs:{loading:e.csv.loading}}),e._v(" "),r("div",{staticClass:"select_field"},[r("label",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_csv_separator",expression:"'mapcontrols.add_layer_control.select_csv_separator'"}],attrs:{"for":"g3w-select-field-layer"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.csv.separator,expression:"csv.separator"}],staticClass:"form-control",attrs:{id:"g3w-select-separator"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.csv,"separator",t.target.multiple?r:r[0])}}},e._l(e.csv.separators,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])}),0),e._v(" "),r("div",{staticClass:"select_field","class":{"g3w-disabled":!e.csv.headers||0===e.csv.headers.length}},[r("label",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_csv_x_field",expression:"'mapcontrols.add_layer_control.select_csv_x_field'"}],attrs:{"for":"g3w-select-x-field"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.csv.x,expression:"csv.x"}],staticClass:"form-control",attrs:{id:"g3w-select-x-field"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.csv,"x",t.target.multiple?r:r[0])}}},e._l(e.csv.headers,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])}),0)]),e._v(" "),r("div",{staticClass:"select_field","class":{"g3w-disabled":!e.csv.headers||0===e.csv.headers.length}},[r("label",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_csv_y_field",expression:"'mapcontrols.add_layer_control.select_csv_y_field'"}],attrs:{"for":"g3w-select-y-field"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.csv.y,expression:"csv.y"}],staticClass:"form-control",attrs:{id:"g3w-select-y-field"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.csv,"y",t.target.multiple?r:r[0])}}},e._l(e.csv.headers,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])}),0)])])],1):e._e(),e._v(" "),r("div",{staticClass:"select_field","class":{"g3w-disabled":!e.fields||0===e.fields.length}},[r("label",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_field_to_show",expression:"'mapcontrols.add_layer_control.select_field_to_show'"}],attrs:{"for":"g3w-select-field-layer"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.field,expression:"field"}],staticClass:"form-control",attrs:{id:"g3w-select-field-layer"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.field=t.target.multiple?r:r[0]}}},[r("option",{domProps:{value:null}},[e._v("---")]),e._v(" "),e._l(e.fields,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])})],2)]),e._v(" "),e.error?r("div",{directives:[{name:"t",rawName:"v-t",value:e.error_message,expression:"error_message"}],staticStyle:{"font-weight":"bold","font-size":"1.2em","background-color":"orange",padding:"10px","text-align":"center"}}):e._e(),e._v(" "),r("div",{staticClass:"modal-footer"},[r("button",{directives:[{name:"t",rawName:"v-t",value:"add",expression:"'add'"}],staticClass:"btn btn-success pull-left",attrs:{type:"button",disabled:!e.add},on:{click:e.addLayer}}),e._v(" "),r("button",{directives:[{name:"t",rawName:"v-t",value:"close",expression:"'close'"}],staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}})])],1)])])])},n.staticRenderFns=[]},{"app/constant":5,"core/utils/geo":89}],293:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("./MapFooterRight.vue"),i=t(n),a=e("./MapFooterLeft.vue"),o=t(a);r["default"]={name:"Mapfooter",props:{service:{type:Object}},components:{MapFooterRight:i["default"],MapFooterLeft:o["default"]}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t; -return r("div",{staticClass:"skin-border-color",attrs:{id:"map_footer"}},[r("map-footer-left"),e._v(" "),r("map-footer-right",{attrs:{service:e.service}})],1)},n.staticRenderFns=[]},{"./MapFooterLeft.vue":294,"./MapFooterRight.vue":295}],294:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"Mapfooter"}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement;e._self._c||t;return e._m(0)},n.staticRenderFns=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{display:"flex"},attrs:{id:"map_footer_left"}},[r("a",{staticStyle:{"margin-left":"5px","align-self":"center"},attrs:{href:"https://g3wsuite.it/",target:"_blank"}},[r("img",{attrs:{height:"15",src:"/static/client/images/g3wsuite_logo.png",alt:""}})])])}]},{}],295:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=t(i);r["default"]={name:"Mapfooter",props:{service:{type:Object}},data:function(){return{mouse:{switch_icon:!1,epsg_4326:!1,tooltip:null},mapunit:a["default"].map.unit}},computed:{showmapunits:function(){return this.service.state.mapunits.length>1}},methods:{createCopyMapExtentUrl:function(){this.service.createCopyMapExtentUrl()},switchMapsCoordinateTo4326:function(){this.mouse.epsg_4326=!this.mouse.epsg_4326}},watch:{mapunit:function(e){a["default"].map.unit=e,this.service.changeScaleLineUnit(e)}},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.service.once("ready",function(){e.mouse.switch_icon=e.service.getMapControlByType({type:"mouseposition"})&&"EPSG:4326"!==e.service.getEpsg(),e.mouse.tooltip="ESPG "+e.service.getCrs().split(":")[1]+" <--> WGS84"});case 1:case"end":return t.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{display:"flex"},attrs:{id:"map_footer_right"}},[r("div",{attrs:{id:"scale-control"}}),e._v(" "),e.mouse.switch_icon&&!e.isMobile()?r("div",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:top.create",value:e.mouse.tooltip,expression:"mouse.tooltip",arg:"top",modifiers:{create:!0}}],attrs:{id:"switch-mouse-coordinate"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.switchMapsCoordinateTo4326(t)}}},[r("span",{staticClass:"skin-color hide-cursor-caret-color","class":e.g3wtemplate.getFontClass("mouse")})]):e._e(),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.mouse.epsg_4326,expression:"!mouse.epsg_4326"}],attrs:{id:"mouse-position-control"}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.mouse.epsg_4326,expression:"mouse.epsg_4326"}],attrs:{id:"mouse-position-control-epsg-4326"}}),e._v(" "),e.showmapunits?r("div",{attrs:{id:"scale-line-units"}},[r("select",{directives:[{name:"model",rawName:"v-model",value:e.mapunit,expression:"mapunit"}],staticClass:"skin-color",staticStyle:{padding:"5px 2px","font-weight":"bold",border:"0",cursor:"pointer"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.mapunit=t.target.multiple?r:r[0]}}},e._l(e.service.state.mapunits,function(t){return r("option",{directives:[{name:"t",rawName:"v-t",value:"sdk.mapcontrols.scaleline.units."+t,expression:"`sdk.mapcontrols.scaleline.units.${unit}`"}],staticStyle:{"font-weight":"bold"},domProps:{value:t,selected:e.mapunit===t}})}),0)]):e._e(),e._v(" "),r("div",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:top.create",value:"sdk.tooltips.copy_map_extent_url",expression:"'sdk.tooltips.copy_map_extent_url'",arg:"top",modifiers:{create:!0}}],staticStyle:{"background-color":"#eeeeee"},attrs:{id:"permalink"}},[r("span",{staticClass:"skin-color","class":e.g3wtemplate.getFontClass("link"),on:{click:function(t){return t.stopPropagation(),e.createCopyMapExtentUrl(t)}}})])])},n.staticRenderFns=[]},{"core/applicationstate":8}],296:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={data:function(){return{state:null}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div")},n.staticRenderFns=[]},{}],297:[function(e,t,r){e("vueify/lib/insert-css").insert('.layer_header[data-v-9dde3d30]{padding:5px;margin-bottom:0;margin-top:0;cursor:pointer}.layer-name[data-v-9dde3d30]{font-weight:700}.layer-header-icon[data-v-9dde3d30]{margin-right:10px;color:#999}.layer_header span.open-close[data-v-9dde3d30]{position:absolute;right:5px;color:#999}.metadata-label[data-v-9dde3d30]{font-weight:700;font-size:1.1em}.row[data-v-9dde3d30]{padding:10px;border-bottom:1px solid #e2e2e2}.nav-tabs[data-v-9dde3d30]{border-bottom:0 solid #ddd}.nav-tabs>li.active>a[data-v-9dde3d30],.nav-tabs>li.active>a[data-v-9dde3d30]:focus,.nav-tabs>li.active>a[data-v-9dde3d30]:hover{border-width:0}.nav-tabs>li>a[data-v-9dde3d30]{border:none;color:#aeaeae}.nav-tabs>li.active>a[data-v-9dde3d30],.nav-tabs>li>a[data-v-9dde3d30]:hover{border:none;background:transparent}.nav-tabs>li>a[data-v-9dde3d30]:after{content:"";height:2px;position:absolute;width:100%;left:0;bottom:-1px;transition:all .25s ease 0s;transform:scale(0)}.nav-tabs>li.active>a[data-v-9dde3d30]:after,.nav-tabs>li:hover>a[data-v-9dde3d30]:after{transform:scale(1)}.tab-nav>li>a[data-v-9dde3d30]:after{background:#21527d none repeat scroll 0 0;color:#fff}.tab-content[data-v-9dde3d30]{margin:10px;background-color:#eee;overflow:auto}.spatial-tab[data-v-9dde3d30]{font-weight:700}');!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("gui/metadata/vue/components/metadatamixin"),i=t(n);r["default"]={name:"layer",mixins:[i["default"]],props:{state:{}},data:function(){return{show:!1}},computed:{isSpatial:function(){return"NoGeometry"!=this.state.geometrytype}},methods:{showHideInfo:function(){this.show=!this.show}},mounted:function(){}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"row-info"},[r("h4",{staticClass:"layer_header",attrs:{"data-toggle":"collapse","data-target":"#"+e.state.id},on:{click:e.showHideInfo}},[r("i",{staticClass:"layer-header-icon action-button nohover","class":[e.isSpatial?e.g3wtemplate.font.map:e.g3wtemplate.font.table],attrs:{"aria-hidden":"true"}}),e._v(" "),r("span",{staticClass:"layer-name"},[e._v(e._s(e.state.name))]),e._v(" "),r("span",{staticClass:"action-button nohover open-close","class":[e.show?e.g3wtemplate.getFontClass("minus"):e.g3wtemplate.getFontClass("plus")]})]),e._v(" "),r("div",{staticClass:"collapse",attrs:{id:e.state.id}},[r("ul",{staticClass:"metadata-nav-tabs nav nav-tabs",attrs:{role:"tablist"}},[r("li",{staticClass:"active spatial-tab",attrs:{role:"presentation"}},[r("a",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.groups.general",expression:"'sdk.metadata.groups.layers.groups.general'"}],attrs:{href:"#layer_general_"+e.state.id,"aria-controls":"general",role:"tab","data-toggle":"tab"}})]),e._v(" "),e.isSpatial?r("li",{staticClass:"spatial-tab",attrs:{role:"presentation"}},[r("a",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.groups.spatial",expression:"'sdk.metadata.groups.layers.groups.spatial'"}],attrs:{href:"#layer_spatial_"+e.state.id,"aria-controls":"profile",role:"tab","data-toggle":"tab"}})]):e._e()]),e._v(" "),r("div",{staticClass:"tab-content"},[r("div",{staticClass:"tab-pane active",attrs:{role:"tabpanel",id:"layer_general_"+e.state.id}},[r("div",{staticClass:"container-fluid"},[e.findAttributeFormMetadataAttribute("title")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.title",expression:"'sdk.metadata.groups.layers.fields.subfields.title'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value"},[e._v(e._s(e.state.metadata.title))])]):e._e(),e._v(" "),e.findMetadataAttribute("name")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.name",expression:"'sdk.metadata.groups.layers.fields.subfields.name'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value"},[e._v(e._s(e.state.name))])]):e._e(),e._v(" "),e.findMetadataAttribute("source")?r("div",{staticClass:"row metadata-layer-source"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.source",expression:"'sdk.metadata.groups.layers.fields.subfields.source'"}],staticClass:"col-md-2 col-sm-12 metadata-label metadata-layer-source-value-key"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value metadata-layer-source-value"},[e._v(e._s(e.state.source.type))])]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("abstract")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.abstract",expression:"'sdk.metadata.groups.layers.fields.subfields.abstract'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value",domProps:{innerHTML:e._s(e.state.metadata["abstract"])}})]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("keywords")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.keywords",expression:"'sdk.metadata.groups.layers.fields.subfields.keywords'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value"},[r("div",[e._v(e._s(e.state.metadata.keywords.join(", ")))])])]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("metadataurl")&&e.state.metadata.metadataurl.onlineresources?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.metadataurl",expression:"'sdk.metadata.groups.layers.fields.subfields.metadataurl'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value"},[r("a",{attrs:{href:e.state.metadata.metadataurl.onlineresources}},[e._v(e._s(e.state.metadata.metadataurl.onlineresources))])])]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("dataurl")&&e.state.metadata.dataurl.onlineresources?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.dataurl",expression:"'sdk.metadata.groups.layers.fields.subfields.dataurl'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value"},[r("a",{attrs:{href:e.state.metadata.dataurl.onlineresources}},[e._v(e._s(e.state.metadata.dataurl.onlineresources))])])]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("attributes")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.attributes",expression:"'sdk.metadata.groups.layers.fields.subfields.attributes'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value",staticStyle:{overflow:"auto"}},[r("table",{staticClass:"table table-striped",staticStyle:{"background-color":"#eeeeee !important"}},[r("thead",[r("tr",e._l(e.state.metadata.attributes[0],function(t,n){return r("th",[e._v(e._s(n))])}),0)]),e._v(" "),r("tbody",e._l(e.state.metadata.attributes,function(t){return r("tr",e._l(t,function(t,n){return r("td",[e._v(e._s(t))])}),0)}),0)])])]):e._e()])]),e._v(" "),r("div",{staticClass:"tab-pane",attrs:{role:"tabpanel",id:"layer_spatial_"+e.state.id}},[r("div",{staticClass:"container-fluid"},[e.findMetadataAttribute("crs")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.crs",expression:"'sdk.metadata.groups.layers.fields.subfields.crs'"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),r("div",{staticClass:"col-sm-10 value"},[e._v(e._s(e.state.crs.epsg))])]):e._e(),e._v(" "),e.findMetadataAttribute("geometrytype")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.geometrytype",expression:"'sdk.metadata.groups.layers.fields.subfields.geometrytype'"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),r("div",{staticClass:"col-sm-10 value"},[e._v(e._s(e.state.geometrytype))])]):e._e(),e._v(" "),e.findMetadataAttribute("bbox")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.bbox",expression:"'sdk.metadata.groups.layers.fields.subfields.bbox'"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),r("div",{staticClass:"col-sm-10 value"},e._l(e.state.bbox,function(t,n){return r("p",[r("span",{staticStyle:{"font-weight":"bold","margin-right":"5px"}},[e._v(e._s(n))]),e._v(" "),r("span",[e._v(e._s(t))])])}),0)]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("crs")?r("div",{staticClass:"row"},[r("div",{staticClass:"col-sm-2 metadata-label"},[e._v("CRS")]),e._v(" "),r("div",{staticClass:"col-sm-10 value"},e._l(e.state.metadata.crs,function(t){return r("div",[r("span",[e._v(e._s(t))])])}),0)]):e._e()])])])])])},n.staticRenderFns=[],n._scopeId="data-v-9dde3d30"},{"gui/metadata/vue/components/metadatamixin":190,"vueify/lib/insert-css":2}],298:[function(e,t,r){e("vueify/lib/insert-css").insert(".metadata-nav-bar li a[data-v-240eaf70]{text-align:center}.metadata-nav-bar li a i[data-v-240eaf70]{margin-right:5px}.metadata-item-tab[data-v-240eaf70]{margin-right:10px;border-radius:3px;margin-bottom:10px}.metadata-body[data-v-240eaf70]{overflow-y:auto;overflow-x:hidden;padding-left:0;padding-right:0}.tab-title[data-v-240eaf70]{position:absolute;bottom:10px;right:auto}.row-info[data-v-240eaf70]{margin:0!important;padding-top:10px;padding-bottom:10px;border-bottom:1px solid #eee}.row-info .label[data-v-240eaf70]{font-weight:700}.h_90[data-v-240eaf70]{height:90%}.h_100[data-v-240eaf70]{height:100%}#project-catalog[data-v-240eaf70]{position:relative;overflow:auto}.nav-tabs-wrapper[data-v-240eaf70]{display:inline-block;margin-bottom:-6px;margin-left:1.25%;margin-right:1.25%;position:relative;width:100%}.nav-tabs[data-v-240eaf70]{border-bottom:0 none}.nav-stacked[data-v-240eaf70]{font-size:1.2em;font-weight:700;padding:10px 0}.nav-stacked li a[data-v-240eaf70]{color:#fff}.left-vertical-tabs[data-v-240eaf70]{padding-left:0!important}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=e("components/MetadataLayer.vue"),a=t(i),o=e("components/MetadataProjectTabContent.vue"),s=t(o),l=e("components/MetadataProjectBBoxContent.vue"),u=t(l),c=e("components/MetadataProjectContactsContent.vue"),d=t(c);r["default"]={name:"project",data:function(){return{state:this.$options.state,iconsClass:{info:this.g3wtemplate.getFontClass("info-circle"),globe:this.g3wtemplate.getFontClass("globe"),bars:this.g3wtemplate.getFontClass("bars")}}},components:{"metadata-layer":a["default"],"metadata-tab-content":s["default"],"metadata-bbox-content":u["default"],"metadata-contacts-content":d["default"]},methods:{isArrayorObject:function(e){return Array.isArray(e)||"object"===("undefined"==typeof e?"undefined":n(e))},setComponent:function(e){var t=void 0;switch(e){case"extent":t="metadata-bbox-content";break;case"contactinformation":t="metadata-contacts-content";break;default:t="metadata-tab-content"}return t}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"project-catalog"}},[r("div",{"class":e.isMobile()?"mobile":null,staticStyle:{padding:"0"},attrs:{id:"project-catalog-container"}},[r("ul",{staticClass:"nav nav-tabs metadata-nav-bar",attrs:{role:"tablist"}},[r("li",{staticClass:"active"},[r("a",{staticClass:"metadata-item-tab general",attrs:{"data-toggle":"tab",href:"#general"}},[r("i",{staticClass:"action-button nohover","class":e.g3wtemplate.getFontClass("info"),attrs:{"aria-hidden":"true"}}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.general.title",expression:"'sdk.metadata.groups.general.title'"}],staticStyle:{"font-weight":"bold"}})])]),e._v(" "),r("li",[r("a",{staticClass:"metadata-item-tab spatial",attrs:{"data-toggle":"tab",href:"#spatial"}},[r("i",{staticClass:"action-button nohover","class":e.iconsClass.globe,attrs:{"aria-hidden":"true"}}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.spatial.title",expression:"'sdk.metadata.groups.spatial.title'"}],staticStyle:{"font-weight":"bold"}})])]),e._v(" "),r("li",[r("a",{staticClass:"metadata-item-tab layers",attrs:{"data-toggle":"tab",href:"#metadata_layers"}},[r("i",{staticClass:"action-button nohover","class":e.iconsClass.bars,attrs:{"aria-hidden":"true"}}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.title",expression:"'sdk.metadata.groups.layers.title'"}],staticStyle:{"font-weight":"bold"}})])])])]),e._v(" "),r("div",{staticClass:"col-sm-12 metadata-body tab-content"},[r("div",{staticClass:"tab-pane fade in active",attrs:{id:"general"}},[e._l(e.state.groups.general,function(t,n){return r("div",{staticClass:"row h_100 row-info"},[r(e.setComponent(n),{tag:"component",attrs:{data:t,fieldName:n}})],1)})],2),e._v(" "),r("div",{staticClass:"tab-pane fade",attrs:{id:"spatial"}},[r("div",[e._l(e.state.groups.spatial,function(t,n){return r("div",{staticClass:"row row-info"},[r(e.setComponent(n),{tag:"component",attrs:{data:t,fieldName:n}})],1)})],2)]),e._v(" "),r("div",{staticClass:"tab-pane fade",attrs:{id:"metadata_layers"}},e._l(e.state.groups.layers.layers.value,function(e){return r("metadata-layer",{attrs:{state:e}})}),1)])])},n.staticRenderFns=[],n._scopeId="data-v-240eaf70"},{"components/MetadataLayer.vue":297,"components/MetadataProjectBBoxContent.vue":299,"components/MetadataProjectContactsContent.vue":300,"components/MetadataProjectTabContent.vue":301,"vueify/lib/insert-css":2}],299:[function(e,t,r){e("vueify/lib/insert-css").insert(".metadata-label[data-v-bf5d2660]{font-weight:700;font-size:1.1em}.bbox-labels[data-v-bf5d2660]{font-weight:700}");!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"metadatabbox",props:{data:{}},data:function(){return{bboxlabels:["MINX","MINY","MAXX","MAXY"]}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"wrap-content-tab"},[r("div",{directives:[{name:"t",rawName:"v-t",value:e.data.label,expression:"data.label"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},e._l(e.data.value,function(t,n){return r("div",[r("span",{staticClass:"bbox-labels"},[e._v(e._s(e.bboxlabels[n]))]),e._v(" "+e._s(t)+"\n ")])}),0)])},n.staticRenderFns=[],n._scopeId="data-v-bf5d2660"},{"vueify/lib/insert-css":2}],300:[function(e,t,r){e("vueify/lib/insert-css").insert(".metadata-label[data-v-c0652f74]{font-weight:700;font-size:1.1em}.metadata-contact-label[data-v-c0652f74]{font-weight:700}.contact-icon[data-v-c0652f74]{margin-right:3px}.row[data-v-c0652f74]{margin-bottom:5px}");!function(){Object.defineProperty(r,"__esModule",{value:!0});var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r["default"]={name:"metadatacontatcs",props:{data:{}},data:function(){return{iconsClass:{contactelectronicmailaddress:this.g3wtemplate.getFontClass("mail"),personprimary:this.g3wtemplate.getFontClass("user"),contactvoicetelephone:this.g3wtemplate.getFontClass("mobile")}}},methods:{sanitizeValue:function(t){return null!==t&&void 0!==t&&("object"===("undefined"==typeof t?"undefined":e(t))?t=Object.keys(t).length?t:"":Array.isArray(t)&&(t=t.length?t:"")),t},geti18n:function(e){}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"wrap-content-tab"},[r("div",{directives:[{name:"t",rawName:"v-t",value:e.data.label,expression:"data.label"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},e._l(e.data.value,function(t,n){return r("div",[r("div",{staticClass:"row"},[r("div",{staticClass:"col-sm-2 metadata-contact-label"},[r("i",{staticClass:"contact-icon","class":e.iconsClass[n],attrs:{"aria-hidden":"true"}}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.general.fields.subfields.contactinformation."+n,expression:"'sdk.metadata.groups.general.fields.subfields.contactinformation.' + key"}]})]),e._v(" "),r("div",{staticClass:"col-sm-10"},["personprimary"===n?e._l(t,function(t,n){return r("div",[r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.general.fields.subfields.contactinformation."+n,expression:"'sdk.metadata.groups.general.fields.subfields.contactinformation.' + key"}],staticClass:"metadata-contact-label"}),e._v(" "),r("span",[e._v(e._s(t))])])}):r("div",["contactelectronicmailaddress"===n?[r("a",{staticStyle:{"font-weight":"bold"},attrs:{href:"mailto:"+e.sanitizeValue(t)}},[e._v(e._s(e.sanitizeValue(t)))])]:[e._v("\n "+e._s(e.sanitizeValue(t))+"\n ")]],2)],2)])])}),0)])},n.staticRenderFns=[],n._scopeId="data-v-c0652f74"},{"vueify/lib/insert-css":2}],301:[function(e,t,r){e("vueify/lib/insert-css").insert(".metadata-label[data-v-56b766b4]{font-weight:700;font-size:1.1em}");!function(){Object.defineProperty(r,"__esModule",{value:!0});var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r["default"]={name:"metadatatabcontent",props:{data:{},fieldName:{}},computed:{arrayToString:function(){return this.data.value.join(", ")}},methods:{isArrayorObject:function(t){return Array.isArray(t)||"object"===("undefined"==typeof t?"undefined":e(t))}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"wrap-content-tab"},[r("div",{directives:[{name:"t",rawName:"v-t",value:e.data.label,expression:"data.label"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),"keywords"==e.fieldName?r("div",{staticClass:"col-sm-10 value"},[e._v("\n "+e._s(e.arrayToString)+"\n ")]):"wms_url"==e.fieldName?r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},[r("span",[e._v(e._s(e.data.value))])]):e.isArrayorObject(e.data.value)?"abstract"==e.fieldName?r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},[r("span",{domProps:{innerHTML:e._s(e.data.value)}})]):r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},e._l(e.data.value,function(t,n){return r("div",[r("span",[e._v(e._s(t))])])}),0):r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},[r("span",{domProps:{innerHTML:e._s(e.data.value)}})])])},n.staticRenderFns=[],n._scopeId="data-v-56b766b4"},{"vueify/lib/insert-css":2}],302:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("services/navbaritems"),i=t(n);r["default"]={name:"NavbaritemLeft",data:function(){return{items:i["default"].state.items.right}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"nav navbar-nav navbar-left"},e._l(e.items,function(e){return r(e,{key:e.id,tag:"li"})}),1)},n.staticRenderFns=[],n._scopeId="data-v-422dbddd"},{"services/navbaritems":395}],303:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("services/navbaritems"),i=t(n);r["default"]={name:"NavbaritemRight",data:function(){return{items:i["default"].state.items.right}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"nav navbar-nav navbar-right"},e._l(e.items,function(e){return r(e,{key:e.id,tag:"li"})}),1)},n.staticRenderFns=[],n._scopeId="data-v-40cf17b6"},{"services/navbaritems":395}],304:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"download-notify"}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"download",rawName:"v-download.show",modifiers:{show:!0}}],staticClass:"skin-color",attrs:{id:"download_notification",title:"DOWNLOAD"}},[r("bar-loader",{attrs:{loading:"true"}}),e._v(" "),r("i",{"class":e.g3wtemplate.getFontClass("download"),staticStyle:{padding:"3px"}})],1)},n.staticRenderFns=[]},{}],305:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"online-notify"}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"online",rawName:"v-online:hide",arg:"hide"}],staticStyle:{color:"#999"},attrs:{id:"offline_notification"}},[r("i",{"class":e.g3wtemplate.getFontClass("wifi")}),e._v(" "),r("div",{staticStyle:{"font-weight":"bold","font-size":"0.4em"}},[e._v("offline")])])},n.staticRenderFns=[]},{}],306:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"plugins-notify"}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"plugins",rawName:"v-plugins"}],staticStyle:{color:"#994b10"},attrs:{id:"plugins_notification"}},[r("bar-loader",{attrs:{loading:"true"}}),e._v(" "),r("i",{"class":e.g3wtemplate.getFontClass("plugin")})],1)},n.staticRenderFns=[]},{}],307:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/PrintSelectAtlasFieldValues.vue"),i=t(n),a=e("components/PrintFidAtlasValues.vue"),o=t(a);r["default"]={data:function(){return{state:null,button:{"class":"btn-success",type:"stampa",disabled:!1}}},components:{SelectAtlasFieldValues:i["default"],FidAtlasValues:o["default"]},computed:{disabled:function(){return this.state.output.loading||!!this.state.atlas&&0===this.state.atlasValues.length}},methods:{setDisabledPrintButton:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.button.disabled=e},setAtlasValues:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.state.atlasValues=e},onChangeTemplate:function(){this.$options.service.changeTemplate()},onChangeScale:function(){this.$options.service.changeScale()},onChangeFormat:function(){},onChangeDpi:function(){},onChangeRotation:function(e){this.state.rotation>=0&&!_.isNil(this.state.rotation)&&""!=this.state.rotation?(this.state.rotation=this.state.rotation>360?360:this.state.rotation,e.target.value=this.state.rotation):this.state.rotation<0?(this.state.rotation=this.state.rotation<-360?-360:this.state.rotation,e.target.value=this.state.rotation):this.state.rotation=0,this.$options.service.changeRotation()},print:function(){this.$options.service.print()}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"treeview-menu",attrs:{id:"print"}},[r("li",[r("form",{staticClass:"g3w-search-form form-horizonal"},[r("div",{staticClass:"box-body"},[r("transition",{attrs:{duration:500,name:"fade"}},[r("bar-loader",{attrs:{loading:e.state.loading}})],1),e._v(" "),r("helpdiv",{attrs:{message:"sdk.print.help"}}),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.template",expression:"'sdk.print.template'"}],attrs:{"for":"templates"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.state.template,expression:"state.template"}],staticClass:"form-control",style:{marginBottom:this.state.atlas&&"10px"},attrs:{id:"templates"},on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.state,"template",t.target.multiple?r:r[0])},e.onChangeTemplate]}},e._l(e.state.print,function(t){return r("option",{domProps:{value:t.name}},[e._v(e._s(t.name))])}),0),e._v(" "),e.state.atlas?e.state.atlas.field_name?[r("select-atlas-field-values",{attrs:{atlas:e.state.atlas,reset:!e.state.isShow},on:{"disable-print-button":e.setDisabledPrintButton,"set-values":e.setAtlasValues}})]:[r("fid-atlas-values",{attrs:{atlas:e.state.atlas,reset:!e.state.isShow},on:{"disable-print-button":e.setDisabledPrintButton,"set-values":e.setAtlasValues}})]:[r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.scale",expression:"'sdk.print.scale'"}],attrs:{"for":"scala"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.state.scala,expression:"state.scala"}],staticClass:"form-control",attrs:{id:"scala"},on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.state,"scala",t.target.multiple?r:r[0])},e.onChangeScale]}},e._l(e.state.scale,function(t){return r("option",{domProps:{value:t.value}},[e._v(e._s(t.label))])}),0),e._v(" "),r("label",{attrs:{"for":"dpi"}},[e._v("dpi")]),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.state.dpi,expression:"state.dpi"}],staticClass:"form-control",attrs:{id:"dpi"},on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,function(e){ -return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.state,"dpi",t.target.multiple?r:r[0])},e.onChangeDpi]}},e._l(e.state.dpis,function(t){return r("option",[e._v(e._s(t))])}),0),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.rotation",expression:"'sdk.print.rotation'"}],attrs:{"for":"rotation"}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.state.rotation,expression:"state.rotation"}],staticClass:"form-control",attrs:{min:"-360",max:"360",id:"rotation",type:"number"},domProps:{value:e.state.rotation},on:{input:[function(t){t.target.composing||e.$set(e.state,"rotation",t.target.value)},e.onChangeRotation]}}),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.format",expression:"'sdk.print.format'"}],attrs:{"for":"format"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.state.output.format,expression:"state.output.format"}],staticClass:"form-control",attrs:{id:"format"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.state.output,"format",t.target.multiple?r:r[0])}}},e._l(e.state.formats,function(t){return r("option",{domProps:{value:t.value}},[e._v(e._s(t.label))])}),0)],e._v(" "),e.state.labels&&e.state.labels.length?[r("div",{staticClass:"print-labels-content",staticStyle:{"margin-top":"5px"}},[r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.labels",expression:"'sdk.print.labels'"}],staticClass:"skin-color",staticStyle:{"font-weight":"bold","font-size":"1.1em",display:"block","border-bottom":"2px solid #ffffff","margin-bottom":"5px"}}),e._v(" "),r("div",{staticClass:"labels-input-content",staticStyle:{"max-height":"120px","overflow-y":"auto"}},e._l(e.state.labels,function(t){return r("span",{key:t.id},[r("label",{attrs:{"for":"g3w_label_id_input_"+t.id}},[e._v(e._s(t.id))]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:t.text,expression:"label.text"}],staticClass:"form-control",attrs:{id:"g3w_label_id_input_"+t.id},domProps:{value:t.text},on:{input:function(r){r.target.composing||e.$set(t,"text",r.target.value)}}})])}),0)])]:e._e()],2),e._v(" "),r("div",{staticClass:"box-footer",staticStyle:{"background-color":"transparent"}},[r("span",[r("button",{directives:[{name:"disabled",rawName:"v-disabled",value:e.button.disabled,expression:"button.disabled"},{name:"download",rawName:"v-download"},{name:"t",rawName:"v-t",value:"create_print",expression:"'create_print'"}],staticClass:"sidebar-button-run btn",staticStyle:{width:"100%","font-weight":"bold"},attrs:{id:"printbutton"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.print(t)}}})])])])])])},n.staticRenderFns=[]},{"components/PrintFidAtlasValues.vue":308,"components/PrintSelectAtlasFieldValues.vue":310}],308:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"fid-atlas-values",props:{atlas:{type:Object},reset:{type:Boolean,"default":!1}},data:function(){return{value:""}},methods:{validateValue:function(e){return e=e&&1*e,Number.isInteger(e)&&e>=0&&e0&&void 0!==arguments[0]?arguments[0]:[],t=e.length,n=1;n0&&void 0!==arguments[0]&&arguments[0];o.disableSideBar(e),this.state.loading=e,this.disableddownloadbutton=e},downloadImage:function(){var e=this;this.setLoading(!0),"jpg"!==this.format&&"png"!==this.format||(this.downloadImageName="download."+this.state.format,a({src:this.state.url,type:"image/"+this.state.format,callback:function(t){return setTimeout(function(){return e.setLoading(!1)})}}))}},watch:{"state.url":function(){function e(e){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function i(e){var t,r=this;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!e){i.next=6;break}return this.format=this.state.format,i.next=4,this.$nextTick();case 4:t=setTimeout(function(){r.setLoading(!1),o.showUserMessage({type:"alert",message:"timeout"})},n.TIMEOUT),$(this.$refs.printoutput).load(e,function(e,n){r.$options.service.stopLoading(),"error"===n&&r.$options.service.showError(),clearTimeout(t),r.setLoading(!1)});case 6:case"end":return i.stop()}},i,this)}));return e}()},mounted:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.state.layers&&this.$options.service.startLoading();case 3:case"end":return e.stop()}},n,this)}));return e}(),beforeDestroy:function(){this.state.url&&"POST"===this.state.method&&window.URL.revokeObjectURL(this.state.url)}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{height:"100%",position:"relative"},attrs:{id:"print-output"}},[r("transition",{attrs:{duration:500,name:"fade"}},[r("bar-loader",{attrs:{loading:e.loading}})],1),e._v(" "),"pdf"===e.format?r("iframe",{ref:"printoutput",staticStyle:{border:"0",width:"100%",height:"100%"},attrs:{type:e.state.mime_type,src:e.state.url}}):"png"===e.format?r("div",{staticClass:"g3w-print-png-output",staticStyle:{display:"flex","flex-direction":"column",position:"relative",height:"100%"}},[r("div",{staticStyle:{display:"flex","justify-content":"flex-end","align-items":"flex-end","margin-top":"5px","margin-bottom":"5px"},attrs:{id:"g3w-print-header"}},[r("div",{"class":{"g3w-disabled":e.disableddownloadbutton}},[r("a",{attrs:{href:e.state.url,download:e.downloadImageName}},[r("button",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"sdk.print.download_image",expression:"'sdk.print.download_image'",modifiers:{create:!0}}],staticClass:"btn skin-button skin-tooltip-left","class":e.g3wtemplate.getFontClass("download"),staticStyle:{"font-weight":"bold"},attrs:{"data-placement":"left","data-toggle":"tooltip",role:"button"},on:{click:e.downloadImage}})])])]),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:"png"===e.format&&e.state.url,expression:"format==='png' && state.url"}],staticStyle:{height:"100%",width:"100%",position:"relative","overflow-y":"auto"}},[r("img",{ref:"printoutput",staticStyle:{height:"auto","max-width":"100%"},attrs:{src:e.state.url}})])]):e._e(),e._v(" "),e.state.layers?e._e():r("h4",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.no_layers",expression:"'sdk.print.no_layers'"}],staticStyle:{"font-weight":"bold"}})],1)},n.staticRenderFns=[]},{"app/constant":5,"core/utils/utils":92,"gui/gui":150}],310:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t"+t("error_map_loading")+"
"+t("check_internet_connection_or_server_admin")+"
")}).always(function(){n.showFullModal({show:!1}),n.setLoadingContent(!1)})})}else e.href?window.open(e.href,"_blank"):e.route&&n["goto"](e.route)},logoSrc:function(e){var t=void 0;return t=e?e.indexOf(i.config.mediaurl)!==-1?e:e.indexOf("static")===-1&&e.indexOf("media")===-1?""+i.config.mediaurl+e:a:a,this.$options.host&&""+this.$options.host+t||t}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"container",attrs:{id:"menu-projects"}},[r("div",{staticClass:"row row-equal"},[e._l(e.state.menuitems,function(t){return r("div",{key:t.title,staticClass:"col-xs-12 col-sm-4 project-menu",on:{click:function(r){return e.trigger(t)}}},[r("div",{staticClass:"project-menu-item-image"},[r("img",{staticClass:"img-responsive",attrs:{src:e.logoSrc(t.thumbnail)}})]),e._v(" "),r("div",{staticClass:"project-menu-item-content"},[r("div",{staticClass:"project-menu-item-text"},[r("h4",{staticClass:"project-menu-item-title"},[e._v(e._s(t.title))]),e._v(" "),r("div",{domProps:{innerHTML:e._s(t.description)}})])])])}),e._v(" "),e.state.menuitems.length?e._e():r("div",{staticStyle:{"margin-left":"15px"}},[r("h2",{directives:[{name:"t",rawName:"v-t",value:"no_other_projects",expression:"'no_other_projects'"}]})])],2)])},n.staticRenderFns=[]},{"core/i18n/i18n.service":27,"core/project/projectsregistry":83,"gui/gui":150}],312:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},t=e.value,r=e.type;switch(r){case"operator":t=" "+t+" ";break;case"field":t='"'+t+'"';break;case"value":t="'"+t+"'"}t&&(this.filter=""+this.filter+t)},all:function(){function e(){return t.apply(this,arguments)}var t=i(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.loading.values=!0,e.prev=1,e.next=4,o["default"].getValues({layerId:this.currentlayer.id,field:this.select.field});case 4:this.values=e.sent,e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](1);case 9:return this.loading.values=!1,e.next=12,this.$nextTick();case 12:this.manualvalue=null,this.manual=!1;case 14:case"end":return e.stop()}},r,this,[[1,7]])}));return e}(),reset:function(){this.filter="",this.message="",this.filterElement.previous=null,this.filterElement.current=null,this.filterElement.operator=null},test:function(){function e(){return t.apply(this,arguments)}var t=i(regeneratorRuntime.mark(function r(){var e,t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=this.currentlayer.id,this.loading.test=!0,t=void 0,r.prev=3,r.next=6,o["default"].test({layerId:e,filter:this.filter});case 6:t=r.sent,this.message=void 0!==t?" "+t:"",r.next=13;break;case 10:r.prev=10,r.t0=r["catch"](3),this.message=r.t0;case 13:return this.loading.test=!1,r.next=16,this.$nextTick();case 16:case"end":return r.stop()}},r,this,[[3,10]])}));return e}(),run:function(){function e(){return t.apply(this,arguments)}var t=i(regeneratorRuntime.mark(function r(){var e,t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=this.currentlayer.id,this.loading.test=!0,r.prev=2,r.next=5,o["default"].run({layerId:e,filter:this.filter});case 5:t=r.sent,r.next=10;break;case 8:r.prev=8,r.t0=r["catch"](2);case 10:this.loading.test=!1;case 11:case"end":return r.stop()}},r,this,[[2,8]])}));return e}(),save:function(){o["default"].save({layerId:this.currentlayer.id,filter:this.filter,projectId:this.projectId,name:this.edit&&this.$options.options.name,id:this.edit&&this.$options.options.id})}},created:function(){var e=this;this.filterElement={current:null,previous:null,operator:null};var t=l.getCurrentProject();this.layers=t.getLayers().filter(function(e){return!e.baselayer&&e.geometrytype&&"NoGeometry"!==e.geometrytype&&Array.isArray(e.fields)}).map(function(e){var r=t.getRelationsByLayerId({layerId:e.id,type:"ONE"}),i=[];return r.forEach(function(e){var r=e.customPrefix,a=t.getLayerById(e.referencingLayer);r=void 0===r?a.getName()+"_":r;var o=a.getFields().map(function(e){return""+r+e.name});i=[].concat(n(i),n(o))}),{id:e.id,label:e.name,fields:e.fields.filter(function(e){return e.show}).map(function(e){var t=e.label,r=e.name;return{label:t,name:r}}).filter(function(e){return i.indexOf(e)===-1})}}),this.operators=u,this.currentlayer=this.edit?this.layers.find(function(t){return t.id===e.$options.options.layerId}):this.layers[0]},mounted:function(){function e(){return t.apply(this,arguments)}var t=i(regeneratorRuntime.mark(function r(){var e,t=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.$nextTick();case 2:this.select2=$("#query_builder_layers_select").select2({width:"100%"}),this.edit&&(e=this.layers.indexOf(this.currentlayer),this.select2.val(e),this.select2.trigger("change")),this.select2.on("select2:select",function(e){t.currentlayer=t.layers[e.params.data.id],t.select.field=null,t.select.value=null,t.reset()});case 5:case"end":return r.stop()}},r,this)}));return e}(),beforeDestroy:function(){this.select2.select2("destroy"),this.select2=null}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"form-group",staticStyle:{"flex-wrap":"nowrap !important"},attrs:{id:"query_builder"}},[r("div",{attrs:{id:"query_builder_header"}}),e._v(" "),r("div",{staticClass:"margin-between-element",attrs:{id:"query_builder_layers"}},[r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.layers",expression:"'sdk.querybuilder.panel.layers'"}],staticClass:"querybuilder-title"}),e._v(" "),r("select",{staticClass:"form-control",attrs:{id:"query_builder_layers_select"}},e._l(e.layers,function(t,n){return r("option",{key:t.label,staticClass:"bold",domProps:{value:n}},[e._v(e._s(t.label))])}),0)]),e._v(" "),r("div",{staticClass:"margin-between-element",attrs:{id:"query_builder_fields"}},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.fields",expression:"'sdk.querybuilder.panel.fields'"}],staticClass:"querybuilder-title",attrs:{id:"query_builder_fields_title"}}),e._v(" "),r("div",{staticClass:"querybuilder-content",attrs:{id:"query_builder_fields_content"}},[r("table",{staticClass:"table table-striped content-table"},[r("tbody",e._l(e.fields,function(t){var n=t.name,i=t.label;return r("tr",{key:n,"class":{"skin-background-color lighten":e.select.field===n},staticStyle:{cursor:"pointer"},on:{click:function(t){e.select.field=n},dblclick:function(t){return e.addToExpression({value:n,type:"field"})}}},[r("th",{attrs:{scope:"row"}},[e._v(e._s(i))])])}),0)])])]),e._v(" "),r("div",{staticClass:"margin-between-element",attrs:{id:"query_builder_values"}},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.values",expression:"'sdk.querybuilder.panel.values'"}],staticClass:"querybuilder-title",attrs:{id:"query_builder_values_title"}}),e._v(" "),e.manual?r("div",{staticClass:"margin-between-element",staticStyle:{display:"flex","justify-content":"space-between","align-items":"stretch"},attrs:{id:"querybuilder-manual"}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.manualvalue,expression:"manualvalue"}],staticClass:"form-control",staticStyle:{border:"0"},attrs:{style:"border: 0;"},domProps:{value:e.manualvalue},on:{input:function(t){t.target.composing||(e.manualvalue=t.target.value)}}}),e._v(" "),r("span",{"class":e.g3wtemplate.getFontClass("plus"),staticStyle:{cursor:"pointer","font-size":"1.2em","background-color":"white",color:"#000000",padding:"9px"},on:{click:function(t){e.manualvalue&&e.addToExpression({value:e.manualvalue,type:"value"})}}})]):r("div",{staticClass:"querybuilder-content margin-between-element",attrs:{id:"query_builder_values_content"}},[r("bar-loader",{attrs:{loading:e.loading.values}}),e._v(" "),r("table",{staticClass:"table table-striped content-table"},[r("tbody",[e._l(e.values,function(t){return r("tr",{key:t,"class":{"skin-background-color lighten":e.select.value===t},staticStyle:{cursor:"pointer"},on:{click:function(r){e.select.value=t},dblclick:function(r){return e.addToExpression({value:t,type:"value"})}}},[r("th",{attrs:{scope:"row"}},[e._v(e._s(t))])])}),e._v(" "),e._m(0)],2)])],1),e._v(" "),r("div",{staticClass:"content-end skin-color",attrs:{id:"query_builder_values_buttons"}},[r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.manual",expression:"'sdk.querybuilder.panel.button.manual'"}],staticClass:"query_builder_button btn btn-secondary bold ","class":{"skin-border-color":e.manual},attrs:{id:"query_builder_values_buttons_sample"},on:{click:function(t){e.manual=!0}}}),e._v(" "),r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.all",expression:"'sdk.querybuilder.panel.button.all'"}],staticClass:"query_builder_button btn btn-secondary bold ","class":{"skin-border-color":!e.manual},attrs:{id:"query_builder_values_buttons_all",disabled:null===e.select.field},on:{click:e.all}})])]),e._v(" "),r("div",{staticClass:"margin-between-element",staticStyle:{"margin-top":"auto !important"},attrs:{id:"query_builder_operators"}},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.operators",expression:"'sdk.querybuilder.panel.operators'"}],staticClass:"querybuilder-title",attrs:{id:"query_builder_operators_title"}}),e._v(" "),r("div",{staticClass:"content-wrap",attrs:{id:"query_builder_operators_content"}},e._l(e.operators,function(t){return r("button",{key:t,staticClass:"query_builder_button btn btn-secondary skin-color bold",on:{click:function(r){return e.addToExpression({value:t,type:"operator"})}}},[e._v(e._s(t))])}),0)]),e._v(" "),r("div",{attrs:{id:"query_builder_footer"}},[r("div",{attrs:{id:"query_builder_expression"}},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.expression",expression:"'sdk.querybuilder.panel.expression'"}],staticClass:"querybuilder-title",attrs:{id:"query_builder_expression_title"}}),e._v(" "),r("div",{attrs:{id:"query_builder_expression_content"}},[r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.filter,expression:"filter"}],staticStyle:{width:"100%",resize:"none",height:"100px",color:"#000000"},domProps:{value:e.filter},on:{input:function(t){t.target.composing||(e.filter=t.target.value)}}})])]),e._v(" "),r("div",{staticClass:"margin-between-element",attrs:{id:"query_builder_message"}},[r("bar-loader",{attrs:{loading:e.loading.test}}),e._v(" "),r("span",{directives:[{name:"show",rawName:"v-show",value:e.message,expression:"message"},{name:"t",rawName:"v-t",value:"sdk.querybuilder.messages.number_of_features",expression:"'sdk.querybuilder.messages.number_of_features'"}],staticClass:"bold skin-color"}),r("span",{staticClass:"bold skin-color"},[e._v(e._s(e.message))])],1),e._v(" "),r("div",{staticClass:"content-end margin-between-element",attrs:{id:"query_builder_footer_buttons"}},[r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.test",expression:"'sdk.querybuilder.panel.button.test'"}],staticClass:"query_builder_button btn btn-secondary bold",attrs:{disabled:e.disabled},on:{click:e.test}}),e._v(" "),r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.clear",expression:"'sdk.querybuilder.panel.button.clear'"}],staticClass:"query_builder_button btn btn-secondary bold",on:{click:e.reset}}),e._v(" "),r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.run",expression:"'sdk.querybuilder.panel.button.run'"}],staticClass:"query_builder_button btn btn-secondary bold",attrs:{disabled:e.disabled},on:{click:e.run}}),e._v(" "),r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.save",expression:"'sdk.querybuilder.panel.button.save'"}],staticClass:"query_builder_button btn btn-secondary bold",attrs:{disabled:e.disabled},on:{click:e.save}})])])])},n.staticRenderFns=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("tr",[r("th",{attrs:{scope:"row"}})])}]},{"core/layers/filter/operators":48,"core/project/projectsregistry":83,"gui/querybuilder/service":202}],313:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("gui/querybuilder/service"),a=t(i),o=e("gui/querybuilder/querybuilderuifactory");r["default"]={name:"g3w-querybuilder-search",props:{querybuildersearch:{required:!0}},data:function(){return{loading:!1,showinfo:!1}},methods:{remove:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a["default"]["delete"](this.querybuildersearch);case 3:this.$emit("delete"),e.next=8;break;case 6:e.prev=6,e.t0=e["catch"](0);case 8:case"end":return e.stop()}},r,this,[[0,6]])}));return e}(),edit:function(){o.show({options:{id:this.querybuildersearch.id,name:this.querybuildersearch.name,layerId:this.querybuildersearch.layerId,filter:this.querybuildersearch.filter}})},run:function(){var e=this;this.loading=!0,a["default"].run({layerId:this.querybuildersearch.layerId,filter:this.querybuildersearch.filter})["finally"](function(){e.loading=!1})}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("li",[r("div",{staticStyle:{position:"relative"}},[r("bar-loader",{attrs:{loading:e.loading}}),e._v(" "),r("div",{staticClass:"querybuliserch-tools",staticStyle:{display:"flex","align-items":"baseline"}},[r("i",{"class":e.g3wtemplate.getFontClass("filter"),staticStyle:{"margin-right":"14px","margin-left":"1px"}}),e._v(" "),r("span",{staticStyle:{"white-space":"pre-wrap"}},[e._v(e._s(e.querybuildersearch.name))]),e._v(" "),r("div",{staticStyle:{"margin-left":"auto"}},[r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip",value:"sdk.querybuilder.search.run",expression:"'sdk.querybuilder.search.run'"}],staticClass:"icon-search-action skin-tooltip-bottom",attrs:{"data-placement":"bottom","data-toggle":"tooltip"}},[r("i",{"class":e.g3wtemplate.getFontClass("run"),staticStyle:{color:"green",padding:"3px","font-size":"1.3em"},on:{click:function(t){return t.stopPropagation(),e.run(t)}}})]),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip",value:"sdk.querybuilder.search.info",expression:"'sdk.querybuilder.search.info'"}],staticClass:"icon-search-action skin-tooltip-bottom",attrs:{"data-placement":"bottom","data-toggle":"tooltip"}},[r("i",{"class":e.g3wtemplate.getFontClass("info"),staticStyle:{color:"#FFFFFF",padding:"3px","font-size":"1.3em"},on:{click:function(t){t.stopPropagation(),e.showinfo=!e.showinfo}}})]),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip",value:"sdk.querybuilder.search.edit",expression:"'sdk.querybuilder.search.edit'"}],staticClass:"icon-search-action skin-tooltip-bottom",attrs:{"data-placement":"bottom","data-toggle":"tooltip"}},[r("i",{"class":e.g3wtemplate.getFontClass("pencil"),staticStyle:{color:"#307095",padding:"3px","font-size":"1.3em"},on:{click:function(t){return t.stopPropagation(),e.edit(t)}}})]),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip",value:"sdk.querybuilder.search.delete",expression:"'sdk.querybuilder.search.delete'"}],staticClass:"icon-search-action skin-tooltip-bottom",attrs:{"data-placement":"bottom","data-toggle":"tooltip"}},[r("i",{"class":e.g3wtemplate.getFontClass("trash"),staticStyle:{color:"red",padding:"3px","font-size":"1.3em"},on:{click:function(t){return t.stopPropagation(),e.remove(t)}}})])])]),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.showinfo,expression:"showinfo"}],staticClass:"querybuildsearch-info",staticStyle:{"margin-top":"5px"}},[r("div",[r("span",{staticStyle:{"font-weight":"bold","white-space":"pre"}},[e._v("LAYER: ")]),e._v(" "),r("span",{staticStyle:{"white-space":"pre-wrap"}},[e._v(e._s(e.querybuildersearch.layerName))])]),e._v(" "),r("div",[r("span",{staticStyle:{"font-weight":"bold"}},[e._v("EXPRESSION: ")]),e._v(" "),r("span",{staticStyle:{"white-space":"pre-wrap"}},[e._v(e._s(e.querybuildersearch.filter))])])])],1)])},n.staticRenderFns=[],n._scopeId="data-v-43228ea5"},{"gui/querybuilder/querybuilderuifactory":201,"gui/querybuilder/service":202}],314:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){ -try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0},info:function b(){var e=this,b={icon:null,message:null,action:null},t=this.state,r=t.query;t.search;return r&&("coordinates"===r.type?(b.icon="marker",b.message=" "+r.coordinates[0]+", "+r.coordinates[1],b.action=function(){return e.$options.queryResultsService.showCoordinates(r.coordinates)}):"bbox"===r.type?(b.icon="square",b.message=" ["+r.bbox.join(" , ")+"]",b.action=function(){return e.$options.queryResultsService.showBBOX(r.bbox)}):"polygon"===r.type&&(b.icon="draw",b.message=r.layer.getName()+" - Feature Id: "+r.fid,b.action=function(){return r.geometry&&e.$options.queryResultsService.showGeometry(r.geometry)})),b}},methods:{getLayerCustomComponents:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"feature",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"after";return this.state.layerscustomcomponents[e]&&this.state.layerscustomcomponents[e][t]&&this.state.layerscustomcomponents[e][t][r]||[]},getLayerField:function(e){var t=e.layer,r=e.feature,n=e.fieldName,a=t.attributes.find(function(e){return e.name===n}),o=i({},a,{label:null,value:r.attributes[n]});return o},getQueryFields:function(e,t){var r=[],n=!0,a=!1,o=void 0;try{for(var s,l=e.formStructure.fields[Symbol.iterator]();!(n=(s=l.next()).done);n=!0){var u=s.value,c=i({},u);c.query=!0,c.value=t.attributes[u.name],c.input={type:""+this.getFieldType(c)},r.push(c)}}catch(d){a=!0,o=d}finally{try{!n&&l["return"]&&l["return"]()}finally{if(a)throw o}}return r},getColSpan:function(e){return this.attributesSubsetLength(e)+(this.state.layersactions[e.id].length?1:0)+1*!this.hasLayerOneFeature(e)},getDownloadActions:function(e){return this.state.layersactions[e.id].find(function(e){return e.formats})},addLayerFeaturesToResults:function(e){this.$options.queryResultsService.addLayerFeaturesToResultsAction(e)},showDownloadAction:function(e){var t=e.target.children[0].style.display;e.target.children[0].style.display="none"===t?"inline-block":"none"},printAtlas:function(e){this.$options.queryResultsService.printAtlas(e)},showLayerDownloadFormats:function(e){this.$options.queryResultsService.showLayerDownloadFormats(e)},saveLayerResult:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"csv";this.$options.queryResultsService.saveLayerResult({layer:e,type:t})},hasLayerOneFeature:function(e){return 1===e.features.length},addRemoveFilter:function(e){this.$options.queryResultsService.addRemoveFilter(e)},getContainerFromFeatureLayer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.layer,r=e.index;return $("#"+t.id+"_"+r+" > td")},hasOneLayerAndOneFeature:function(e){return this.hasLayerOneFeature(e)},hasFormStructure:function(e){return!!e.formStructure},layerHasFeatures:function(e){return!!(e.features&&e.features.length>0)},selectionFeaturesLayer:function(e){this.$options.queryResultsService.selectionFeaturesLayer(e)},layerHasActions:function(e){return this.state.layersactions[e.id].length>0},featureHasActions:function(e,t){return this.geometryAvailable(t)},geometryAvailable:function(e){return!!e.geometry},extractAttributesFromFirstTabOfFormStructureLayers:function(e){var t=this,r=new Set,n=function a(n){if(n.nodes)n.nodes.forEach(function(e){return a(e)});else{var o=e.formStructure.fields.find(function(e){return e.name===n.field_name});o&&("ows"===t.state.type&&(o=i({},o),o.name=o.name.replace(/ /g,"_")),r.add(o))}};return e.formStructure.structure.length&&e.formStructure.structure.forEach(function(e){return n(e)}),Array.from(r)},attributesSubset:function(e){var t=this.hasFormStructure(e)?this.extractAttributesFromFirstTabOfFormStructureLayers(e):e.attributes,r=t.filter(function(e){return e.show&&y.indexOf(e.type)!==-1}),n=Math.min(v,t.length);return r.slice(0,n)},relationsAttributesSubset:function(e){var t=[];_.forEach(e,function(e,r){Array.isArray(e)||t.push({label:r,value:e})});var r=Math.min(v,t.length);return t.slice(0,r)},relationsAttributes:function(e){var t=[];return _.forEach(e,function(e,r){t.push({label:r,value:e})}),t},attributesSubsetLength:function(e){return this.attributesSubset(e).length},cellWidth:function(e,t){var r=v+this.state.layersactions[t.id].length,n=this.attributesSubsetLength(t),i=r-n,a=t.hasgeometry?m:0,o=100-g-a,s=o/v;return e===n-1&&i>0?s*(i+1):s},featureBoxColspan:function(e){var t=this.attributesSubsetLength(e);return e.expandable&&(t+=1),e.hasgeometry&&(t+=1),t},relationsAttributesSubsetLength:function(e){return this.relationsAttributesSubset(e).length},getLayerFormStructure:function(e){return e.formStructure.structure},isAttributeOrTab:function(e,t){var r=void 0!==t.field_name;return{type:r&&"field"||"tab",item:r&&this.getLayerAttributeFromStructureItem(e,t.field_name)||[t]}},getLayerAttributeFromStructureItem:function(e,t){return e.attributes.find(function(e){return e.name===t})},getLayerFeatureBox:function(e,t,r){var n=this,i=this.getBoxId(e,t,r);return void 0===this.layersFeaturesBoxes[i]&&(this.layersFeaturesBoxes[i]=Vue.observable({collapsed:!0}),this.$watch(function(){return n.layersFeaturesBoxes[i].collapsed},function(r){var i=e.features.findIndex(function(e){return t.id===e.id}),a=n.getContainerFromFeatureLayer({layer:e,index:i});n.$options.queryResultsService.openCloseFeatureResult({open:!r,layer:e,feature:t,container:a})}),this.layersFeaturesBoxes[i].collapsed=e.features.length>1),this.layersFeaturesBoxes[i]},collapsedFeatureBox:function(e,t,r){var n=this.getBoxId(e,t,r);return!this.layersFeaturesBoxes[n]||this.layersFeaturesBoxes[n].collapsed},showFeatureInfo:function(e,t){this.$options.queryResultsService.emit("show-query-feature-info",{layer:e,tabs:this.hasFormStructure(e),show:!this.layersFeaturesBoxes[t].collapsed})},getBoxId:function(e,t,r){return this.$options.queryResultsService.getBoxId(e,t,r)},toggleFeatureBox:function(){function e(e,r,n){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e,t,n){var i;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i=this.getBoxId(e,t,n),this.layersFeaturesBoxes[i].collapsed=!this.layersFeaturesBoxes[i].collapsed,r.next=4,this.$nextTick();case 4:this.showFeatureInfo(e,i);case 5:case"end":return r.stop()}},r,this)}));return e}(),toggleFeatureBoxAndZoom:function(e,t,r){!this.hasLayerOneFeature(e)&&this.toggleFeatureBox(e,t,r)},trigger:function(){function e(e,r,n,i){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e,t,n,i){var a;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!e.opened||"none"!==$("#"+t.id+"_"+i).css("display")){r.next=4;break}return this.toggleFeatureBox(t,n),r.next=4,this.$nextTick();case 4:return a=this.getContainerFromFeatureLayer({layer:t,index:i}),r.next=7,this.$options.queryResultsService.trigger(e.id,t,n,i,a);case 7:case"end":return r.stop()}},r,this)}));return e}(),showFullPhoto:function(e){this.$options.queryResultsService.showFullPhoto(e)},openLink:function(e){window.open(e,"_blank")}},watch:{"state.layers":function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){var t,n,i,a=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e.forEach(function(e){e.attributes.length<=v&&!e.hasImageField&&(e.expandable=!1),e.features.forEach(function(t){if(a.getLayerFeatureBox(e,t),t.attributes.relations){var r=t.attributes.relations;r.forEach(function(r){var n=e.id+"_"+t.id+"_"+r.name,i=r.elements;i.forEach(function(e,t){a.layersFeaturesBoxes[n+t]={collapsed:!0}})})}})}),this.onelayerresult=1===e.length,this.onelayerresult&&this.hasLayerOneFeature(e[0])&&(t=e[0],n=t.features[0],i=this.getBoxId(t,n),this.$options.queryResultsService.onceafter("postRender",function(){a.showFeatureInfo(t,i)})),requestAnimationFrame(function(){return a.$options.queryResultsService.postRender(a.$el)}),r.next=6,this.$nextTick();case 6:case"end":return r.stop()}},r,this)}));return e}(),onelayerresult:function(e){e&&this.$options.queryResultsService.highlightFeaturesPermanently(this.state.layers[0])}},created:function(){var e=this;this.zoomToLayerFeaturesExtent=p(function(t){e.$options.queryResultsService.zoomToLayerFeaturesExtent(t,{highlight:!0})})},beforeDestroy:function(){this.state.zoomToResult=!0,this.layersFeaturesBoxes=null},destroyed:function(){this.$options.queryResultsService.clear()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"queryresults-wrapper",attrs:{id:"search-results"}},[e.info.message?r("div",{staticClass:"skin-color",staticStyle:{"font-weight":"bold","margin-bottom":"3px","font-size":"1.1em"}},[e.info.icon?r("span",{staticClass:"action-button skin-tooltip-bottom","class":e.g3wtemplate.getFontClass(e.info.icon),on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.info.action(t)}}}):e._e(),e._v(" "),r("span",[e._v(e._s(e.info.message))])]):e._e(),e._v(" "),r("div",{staticClass:"queryresults-container"},[e.state.layers.length?[e.hasLayers?r("ul",{staticClass:"queryresults",staticStyle:{position:"relative"},attrs:{id:"queryresults"}},[e._l(e.state.layers,function(t){return r("li",{directives:[{name:"show",rawName:"v-show",value:(e.layerHasFeatures(t)||t.rawdata)&&t.show,expression:"(layerHasFeatures(layer) || layer.rawdata) && layer.show"}]},[r("bar-loader",{attrs:{loading:t.loading}}),e._v(" "),r("div",{staticClass:"box box-primary"},[r("div",{staticClass:"box-header with-border","class":{mobile:e.isMobile()},attrs:{"data-widget":"collapse"}},[r("div",{staticClass:"box-title query-layer-title",style:{fontSize:e.isMobile()&&"1em !important"}},[e._v(e._s(t.title)+"\n "),r("span",{directives:[{name:"show",rawName:"v-show",value:!t.rawdata,expression:"!layer.rawdata"}],staticClass:"query-layer-feature-count"},[e._v("("+e._s(t.features.length)+")")])]),e._v(" "),r("div",{staticClass:"box-features-action",on:{click:function(e){e.stopPropagation()}}},[r("infoformats",{attrs:{layer:t}}),e._v(" "),t.features.length>1?[t.hasgeometry?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"sdk.mapcontrols.query.actions.zoom_to_features_extent.hint",expression:"'sdk.mapcontrols.query.actions.zoom_to_features_extent.hint'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button",on:{click:function(r){return r.stopPropagation(),e.zoomToLayerFeaturesExtent(t)}}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("marker")})]):e._e(),e._v(" "),t.atlas.length?r("span",{directives:[{name:"download",rawName:"v-download"},{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"sdk.mapcontrols.query.actions.atlas.hint",expression:"'sdk.mapcontrols.query.actions.atlas.hint'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button",on:{click:function(r){return r.stopPropagation(),e.printAtlas(t)}}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("print")})]):e._e(),e._v(" "),1===t.downloads.length?[r("span",{directives:[{name:"download",rawName:"v-download"},{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"sdk.mapcontrols.query.actions.download_features_"+t.downloads[0]+".hint",expression:"`sdk.mapcontrols.query.actions.download_features_${layer.downloads[0]}.hint`",arg:"left",modifiers:{create:!0}}],staticClass:"action-button","class":{toggled:t[t.downloads[0]].active}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("download"),on:{click:function(r){return r.stopPropagation(),e.saveLayerResult(t,t.downloads[0])}}})])]:t.downloads.length>1?[r("span",{directives:[{name:"download",rawName:"v-download"},{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"Downloads",expression:"'Downloads'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button","class":{toggled:t.downloadformats.active}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("download"),on:{click:function(r){return r.stopPropagation(),e.showLayerDownloadFormats(t)}}})])]:e._e()]:e._e(),e._v(" "),t.external||t.source&&"wms"!==t.source.type?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"sdk.mapcontrols.query.actions.add_features_to_results.hint",expression:"'sdk.mapcontrols.query.actions.add_features_to_results.hint'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button","class":{toggled:t.addfeaturesresults.active},on:{click:function(r){return r.stopPropagation(),e.addLayerFeaturesToResults(t)}}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("plus-square")})]):e._e(),e._v(" "),t.features.length>1&&(t.external||t.source&&"wms"!==t.source.type)?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"sdk.mapcontrols.query.actions.add_selection.hint",expression:"'sdk.mapcontrols.query.actions.add_selection.hint'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button skin-tooltip-left","class":{toggled:t.selection.active},on:{click:function(r){return r.stopPropagation(),e.selectionFeaturesLayer(t)}}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("success")})]):e._e(),e._v(" "),r("span",{directives:[{name:"show",rawName:"v-show",value:t.selection.active&&!t.external,expression:"layer.selection.active && !layer.external"},{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"layer_selection_filter.tools.filter",expression:"'layer_selection_filter.tools.filter'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button skin-tooltip-left","class":{toggled:t.filter.active},on:{click:function(r){return r.stopPropagation(),e.addRemoveFilter(t)}}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("filter")})])],2),e._v(" "),r("button",{staticClass:"btn btn-box-tool",attrs:{"data-widget":"collapse"}},[r("i",{staticClass:"btn-collapser skin-color","class":e.g3wtemplate.font.minus})])]),e._v(" "),e.state.layeractiontool[t.id].component?[r("div",{staticClass:"g3w-layer-action-tools with-border","class":{mobile:e.isMobile()},staticStyle:{padding:"5px"}},[r(e.state.layeractiontool[t.id].component,{tag:"component",attrs:{layer:t,config:e.state.layeractiontool[t.id].config}})],1)]:e._e(),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"layer","before"),function(e){var n=e.component;return r(n,{tag:"component",attrs:{layer:t}})}),e._v(" "),r("div",{staticClass:"box-body","class":{mobile:e.isMobile()}},[t.rawdata?[r("div",{staticClass:"queryresults-text-html","class":{text:"text/plain"===t.infoformat},domProps:{innerHTML:e._s(t.rawdata)}})]:e.hasFormStructure(t)?[r("table",{staticClass:"table","class":{mobile:e.isMobile()}},[r("thead",[r("tr",[e.state.layersactions[t.id].length?r("th",{style:{width:26*e.state.layersactions[t.id].length+"px",maxWidth:26*e.state.layersactions[t.id].length+"px"}}):e._e(),e._v(" "),e._l(e.attributesSubset(t),function(t,n){return r("th",{staticClass:"centered"},[e._v(e._s(t.label))])}),e._v(" "),e.hasLayerOneFeature(t)?e._e():r("th",{staticClass:"collapsed"})],2)]),e._v(" "),r("tbody",[e._l(t.features,function(n,i){return n.show?[r("header-feature-body",{attrs:{actions:e.state.layersactions[t.id],layer:t,feature:n,index:i,onelayerresult:e.onelayerresult,trigger:e.trigger,toggleFeatureBoxAndZoom:e.toggleFeatureBoxAndZoom,hasLayerOneFeature:e.hasLayerOneFeature,boxLayerFeature:e.getLayerFeatureBox(t,n),attributesSubset:e.attributesSubset,getLayerField:e.getLayerField}}),e._v(" "),r("tr",{staticClass:"g3w-feature-result-action-tools"},[e.state.currentactiontools[t.id][i]?[r("td",{attrs:{colspan:e.getColSpan(t)}},[r(e.state.currentactiontools[t.id][i],{tag:"component",attrs:{colspan:e.getColSpan(t),layer:t,feature:n,featureIndex:i,config:e.state.actiontools[e.state.currentactiontools[t.id][i].name][t.id]}})],1)]:e._e()],2),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"feature","before"),function(i){var a=i.component;return r("tr",[r("td",{attrs:{colspan:e.getColSpan(t)}},[r(a,{tag:"component",attrs:{layer:t,feature:n}})],1)])}),e._v(" "),r("tr",{directives:[{name:"show",rawName:"v-show",value:!e.collapsedFeatureBox(t,n)||e.hasOneLayerAndOneFeature(t),expression:"!collapsedFeatureBox(layer,feature) || hasOneLayerAndOneFeature(layer)"}],staticClass:"featurebox-body",attrs:{id:t.id+"_"+i}},[r("td",{attrs:{colspan:e.getColSpan(t)}},[r("tabs",{attrs:{fields:e.getQueryFields(t,n),layerid:t.id,feature:n,tabs:e.getLayerFormStructure(t)}})],1)]),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"feature","after"),function(i){var a=i.component;return r("tr",[r("td",{attrs:{colspan:e.getColSpan(t)}},[r(a,{tag:"component",attrs:{layer:t,feature:n}})],1)])})]:e._e()})],2)])]:r("table",{staticClass:"table","class":{mobile:e.isMobile()}},[r("thead",[r("tr",[e.state.layersactions[t.id].length?r("th",{style:{width:26*e.state.layersactions[t.id].length+"px",maxWidth:26*e.state.layersactions[t.id].length+"px"}}):e._e(),e._v(" "),e._l(e.attributesSubset(t),function(t,n){return r("th",{staticClass:"centered"},[e._v(e._s(t.label))])}),e._v(" "),e.hasLayerOneFeature(t)?e._e():r("th",{staticClass:"collapsed"})],2)]),e._v(" "),e._l(t.features,function(n,i){return n.show?r("tbody",{key:n.id},[r("header-feature-body",{attrs:{actions:e.state.layersactions[t.id],layer:t,feature:n,index:i,onelayerresult:e.onelayerresult,trigger:e.trigger,toggleFeatureBoxAndZoom:e.toggleFeatureBoxAndZoom,hasLayerOneFeature:e.hasLayerOneFeature,boxLayerFeature:e.getLayerFeatureBox(t,n),attributesSubset:e.attributesSubset,getLayerField:e.getLayerField}}),e._v(" "),r("tr",{staticClass:"g3w-feature-result-action-tools"},[e.state.currentactiontools[t.id][i]?[r("td",{attrs:{colspan:e.getColSpan(t)}},[r(e.state.currentactiontools[t.id][i],{tag:"component",attrs:{colspan:e.getColSpan(t),layer:t,feature:n,featureIndex:i,config:e.state.actiontools[e.state.currentactiontools[t.id][i].name][t.id]}})],1)]:e._e()],2),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"feature","before"),function(e){var i=e.component;return r("tr",[r("td",{attrs:{colspan:"getColSpan(layer)"}},[r(i,{tag:"component",staticClass:"box-body",attrs:{layer:t,feature:n}})],1)])}),e._v(" "),r("tr",{directives:[{name:"show",rawName:"v-show",value:!e.collapsedFeatureBox(t,n)||e.hasOneLayerAndOneFeature(t),expression:"!collapsedFeatureBox(layer,feature) || hasOneLayerAndOneFeature(layer)"}],staticClass:"featurebox-body",attrs:{id:t.id+"_"+i}},[r("td",{attrs:{colspan:e.getColSpan(t)}},[r("table",{staticClass:"feature_attributes"},e._l(t.attributes.filter(function(e){return e.show}),function(i){return r("tr",[r("td",{staticClass:"attr-label"},[e._v(e._s(i.label))]),e._v(" "),r("td",{staticClass:"attr-value",attrs:{attribute:i.name}},[r("table-attribute-field-value",{attrs:{feature:n,field:e.getLayerField({layer:t,feature:n,fieldName:i.name})}})],1)])}),0)])]),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"feature","after"),function(e){var i=e.component;return r("tr",[r("td",{attrs:{colspan:"getColSpan(layer)"}},[r(i,{tag:"component",staticClass:"box-body",attrs:{layer:t,feature:n}})],1)])})],2):r("tbody")})],2)],2),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"layer","after"),function(n){var i=n.component;return r("div",{staticClass:"box-body","class":{mobile:e.isMobile()}},[r(i,{tag:"component",attrs:{layer:t}})],1)})],2)],1)}),e._v(" "),e._l(e.state.components,function(t){return r("li",[r(t,{tag:"component",on:{showresults:function(t){return e.showResults()}}})],1)})],2):e._e()]:[e.state.changed?r("div",{staticClass:"query-results-not-found"},[r("h4",{directives:[{name:"t",rawName:"v-t",value:"info.no_results",expression:"'info.no_results'"}],staticClass:"skin-color",staticStyle:{"font-weight":"bold","text-align":"center"}})]):e._e()]],2)])},n.staticRenderFns=[]},{"components/QueryResultsActionInfoFormats.vue":317,"components/QueryResultsHeaderFeatureBody.vue":320,"components/QueryResultsTableAttributeFieldValue.vue":321,"core/utils/utils":92,"gui/vue/vue.mixins":227}],315:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/i18n/i18n.service"),i=n.t;r["default"]={name:"action",data:function(){return{show:!0}},props:{featureIndex:{type:Number},feature:{type:Object},layer:{type:Object},trigger:{type:Function},action:{type:Object,required:!0}},methods:{clickAction:function(){function e(e,t,n,i,a){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(e,t,r,a,o){var s,l;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.trigger(e,t,r,a);case 2:e.hint_change&&(s=$(o.target).parent(),l=s.attr("data-original-title"),s.attr("data-original-title",i(e.hint_change.hint)),s.tooltip("show"),setTimeout(function(){s.attr("data-original-title",l),s.tooltip("show")},e.hint_change.duration||600)),this.$emit("action-clicked",e);case 4:case"end":return n.stop()}},n,this)}));return e}()},created:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.action.init&&this.action.init({layer:this.layer,feature:this.feature,index:this.featureIndex,action:this.action}),"function"!=typeof this.action.condition){t.next=11;break}if(e=this.action.condition({layer:this.layer,feature:this.feature}),!(e instanceof Promise)){t.next=9;break}return t.next=6,e;case 6:t.t0=t.sent,t.next=10;break;case 9:t.t0=e;case 10:this.show=t.t0;case 11:case"end":return t.stop()}},n,this)}));return e}(),mounted:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:$('.action-button[data-toggle="tooltip"]').tooltip();case 3:case"end":return e.stop()}},n,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.show?r("span",{directives:[{name:"download",rawName:"v-download",value:e.action.download,expression:"action.download"},{name:"t-title",rawName:"v-t-title",value:e.action.hint,expression:"action.hint"}],staticClass:"action-button skin-tooltip-right","class":{toggled:e.action.state&&e.action.state.toggled[e.featureIndex]},attrs:{"data-placement":"right","data-toggle":"tooltip"},on:{contextmenu:function(e){e.preventDefault(),e.stopPropagation()},click:function(t){return t.stopPropagation(),e.clickAction(e.action,e.layer,e.feature,e.featureIndex,t)}}},[r("span",{"class":"action-button-icon "+e.action["class"],staticStyle:{padding:"2px"},style:e.action.style})]):e._e()},n.staticRenderFns=[],n._scopeId="data-v-85bef264"},{"core/i18n/i18n.service":27}],316:[function(e,t,r){!function(){function e(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"downloadformats",data:function(){var e=this.config.downloads[0].format;return{download_format:e}},props:{featureIndex:{type:Number},feature:{type:Object},layer:{type:Object},config:{type:Object,"default":null}},methods:{download:function(){function t(){return r.apply(this,arguments)}var r=e(regeneratorRuntime.mark(function n(){var e,t=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,e=this.config.downloads.find(function(e){return e.format===t.download_format}),r.next=4,e.cbk(this.layer,this.feature?this.feature:this.layer.features,e,this.featureIndex);case 4:r.next=8;break;case 6:r.prev=6,r.t0=r["catch"](0);case 8:case"end":return r.stop()}},n,this,[[0,6]])}));return t}()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"g3w-download-formats-content",staticStyle:{width:"100%",display:"flex"},on:{click:function(e){e.preventDefault(),e.stopPropagation()}}},[r("select",{directives:[{name:"select2",rawName:"v-select2",value:"download_format",expression:"'download_format'"}],staticClass:"form-control",staticStyle:{"flex-grow":"1"},attrs:{search:!1}},e._l(e.config.downloads,function(t){return r("option",{directives:[{name:"download",rawName:"v-download"}],key:t.id,domProps:{value:t.format}},[r("span",{staticStyle:{"font-weight":"bold"}},[e._v(e._s(t.format))])])}),0),e._v(" "),r("button",{directives:[{name:"download",rawName:"v-download"}],staticClass:"btn skin-button",staticStyle:{"border-radius":"0 3px 3px 0"},on:{click:function(t){return t.stopPropagation(),e.download(t)}}},[r("span",{"class":e.g3wtemplate.getFontClass("download")})])])},n.staticRenderFns=[],n._scopeId="data-v-0c98a736"},{}],317:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function e(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(l){i=!0,a=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw a}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=e("core/catalog/cataloglayersstoresregistry"),a=e("core/parsers/response/parser"),o=e("core/utils/geo"),s=o.getAlphanumericPropertiesFromFeature,l=(o.query,e("gui/gui"));r["default"]={name:"Infoformats",props:{layer:{type:Object,required:!0}},data:function(){return{infoformat:this.layer.infoformat}},computed:{infoformats:function(){return this.layer.infoformats||[]}},methods:{reloadLayerDataWithChangedContentType:function(){function e(e){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function i(e){var t,r,o,u,c,d=this;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=l.getService("queryresults"),this.layer.loading=!0,i.prev=2,i.next=5,this.projectLayer.changeProxyDataAndReloadFromServer("wms",{headers:{"Content-Type":e},params:{INFO_FORMAT:e}});case 5:if(r=i.sent,this.layer.infoformat=e,this.projectLayer.setInfoFormat(this.layer.infoformat),o=a.get(e)({layers:[this.projectLayer],response:r}),u=n(o,1),c=u[0],!c.features){i.next=14;break}this.layer.rawdata=null,c.features.forEach(function(e){var r=t.getFeaturePropertiesAndGeometry(e),n=r.id,i=r.geometry,a=r.properties;0===d.layer.attributes.length&&(d.layer.hasgeometry=!!i,t.setActionsForLayers([d.layer]),s(a).forEach(function(e){d.layer.attributes.push({name:e,label:e,show:!0})}));var o={id:n,attributes:a,geometry:i,show:!0};o.show=!0,d.layer.features.push(o)}),i.next=18;break;case 14:return this.layer.features.splice(0),i.next=17,this.$nextTick();case 17:this.layer.rawdata=c.rawdata;case 18:i.next=23;break;case 20:i.prev=20,i.t0=i["catch"](2);case 23:this.layer.loading=!1;case 24:case"end":return i.stop()}},i,this,[[2,20]])}));return e}()},watch:{infoformat:function(e){this.reloadLayerDataWithChangedContentType(e)}},created:function(){this.projectLayer=i.getLayerById(this.layer.id)},beforeDestroy:function(){this.projectLayer&&this.projectLayer.clearProxyData("wms"),this.projectLayer=null}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.infoformats.length?r("select",{directives:[{name:"select2",rawName:"v-select2",value:"infoformat",expression:"'infoformat'"}],staticClass:"skin-color",attrs:{select2_value:e.infoformat,search:!1}},e._l(e.infoformats,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])}),0):e._e()},n.staticRenderFns=[]},{"core/catalog/cataloglayersstoresregistry":9,"core/parsers/response/parser":77,"core/utils/geo":89,"gui/gui":150}],318:[function(e,t,r){e("vueify/lib/insert-css").insert(".g3w-polygonattributes-types-title[data-v-6d5aef4d]{font-weight:700;padding:3px;color:#fff;margin:0 0 5px}.g3w-polygonattributes-types-content[data-v-6d5aef4d]{display:flex;justify-content:space-between;padding:3px;border-radius:3px;border:1px solid #f4f4f4}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/applicationstate"),i=t(n),a=e("core/i18n/i18n.service"),o=a.t;r["default"]={name:"querypolygonaddattributes",props:{layer:{type:Object},config:{type:Object,"default":null}},data:function(){return{type:this.config.choices[0].type}},created:function(){var e=this;this.unwatch=this.$watch(function(){return i["default"].lng},function(){e.config.choices.forEach(function(t){return $(e.$refs[t.type]).text(o(t.label))}),$(e.$refs.g3w_select_feature_featurepolygon).select2().trigger("change")})},beforeDestroy:function(){this.unwatch&&this.unwatch(),this.unwatch=null}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{width:"100%"}},[r("h5",{directives:[{name:"t",rawName:"v-t",value:"sdk.mapcontrols.querybypolygon.download.title",expression:"'sdk.mapcontrols.querybypolygon.download.title'"}],staticClass:"skin-background-color g3w-polygonattributes-types-title"}),e._v(" "),r("div",{staticClass:"g3w-polygonattributes-types-content"},[r("select",{directives:[{name:"select2",rawName:"v-select2",value:"type",expression:"'type'"}],ref:"g3w_select_feature_featurepolygon",staticClass:"form-control",staticStyle:{width:"100%"},attrs:{search:!1}},e._l(e.config.choices,function(e){return r("option",{directives:[{name:"t",rawName:"v-t",value:e.label,expression:"choice.label"}],key:e.type,ref:e.type,refInFor:!0,domProps:{value:e.type}})}),0),e._v(" "),r("button",{ -staticClass:"btn skin-button",staticStyle:{"border-radius":"0 3px 3px 0"},on:{click:function(t){return t.stopPropagation(),e.config.download(e.type)}}},[r("span",{"class":e.g3wtemplate.getFontClass("download")})])])])},n.staticRenderFns=[],n._scopeId="data-v-6d5aef4d"},{"core/applicationstate":8,"core/i18n/i18n.service":27,"vueify/lib/insert-css":2}],319:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/QueryResultsAction.vue"),i=t(n);r["default"]={name:"actions",props:{featureIndex:{type:Number},feature:{type:Object},layer:{type:Object},trigger:{type:Function},actions:{type:Array,"default":[]}},components:{action:i["default"]}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.actions.length?r("td",{staticClass:"g3w-feature-actions"},e._l(e.actions,function(t){return r("action",e._b({key:t.id,attrs:{action:t}},"action",e.$props,!1))}),1):e._e()},n.staticRenderFns=[],n._scopeId="data-v-2ac817d6"},{"components/QueryResultsAction.vue":315}],320:[function(e,t,r){e("vueify/lib/insert-css").insert(".noAttributes[data-v-647e9d03]{display:flex;justify-content:flex-end}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/QueryResultsActions.vue"),i=t(n),a=e("gui/vue/vue.mixins"),o=a.fieldsMixin;r["default"]={name:"headerfeaturebody",mixins:[o],props:{toggleFeatureBoxAndZoom:{type:Function},trigger:{type:Function},hasLayerOneFeature:{type:Function},boxLayerFeature:{type:Object},getLayerField:{type:Function},attributesSubset:{type:Function},layer:{type:Object},feature:{type:Object},index:{type:Number},actions:{type:Array}},components:{actions:i["default"]}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("tr",{staticClass:"featurebox-header","class":[e.boxLayerFeature.collapsed?"":"featurebox-header-open"],on:{click:function(t){return e.toggleFeatureBoxAndZoom(e.layer,e.feature)},mouseover:function(t){return e.trigger({id:"highlightgeometry"},e.layer,e.feature,e.index)},mouseout:function(t){return e.trigger({id:"clearHighlightGeometry"},e.layer,e.feature,e.index)}}},[r("actions",{attrs:{layer:e.layer,featureIndex:e.index,trigger:e.trigger,feature:e.feature,actions:e.actions}}),e._v(" "),e._l(e.attributesSubset(e.layer),function(t){return r("td",{staticClass:"attribute"},[e.isLink(e.getLayerField({layer:e.layer,feature:e.feature,fieldName:t.name}))?r("span",{staticClass:"skin-color","class":e.g3wtemplate.getFontClass("link")}):e.isPhoto(e.getLayerField({layer:e.layer,feature:e.feature,fieldName:t.name}))?r("span",{staticClass:"skin-color","class":e.g3wtemplate.getFontClass("image")}):e.isImage(e.getLayerField({layer:e.layer,feature:e.feature,fieldName:t.name}))?r("span",{staticClass:"skin-color","class":e.g3wtemplate.getFontClass("image")}):r("span",[e._v(e._s(e.feature.attributes[t.name]))])])}),e._v(" "),e.hasLayerOneFeature(e.layer)?e._e():r("td",{staticClass:"collapsed","class":{noAttributes:0===e.attributesSubset(e.layer).length}},[r("span",{staticClass:"fa link morelink skin-color","class":[e.boxLayerFeature.collapsed?e.g3wtemplate.font.plus:e.g3wtemplate.font.minus]})])],2)},n.staticRenderFns=[],n._scopeId="data-v-647e9d03"},{"components/QueryResultsActions.vue":319,"gui/vue/vue.mixins":227,"vueify/lib/insert-css":2}],321:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/FieldLink.vue"),i=t(n),a=e("components/FieldVue.vue"),o=t(a),s=e("gui/vue/vue.mixins"),l=s.fieldsMixin;r["default"]={name:"tableattributefieldvalue",props:{field:{type:Object},feature:{type:Object}},mixins:[l],components:{"g3w-link":i["default"],"g3w-vue":o["default"]}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.isVue(e.field)?r("g3w-vue",{attrs:{feature:e.feature,state:e.field}}):e.isSimple(e.field)?r("span",{domProps:{innerHTML:e._s(e.field.value)}}):e.isPhoto(e.field)?r("g3w-image",{attrs:{value:e.field.value}}):e.isImage(e.field)?r("g3w-image",{attrs:{value:e.field.value}}):e.isLink(e.field)?r("g3w-link",{attrs:{state:{value:e.field.value}}}):e._e()},n.staticRenderFns=[],n._scopeId="data-v-757226bd"},{"components/FieldLink.vue":247,"components/FieldVue.vue":250,"gui/vue/vue.mixins":227}],322:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("constant"),a=e("components/FieldG3W.vue"),o=t(a),s=e("components/QueryResultsActionDownloadFormats.vue"),l=t(s),u=e("core/catalog/cataloglayersstoresregistry"),c=e("gui/gui"),d=e("core/utils/utils"),p=d.throttle,f=e("gui/relations/vue/relationeventbus"),h=e("gui/vue/vue.mixins"),v=h.fieldsMixin,g=h.resizeMixin,m=void 0;r["default"]={props:["table","feature","relation","previousview","showChartButton","cardinality"],inject:["relationnoback"],mixins:[v,g],components:{Field:o["default"]},data:function(){return{feature:null,fields:null,chart:!1,headercomponent:null,downloadButton:null,downloadLayer:{state:null,config:{downloads:[]}}}},computed:{showrelationslist:function(){return"relations"===this.previousview&&!this.relationnoback},one:function(){return"ONE"===this.relation.type}},methods:{createTable:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,a,o=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=u.getLayerById(this.table.layerId),this.isEditable=e.isEditable()&&!e.isInEditing(),t=e.isDownloadable()?e.getDownloadableFormats():[],a=t.length,a>0&&(this.downloadButton={toggled:!1,tooltip:a>1?"Downloads":"sdk.tooltips.download_"+t[0],handler:a>1?n(regeneratorRuntime.mark(function s(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:o.downloadButton.toggled=!o.downloadButton.toggled,o.downloadLayer.state=o.downloadLayer.state||e.state,o.downloadLayer.config.downloads=o.downloadLayer.config.downloads.length?o.downloadLayer.config.downloads:t.map(function(t){return{id:t,format:t,cbk:function(){o.saveRelation(e.getDownloadUrl(t)),o.headercomponent=null},download:!0}}),o.headercomponent=o.downloadButton.toggled?l["default"]:null;case 4:case"end":return r.stop()}},s,o)})):function(){return o.saveRelation(e.getDownloadUrl(t[0]))}}),f.$on("reload",function(){o.reloadLayout()}),this.showChart=p(n(regeneratorRuntime.mark(function d(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o.chart=!o.chart,t.next=3,o.$nextTick();case 3:o.chartContainer=o.chartContainer||$("#chart_content"),e={relations:[o.relation],fid:o.feature.attributes[i.G3W_FID]},o.$emit(o.chart?"show-chart":"hide-chart",o.chartContainer,e);case 6:case"end":return t.stop()}},d,o)}))),r.next=9,this.$nextTick();case 9:m=c.getSize({element:"sidebar",what:"width"}),this.relation.title=this.relation.name,this.one||(this.relationDataTable=$(this.$refs.relationtable).DataTable({pageLength:10,bLengthChange:!0,scrollResize:!0,scrollCollapse:!0,scrollX:!0,responsive:!0,order:[this.table.formStructure?1:0,"asc"],columnDefs:[{orderable:!this.table.formStructure,targets:0}]}),this.tableHeaderHeight=$(".query-relation div.dataTables_scrollHeadInner").height()),c.on("pop-content",this.resize);case 13:case"end":return r.stop()}},r,this)}));return e}(),resize:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,n,i,a;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:this.$refs.query_relation&&"none"!==this.$refs.query_relation.parentNode.style.display&&(e=$(".content").height(),t=$(this.$refs.query_relation).find("div.dataTables_scrollBody"),n=$(".content_breadcrumb").outerHeight(),i=n+$(".navbar-header").outerHeight()+$(".close-panel-block").outerHeight()+$(this.$refs["relation-header"]).outerHeight()+$(".dataTables_filter").last().outerHeight()+$(".dataTables_paginate.paging_simple_numbers").outerHeight()+$(".dataTables_scrollHead").last().outerHeight(),t.height(e-this.tableHeaderHeight-i),this.table.rowFormStructure&&(a=t.width()-$(this.$refs.relationtable).find("tr.selected > td").outerWidth()-20,$(".row-wrap-tabs > .tabs-wrapper").width(a)),this.reloadLayout());case 1:case"end":return r.stop()}},r,this)}));return e}(),saveRelation:function(e){this.$emit("save-relation",e),this.downloadButton.toggled=!1},showFormStructureRow:function(){function e(e,r){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e,t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.table.rowFormStructure=this.table.rowFormStructure===t?null:t,this.fields=this.getRowFields(t),e.next=4,this.$nextTick();case 4:$("#relationtable_wrapper div.dataTables_scrollBody").css("overflow-x",this.table.rowFormStructure?"hidden":"auto"),this.resize();case 6:case"end":return e.stop()}},r,this)}));return e}(),editFeature:function(e){var t=c.getService("queryresults");t.editFeature({layer:{id:this.table.layerId,attributes:this.table.fields},feature:this.table.features[e]})},getRowFields:function(e){var t=this;return this.table.fields.map(function(r,n){return r.value=e[n],r.query=!0,r.input={type:""+t.getFieldType(r)},r})},reloadLayout:function(){this.relationDataTable&&this.relationDataTable.columns.adjust()},back:function(){this.$parent.setRelationsList()},fieldIs:function(e,t){var r=this.getFieldType(t);return r===e},is:function(e,t){return this.fieldIs(e,t)},moveFnc:function(e){var t=$(".sidebar-collapse").length?0:m,r=e.pageX+2-t;this.$refs.tablecontent.style.width=r+"px",this.$refs.chartcontent.style.width=$(this.$refs.relationwrapper).width()-r-10+"px"}},watch:{table:{immediate:!0,handler:function(e){e&&e.rows.length&&this.createTable()}},chart:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.resize();case 3:case"end":return e.stop()}},r,this)}));return e}(),headercomponent:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.resize();case 3:case"end":return e.stop()}},r,this)}));return e}()},beforeCreate:function(){this.delayType="debounce"},beforeDestroy:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.relationDataTable&&(this.relationDataTable.destroy(),this.relationDataTable=null,this.chartContainer&&this.$emit("hide-chart",this.chartContainer),this.chartContainer=null,this.tableHeaderHeight=null,c.off("pop-content",this.resize));case 1:case"end":return e.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.table?r("div",{ref:"query_relation",staticClass:"query-relation","class":e.isMobile()?"mobile":null,staticStyle:{"margin-top":"3px"}},[r("div",{ref:"relation-header",staticClass:"header skin-background-color lighten",staticStyle:{padding:"3px",display:"flex","justify-content":"space-between","align-items":"center",width:"100%"}},[r("div",{staticClass:"g3w-long-text",staticStyle:{"border-radius":"3px"},style:{fontSize:e.isMobile()?"1em":"1.3em"}},[e.showrelationslist?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:right.create",value:"sdk.relations.back_to_relations",expression:"'sdk.relations.back_to_relations'",arg:"right",modifiers:{create:!0}}],staticClass:"action-button-icon action-button","class":e.g3wtemplate.getFontClass("exit"),staticStyle:{"font-size":"0.8em"},on:{click:function(t){return t.stopPropagation(),e.back(t)}}}):e._e(),e._v(" "),r("span",{staticClass:"relation-tile skin-color",staticStyle:{"font-weight":"bold"}},[e._v(" "+e._s(e.relation.name))])]),e._v(" "),e.table.rows.length?r("div",{staticClass:"relations-table-tools",staticStyle:{"font-size":"1.1em","margin-bottom":"3px"}},[e.downloadButton?r("span",{directives:[{name:"download",rawName:"v-download"},{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:e.downloadButton.tooltip,expression:"downloadButton.tooltip",arg:"left",modifiers:{create:!0}}],staticClass:"action-button-icon action-button","class":[e.g3wtemplate.getFontClass("download"),{"toggled-white":e.downloadButton.toggled}],staticStyle:{padding:"5px"},on:{click:e.downloadButton.handler}}):e._e(),e._v(" "),e.showChartButton?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:bottom.create",value:"sdk.tooltips.show_chart",expression:"'sdk.tooltips.show_chart'",arg:"bottom",modifiers:{create:!0}}],staticClass:"action-button-icon action-button","class":[e.g3wtemplate.getFontClass("chart"),e.chart?"toggled-white":""],staticStyle:{padding:"5px"},on:{click:function(t){return t.stopPropagation(),e.showChart(t)}}}):e._e()]):e._e()]),e._v(" "),e.table.rows.length?r("div",{ref:"relationwrapper",staticStyle:{display:"flex","justify-content":"space-between","margin-bottom":"5px","margin-top":"3px",height:"95%"}},[r("div",{ref:"tablecontent",style:{width:e.chart?"70%":"100%",marginRight:e.chart?"8px":"3px",position:"relative"},attrs:{id:"table_content"}},[e.headercomponent?[r("div",{staticStyle:{width:"100%",display:"flex","margin-left":"auto","margin-bottom":"5px","margin-right":"4px"}},[r(e.headercomponent,{tag:"component",attrs:{layer:e.downloadLayer.state,config:e.downloadLayer.config}})],1)]:e._e(),e._v(" "),r("table",{ref:"relationtable",staticClass:"hover relationtable table table-striped row-border",staticStyle:{width:"100%"}},[r("thead",[r("tr",{staticStyle:{height:"0! important"}},[e.table.formStructure||e.isEditable?r("th",{style:{minWidth:30*(1*!!e.table.formStructure+1*e.isEditable)+"px",padding:"0 !important"}}):e._e(),e._v(" "),e._l(e.table.columns,function(t){return r("th",[e._v(e._s(t))])})],2)]),e._v(" "),r("tbody",e._l(e.table.rows,function(t,n){return r("tr",{key:e.table.rows_fid[n],"class":{selected:e.table.rowFormStructure===t}},[e.table.formStructure||e.isEditable?r("td",[e.table.formStructure?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:right.create",value:e.table.rowFormStructure===t?"sdk.tooltips.relations.form_to_row":"sdk.tooltips.relations.row_to_form",expression:"table.rowFormStructure === row ? 'sdk.tooltips.relations.form_to_row': 'sdk.tooltips.relations.row_to_form'",arg:"right",modifiers:{create:!0}}],staticClass:"action-button row-form skin-color","class":[e.table.rowFormStructure===t?e.g3wtemplate.getFontClass("minus"):e.g3wtemplate.getFontClass("table")],staticStyle:{cursor:"pointer"},attrs:{"current-tooltip":e.table.rowFormStructure===t?"sdk.tooltips.relations.form_to_row":"sdk.tooltips.relations.row_to_form"},on:{click:function(r){return r.stopPropagation(),e.showFormStructureRow(r,t)}}}):e._e(),e._v(" "),e.isEditable?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:right.create",value:"Edit",expression:"'Edit'",arg:"right",modifiers:{create:!0}}],staticClass:"action-button row-form skin-color","class":e.g3wtemplate.getFontClass("pencil"),on:{click:function(t){return t.stopPropagation(),e.editFeature(n)}}}):e._e()]):e._e(),e._v(" "),e.table.formStructure&&e.table.rowFormStructure===t?[r("td",{staticClass:"row-wrap-tabs",attrs:{colspan:e.table.columns.length}},[r("tabs",{attrs:{layerid:e.table.layerId,feature:e.table.features[n],fields:e.fields,tabs:e.table.formStructure}})],1)]:e._l(t,function(e){return r("td",[r("field",{attrs:{state:{value:e}}})],1)})],2)}),0)])],2),e._v(" "),r("g3w-resize",{staticClass:"skin-border-color lighten",staticStyle:{"border-style":"solid","border-width":"0 1px 0 1px"},attrs:{show:e.chart,moveFnc:e.moveFnc,where:"content"}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.chart,expression:"chart"}],ref:"chartcontent",style:{width:e.chart?"30%":"0",paddingBottom:"5px",marginBottom:"5px",marginLeft:"8px"},attrs:{id:"chart_content"}})],1):r("div",{staticClass:"dataTables_scrollBody",staticStyle:{"font-weight":"bold","margin-top":"10px","font-size":"1.1em",display:"flex","justify-content":"space-between"}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.relations.no_relations_found",expression:"'sdk.relations.no_relations_found'"}]})])]):e._e()},n.staticRenderFns=[]},{"components/FieldG3W.vue":244,"components/QueryResultsActionDownloadFormats.vue":316,constant:5,"core/catalog/cataloglayersstoresregistry":9,"core/utils/utils":92,"gui/gui":150,"gui/relations/vue/relationeventbus":208,"gui/vue/vue.mixins":227}],323:[function(e,t,r){e("vueify/lib/insert-css").insert(".relation-grid-item[data-v-14fa2c7d]{min-width:0;min-height:80px;border:2px solid;cursor:pointer;border-radius:4px;background-color:#fff;display:flex;align-items:center}.relation-grid-item[data-v-14fa2c7d]:hover{background-color:transparent}");!function(){function e(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var t=function(){function e(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(l){i=!0,a=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw a}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();r["default"]={props:["relations","feature","loading"],methods:{showRelation:function(){function t(e){return r.apply(this,arguments)}var r=e(regeneratorRuntime.mark(function n(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$parent.showRelation(e);case 2:case"end":return t.stop()}},n,this)}));return t}(),featureInfo:function(){var e=[],r=0;return Object.entries(this.feature.attributes).forEach(function(n){var i=t(n,2),a=i[0],o=i[1];return!(r>2)&&void(o&&_.isString(o)&&o.indexOf("/")===-1&&(e.push({key:a,value:o}),r+=1))}),e}},mounted:function(){function t(){return r.apply(this,arguments)}var r=e(regeneratorRuntime.mark(function n(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(1!==this.relations.length){t.next=5;break}return e=this.relations[0],e.noback=!0,t.next=5,this.showRelation(e);case 5:case"end":return t.stop()}},n,this)}));return t}(),beforeDestroy:function(){1===this.relations.length&&delete this.relations[0].noback}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"query-relations",staticStyle:{"overflow-y":"auto"}},[r("div",{staticClass:"header skin-background-color lighten",staticStyle:{"margin-bottom":"10px","border-radius":"4px",padding:"5px"}},[r("div",{staticClass:"skin-color-dark"},[r("span",{directives:[{name:"t",rawName:"v-t:pre",value:"sdk.relations.list_of_relations_feature",expression:"'sdk.relations.list_of_relations_feature'",arg:"pre"}],staticStyle:{"font-size":"1.1em"}}),e._v(" "),e._l(e.featureInfo(),function(t){return r("span",[r("b",[e._v(e._s(t.key))]),e._v(": "+e._s(t.value)+" ")])})],2)]),e._v(" "),r("div",{staticClass:"query-relations-content",staticStyle:{display:"grid","grid-template-columns":"repeat(2, auto)","grid-column-gap":"5px","grid-row-gap":"5px"}},e._l(e.relations,function(t){return r("div",{staticClass:"skin-border-color relation-grid-item",on:{click:function(r){return e.showRelation(t)}}},[r("span",{staticClass:"skin-color g3w-long-text",staticStyle:{"font-weight":"bold",padding:"5px"}},[e._v(e._s(t.name))])])}),0)])},n.staticRenderFns=[],n._scopeId="data-v-14fa2c7d"},{"vueify/lib/insert-css":2}],324:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("components/Relations.vue"),a=t(i),o=e("components/Relation.vue"),s=t(o),l=e("constant"),u=e("gui/gui"),c=e("core/utils/geo"),d=c.getFeaturesFromResponseVectorApi,p=e("gui/relations/vue/relationeventbus");r["default"]={data:function(){this.chartRelationIds=this.$options.chartRelationIds||[];var e=this.$options,t=e.table,r=e.relation,n=void 0===r?null:r,i=e.relations,a=e.nmRelation,o=e.feature,s=e.currentview,l=e.service;return{loading:!1,state:null,error:!1,table:t?l.buildRelationTable(t):null,relation:n,relations:i,nmRelation:a,showChartButton:!1,feature:o,currentview:s,previousview:s}},provide:function(){return{relationnoback:1===this.$options.relations.length}},components:{relations:a["default"],relation:s["default"]},methods:{saveRelations:function(e){this.$options.service.saveRelations(e)},reloadLayout:function(){p.$emit("reload")},showChart:function(e,t){var r=this.relation.referencingLayer;u.getService("queryresults").showChart([r],e,t)},hideChart:function(e){u.getService("queryresults").hideChart(e)},showRelation:function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){var t,n,i,a;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u.setLoadingContent(!0),this.loading=!0,this.relation=e,t=e.referencingLayer,n=this.feature.attributes[l.G3W_FID],r.prev=5,r.next=8,this.$options.service.getRelations({layer:this.$options.layer,relation:e,fid:n});case 8:if(i=r.sent,a=d(i,{type:"result"}),!this.nmRelation){r.next=15;break}return t=this.nmRelation.referencedLayer,r.next=14,this.$options.service.getRelationsNM({nmRelation:this.nmRelation,features:a});case 14:a=r.sent;case 15:return this.showChartButton=!!this.chartRelationIds.find(function(e){return e===t}),this.table=this.$options.service.buildRelationTable(a,t),u.changeCurrentContentOptions({title:e.name,crumb:{title:e.name}}),r.next=20,this.$nextTick();case 20:this.previousview=this.currentview,this.currentview="relation",r.next=26;break;case 24:r.prev=24,r.t0=r["catch"](5);case 26:u.setLoadingContent(!1),this.loading=!0;case 28:case"end":return r.stop()}},r,this,[[5,24]])}));return e}(),setRelationsList:function(){this.previousview="relation",this.currentview="relations",u.changeCurrentContentOptions({crumb:{title:l.LIST_OF_RELATIONS_TITLE}}),this.loading=!1}},beforeMount:function(){("relation"===this.currentview||1===this.relations.length&&"ONE"===this.relations[0].type)&&this.showRelation(this.relations[0])},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.relations.sort(function(e,t){var r=e.name,n=t.name;return rn?1:0}),e.next=3,this.$nextTick();case 3:this.error&&requestAnimationFrame(function(){u.popContent()}),this.error=!1;case 5:case"end":return e.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"query-relations-page"},[r(e.currentview,{ref:e.currentview,tag:"component",attrs:{loading:e.loading,previousview:e.previousview,showChartButton:e.showChartButton,relations:e.relations,relation:e.relation,nmRelation:e.nmRelation,feature:e.feature,table:e.table},on:{"save-relation":e.saveRelations,"show-chart":e.showChart,"hide-chart":e.hideChart}})],1)},n.staticRenderFns=[]},{"components/Relation.vue":322,"components/Relations.vue":323,constant:5,"core/utils/geo":89,"gui/gui":150,"gui/relations/vue/relationeventbus":208}],325:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("components/Tool.vue"),a=t(i),o=e("components/QueryBuilderSearch.vue"),s=t(o);r["default"]={data:function(){return{state:null}},components:{"g3w-tool":a["default"],"g3w-search-querybuilder":s["default"]},computed:{show:function(){return this.state.searches.length+this.state.searchtools.length+this.state.querybuildersearches.length>0}},methods:{showPanel:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.$options.service.showPanel(e)},removeItem:function(e){var t=e.type,r=e.index;this.$options.service.removeItem({type:t,index:r})}},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:$(".icon-search-action").tooltip();case 3:case"end":return e.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.show?r("ul",{staticClass:"treeview-menu g3w-search g3w-tools menu-items",attrs:{id:"g3w-search"}},[e._l(e.state.searches,function(t){return r("li",{staticClass:"menu-item",on:{click:function(r){return e.showPanel(t)}}},[r("i",{"class":e.g3wtemplate.getFontClass("empty-circle")}),e._v(" "),r("span",[e._v(e._s(t.name))])])}),e._v(" "),e._l(e.state.searchtools,function(e){return r("li",[r("g3w-tool",{attrs:{tool:e}})],1)}),e._v(" "),e._l(e.state.querybuildersearches,function(t,n){return r("g3w-search-querybuilder",{key:t.id,attrs:{querybuildersearch:t},on:{"delete":function(t){return e.removeItem({type:"querybuilder",index:n})}}})})],2):e._e()},n.staticRenderFns=[]},{"components/QueryBuilderSearch.vue":313,"components/Tool.vue":338}],326:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=t(i),o=e("core/utils/utils"),s=o.getUniqueDomId,l=o.convertQGISDateTimeFormatToMoment;r["default"]={name:"Searchdatetime",props:{forminput:{type:Object,require:!0}},created:function(){this.id="search_datetime_"+s()},computed:{time:function(){return this.forminput.options.format.time}},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,n,i=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.$nextTick();case 2:e=this.forminput.options.format,t=e.fieldformat,n=e.displayformat,t=l(t),n=l(n),$("#"+this.id).datetimepicker({defaultDate:null,format:n,ignoreReadonly:!0,allowInputToggle:!0,toolbarPlacement:"top",widgetPositioning:{vertical:"bottom",horizontal:"left"},showClose:!0,locale:a["default"].lng||"en"}),$("#"+this.id).on("dp.change",function(){var e=$("#"+i.forminput.id).val();i.forminput.value=_.isEmpty(_.trim(e))?null:moment(e,n).format(t),i.$emit("change",i.forminput)}),a["default"].ismobile&&setTimeout(function(){$("#"+i.forminput.id).blur()});case 9:case"end":return r.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"input-group date",attrs:{id:e.id}},[r("input",{staticClass:"form-control",attrs:{id:e.forminput.id,type:"text"}}),e._v(" "),r("span",{staticClass:"input-group-addon skin-color"},[r("span",{"class":e.g3wtemplate.getFontClass(e.time?"time":"calendar")})])])},n.staticRenderFns=[]},{"core/applicationstate":8,"core/utils/utils":92}],327:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("components/SearchSelect2.vue"),a=t(i),o=e("components/SearchDatetime.vue"),s=t(o),l=e("./SearchPanelLabel.vue"),u=t(l);r["default"]={components:{Select2:a["default"],SearchDatetime:s["default"],SearchPanelLabel:u["default"]},data:function(){return{state:this.$options.service.state}},methods:{isSelectDisabled:function(e){return[this.state.loading[e.options.dependance],e.loading,e.options.disabled].reduce(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e||t},!1)},onFocus:function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){var t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!this.isMobile()){r.next=5;break}return t=$(e.target).position().top-10,r.next=4,this.$nextTick();case 4:setTimeout(function(){return $(".sidebar").scrollTop(t)},500);case 5:case"end":return r.stop()}},r,this)}));return e}(),autocompleteRequest:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.$options.service.autocompleteRequest(e));case 1:case"end":return t.stop()}},r,this)}));return e}(),changeDependencyFields:function(e){var t=e.attribute,r=e.value,n=this.$options.service.getDependencies(t);return n.length?this.$options.service.fillDependencyInputs({field:t,subscribers:n,value:r}):Promise.resolve()},changeNumericInput:function(e){e.value=e.value||0===e.value?e.value:null,this.changeInput(e)},changeInput:function(e){var t=this,r=e.id,n=e.attribute,i=e.value,a=e.type;try{i="textfield"===a||"textField"===a?i:i.trim()}catch(o){}this.$options.service.changeInput({id:r,value:i}),this.state.searching=!0,this.changeDependencyFields({attribute:n,value:i})["finally"](function(){t.state.searching=!1})},doSearch:function(e){e.preventDefault(),this.$options.service.run()}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports; -n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.state.searching,expression:"state.searching"}],staticClass:"g3w-search-panel form-group"},[r("h4",{},[r("b",[e._v(e._s(e.state.title))])]),e._v(" "),e._t("tools"),e._v(" "),e._t("form",[r("form",{staticClass:"g3w-search-form"},[e._l(e.state.forminputs,function(t){return r("span",{key:t.id},["numberfield"===t.type?r("div",{staticClass:"form-group numeric"},[r("search-panel-label",{attrs:{forminput:t}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"forminput.value"}],staticClass:"form-control",attrs:{type:"number",min:"0",id:t.id},domProps:{value:t.value},on:{change:function(r){return e.changeNumericInput(t)},input:[function(r){r.target.composing||e.$set(t,"value",r.target.value)},function(r){return e.changeNumericInput(t)}]}})],1):"textfield"===t.type||"textField"===t.type?r("div",{staticClass:"form-group form-item-search text"},[r("search-panel-label",{attrs:{forminput:t}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"forminput.value"}],staticClass:"form-control",attrs:{type:"text",id:t.id},domProps:{value:t.value},on:{focus:e.onFocus,change:function(r){return e.changeInput(t)},input:function(r){r.target.composing||e.$set(t,"value",r.target.value)}}})],1):"selectfield"===t.type||"autocompletefield"===t.type?r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.isSelectDisabled(t),expression:"isSelectDisabled(forminput)"}],staticClass:"form-group text"},[r("search-panel-label",{attrs:{forminput:t}}),e._v(" "),t.options.dependance?r("bar-loader",{attrs:{loading:e.state.loading[t.options.dependance]||t.loading}}):e._e(),e._v(" "),r("select2",{attrs:{forminput:t,autocompleteRequest:e.autocompleteRequest},on:{"select-change":e.changeInput}})],1):e._e(),e._v(" "),"datetimefield"===t.type?r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.state.loading[t.options.dependance]||!1,expression:"state.loading[forminput.options.dependance] || false"}],staticClass:"form-group text"},[r("search-panel-label",{attrs:{forminput:t}}),e._v(" "),r("search-datetime",{attrs:{forminput:t},on:{change:e.changeInput}})],1):e._e(),e._v(" "),t.logicop?r("div",{staticClass:"search-logicop skin-border-color"},[r("h4",[e._v(e._s(t.logicop))])]):e._e()])}),e._v(" "),r("div",{staticClass:"form-group"},[r("button",{directives:[{name:"t",rawName:"v-t",value:"dosearch",expression:"'dosearch'"}],staticClass:"sidebar-button-run btn btn-block pull-right",attrs:{id:"dosearch","data-i18n":"dosearch"},on:{click:function(t){return t.stopPropagation(),e.doSearch(t)}}})])],2)]),e._v(" "),e._t("footer")],2)},n.staticRenderFns=[]},{"./SearchPanelLabel.vue":328,"components/SearchDatetime.vue":326,"components/SearchSelect2.vue":329}],328:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("core/layers/filter/operators");r["default"]={name:"Searchpanellabel",props:{forminput:{type:Object,require:!0}},methods:{getLabelOperator:function(e){return"[ "+t.EXPRESSION_OPERATORS[e]+" ]"}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("label",{staticClass:"search-label",staticStyle:{width:"100%",display:"flex","justify-content":"space-between"},attrs:{"for":e.forminput.id}},[r("span",[e._v(e._s(e.forminput.label||e.forminput.attribute))]),e._v(" "),r("span",{staticClass:"skin-color"},[e._v(e._s(e.getLabelOperator(e.forminput.operator)))])])},n.staticRenderFns=[]},{"core/layers/filter/operators":48}],329:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t0&&1*s.numdigaut||2,u="autocompletefield"===i;this.select2=$(this.$el).select2(n({width:"100%",dropdownParent:$(".g3w-search-form:visible"),minimumInputLength:u&&l||0,allowClear:u,placeholder:u?"":null,ajax:u?{delay:500,transport:function(){function r(e,t,r){return n.apply(this,arguments)}var n=t(regeneratorRuntime.mark(function i(t,r,n){var a,s=t.data.q;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.autocompleteRequest({field:o,value:s});case 3:a=t.sent,r({results:a}),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),n(t.t0);case 10:case"end":return t.stop()}},i,e,[[0,7]])}));return r}()}:null},a)),this.select2.on("select2:select",function(t){e.emitChangeEvent(t)}),"autocompletefield"===this.forminput.type&&this.select2.on("select2:unselecting",function(t){e.emitChangeEvent(t)})}},watch:{"forminput.value":function(){function e(e){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:e===i.ALLVALUE&&(this.select2.val(e),this.select2.trigger("change"));case 3:case"end":return t.stop()}},n,this)}));return e}()},created:function(){this.allvalue=i.ALLVALUE},mounted:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this._initSelect2Element();case 3:case"end":return e.stop()}},n,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("select",{directives:[{name:"disabled",rawName:"v-disabled",value:e.forminput.options.disabled||e.forminput.loading,expression:"forminput.options.disabled || forminput.loading"}],staticClass:"form-control",attrs:{name:e.forminput.attribute,id:e.forminput.id}},e._l(e.forminput.options.values,function(t){return r("option",{key:t.value,domProps:{value:t.value}},[t.value===e.allvalue?r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.search.all",expression:"'sdk.search.all'"}]}):r("span",[e._v(e._s(t.key))])])}),0)},n.staticRenderFns=[],n._scopeId="data-v-fa45c818"},{"core/i18n/i18n.service":27,"core/utils/utils":92,"gui/external/select2/options/autocomplete":144,"gui/search/constants":210,"gui/vue/vue.mixins":227}],330:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/applicationstate"),i=t(n),a=e("gui/sidebar/eventbus"),o=t(a),s=e("services/sidebar"),l=t(s),u=e("core/i18n/i18n.service"),c=u.t;r["default"]={name:"Sidebar",data:function(){return{components:l["default"].state.components,panels:l["default"].stack.state.contentsdata,bOpen:!0,bPageMode:!1,header:c("main navigation"),state:l["default"].state}},computed:{disabled:function(){return i["default"].gui.sidebar.disabled},panelsinstack:function(){return this.panels.length>0},showmainpanel:function(){return this.components.length>0&&!this.panelsinstack},componentname:function(){return this.components.length?this.components.slice(-1)[0].getTitle():""},panelname:function(){var e="";return this.panels.length&&(e=this.panels.slice(-1)[0].content.getTitle()),e}},methods:{closePanel:function(){l["default"].closePanel()},closeAllPanels:function(){l["default"].closeAllPanels()}},created:function(){this.iframe=i["default"].iframe,o["default"].$on("sidebaritemclick",function(){return $(".sidebar-toggle").click()})}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("aside",{staticClass:"main-sidebar","class":{iframe:e.iframe,"g3w-disabled":e.disabled}},[e.isMobile()?e._e():r("a",{staticClass:"sidebar-aside-toggle",attrs:{href:"#","data-toggle":"offcanvas",role:"button"}},[r("i",{"class":e.g3wtemplate.getFontClass("bars")})]),e._v(" "),r("div",{staticClass:"sidebar",attrs:{id:"g3w-sidebar"}},[r("div",{attrs:{id:"disable-sidebar"}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.panelsinstack,expression:"panelsinstack"}],staticClass:"g3w-sidebarpanel"},[r("div",{staticStyle:{overflow:"hidden","line-height":"14px","font-size":"1.5em"},attrs:{id:"g3w-sidebarpanel-header-placeholder"}},[r("div",{staticStyle:{display:"flex"},style:{justifyContent:e.state.gui.title?"space-between":"flex-end"}},[e.state.gui.title?r("h4",{directives:[{name:"t",rawName:"v-t",value:e.state.gui.title,expression:"state.gui.title"}],staticStyle:{display:"inline-block","font-weight":"bold"}}):e._e(),e._v(" "),r("div",[e.panels.length>1?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"back",expression:"'back'",modifiers:{create:!0}}],staticClass:"skin-tooltip-left g3w-span-button close-pane-button fa-stack",attrs:{"data-placement":"left","data-toggle":"tooltip"},on:{click:e.closePanel}},[r("i",{staticClass:"fa-stack-1x panel-button","class":e.g3wtemplate.getFontClass("circle")}),e._v(" "),r("i",{staticClass:"fa-stack-1x panel-icon","class":e.g3wtemplate.getFontClass("arrow-left")})]):e._e(),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"close",expression:"'close'",modifiers:{create:!0}}],staticClass:"skin-tooltip-left g3w-span-button close-pane-button fa-stack",attrs:{"data-placement":"left","data-toggle":"tooltip"},on:{click:e.closeAllPanels}},[r("i",{staticClass:"fa-stack-1x panel-button","class":e.g3wtemplate.getFontClass("circle")}),e._v(" "),r("i",{staticClass:"fa-stack-1x panel-icon","class":e.g3wtemplate.getFontClass("close")})])])])]),e._v(" "),r("div",{staticClass:"g3w-sidebarpanel-placeholder",attrs:{id:"g3w-sidebarpanel-placeholder"}})]),e._v(" "),r("div",{attrs:{id:"g3w-sidebarcomponents-content"}},[r("ul",{directives:[{name:"show",rawName:"v-show",value:e.showmainpanel,expression:"showmainpanel"}],staticClass:"sidebar-menu","class":{"g3w-disabled":e.state.disabled},attrs:{id:"g3w-sidebarcomponents"}})])])])},n.staticRenderFns=[],n._scopeId="data-v-1c74bae2"},{"core/applicationstate":8,"core/i18n/i18n.service":27,"gui/sidebar/eventbus":215,"services/sidebar":399}],331:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("gui/sidebar/eventbus"),i=t(n),a=e("./SidebarItemAction.vue"),o=t(a);r["default"]={name:"SidebarItem",data:function(){return{info:this.$options.info||{state:null,style:null,"class":null},main:!0,component:this.$options.component,active:!1,title:"",open:!1,icon:null,iconColor:null,collapsible:null}},components:{SidebarItemAction:o["default"]},methods:{onClickItem:function(e){var t=this;this.component.isolate&&e.stopPropagation(),this.component.isolate||(this.$options.service.state.components.forEach(function(e){e!==t.component&&e.getOpen()&&e.click({open:e.isolate})}),!this.component.collapsible&&isMobile.any&&i["default"].$emit("sidebaritemclick")),this.component.setOpen(!this.component.state.open)}},created:function(){var e=this;this.component.openClose=function(){return e.$refs.anchor_click.click()}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("li",{directives:[{name:"show",rawName:"v-show",value:e.state.visible,expression:"state.visible"},{name:"disabled",rawName:"v-disabled",value:e.state.disabled,expression:"state.disabled"}],staticClass:"treeview sidebaritem","class":{active:e.open},attrs:{id:e.component.id}},[r("bar-loader",{attrs:{loading:e.state.loading}}),e._v(" "),r("a",{ref:"anchor_click",staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.onClickItem(t)}}},[r("div",[r("i",{"class":e.icon,style:{color:e.iconColor}}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:e.title,expression:"title"}],staticClass:"treeview-label"})]),e._v(" "),r("div",[e.info.state?r("span",{"class":e.info["class"],staticStyle:{position:"absolute",right:"5px","font-weight":"bold"},style:e.info.style,attrs:{title:e.info.tooltip}},[e._v(e._s(e.info.state))]):e._e(),e._v(" "),e._l(e.actions,function(e){return r("sidebar-item-action",{key:e.id,attrs:{action:e}})})],2),e._v(" "),e.collapsible?r("i",{staticClass:"pull-right","class":e.g3wtemplate.getFontClass("angle-left")}):e._e()]),e._v(" "),r("div",{attrs:{id:"g3w-sidebarcomponent-placeholder"}})],1)},n.staticRenderFns=[],n._scopeId="data-v-7c25a395"},{"./SidebarItemAction.vue":332,"gui/sidebar/eventbus":215}],332:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"Sidebaritemaction",props:{action:{type:Object,required:!0}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:e.action.tooltip,expression:"action.tooltip",arg:"left",modifiers:{create:!0}}],staticClass:"action skin-tooltip-left","class":e.action["class"],staticStyle:{"font-weight":"bold",padding:"3px"},style:e.action.style,on:{click:function(t){return t.stopPropagation(),e.action.fnc(t)}}})},n.staticRenderFns=[]},{}],333:[function(e,t,r){e("vueify/lib/insert-css").insert("#streetview-error-key[data-v-968c0b9c]{display:flex;justify-content:center;align-items:center;font-weight:700;height:100%;padding:10px;background-color:#fff}");!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={data:function(){return{state:null}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"streetview"}},[e.$options.keyError?r("div",{attrs:{id:"streetview-error-key"}},[r("span",{staticClass:"skin-color"},[e._v(" "+e._s(e.$options.keyError))])]):e._e()])},n.staticRenderFns=[],n._scopeId="data-v-968c0b9c"},{"vueify/lib/insert-css":2}],334:[function(e,t,r){e("vueify/lib/insert-css").insert(".geometry[data-v-336b45d4]{cursor:pointer}#noheaders[data-v-336b45d4]{background-color:#fff;font-weight:700;margin-top:10px}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1];return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!e.geometry){r.next=4;break}this.$options.service.zoomAndHighLightFeature(e,t),r.next=6;break;case 4:return r.next=6,this.$options.service.zoomAndHighLightGeometryRelationFeatures(e,t);case 6:case"end":return r.stop()}},r,this)}));return e}(),addRemoveSelectedFeature:function(e){this.$options.service.addRemoveSelectedFeature(e)},reloadLayout:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:y&&y.columns.adjust();case 3:case"end":return e.stop()}},r,this)}));return e}(),hasHeaders:function(){return!!this.state.headers.length},createdContentBody:function(){var e=this;_=_.filter(function(e){return e.$destroy(),!1});var t=y.rows().nodes();t.each(function(t,r){if($(t).css("cursor","pointer"),e.state.features.length){var n=e.state.features[r],i=!!n.geometry;$(t).addClass("feature_attribute"),n.selected&&$(t).addClass("selected"),$(t).on("click",function(){return i&&e.zoomAndHighLightFeature(n)}),$(t).on("mouseover",function(){return i&&e.zoomAndHighLightFeature(n,!1)}),$(t).children().each(function(r,i){var a=e.state.headers[r],o=void 0;if(null===a){var s=Vue.extend(l["default"]),u=new s({propsData:{feature:n}});u.$on("selected",function(t){return e.$options.service.addRemoveSelectedFeature(t)}),e.$watch(function(){return n.selected},function(e){e?$(t).addClass("selected"):$(t).removeClass("selected")}),o=u.$mount().$el}else{var c=Vue.extend(p["default"]),d=new c({propsData:{state:{value:n.attributes[a.name]}}});d.$mount(),_.push(d),o=d.$el}$(i).html(o)})}}),setTimeout(function(){return e.reloadLayout()},0)},resize:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.$nextTick();case 2:e=$(".content").height(),t=$("#open_attribute_table div.dataTables_scrollHeadInner").height(),$("#open_attribute_table div.dataTables_scrollBody").height(e-t-130);case 5:case"end":return r.stop()}},r,this)}));return e}()},beforeCreate:function(){this.delayType="debounce"},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,a,o,s,l=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return this.setContentKey=m.onafter("setContent",this.resize),e=function(){$(".dataTables_info, .dataTables_length").hide(),$(".dataTables_paginate").css({display:"flex","justify-content":"space-between","font-size":"0.8em","margin-top":"5px"}),$(".dataTables_filter").css("float","right"),$(".dataTables_paginate").css("margin","0")},r.next=4,this.$nextTick();case 4:this.first=!1,t={lengthMenu:this.state.pageLengths,pageLength:this.state.pageLength,scrollX:!0,processing:!1,scrollCollapse:!0,sSearch:!1,order:[1,"asc"],dom:'l<"#g3w-table-toolbar">frtip',columnDefs:[{targets:0,orderable:!1,searchable:!1,width:"1%"}]},this.state.pagination?(y=$(this.$refs.attribute_table).DataTable(i({},t,{columns:this.state.headers,ajax:h(function(t,r){var i=$("#open_attribute_table table tr");i.each(function(e){$(e).off("click"),$(e).off("mouseover")}),l.$options.service.getData(t).then(function(){var t=n(regeneratorRuntime.mark(function i(t){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r(t),n.next=3,l.$nextTick();case 3:l.createdContentBody(),l.isMobile()&&e();case 5:case"end":return n.stop()}},i,l)}));return function(e){return t.apply(this,arguments)}}())["catch"](function(e){})},800),serverSide:!0,deferLoading:this.state.allfeatures})),this.$options.service.on("ajax-reload",y.ajax.reload),this.changeColumn=h(function(){var e=n(regeneratorRuntime.mark(function t(e,r){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:y.columns(r).search(e.target.value.trim()).draw();case 1:case"end":return t.stop()}},t,l)}));return function(t,r){return e.apply(this,arguments)}}())):(y=$(this.$refs.attribute_table).DataTable(i({},t,{searchDelay:600})),a=h(function(){l.$options.service.setFilteredFeature(y.rows({search:"applied"})[0])},600),b.nopagination["search.dt"]=a,y.on("search.dt",a),y.on("length.dt",function(e,t,r){l.$options.service.setAttributeTablePageLength(r)}),this.changeColumn=h(function(){var e=n(regeneratorRuntime.mark(function t(e,r){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:y.columns(r).search(e.target.value.trim()).draw(),l.$options.service.setFilteredFeature(y.rows({search:"applied"})[0]);case 2:case"end":return t.stop()}},t,l)}));return function(t,r){return e.apply(this,arguments)}}())),this.isMobile()&&e(),o=Vue.extend(c["default"]),s=new o({propsData:{tools:this.state.tools,geolayer:this.state.geolayer,switchSelection:this.switchSelection,clearAllSelection:this.clearAllSelection,toggleFilterToken:this.toggleFilterToken,getDataFromBBOX:this.getDataFromBBOX}}),$("#g3w-table-toolbar").html(s.$mount().$el),this.$options.service.on("redraw",function(t){y.clear(),y.draw(!1),setTimeout(function(){y.rows.add(t),y.draw(!1),l.createdContentBody(),l.isMobile()&&e()})});case 12:case"end":return r.stop()}},r,this)}));return e}(),beforeDestroy:function(){this.$options.service.clear(),this.$options.service.off("ajax-reload"),this.$options.service.off("redraw"),m.un("setContent",this.setContentKey),y.destroy(!0),y=null}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{"margin-top":"5px"},attrs:{id:"open_attribute_table"}},[e.hasHeaders()?r("table",{ref:"attribute_table",staticClass:"table table-striped row-border compact nowrap",staticStyle:{width:"100%"},attrs:{id:"layer_attribute_table"}},[r("thead",[r("tr",[r("th"),e._v(" "),e._l(e.state.headers,function(t,n){return n>0?r("th",[r("input",{staticClass:"form-control column-search",staticStyle:{height:"25px","min-width":"40px",padding:"2px"},attrs:{type:"text",placeholder:t.name},on:{keyup:function(t){return e.changeColumn(t,n)}}})]):e._e()})],2),e._v(" "),r("tr",e._l(e.state.headers,function(t,n){return r("th",[0===n?r("span",[r("input",{staticClass:"magic-checkbox",attrs:{type:"checkbox",id:"attribute_table_select_all_rows",disabled:e.state.nofilteredrow||0===e.state.features.length},domProps:{checked:e.state.selectAll}}),e._v(" "),r("label",{staticStyle:{"margin-bottom":"0 !important"},attrs:{"for":"attribute_table_select_all_rows"},on:{"!click":function(t){return t.stopPropagation(),t.preventDefault(),e.selectAllRow(t)}}},[r("span",{staticStyle:{padding:"5px"}})])]):r("span",[e._v(e._s(t.label))])])}),0)]),e._v(" "),r("table-body",{attrs:{headers:e.state.headers,filter:e.state.tools.filter,features:e.state.features,addRemoveSelectedFeature:e.addRemoveSelectedFeature,zoomAndHighLightFeature:e.zoomAndHighLightFeature}})],1):r("div",{directives:[{name:"t",rawName:"v-t",value:"dataTable.no_data",expression:"'dataTable.no_data'"}],attrs:{id:"noheaders"}})])},n.staticRenderFns=[],n._scopeId="data-v-336b45d4"},{"components/FieldG3W.vue":244,"components/TableBody.vue":335,"components/TableSelectRow.vue":336,"components/TableToolbar.vue":337,"core/utils/utils":92,"gui/gui":150,"gui/vue/vue.mixins":227,"vueify/lib/insert-css":2}],335:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/TableSelectRow.vue"),i=t(n),a=e("components/FieldG3W.vue"),o=t(a);r["default"]={name:"table-body",props:{headers:{required:!0,type:Array},features:{required:!0,type:Array},zoomAndHighLightFeature:{type:Function},addRemoveSelectedFeature:{type:Function},filter:{type:Object,"default":{active:!1}}},data:function(){return{selectedRow:null}},components:{Field:o["default"],SelectRow:i["default"]},methods:{getField:function(e,t){return{value:e.attributes[t.name],label:void 0}}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("tbody",{attrs:{id:"table_body_attributes"}},e._l(e.features,function(t,n){return r("tr",{key:t.id,staticClass:"feature_attribute","class":[n%2==1?"odd":"pair",{geometry:!!t.geometry},{selected:t.selected}],staticStyle:{cursor:"pointer"},attrs:{role:"row",selected:e.selectedRow===n},on:{mouseover:function(r){return e.zoomAndHighLightFeature(t,!1)},click:function(r){return e.zoomAndHighLightFeature(t,!0)}}},e._l(e.headers,function(n,i){return r("td",{attrs:{"tab-index":1}},[0===i?r("select-row",{attrs:{feature:t},on:{selected:e.addRemoveSelectedFeature}}):r("field",{attrs:{feature:t,state:e.getField(t,n)}})],1)}),0)}),0)},n.staticRenderFns=[],n._scopeId="data-v-253376d4"},{"components/FieldG3W.vue":244,"components/TableSelectRow.vue":336}],336:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("core/utils/utils"),n=t.getUniqueDomId;r["default"]={name:"select-row",props:{feature:{required:!0}},data:function(){return{id:n()}},methods:{select:function(){this.$emit("selected",this.feature)}},destroyed:function(){this.$off("selected")}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",[r("input",{staticClass:"magic-checkbox",attrs:{type:"checkbox",id:e.id},domProps:{checked:e.feature.selected}}),e._v(" "),r("label",{attrs:{"for":e.id},on:{"!click":function(t){return t.stopPropagation(),t.preventDefault(),e.select(t)}}},[r("span")])])},n.staticRenderFns=[],n._scopeId="data-v-65a97efa"},{"core/utils/utils":92}],337:[function(e,t,r){e("vueify/lib/insert-css").insert(".action-button[data-v-c96b7c92]{padding:4px}.action-button.toggled[data-v-c96b7c92]{border:1px solid #ccc}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/applicationstate"),i=t(n);r["default"]={name:"g3w-table-toolbar",props:{tools:{type:Object},switchSelection:{type:Function},clearAllSelection:{type:Function},toggleFilterToken:{type:Function},getDataFromBBOX:{type:Function}},computed:{disableMapTool:function(){return!this.tools.geolayer.active&&i["default"].gui.layout[i["default"].gui.layout.__current].rightpanel.height_100}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{display:"flex","justify-content":"space-between",padding:"1px"}},[e.tools.geolayer.show?r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.disableMapTool,expression:"disableMapTool"},{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"layer_selection_filter.tools.show_features_on_map",expression:"'layer_selection_filter.tools.show_features_on_map'",modifiers:{create:!0}}],staticClass:"skin-color action-button skin-tooltip-right","class":[e.g3wtemplate.getFontClass("map"),e.tools.geolayer.active?"toggled":""],attrs:{"data-placement":"right","data-toggle":"tooltip"},on:{click:function(t){return t.stopPropagation(),e.getDataFromBBOX(t)}}}):e._e(),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.tools.show,expression:"tools.show"},{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"layer_selection_filter.tools.clear",expression:"'layer_selection_filter.tools.clear'",modifiers:{create:!0}}],staticClass:"skin-color action-button skin-tooltip-right","class":e.g3wtemplate.getFontClass("clear"),attrs:{"data-placement":"right","data-toggle":"tooltip"},on:{click:function(t){return t.stopPropagation(),e.clearAllSelection(t)}}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.tools.show,expression:"tools.show"},{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"layer_selection_filter.tools.invert",expression:"'layer_selection_filter.tools.invert'",modifiers:{create:!0}}],staticClass:"skin-color action-button skin-tooltip-right","class":[e.g3wtemplate.getFontClass("invert"),e.tools.filter.active?"g3w-disabled":""],attrs:{"data-placement":"right","data-toggle":"tooltip"},on:{click:function(t){return t.stopPropagation(),e.switchSelection(t)}}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.tools.show,expression:"tools.show"},{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"layer_selection_filter.tools.filter",expression:"'layer_selection_filter.tools.filter'",modifiers:{create:!0}}],staticClass:"skin-color action-button skin-tooltip-right","class":[e.g3wtemplate.getFontClass("filter"),e.tools.filter.active?"toggled":""],attrs:{"data-placement":"right","data-toggle":"tooltip"},on:{click:function(t){return t.stopPropagation(),e.toggleFilterToken(t)}}})])},n.staticRenderFns=[],n._scopeId="data-v-c96b7c92"},{"core/applicationstate":8,"vueify/lib/insert-css":2}],338:[function(e,t,r){e("vueify/lib/insert-css").insert(".tool_disabled[data-v-151d1c02]{cursor:not-allowed}.tool_disabled>span[data-v-151d1c02]{color:#777}");!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("core/applicationservice").getState(),n=e("gui/gui"),i={alert:{color:"red"},info:{color:"blue"},warning:{color:"orange"}};r["default"]={name:"g3w-tool",props:{tool:{required:!0}},data:function(){return{}},methods:{fireAction:function(e){this.tool.action(e)},showToolStateMessage:function(){n.showModalDialog({title:this.tool.state.type.toUpperCase(),message:this.tool.state.message})}},computed:{disabled:function(){return!this.tool.offline&&!t.online||this.tool.loading||this.tool.disabled},icon:function(){return this.tool.icon||"caret-right"},toolstatecolor:function(){return i[this.tool.state.type].color}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",["checkbox"===e.tool.type?r("div",{staticClass:"checkbox"},[r("label",[r("input",{directives:[{name:"model",rawName:"v-model",value:e.tool.isCheck,expression:"tool.isCheck"}],staticStyle:{cursor:"pointer"},attrs:{id:e.tool.layerName,type:"checkbox"},domProps:{value:e.tool.layerName,checked:Array.isArray(e.tool.isCheck)?e._i(e.tool.isCheck,e.tool.layerName)>-1:e.tool.isCheck},on:{click:function(t){return e.fireAction(e.tool)},change:function(t){var r=e.tool.isCheck,n=t.target,i=!!n.checked;if(Array.isArray(r)){var a=e.tool.layerName,o=e._i(r,a);n.checked?o<0&&e.$set(e.tool,"isCheck",r.concat([a])):o>-1&&e.$set(e.tool,"isCheck",r.slice(0,o).concat(r.slice(o+1))); -}else e.$set(e.tool,"isCheck",i)}}}),e._v("\n "+e._s(e.tool.name)+"\n ")])]):r("div",{staticClass:"tool","class":{tool_disabled:e.disabled},staticStyle:{position:"relative"},on:{click:function(t){e.disabled?null:e.fireAction(e.tool)}}},[r("bar-loader",{attrs:{loading:e.tool.loading}}),e._v(" "),r("i",{"class":e.g3wtemplate.getFontClass(e.icon)}),e._v(" "),e.tool.html?r("span",[r("i",{"class":e.tool.html.icon}),e._v("\n "+e._s(e.tool.html.text||e.tool.name)+"\n ")]):r("span",{directives:[{name:"t",rawName:"v-t",value:e.tool.name,expression:"tool.name"}]}),e._v(" "),e.tool.state.type?r("span",{staticStyle:{cursor:"pointer","vertical-align":"center",position:"absolute",right:"0",top:"0",padding:"5px"},style:{color:e.toolstatecolor},on:{click:function(t){return t.stopPropagation(),e.showToolStateMessage(t)}}},[r("i",{"class":e.g3wtemplate.getFontClass(e.tool.state.type)})]):e._e()],1)])},n.staticRenderFns=[],n._scopeId="data-v-151d1c02"},{"core/applicationservice":7,"gui/gui":150,"vueify/lib/insert-css":2}],339:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/Tool.vue"),i=t(n);r["default"]={data:function(){return{state:null}},watch:{"state.toolsGroups":{handler:function(e){this.$emit("visible",e.length>0)}}},components:{G3wTool:i["default"]}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"g3w-tools treeview-menu"},[r("bar-loader",{attrs:{loading:e.state.loading}}),e._v(" "),e._l(e.state.toolsGroups,function(t){return r("li",{key:t.name},[r("div",{staticClass:"tool-header"},[r("i",{"class":e.g3wtemplate.getFontClass("tool")}),e._v(" "),r("span",{},[e._v(e._s(t.name))])]),e._v(" "),r("div",{staticClass:"tool-box",attrs:{id:t.name+"-tools"}},e._l(t.tools,function(e){return r("g3w-tool",{key:e.name,attrs:{tool:e}})}),1)])})],2)},n.staticRenderFns=[]},{"components/Tool.vue":338}],340:[function(e,t,r){e("vueify/lib/insert-css").insert(".usermessage-content[data-v-b6eb8b7c]{color:#fff;z-index:1000;position:absolute;line-height:normal;padding:3px;min-width:250px;box-shadow:0 3px 5px rgba(0,0,0,.3);-moz-box-shadow:0 3px 5px rgba(0,0,0,.3)}.usermessage-content.mobile[data-v-b6eb8b7c]{padding:0;min-width:100%}.usermessage-header-content[data-v-b6eb8b7c]{display:flex;align-items:baseline;justify-content:space-between;width:100%}.usermessage-header-icontype[data-v-b6eb8b7c]{padding:10px 0 0 5px;font-weight:700;font-size:1.3em}.usermessage-content.mobile .usermessage-header-icontype[data-v-b6eb8b7c]{padding:0 0 0 5px;font-size:1.1em}.usermessage-header-title[data-v-b6eb8b7c],.usermessage-header-title h4[data-v-b6eb8b7c]{font-weight:700;text-align:center}.usermessage-content.mobile .usermessage-header-title h4[data-v-b6eb8b7c]{margin:0}.usermessage-header-subtitle[data-v-b6eb8b7c]{font-weight:700;margin:5px}.usermessage-header-right[data-v-b6eb8b7c]{padding:5px}.usermessage-header-right-item[data-v-b6eb8b7c]{font-weight:700!important;font-size:1.2em;cursor:pointer}.usermessage-message[data-v-b6eb8b7c]{width:100%;padding:0 0 3px 10px;max-height:100px;font-size:1.1em;align-self:flex-start;overflow-y:auto}");!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&this.state.secondaryPerc<100&&e<100&&e>0},showresizeicon:function(){return 100!==this.state.secondaryPerc},hooks:function(){return this.usermessage.hooks},usermessage:function(){return this.state.usermessage},showtitle:function y(){var y=!0,e=this.state.content.contentsdata;if(e.length){var t=e[e.length-1].options;_.isBoolean(t.showtitle)&&(y=t.showtitle)}return y},showContent:function(){return this.state.content.show},styles:function(){return{map:{width:this.state.map.sizes.width+"px",height:this.state.map.sizes.height+"px"},content:{width:this.state.content.sizes.width+"px",height:this.state.content.sizes.height+"px",zIndex:h.ZINDEXES.usermessage.tool+1,minHeight:"v"===this.state.split?f.viewport.resize.content.min+"px":null}}},contentTitle:function(){var e=this.state.content.contentsdata;if(e.length){var t=e[e.length-1].options,r=t.title,n=t.post_title;return{title:r,post_title:n}}},backOrBackTo:function(){var e=this.state.content.contentsdata;return!!(e.length>1&&this.state.content.showgoback)&&(e[e.length-2].options.title?"backto":"back")},previousTitle:function(){var e=this,t=this.state.content.contentsdata,r=t.length>1&&this.state.content.showgoback?t[t.length-2].options.title:null;return this.updatePreviousTitle=!0,this.$nextTick(function(){return e.updatePreviousTitle=!1}),r}},methods:{isNotLastCrumb:function(e){return en-f.viewport.resize.content.min?a=n-f.viewport.resize.content.min:a1?r("section",{ref:e.breadcrumb,staticClass:"content_breadcrumb"},e._l(e.breadcrumb,function(t,n){return r("span",{key:t.title},[r("span",{directives:[{name:"t",rawName:"v-t",value:t.title,expression:"crumb.title"}],staticClass:"skin-color-dark",style:{fontWeight:e.isNotLastCrumb(n)?"bold":"normal"}}),e._v(" "),e.isNotLastCrumb(n)?r("span",{staticStyle:{"font-weight":"bold",margin:"3px 0"}},[e._v("/")]):e._e()])}),0):e._e(),e._v(" "),e.showtitle&&e.contentTitle||e.previousTitle||e.state.content.closable&&e.state.content.aside?r("div",{staticClass:"close-panel-block",staticStyle:{display:"flex","justify-content":"space-between"}},[e.previousTitle?r("div",{staticClass:"g3w_contents_back g3w-long-text"},["back"===e.backOrBackTo?r("div",{"class":e.backOrBackTo},[r("span",{staticClass:"action-button","class":e.g3wtemplate.getFontClass("back")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"back",expression:"'back'"}]})]):r("div",{"class":e.backOrBackTo,on:{click:function(t){return t.stopPropagation(),e.gotoPreviousContent()}}},[r("span",{staticClass:"action-button","class":e.g3wtemplate.getFontClass("back")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"backto",expression:"'backto'"}]}),e._v(" "),e.updatePreviousTitle?e._e():r("span",{directives:[{name:"t",rawName:"v-t",value:e.previousTitle,expression:"previousTitle"}]})])]):e._e(),e._v(" "),!e.previousTitle&&e.showtitle&&e.contentTitle?r("div",{staticClass:"panel-title","class":{mobile:e.isMobile()},style:[e.state.content.style.title]},[r("span",{attrs:{id:"contenttitle"}},[r("span",{directives:[{name:"t",rawName:"v-t",value:e.contentTitle.title,expression:"contentTitle.title"}]}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:e.contentTitle.post_title,expression:"contentTitle.post_title"}]})])]):e._e(),e._v(" "),r("div",{staticClass:"g3-content-header-action-tools",staticStyle:{display:"flex"}},[e._l(e.state.content.headertools,function(e){return r(e,{tag:"component"})}),e._v(" "),e.showresizeicon?r("resize-icon",{staticStyle:{"font-size":"1em",padding:"0","align-self":"center","margin-left":"auto"},style:{marginRight:e.state.content.closable?"5px":"0px"},attrs:{type:e.state.split}}):e._e(),e._v(" "),e.state.content.closable&&e.state.content.aside?r("span",{staticClass:"action-button","class":{mobile:e.isMobile()},staticStyle:{display:"flex","justify-content":"center"},on:{click:e.closeContent}},[r("i",{staticClass:"skin-color-dark","class":e.g3wtemplate.getFontClass("close")})]):e._e()],2)]):e._e(),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.state.content.loading,expression:"state.content.loading"}],staticClass:"bar-loader"})])],1)},n.staticRenderFns=[],n._scopeId="data-v-fe1b89e0"},{"../app/constant":5,"components/NotifyDownload.vue":304,"components/NotifyOnline.vue":305,"components/NotifyPlugins.vue":306,"components/UserMessage.vue":340,"gui/constraints":143,"gui/gui":150,"services/viewport":401,"vueify/lib/insert-css":2}],342:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={data:function(){return{state:null}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"contents",attrs:{id:"contents"}})},n.staticRenderFns=[]},{}],343:[function(e,t,r){e("vueify/lib/insert-css").insert(".g3w-add-wms-url-message[data-v-743ab663]{font-weight:700;color:#000}.g3w-wmsurl-error[data-v-743ab663]{background-color:red}.g3w-wmsurl-already-added[data-v-743ab663]{background-color:orange}.wms_url_input_content[data-v-743ab663]{margin-bottom:5px}.wms-icon-action[data-v-743ab663]{font-weight:700;font-size:1.3em;box-shadow:0 5px 10px #1e282c}.wms-icon-action[data-v-743ab663]:hover{box-shadow:none}");!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/utils/utils"),i=n.isURL;r["default"]={name:"sidebaritem",data:function(){return{url:null,id:null,loading:!1,status:{error:!1,added:!1}}},computed:{inputswmsurlvalid:function(){return null!==this.url&&this.url.trim()&&i(this.url)&&null!==this.id&&this.id.trim()}},methods:{addwmsurl:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){var e,t,r;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return this.loading=!0,n.next=3,this.$options.service.addNewUrl({url:this.url,id:this.id});case 3:e=n.sent,t=e.error,r=e.added,this.status.error=t,this.status.added=r,this.loading=!1;case 9:case"end":return n.stop()}},n,this)}));return e}(),deleteWmsUrl:function(e){this.$options.service.deleteWmsUrl(e)},showWmsLayersPanel:function(){function e(e){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(e){var t,r,i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,this.loading=!0,n.next=4,this.$options.service.loadWMSDataAndShowWmsLayersPanel(e);case 4:t=n.sent,r=t.error,i=t.added,this.status.error=r,this.status.added=i,this.loading=!1,n.next=15;break;case 12:n.prev=12,n.t0=n["catch"](0);case 15:case"end":return n.stop()}},n,this,[[0,12]])}));return e}()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"treeview-menu g3w-tools menu-items"},[e.loading?r("li",[r("bar-loader",{attrs:{loading:e.loading}})],1):e._e(),e._v(" "),r("li",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-between",background:"transparent !important","margin-bottom":"10px"}},[r("div",{staticClass:"wms_url_input_content"},[r("label",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.panel.label.name",expression:"'sidebar.wms.panel.label.name'"}],attrs:{"for":"add_custom_name_url_wms_input"}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.id,expression:"id"}],staticClass:"form-control",staticStyle:{width:"100%",color:"#000000"},attrs:{id:"add_custom_name_url_wms_input"},domProps:{value:e.id},on:{input:function(t){t.target.composing||(e.id=t.target.value)}}})]),e._v(" "),r("div",{staticClass:"wms_url_input_content"},[r("label",{attrs:{"for":"add_custom_url_wms_input"}},[e._v("URL")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.url,expression:"url"}],staticClass:"form-control",staticStyle:{width:"100%",color:"#000000"},attrs:{id:"add_custom_url_wms_input"},domProps:{value:e.url},on:{input:function(t){t.target.composing||(e.url=t.target.value)}}})]),e._v(" "),r("div",[r("button",{directives:[{name:"disabled",rawName:"v-disabled",value:!e.inputswmsurlvalid,expression:"!inputswmsurlvalid"}],staticClass:"btn btn-block skin-background-color",staticStyle:{width:"100%"},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.addwmsurl(t)}}},[r("i",{"class":e.g3wtemplate.getFontClass("plus-square")})])])]),e._v(" "),e.status.error?r("li",[r("div",{directives:[{name:"t",rawName:"v-t",value:"server_error",expression:"'server_error'"}],staticClass:"g3w-add-wms-url-message g3w-wmsurl-error"})]):e.status.added?r("li",[r("div",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.url_already_added",expression:"'sidebar.wms.url_already_added'"}],staticClass:"g3w-add-wms-url-message g3w-wmsurl-already-added"})]):e._e(),e._v(" "),r("li",{staticClass:"skin-border-color",staticStyle:{background:"transparent !important","border-top":"2px solid"}},[r("div",{staticStyle:{"max-height":"200px","overflow-y":"auto"}},[e._l(e.state.adminwmsurls,function(t){var n=t.id;t.url;return r("div",{key:e.wmsurl,staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","border-bottom":"1px solid #cccccc","padding-bottom":"3px"}},[r("span",{staticClass:"g3w-long-text",staticStyle:{"flex-grow":"1","margin-right":"15px"}},[e._v(e._s(n))]),e._v(" "),r("span",{staticClass:"skin-color",staticStyle:{padding:"5px"},on:{click:function(t){return t.stopPropagation(),e.showWmsLayersPanel(n)}}},[r("i",{"class":e.g3wtemplate.getFontClass("plus-square"),staticStyle:{"font-weight":"bold","font-size":"1.3em"}})])])}),e._v(" "),e._l(e.state.localwmsurls,function(t){var n=t.id,i=t.url;return r("div",{key:n,staticStyle:{"border-bottom":"1px solid #cccccc","padding-bottom":"3px"}},[r("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","padding-top":"3px"}},[r("span",{staticClass:"g3w-long-text",staticStyle:{"flex-grow":"1","margin-right":"15px","font-weight":"bold"}},[e._v(e._s(n))]),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:top.create",value:"sidebar.wms.add_wms_layer",expression:"'sidebar.wms.add_wms_layer'",arg:"top",modifiers:{create:!0}}],staticClass:"skin-color",staticStyle:{padding:"3px",margin:"2px"},on:{click:function(t){return t.stopPropagation(),e.showWmsLayersPanel(i)}}},[r("i",{staticClass:"wms-icon-action","class":e.g3wtemplate.getFontClass("plus-square")})]),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:top.create",value:"sidebar.wms.delete_wms_url",expression:"'sidebar.wms.delete_wms_url'",arg:"top",modifiers:{create:!0}}],staticStyle:{color:"red",padding:"3px",margin:"2px"},on:{click:function(t){return t.stopPropagation(),e.deleteWmsUrl(n)}}},[r("i",{staticClass:"wms-icon-action","class":e.g3wtemplate.getFontClass("trash"),staticStyle:{color:"red"}})])]),e._v(" "),r("div",{staticClass:"g3w-long-text",staticStyle:{"font-size":"0.7em"},attrs:{title:i}},[e._v(e._s(i))])])})],2)])])},n.staticRenderFns=[],n._scopeId="data-v-743ab663"},{"core/utils/utils":92,"vueify/lib/insert-css":2}],344:[function(e,t,r){e("vueify/lib/insert-css").insert(".g3w-wms-panel-title[data-v-a595b2a2]{font-size:1.2em;font-weight:700;margin-bottom:10px}button.wms-add-layer-buttom[data-v-a595b2a2]{width:100%;margin-top:10px}.g3w-wms-external-panel-layer-added-message[data-v-a595b2a2]{font-weight:700;color:red;margin:5px 0}");!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("g3w-ol/projection/projections");r["default"]={name:"wmpspanel",data:function(){return{loading:!1,position:void 0,name:void 0,title:null,"abstract":null,map_formats:[],info_formats:[],layers:[],selectedlayers:[],projections:[],epsg:null,added:!1}},methods:{addWMSlayer:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e={url:this.url,name:this.name&&this.name.trim()||void 0,layers:this.selectedlayers,epsg:this.epsg,position:this.position},this.added=this.$options.service.checkIfWMSAlreadyAdded(e),this.added){t.next=13;break}return this.loading=!0,t.prev=4,t.next=7,this.$options.service.addWMSlayer(e);case 7:t.next=11;break;case 9:t.prev=9,t.t0=t["catch"](4);case 11:this.loading=!1,this.clear();case 13:case"end":return t.stop()}},n,this,[[4,9]])}));return e}(),clear:function(){this.selectedlayers=[],this.name=null},filterLayerByCurrentEpsg:function(){var e=this;this.layers=null!==this.epsg?this.layers.filter(function(t){var r=t.name;return e.layerProjections[r].crss.indexOf(e.epsg)!==-1}):this.$options.config.layers}},watch:{selectedlayers:function(e){var t=this;if(e.length){var r=e[0];1===e.length?(this.epsg=this.layerProjections[r].crss[0],this.projections=this.layerProjections[r].crss):this.projections=this.projections.filter(function(r){return t.layerProjections[e[e.length-1]].crss.index(r)!==-1})}else this.epsg=null,this.projections=[]},epsg:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.filterLayerByCurrentEpsg();case 3:case"end":return e.stop()}},n,this)}));return e}()},created:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function i(){var e,t,r,a,o,s=this;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:e=this.$options.config,t=e.layers,r=e.title,a=e["abstract"],o=e.wmsurl,this.layerProjections={},this.url=o,t.forEach(function(e){s.layerProjections[e.name]={crss:e.crss.map(function(e){return n.get(e),"EPSG:"+e.epsg}).sort(),title:e.title}}),this.layers=t,this.title=r,this["abstract"]=a;case 7:case"end":return i.stop()}},i,this)}));return e}(),beforeDestroy:function(){this.$data=null}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.loading,expression:"loading"}]},[r("bar-loader",{attrs:{loading:e.loading}}),e._v(" "),r("h3",{staticClass:"skin-color g3w-wms-panel-title"},[e._v(e._s(e.title))]),e._v(" "),e["abstract"]?r("helpdiv",{attrs:{message:e["abstract"]}}):e._e(),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.panel.label.layers",expression:"'sidebar.wms.panel.label.layers'"}],attrs:{"for":"g3w-wms-layers"}}),e._v(" "),r("select",{directives:[{name:"select2",rawName:"v-select2",value:"selectedlayers",expression:"'selectedlayers'"}],attrs:{id:"g3w-wms-layers",multiple:"multiple",clear:"true"}},e._l(e.layers,function(t){return r("option",{key:t.name,domProps:{value:t.name}},[e._v(e._s(t.title))])}),0),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.panel.label.projections",expression:"'sidebar.wms.panel.label.projections'"}],attrs:{"for":"g3w-wms-projections"}}),e._v(" "),r("select",{directives:[{name:"select2",rawName:"v-select2",value:"epsg",expression:"'epsg'"}],attrs:{id:"g3w-wms-projections"}},e._l(e.projections,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])}),0),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.panel.label.name",expression:"'sidebar.wms.panel.label.name'"}],attrs:{"for":"g3w-wms-layer-name"}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"name"}],staticClass:"form-control",attrs:{id:"g3w-wms-layer-name"},domProps:{value:e.name},on:{input:function(t){t.target.composing||(e.name=t.target.value)}}}),e._v(" "),e.added?r("div",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.layer_id_already_added",expression:"'sidebar.wms.layer_id_already_added'"}],staticClass:"g3w-wms-external-panel-layer-added-message"}):e._e(),e._v(" "),r("layerspositions",{attrs:{position:e.position},on:{"layer-position-change":function(t){e.position=t}}}),e._v(" "),r("button",{directives:[{name:"disabled",rawName:"v-disabled",value:0===e.selectedlayers.length,expression:"selectedlayers.length === 0"}],staticClass:"btn wms-add-layer-buttom sidebar-button skin-button",on:{click:function(t){return t.stopPropagation(),e.addWMSlayer(t)}}},[r("i",{"class":e.g3wtemplate.getFontClass("plus-square"),staticStyle:{"font-weight":"bold"}})])],1)},n.staticRenderFns=[],n._scopeId="data-v-a595b2a2"},{"g3w-ol/projection/projections":135,"vueify/lib/insert-css":2}],345:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("app/config"),a=n(i);r["default"]=a["default"]},{"app/config":4}],346:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/utils/utils"),i=n.uniqueId,a=new Vue,o={};r.watch=function(e){var t=e.el,r=e.attr,n=e.watcher,s=i();t.setAttribute(r,s);var l=o[s]={};return n&&(l.unwatch=a.$watch(n[0],n[1],n[2]||{immediate:!0}),l.handler=n[1]),s},r.unwatch=function(e){var t=e.el,r=e.attr,n=t.getAttribute(r);n&&(o[n].unwatch(),delete o[n])},r.trigger=function(e){var t=e.el,r=e.attr,n=e.data;return o[t.getAttribute(r)].handler(n)}},{"core/utils/utils":92}],347:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e,t){t.value?e.setAttribute("checked","checked"):e.removeAttribute("checked")}},{}],348:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e,t){var r="g3w-disabled";t.value?e.classList.contains(r)||e.classList.add(r):e.classList.remove(r)}},{}],349:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s="g3w-v-download-id";r["default"]={bind:function(e,t){("boolean"!=typeof t.value||t.value)&&(0,o.watch)({el:e,attr:s,watcher:[function(){return a["default"].download},function(r){var n=t.modifiers&&t.modifiers.show&&"hide"||"disabled";e.classList.toggle("g3w-"+n,"hide"===n?!r:r)}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:s})}}},{"core/applicationstate":8,"directives/utils":346}],350:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s="g3w-v-offline-id";r["default"]={bind:function(e,t){(0,o.watch)({el:e,attr:s,watcher:[function(){return a["default"].online},function(r){r=t.arg&&"hide"===t.arg?!r:r,e.classList.toggle("g3w-hide",!r)}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:s})}}},{"core/applicationstate":8,"directives/utils":346}],351:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s="g3w-v-plugins-id";r["default"]={bind:function(e){(0,o.watch)({el:e,attr:s,watcher:[function(){ -return a["default"].plugins},function(t){e.classList.toggle("g3w-hide",0===t.length)}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:s})}}},{"core/applicationstate":8,"directives/utils":346}],352:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={inserted:function(e,t,r){var n=r.data.attrs||{},i=n.templateResult,a=n.templateSelection,o=n.multiple,s=void 0!==o&&o,l=n.search,u=void 0===l||l,c=n.select2_value;$(e).select2({width:"100%",dropdownCssClass:"skin-color",templateResult:i,templateSelection:a,minimumResultsForSearch:u?void 0:-1}).on("select2:select",function(e){if(t.value){var n=e.params.data.id;s&&0===r.context[t.value].filter(function(e){return n===e}).length?r.context[t.value].push(n):r.context[t.value]=n}}).on("select2:unselect",function(e){t.value&&s&&(r.context[t.value]=r.context[t.value].filter(function(t){return e.params.data.id!==t}))}),t.value&&c&&$(e).val(c).trigger("change")},unbind:function(e){$(e).select2("destroy")}}},{}],353:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e,t){e.toggleAttribute("selected",0===t.value)}},{}],354:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.t,u="g3w-v-t-html-id";r["default"]={bind:function(e,t){(0,o.watch)({el:e,attr:u,watcher:[function(){return a["default"].lng},function(){e.innerHTML=""+l(t.value)}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:u})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],355:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.t,u=s.tPlugin,c="g3w-v-t-placeholder-id";r["default"]={bind:function(e,t){(0,o.watch)({el:e,attr:c,watcher:[function(){return a["default"].lng},function(){e.setAttribute("placeholder",("plugin"===t.arg?u:l)(t.value))}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:c})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],356:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.tPlugin,u="g3w-v-t-plugin-id";r["default"]={bind:function(e,t){var r=e.innerHTML;(0,o.watch)({el:e,attr:u,watcher:[function(){return a["default"].lng},function(){var n=null!==t.value?l(t.value):"";switch(t.arg?t.arg:"post"){case"pre":e.innerHTML=n+" "+r;break;case"post":e.innerHTML=r+" "+n}}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:u})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],357:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.t,u=s.tPlugin,c="g3w-v-t-title-id";r["default"]={bind:function(e,t){(0,o.watch)({el:e,attr:c,watcher:[function(){return a["default"].lng},function(){var r=("plugin"===t.arg?u:l)(t.value);e.setAttribute("title",r),e.setAttribute("data-original-title",r)}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:c})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],358:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.t,u=s.tPlugin,c="g3w-v-t-tooltip-id";r["default"]={bind:function(e,t){t.modifiers.create&&(t.arg&&(e.setAttribute("data-placement",t.arg),e.classList.add("skin-color","skin-tooltip-"+t.arg)),$(e).tooltip({trigger:a["default"].ismobile?"click":"hover",html:!0}).on("shown.bs.tooltip",function(){a["default"].ismobile&&setTimeout(function(){return $(e).tooltip("hide")},600)})),(0,o.watch)({el:e,attr:c,watcher:[function(){return a["default"].lng},function(r){var n=r.el,i=void 0===n?e:n,a=i.getAttribute("current-tooltip");null===a&&(a=t.value),i.setAttribute("data-original-title",t.modifiers.text?a:("plugin"===t.arg?u:l)(a))}]})},componentUpdated:function(e,t){var r=e.getAttribute("current-tooltip");null!=r&&r!==t.oldValue&&(0,o.trigger)({el:e,attr:c,data:{el:e}})},unbind:function(e){$(e).tooltip("hide"),(0,o.unwatch)({el:e,attr:c})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],359:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.t,u="g3w-v-t-id";r["default"]={bind:function(e,t){var r=e.innerHTML;(0,o.watch)({el:e,attr:u,watcher:[function(){return a["default"].lng},function(){var n=null!==t.value?l(t.value):"";switch(t.arg?t.arg:"post"){case"pre":e.innerHTML=n+" "+r;break;case"post":e.innerHTML=r+" "+n}}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:u})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],360:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"Diese Website verwendet Cookies, um Ihnen die bestmögliche Erfahrung auf unserer Website zu bieten.",buttonText:"Verstanden!"},"default":"default",sign_in:"Anmelden",layer_selection_filter:{tools:{filter:"Filter hinzufügen/entfernen",nofilter:"Filter entfernen",invert:"Auswahl umkehren",clear:"Auswahl löschen",show_features_on_map:"Auf der Karte sichtbare Features anzeigen"}},warning:{not_supported_format:"Nicht unterstütztes Format"},layer_position:{top:"OBEN",bottom:"UNTEN",message:"Position relativ zu den Layern im TOC"},sdk:{search:{all:"ALLE",no_results:"Keine Ergebnisse",searching:"Suchen ...",error_loading:"Fehler beim Datenladen",layer_not_searchable:"Layer ist nicht durchsuchbar",layer_not_querable:"Layer ist nicht abfragbar",autocomplete:{inputshort:{pre:"Bitte",post:"oder mehrere Zeichen eingeben"}}},print:{no_layers:"Kein Layer zu drucken",template:"Template",labels:"Labels",scale:"Skala",format:"Format",rotation:"Drehung",download_image:"Bild herunterladen",fids_instruction:"Akzeptierte Werte: von 1 bis [max]. Es ist möglich, ein Intervall einzugeben, z. B. 4-6",fids_example:"Bsp. 1,4-6 druckt id 1,4,5,6",help:"Die im Druck angezeigten Layer können die im Projekt definierten sein und nicht die auf der Karte angezeigten"},querybuilder:{search:{run:"Ausführen",info:"Information","delete":"Löschen",edit:"Bearbeiten"},messages:{changed:"Gespeichert",number_of_features:"Anzahl der Features"},panel:{button:{all:"ALLE",save:"SPEICHERN",test:"TEST",clear:"LÖSCHEN",run:"AUSFÜHREN",manual:"MANUELL"},layers:"LAYERS",fields:"FELDER",values:"WERTE",operators:"OPERATOREN",expression:"AUSDRUCK"},error_run:"Es ist ein Fehler aufgetreten. Bitte überprüfen Sie die Abfrage",error_test:"Während der Ausführung der Abfrage ist ein Fehler aufgetreten","delete":"Soll es gelöscht werden?",additem:"Geben Sie den Namen der neuen Suche ein"},errors:{layers:{load:"Einige Layer sind nicht verfügbar"},unsupported_format:"Nicht unterstütztes Format",add_external_layer:"Fehler im Ladevorgang des Layers"},metadata:{title:"Metadaten",groups:{general:{title:"ALLGEMEIN",fields:{title:"TITEL",name:"NAME",description:"BESCHREIBUNG","abstract":"ABASTRACT",keywords:"SCHLÜSSELWÖRTER",fees:"GEBÜHREN",accessconstraints:"ZUGRIFFSBESCHRÄNKUNG",contactinformation:"KONTAKTE",subfields:{contactinformation:{contactelectronicmailaddress:"Email",personprimary:"Referenzen",contactvoicetelephone:"Telefon",contactorganization:"Firma",ContactOrganization:"Firma",contactposition:"Position",ContactPosition:"Position",contactperson:"Person",ContactPerson:"Person"}},wms_url:"WMS"}},spatial:{title:"SPATIAL",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"LAYERS",fields:{layers:"LAYERS",subfields:{crs:"EPSG",bbox:"BBOX",title:"TITEL",name:"NAME",geometrytype:"GEOMETRIE",source:"QUELLE",attributes:"ATTRIBUTE","abstract":"ABSTRACT",attribution:"ATRIBUTION",keywords:"SCHLÜSSELWÖRTER",metadataurl:"METADATEN URL",dataurl:"DATEN URL"}},groups:{general:"ALLGEMEIN",spatial:"SPATIAL"}}}},tooltips:{relations:{form_to_row:"Zeilenansicht",row_to_form:"Formularansicht"},copy_map_extent_url:"Link zur Kartenansicht kopieren",download_shapefile:"Shapefile herunterladen",download_gpx:"DGPX herunterladen",download_gpkg:"GPKG herunterladen",download_csv:"CSV herunterladen",download_xls:"XLS herunterladen",show_chart:"Diagramm anzeigen",atlas:"Atlas drucken"},mapcontrols:{query:{tooltip:"Query layer",actions:{add_selection:{hint:"Auswahl hinzufügen/entfernen"},zoom_to_features_extent:{hint:"Zoom auf Feature-Ausdehnung"},add_features_to_results:{hint:"Hinzufügen/Entfernen von Features zu den Ergebnissen"},remove_feature_from_results:{hint:"Feature aus den Ergebnissen entfernen"},zoom_to_feature:{hint:"Zum Feature zoomen"},relations:{hint:"Relationen anzeigen"},relations_charts:{hint:"Relationship-Diagramm anzeigen"},download_features_shapefile:{hint:"Features Shapefile herunterladen"},download_shapefile:{hint:"Feature Shapefile herunterladen"},download_features_gpx:{hint:"Feature GPX herunterladen"},download_features_gpkg:{hint:"Feature GPKG herunterladen"},download_gpx:{hint:"Feature GPX herunterladen"},download_gpkg:{hint:"Feature GPKG herunterladen"},download_features_csv:{hint:"Features CSV herunterladen"},download_csv:{hint:"Feature CSV herunterladen"},download_features_xls:{hint:"Features XLS herunterladen"},download_xls:{hint:"Feature XLS herunterladen"},atlas:{hint:"Atlas drucken"},copy_zoom_to_fid_url:{hint:"Kopieren der Karten-URL mit dieser Geometrie-Feature-Erweiterung",hint_change:"Kopiert"}}},querybypolygon:{download:{title:"Attribute herunterladen",choiches:{feature:{label:"Nur Features"},feature_polygon:{label:"Features+Query Polygon"}}},tooltip:"Query nach Polygon",no_geometry:"Keine Geometrie in der Antwort",help:{title:"Hilfe - Abfrage nach Polygon",message:"\n
    \n
  • Wählen Sie einen Polygon Layer auf TOC.
  • \n
  • Stellen Sie sicher, dass der Layer sichtbar ist.
  • \n
  • Klicken Sie auf ein Feature des ausgewählten Layers.
  • \n
"}},querybybbox:{tooltip:"BBox Layer abfragen",nolayers_visible:"Es sind keine abfragbaren Layer sichtbar. Bitte setzen Sie mindestens einen sichtbaren wfs Layer, um die Abfrage zu starten",help:{title:"Hilfe - Abfrage des BBox Layers",message:"\n
    \n
  • Ein Quadrat auf der Karte ziehen, um unterstrichene Layer im TOC abzufragen
  • \n
"}},addlayer:{messages:{csv:{warning:"Das Ergebnis in der Karte ist unvollständig, da die unten stehende Liste fehlerhafter Einträge enthält:"}},tooltip:"Layer hinzufügen"},geolocation:{tooltip:"Geolokalisierung"},measures:{length:{tooltip:"Länge",help:"Klicken Sie auf die Karte, um die Linie zu zeichnen. Drücken Sie
CANC, wenn Sie den letzten Eckpunkt löschen möchten."},area:{tooltip:"Fläche",help:"Drücken Sie
CANC, wenn Sie den letzten Eckpunkt löschen wollen."}},scale:{no_valid_scale:"Ungültige Skala"},scaleline:{units:{metric:"Meter",nautical:"Nautische Meile"}}},relations:{relation_data:"Daten zur Relation",no_relations_found:"Keine Relationen gefunden",back_to_relations:"Zurück zu den Relationen",list_of_relations_feature:"Liste der Relationen des Features",error_missing_father_field:"Ein Feld fehlt"},workflow:{steps:{title:"Schritte"},next:"Weiter"},form:{loading:"Laden ...",inputs:{messages:{errors:{picklayer:"Kein Feature ausgewählt. Prüfen, ob der Layer in Bearbeitung oder im aktuellen Maßstab sichtbar ist"}},tooltips:{picklayer:"Wert aus dem Layer abrufen",lonlat:"Zum Abrufen der Koordinaten auf die Karte klicken"},input_validation_mutually_exclusive:"Feld schließt sich gegenseitig aus mit ",input_validation_error:"Obligatorisches Feld oder falscher Datentyp",input_validation_min_field:"Der Wert muss größer/gleich sein als der Feldwert ",input_validation_max_field:"Der Wert muss kleiner/gleich sein als der Feldwert ",input_validation_exclude_values:"Wert muss einmalig sein",integer:"integer",bigint:"integer",text:"text",varchar:"text",textarea:"text",string:"string",date:"date",datetime:"date","float":"float",table:"table"},footer:{required_fields:"Erforderliche Felder"},messages:{qgis_input_widget_relation:"Spezifisches Relations-Formular verwenden, um mit Relationen zu arbeiten"}},catalog:{current_map_theme_prefix:"THEMA",choose_map_theme:"THEMA AUSWÄHLEN",menu:{layerposition:"Position des Layers",setwmsopacity:"Opazität einstellen",wms:{title:"",copy:"Klicken Sie hier, um die Url zu kopieren",copied:"Kopiert"},download:{shp:"Shapefile herunterladen",gpx:"GPX herunterladen",gpkg:"GPKG herunterladen",csv:"CSV herunterladen",xls:"XLS herunterladen",geotiff:"GEOTIFF herunterladen",geotiff_map_extent:"GEOTIFF herunterladen (aktueller Ansichtsumfang)"}}},wps:{list_process:"Liste der Prozesse",tooltip:"Karte anklicken"}},credits:{g3wSuiteFramework:"Applikation basiert auf OS-Framework",g3wSuiteDescription:"Veröffentlichen und verwalten Sie Ihre QGIS-Projekte im Internet",productOf:"Framework entwickelt von"},toggle_color_scheme:"Farbschema umschalten",logout:"Logout",no_other_projects:"Kein weiteres Projekt für diese Gruppe",yes:"Ja",no:"No",back:"Zurück",backto:"Zurück zu ",changemap:"Karte ändern",component:"Allgemeine Komponente",search:"Suche",no_results:"Keine Ergebnisse gefunden",print:"Drucken",create_print:"Drucken erstellen",dosearch:"Suche",catalog:"Karte",data:"Daten",externalwms:"WMS",baselayers:"Base",tools:"Tools",tree:"Layers",legend:"Legende",nobaselayer:"Keine Basemap",street_search:"Adresse finden",show:"Anzeigen",hide:"Ausblenden",copy_form_data:"Daten kopieren",paste_form_data:"Einfügen",copy_form_data_from_feature:"Daten von der Karte kopieren",error_map_loading:"Fehler beim Laden der Karte",check_internet_connection_or_server_admin:"Internetverbindung prüfen oder Admin kontaktieren",could_not_load_vector_layers:"Verbindungsfehler: Layers können geladen werden",server_saver_error:"Fehler beim Speichern auf dem Server",server_error:"Server-Verbindungsfehler",save:"Speichern",cancel:"Abbrechen",close:"Schließen",enlange_reduce:"Vergrößern/Verkleinern",reset_default:"Standardgröße",add:"Hinzufügen",exitnosave:"Beenden ohne Speichern",annul:"Abbrechen",layer_is_added:"Layer mit gleichem Namen bereits hinzugefügt",sidebar:{wms:{panel:{title:"WMS Layer hinzufügen",label:{position:"Kartenposition",name:"Name",projections:"Projektion",layers:"Layers"}},add_wms_layer:"WMS Layer hinzufügen",delete_wms_url:"WMS Url löschen",layer_id_already_added:"WMS Layer bereits hinzugefügt",url_already_added:"WMS URL bereits hinzugefügt",layer_add_error:"WMS Layer nicht hinzugefügt. Bitte überprüfen Sie alle WMS-Parameter oder Url"}},info:{title:"Ergebnisse",list_of_relations:"List of Relations",open_link:"Beigefügtes Dokument öffnen",server_error:"Auf dem Server ist ein Fehler aufgetreten",no_results:"Keine Ergebnisse für diese Anfrage/Suche gefunden",link_button:"Öffnen"},mapcontrols:{geolocations:{error:"Position kann nicht bestimmt werden"},nominatim:{placeholder:"Addresse ...",noresults:"Keine Ergebnisse",notresponseserver:"Keine Antwort vom Server"},add_layer_control:{header:"Layer hinzufügen",select_projection:"Layer Projektion auswählen",select_field_to_show:"Feld auswählen, das auf der Karte angezeigt werden soll",select_csv_separator:"Begrenzer auswählen",select_csv_x_field:"X-Feld auswählen",select_csv_y_field:"Y-Feld auswählen",select_color:"Layer Farbe auswählen",drag_layer:"Layer hierher ziehen und ablegen"},query:{input_relation:"Klicken, um Relationen anzuzeigen"},length:{tooltip:"Länge"},area:{tooltip:"Area"},screenshot:{error:"Screenshot Fehlererstellung"}},catalog_items:{helptext:"Klicken Sie mit der rechten Maustaste auf einen einzelnen Layer, um auf zusätzliche Funktionen zuzugreifen",contextmenu:{zoomtolayer:"Zoom auf Layer",open_attribute_table:"Attributtabelle öffnen",show_metadata:"Metadaten",styles:"Stile",vector_color_menu:"Farbe einstellen/ändern"}},dataTable:{previous:"Vorherige",next:"Weiter",lengthMenu:"_MENÜ_ anzeigen",info:"Anzeige von _START_ bis _END_ der _TOTAL_ Einträge",no_data:"Keine Daten",nodatafilterd:"Keine passenden Datensätze gefunden",infoFiltered:"(gefiltert aus _MAX_ Gesamtsätzen)"}}}},{}],361:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"This website uses cookies to ensure you get the best experience on our website.",buttonText:"Got It!"},"default":"default",sign_in:"Sign in",layer_selection_filter:{tools:{filter:"Add/Remove Filter",nofilter:"Remove Filter",invert:"Invert Selection",clear:"Clear Selection",show_features_on_map:"Show features visible on map"}},warning:{not_supported_format:"Not supported format"},layer_position:{top:"TOP",bottom:"BOTTOM",message:"Position relative to layers on TOC"},sdk:{search:{all:"ALL",no_results:"No results",searching:"Searching ...",error_loading:"Error Loading Data",layer_not_searchable:"Layer is not searchable",layer_not_querable:"Layer is not querable",autocomplete:{inputshort:{pre:"Please enter",post:"or more characters"}}},print:{no_layers:"No Layer to print",template:"Template",labels:"Labels",scale:"Scale",format:"Format",rotation:"Rotation",download_image:"Download Image",fids_instruction:"Values accepted: from 1 to value of [max]. Is possible to insert a range ex. 4-6",fids_example:"Ex. 1,4-6 will be printed id 1,4,5,6",help:"The layers shown in the print could be those defined on the project and not those displayed on the map"},querybuilder:{search:{run:"Run",info:"Information","delete":"Delete",edit:"Edit"},messages:{changed:"Saved",number_of_features:"Number of features"},panel:{button:{all:"ALL",save:"SAVE",test:"TEST",clear:"CLEAR",run:"RUN",manual:"MANUAL"},layers:"LAYERS",fields:"FIELDS",values:"VALUES",operators:"OPERATORS",expression:"EXPRESSION"},error_run:"An error occurs. Please check the query",error_test:"An error occur during query execution","delete":"Do you want delete it?",additem:"Insert the name of the new search"},errors:{layers:{load:"Some layers are not available"},unsupported_format:"Not supported format",add_external_layer:"Load layer error"},metadata:{title:"Metadata",groups:{general:{title:"GENERAL",fields:{title:"TITLE",name:"NAME",description:"DESCRIPTION","abstract":"ABSTRACT",keywords:"KEYWORDS",fees:"FEES",accessconstraints:"ACCESS CONSTRAINT",contactinformation:"CONTACTS",subfields:{contactinformation:{contactelectronicmailaddress:"Email",personprimary:"Refereces",contactvoicetelephone:"Phone",contactorganization:"Organization",ContactOrganization:"Organization",contactposition:"Position",ContactPosition:"Position",contactperson:"Person",ContactPerson:"Person"}},wms_url:"WMS"}},spatial:{title:"SPATIAL",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"LAYERS",fields:{layers:"LAYERS",subfields:{crs:"EPSG",bbox:"BBOX",title:"TITLE",name:"NAME",geometrytype:"GEOMETRY",source:"SOURCE",attributes:"ATTRIBUTES","abstract":"ABSTRACT",attribution:"ATTRIBUTION",keywords:"PAROLE CHIAVE",metadataurl:"METADATA URL",dataurl:"DATA URL"}},groups:{general:"GENERAL",spatial:"SPATIAL"}}}},tooltips:{relations:{form_to_row:"Row View",row_to_form:"Form View"},copy_map_extent_url:"Copy map view link",download_shapefile:"Download Shapefile",download_gpx:"Download GPX",download_gpkg:"Download GPKG",download_csv:"Download CSV",download_xls:"Download XLS",show_chart:"Show Chart",atlas:"Print Atlas"},mapcontrols:{query:{tooltip:"Query layer",actions:{add_selection:{hint:"Add/Remove Selection"},zoom_to_features_extent:{hint:"Zoom to features extent"},add_features_to_results:{hint:"Add/Remove features to results"},remove_feature_from_results:{hint:"Remove feature from results"},zoom_to_feature:{hint:"Zoom to feature"},relations:{hint:"Show Relations"},relations_charts:{hint:"Show relations chart"},download_features_shapefile:{hint:"Download features Shapefile"},download_shapefile:{hint:"Download feature Shapefile"},download_features_gpx:{hint:"Download feature GPX"},download_features_gpkg:{hint:"Download features GPKG"},download_gpx:{hint:"Download feature GPX"},download_gpkg:{hint:"Download feature GPKG"},download_features_csv:{hint:"Download features CSV"},download_csv:{hint:"Download feature CSV"},download_features_xls:{hint:"Download features XLS"},download_xls:{hint:"Download feature XLS"},atlas:{hint:"Print Atlas"},copy_zoom_to_fid_url:{hint:"Copy map URL with this geometry feature extension",hint_change:"Copied"}}},querybypolygon:{download:{title:"Attributes download",choiches:{feature:{label:"Features only"},feature_polygon:{label:"Features+Query Polygon"}}},tooltip:"Query By Polygon",no_geometry:"No geometry on response",help:{title:"Guide - Query By Polygon",message:"\n
    \n
  • Select a polygon layer on TOC.
  • \n
  • Be sure that layer is visible.
  • \n
  • Click on a feature of selected layer.
  • \n
"}},querybybbox:{tooltip:"Query BBox layer",nolayers_visible:"No querable layers are visible. Please set at least one visible wfs layer to run query",help:{title:"Guide - Query BBox layer",message:"\n
    \n
  • Draw a square on map to query underlined layers on TOC
  • \n
"}},addlayer:{messages:{csv:{warning:"The result in the map is partial due to the presence of the below incorrect records list:"}},tooltip:"Add Layer"},geolocation:{tooltip:"Geolocation"},measures:{length:{tooltip:"Length",help:"Click on map to draw the line. Press
CANC if you want delete last vertex"},area:{tooltip:"Area",help:"Click to draw poligon.Press
CANC if you want delete last vertex"}},scale:{no_valid_scale:"Invalid Scale"},scaleline:{units:{metric:"Meters",nautical:"Nautical Mile"}}},relations:{relation_data:"Relation data",no_relations_found:"No relations found",back_to_relations:"Back to relations",list_of_relations_feature:"List of relations of feature",error_missing_father_field:"Field is missing"},workflow:{steps:{title:"Steps"},next:"Next"},form:{loading:"Loading ...",inputs:{messages:{errors:{picklayer:"No feature selected. Check if layer is on editing or visible at current scale"}},tooltips:{picklayer:"Get value from ma layer",lonlat:"Click on map to get coordinates"},input_validation_mutually_exclusive:"Field mutually exclusive with ",input_validation_error:"Mandatory Field or wrong data type",input_validation_min_field:"Value has to be more/equal to field value ",input_validation_max_field:"Value has to be less/equal to field value ",input_validation_exclude_values:"Value has to be unique",integer:"integer",bigint:"integer",text:"text",varchar:"text",textarea:"text",string:"string",date:"date",datetime:"date","float":"float",table:"table"},footer:{required_fields:"Required fields"},messages:{qgis_input_widget_relation:"Use relation specific form to work with relation"}},catalog:{current_map_theme_prefix:"THEME",choose_map_theme:"CHOOSE THEME",menu:{layerposition:"Layer Position",setwmsopacity:"Set Opacity",wms:{title:"",copy:"Click here to copy url",copied:"Copied"},download:{shp:"Download Shapefile",gpx:"Download GPX",gpkg:"Download GPKG",csv:"Download CSV",xls:"Download XLS",geotiff:"Download GEOTIFF",geotiff_map_extent:"Download GEOTIFF(current view extent)"}}},wps:{list_process:"List of process",tooltip:"Click on map"}},credits:{g3wSuiteFramework:"Application based on OS framework",g3wSuiteDescription:"Publish and manage your QGIS projects on the web",productOf:"Framework developed by"},toggle_color_scheme:"Toggle color scheme",logout:"Logout",no_other_projects:"No more project for this group",yes:"Yes",no:"No",back:"Back",backto:"Back to ",changemap:"Change Map",component:"Generic Component",search:"Search",no_results:"No results found",print:"Print",create_print:"Create Print",dosearch:"Search",catalog:"Map",data:"Data",externalwms:"WMS",baselayers:"Base",tools:"Tools",tree:"Layers",legend:"Legend",nobaselayer:"No basemap",street_search:"Find Address",show:"Show",hide:"Hide",copy_form_data:"Copy data",paste_form_data:"Paste",copy_form_data_from_feature:"Copy data from map",error_map_loading:"Error occurs loading map",check_internet_connection_or_server_admin:"Check internet connection or contact admin",could_not_load_vector_layers:"Connection error: Layers can be loaded",server_saver_error:"Error in server saving",server_error:"Server connection error",save:"Save",cancel:"Cancel",close:"Close",enlange_reduce:"Enlarge/Reduce",reset_default:"Default size",add:"Add",exitnosave:"Exit without save",annul:"Cancel",layer_is_added:"Layer with same name already added",sidebar:{wms:{panel:{title:"Add WMS Layer",label:{position:"Map Position",name:"Name",projections:"Projection",layers:"Layers"}},add_wms_layer:"Add WMS layer",delete_wms_url:"Delete WMS url",layer_id_already_added:"WMS Layer already added",url_already_added:"WMS URL already added",layer_add_error:"WMS Layer not added. Please check all wms parameter or url"}},info:{title:"Results",list_of_relations:"List of Relations",open_link:"Open attached document",server_error:"An error occurred from server",no_results:"No results found for this query/search",link_button:"Open"},mapcontrols:{geolocations:{error:"Can't get your position"},nominatim:{placeholder:"Address ...",noresults:"No results",notresponseserver:"No response from server"},add_layer_control:{header:"Add Layer",select_projection:"Select layer projection",select_field_to_show:"Select Field to show on map",select_csv_separator:"Select delimiter",select_csv_x_field:"Select X field",select_csv_y_field:"Select Y field",select_color:"Select Layer Color",drag_layer:"Drag and drop layer here"},query:{input_relation:"Click to show relations"},length:{tooltip:"Length"},area:{tooltip:"Area"},screenshot:{error:"Screenshot error creation"}},catalog_items:{helptext:"Right-click on individual layer to access additional features",contextmenu:{zoomtolayer:"Zoom to Layer",open_attribute_table:"Open Attribute Table",show_metadata:"Metadata",styles:"Styles",vector_color_menu:"Set/Change Color"}},dataTable:{previous:"Previous",next:"Next",lengthMenu:"Show _MENU_",info:"Showing _START_ to _END_ of _TOTAL_ entries",no_data:"No data",nodatafilterd:"No matching records found",infoFiltered:"(filtered from _MAX_ total records)"}}}},{}],362:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"This website uses cookies to ensure you get the best experience on our website.",buttonText:"Got It!"},"default":"oletuksena",sign_in:"Kirjaudu sisään",layer_selection_filter:{tools:{filter:"Lisätä/Poista Suodattaa",nofilter:"Poista Suodattaa",invert:"Käänteinen Valinta",clear:"Peruuttaa Valinta",show_features_on_map:"Näytä kartalla näkyvät ominaisuudet"}},warning:{not_supported_format:"Not supported format"},layer_position:{top:"TOP",bottom:"BOTTOM",message:"Position relative to layers on TOC"},sdk:{search:{all:"KAIKKI",no_results:"Ei tuloksia",searching:"Haetaan ...",error_loading:"Virhe ladattaessa tietoja.",layer_not_searchable:"Taso ei ole haettavissa.",layer_not_querable:"Tasolle ei voi suorittaa kyselyitä.",autocomplete:{inputshort:{pre:"Syötä",post:"tai useampi merkki"}}},print:{no_layers:"Ei tulostettavia tasoja",template:"Template",labels:"Labels",scale:"Mittakaava",format:"Formaatti",rotation:"Kierto",download_image:"Lataa kuva",fids_instruction:"Hyväksytyt arvot: yhdestä arvoon [max]. Salittua syöttää myös väli, esim. 4-6.",fids_example:"Esimerkiksi 1,4-6 tulostuu id 1,4,5,6.",help:"Tulosteessa esiintyvät tasot voivat olla projektissa määriteltyjä ei kartalla esiintyviä."},querybuilder:{search:{run:"Suorita",info:"Informaatio","delete":"Poista",edit:"Muokkaa"},messages:{changed:"Tallennettu",number_of_features:"Ominaisuuksien lukumäärä"},panel:{button:{all:"KAIKKI",save:"TALLENNA",test:"TESTI",clear:"TYHJENNÄ",run:"SUORITA",manual:"MANUAALINEN"},layers:"TASOT",fields:"KENTÄT",values:"ARVOT",operators:"OPERAATTORIT",expression:"LAUSEKE"},error_run:"Tapahtui virhe. Tarkista kysely.",error_test:"Kyselyä suorittaessa tapahtui virhe.","delete":"Haluatko poistaa sen?",additem:"Anna nimi uudelle haulle."},errors:{layers:{load:"Jotkin tasot eivät ole saatavilla."},unsupported_format:"Ei tuettu formaatti",add_external_layer:"Tason latausvirhe"},metadata:{title:"Metatiedot",groups:{general:{title:"YLEINEN",fields:{title:"OTSIKKO",name:"NIMI",description:"KUVAUS","abstract":"TIIVISTELMÄ",keywords:"AVAINSANAT",fees:"MAKSUT",accessconstraints:"PÄÄSYRAJOITUKSET",contactinformation:"YHTEYSTIEDOT",subfields:{contactinformation:{contactelectronicmailaddress:"Sähköposti",personprimary:"Viitteet",contactvoicetelephone:"Puhelin",contactorganization:"Organisaatio",ContactOrganization:"Organisaatio",contactposition:"Asema",ContactPosition:"Asema",contactperson:"Yhteyshenkilö",ContactPerson:"Yhteyshenkilö"}},wms_url:"WMS"}},spatial:{title:"SPATIAL",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"TASOT",fields:{layers:"TASOT",subfields:{crs:"EPSG",bbox:"BBOX",title:"OTSIKKO",name:"NIMI",geometrytype:"GEOMETRIA",source:"LÄHDE",attributes:"ATTRIBUUTIT","abstract":"TIIVISTELMÄ",attribution:"ATTRIBUUTIO",keywords:"AVAINSANAT",metadataurl:"METATIEDON URL",dataurl:"DATA URL"}},groups:{general:"YLEINEN",spatial:"SPATIAL"}}}},tooltips:{relations:{form_to_row:"Rivinäkymä",row_to_form:"Taulukkonäkymä"},copy_map_extent_url:"Kopioi kartan katselulinkki",download_shapefile:"Lataa SHP-tiedosto",download_gpx:"Lataa GPX-tiedosto",download_gpkg:"Lataa GPKG-tiedosto",download_csv:"Lataa CSV-tiedosto",download_xls:"Lataa XLS-tiedosto",show_chart:"Näytä kaavio",atlas:"Tulosta Atlas"},mapcontrols:{query:{tooltip:"Kyselytaso",actions:{add_selection:{hint:"Lisää/Poista valinta"},zoom_to_features_extent:{hint:"Tarkenna ominaisuuden laajuuteen"},add_features_to_results:{hint:"Add/Remove features to results"},remove_feature_from_results:{hint:"Remove feature from results"},zoom_to_feature:{hint:"Tarkenna ominaisuuteen"},relations:{hint:"Näytä relaatiot"},relations_charts:{hint:"Näytä relaatiokaavio"},download_features_shapefile:{hint:"Lataa ominaisuuden SHP-tiedosto"},download_shapefile:{hint:"Lataa ominaisuuden SHP-tiedosto"},download_features_gpx:{hint:"Lataa ominaisuuden GPX-tiedosto"},download_features_gpkg:{hint:"Lataa ominaisuuden GPKG-tiedosto"},download_gpx:{hint:"Lataa ominaisuuden GPX-tiedosto"},download_gpkg:{hint:"Lataa ominaisuuden GPKG-tiedosto"},download_features_csv:{hint:"Lataa ominaisuuden CSV-tiedosto"},download_csv:{hint:"Lataa ominaisuuden CSV-tiedosto"},download_features_xls:{hint:"Lataa ominaisuuden XLS-tiedosto"},download_xls:{hint:"Lataa ominaisuuden XLS-tiedosto"},atlas:{hint:"Tulosta Atlas"},copy_zoom_to_fid_url:{hint:"Copy map URL with this geometry feature extension",hint_change:"Copied"}}},querybypolygon:{download:{title:"Attributes download",choiches:{feature:{label:"Features only"},feature_polygon:{label:"Features+Query Polygon"}}},tooltip:"Kysely monikulmiolla",no_geometry:"No geometry on response",help:{title:"Ohje - Kysely monikulmiolla",message:"\n
    \n
  • Valitse monikulmiotaso luettelosta.
  • \n
  • Tarkista, että taso on näkyvillä.
  • \n
  • Valitse ominaisuus valitulla tasolla.
  • \n
"}},querybybbox:{tooltip:"Tasoon kohdituva BBox-kysely",nolayers_visible:"Ei kyseltäviä tasoja näkyvillä. Aseta vähintään yksi WFS-taso näkyväksi suorittaaksesi haun.",help:{title:"Ohje - Tasoon kohdistuva BBox-kysely",message:"\n
    \n
  • Piirrä suorakulmio kartalle suorittaaksesi kyselyn luettelossa alleviivatuille tasoille.
  • \n
" -}},addlayer:{messages:{csv:{warning:"The result in the map is partial due to the presence of the below incorrect records list:"}},tooltip:"Lisää taso"},geolocation:{tooltip:"Maantieteellinen sijainti"},measures:{length:{tooltip:"Pituus",help:"Piirrä murtoviiva kartalle. Paina
CANC, mikäli haluat poistaa edellisen pisteen."},area:{tooltip:"Alue",help:"Piirrä monikulmio kartalle. Paina
CANC, mikäli haluat poistaa edellisen pisteen."}},scale:{no_valid_scale:"Väärä mittakaava"},scaleline:{units:{metric:"Meters",nautical:"Nautical Mile"}}},relations:{relation_data:"Relaation tiedot",no_relations_found:"Relaatiota ei löytynyt.",back_to_relations:"Takaisin relaatioihin",list_of_relations_feature:"Lista ominaisuuden relaatioista",error_missing_father_field:"Kenttä puuttu"},workflow:{steps:{title:"Vaiheet"},next:"Seuraava"},form:{loading:"Ladataan...",inputs:{messages:{errors:{picklayer:"Ominaisuuksia ei valiitu. Tarkista, että taso on muokattavissa tai näkyvissä nykyisellä mittakaavalla."}},tooltips:{picklayer:"Valitse arvo karttatasolta",lonlat:"Click on map to get coordinates"},input_validation_mutually_exclusive:"Kenttä toisensa poissulkeva.",input_validation_error:"Pakollinen kenttä tai väärä tietotyyppi.",input_validation_min_field:"Arvon tulee olla suurempi tai yhtäsuuri kuin kentän arvo.",input_validation_max_field:"Arvon tulee olla pienempi tai yhtäsuuri kuin kentän arvo.",input_validation_exclude_values:"Arvon tulee olla uniikki.",integer:"kokonaisluku",bigint:"kokonaisluku",text:"teksti",varchar:"teksti",textarea:"teksti",string:"merkkijono",date:"päiväys",datetime:"päiväys","float":"liukuluku",table:"taulukko"},footer:{required_fields:"Vaaditut kentät"},messages:{qgis_input_widget_relation:"Käytä relaatioiden määrittämiseen tähän tarkoitettua toimintoa"}},catalog:{current_map_theme_prefix:"THEME",choose_map_theme:"CHOOSE THEME",menu:{layerposition:"Layer Position",setwmsopacity:"Set Opacity",wms:{title:"",copy:"Paina tästä kopioidaksesi url:n.",copied:"Kopioitu."},download:{shp:"Lataa SHP-tiedosto",gpx:"Lataa GPX-tiedosto",gpkg:"Lataa GPKG-tiedosto",csv:"Lataa CSV-tiedosto",xls:"Lataa XLS-tiedosto",geotiff:"Lataa GEOTIFF-tiedosto",geotiff_map_extent:"Lataa GEOTIFF-tiedosto(current view extent)"}}},wps:{list_process:"Lista prosesseista",tooltip:"Valitse kartalta"}},credits:{g3wSuiteFramework:"Sovellus perustuu OS framework",g3wSuiteDescription:"Julkaise ja hallinnoi QGIS-projekteja verkossa.",productOf:"Frameworkin on kehittänyt"},toggle_color_scheme:"Toggle color scheme",logout:"Kirjaudu ulos",no_other_projects:"Ei projekteja tälle ryhmälle",yes:"Kyllä",no:"Ei",back:"Palaa",backto:"Takaisin ",changemap:"Vaihda karttaa",component:"Yleinen komponentti",search:"Hae",no_results:"Ei hakutuloksia",print:"Tulosta",create_print:"Luo tuloste",dosearch:"Hae",catalog:"Kartta",data:"Data",externalwms:"WMS",baselayers:"Taustakartta",tools:"Työkalut",tree:"Tasot",legend:"Merkintöjen selite",nobaselayer:"Ei taustakarttaa",street_search:"Hae osoite",show:"Näytä",hide:"Piilota",copy_form_data:"Kopioi tiedot",paste_form_data:"Liitä",copy_form_data_from_feature:"Kopioi tiedot kartalta",error_map_loading:"Virhe ladattessa karttaa",check_internet_connection_or_server_admin:"Tarkista internetyhteys tai ota yhteyttä ylläpitäjään.",could_not_load_vector_layers:"Yhteysvirhe, tasoja ei voida ladata.",server_saver_error:"Virhe tallentaessa palvelimelle.",server_error:"Yhteysvirhe palvelimeen",save:"Tallenna",cancel:"Peruuta",close:"Sulje",enlange_reduce:"Enlarge/Reduce",reset_default:"Default size",add:"Lisää",exitnosave:"Poistu tallentamatta",annul:"Peruuta",layer_is_added:"Samanniminen taso on jo lisätty.",sidebar:{wms:{panel:{title:"Add WMS Layer",label:{position:"Map Position",name:"Name",projections:"Projection",layers:"Layers"}},add_wms_layer:"Aggiungi WMS layer",delete_wms_url:"Delete WMS url",layer_id_already_added:"WMS Taso on jo lisätty.",url_already_added:"WMS URL on jo lisätty.",layer_add_error:"WMS Layer not added. Please check all wms parameter or url"}},info:{title:"Tulokset",list_of_relations:"List of Relations",open_link:"Avaa liitetiedosto",server_error:"Palvelimella tapahtui virhe.",no_results:"Ei tuloksia haulle/kyselylle.",link_button:"Avaa"},mapcontrols:{geolocations:{error:"Sijaintiasi ei saada"},nominatim:{placeholder:"Osoite ...",noresults:"Ei tuloksia",notresponseserver:"Ei vastausta palvelimelta"},add_layer_control:{header:"Lisää taso",select_projection:"Valitse tason projektio",select_field_to_show:"Select Field to show on map",select_csv_separator:"Select delimiter",select_csv_x_field:"Select X field",select_csv_y_field:"Select Y field",select_color:"Valitse tason väri",drag_layer:"Vedä ja pudota taso tähän"},query:{input_relation:"Paina näyttääksesi relaatiot"},length:{tooltip:"Pituus"},area:{tooltip:"Pinta-ala"},screenshot:{error:"Screenshot error creation"}},catalog_items:{helptext:"Napsauta hiiren kakkospainikkeella yksittäistä tasoa päästäksesi lisäominaisuuksiin.",contextmenu:{zoomtolayer:"Tarkenna tasoon",open_attribute_table:"Avaa attribuuttitaulu",show_metadata:"Metatiedot",styles:"Tyylejä",vector_color_menu:"Aseta/muuta väriä"}},dataTable:{previous:"Edellinen",next:"Seuraava",lengthMenu:"Show _MENU_ items",info:"Showing _START_ to _END_ of _TOTAL_ entries",no_data:"Ei tietoja",nodatafilterd:"Vastaavia tietueita ei löytynyt",infoFiltered:"(filtered from _MAX_ total records)"}}}},{}],363:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"Ce site utilise des cookies pour assurer une bonne convivialité pour l'utilisateur final.",buttonText:"J’ai compris !"},"default":"par défaut ",sign_in:"Se connecter ",layer_selection_filter:{tools:{filter:"Ajout/Suppression de filtre ",nofilter:"Supprimer le filtre ",invert:"Sélection inversée ",clear:"Effacer la sélection ",show_features_on_map:"Afficher les caractéristiques visibles sur la carte"}},warning:{not_supported_format:"Not supported format"},layer_position:{top:"TOP",bottom:"BOTTOM",message:"Position relative to layers on TOC"},sdk:{search:{all:"TOUTES",no_results:"Aucune valeur trouvée",searching:"Je cherche...",error_loading:"Erreur de chargement des valeurs",layer_not_searchable:"Le layer n’est pas recherchable",layer_not_querable:"Le layer n'est pas interrogeable",autocomplete:{inputshort:{pre:"Tapez au moins",post:"caractères"}}},print:{no_layers:"Aucune layer visible",scale:"Échelle",format:"Format",rotation:"Rotation",download_image:"Télécharger l'image",fids_instruction:"Valeurs acceptées : de 1 à la valeur maximale indiquée par [max]. Il est également possible d'indiquer une fourchette de valeurs, par exemple 4-6",fids_example:"Par exemple 1,4-6 les ids 1,4,5,6 seront imprimés",help:"Les layers montrés dans l'impression peuvent être ceux définis dans le projet et non ceux montrés sur la carte"},querybuilder:{search:{run:"Lancer la recherche",info:"Information","delete":"Supprimer",edit:"Editer"},messages:{changed:"Enregistré correctement",number_of_features:"Nombre de fonctionnalités"},panel:{button:{all:"TOUTES",save:"SAUVEGARDER",test:"TESTER",clear:"NETTOYER",run:"EXECUTER",manual:"MANUEL"},layers:"LAYERS",fields:"CHAMPS",values:"VALEURS",operators:"OPERATEURS",expression:"EXPRESSION"},error_run:"Une erreur s'est produite. Vérifiez si la requête est correcte",error_test:"Erreur d'exécution de la requête","delete":"Voulez-vous confirmer la suppression ?",additem:"Entrer le nom de la requête"},errors:{layers:{load:"Certaines layers du projet ne sont pas disponibles actuellement et n'apparaissent donc pas dans la vue actuelle"},unsupported_format:"Format non supporté",add_external_layer:"Erreur lors du chargement du layer"},metadata:{title:"Métadonnées",groups:{general:{title:"GÉNÉRAL",fields:{title:"TITRE",name:"NOM",description:"DESCRIPTION","abstract":"ABREGE",keywords:"LISTE DE MOTS-CLÉS",fees:"DROITS D'INSCRIPTION",accessconstraints:"CONTRAINTES D'ACCÈS",contactinformation:"CONTACTS",subfields:{contactinformation:{contactelectronicmailaddress:"E-mail",personprimary:"Références",contactvoicetelephone:"Téléphone",contactorganization:"Organisation",ContactOrganization:"Organisation",contactposition:"Localisation",ContactPosition:"Localisation",contactperson:"Personne",ContactPerson:"Personne"}},wms_url:"WMS"}},spatial:{title:"INFO ESPACE",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"STRATES",groups:{general:"GENERALE",spatial:"INFO ESPACE"},fields:{layers:"STRATES",subfields:{crs:"EPSG",bbox:"BBOX",title:"TITRE",name:"NOM",geometrytype:"GÉOMÉTRIE",source:"SOURCE",attributes:"ATTRIBUTES","abstract":"ABRÉGÉ",attribution:"ATTRIBUTION",keywords:"MOTS- CLÉS",metadataurl:"URL DE MÉTADONNÉES",dataurl:"URL DES DONNÉES"}}}}},tooltips:{relations:{form_to_row:"Afficher le format de la ligne",row_to_form:"Format du formulaire d'affichage"},zoom_to_features_extent:"Zoom sur les fonctionnalités",copy_map_extent_url:"Copier le lien de visualisation de la carte",download_shapefile:"Télécharger le fichier Shapefile",download_gpx:"Télécharger GPX",download_gpkg:"Télécharger GPKG",download_csv:"Télécharger CSV",download_xls:"Télécharger XLS",show_chart:"Montrer graphique",atlas:"Imprimer l'Atlas"},mapcontrols:{query:{tooltip:"Interrogation layer",actions:{add_selection:{hint:"Ajouter/supprimer une sélection"},zoom_to_features_extent:{hint:"Zoom sur les fonctionnalités"},add_features_to_results:{hint:"Ajouter des fonctionnalités aux résultats"},remove_feature_from_results:{hint:"Supprimer la fonctionnalité des résultats"},zoom_to_feature:{hint:"Zoom sur les fonctionnalités"},relations:{hint:"Voir les relations"},relations_charts:{hint:"Voir les graphiques de relations"},download_features_shapefile:{hint:"Télécharger les fonctionnalités vers Shapefile"},download_shapefile:{hint:"Télécharger le Shapefile"},download_features_gpx:{hint:"Télécharger les fonctionnalités vers GPX"},download_features_gpkg:{hint:"Télécharger les fonctionnalités vers GPKG"},download_gpx:{hint:"Télécharger le GPX"},download_gpkg:{hint:"Télécharger le GPKG"},download_features_csv:{hint:"Télécharger les fonctionnalités vers CSV"},download_csv:{hint:"Télécharger le CSV"},download_features_xls:{hint:"Télécharger les fonctionnalités vers XLS"},download_xls:{hint:"Télécharger le XLS"},atlas:{hint:"Imprimer l'Atlas"},copy_zoom_to_fid_url:{hint:"Copier l'URL de la carte avec l'extension vers cette géométrie",hint_change:"Copié"}}},querybypolygon:{download:{title:"Téléchargement des attributs",choiches:{feature:{label:"Fonctionnalités seulement"},feature_polygon:{label:"Fonctionnalités+Requête Polygon "}}},tooltip:"Requête par polygone",no_geometry:"La réponse ne contient pas de géométrie",help:{title:"Aide - Requête par polygone",message:'\n
    \n Sélectionnez un layer de polygone dans la légende.\n
  • Vérifiez que le layer est visible dans la carte.
  • \n
  • Cliquez sur une géométrie du layer sélectionné.
  • \n
'}},querybybbox:{tooltip:"Requête pour BBOX",nolayers_visible:"Aucun layer requêtable n'est visible. Assurez-vous qu'au moins un layer wfs est visible pour exécuter la requête",help:{title:"Aide - Requête BBox",message:"\n
    \n
  • Dessinez un rectangle pour interroger les couches surlignées en jaune
  • \n
\n "}},addlayer:{messages:{csv:{warning:"Le résultat de la carte est partiel en raison de la présence des enregistrements incorrects suivants :"}},tooltip:"Ajouter un layer"},geolocation:{tooltip:"Géolocalisation"},measures:{length:{tooltip:"Longueur",help:"Cliquez sur la carte pour continuer à dessiner la ligne.
CANC si vous voulez supprimer le dernier vertex inséré"},area:{tooltip:"Zone",help:"Cliquez pour continuer à dessiner le polygone.
CANC si vous voulez supprimer le dernier vertex inséré"}},scale:{no_valid_scale:"Échelle invalide"},scaleline:{units:{metric:"Meters",nautical:"Nautical Mile"}}},relations:{relation_data:"Données relationnelles",no_relations_found:"Aucune relation trouvée",back_to_relations:"Retour aux relations",list_of_relations_feature:"Liste des relations entre les caractéristiques",error_missing_father_field:"Le champ concerné n'existe pas"},workflow:{steps:{title:"Étapes"},next:"Suivant"},form:{loading:"Chargement...",inputs:{messages:{errors:{picklayer:"Aucune fonction sélectionnée. Vérifier si le layer est en édition ou non visible à l'échelle actuelle"}},tooltips:{picklayer:"Obtenir la valeur de la carte",lonlat:"Cliquez sur la carte pour obtenir les coordonnées"},input_validation_mutually_exclusive:"Champ mutuellement exclusif avec ",input_validation_error:"Champ obligatoire ou type de valeur incorrect",input_validation_min_field:"La valeur doit être supérieure ou égale au camp ",input_validation_max_field:"La valeur doit être inférieure ou égale au champ ",input_validation_exclude_values:"Le champ doit contenir une valeur différente",integer:"entier",bigint:"entier",text:"textuel",varchar:"textuel",textarea:"textuel",string:"chaîne",date:"date",datetime:"date","float":"float",table:"table"},footer:{required_fields:"Champs obligatoires"},messages:{qgis_input_widget_relation:"Gérer les relations via un formulaire dédié"}},catalog:{current_map_theme_prefix:"THEME",choose_map_theme:"SÉLECTIONNEZ LE THÈME",menu:{layerposition:"Layer Position",setwmsopacity:"Set Opacity",wms:{title:"",copy:"Cliquez ici pour copier l'url",copied:"Copié"},download:{shp:"Télécharger Shapefile",gpx:"Télécharger GPX",gpkg:"Télécharger GPKG",csv:"Télécharger CSV",xls:"Télécharger XLS",geotiff:"Télécharger GEOTIFF",geotiff_map_extent:"Télécharger GEOTIFF(current view extent)"}}},wps:{list_process:"Liste des processus",tooltip:"Cliquez sur la carte"}},credits:{g3wSuiteFramework:"Application construite avec le framework OS",g3wSuiteDescription:"Publiez et gérez vos projets QGIS sur le Web",productOf:"Framework développé par"},logout:"Quitter",no_other_projects:"Il n'y a pas d'autres projets dans ce groupe de cartes",yes:"Oui",no:"No",back:"Retour",backto:"Retour à ",changemap:"Changer de carte",component:"Composant générique",search:"Recherches",no_results:"Aucun résultat trouvé",print:"Imprimer",create_print:"Créer une impression",dosearch:"Recherche",catalog:"Carte",data:"Données",externalwms:"WMS",baselayers:"Bases",tools:"Outils",tree:"Strates",legend:"Légende",nobaselayer:"Pas de carte de base",street_search:"Adresse de recherche",show:"Afficher",hide:"Cacher",copy_form_data:"Copier les données du formulaire",paste_form_data:"Coller",copy_form_data_from_feature:"Copier les données de la carte",error_map_loading:"Erreur de chargement de la nouvelle carte",check_internet_connection_or_server_admin:"Vérifiez la connexion internet ou contactez l'administrateur",could_not_load_vector_layers:"Erreur de connexion au serveur : il n'a pas été possible de charger les vecteurs demandés",server_saver_error:"Erreur de sauvegarde sur le serveur",server_error:"Une erreur s'est produite dans la requête au serveur",save:"Sauvegarder",cancel:"Supprimer",close:"Fermer",enlange_reduce:"Enlarge/Reduce",reset_default:"Default size",add:"Ajouter",exitnosave:"Quitter sans sauvegarder",annul:"Annuler",layer_is_added:"Layer avec le même nom déjà ajouté",wms_layer_id_already_added:"WMS Layer déjà ajouté",wms_url_already_added:"WMS URL déjà ajouté",sidebar:{wms:{panel:{title:"Add WMS Layer",label:{position:"Map Position",name:"Name",projections:"Projection",layers:"Layers"}},add_wms_layer:"Add WMS layer",delete_wms_url:"Delete WMS url",layer_id_already_added:"WMS Nivån har redan lagts till.",url_already_added:"WMS URL har redan lagts till.",layer_add_error:"WMS Layer not added. Please check all wms parameter or url"}},info:{title:"Résultats",list_of_relations:"List of Relations",open_link:"Ouvrir le document joint",server_error:"Une erreur s'est produite dans la requête au serveur",no_results:"Aucun résultat pour cette requête/recherche",link_button:"Ouvrir"},mapcontrols:{geolocations:{title:"",error:"Votre position ne peut être calculée."},nominatim:{placeholder:"Adresse ...",noresults:"Aucun résultat",notresponseserver:"Le serveur ne répond pas"},add_layer_control:{header:"Ajouter un layer",select_projection:"Sélectionnez le système de projection de couches",select_field_to_show:"Sélectionnez le champ à afficher sur la carte",select_csv_separator:"Sélectionner le séparateur",select_csv_x_field:"Sélectionnez le champ X",select_csv_y_field:"Sélectionnez le champ Y",select_color:"Sélectionnez la couleur du layer",drag_layer:"Faire glisser le layer vers cette zone"},query:{input_relation:"Cliquez pour voir les relations"},length:{tooltip:"Longueur"},area:{tooltip:"Zone"},screenshot:{error:"Erreur de création de la capture d'écran"}},catalog_items:{helptext:"Cliquez avec le bouton droit de la souris sur les différents layers pour accéder à des fonctionnalités supplémentaires",contextmenu:{zoomtolayer:"Zoom sur le layer",open_attribute_table:"Table d'attributs ouverte",show_metadata:"Métadonnées",styles:"Styles",vector_color_menu:"Définir/changer la couleur"}},dataTable:{previous:"Précédent",next:"Suivant",lengthMenu:"Afficher _MENU_",info:"Afficher _START_ à _END_ sur _TOTAL_ lignes",nodatafilterd:"Aucun résultat trouvé",infoFiltered:"(Filtré par _MAX_ rangs totaux)"}}}},{}],364:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("./it"),a=n(i),o=e("./en"),s=n(o),l=e("./fi"),u=n(l),c=e("./se"),d=n(c),p=e("./fr"),f=n(p),h=e("./de"),v=n(h),g=e("./ro"),m=n(g),y={it:a["default"],en:s["default"],fi:u["default"],se:d["default"],fr:f["default"],de:v["default"],ro:m["default"]};r["default"]=y},{"./de":360,"./en":361,"./fi":362,"./fr":363,"./it":365,"./ro":366,"./se":367}],365:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"Questo sito utilizza i cookie per garantire una buona usabilità all'utilizzatore finale.",buttonText:"Ho capito!"},"default":"predefinito",sign_in:"Accedi",layer_selection_filter:{tools:{filter:"Aggiungi/Rimuovi Filtro",nofilter:"Rimuovi filtro",invert:"Inverti Selezione",clear:"Annulla selezione",show_features_on_map:"Mostra features visibili su mappa"}},warning:{not_supported_format:"Formato non supportato"},layer_position:{top:"SOPRA",bottom:"IN FONDO",message:"Posizione rispetto ai layers della TOC"},sdk:{search:{all:"TUTTE",no_results:"Nessun valore trovato",searching:"Sto cercando ..",error_loading:"Errore nel caricamento valori",layer_not_searchable:"Il layer non è ricercabile",layer_not_querable:"Il layer non è interrogabile",autocomplete:{inputshort:{pre:"Digita almeno",post:"caratteri"}}},print:{no_layers:"Nessun Layer visibile",template:"Template",labels:"Etichette",scale:"Scala",format:"Formato",rotation:"Rotazione",download_image:"Scarica Immagine",fids_instruction:"Valori accettati: da 1 al valore massimo indicato da [max]. Possibile indicare anche range di valori es. 4-6",fids_example:"Es. 1,4-6 verranno stampati gli id 1,4,5,6",help:"I layers mostrati nella stampa potrebbero essere quelli definiti sul progetto e non quelli visualizzati sulla mappa"},querybuilder:{search:{run:"Lancia ricerca",info:"Informazioni","delete":"Cancella",edit:"Modifica"},messages:{changed:"Salvato correttamente",number_of_features:"Numero di features"},panel:{button:{all:"TUTTI",save:"SALVA",test:"TEST",clear:"PULISCI",run:"ESEGUI",manual:"MANUALE"},layers:"LAYERS",fields:"CAMPI",values:"VALORI",operators:"OPERATORI",expression:"ESPRESSIONE"},error_run:"Si è verificato un errore. Verificare se la query è corretta",error_test:"Errore nell'esecuzione della query","delete":"Vuoi confermare la cancellazione?",additem:"Inserisci nome della ricerca"},errors:{layers:{load:"Alcuni layers presenti nel progetto non sono attualmente disponibili e quindi non compaiono nell'attuale visualizzazione"},unsupported_format:"Formato non supportato",add_external_layer:"Errore nel caricamento del layer"},metadata:{title:"Metadati",groups:{general:{title:"GENERALE",fields:{title:"TITOLO",name:"NOME",description:"DESCRIZIONE","abstract":"ABSTRACT",keywords:"LISTA DELLE PAROLE CHIAVE",fees:"CANONI",accessconstraints:"VINCOLI DI ACCESSO",contactinformation:"CONTATTI",subfields:{contactinformation:{contactelectronicmailaddress:"E-mail",personprimary:"Riferimenti",contactvoicetelephone:"Telefono",contactorganization:"Organizzazione",ContactOrganization:"Organizzazione",contactposition:"Posizione",ContactPosition:"Posizione",contactperson:"Persona",ContactPerson:"Persona"}},wms_url:"WMS"}},spatial:{title:"INFO SPAZIALI",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"STRATI",groups:{general:"GENERALE",spatial:"INFO SPAZIALI"},fields:{layers:"STRATI",subfields:{crs:"EPSG",bbox:"BBOX",title:"TITOLO",name:"NOME",geometrytype:"GEOMETRIA",source:"SORGENTE",attributes:"ATTRIBUTI","abstract":"ABSTRACT",attribution:"ATTRIBUTION",keywords:"PAROLE CHIAVE",metadataurl:"METADATA URL",dataurl:"DATA URL"}}}}},tooltips:{relations:{form_to_row:"Visualizza formato Riga",row_to_form:"Visualizza formato Form"},zoom_to_features_extent:"Zoom sulle features",copy_map_extent_url:"Copia map view link",download_shapefile:"Scarica Shapefile",download_gpx:"Scarica GPX",download_gpkg:"Scarica GPKG",download_csv:"Scarica CSV",download_xls:"Scarica XLS",show_chart:"Mostra Grafico",atlas:"Stampa Atlas"},mapcontrols:{query:{tooltip:"Interroga Layer",actions:{add_selection:{hint:"Aggiungi/Rimuovi Selezione"},zoom_to_features_extent:{hint:"Zoom sulle features"},add_features_to_results:{hint:"Aggiungi features ai risultati"},remove_feature_from_results:{hint:"Rimuovi feature dai risultati"},zoom_to_feature:{hint:"Zoom sulla feature"},relations:{hint:"Visualizza Relazioni"},relations_charts:{hint:"Visualizza grafici relazioni"},download_features_shapefile:{hint:"Scarica features in Shapefile"},download_shapefile:{hint:"Scarica feature in Shapefile"},download_features_gpx:{hint:"Scarica features in GPX"},download_features_gpkg:{hint:"Scarica features in GPKG"},download_gpx:{hint:"Scarica feature in GPX"},download_gpkg:{hint:"Scarica feature in GPKG"},download_features_csv:{hint:"Scarica features in CSV"},download_csv:{hint:"Scarica feature in CSV"},download_features_xls:{hint:"Scarica features in XLS"},download_xls:{hint:"Scarica la feature in XLS"},atlas:{hint:"Stampa Atlas"},copy_zoom_to_fid_url:{hint:"Copia URL mappa con estensione a questa geometria",hint_change:"Copiato"}}},querybypolygon:{download:{title:"Download attributi",choiches:{feature:{label:"Solo features"},feature_polygon:{label:"Features+Poligono Interrogazione"}}},tooltip:"Interroga per poligono",no_geometry:"Non contiene la geometria nella risposta",help:{title:"Guida - Interrogazione con Poligono",message:'\n
    \n Seleziona uno strato poligonale in legenda.\n
  • Assicurati che lo strato sia visibile in mappa.
  • \n
  • Clicca su una geometria dello strato selezionato.
  • \n
'}},querybybbox:{tooltip:"Interroga per BBOX",nolayers_visible:"Nessun layer interrogabile è visibile. Assicurarsi che almeno un layer wfs sia visibile per eseguire l'interrogazione",help:{title:"Guida - Interrogazione BBox",message:"\n
    \n
  • Disegna un rettangolo per interrogare gli strati evidenziati in giallo
  • \n
\n "}},addlayer:{messages:{csv:{warning:"Il risultato in mappa è parziale a causa della presenza dei seguenti records non corretti:"}},tooltip:"Aggiungi Layer"},geolocation:{tooltip:"Geolocalizzazione"},measures:{length:{tooltip:"Lunghezza",help:"Clicca sulla mappa per continuare a disegnare la linea.
CANC se si vuole cancellare l'ultimo vertice inserito"},area:{tooltip:"Area",help:"Clicca per continuare a disegnare il poligono.
CANC se si vuole cancellare l'ultimo vertice inserito"}},scale:{no_valid_scale:"Scala non valida"},scaleline:{units:{metric:"Metri",nautical:"Miglio Nautico"}}},relations:{relation_data:"Dati Relazione",no_relations_found:"Nessuna relazione trovata",back_to_relations:"Ritorna alle relazioni",list_of_relations_feature:"Lista delle relazioni della feature",error_missing_father_field:"Il campo relazionato non esiste"},workflow:{steps:{title:"Passi"},next:"Avanti"},form:{loading:"Caricamento ...",inputs:{messages:{errors:{picklayer:"Nessuna feature selezionata. Verificare se il layer è in editing o non visibile alla scala attuale"}},tooltips:{picklayer:"Prendi valore dalla mappa",lonlat:"Clicca sulla mappa per prendere le coordinate"},input_validation_mutually_exclusive:"Campo mutualmente esclusivo con ",input_validation_error:"Campo obbligatorio o tipo valore non corretto",input_validation_min_field:"Valore deve essere magiore uguale a quello del camp ",input_validation_max_field:"Valore deve essere minore uguale a quello del campo ",input_validation_exclude_values:"Campo deve contenere un valore diverso",integer:"intero",bigint:"intero",text:"testuale",varchar:"testuale",textarea:"testuale",string:"stringa",date:"data",datetime:"data","float":"float",table:"table"},footer:{required_fields:"Campi obbligatori"},messages:{qgis_input_widget_relation:"Gestisci le relazioni tramite form dedicato"}},catalog:{current_map_theme_prefix:"TEMA",choose_map_theme:"SCEGLI TEMA",menu:{layerposition:"Posizione Layer",setwmsopacity:"Cambia opacità",wms:{title:"",copy:"Clicca qui per copiare url",copied:"Copiato"},download:{shp:"Scarica Shapefile",gpx:"Scarica GPX",gpkg:"Scarica GPKG",csv:"Scarica CSV",xls:"Scarica XLS",geotiff:"Scarica GEOTIFF",geotiff_map_extent:"Scarica GEOTIFF(estensione vista corrente)"}}},wps:{list_process:"Lista dei processi",tooltip:"Clicca sulla mappa"}},credits:{g3wSuiteFramework:"Applicativo realizzato con il framework OS",g3wSuiteDescription:"Pubblica e gestisci i tuoi progetti QGIS sul Web",productOf:"Framework sviluppato da"},toggle_color_scheme:"Cambia colore",logout:"Esci",no_other_projects:"Non ci sono altri progetti in questo gruppo cartografico",yes:"Si",no:"No",back:"Indietro",backto:"Torna a ",changemap:"Cambia Mappa",component:"Componente Generico",search:"Ricerche",no_results:"Nessun risultato trovato",print:"Stampa",create_print:"Crea Stampa",dosearch:"Cerca",catalog:"Mappa",data:"Dati",externalwms:"WMS",baselayers:"Basi",tools:"Strumenti",tree:"Strati",legend:"Legenda",nobaselayer:"Nessuna mappa di base",street_search:"Cerca indirizzo",show:"Mostra",hide:"Nascondi",copy_form_data:"Copia i dati del modulo",paste_form_data:"Incolla",copy_form_data_from_feature:"Copia i dati dalla mappa",error_map_loading:"Errore di caricamento della nuova mappa",check_internet_connection_or_server_admin:"Controllare la connessione internet o contattare l'amministratore",could_not_load_vector_layers:"Errore di connessione al server: non è stato possibile caricare i vettoriali richiesti",server_saver_error:"Errore nel salvataggio sul server",server_error:"Si è verificato un errore nella richiesta al server",save:"Salva",cancel:"Cancella",close:"Chiudi",enlange_reduce:"Allarga/Riduci",reset_default:"Dimensione Partenza",add:"Aggiungi",exitnosave:"Esci senza salvare",annul:"Annulla",layer_is_added:"Layer con stesso nome già aggiunto",sidebar:{wms:{panel:{title:"Aggiungi WMS Layer",label:{position:"Posizione su Mappa",name:"Nome",projections:"Sistema di riferimento",layers:"Layers"}},add_wms_layer:"Aggiungi WMS layer",delete_wms_url:"Elimina WMS url",layer_id_already_added:"WMS Layer già aggiunto",url_already_added:"WMS URL già aggiunto",layer_add_error:"WMS Layer non aggiunto. Verificare i parametri o l'url"}},info:{title:"Risultati",list_of_relations:"Lista delle relazioni",open_link:"Apri documento allegato",server_error:"Si è verificato un errore nella richiesta al server",no_results:"Nessun risultato per questa interrogazione/ricerca ",link_button:"Apri"},mapcontrols:{geolocations:{title:"",error:"Non è possibile calcolare la tua posizione."},nominatim:{placeholder:"Indirizzo ...",noresults:"Nessun risultato",notresponseserver:"Il server non risponde"},add_layer_control:{header:"Aggiungi Layer",select_projection:"Seleziona il sistema di proiezione del layer",select_field_to_show:"Seleziona il campo da visualizzare sulla mappa",select_csv_separator:"Seleziona il separatore",select_csv_x_field:"Seleziona il campo X",select_csv_y_field:"Seleziona il campo Y",select_color:"Seleziona il colore del Layer",drag_layer:"Trascina il layer in questa area"},query:{input_relation:"Clicca per consultare le relazioni"},length:{tooltip:"Lunghezza"},area:{tooltip:"Area"},screenshot:{error:"Errore nella creazione dello screenshot"}},catalog_items:{helptext:"Tasto destro sui singoli layer per accedere alle funzionalità aggiuntive",contextmenu:{zoomtolayer:"Zoom to Layer",open_attribute_table:"Apri tabella attributi",show_metadata:"Metadati",styles:"Stili",vector_color_menu:"Setta/Cambia Colore"}},dataTable:{previous:"Precedente",next:"Successivo",lengthMenu:"Visualizza _MENU_",info:"Visualizzazione _START_ a _END_ su _TOTAL_ righe",nodatafilterd:"Nessun risultato trovato",infoFiltered:"(Filtrati da _MAX_ total righe)"}}}},{}],366:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"Acest website foloseste cookie-uri pentru a furniza vizitatorilor o experiență mult mai bună de navigare",buttonText:"Am înțeles!"},"default":"Implicit",sign_in:"Logare",layer_selection_filter:{tools:{filter:"Adăugare/Eliminare Filtrare",nofilter:"Eliminare Filtrare",invert:"Inversare Selecție",clear:"Elimină Selecția",show_features_on_map:"Arată entitățile vizibile în cadrul hărții"}},warning:{not_supported_format:"Formatul nu este acceptat"},layer_position:{top:"SUS",bottom:"JOS",message:"Poziție relativă la straturile din TOC"},sdk:{search:{all:"Toate",no_results:"Fără rezultat",searching:"Căutare ...",error_loading:"Încărcarea a eșuat",layer_not_searchable:"Nu se poate căuta pe strat",layer_not_querable:"Stratul nu se poate interoga",autocomplete:{inputshort:{pre:"Te rog introdu",post:"sau mai multe caractere"}}},print:{no_layers:"Nu avem straturi de print",template:"Șablon",labels:"Etichete",scale:"Scară",format:"Format",rotation:"Rotație",download_image:"Descarcă Imaginea",fids_instruction:"Valori acceptate: de la 1 la valoarea [max]. Este posibilă inserarea de interval, de ex. 4-6",fids_example:"Ex. 1,4-6 vor fi tipărite id 1,4,5,6",help:"Straturile prezentate în print pot fi acelea definite în proiect și nu acelea prezentate în cadrul hărții"},querybuilder:{search:{run:"Execută",info:"Info","delete":"Elimină",edit:"Modifică"},messages:{changed:"Salvat",number_of_features:"Număr de entități"},panel:{button:{all:"TOATE",save:"SALVEAZĂ",test:"TEST",clear:"ȘTERGE",run:"RUN",manual:"MANUAL"},layers:"STRATURI",fields:"CÂMPURI",values:"VALORI",operators:"OPERATORI",expression:"EXPRESII"},error_run:"A survenit o eroare. De verificat interogarea",error_test:"A survenit o eroare în timp ce se executa interogarea","delete":"Vrei să o ștergi?",additem:"Introdu numele noii căutări"},errors:{layers:{load:"Câteva straturi nu sunt disponibile"},unsupported_format:"Formatul nu este acceptat",add_external_layer:"Eroare încărcare strat"},metadata:{title:"Metadate",groups:{general:{title:"GENERALITĂȚI",fields:{title:"TITLU",name:"NUME",description:"DESCRIERE","abstract":"ABSTRACT",keywords:"CUVINTE CHEIE",fees:"TAXE",accessconstraints:"CONSTRÂNGERI DE ACCES",contactinformation:"CONTACTE",subfields:{contactinformation:{contactelectronicmailaddress:"Email",personprimary:"Referințe",contactvoicetelephone:"Telefon",contactorganization:"Organizație",ContactOrganization:"Organizație",contactposition:"Poziție",ContactPosition:"Poziție",contactperson:"Persoana",ContactPerson:"Persoana"}},wms_url:"WMS"}},spatial:{title:"SPAȚIAL",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"STRATURI",fields:{ -layers:"STRATURI",subfields:{crs:"EPSG",bbox:"BBOX",title:"TITLU",name:"NUME",geometrytype:"GEOMETRIE",source:"SURSA",attributes:"ATRIBUTE","abstract":"ABSTRACT",attribution:"ATRIBUIRE",keywords:"CUVINTE CHEIE",metadataurl:"URL METADATE",dataurl:"URL DATE"}},groups:{general:"GENERALITĂȚI",spatial:"SPAȚIAL"}}}},tooltips:{relations:{form_to_row:"Vizualizare pe rânduri",row_to_form:"Vizualizare formular"},copy_map_extent_url:"Copiază linkul de vizualizare hartă",download_shapefile:"Descarcă Shapefile",download_gpx:"Descarcă GPX",download_gpkg:"Descarcă GPKG",download_csv:"Descarcă CSV",download_xls:"Descarcă XLS",show_chart:"Arată Diagrama",atlas:"Tipărire Atlas"},mapcontrols:{query:{tooltip:"Interogare strat",actions:{add_selection:{hint:"Adaugă/Elimină Selecția"},zoom_to_features_extent:{hint:"Zoom la încadrarea entităților"},add_features_to_results:{hint:"Adaugă/Elimină entități rezultat"},remove_feature_from_results:{hint:"Elimină entitate din rezultat"},zoom_to_feature:{hint:"Zoom la entitate"},relations:{hint:"Arată Relațiile"},relations_charts:{hint:"Arată diagrama de relații"},download_features_shapefile:{hint:"Descarcă entități în Shapefile"},download_shapefile:{hint:"Descarcă entitate în Shapefile"},download_features_gpx:{hint:"Descarcă entități în GPX"},download_features_gpkg:{hint:"Descarcă entități în GPKG"},download_gpx:{hint:"Descarcă entitate în GPX"},download_gpkg:{hint:"Descarcă entitate în GPKG"},download_features_csv:{hint:"Descarcă entități în CSV"},download_csv:{hint:"Descarcă entitate în CSV"},download_features_xls:{hint:"Descarcă entități în XLS"},download_xls:{hint:"Descarcă entitate în XLS"},atlas:{hint:"Tipărire Atlas"},copy_zoom_to_fid_url:{hint:"Copiază URL hartă cu întinderea geometriei entității",hint_change:"Copiat"}}},querybypolygon:{download:{title:"Descărcare atribute",choiches:{feature:{label:"Doar entități"},feature_polygon:{label:"Entități+Poligon Interogare"}}},tooltip:"Interogare După Poligon",no_geometry:"Nu avem geometrii în răspuns",help:{title:"Ghid - Interogare După Poligon",message:"\n
    \n
  • Selectează un strat poligon din TOC.
  • \n
  • Asigură-te că stratul este vizibil.
  • \n
  • Click pe o entitate a stratului selectat.
  • \n
"}},querybybbox:{tooltip:"Interogare BBox strat",nolayers_visible:"Nu este vizibil niciun strat de interogare. Trebuie setat cel puțin un strat WFS vizibil pentru a efectua interogarea",help:{title:"Ghid - Interogare BBox strat",message:"\n
    \n
  • Desenează un pătrat pe hartă pentru a interoga straturile din TOC de sub
  • \n
"}},addlayer:{messages:{csv:{warning:"Rezultateul pe hartă este parțial datorită prezenței următoarei liste de rezultate incorecte:"}},tooltip:"Adaugă Strat"},geolocation:{tooltip:"Geolocalizare"},measures:{length:{tooltip:"Lungime",help:"Click pe hartă pentru a desena linia. Apasă
CANC dacă dorești să ștergi ultimul vertex"},area:{tooltip:"Aria",help:"Click pentru desen poligon. Apasă
CANC dacă dorești să ștergi ultimul vertex"}},scale:{no_valid_scale:"Scară Invalidă"},scaleline:{units:{metric:"Metri",nautical:"Mile Nautice"}}},relations:{relation_data:"Date Relații",no_relations_found:"Nu am găsit nicio relație",back_to_relations:"Înapoi la relații",list_of_relations_feature:"Lista de relații a entității",error_missing_father_field:"Câmpul de legătură lipsește"},workflow:{steps:{title:"Pași"},next:"Următorul"},form:{loading:"Se încarcă ...",inputs:{messages:{errors:{picklayer:"Nu avem entitate selectată. Verifică dacă stratul este în editare sau vizibil la scara curentă if layer is on editing or visible at current scale"}},tooltips:{picklayer:"Ia valoare din strat",lonlat:"Click pe hartă pentru a prelua coordonate"},input_validation_mutually_exclusive:"Câmp ce se exclude mutual cu ",input_validation_error:"Câmp mandatoriu sau tip de date greșit",input_validation_min_field:"Valoarea trebuie să fie mai mare/egală cu valoare câmpului ",input_validation_max_field:"Valoarea trebuie să fie mai mică/egală cu valoare câmpului ",input_validation_exclude_values:"Valoarea trebuie să fie unică",integer:"integer - nr. întreg",bigint:"integer - nr. întreg",text:"text",varchar:"text",textarea:"text",string:"string - text",date:"data",datetime:"data","float":"float - nr. cu zecimale",table:"tabelă"},footer:{required_fields:"Câmpuri necesare"},messages:{qgis_input_widget_relation:"Folosește formular specific de relații pentru a lucra cu relația"}},catalog:{current_map_theme_prefix:"TEMA",choose_map_theme:"ALEGE TEMA",menu:{layerposition:"Poziție Strat",setwmsopacity:"Alege Opacitatea",wms:{title:"Titlu",copy:"Click pentru copiere URL",copied:"Copiat"},download:{shp:"Descarcă Shapefile",gpx:"Descarcă GPX",gpkg:"Descarcă GPKG",csv:"Descarcă CSV",xls:"Descarcă XLS",geotiff:"Descarcă GEOTIFF",geotiff_map_extent:"Descarcă GEOTIFF(ce se vede în cadrul hărții)"}}},wps:{list_process:"Lista de procese",tooltip:"Click pe hartă"}},credits:{g3wSuiteFramework:"Aplicație bazată pe frameworkul",g3wSuiteDescription:"Publică și administrează proiectele de QGIS pe WEB",productOf:"Framework dezvoltat de"},toggle_color_scheme:"Comutare schemă de culori",logout:"Deconectare",no_other_projects:"No more project for this group",yes:"Da",no:"Nu",back:"Înapoi",backto:"Înapoi la ",changemap:"Schimbare Hartă",component:"Componentă Generică",search:"Căutare",no_results:"Niciun rezultat găsit",print:"Tipărire",create_print:"Tipărește",dosearch:"Caută",catalog:"Hartă",data:"Data",externalwms:"WMS",baselayers:"Straturi Bază",tools:"Instrumente",tree:"Straturi",legend:"Legendă",nobaselayer:"Fără strat de bază",street_search:"Caută Adresă",show:"Arată",hide:"Ascunde",copy_form_data:"Copiază data",paste_form_data:"Lipește",copy_form_data_from_feature:"Copiază data din hartă",error_map_loading:"Sunt erori la încărcarea hărții",check_internet_connection_or_server_admin:"Verificați conexiune de internet sau contactați administratorul de sistem",could_not_load_vector_layers:"Eroare de conexiune: Straturile nu pot fi încărcate",server_saver_error:"Eroare la salvarea pe server",server_error:"Eroare de conexiune la server",save:"Salvează",cancel:"Anulează",close:"Închide",enlange_reduce:"Mărește/Micșorează",reset_default:"Mărimea implicită",add:"Adaugă",exitnosave:"Ieșire fără salvare",annul:"Anulează",layer_is_added:"Există un strat cu același nume deja adăugat",sidebar:{wms:{panel:{title:"Adaugă strat WMS",label:{position:"Poziție Hartă",name:"Nume",projections:"Proiecție",layers:"Straturi"}},add_wms_layer:"Adaugă strat WMS",delete_wms_url:"Șterge URL WMS",layer_id_already_added:"Strat WMS deja adăugat",url_already_added:"URL WMS deja adăugat",layer_add_error:"Stratul WMS nu s-a adăugat. Verificați URL-ul sau parametrii WMS"}},info:{title:"Rezultate",list_of_relations:"List of Relations",open_link:"Deschide document atașat",server_error:"Serverul a întâmpinat o eroare",no_results:"Niciun rezultat",link_button:"Deschide"},mapcontrols:{geolocations:{error:"Nu te-am putut localiza"},nominatim:{placeholder:"Adresa ...",noresults:"Niciun rezultat",notresponseserver:"Niciun răspuns de la server"},add_layer_control:{header:"Adăugare Strat",select_projection:"Selectează proiecția strat",select_field_to_show:"Selectează câmpul de arătat pe hartă",select_csv_separator:"Selectează delimitatorul",select_csv_x_field:"Selectează câmpul X - Est",select_csv_y_field:"Selectează câmpul Y - Nord",select_color:"Selectează culoare strat",drag_layer:"Trageți stratul aici (Drag&Drop)"},query:{input_relation:"Click pentru a arăta relațiile"},length:{tooltip:"Lungime"},area:{tooltip:"Arie"},screenshot:{error:"Eroare captură ecran"}},catalog_items:{helptext:"Click dreapta pe strat pentru a accesa opțiuni",contextmenu:{zoomtolayer:"Zoom pe Strat",open_attribute_table:"Deschide Tabela Atribute",show_metadata:"Metadate",styles:"Stiluri",vector_color_menu:"Setează/Schimbă Culoare"}},dataTable:{previous:"Anteriorul",next:"Următorul",lengthMenu:"Arată _MENU_",info:"Arată _START_ până la _END_ din _TOTAL_ de intrări",no_data:"Fără date",nodatafilterd:"Niciun rezultat",infoFiltered:"(filtrat din _MAX_ de rezultate totale)"}}}},{}],367:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"This website uses cookies to ensure you get the best experience on our website.",buttonText:"Got It!"},"default":"standard",sign_in:"Logga in",layer_selection_filter:{tools:{filter:"Lägg till/Avlägsna Filtrera",nofilter:"Avlägsna Filtrera",invert:"Invertera Urval",clear:"Annullera Urval",show_features_on_map:"Visa funktioner som är synliga på kartan"}},warning:{not_supported_format:"Not supported format"},layer_position:{top:"TOP",bottom:"BOTTOM",message:"Position relative to layers on TOC"},sdk:{search:{all:"ALLA",no_results:"Inga resultat",searching:"Sökning ...",error_loading:"Fel vid laddning av uppgifter.",layer_not_searchable:"Nivån kan inte sökas.",layer_not_querable:"Förfrågningar kan inte göras på nivån.",autocomplete:{inputshort:{pre:"Mata in",post:"eller flera tecken"}}},print:{no_layers:"Inga nivåer att skriva ut",template:"Template",labels:"Labels",scale:"Skala",format:"Format",rotation:"Rotation",download_image:"Ladda ner bild",fids_instruction:"Godkända värden: Från ett till värdet [max]. Mellanslag tillåts, t.ex. 4-6.",fids_example:"Exempelvis 1,4-6 skriver ut id 1,4,5,6.",help:"Nivåerna på utskriften kan vara specificerade i ett projekt inte sådana som visas på karta."},querybuilder:{search:{run:"Utför",info:"Information","delete":"Ta bort",edit:"Redigera"},messages:{changed:"Sparat",number_of_features:"Antal funktione"},panel:{button:{all:"ALLA",save:"SPARA",test:"TEST",clear:"TÖM",run:"UTFÖR",manual:"MANUELL"},layers:"NIVÅER",fields:"FÄLT",values:"VÄRDEN",operators:"OPERATÖRER",expression:"KLAUSUL"},error_run:"Ett fel inträffade. Kontrollera förfrågan.",error_test:"Ett fel inträffade när förfrågan utfördes.","delete":"Vill du ta bort den?",additem:"Ge den nya sökningen ett namn."},errors:{layers:{load:"Vissa nivåer är inte tillgängliga."},unsupported_format:"Formatet stöds inte",add_external_layer:"Fel vid laddning av nivån"},metadata:{title:"Metadata",groups:{general:{title:"ALLMÄN",fields:{title:"RUBRIK",name:"NAMN",description:"BESKRIVNING","abstract":"SAMMANDRAG",keywords:"NYCKELORD",fees:"AVGIFTER",accessconstraints:"ÅTKOMSTBEGRÄNSNINGAR",contactinformation:"KONTAKTUPPGIFTER",subfields:{contactinformation:{contactelectronicmailaddress:"E-post",personprimary:"Referenser",contactvoicetelephone:"Telefon",contactorganization:"Organisation",ContactOrganization:"Organisation",contactposition:"Ställning",ContactPosition:"Ställning",contactperson:"Kontaktperson",ContactPerson:"Kontaktperson"}},wms_url:"WMS"}},spatial:{title:"SPATIAL",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"NIVÅER",fields:{layers:"NIVÅER",subfields:{crs:"EPSG",bbox:"BBOX",title:"RUBRIK",name:"NAMN",geometrytype:"GEOMETRI",source:"KÄLLA",attributes:"ATTRIBUT","abstract":"SAMMANDRAG",attribution:"TILLSKRIVNING",keywords:"NYCKELORD",metadataurl:"METADATA URL",dataurl:"DATA URL"}},groups:{general:"ALLMÄN",spatial:"SPATIAL"}}}},tooltips:{relations:{form_to_row:"Radvy",row_to_form:"Tabellvy"},copy_map_extent_url:"Kopiera länk till karta",download_shapefile:"Ladda SHP-fil",download_gpx:"Ladda GPX-fil",download_gpkg:"Ladda GPKG-fil",download_csv:"Ladda CSV-fil",download_xls:"Ladda XLS-fil",show_chart:"Visa diagram",atlas:"Skriv ut Atlas"},mapcontrols:{query:{tooltip:"Förfrågningsnivå",actions:{add_selection:{hint:"Lägg till/Avlägsna Urval"},zoom_to_features_extent:{hint:"Zooma till egenskapens omfattning"},add_features_to_results:{hint:"Add/Remove features to results"},remove_feature_from_results:{hint:"Remove feature from results"},zoom_to_feature:{hint:"Zooma till egenskapen"},relations:{hint:"Visa relationerna"},relations_charts:{hint:"Visa relationsdiagrammet"},download_features_shapefile:{hint:"Ladda egenskapens SHP-fil"},download_shapefile:{hint:"Ladda egenskapens SHP-fil"},download_features_gpx:{hint:"Ladda egenskapens GPX-fil"},download_features_gpkg:{hint:"Ladda egenskapens GPKG-fil"},download_gpx:{hint:"Ladda egenskapens GPX-fil"},download_gpkg:{hint:"Ladda egenskapens GPKG-fil"},download_features_csv:{hint:"Ladda egenskapens CSV-fil"},download_csv:{hint:"Ladda egenskapens CSV-fil"},download_features_xls:{hint:"Ladda egenskapens XLS-fil"},download_xls:{hint:"Ladda egenskapens XLS-fil"},atlas:{hint:"Skriv ut Atlas"},copy_zoom_to_fid_url:{hint:"Copy map URL with this geometry feature extension",hint_change:"Copied"}}},querybypolygon:{download:{title:"Attributes download",choiches:{feature:{label:"Features only"},feature_polygon:{label:"Features+Query Polygon"}}},tooltip:"Förfrågan med polygon",no_geometry:"No geometry on response",help:{title:"Ohje - Förfrågan med polygon",message:"\n
    \n
  • Välj polygonnivå i listan.
  • \n
  • Kontrollera att nivån är synlig.
  • \n
  • Välj egenskap på önskad nivå.
  • \n
"}},querybybbox:{tooltip:"BBox-förfrågan som riktar sig till en nivå",nolayers_visible:"Inga nivåer som förfrågningar kan riktas till. Gör minst en WFS-nivå synlig för att kunna utföra sökningen.",help:{title:"Ohje - BBox-förfrågan som riktar sig till nivån",message:"\n
    \n
  • Rita upp en rektangel på kartan för att utföra förfrågan på de i listan understreckade nivåerna.
  • \n
"}},addlayer:{messages:{csv:{warning:"The result in the map is partial due to the presence of the below incorrect records list:"}},tooltip:"Lägg till nivå"},geolocation:{tooltip:"Geografiskt läge"},measures:{length:{tooltip:"Längd",help:"Rita upp en bruten linje på kartan. Tryck
CANC, om du vill ta bort föregående punkt."},area:{tooltip:"Område",help:"Rita upp en polygon på kartan. Tryck
CANC, om du vill ta bort föregående punkt."}},scale:{no_valid_scale:"Fel skala"},scaleline:{units:{metric:"Meters",nautical:"Nautical Mile"}}},relations:{relation_data:"Relationsuppgifter",no_relations_found:"Inga relationer hittades.",back_to_relations:"Tillbaka till relationerna",list_of_relations_feature:"Lista på egenskapens relationer",error_missing_father_field:"Fält saknas"},workflow:{steps:{title:"Skeden"},next:"Nästa"},form:{loading:"Laddning...",inputs:{messages:{errors:{picklayer:"Inga egenskaper har valts. Kontroller att nivån kan redigeras eller att den syns med nuvarande skala."}},tooltips:{picklayer:"Välj värde på kartnivå",lonlat:"Click on map to get coordinates"},input_validation_mutually_exclusive:"Fälten utesluter varandra.",input_validation_error:"Obligatoriskt fält eller fel datatyp.",input_validation_min_field:"Värdet ska vara större eller lika stort som värdet i fältet.",input_validation_max_field:"Värdet ska vara mindre eller lika stort som värdet i fältet.",input_validation_exclude_values:"Värdet ska vara unikt.",integer:"heltal",bigint:"heltal",text:"text",varchar:"text",textarea:"text",string:"teckensträng",date:"datum",datetime:"datum","float":"flyttal",table:"tabell"},footer:{required_fields:"Obligatoriska fält"},messages:{qgis_input_widget_relation:"Använd den specifika funktinen för att bestämma relationer"}},catalog:{current_map_theme_prefix:"THEME",choose_map_theme:"CHOOSE THEME",menu:{layerposition:"Layer Position",setwmsopacity:"Set Opacity",wms:{title:"",copy:"Tryck här för att kopiera url.",copied:"Kopierad."},download:{shp:"Ladda SHP-fil",gpx:"Ladda GPX-fil",gpkg:"Ladda GPKG-fil",csv:"Ladda CSV-fil",xls:"Ladda XLS-fil",geotiff:"Ladda GEOTIFF-fil",geotiff_map_extent:"Ladda GEOTIFF-fil(current view extent)"}}},wps:{list_process:"Lista på processer",tooltip:"Välj på kartan"}},credits:{g3wSuiteFramework:"Tillämpningen baserar på OS framework",g3wSuiteDescription:"Publicera och hantera QGIS-projekt på nätet.",productOf:"Framework har utvecklats av"},toggle_color_scheme:"Toggle color scheme",logout:"Logga ut",no_other_projects:"Inga projekt för denna grupp",yes:"Ja",no:"Nej",back:"Gå tillbaka",backto:"Tillbaka ",changemap:"Byt karta",component:"Allmän komponent",search:"Sök",no_results:"Inga sökresultat",print:"Skriv ut",create_print:"Skapa utskrift",dosearch:"Sök",catalog:"Karta",data:"Data",externalwms:"WMS",baselayers:"Bakgrundskarta",tools:"Verktyg",tree:"Nivåer",legend:"Förklaring till beteckningarna",nobaselayer:"Ingen bakgrundskarta",street_search:"Sök adress",show:"Visa",hide:"Dölj",copy_form_data:"Kopiera uppgifterna",paste_form_data:"Infoga",copy_form_data_from_feature:"Kopiera uppgifter från kartan",error_map_loading:"Fel vid laddning av kartan",check_internet_connection_or_server_admin:"Kontrollera internetanslutningen eller kontakta administratören.",could_not_load_vector_layers:"Fel i anslutningen, nivåer kan inte laddas.",server_saver_error:"Fel vid lagring på servern.",server_error:"Fel på anslutningen till servern",save:"Spara",cancel:"Ånga",close:"Stäng",enlange_reduce:"Enlarge/Reduce",reset_default:"Default size",add:"Lägg till",exitnosave:"Lämna programmet utan att spara",annul:"Ångra",layer_is_added:"Lagret med samma namn har redan lagts till.",sidebar:{wms:{panel:{title:"Add WMS Layer",label:{position:"Map Position",name:"Name",projections:"Projection",layers:"Layers"}},add_wms_layer:"Aggiungi WMS layer",delete_wms_url:"Delete WMS url",layer_id_already_added:"WMS Nivån har redan lagts till.",url_already_added:"WMS URL har redan lagts till.",layer_add_error:"WMS Layer not added. Please check all wms parameter or url"}},info:{title:"Resultat",list_of_relations:"List of Relations",open_link:"Öppna filbilaga",server_error:"Ett fel uppstod på servern.",no_results:"Inga resultat för sökningen/förfrågan.",link_button:"Öppna"},mapcontrols:{geolocations:{error:"Du kan inte lokaliseras"},nominatim:{placeholder:"Adress ...",noresults:"Inga resultat",notresponseserver:"Inget svar från servern"},add_layer_control:{header:"Lägg till nivå",select_projection:"Välj projektion för nivån",select_field_to_show:"Select Field to show on map",select_csv_separator:"Select delimiter",select_csv_x_field:"Select X field",select_csv_y_field:"Select Y field",select_color:"Välj färg på nivån",drag_layer:"Dra och släpp nivån hit"},query:{input_relation:"Tryck för att visa relationerna"},length:{tooltip:"Längd"},area:{tooltip:"Areal"},screenshot:{error:"Screenshot error creation"}},catalog_items:{helptext:"Högerklicka på en enskild nivå för att komma till tilläggsegenskaperna.",contextmenu:{zoomtolayer:"Zooma till nivå",open_attribute_table:"Öppna attributtabellen",show_metadata:"Metadata",styles:"Stilar",vector_color_menu:"Ställ in/ändra färg"}},dataTable:{previous:"Föregående",next:"Nästa",lengthMenu:"Show _MENU_ items",info:"Showing _START_ to _END_ of _TOTAL_ entries",no_data:"Inga uppgifter",nodatafilterd:"Inga motsvarande poster hittades",infoFiltered:"(filtered from _MAX_ total records)"}}}},{}],368:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/catalog/cataloglayersstoresregistry");r["default"]={methods:{autocompleteRequest:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=n.layerId,o=n.field,s=n.value;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=[],t=i.getLayerById(a),r.prev=2,r.next=5,t.getFilterData({suggest:o+"|"+s,unique:o});case 5:e=r.sent,r.next=10;break;case 8:r.prev=8,r.t0=r["catch"](2);case 10:return r.abrupt("return",e.map(function(e){return{id:e,text:e}}));case 11:case"end":return r.stop()}},r,this,[[2,8]])}));return e}()}}},{"core/catalog/cataloglayersstoresregistry":9}],369:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={computed:{tabIndex:function(){return this.editable?0:-1},notvalid:function(){return this.state.validate.valid===!1},editable:function(){return this.state.editable},showhelpicon:function(){return this.state.help&&this.state.help.message.trim()},disabled:function(){return!this.editable||"loading"===this.loadingState||"error"===this.loadingState},loadingState:function(){return this.state.input.options.loading?this.state.input.options.loading.state:null}},methods:{showHideHelp:function(){this.state.help.visible=!this.state.help.visible},mobileChange:function(e){this.state.value=e.target.value,this.change()},change:function(){this.service.setEmpty(),this.service.setUpdate(),(this.state.validate.required||this.state.validate.unique)&&this.service.validate(),this.$emit("changeinput",this.state)},isVisible:function(){}}}},{}],370:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={methods:{getFieldService:function(){return void 0===this._fieldsService&&(this._fieldsService=e("gui/fields/fieldsservice")),this._fieldsService},getFieldType:function(e){return this.getFieldService().getType(e)},isSimple:function(e){return this.getFieldService().isSimple(e)},isLink:function(e){return this.getFieldService().isLink(e)},isImage:function(e){return this.getFieldService().isImage(e)},isPhoto:function(e){return this.getFieldService().isPhoto(e)},isVue:function(e){return this.getFieldService().isVue(e)},sanitizeFieldValue:function(e){return Array.isArray(e)&&!e.length?"":e}}}},{"gui/fields/fieldsservice":146}],371:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={data:function(){return{valid:!1}},methods:{addToValidate:function(e){this.tovalidate.push(e)},changeInput:function(e){this.isValid(e)},isValid:function(e){var t=this;if(e)if(e.validate.mutually){if(!e.validate.required)if(e.validate.empty){e.value=null,e.validate.mutually_valid=!0,e.validate.valid=!0,e.validate._valid=!0;for(var r=[],n=e.validate.mutually.length;n--;){var i=e.validate.mutually[n];!this.tovalidate[i].validate.empty&&r.push(i)}r.length<2&&r.forEach(function(e){t.tovalidate[e].validate.mutually_valid=!0,t.tovalidate[e].validate.valid=!0,setTimeout(function(){t.tovalidate[e].validate.valid=t.tovalidate[e].validate._valid,t.state.valid=t.state.valid&&t.tovalidate[e].validate.valid})})}else e.validate._valid=e.validate.valid,e.validate.mutually_valid=e.validate.mutually.reduce(function(e,r){return e&&t.tovalidate[r].validate.empty},!0),e.validate.valid=e.validate.mutually_valid&&e.validate.valid}else if(!e.validate.empty&&(e.validate.min_field||e.validate.max_field)){var a=e.validate.min_field||e.validate.max_field;e.validate.valid=e.validate.min_field?this.tovalidate[e.validate.min_field].validate.empty||1*e.value>1*this.tovalidate[e.validate.min_field].value:this.tovalidate[e.validate.max_field].validate.empty||1*e.value<1*this.tovalidate[e.validate.max_field].value,e.validate.valid&&(this.tovalidate[a].validate.valid=!0)}this.valid=Object.values(this.tovalidate).reduce(function(e,t){return e&&t.validate.valid},!0)}},created:function(){this.tovalidate=[]},destroyed:function(){this.tovalidate=null}}},{}],372:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("gui/gui");r["default"]={methods:{showLayer:function(){this.visible=!this.visible,this.layer.setVisible(this.visible)}},created:function(){var e=this.data,t=n.getComponent("map").getService(),r=t.getProjection().getCode(),i=void 0;switch(e.type){case"Point":case"MultiPoint":i=[new ol.style.Style({image:new ol.style.Circle({radius:6,fill:new ol.style.Fill({color:[255,255,255,1]}),stroke:new ol.style.Stroke({color:[0,0,0,1],width:2})})}),new ol.style.Style({image:new ol.style.Circle({radius:2,fill:new ol.style.Fill({color:[255,255,255,1]}),stroke:new ol.style.Stroke({color:[0,0,0,1],width:2})})})];break;case"Line":case"MultiLineString":case"Polygon":case"MultiPolygon":i=new ol.style.Style({fill:new ol.style.Fill({color:"rgba(255, 255, 255, 0.3)"}),stroke:new ol.style.Stroke({color:[0,0,0,1],width:2})})}this.layer=new ol.layer.Vector({source:new ol.source.Vector({features:(new ol.format.GeoJSON).readFeatures(e,{featureProjection:r})}),visible:!!this.visible,style:i}),t.getMap().addLayer(this.layer)},beforeDestroy:function(){var e=n.getComponent("map").getService();e.getMap().removeLayer(this.layer)}}},{"gui/gui":150}],373:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0}),r.mixins=void 0;var i=e("mixins/autocomplete"),a=n(i),o=e("mixins/fields"),s=n(o),l=e("mixins/media"),u=n(l),c=e("mixins/geo"),d=n(c),p=e("mixins/resize"),f=n(p),h=e("mixins/select"),v=n(h),g=e("mixins/select2"),m=n(g),y=e("mixins/form-inputs"),_=n(y),b=e("mixins/widget"),w=n(b),x=e("mixins/metadata"),S=n(x),C=e("mixins/base-input"),L=n(C),k={autocompleteMixin:a["default"],fieldsMixin:s["default"],mediaMixin:u["default"],geoMixin:d["default"],resizeMixin:f["default"],selectMixin:v["default"],select2Mixin:m["default"],formInputsMixins:_["default"],widgetMixins:w["default"],metadataMixin:S["default"],baseInputMixin:L["default"]};r.mixins=k,r["default"]=k},{"mixins/autocomplete":368,"mixins/base-input":369,"mixins/fields":370,"mixins/form-inputs":371,"mixins/geo":372,"mixins/media":374,"mixins/metadata":375,"mixins/resize":376,"mixins/select":377,"mixins/select2":378,"mixins/widget":379}],374:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r["default"]={computed:{filename:function(){return this.value?this.value.split("/").pop():this.value}},methods:{isMedia:function(e){return!(!e||"object"!==("undefined"==typeof e?"undefined":n(e))||e.constructor!==Object)&&!!e.mime_type},getMediaType:function(e){var t={type:null,options:{}};switch(e){case"image/gif":case"image/png":case"image/jpeg":case"image/bmp":t.type="image";break;case"application/pdf":t.type="pdf";break;case"video/mp4":case"video/ogg":case"video/x-ms-wmv":case"video/x-msvideo":case"video/quicktime":t.type="video",t.options.format=e;break;case"application/gzip":case"application/zip":t.type="zip";break;case"application/msword":case"application/vnd.oasis.opendocument.text":t.type="text";break;case"application/vnd.ms-office":case"application/vnd.oasis.opendocument.spreadsheet":t.type="excel";break;case"application/vnd.openxmlformats-officedocument.presentationml.presentation":case"application/vnd.ms-powerpoint":case"application/vnd.oasis.opendocument.presentation":t.type="ppt";break;default:t.type="unknow"}return t}}}},{}],375:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={methods:{findAttributeFormMetadataAttribute:function(e){return!!this.state.metadata&&void 0!==this.state.metadata[e]},findMetadataAttribute:function(e){return void 0!==this.state[e]}}}},{}],376:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("gui/gui"),a=e("core/utils/utils"),o=a.throttle,s=a.debounce,l={throttle:o,debounce:s};r["default"]={created:function(){var e=this.delayType&&l[this.delayType]||l.throttle;this.delayResize=this.resize?e(this.resize.bind(this),this.delayTime):null,i.on("resize",this.delayResize)},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.resize&&this.resize();case 3:case"end":return e.stop()}},r,this)}));return e}(),beforeDestroy:function(){i.off("resize",this.delayResize),this.delayResize=null,this.delayTime=null}}},{"core/utils/utils":92,"gui/gui":150}],377:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/i18n/i18n.service"),a=i.getAppLanguage;r["default"]={methods:{getLanguage:function(){return a()},changeSelect:function(e){this.state.value="null"===e?null:e,this.change()},getValue:function(e){return null===e?"null":e},resetValues:function(){this.state.input.options.values.splice(0)}},computed:{autocomplete:function(){return"select_autocomplete"===this.state.input.type&&this.state.input.options.usecompleter}},watch:{notvalid:function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.select2&&(e?this.select2.data("select2").$container.addClass("input-error-validation"):this.select2.data("select2").$container.removeClass("input-error-validation"));case 3:case"end":return t.stop()}},r,this)}));return e}()}}},{"core/i18n/i18n.service":27}],378:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("mixins/resize"),s=n(o);r["default"]={mixins:[s["default"]],methods:{setValue:function(){this.select2.val(this.state.value).trigger("change")},resize:function(){this.select2&&!a["default"].ismobile&&this.select2.select2("close")}},beforeDestroy:function(){this.select2&&this.select2.select2("destroy"),this.select2.off(),this.select2=null}}},{"core/applicationstate":8,"mixins/resize":376}],379:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={data:function(){return{changed:!1}},methods:{widgetChanged:function(){this.changed=!0,this.change()},stateValueChanged:function(e){}},watch:{"state.value":function(e){this.changed?this.changed=!1:this.stateValueChanged(e)}}}},{}],380:[function(e,t,r){function n(){this._config=null,this._baseUrl=null,this.init=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=$.Deferred();return this._config=e,this._baseUrl=e.urls.api,this._apiEndpoints=e.urls.apiEndpoints,t.resolve(),t.promise()};var e=0;this._incrementLoaders=function(){0===e&&this.emit("apiquerystart"),e+=1},this._decrementLoaders=function(){e-=1,0===e&&this.emit("apiqueryend")},this.get=function(e,t){var r=this,n=this._apiEndpoints[e];if(n){var i=this._baseUrl+"/"+n;t.request&&(i=i+"/"+t.request);var a=t.params||{};return this.emit(e+"querystart"),this._incrementLoaders(),$.get(i,a).done(function(t){return r.emit(e+"queryend",t),t}).fail(function(t){return r.emit(e+"queryfail",t),t}).always(function(){return r._decrementLoaders()})}return s()},a(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/utils/utils"),a=i.base,o=i.inherit,s=i.reject,l=e("core/g3wobject");o(n,l),r["default"]=new n},{"core/g3wobject":26,"core/utils/utils":92}],381:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.gid,r=e.host;return this._changeProject({gid:t,host:r})},online:function(){this.setOnline()},offline:function(){this.setOffline()},setFilterToken:function(e){this._setFilterToken(e)}},v(this),this.on("initconfig",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.user;t.setApplicationUser(r)}),this.init=i(regeneratorRuntime.mark(function r(){var e,t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,this.createApplicationConfig();case 3:return e=r.sent,this.setConfig(e),this.setLayout("app",e.layout),r.next=8,this.bootstrap();case 8:return r.abrupt("return",r.sent);case 11:return r.prev=11,r.t0=r["catch"](0),t=navigator&&navigator.language||"en",n=s["default"].supportedLng.find(function(e){return t.indexOf(e)!==-1}),r.abrupt("return",Promise.reject({error:r.t0,language:n}));case 16:case"end":return r.stop()}},r,this,[[0,11]])})),this.setupI18n=function(){var e=this._config._i18n;e.appLanguages=this._config.i18n.map(function(e){return e[0]}),this.setApplicationLanguage(e.lng),p(e),this._groupId=this._config.group.slug||this._config.group.name.replace(/\s+/g,"-").toLowerCase();var t=this._config.user.i18n||"en";$.ajaxSetup({beforeSend:function(e){e.setRequestHeader("Accept-Language",t)}})},this.getCurrentProject=function(){return S.getCurrentProject()},this.setDownload=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];return t?!e&&t&&this.download_caller_id===t?(c["default"].download=!1,this.download_caller_id=null):e&&null===this.download_caller_id&&(c["default"].download=e,this.download_caller_id=y()):c["default"].download=e,this.download_caller_id},this.getDownload=function(){return c["default"].download},this.loadingPlugin=function(e){c["default"].plugins.push(e)},this.loadedPlugin=function(e){c["default"].plugins=c["default"].plugins.filter(function(t){return t!==e})},this._setFilterToken=function(e){c["default"].tokens.filtertoken=e},this.getFilterToken=function(){return c["default"].tokens.filtertoken},this.changeLanguage=function(e){f(e),c["default"].lng=e;var t=window.location.pathname,r=t.split("/");r[1]=e,history.replaceState(null,null,r.join("/"))},this.registerOnlineOfflineEvent=function(){var e=this;this.registerWindowEvent({evt:"online",cb:function(){return e.online()}}),this.registerWindowEvent({evt:"offline",cb:function(){return e.offline()}})},this.getBaseLayerId=function(){return c["default"].baseLayerId},this.setBaseLayerId=function(e){c["default"].baseLayerId=e},this.registerLeavePage=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bool,r=void 0!==t&&t,n=(e.message,r?r:void 0);window.onbeforeunload=function(e){return n}},this.unregisterOnlineOfflineEvent=function(){window.removeEventListener("online"),window.removeEventListener("offline")},this.getState=function(){return c["default"]},this.disableApplication=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c["default"].gui.app.disabled=e},this.setApplicationLanguage=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";c["default"].lng=e},this.getApplicationLanguage=function(){return c["default"].lng},this.setOnline=function(){c["default"].online=!0},this.setOffline=function(){c["default"].online=!1},this.isOnline=function(){return c["default"].online},this.setOfflineItem=function(){var e=i(regeneratorRuntime.mark(function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.setLocalItem({id:e,data:r});case 1:case"end":return t.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.setLocalItem=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,r=e.data;try{var n=JSON.stringify(r);window.localStorage.setItem(t,n)}catch(i){return i}},this.removeLocalItem=function(e){window.localStorage.removeItem(e)},this.getLocalItem=function(e){var t=window.localStorage.getItem(e);return t?JSON.parse(t):void 0},this.getOfflineItem=function(e){return this.getLocalItem(e)},this.removeOfflineItem=function(e){this.removeLocalItem(e)},this.isIframe=function(){return c["default"].iframe},this.getConfig=function(){return this._config},this.setConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._config=e},this.getRouterService=function(){return w},this.getProxyUrl=function(){return""+this._initConfig.proxyurl},this.getInterfaceOwsUrl=function(){return""+this._initConfig.interfaceowsurl},this.getClipboardService=function(){return L},this.createApplicationConfig=function(){var e=i(regeneratorRuntime.mark(function t(e){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=a({},s["default"]),t.prev=1,!e){t.next=6;break}t.t0=e,t.next=9;break;case 6:return t.next=8,this.obtainInitConfig({initConfigUrl:""+s["default"].server.urls.initconfig});case 8:t.t0=t.sent;case 9:return e=t.t0,this.baseurl=e.baseurl,r.server.urls.baseurl=e.baseurl,r.server.urls.frontendurl=e.frontendurl,r.server.urls.staticurl=e.staticurl,r.server.urls.clienturl=e.staticurl+e.client,r.server.urls.mediaurl=e.mediaurl,r.server.urls.vectorurl=e.vectorurl,r.server.urls.proxyurl=e.proxyurl,r.server.urls.rasterurl=e.rasterurl,r.server.urls.interfaceowsurl=e.interfaceowsurl,r.main_map_title=e.main_map_title,r.group=e.group,r.user=e.user,r.credits=e.credits,r.i18n=e.i18n,r._i18n.lng=r.user.i18n,r.group.layout.iframe=window.top!==window.self,t.abrupt("return",{apptitle:r.apptitle||"",logo_img:r.group.header_logo_img,logo_link:r.group.header_logo_link,terms_of_use_text:r.group.header_terms_of_use_text,terms_of_use_link:r.group.terms_of_use_link,header_custom_links:r.group.header_custom_links,debug:r.client.debug||!1,group:r.group,urls:r.server.urls,mediaurl:r.server.urls.mediaurl,resourcesurl:r.server.urls.clienturl,vectorurl:r.server.urls.vectorurl,rasterurl:r.server.urls.rasterurl,interfaceowsurl:r.server.urls.interfaceowsurl,projects:r.group.projects,initproject:r.group.initproject,overviewproject:r.group.overviewproject&&r.group.overviewproject.gid?r.group.overviewproject:null,baselayers:r.group.baselayers,mapcontrols:r.group.mapcontrols,background_color:r.group.background_color,crs:r.group.crs,minscale:r.group.minscale,maxscale:r.group.maxscale,main_map_title:r.main_map_title,credits:r.credits,_i18n:r._i18n,i18n:r.i18n,layout:r.group.layout||{},getWmsUrl:function(e){return r.server.urls.baseurl+r.server.urls.ows+"/"+r.group.id+"/"+e.type+"/"+e.id+"/"},getProjectConfigUrl:function(e){return r.server.urls.baseurl+r.server.urls.config+"/"+r.group.id+"/"+e.type+"/"+e.id+"?_t="+e.modified},plugins:r.group.plugins,tools:r.tools,views:r.views||{},user:r.user||null});case 30:return t.prev=30,t.t1=t["catch"](1),t.abrupt("return",Promise.reject(t.t1));case 33:case"end":return t.stop()}},t,this,[[1,30]])}));return function(t){return e.apply(this,arguments)}}(),this.obtainInitConfig=i(regeneratorRuntime.mark(function n(){var t,r,i,a,o,s,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=l.initConfigUrl,c=l.url,d=l.host;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(this._initConfigUrl?this.clearInitConfig():this._initConfigUrl=u,!window.initConfig){n.next=8;break}return this._initConfig=window.initConfig,this.setInitVendorKeys(initConfig),this.emit("initconfig",initConfig),n.abrupt("return",window.initConfig);case 8:if(e("app/dev/index"),t=void 0,r=void 0,i=c?c.split("?")[1]:location.search?location.search.substring(1):null,i?(r=i.split("&"),r.forEach(function(e){e.indexOf("project")>-1&&(t=e.split("=")[1])})):(a=this._gid.split(":").join("/"),t=this._groupId+"/"+a),!t){n.next=33;break}return o=""+(d||"")+this.baseurl+this._initConfigUrl+"/"+t,n.prev=15,n.next=18,this.getInitConfig(""+o.replace(/\/$/,""));case 18:return s=n.sent,s.staticurl="../dist/",s.clienturl="../dist/",this._initConfig=s,window.initConfig=s,this.setInitVendorKeys(s),n.abrupt("return",s);case 27:return n.prev=27,n.t0=n["catch"](15),n.abrupt("return",Promise.reject(n.t0));case 30:return n.prev=30,this.emit("initconfig",initConfig),n.finish(30);case 33:case"end":return n.stop()}},n,this,[[15,27,30,33]])})),this.getInitConfig=function(e){var t=this;return new Promise(function(r,n){t._initConfig?r(t._initConfig):m.get({url:e}).then(function(e){return r(e)})["catch"](function(e){return n(e)})})},this.getInitConfigUrl=function(){return this._initConfigUrl},this.setInitConfigUrl=function(e){this._initConfigUrl=e},this.postBootstrap=i(regeneratorRuntime.mark(function o(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.complete){e.next=13;break}return e.prev=1,w.init(),e.next=5,this._bootstrapPlugins();case 5:e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](1);case 9:return e.prev=9,this.complete=!0,this.emit("complete"),e.finish(9);case 13:case"end":return e.stop()}},o,this,[[1,7,9,13]])})),this._bootstrapPlugins=function(){return C.init({pluginsBaseUrl:this._config.urls.staticurl,pluginsConfigs:this._config.plugins,otherPluginsConfig:S.getCurrentProject().getState()})},this.setEPSGApplication=function(e){c["default"].map.epsg=e.state.crs.epsg},this.setApplicationUser=function(e){c["default"].user=e},this.getApplicationUser=function(){return c["default"].user},this.bootstrap=function(){var e=this;return new Promise(function(t,r){e.setupI18n();var n=setTimeout(function(){r("Timeout")},l.TIMEOUT);c["default"].ready||$.when(S.init(e._config),b.init(e._config)).then(function(){clearTimeout(n),e.registerOnlineOfflineEvent(),e.emit("ready"),c["default"].ready=e.initialized=!0;var r=S.getCurrentProject();e._gid=r.getGid(),e.setEPSGApplication(r),c["default"].iframe&&e.startIFrameService({project:r}),x.init(),t(!0)}).fail(function(e){return r(e)})})},this.startIFrameService=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.project,n=e("core/iframe/routerservice");n.init({project:r})},this.registerWindowEvent=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.evt,r=e.cb;window.addEventListener(t,r)},this.unregisterWindowEvent=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.evt,r=e.cb;window.removeEventListener(t,r)},this.registerService=function(e,t){this._applicationServices[e]=t},this.unregisterService=function(e){delete this._applicationServices[e]},this.getApplicationService=function(e){return this._applicationServices[e]},this.getService=function(e){return this._applicationServices[e]},this.errorHandler=function(e){},this.clearInitConfig=function(){window.initConfig=this._initConfig=null},this.setInitVendorKeys=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.group.vendorkeys||{};e.group.baselayers.forEach(function(e){if(e.apikey){var r=e.servertype?e.servertype.toLowerCase():null;t[r]=e.apikey}}),this.setVendorKeys(t)},this.setVendorKeys=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.keys(e).forEach(function(t){return c["default"].keys.vendorkeys[t]=e[t]})},this.changeProjectView=function(e){c["default"].changeProjectview=e},this.isProjectViewChanging=function(){return c["default"].changeProjectview},this.reloadCurrentProject=function(){return this.changeProject({gid:S.getCurrentProject().getGid()})},this._changeProject=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gid,r=(e.host,$.Deferred());this._gid=t;var n=S.getProjectUrl(t),i=k.getService("map").addMapExtentUrlParameterToUrl(n);try{history.replaceState(null,null,i)}catch(a){}return location.replace(i),r.resolve(),r.promise()},this.setLayout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.rightpanel?(t.rightpanel.width=t.rightpanel.width||50,t.rightpanel.height=t.rightpanel.height||50,t.rightpanel.width_default=t.rightpanel.width,t.rightpanel.height_default=t.rightpanel.height,t.rightpanel.width_100=!1,t.rightpanel.height_100=!1):t.rightpanel={width:50,height:50,width_default:50,height_default:50,width_100:!1,height_100:!1},c["default"].gui.layout[e]=t},this.removeLayout=function(e){e&&delete c["default"].gui.layout[e]},this.setCurrentLayout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app";c["default"].gui.layout.__current=e},this.getCurrentLayout=function(){return c["default"].gui.layout[c["default"].gui.layout.__current]},this.getCurrentLayoutName=function(){return c["default"].gui.layout.__current},this.cloneLayout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app";return JSON.parse(JSON.stringify(c["default"].gui.layout[e]))},this.clear=function(){this.unregisterOnlineOfflineEvent()}};g(E,_),r["default"]=new E},{"app/constant":5,"app/dev/index":1,config:345,"core/apiservice":6,"core/applicationstate":8,"core/clipboardservice":10,"core/data/routerservice":15,"core/g3wobject":26,"core/i18n/i18n.service":27,"core/iframe/routerservice":28,"core/plugin/pluginsregistry":80,"core/project/projectsregistry":83,"core/router":87,"core/utils/utils":92,"gui/gui":150}],382:[function(e,t,r){function n(){this._data={},this.set=function(e,t){var r=e.split("form")[0];this._data[r]=t},this.get=function(e){var t=this._data[e]||{};return this._data[e]={},t}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=new n},{}],383:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){o(this),this.expression=n(regeneratorRuntime.mark(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=this,e.next=4,this.handleRequest({url:""+this.project.getUrl("vector_data")+t.layer_id+"/",params:t});case 4:return e.t1=e.sent,e.abrupt("return",e.t0.handleResponse.call(e.t0,e.t1));case 8:return e.prev=8,e.t2=e["catch"](0),e.abrupt("return",Promise.reject(e.t2));case 11:case"end":return e.stop()}},e,this,[[0,8]])})),this.expression_eval=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.handleRequest({url:this.project.getUrl("expression_eval"),params:e})},this.handleRequest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,r=e.params,n=void 0===r?{}:r,i=e.contentType,a=void 0===i?"application/json":i;return c.post({url:t,contentType:a,data:JSON.stringify(n)})},this.handleResponse=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return p(e)}}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.base,s=a.inherit,l=e("core/data/service"),u=e("core/utils/utils"),c=u.XHR,d=e("core/utils/geo"),p=d.getFeaturesFromResponseVectorApi;s(i,l),r["default"]=new i},{"core/data/service":17,"core/utils/geo":89,"core/utils/utils":92}],384:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){o(this),this.wmsCapabilities=n(regeneratorRuntime.mark(function t(){var r,n,i,a,o,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=s.url;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e("core/applicationservice"),n=""+r.getInterfaceOwsUrl(),t.prev=2,i={url:l,service:"wms"},a=JSON.stringify(i),t.next=7,c.post({url:n,contentType:"application/json",data:a});case 7:return o=t.sent,t.abrupt("return",o);case 11:return t.prev=11,t.t0=t["catch"](2),t.abrupt("return");case 14:case"end":return t.stop()}},t,this,[[2,11]])}))}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.base,s=a.inherit,l=e("core/data/service"),u=e("core/utils/utils"),c=u.XHR;s(i,l),r["default"]=new i},{"core/applicationservice":7,"core/data/service":17,"core/utils/utils":92}],385:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){o(this),this.wms=n(regeneratorRuntime.mark(function t(){var r,n,i,a,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=o.url,l=o.method,u=void 0===l?"GET":l,d=o.params,p=void 0===d?{}:d,f=o.headers,h=void 0===f?{}:f;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e("core/applicationservice"),n=""+r.getProxyUrl(),"GET"===u&&(s=new URL(s),Object.keys(p).forEach(function(e){return s.searchParams.set(e,p[e])}),s=s.toString()),t.prev=3,i=JSON.stringify({url:s,params:p,headers:h,method:u}),t.next=7,c.post({url:n,contentType:"application/json",data:i});case 7:return a=t.sent,t.abrupt("return",{response:a,data:i});case 11:return t.prev=11,t.t0=t["catch"](3),t.abrupt("return");case 14:case"end":return t.stop()}},t,this,[[3,11]])})),this.data=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.base,s=a.inherit,l=e("core/data/service"),u=e("core/utils/utils"),c=u.XHR;s(i,l),r["default"]=new i},{"core/applicationservice":7,"core/data/service":17,"core/utils/utils":92}],386:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){s(this),this.condition={filtrable:{ows:"WFS"}},this.polygon=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.feature,r=e.feature_count,n=void 0===r?this.project.getQueryFeatureCount():r,i=e.filterConfig,o=void 0===i?{}:i,s=e.multilayers,l=void 0!==s&&s,u=e.condition,d=void 0===u?this.condition:u,p=e.excludeLayers,f=void 0===p?[]:p,v=f[0],m=t.get(a.G3W_FID),y=t.getGeometry();if(!y)return this.returnExceptionResponse({usermessage:{type:"warning",message:v.getName()+" - "+c("sdk.mapcontrols.querybypolygon.no_geometry"),messagetext:!0,autoclose:!1}});var _={SELECTED:!1,FILTERABLE:!0,VISIBLE:!0},b=g(_,d).filter(function(e){return f.indexOf(e)===-1}),w=h(b,{geometry:y,multilayers:l,feature_count:n,filterConfig:o,projection:this.project.getProjection()});return this.handleRequest(w,{fid:m,geometry:y,layer:v,type:"polygon"})},this.bbox=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bbox,r=e.feature_count,n=void 0===r?this.project.getQueryFeatureCount():r,i=e.filterConfig,a=void 0===i?{}:i,o=e.multilayers,s=void 0!==o&&o,l=e.condition,u=void 0===l?this.condition:l,c=e.layersFilterObject,d=void 0===c?{SELECTEDORALL:!0,FILTERABLE:!0,VISIBLE:!0}:c,p=g(d,u),f=v(p,{bbox:t,feature_count:n,filterConfig:a,multilayers:s});return this.handleRequest(f,{bbox:t,type:"bbox"})},this.coordinates=n(regeneratorRuntime.mark(function e(){var t,r,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=i.coordinates,s=i.layerIds,l=void 0===s?[]:s,u=i.multilayers,c=void 0!==u&&u,d=i.query_point_tolerance,p=void 0===d?a.QUERY_POINT_TOLERANCE:d,h=i.feature_count;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={QUERYABLE:!0,SELECTEDORALL:0===l.length,VISIBLE:!0},Array.isArray(l)&&l.forEach(function(e){t.IDS||(t.IDS=[]),t.IDS.push(e)}),r=g(t),n=f(r,{multilayers:c,feature_count:h,query_point_tolerance:p,coordinates:o}),e.abrupt("return",this.handleRequest(n,{coordinates:o,type:"coordinates"}));case 5:case"end":return e.stop()}},e,this)})),this.handleRequest=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n,i){e.then(function(e){var i=t.handleResponse(e,r);n(i)}).fail(i)})},this.handleResponse=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e,n={query:t,type:"ows",data:[],result:!0};return r.forEach(function(e){return e.data&&e.data.forEach(function(e){return n.data.push(e)})}),n},this.returnExceptionResponse=function(){var e=n(regeneratorRuntime.mark(function t(e){var r=e.usermessage;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{data:[],usermessage:r,result:!0,error:!0});case 1:case"end":return e.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}()}Object.defineProperty(r,"__esModule",{value:!0});var a=e("constant"),o=e("core/utils/utils"),s=o.base,l=o.inherit,u=e("core/i18n/i18n.service"),c=u.t,d=e("core/data/service"),p=e("core/utils/geo"),f=p.getQueryLayersPromisesByCoordinates,h=p.getQueryLayersPromisesByGeometry,v=p.getQueryLayersPromisesByBBOX,g=p.getMapLayersByFilter;l(i,d),r["default"]=new i},{constant:5,"core/data/service":17,"core/i18n/i18n.service":27,"core/utils/geo":89,"core/utils/utils":92}],387:[function(e,t,r){function n(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function a(){l(this),this.features=i(regeneratorRuntime.mark(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{layer:layer,search_endpoint:search_endpoint,filter:filter,raw:!1,queryUrl:queryUrl,feature_count:feature_count,ordering:ordering};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",i(regeneratorRuntime.mark(function r(){var e,i,a,s,l,u,c,d,p,f,h;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=[],i=t.layer,a=n(t,["layer"]),s=t.raw,l=void 0!==s&&s,u=t.filter,c={data:[],query:{type:"search",search:u},type:a.search_endpoint},d=Array.isArray(i)?i:[i],a.filter=Array.isArray(a.filter)?a.filter:[a.filter],"api"===a.search_endpoint?d.forEach(function(t,r){return e.push(t.searchFeatures(o({},a,{filter:a.filter[r]})))}):(p=d[0].getProvider("search"),f=new Promise(function(e,t){p.query(o({},a,{layers:d},d[0].getSearchParams())).then(function(t){e({data:t})}).fail(t)}),e.push(f)),r.next=9,Promise.allSettled(e);case 9:return h=r.sent,h.forEach(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.status,r=e.value;if("fulfilled"===t)if(l)c.data.push("api"===a.search_endpoint?{data:r}:r);else{var n=r.data,i=void 0===n?[]:n;"api"===a.search_endpoint?i.length&&c.data.push(i[0]):c.data=i}}),r.abrupt("return",c);case 12:case"end":return r.stop()}},r,this)}))());case 1:case"end":return e.stop()}},e,this)})),this.fids=i(regeneratorRuntime.mark(function t(){var e,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.layer,a=n.formatter,o=void 0===a?0:a,s=n.fids,l=void 0===s?[]:s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e={data:[{layer:i,features:[]}],query:{type:"search"}},t.prev=1,t.t0=i,!t.t0){t.next=7;break}return t.next=6,i.getFeatureByFids({fids:l,formatter:o});case 6:t.t0=t.sent;case 7:r=t.t0,r&&r.forEach(function(t){return e.data[0].features.push(d(t))}),t.next=13;break;case 11:t.prev=11,t.t1=t["catch"](1);case 13:return t.abrupt("return",e);case 14:case"end":return t.stop()}},t,this,[[1,11]])})),this.layersfids=i(regeneratorRuntime.mark(function r(){var e,t,n,i=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=a.layers,s=void 0===o?[]:o,l=a.fids,u=void 0===l?[]:l,c=a.formatter,d=void 0===c?0:c;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=[],t={data:[],query:{type:"search"}},s.forEach(function(t,r){e.push(i.fids({layer:t,fids:u[r],formatter:d}))}),r.prev=3,r.next=6,Promise.all(e);case 6:n=r.sent,n.forEach(function(e){return t.data.push(e.data)}),r.next=13;break;case 10:r.prev=10,r.t0=r["catch"](3);case 13:return r.abrupt("return",t);case 14:case"end":return r.stop()}},r,this,[[3,10]])}))}Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return h.setLoadingContent(!0),r.prev=1,h.outputDataPlace(e,t),r.next=5,e;case 5:r.next=9;break;case 7:r.prev=7,r.t0=r["catch"](1);case 9:h.setLoadingContent(!1);case 10:case"end":return r.stop()}},r,this,[[1,7]])}));return e}(),iframe:function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:d.outputDataPlace(e,t);case 1:case"end":return r.stop()}},r,this)}));return e}()},this.init=n(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.services={query:o,search:s,expression:l,proxy:u,ows:c};case 1:case"end":return e.stop()}},e,this)})),this.getData=function(){var e=n(regeneratorRuntime.mark(function t(e){var r,n,i,a,o,s,l,u,c,d,p=this,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=f(e),n=r.context,i=r.method,a=this.getService(n),o=h.inputs,s=void 0===o?{}:o,l=h.outputs,u=void 0===l?{}:l,c=a[i](s),u&&this.currentoutputplaces.forEach(function(e){p.ouputplaces[e](c,u)}),t.next=7,c;case 7:return d=t.sent,t.next=10,d;case 10:return t.abrupt("return",t.sent);case 11:case"end":return t.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.showEmptyOutputs=function(){var e=this,t=Promise.resolve({data:[]});this.currentoutputplaces.forEach(function(r){e.ouputplaces[r](t)})},this.showCustomOutputDataPromise=function(e){var t=this;this.currentoutputplaces.forEach(function(r){t.ouputplaces[r](e,{})})},this.getService=function(e){return this.services[e]},this.setOutputPlaces=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.currentoutputplaces=e},this.addCurrentOutputPlace=function(e){e&&this.currentoutputplaces.indexOf(e)===-1&&this.currentoutputplaces.push(e)},this.addNewOutputPlace=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.place,r=e.method,n=void 0===r?function(){}:r,i=!1;return void 0===this.ouputplaces[t]&&(this.ouputplaces[t]=n,i=!0),i},this.resetDefaultOutput=function(){this.currentoutputplaces=[].concat(i(this.defaultoutputplaces))}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("core/data/query/service"),s=e("core/data/search/service"),l=e("core/data/expression/service"),u=e("core/data/proxy/service"),c=e("core/data/ows/service"),d=e("core/iframe/routerservice"),p=e("core/utils/utils"),f=p.splitContextAndMethod,h=e("gui/gui");r["default"]=new a},{"core/data/expression/service":11,"core/data/ows/service":12,"core/data/proxy/service":13,"core/data/query/service":14,"core/data/search/service":16,"core/iframe/routerservice":28,"core/utils/utils":92,"gui/gui":150}],389:[function(e,t,r){function n(){this.execute=function(e,t,r){var i=void 0,a=void 0;t.forEach(function(t){a=t.feature,r&&a[n.Actions[a.getState()].opposite](),i=n.Actions[a.getState()].fnc,e[i](a)})}}Object.defineProperty(r,"__esModule",{value:!0}),n.Actions={add:{fnc:"addFeature",opposite:"delete"},"delete":{fnc:"removeFeature",opposite:"add"},update:{fnc:"updateFeature",opposite:"update"}},r["default"]=new n},{}],390:[function(e,t,r){function n(){this.stack=new a,this.init=function(e){this.layout=e,this.sidebarEl=$(this.layout.options.controlSidebarOptions.selector),this._zindex=this.sidebarEl.css("z-index"),this._modalOverlay=null,this._modal=!1,this._isopen=!1},this.isOpen=function(){return this._isopen},this.open=function(){this.layout.floatBar.open(this.sidebarEl,!0),this._isopen=!0},this.close=function(){this.layout.floatBar.close(this.sidebarEl,!0),this._isopen=!1},this.showPanel=function(e,t){t=t||{};t.append||!1,t.modal||!1;t.parent="#g3w-floatbarpanel-placeholder",this.stack.push(e,t),this._isopen||this.open()},this.closePanel=function(e){e?this.stack.remove(e):this.stack.pop(),this.stack.getLength()||(this._modal?(o.setModal(!1),this.close(),$(".control-sidebar-bg").toggleClass("control-sidebar-bg-shadow"),this.sidebarEl.css("z-index",""),this.sidebarEl.css("padding-top","50px"),$(".control-sidebar-bg").css("z-index",""),this._modal=!1):this.close())},this.hidePanel=function(){this.close()}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("gui/utils/utils"),a=i.barstack,o=e("gui/gui");r["default"]=new n},{"gui/gui":150,"gui/utils/utils":224}],391:[function(e,t,r){function n(){this.setters={setContent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.emit("opencontent",!0),this._setContent(e)}},this.isready=!1,this.getResourcesUrl=s,this.showForm=s,this.closeForm=s,this.showListing=s,this.closeListing=s,this.hideListing=s,this.setModal=s,this.showFullModal=s,this.showQueryResults=s,this.hideQueryResults=s,this.showPanel=s,this.hidePanel=s,this.reloadComponents=s,this.showUserMessage=s,this.closeUserMessage=s,this.showModalDialog=s,this.push_content=!1,this.setPushContent=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.push_content=e},this.getPushContent=function(){return this.push_content},this._closeUserMessageBeforeSetContent=!0,this.setComponent=function(e){ -c.registerComponent(e)},this.getComponent=function(e){return c.getComponent(e)},this.getComponents=function(){return c.getComponents()},this["goto"]=function(e){u["goto"](e)},this.ready=function(){this.emit("ready"),this.isready=!0},this.guiResized=function(){this.emit("guiresized")},this.isReady=function(){var e=this;return new Promise(function(t){return e.isready?t():e.once("ready",t)})},this.getService=function(e){var t=this.getComponent(e);return t&&t.getService()},this.showSpinner=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},this.hideSpinner=function(e){},this.notify=s,this.dialog=s,this.isMobile=s,a(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/utils/utils"),a=i.base,o=i.inherit,s=i.noop,l=e("core/g3wobject"),u=e("core/router"),c=e("gui/component/componentsregistry");o(n,l),r["default"]=new n},{"core/g3wobject":26,"core/router":87,"core/utils/utils":92,"gui/component/componentsregistry":142}],392:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){o(this),this.mapControls={screenshot:{control:null},changeMap:{control:null}},this.init=function(){var e=this;return new Promise(function(t,r){e.mapService.once("ready",function(){e._map=e.mapService.getMap(),e._mapCrs=e.mapService.getCrs(),e.mapControls.screenshot.control=e.mapService.getMapControlByType({type:"screenshot"}),e.setReady(!0),t()})})},this.results=function(){var e=n(regeneratorRuntime.mark(function t(e){var r=e.capture,n=void 0===r||r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n?u.setOutputPlaces(["iframe"]):u.resetDefaultOutput(),e.abrupt("return",[]);case 2:case"end":return e.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.screenshot=function(){var e=n(regeneratorRuntime.mark(function t(e){var r,i=this,a=e.capture,o=void 0===a||a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r="app:screenshot",o?this.mapControls.screenshot.control.overwriteOnClickEvent(n(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.mapService.createMapImage();case 3:e=t.sent,i.emit("response",{action:r,response:{result:!0,data:e}}),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),i.emit("response",{action:r,response:{result:!1,data:t.t0}});case 10:case"end":return t.stop()}},t,i,[[0,7]])}))):this.mapControls.screenshot.control.resetOriginalOnClickEvent();case 2:case"end":return e.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.getcenter=n(regeneratorRuntime.mark(function e(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.mapService.getCenter());case 1:case"end":return e.stop()}},e,this)})),this.zoomtocoordinates=n(regeneratorRuntime.mark(function t(){var e,r,n,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=a.coordinates,r=void 0===e?[]:e,n=a.highlight,i=void 0!==n&&n,!r||!Array.isArray(r)||2!==r.length){t.next=6;break}return this.mapService.zoomTo(r),t.abrupt("return",r);case 6:return t.abrupt("return",Promise.reject(r));case 7:case"end":return t.stop()}},t,this)})),this.getextent=n(regeneratorRuntime.mark(function r(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.mapService.getMapExtent());case 1:case"end":return e.stop()}},r,this)})),this.zoomtoextent=n(regeneratorRuntime.mark(function i(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(e=r.extent,t=void 0===e?[]:e,!t||!Array.isArray(t)||4!==t.length){n.next=6;break}return this.mapService.goToBBox(t),n.abrupt("return",t);case 6:return n.abrupt("return",Promise.reject(t));case 7:case"end":return n.stop()}},i,this)})),this.zoomtofeature=n(regeneratorRuntime.mark(function a(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",new Promise(function(){var r=n(regeneratorRuntime.mark(function i(r,n){var a,o,s,l,u;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return a=t.qgs_layer_id,o=t.feature,s=t.highlight,l=void 0!==s&&s,a=e.getQgsLayerId({qgs_layer_id:a}),n.next=4,e.findFeaturesWithGeometry({qgs_layer_id:a,feature:o,zoom:!0,highlight:l});case 4:u=n.sent,r(u.qgs_layer_id);case 6:case"end":return n.stop()}},i,e)}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return r.stop()}},a,this)}))}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.base,s=a.inherit,l=e("core/iframe/services/baseservice"),u=e("core/data/routerservice");s(i,l),r["default"]=new i},{"core/data/routerservice":15,"core/iframe/services/baseservice":30,"core/utils/utils":92}],393:[function(e,t,r){function n(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function a(){var e=this;l(this),this.pluginName="editing",this.subscribevents=[],this.isRunning=!1,this.responseObject={cb:null,qgs_layer_id:null,error:null},this.config={tools:{add:{disabled:[{id:"deletefeature"},{id:"copyfeatures"},{id:"editmultiattributes"},{id:"deletePart"},{id:"splitfeature"},{id:"mergefeatures"}]},update:{disabled:[{id:"addfeature"},{id:"copyfeatures"},{id:"deletefeature"},{id:"editmultiattributes"},{id:"deletePart"},{id:"splitfeature"},{id:"mergefeatures"}]},"delete":{enabled:[{id:"deletefeature",options:{active:!0}}]}}},this.startAction=function(){var e=i(regeneratorRuntime.mark(function t(e){var r=this,n=e.toolboxes,i=e.resolve,a=e.reject;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.responseObject.cb=a,this.dependencyApi.setSaveConfig({cb:{done:function(e){r.responseObject.cb=i,r.responseObject.qgs_layer_id=e.getId(),r.responseObject.error=null,r.dependencyApi.hidePanel()},error:function(e,t){r.responseObject.cb=a,r.responseObject.qgs_layer_id=e.getId(),r.responseObject.error=t}}}),this.dependencyApi.showPanel({toolboxes:n}),this.isRunning=!0;case 4:case"end":return e.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.stopAction=i(regeneratorRuntime.mark(function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=r.qgs_layer_id,t.t0=e,!t.t0){t.next=5;break}return t.next=5,this.stopEditing(e);case 5:case"end":return t.stop()}},t,this)})),this.subscribersHandlers={canUndo:function(t){var r=t.activeTool,n=t.disableToolboxes,i=void 0===n?[]:n;return function(t){t===!1&&(e.responseObject.qgs_layer_id=null,e.responseObject.error=null),r.setEnabled(!t),i.forEach(function(e){return e.setEditing(!t)})}},canRedo:function(){},cancelform:function(e){return function(){e()}},addfeature:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.properties,n=t.toolboxes;return function(t){Object.keys(r).forEach(function(e){return t.set(e,r[e])});var i=void 0,a=[];if(n.forEach(function(e){var t=e.getToolById("addfeature");t.isActive()?(t.setEnabled(!1),i=t):(e.setEditing(!1),a.push(e))}),e.subscribevents.find(function(e){return"canUndo"!==e.event})){var o=e.addSubscribeEvents("canUndo",{activeTool:i,disableToolboxes:a});e.addSubscribeEvents("cancelform",o)}}},closeeditingpanel:function(t){var r=t.qgs_layer_id;return function(){e.responseObject.cb({qgs_layer_id:e.responseObject.qgs_layer_id,error:e.responseObject.error}),e.stopAction({qgs_layer_id:r})}}},this.addSubscribeEvents=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.subscribersHandlers[e](t);return this.dependencyApi.subscribe(e,r),this.subscribevents.push({event:e,handler:r}),r},this.resetSubscribeEvents=function(){var e=this;this.subscribevents.forEach(function(t){var r=t.event,n=t.handler;e.dependencyApi.unsubscribe(r,n)})},this.add=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(){var r=i(regeneratorRuntime.mark(function a(r,i){var o,s,l,u,d,p,f;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!e.isRunning){a.next=4;break}i(),a.next=19;break;case 4:return o=t.qgs_layer_id,s=n(t,["qgs_layer_id"]),l=s.properties,u=e.getQgsLayerId({qgs_layer_id:o,noValue:e.dependencyApi.getEditableLayersId()}),a.next=9,e.startAction({toolboxes:u,resolve:r,reject:i});case 9:return d={tools:e.config.tools.add,startstopediting:!1,action:"add",selected:1===u.length},a.next=12,e.startEditing(u,d);case 12:p=a.sent,p=p.filter(function(e){return"fulfilled"===e.status}).map(function(e){return e.value}),!c.isSidebarVisible()&&c.showSidebar(),f=1===p.length&&p[0],f&&f.setActiveTool(f.getToolById("addfeature")),e.addSubscribeEvents("addfeature",{properties:l,toolboxes:p}),e.addSubscribeEvents("closeeditingpanel",{qgs_layer_id:u});case 19:case"end":return a.stop()}},a,e)}));return function(e,t){return r.apply(this,arguments)}}())},this.update=i(regeneratorRuntime.mark(function r(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",new Promise(function(){var r=i(regeneratorRuntime.mark(function a(r,i){var o,s,l,u,d,p,f;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!e.isRunning){a.next=4;break}i(),a.next=22;break;case 4:return o=t.qgs_layer_id,s=n(t,["qgs_layer_id"]),l=s.feature,u=e.getQgsLayerId({qgs_layer_id:o,noValue:e.dependencyApi.getEditableLayersId()}),a.next=9,e.findFeaturesWithGeometry({qgs_layer_id:u,feature:l,zoom:!0,highlight:!0,selected:1===u.length});case 9:if(d=a.sent,p=d.found,!p){a.next=21;break}return a.next=14,e.startAction({toolboxes:[d.qgs_layer_id],resolve:r,reject:i});case 14:return f={feature:l,tools:e.config.tools.update,startstopediting:!1,action:"update"},a.next=17,e.startEditing([d.qgs_layer_id],f);case 17:!c.isSidebarVisible()&&c.showSidebar(),e.addSubscribeEvents("closeeditingpanel",{qgs_layer_id:[d.qgs_layer_id]}),a.next=22;break;case 21:i();case 22:case"end":return a.stop()}},a,e)}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return r.stop()}},r,this)})),this["delete"]=function(){},this.startEditing=i(regeneratorRuntime.mark(function a(){var e,t,r,n,i,o=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:e=l.action,t=void 0===e?"add":e,r=l.feature,n={},l.filter=n,a.t0=t,a.next="add"===a.t0?6:"update"===a.t0?8:10;break;case 6:return n.nofeatures=!0,a.abrupt("break",10);case 8:return n.field=r.field+"|eq|"+r.value,a.abrupt("break",10);case 10:return i=[],s.forEach(function(e){i.push(o.dependencyApi.startEditing(e,l))}),a.next=14,Promise.allSettled(i);case 14:return a.abrupt("return",a.sent);case 15:case"end":return a.stop()}},a,this)})),this.stopEditing=function(){var e=i(regeneratorRuntime.mark(function t(e){var r,n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=[],e.forEach(function(e){r.push(n.dependencyApi.stopEditing(e))}),t.next=4,Promise.allSettled(r);case 4:this.clear();case 5:case"end":return t.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.stop=function(){var e=this;return new Promise(function(t,r){e.dependencyApi.hidePanel(),c.hideSidebar(),e.once("clear",t)})},this.clear=function(){this.dependencyApi.resetDefault(),this.isRunning=!1,this.responseObject={cb:null,qgs_layer_id:null,error:null},this.resetSubscribeEvents(),this.emit("clear")}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("core/iframe/services/plugins/service"),s=g3wsdk.core.utils,l=s.base,u=s.inherit,c=e("gui/gui");u(a,o),r["default"]=new a},{"core/iframe/services/plugins/service":34,"gui/gui":150}],394:[function(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function a(){var t=this;arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pendingactions={},this.init=i(regeneratorRuntime.mark(function r(){var t,n,i,a,o=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=s.project;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,u.isReady();case 2:this.services=e("core/iframe/services/index"),this.eventResponseServiceHandler=function(e){var t=e.action,r=e.response;o.postMessage({id:null,action:t,response:r})},t=l.state.layers.map(function(e){return{id:e.id,name:e.name}}),n=Object.keys(this.services),i=0;case 7:if(!(i1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=d.action,i=void 0===r?"app:results":r,t.next=3,e;case 3:a=t.sent,o=a.result,s=a.data,l=void 0===s?[]:s,u=new ol.format.GeoJSON,c=[];try{c=l.map(function(e){var t=e.layer,r=e.features;return n({},t.getId(),{features:u.writeFeatures(r)})})}catch(p){}this.postMessage({id:null,action:i,response:{result:o,data:c}});case 11:case"end":return t.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.postMessage=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};window.parent&&window.parent.postMessage(e,"*")},this.stopPendingActions=i(regeneratorRuntime.mark(function a(){var e,t=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=[],Object.keys(this.pendingactions).forEach(function(r){var n=t.pendingactions[r].context;e.push(t.services[n].stop()),delete t.pendingactions[r]}),r.abrupt("return",Promise.allSettled(e));case 3:case"end":return r.stop()}},a,this)})),this.getMessage=function(){var e=i(regeneratorRuntime.mark(function r(e){var n,i,a,o,u,c,d,p,f,h,v,g;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!e||!e.data){r.next=24;break}if(n=e.data,i=n.id,a=void 0===i?l():i,o=n.single,u=void 0===o||o,c=n.action,d=n.data,p=s(c),f=p.context,h=p.method,v=!1,g=void 0,r.prev=5,!t.services[f].getReady()){r.next=16;break}if(r.t0=u,!r.t0){r.next=11;break}return r.next=11,t.stopPendingActions();case 11:return t.pendingactions[a]={context:f},r.next=14,t.services[f][h](d);case 14:g=r.sent,v=!0;case 16:r.next=22;break;case 18:r.prev=18,r.t1=r["catch"](5),v=!1,g=r.t1;case 22:t.postMessage({id:a,action:c,response:{result:v,data:g}}),delete t.pendingactions[a];case 24:case"end":return r.stop()}},r,t,[[5,18]])}));return function(t){return e.apply(this,arguments)}}(),this.clear=function(){for(var e=Object.keys(this.services),t=0;t1&&void 0!==arguments[1]?arguments[1]:"right";this.state.items[t].push(e)},a(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/utils/utils"),a=i.base,o=i.inherit,s=e("core/g3wobject");o(n,s),r["default"]=new n},{"core/g3wobject":26,"core/utils/utils":92}],396:[function(e,t,r){function n(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{};this._cacheValues={},this._items=v.getLocalItem(y)||{}}Object.defineProperty(r,"__esModule",{value:!0});var s=e("core/data/routerservice"),l=e("core/i18n/i18n.service"),u=l.t,c=e("core/utils/utils"),d=c.uniqueId,p=c.createFilterFromString,f=c.XHR,h=e("core/catalog/cataloglayersstoresregistry"),v=e("core/applicationservice"),g=e("core/project/projectsregistry"),m=e("gui/gui"),y="QUERYBUILDERSEARCHES",_=o.prototype;_.getCurrentProjectItems=function(){var e=g.getCurrentProject().getId();return this._items[e]=this._items[e]||[],this._items[e]},_.getItems=function(e){var t=v.getLocalItem(y);return e=e||g.getCurrentProject().getId(),t?t[e]||[]:[]},_._getLayerById=function(e){return h.getLayerById(e)},_.getValues=a(regeneratorRuntime.mark(function b(){var e,t,r,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=i.layerId,o=i.field;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(this._cacheValues[a]=this._cacheValues[a]||{},e=this._cacheValues[a][o],void 0!==e){i.next=18;break}return i.prev=3,t=this._getLayerById(a),r=t.getUrl("data"),i.next=8,f.get({url:r,params:{ordering:o,unique:o}});case 8:return n=i.sent,n.result&&(this._cacheValues[a][o]=this._cacheValues[a][o]||n.data),i.abrupt("return",this._cacheValues[a][o]||[]);case 13:i.prev=13,i.t0=i["catch"](3),reject();case 16:i.next=19;break;case 18:return i.abrupt("return",e);case 19:case"end":return i.stop()}},b,this,[[3,13]])})),_.run=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.layerId,n=t.filter,i=t.showResult,o=void 0===i||i;return new Promise(function(){var t=a(regeneratorRuntime.mark(function i(t,a){var l,u,c,d,f;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return l=e._getLayerById(r),u=l.getSearchEndPoint(),c=p({layer:l,search_endpoint:u,filter:n}),i.prev=3,i.next=6,s.getData("search:features",{inputs:{layer:l,filter:c,search_endpoint:u,feature_count:100},outputs:o});case 6:d=i.sent,f=d.data,t(f),i.next=15;break;case 11:i.prev=11,i.t0=i["catch"](3),m.showUserMessage({type:"alert",message:"sdk.querybuilder.error_run",autoclose:!0}),a(i.t0);case 15:case"end":return i.stop()}},i,e,[[3,11]])}));return function(e,r){return t.apply(this,arguments)}}())},_.test=a(regeneratorRuntime.mark(function w(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.layerId,n=t.filter;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.run({layerId:r,filter:n,showResult:!1});case 3:return e=t.sent,t.abrupt("return",e.length&&e[0].features.length);case 7:return t.prev=7,t.t0=t["catch"](0),t.t0=u("sdk.querybuilder.error_test"),t.abrupt("return",Promise.reject(t.t0));case 11:case"end":return t.stop()}},w,this,[[0,7]])})),_["delete"]=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.id;return new Promise(function(t,n){m.dialog.confirm(u("sdk.querybuilder.delete"),function(i){if(i){var a=e.getItems().filter(function(e){return e.id!==r}),o=g.getCurrentProject().getId(),s=v.getLocalItem(y);a.length?s[o]=a:delete s[o],Object.keys(s).length?v.setLocalItem({id:y,data:s}):v.removeLocalItem(y),t()}else n()})})},_.editLocalItem=function(e,t){e=e||g.getCurrentProject().getId();var r=v.getLocalItem(y);r[e].find(function(n,i){if(n.id===t.id)return r[e][i]=t,!0}),v.setLocalItem({id:y,data:r}),this._resetItems(e,r[e])},_._resetItems=function(e,t){var r=this;setTimeout(function(){t.forEach(function(t){return r._items[e].push(t)})},0),this._items[e].splice(0)},_.addLocalItem=function(e,t){t.id=d(),e=e||g.getCurrentProject().getId();var r=v.getLocalItem(y);if(void 0===r){var a=[t];v.setLocalItem({id:y,data:i({},e,a)}),this._resetItems(e,a)}else r[e]=r[e]?[].concat(n(r[e]),[t]):[t],v.setLocalItem({id:y,data:r}),this._resetItems(e,r[e])},_.save=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.id,n=t.name,i=t.layerId,a=t.filter,o=t.projectId,s=this._getLayerById(i).getName(),l={layerId:i,filter:a,layerName:s};return r?(l.name=n,l.id=r,this.editLocalItem(o,l),void m.showUserMessage({type:"success",message:u("sdk.querybuilder.messages.changed"),autoclose:!0})):void m.dialog.prompt(u("sdk.querybuilder.additem"),function(t){if(t){var r=m.getComponent("search").getService();l.name=t,r.addQueryBuilderSearch(l),e.addLocalItem(o,l),m.showUserMessage({type:"success",message:u("sdk.querybuilder.messages.changed"),autoclose:!0})}})},_.all=function(){},_.sample=function(){},_.clear=function(){this._cacheValues={}},_.add=function(){},r["default"]=new o},{"core/applicationservice":7,"core/catalog/cataloglayersstoresregistry":9,"core/data/routerservice":15,"core/i18n/i18n.service":27,"core/project/projectsregistry":83,"core/utils/utils":92,"gui/gui":150}],397:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l(this)}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.inherit,s=a.XHR,l=a.base,u=a.createSingleFieldParameter,c=e("core/utils/geo"),d=c.sanitizeFidFeature,p=c.getAlphanumericPropertiesFromFeature,f=e("core/g3wobject"),h=e("core/catalog/cataloglayersstoresregistry");o(i,f);var v=i.prototype;v.createUrl=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e("core/project/projectsregistry"),n=r.getCurrentProject(),i=t.layer,a=void 0===i?{}:i,o=t.relation,s=void 0===o?{}:o,l=t.fid,u=t.type,c=void 0===u?"data":u,p=t.formatter,f=void 0===p?1:p,h=void 0,v=s.father,g=s.child,m=s.referencedLayer,y=s.referencingLayer,_=s.id;h=void 0!==v?a.id===v?g:v:a.id===m?y:m;var b=n.getLayerById(h).getUrl(c),w=d(l);return b+"?relationonetomany="+_+"|"+w+"&formatter="+f},v.getRelations=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.createUrl(e);return s.get({url:t})},v.getRelationsNM=n(regeneratorRuntime.mark(function g(){var t,r,n,i,a,o,s,l,c,d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=d.nmRelation,v=d.features,m=void 0===v?[]:v;return regeneratorRuntime.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(t=e("core/data/routerservice"),r=f.referencedLayer,n=f.referencingLayer,i=f.fieldRef,a=i.referencingField,o=i.referencedField,s=[],!m.length){d.next=9;break}return l=m.map(function(e){return e.attributes[a]}),d.next=7,t.getData("search:features",{inputs:{layer:h.getLayerById(r),filter:""+u({field:o,value:l,logicop:"OR"}),formatter:1,search_endpoint:"api"},outputs:null});case 7:c=d.sent,c.data&&c.data[0]&&Array.isArray(c.data[0].features)&&(s=c.data[0].features.map(function(e){var t=p(e.getProperties()).reduce(function(t,r){return t[r]=e.get(r),t},{});return{id:e.getId(),attributes:t,geometry:e.getGeometry()}}));case 9:return d.abrupt("return",s);case 10:case"end":return d.stop()}},g,this)})),v.save=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.createUrl(e);return s.fileDownload({url:t,httpMethod:"GET"})},r["default"]=new i},{"core/catalog/cataloglayersstoresregistry":9,"core/data/routerservice":15,"core/g3wobject":26,"core/project/projectsregistry":83,"core/utils/geo":89,"core/utils/utils":92}],398:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/utils/utils"),i=n.base,a=n.inherit,o=(n.Base64,e("core/g3wobject"));crossroads.ignoreState=!0,crossroads.greedy=!0;var s=function(){this._initialLocationQuery,this._routeQuery="",this.setters={setRouteQuery:function(e){this._routeQuery=e,crossroads.parse(e)}},i(this)};a(s,o);var l=s.prototype;l.init=function(){var e=window.location.search;this._setRouteQueryFromLocationQuery(e)},l.addRoute=function(e,t,r){return crossroads.addRoute(e,t,r)},l.removeRoute=function(e){return crossroads.removeRoute(e)},l.removeAllRoutes=function(){return crossroads.removeAllRoutes()},l.parse=function(e,t){return crossroads.parse(e,t)},l["goto"]=function(e){this._initialQuery||(this._initialLocationQuery=this._stripInitialQuery(location.search.substring(1))),e&&this.setRouteQuery(e)},l.makePermalink=function(e){this._initialQuery||(this._initialLocationQuery=this._stripInitialQuery(location.search.substring(1)));this._encodeRouteQuery(e);return"?"+this._initialLocationQuery+"&q="+this._encodeRouteQuery(e)},l.makeQueryString=function(e){},l.slicePath=function(e){return e.split("?")[0].split("/")},l.sliceFirst=function(e){var t=e.split("?"),r=t[1],n=t[0].split("/"),i=n[0];return e=n.slice(1).join("/"),e=[e,r].join("?"),[i,e]},l.getQueryParams=function(e){e=e.replace("?","");var t={},r=[];r=""!=e&&e.indexOf("&")==-1?[e]:e.split("&");try{_.forEach(r,function(e){var r=e.split("="),n=r[0],i=r[1];t[n]=i})}catch(n){}return t},l.getQueryString=function(e){return e.split("?")[1]},l._getQueryPortion=function(e,t){var r;try{var n=e.split("&");_.forEach(n,function(e){var n=e.split("="),i=n[0];i==t&&(r=e)})}catch(i){}return r},l._encodeRouteQuery=function(e){return e=e.replace("?","@"),e=e.replace("&","|"),e=e.replace("=","!")},l._decodeRouteQuery=function(e){return e=e.replace("@","?"),e=e.replace("|","&"),e=e.replace("!","=")},l._setRouteQueryFromLocationQuery=function(e){var t=this._getRouteQueryFromLocationQuery(e);if(t){var r=this._decodeRouteQuery(t);this.setRouteQuery(r)}},l._getRouteQueryFromLocationQuery=function(e){return this.getQueryParams(e).q},l._stripInitialQuery=function(e){var t=this._getQueryPortion(e,"q");if(t){var r=t.length,n=e.indexOf(t);queryPrefix=_.trimEnd(e.substring(0,n),"&"),querySuffix=e.substring(n+r),querySuffix=""!=queryPrefix?querySuffix:_.trimStart(querySuffix,"&"),e=queryPrefix+querySuffix}return e},r["default"]=new s},{"core/g3wobject":26,"core/utils/utils":92}],399:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}function i(){this.stack=new p,this.setters={closeSidebarPanel:function(){},openCloseItem:function(e){}},this.state={components:[],gui:{title:""},disabled:!1},this.init=function(e){this.layout=e},this.addComponents=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.forEach(function(e){return t.addComponent(e,r)}),!0},this.addComponent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.position,n=t.before,i=void 0===n||n,a=t.info;if(isMobile.any&&!e.mobile)return!1;var o=new h({service:this,info:a,component:e});o.title=e.title||o.title,o.info=e.info||o.info,o.actions=e.actions||o.actions,o.open=e.state.open,o.icon=e.icon||o.icon,o.iconColor=e.iconColor,o.state=e.state||!0,o.collapsible="boolean"!=typeof e.collapsible||e.collapsible,o.isolate="boolean"==typeof e.isolate&&e.isolate;var s=o.$mount().$el;this.state.components.push(e);var l=$(".g3w-sidebarpanel").is(":visible"),u="#g3w-sidebarcomponents"+(l?":hidden":""),c=$(u).children().filter(function(){return"none"!==this.style.display}),d=c.length;return null===r||void 0===r||r<0||r>=d?$(u).append(s):c.each(function(e,t){var n=Number.isInteger(r)?r===e:t.id===r;n&&$(s)["insert"+(i?"Before":"After")](t)}),e.mount("#g3w-sidebarcomponent-placeholder"),e.initService&&e.initService(),this.setComponentClickHandler(e),!0},this.setComponentClickHandler=function(e){e.click=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.open,n=void 0!==r&&r;n=n||!1,$(e.getInternalComponent().$el).siblings("a").click(),e.setOpen(n)}},this.getComponent=function(e){return this.state.components.find(function(t){return t.getId()===e})},this.getComponents=function(){return this.state.components},this.closeOpenComponents=function(){!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.getComponents().forEach(function(e){return e.closeWhenViewportContentIsOpen()&&e.collapsible&&e.click({open:!1})})},this.reloadComponent=function(e){var t=this.getComponent(e);t&&t.reload()},this.reloadComponents=function(){this.closePanel(),this.state.components.forEach(function(e){e.collapsible&&e.state.open&&e.click({open:!1}),e.reload()})},this.removeComponent=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.position;this.state.components.forEach(function(r,i){if(e===r)return e.unmount(),t.state.components.splice(i,1),void 0!==n&&Number.isInteger(n)?$("#g3w-sidebarcomponents").children(":visible")[n].remove():$("#g3w-sidebarcomponents").children("#"+e.id).remove(),!1})},this.showPanel=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n,i){t.state.gui.title=e.title;var o="#g3w-sidebarpanel-placeholder";t.stack.getCurrentContentData()&&$(t.stack.getCurrentContentData().content.internalPanel.$el).hide(),t.stack.push(e,a({parent:o},r)).then(function(e){return n(e)})})},this.closePanel=function(){var e=this;this.state.gui.title=null,this.closeSidebarPanel(),this.stack.pop().then(function(t){t=null,e.stack.getCurrentContentData()&&$(e.stack.getCurrentContentData().content.internalPanel.$el).show()})},this.closeAllPanels=function(){this.state.gui.title=null,this.closeSidebarPanel(),this.stack.clear()},u(this)}Object.defineProperty(r,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=w.method,i=void 0===r?"GET":r,a=w.params,s=void 0===a?{}:a,l=w.url,u=w.taskUrl,c=w.interval,d=void 0===c?1e3:c,p=w.timeout,f=void 0===p?1/0:p,h=w.listener,v=void 0===h?function(){}:h,t.prev=1,"GET"!==i){t.next=8;break}return t.next=5,o.get({url:l,params:s});case 5:t.t0=t.sent,t.next=11;break;case 8:return t.next=10,o.post({url:l,data:s.data||{},contentType:s.contentType||"application/json"});case 10:t.t0=t.sent;case 11:if(g=t.t0,m=g.result,y=g.task_id,!m){t.next=19;break}_=setInterval(n(regeneratorRuntime.mark(function x(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(f-=d,!(f>0)){t.next=15;break}return e=void 0,t.prev=3,t.next=6,o.get({url:""+u+y});case 6:e=t.sent,t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](3),e=t.t0;case 12:v({task_id:y,timeout:!1,response:e}),t.next=17;break;case 15:v({timeout:!0}),b.stopTask({task_id:y});case 17:case"end":return t.stop()}},x,b,[[3,9]])})),d),e.push({task_id:y,intervalId:_}),v({task_id:y,response:g}),t.next=20;break;case 19:return t.abrupt("return",Promise.reject(g));case 20:t.next=25;break;case 22:return t.prev=22,t.t1=t["catch"](1),t.abrupt("return",Promise.reject(t.t1));case 25:case"end":return t.stop()}},t,this,[[1,22]])})),this.stopTask=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.task_id,n=e.find(function(e){return e.task_id===r});n&&clearInterval(n.intervalId)},this.clear=function(){var t=this;e.forEach(function(e){var r=e.taskId;t.stopTask({taskId:r})}),e.splice(0)}}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.XHR;r["default"]=new i},{"core/utils/utils":92}],401:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function e(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(l){i=!0,a=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw a}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=e("core/applicationstate"),o=n(a),s=e("gui/constraints"),l=e("core/utils/utils"),u=l.base,c=l.inherit,d=l.uniqueId,p=e("core/g3wobject"),f=e("gui/gui"),h=function(){this.state={primaryView:"map",secondaryPerc:0,resized:{start:!1,h:!1,v:!1},split:"h",map:{sizes:{width:0,height:0},aside:!1},content:{loading:!1,disabled:!1,sizes:{width:0,height:0},resize:{h:{perc:0},v:{perc:0}},aside:!0,showgoback:!0,stack:[],closable:!0,backonclose:!1,contentsdata:[]},usermessage:{id:null,show:!1,title:null,message:null,position:null,type:null,draggable:null,cloasable:null,autoclose:null,textMessage:!1,hooks:{header:null,body:null,footer:null}}},this._components={map:null,content:null},this._defaultMapComponent,this._contextualMapComponent,this._secondaryViewMinWidth=s.viewport.resize.content.min,this._secondaryViewMinHeight=s.viewport.resize.content.min,this._immediateComponentsLayout=!0,this.init=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.primaryview,r=void 0===t?"map":t,n=e.split,i=void 0===n?"h":n,a=e.components;this.state.primaryView=r,this.state.split=i,this._addComponents(a)},this.setResized=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.state.resized[e]=t},this.showUserMessage=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.title,n=t.subtitle,i=t.message,a=t.type,o=t.position,s=t.size,l=t.draggable,u=t.duration,c=t.textMessage,p=void 0!==c&&c,f=t.closable,h=t.autoclose,v=t.hooks,g=void 0===v?{}:v;return this.closeUserMessage(),setTimeout(function(){e.state.usermessage.id=d(),e.state.usermessage.show=!0,e.state.usermessage.message=i,e.state.usermessage.textMessage=p,e.state.usermessage.title=r,e.state.usermessage.subtitle=n,e.state.usermessage.position=o,e.state.usermessage.duration=u,e.state.usermessage.type=a,e.state.usermessage.show=!0,e.state.usermessage.size=s,e.state.usermessage.autoclose=h,e.state.usermessage.closable=f,e.state.usermessage.draggable=l,e.state.usermessage.hooks.header=g.header,e.state.usermessage.hooks.body=g.body,e.state.usermessage.hooks.footer=g.footer}),this.state.usermessage},this.closeUserMessage=function(){this.state.usermessage.id=null,this.state.usermessage.show=!1,this.state.usermessage.textMessage=!1,this.state.usermessage.message=""},this.getState=function(){return this.state},this.getMapState=function(){return this.state.map},this.getContentState=function(){return this.state.content},this.setLoadingContent=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state.content.loading=e},this._addComponents=function(e){var t=this;Object.entries(e).forEach(function(e){var r=i(e,2),n=r[0],a=r[1];Object.keys(t._components).indexOf(n)>-1&&a.mount("#g3w-view-"+n,!0).then(function(){t._components[n]=a,"map"===n&&(t._defaultMapComponent=a)}).fail(function(e){})})},this.showMap=function(){this._toggleMapComponentVisibility(this._defaultMapComponent,!0),this._components.map=this._defaultMapComponent,this._showView("map")},this.showContextualMap=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._contextualMapComponent||(this._contextualMapComponent=this._defaultMapComponent),this._contextualMapComponent!=this._defaultMapComponent&&this._toggleMapComponentVisibility(this._defaultMapComponent,!1),this._contextualMapComponent.ismount())this._components.map=this._contextualMapComponent,this._toggleMapComponentVisibility(this._contextualMapComponent,!0);else{var r=this._contextualMapComponent;r.mount("#g3w-view-map",!0).then(function(){return e._components.map=r})}this._showView("map",t)},this.recoverDefaultMap=function(){return this._components.map!==this._defaultMapComponent&&(this._components.map=this._defaultMapComponent,this._toggleMapComponentVisibility(this._contextualMapComponent,!1),this._toggleMapComponentVisibility(this._defaultMapComponent,!0)),this._components.map},this.setContextualMapComponent=function(e){e!==this._defaultMapComponent&&(this._contextualMapComponent&&this._contextualMapComponent.unmount(),this._contextualMapComponent=e)},this.resetContextualMapComponent=function(){this._contextualMapComponent&&this._contextualMapComponent.unmount(),this._contextualMapComponent=this._defaultMapComponent},this._toggleMapComponentVisibility=function(e,t){e.internalComponent.$el.style.display=t?"block":"none"},this.closeMap=function(){this.state.secondaryPerc="map"===this.state.primaryView?100:0,this.recoverDefaultMap(),this._layout()},this.showContent=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.perc=void 0!==t.perc?t.perc:this.getContentPercentageFromCurrentLayout(),t.push=t.push||!1;var r=100===t.perc?"show-content-full":"show-content";this._prepareContentView(t),this._immediateComponentsLayout=!1,this._showView("content",t),this._components.content.setContent(t).then(function(){e._immediateComponentsLayout=!0,e._layoutComponents(r)})},this.hideContent=function(e){var t=this.getContentPercentageFromCurrentLayout(this.state.split);return this.state.secondaryVisible=!e,this._layout("hide-content"),t},this.resetToDefaultContentPercentage=function(){var e=this.getCurrentContentLayout();e[""+("h"===this.state.split?"width":"height")]=e[("h"===this.state.split?"width":"height")+"_default"],e[("h"===this.state.split?"width":"height")+"_100"]=!1,this._layoutComponents()},this.toggleFullViewContent=function(){o["default"].gui.layout[o["default"].gui.layout.__current].rightpanel[("h"===this.state.split?"width":"height")+"_100"]=!o["default"].gui.layout[o["default"].gui.layout.__current].rightpanel[("h"===this.state.split?"width":"height")+"_100"],this._layoutComponents()},this.isFullViewContent=function(){return o["default"].gui.layout[o["default"].gui.layout.__current].rightpanel[("h"===this.state.split?"width":"height")+"_100"]},this.contentLength=function(){return this.state.content.contentsdata.length},this.popContent=function(){var e=this,t=$.Deferred();if(this.state.content.contentsdata.length){this.recoverDefaultMap();var r=this._components.content.getPreviousContentData();this._prepareContentView(r.options),this._immediateComponentsLayout=!1,this._showView("content",r.options),this._components.content.popContent().then(function(){e.state.secondaryPerc=r.options.perc,e._immediateComponentsLayout=!0,e._layout("pop-content"),t.resolve(e._components.contentgetCurrentContentData)})}else t.reject();return t.promise()},this.getCurrentContent=function(){return this.contentLength()?this.state.content.contentsdata[this.contentLength()-1]:null},this.getCurrentContentTitle=function(){var e=this.getCurrentContent();return e&&e.options.title},this.getCurrentContentId=function(){var e=this.getCurrentContent();return e&&e.options.id},this.changeCurrentContentOptions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getCurrentContent();if(t){var r=e.title,n=e.crumb;r&&(t.options.title=r),n&&(t.options.crumb=n)}},this.changeCurrentContentTitle=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.getCurrentContent();t&&(t.options.title=e)},this.isContentOpen=function(){return!!this.state.content.contentsdata.length},this.closeContent=function(){var e=this,t=$.Deferred();if(this.isContentOpen())this._components.content.removeContent(),this.closeSecondaryView("close-content").then(function(){var r=e.recoverDefaultMap();t.resolve(r)});else{var r=this.recoverDefaultMap();t.resolve(r)}return t.promise()},this.disableContent=function(e){this.state.content.disabled=e},this.removeContent=function(){return this.state.content.backonclose&&this.state.content.contentsdata.length>1?void this.popContent():this.closeContent()},this.isPrimaryView=function(e){return this.state.primaryView==e},this.setPrimaryView=function(e){this.state.primaryView!==e&&(this.state.primaryView=e),this._layout()},this.showPrimaryView=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&this.state.secondaryVisible&&100===this.state.secondaryPerc&&(this.state.secondaryPerc=100-e,this._layout())},this.showSecondaryView=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.split,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.perc;this.state.secondaryVisible=!0,this.state.split=e,this.state.secondaryPerc=t,this._layout()},this.closeSecondaryView=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=$.Deferred(),n=this._components[this._otherView(this.state.primaryView)];return n.clearContents?n.clearContents().then(function(){e.state.secondaryVisible=!1,e.state.secondaryPerc=0,e._layout(t),Vue.nextTick(function(){return r.resolve()})}):(this.state.secondaryVisible=!1,this._layout(t),Vue.nextTick(function(){return r.resolve()})),r.promise()},this.getDefaultViewPerc=function(e){return this.isPrimaryView(e)?100:50},this._otherView=function(e){return"map"===e?"content":"map"},this._isSecondary=function(e){return this.state.primaryView!==e},this._setPrimaryView=function(e){this.state.primaryView!==e&&(this.state.primaryView=e)},this._prepareContentView=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,r=e.split,n=void 0===r?null:r,i=e.closable,a=void 0===i||i,o=e.backonclose,s=void 0===o||o,l=e.style,u=void 0===l?{}:l,c=e.showgoback,d=void 0===c||c,p=e.headertools,f=void 0===p?[]:p;this.state.content.title=t,this.state.content.split=n,this.state.content.closable=a,this.state.content.backonclose=s,this.state.content.contentsdata=this._components.content.contentsdata,this.state.content.style=u,this.state.content.headertools=f,this.state.content.showgoback=d},this._showView=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.perc,n=void 0===r?this.getDefaultViewPerc(e):r,i=t.split,a=void 0===i?"h":i,o=void 0;o=!this.isPrimaryView(e)||"undefined"!=typeof t.aside&&t.aside,this.state[e].aside=o;var s=this.isPrimaryView(e)?100-n:n;return s>0?void this.showSecondaryView(a,s):this.closeSecondaryView()},this._getReducedSizes=function(){var e=$(".content"),t=0,r=0,n=$(".sidebar-aside-toggle");if(e&&this.state.secondaryVisible&&this.isFullViewContent()){if(n&&n.is(":visible")){var i=n.outerWidth();e.css("padding-left",i+5),t=i-5}}else{var a=n.outerWidth();e.css("padding-left",100===this.state.secondaryPerc?a+5:15)}return{reducedWidth:t,reducedHeight:r}},this._layout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this._getReducedSizes();this._setViewSizes(t.reducedWidth,t.reducedHeight),this._immediateComponentsLayout&&this._layoutComponents(e)},this._setViewSizes=function(){var e=this.state.primaryView,t=this._otherView(e),r=this.getViewportSize(),n=r.width,i=r.height,a=void 0,o=void 0,s=void 0,l=void 0,u=(100===this.state.secondaryPerc||this.isFullViewContent()?100:this.getContentPercentageFromCurrentLayout(this.state.split))/100;"h"===this.state.split?(s=this.state.secondaryVisible?Math.max(n*u,this._secondaryViewMinWidth):0,l=i,a=n-s,o=i):(s=n,l=this.state.secondaryVisible?Math.max(i*u,this._secondaryViewMinHeight):0,a=this.state.secondaryVisible&&1===u?0:n,o=i-l),this.state[e].sizes.width=a,this.state[e].sizes.height=o,this.state[t].sizes.width=s,this.state[t].sizes.height=l},this.getViewportSize=function(){return{width:this._viewportWidth(),height:this._viewportHeight()}},this._viewportHeight=function(){var e=$(".navbar-header").innerHeight();return $(document).innerHeight()-e},this._viewportWidth=function(){var e=$(".main-sidebar"),t=e.length&&e.offset().left,r=e.length&&e[0].getBoundingClientRect().width,n=r+t;return $("#app")[0].getBoundingClientRect().width-n},this.resizeViewComponents=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},arguments[2]);this.setResized(e,!0),this.setContentPercentageFromCurrentLayout(e,t),this._layout("resize")},this.setContentPercentageFromCurrentLayout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.split,t=arguments[1];this.getCurrentContentLayout()["h"===e?"width":"height"]=t},this.getContentPercentageFromCurrentLayout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.split;return this.getCurrentContentLayout()["h"===e?"width":"height"]},this.getCurrentContentLayout=function(){return o["default"].gui.layout[o["default"].gui.layout.__current].rightpanel},this._layoutComponents=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;requestAnimationFrame(function(){var r=e._getReducedSizes(),n=r.reducedWidth||0,a=r.reducedHeight||0;e._setViewSizes(),Object.entries(e._components).forEach(function(t){var r=i(t,2),o=r[0],s=r[1],l=e.state[o].sizes.width-n,u=e.state[o].sizes.height-a;s.layout(l,u)}),t&&setTimeout(function(){e.emit(t),f.emit(t)})})},this._firstLayout=function(){function e(){n=!0,i()}var t=this,r=!1,n=!1,i=function a(){n===!0?(n=!1,r=!0,t._layout("resize"),requestAnimationFrame(a)):r=!1};f.on("ready",function(){t.SIDEBARWIDTH=f.getSize({element:"sidebar",what:"width"}),t._layout(),f.on("guiresized",function(){return e()}),$(window).resize(function(){r===!1&&e()}),$(".main-sidebar").on("webkitTransitionEnd transitionend msTransitionEnd oTransitionEnd",function(t){t.target===this&&($(this).trigger("trans-end"),e())})})},this._firstLayout(),u(this)};c(h,p),r["default"]=new h},{"core/applicationstate":8,"core/g3wobject":26,"core/utils/utils":92,"gui/constraints":143,"gui/gui":150}],402:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){this._workflows=[],this.push=function(e){return this._workflows.indexOf(e)===-1?this._workflows.push(e)-1:this._workflows.indexOf(e)},this.getParent=function(){var e=this._getCurrentIndex();return e>0&&this._workflows[e-1]},this.getParents=function(){var e=this._getCurrentIndex();return e>0&&this._workflows.slice(0,e)},this.pop=function(){return this._workflows.pop()},this.getLength=function(){return this._workflows.length},this._getCurrentIndex=function(){var e=this.getCurrent();return this._workflows.findIndex(function(t){return t===e})},this.getCurrent=function(){return this.getLast()},this.getLast=function(){var e=this._workflows.length;return e?this._workflows[e-1]:null},this.getFirst=function(){return this._workflows[0]},this.removeAt=function(e){this._workflows.splice(e,1)},this.getAt=function(e){return this._workflows[e]},this.insertAt=function(e,t){this._workflows[e]=t},this.clear=function(){for(;this._workflows.length;){var e=this.pop();e.stop()}}};r["default"]=new n},{}],403:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=Vue.observable({ready:!1,iframe:!1,online:!1,ismobile:!1,download:!1,upload:!1,baseLayerId:null,lng:"en",changeProjectview:!1,plugins:[],user:null,map:{epsg:"",unit:"metric"},gui:{app:{disabled:!1},sidebar:{disabled:!1},layout:{__current:"app",app:{}}},keys:{vendorkeys:{google:void 0,bing:void 0}},tokens:{filtertoken:void 0}});r.STATE_METHODS={};r["default"]=n},{}],404:[function(e,t,r){function n(){a(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/utils/utils"),a=i.base,o=i.inherit,s=e("core/layers/layersstoresregistry");o(n,s),r["default"]=new n},{"core/layers/layersstoresregistry":55,"core/utils/utils":92}],405:[function(e,t,r){function n(){this.components={},this.registerComponent=function(e){var t=e.getId();this.components[t]||(this.components[t]=e,this.emit("componentregistered",e))},this.getComponent=function(e){return this.components[e]},this.getComponents=function(){return this.components},this.unregisterComponent=function(e){var t=this.components[e];return t&&("function"==typeof t.destroy&&t.destroy(),this.components[e]=null),t},o(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/g3wobject"),a=e("core/utils/utils"),o=a.base,s=a.inherit;s(n,i),r["default"]=new n},{"core/g3wobject":26,"core/utils/utils":92}],406:[function(e,t,r){function n(){var e=this;this._controls={},this._offlineids=[],i.onbefore("offline",function(){e._offlineids.forEach(function(t){var r=t.id,n=e._controls[r];t.enable=n.getEnable(),n.setEnable(!1)})}),i.onbefore("online",function(){e._offlineids.forEach(function(t){var r=t.id,n=t.enable;e._controls[r].setEnable(n)})}),this.setters={registerControl:function(e,t){this._registerControl(e,t)}},this._registerControl=function(e,t){this._controls[e]=t,t.offline===!1&&(this._offlineids.push({id:e,enable:t.getEnable()}),t.getEnable()&&t.setEnable(i.isOnline()))},this.getControl=function(e){return this._controls[e]},this.getControls=function(){return this._controls},this.unregisterControl=function(e){var t=this.getControl(e),r=u.getService("map"),n=r.getMap();return!!t&&(n.removeControl(t),delete this._controls[e],this._offlineids=this._offlineids.filter(function(t){return t!==e}),!0)},o(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationservice"),a=e("core/utils/utils"),o=a.base,s=a.inherit,l=e("core/g3wobject"),u=e("gui/gui");s(n,l),r["default"]=new n},{"core/applicationservice":7,"core/g3wobject":26,"core/utils/utils":92,"gui/gui":150}],407:[function(e,t,r){function n(){o(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/utils/utils"),a=i.inherit,o=i.base,s=e("core/layers/layersstoresregistry");a(n,s),r["default"]=new n},{"core/layers/layersstoresregistry":55,"core/utils/utils":92}],408:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){var t=this;this.config=null,this._plugins={},this._configurationPlugins=[],this.pluginsConfigs={},this._loadedPluginUrls=[],this.setters={registerPlugin:function(e){this._plugins[e.name]||(this._plugins[e.name]=e)}},c.onafter("setCurrentProject",function(e){t.gidProject=e.getGid()}),l(this),this.init=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(){var r=n(regeneratorRuntime.mark(function i(r,n){var a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return e.pluginsBaseUrl=t.pluginsBaseUrl,e.setPluginsConfig(t.pluginsConfigs),Object.keys(e.pluginsConfigs).forEach(function(t){return e._configurationPlugins.push(t)}),e.addLoadingPlugins(),e.otherPluginsConfig=t.otherPluginsConfig,e.setOtherPlugins(),e.setDependencyPluginConfig(),i.prev=7,i.next=10,e._loadPlugins();case 10:a=i.sent,r(a),i.next=17;break;case 14:i.prev=14,i.t0=i["catch"](7),n(i.t0);case 17:case"end":return i.stop()}},i,e,[[7,14]])}));return function(e,t){return r.apply(this,arguments)}}())},this.addLoadingPlugins=function(){var t=e("core/applicationservice");Object.keys(this.pluginsConfigs).forEach(function(e){return t.loadingPlugin(e)})},this.removeLoadingPlugin=function(t,r){var n=e("core/applicationservice");n.loadedPlugin(t,r)},this._loadPlugins=function(){var e=this,t=Object.entries(this.pluginsConfigs).map(function(t){var r=o(t,2),n=r[0],i=r[1];return e._setup(n,i)});return Promise.allSettled(t)},this.setDependencyPluginConfig=function(){var e=this,t=function(t){var r=e.pluginsConfigs[t].plugins;r&&Object.keys(r).forEach(function(t){e.pluginsConfigs[t]=a({},e.pluginsConfigs[t],r[t])})};for(var r in this.pluginsConfigs)t(r)},this.setOtherPlugins=function(){var e=p[0];this.otherPluginsConfig&&this.otherPluginsConfig[e]&&this.otherPluginsConfig[e].length?(this.pluginsConfigs[e]=this.otherPluginsConfig[e],this.pluginsConfigs[e].gid=this.otherPluginsConfig.gid):delete this.pluginsConfigs[e]},this.reloadPlugins=function(e,t){var r=this;return new Promise(function(){var i=n(regeneratorRuntime.mark(function a(n,i){var o,s,l,u,c;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:o=$("script"),s=r.getPlugins(),l=function(e){var t=s[e];t.unload(),delete r._plugins[e],o.each(function(t,n){r._loadedPluginUrls.forEach(function(t,i){if(n.getAttribute("src")===t&&t.indexOf(e)!==-1)return n.parentNode.removeChild(n),r._loadedPluginUrls.splice(i,1),!1})})};for(u in s)l(u);return r._loadedPluginUrls=[],r.otherPluginsConfig=t.getState(),r.setPluginsConfig(e.group.plugins),r.addLoadingPlugins(),r.setOtherPlugins(),a.prev=9,a.next=12,r._loadPlugins();case 12:c=a.sent,n(c),a.next=19;break;case 16:a.prev=16,a.t0=a["catch"](9),i(a.t0);case 19:case"end":return a.stop()}},a,r,[[9,16]])}));return function(e,t){return i.apply(this,arguments)}}())},this.setPluginsConfig=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={};Object.entries(t).filter(function(t){var r=o(t,2),n=r[1];return n.gid===e.gidProject}).forEach(function(e){var t=o(e,2),n=t[0],i=t[1];return r[n]=i}),this.pluginsConfigs=r},this._loadScript=function(e){return $.getScript(e)},this._setup=function(e,t){var r=this;return new Promise(function(){var i=n(regeneratorRuntime.mark(function a(n,i){var o,s,l,u,c,d,p,f,h,v,g,m;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(_.isNull(t)){a.next=38;break}for(o=t.jsscripts,s=void 0===o?[]:o,l=[],u=function(e){l.push(new Promise(function(t,n){r._loadScript(e).done(function(){return t()}).fail(function(){return n()})}))},c=!0,d=!1,p=void 0,a.prev=7,f=s[Symbol.iterator]();!(c=(h=f.next()).done);c=!0)v=h.value,u(v);a.next=15;break;case 11:a.prev=11,a.t0=a["catch"](7),d=!0,p=a.t0;case 15:a.prev=15,a.prev=16,!c&&f["return"]&&f["return"]();case 18:if(a.prev=18,!d){a.next=21;break}throw p;case 21:return a.finish(18);case 22:return a.finish(15);case 23:return a.prev=23,a.next=26,Promise.all(l);case 26:g=""+r.pluginsBaseUrl+e,m=g+"/js/plugin.js?"+Date.now(),t.baseUrl=r.pluginsBaseUrl,r._loadScript(m).done(function(){r._loadedPluginUrls.push(m),n()}).fail(function(){r.removeLoadingPlugin(e,!1),i()}),a.next=36;break;case 32:a.prev=32,a.t1=a["catch"](23),r.removeLoadingPlugin(e,!1),i();case 36:a.next=39;break;case 38:n();case 39:case"end":return a.stop()}},a,r,[[7,11,15,23],[16,,18,22],[23,32]])}));return function(e,t){return i.apply(this,arguments)}}())},this.getPluginConfig=function(e){return this.pluginsConfigs[e]},this.getPlugins=function(){return this._plugins},this.getPlugin=function(e){return this._plugins[e]},this.isPluginInConfiguration=function(e){return this._configurationPlugins.indexOf(e)!==-1},this.isTherePlugin=function(e){return this.pluginsConfigs[e]}}Object.defineProperty(r,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},r=$.Deferred();if(this.initialized){var n=this.getCurrentProject();r.resolve(n)}else{this.config=t,this.overviewproject=t.overviewproject,this.setupState();var i=new URLSearchParams(location.search),a=i.get("map_theme");this.getProject(t.initproject,{map_theme:a}).then(function(t){e.setCurrentProject(t),e.initialized=!0,r.resolve(t)}).fail(function(e){return r.reject(e)})}return r.promise()},d.clear=function(){this.config=null,this.initialized=!1,this.projectType=null,this.overviewproject,this.initialized=!1,this._groupProjects=[],this._projectConfigs={},this.state={baseLayers:{},minScale:null,maxscale:null,currentProject:null,qgis_version:null}},d.setProjectType=function(e){this.projectType=e},d.getConfig=function(){return this.config},d.getState=function(){return this.state},d.setupState=function(){this.state.baseLayers=this.config.baselayers,this.state.minScale=this.config.minscale,this.state.maxScale=this.config.maxscale,this.state.crs=this.config.crs,this.setProjects(this.config.projects)},d.getProjectType=function(){return this.projectType},d.getProjects=function(){return this._groupProjects},d.setProjects=function(e){var t=this;this.clearProjects(),e.forEach(function(e){t.state.qgis_version=e.qgis_version||t.state.qgis_version,e.baselayers=t.config.baselayers,e.minscale=t.config.minscale,e.maxscale=t.config.maxscale,e.crs=t.config.crs,e.vectorurl=t.config.vectorurl,e.rasterurl=t.config.rasterurl,e.overviewprojectgid=t.overviewproject?t.overviewproject.gid:null,t._groupProjects.push(e)})},d.clearProjects=function(){this._groupProjects=[]},d.getListableProjects=function(){var e=this.getCurrentProject().getId();return _.sortBy(this.getProjects().filter(function(t){return _.isNil(t.listable)?!(t.id===e||t.overviewprojectgid&&t.gid===t.overviewprojectgid)&&t:t.listable}),"title")},d.getCurrentProject=function(){return this.state.currentProject},d.getProject=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{reload:!1},n=r.reload,i=r.map_theme,a=$.Deferred(),o=this._groupProjects.find(function(t){return t.gid===e});if(!o)return a.reject("Project doesn't exist"),a.promise();var s=!n&&this._projectConfigs[e];if(s){var u=new l(s);a.resolve(u)}else this._getProjectFullConfig(o,{map_theme:i}).then(function(e){var r=_.merge(o,e);r.WMSUrl=t.config.getWmsUrl(r),r.relations=t._setProjectRelations(r),t._projectConfigs[r.gid]=r,t.createProject(r);var n=new l(r);a.resolve(n)}).fail(function(e){return a.reject(e)});return a.promise()},d._setProjectRelations=function(e){return e.relations=e.relations?e.relations:[],e.relations=e.relations.map(function(t){return"ONE"===t.type&&e.layers.find(function(e){if(e.id===t.referencingLayer)return t.name=e.name,t.origname=e.origname,!0}),t}),e.relations},d.getProjectConfigByGid=function(e){return this._groupProjects.find(function(t){return t.gid===e})},d.setProjectAliasUrl=function(e){var t=e.gid,r=e.url,n=e.host,i=this.config.projects.find(function(e){return e.gid===t});i&&(i.url=i&&""+(n?n:"")+r)},d.getProjectUrl=function(e){var t=this.config.urls.baseurl,r=this.getProjectConfigByGid(e),n=r.url;try{return new URL(t),""+t+n}catch(i){var a=location,o=a.origin;return""+o+t+n}},d._getProjectFullConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.map_theme,n=$.Deferred(),i=this.config.getProjectConfigUrl(e);return $.get(i).done(function(t){if(r){var i=e.type,a=e.id,o=t.map_themes,s=o.find(function(e){var t=e.theme;return t===r});if(s){var l="/"+i+"/api/prjtheme/"+a+"/"+r;$.get(l).done(function(e){var r=e.result,n=e.data;r&&(t.layerstree=n,s.layetstree=n,s["default"]=!0)}).always(function(){n.resolve(t)})}}else n.resolve(t)}).fail(function(e){return n.reject(e)}),n.promise()},r["default"]=new n},{"core/catalog/cataloglayersstoresregistry":9,"core/g3wobject":26,"core/map/maplayersstoresregistry":76,"core/project/project":82,"core/utils/utils":92}],410:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){this._sessions={},this.register=function(e){var t=e.getId();this._sessions[t]=e},this.unregister=function(e){delete this._sessions[e]},this.getSession=function(e){return this._sessions[e]},this.setSession=function(e,t){this._sessions[e]=t},this.getSessions=function(){return this._sessions},this.clear=function(){this._sessions={}}};r["default"]=new n},{}],411:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]="3.7.17"},{}]},{},[232]); \ No newline at end of file +}}):["group"===e.getNodeType(e.getNode(t,n))?r("tabs",e._b({staticClass:"sub-group",staticStyle:{width:"100% !important"},attrs:{group:!0,tabs:[e.getNode(t,n)]}},"tabs",e.$props,!1)):[e.showRelationByField?r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.isRelationDisabled(e.getNode(t,n))||e.loadingRelation(e.getNode(t,n)).loading,expression:"isRelationDisabled(getNode(row, column)) || loadingRelation(getNode(row, column)).loading"}],style:{cursor:e.showRelationByField&&"pointer"},on:{click:function(r){r.stopPropagation(),e.handleRelation({relation:e.getNode(t,n),feature:e.feature,layerId:e.layerid})}}},[r("bar-loader",{attrs:{loading:e.loadingRelation(e.getNode(t,n)).loading}}),e._v(" "),r("div",{staticStyle:{display:"flex","align-items":"center"}},[r("div",{staticClass:"query_relation_field"},[r("i",{"class":e.g3wtemplate.font[""+("query"===e.context?"relation":"pencil")]})]),e._v(" "),r("span",{staticClass:"query_relation_field_message g3w-long-text"},[r("span",{staticStyle:{"text-transform":"uppercase"}},[e._v(" "+e._s(e.getRelationName(e.getNode(t,n).name)))])])])],1):e._e()]]]:e._e()]})],2)})],2)},n.staticRenderFns=[],n._scopeId="data-v-d72f9c66"},{"components/InputG3W.vue":277,"core/project/projectsregistry":83,"gui/fields/fields":145,"gui/gui":150,"vueify/lib/insert-css":2}],271:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={props:["state"],methods:{showCustomModal:function(e){this.$emit("show-custom-modal-content",e)}},created:function(){this.state.type=this.state.type||"link"}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("li",{staticClass:"customheaderlink dropdown user user-menu",attrs:{title:e.state.title}},["link"===e.state.type?r("a",{staticClass:"dropdown-toggle","class":{imagelink:!!e.state.img},attrs:{href:e.state.url,target:e.state.target}},[e.state.img?r("img",{staticStyle:{"max-height":"20px"},attrs:{src:e.state.img}}):r("span",[e.state.i18n?r("span",{directives:[{name:"t",rawName:"v-t",value:e.state.title,expression:"state.title"}]}):r("span",[e._v(e._s(e.state.title))])])]):"modal"===e.state.type?r("a",{staticClass:"dropdown-toggle",staticStyle:{cursor:"pointer"},attrs:{"data-toggle":"modal","data-target":"#custom_modal"},on:{click:function(t){return e.showCustomModal(e.state.id)}}},[r("span",[e._v(e._s(e.state.title))])]):e._e()])},n.staticRenderFns=[]},{}],272:[function(e,t,r){e("vueify/lib/insert-css").insert(".control-label[data-v-9e697b7e]{text-align:left!important;padding-top:0!important;margin-bottom:3px}");!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t=1;t-1:e.value},on:{change:[function(t){var r=e.value,n=t.target,i=!!n.checked;if(Array.isArray(r)){var a=null,o=e._i(r,a);n.checked?o<0&&(e.value=r.concat([a])):o>-1&&(e.value=r.slice(0,o).concat(r.slice(o+1)))}else e.value=i},e.changeCheckBox]}}),e._v(" "),r("label",{attrs:{"for":e.id}},[e._v(e._s(e.label))])])])},n.staticRenderFns=[]},{"core/utils/utils":92,"gui/inputs/input":159,"gui/inputs/widgetmixins":184}],274:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("gui/inputs/input");r["default"]={mixins:[t]}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("baseinput",{attrs:{state:e.state}},[r("input",{directives:[{name:"disabled",rawName:"v-disabled",value:!e.editable,expression:"!editable"},{name:"model",rawName:"v-model",value:e.state.value,expression:"state.value"}],staticClass:"form-control","class":{"input-error-validation":e.notvalid},staticStyle:{cursor:"pointer"},attrs:{slot:"body",placeholder:e.state["default"],type:"color",tabIndex:e.tabIndex,field:e.state.name,id:e.state.name},domProps:{value:e.state.value},on:{change:e.change,input:function(t){t.target.composing||e.$set(e.state,"value",t.target.value)}},slot:"body"})])},n.staticRenderFns=[]},{"gui/inputs/input":159}],275:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=t(i),o=e("gui/inputs/input"),s=e("core/utils/utils"),l=s.getUniqueDomId,u=e("gui/vue/vue.mixins"),c=u.resizeMixin;r["default"]={mixins:[o,c],data:function(){var e=l();return{widget_container:{top:0,left:0},iddatetimepicker:"datetimepicker_"+e,idinputdatetimepiker:"inputdatetimepicker_"+e}},methods:{resize:function(){var e=$("#"+this.iddatetimepicker);e&&e.data("DateTimePicker")&&e.data("DateTimePicker").hide()},timeOnly:function(){return!this.state.input.options.formats[0].date},onDatePickerChange:function(){var e=$("#"+this.idinputdatetimepiker).val();this.state.value=_.isEmpty(_.trim(e))?null:moment(e,this.datetimedisplayformat).format(this.datetimefieldformat),this.change()},onDatePickerShow:function(e){var t=this;this.widget_container.top=0,this.widget_container.left=0,setTimeout(function(){var e=t.$refs.datetimepicker_body.getBoundingClientRect(),r=document.querySelector(".bootstrap-datetimepicker-widget").getBoundingClientRect();t.widget_container.top=e.top+(e.top',e.title="Add column left";var t=this.$el.querySelector(".ql-column-right");t.innerHTML='',t.title="Add column right";var r=this.$el.querySelector(".ql-column-remove");r.innerHTML='',r.title="Remove column";var n=this.$el.querySelector(".ql-row-above");n.innerHTML='',n.title="Add row above";var i=this.$el.querySelector(".ql-row-below");i.innerHTML='',i.title="Add row below";var a=this.$el.querySelector(".ql-row-remove");a.innerHTML='',a.title="Remove row"}},created:function(){this.edit_state={edit:!1,show_html:!1},this.state.edit_states||(this.state.edit_states=[]),this.state.edit_states.push(this.edit_state)},mounted:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){var e,t=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=[[{header:[1,2,3,4,5,6,!1]}],[{align:""},{align:"center"},{align:"right"},{align:"justify"}],[{color:[]},{background:[]}],["bold","italic","underline",{list:"ordered"},{list:"bullet"},"link","clean","html"],["table","column-left","column-right","column-remove","row-above","row-below","row-remove"]],r.next=3,this.$nextTick();case 3:this.quill=new Quill(this.$refs.quill_editor,{modules:{table:!0,toolbar:{container:e,handlers:{html:function(){t.edit_state.show_html=!t.edit_state.show_html,t.edit_state.show_html?t.quill.container.firstChild.innerText=t.quill.container.firstChild.innerHTML:t.quill.container.firstChild.innerHTML=t.quill.container.firstChild.innerText;var e=!0,r=!1,n=void 0;try{for(var i,a=t.$el.querySelectorAll(".ql-formats")[Symbol.iterator]();!(e=(i=a.next()).done);e=!0){var o=i.value,s=!0,l=!1,u=void 0;try{for(var c,d=o.children[Symbol.iterator]();!(s=(c=d.next()).done);s=!0){var p=c.value;p.classList.contains("ql-html")?p.classList.toggle("skin-color"):p.classList.toggle("g3w-disabled")}}catch(f){l=!0,u=f}finally{try{!s&&d["return"]&&d["return"]()}finally{if(l)throw u}}}}catch(f){r=!0,n=f}finally{try{!e&&a["return"]&&a["return"]()}finally{if(r)throw n}}},"column-left":function(){return t.table.insertColumnLeft()},"column-right":function(){return t.table.insertColumnRight()},"column-remove":function(){return t.table.deleteColumn()},"row-above":function(){return t.table.insertRowAbove()},"row-below":function(){return t.table.insertRowBelow()},"row-remove":function(){return t.table.deleteRow()}}}},theme:"snow"}),this.quill.container.firstChild.innerHTML=this.state.value,this.table=this.quill.getModule("table"),this.setupTableCustomTools(),this.handler=function(){t.state.value=t.edit_state.show_html?t.quill.container.firstChild.innerText:t.quill.container.firstChild.innerHTML,t.edit_state.edit=!0,t.change(),setTimeout(function(){return t.edit_state.edit=!1})},this.quill.on("text-change",this.handler);case 9:case"end":return r.stop()}},n,this)}));return e}(),watch:{"state.value":function(e){this.edit_state.edit||(this.edit_state.show_html?this.quill.container.firstChild.innerText=e:this.quill.container.firstChild.innerHTML=e)}},beforeDestroy:function(){this.quill.off("text-change",this.handler),this.handler=null,this.quill=null,this.edit_state.edit=!1,this.edit_state.show_html=!1}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("baseinput",{directives:[{name:"disabled",rawName:"v-disabled",value:!e.editable,expression:"!editable"}],attrs:{state:e.state}},[r("div",{ref:"quill_editor",staticClass:"form-control",style:{border:e.novalid?"1px solid reed":"1px solid #ccc"},attrs:{slot:"body"},on:{keydown:function(e){e.stopPropagation()}},slot:"body"})])},n.staticRenderFns=[]},{"core/utils/utils":92,"gui/inputs/input":159,"vueify/lib/insert-css":2}],290:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("gui/inputs/input"),i=e("gui/vue/vue.mixins"),a=i.selectMixin,o=e("core/utils/utils"),s=o.getUniqueDomId;r["default"]={mixins:[n,a],data:function(){var e="unique_"+s();return{id:e}},watch:{"state.input.options.values":function(){function e(e){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.state.value=this.state.value?this.state.value:null,null!==this.state.value&&e.indexOf(this.state.value)===-1&&this.service.addValueToValues(this.state.value),t.next=4,this.$nextTick();case 4:this.state.value&&this.select2.val(this.state.value).trigger("change");case 5:case"end":return t.stop()}},n,this)}));return e}()},mounted:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.state.input.options.editable&&(this.select2=$("#"+this.id).select2({dropdownParent:$("#g3w-view-content"),tags:!0,language:this.getLanguage()}),this.select2.val(this.state.value).trigger("change"),this.select2.on("select2:select",function(t){var r=t.params.data.$value?t.params.data.$value:t.params.data.id;e.changeSelect(r)}));case 3:case"end":return t.stop()}},n,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("baseinput",{attrs:{state:e.state}},[r("select",{directives:[{name:"disabled",rawName:"v-disabled",value:!e.editable,expression:"!editable"}],staticClass:"form-control",staticStyle:{width:"100%"},attrs:{slot:"body",id:e.id,tabIndex:e.tabIndex},slot:"body"},[r("option",{attrs:{value:"null"}}),e._v(" "),e._l(e.state.input.options.values,function(t){return r("option",{key:t,domProps:{value:e.getValue(t)}},[e._v(e._s(e.getValue(t)))])})],2)])},n.staticRenderFns=[]},{"core/utils/utils":92,"gui/inputs/input":159,"gui/vue/vue.mixins":227}],291:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("components/MapAddLayer.vue"),a=t(i),o=e("./MapFooter.vue"),s=t(o);r["default"]={data:function(){var e=this.$options,t=e.service,r=e.target;return{target:r,maps_container:this.$options.maps_container,service:t,hidemaps:t.state.hidemaps,map_info:t.state.map_info}},components:{addlayer:a["default"],MapFooter:s["default"]},computed:{mapcontrolsalignement:function(){return this.service.state.mapcontrolsalignement},disableMapControls:function(){return this.service.state.mapControl.disabled}},methods:{showHideControls:function(){var e=this.service.getMapControls();e.forEach(function(e){return"scaleline"!==e.type&&e.control.showHide()})}},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.crs=this.service.getCrs(),t.next=3,this.$nextTick();case 3:this.service.setMapControlsContainer($(this.$refs["g3w-map-controls"])),this.service.onafter("addHideMap",n(regeneratorRuntime.mark(function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.ratio,i=t.layers,a=void 0===i?[]:i,o=t.mainview,s=void 0!==o&&o,l=t.switchable,u=void 0!==l&&l;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$nextTick();case 2:e.service._addHideMap({ratio:n,layers:a,mainview:s,switchable:u});case 3:case"end":return t.stop()}},r,e)})));case 5:case"end":return t.stop()}},r,this)}));return e}(),destroyed:function(){this.service.clear()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:e.maps_container}},[e._l(e.hidemaps,function(e){return r("div",{key:e.id,staticClass:"g3w-map hidemap",attrs:{id:e.id}})}),e._v(" "),r("div",{staticClass:"g3w-map",attrs:{id:e.target}},[r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.disableMapControls,expression:"disableMapControls"}],ref:"g3w-map-controls",staticClass:"g3w-map-controls","class":e.mapcontrolsalignement,staticStyle:{display:"flex"}}),e._v(" "),e.map_info.info?r("div",{ref:"g3w-map-info",style:e.map_info.style,attrs:{id:"g3w-map-info"}},[e._v("\n "+e._s(e.map_info.info)+"\n ")]):e._e(),e._v(" "),e._m(0),e._v(" "),r("addlayer",{attrs:{service:e.service}})],1),e._v(" "),r("map-footer",{attrs:{service:e.service}})],2)},n.staticRenderFns=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{display:"none"}},[r("div",{attrs:{id:"marker"}})])}]},{"./MapFooter.vue":293,"components/MapAddLayer.vue":292}],292:[function(e,t,r){!function(){function t(e){return Array.isArray(e)?e:Array.from(e)}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("app/constant"),a=e("core/utils/geo"),o=a.createVectorLayerFromFile,s=a.createStyleFunctionToVectorLayer,l=["zip","geojson","GEOJSON","kml","kmz","KMZ","KML","json","gpx","gml","csv"],u=[",",";"],c=VueColor.Chrome;c.mounted=n(regeneratorRuntime.mark(function d(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:$(".vue-color__chrome__toggle-btn").remove(),$(".vue-color__editable-input__label").remove(),$(".vue-color__chrome__saturation-wrap").css("padding-bottom","100px"),$(".vue-color__chrome").css({"box-shadow":"0 0 0 0",border:"1px solid #97A1A8"});case 6:case"end":return e.stop()}},d,this)})),r["default"]={props:["service"],data:function(){var e=this.service.getCrs();return void 0===i.EPSG.find(function(t){return t===e})&&i.EPSG.unshift(e),{vectorLayer:null,options:i.EPSG,error:!1,error_message:null,position:null,loading:!1,fields:[],field:null,accepted_extension:l.map(function(e){return"."+e}).join(","),csv:{valid:!1,loading:!1,headers:[],x:null,y:null,separators:u,separator:u[0]},layer:{name:null,type:null,crs:null,mapCrs:null,color:{hex:"#194d33",rgba:{r:25,g:77,b:51,a:1},a:1},data:null,visible:!0,title:null,id:null,external:!0}}},components:{"chrome-picker":c},methods:{setLayerMapPosition:function(e){this.position=e},setError:function(e){this.error_message="sdk.errors."+e,this.error=!0},clearError:function(){this.error=!1,this.error_message=null},onChangeColor:function(e){this.layer.color=e},onAddLayer:function(){function e(e){return r.apply(this,arguments)}var r=n(regeneratorRuntime.mark(function i(e){var r,n,a,o,s,u=this;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(this.csv.valid=!0,r=new FileReader,n=e.target.files[0].name,a=e.target.files[0].name.split("."),a=a[a.length-1].toLowerCase(),o=$(this.$refs.input_file),l.indexOf(a)===-1){i.next=33;break}if(this.clearError(),this.layer.mapCrs=this.service.getEpsg(),this.layer.name=n,this.layer.title=n,this.layer.id=n,this.layer.type=a,"csv"!==this.layer.type){i.next=18;break}r.onload=function(e){o.val(null);var r=e.target.result.split(/\r\n|\n/).filter(function(e){return e}),n=t(r),i=n[0],a=n.slice(1),s=function(e){var t=void 0;u.csv.loading=!0;var r=i.split(e),n=r.length;return n>1?(u.csv.headers=r,u.fields=r,u.csv.x=r[0],u.csv.y=r[1],t={headers:r,separator:e,x:u.csv.x,y:u.csv.y,values:a},u.csv.valid=!0):(u.csv.headers=u.fields=[],u.vectorLayer=null,u.csv.valid=!1,u.fields.splice(0)),u.csv.loading=!1,t};u.layer.data=s(u.csv.separator),u.$watch("csv.separator",function(e){return u.layer.data=s(e)})},r.readAsText(e.target.files[0]),i.next=31;break;case 18:return s=new Promise(function(t,n){if("zip"===u.layer.type||"kmz"===u.layer.type){var i=e.target.files[0];o.val(null),t(i)}else r.onload=function(e){var r=e.target.result;o.val(null),t(r)},r.readAsText(e.target.files[0])}),i.next=21,s;case 21:return this.layer.data=i.sent,i.prev=22,this.fields.splice(0),i.next=26,this.createVectorLayer();case 26:this.fields=this.vectorLayer.get("_fields"),i.next=31;break;case 29:i.prev=29,i.t0=i["catch"](22);case 31:i.next=34;break;case 33:this.setError("unsupported_format");case 34:case"end":return i.stop()}},i,this,[[22,29]])}));return e}(),createVectorLayer:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o(this.layer);case 3:return this.vectorLayer=e.sent,e.next=6,this.$nextTick();case 6:e.next=11;break;case 8:e.prev=8,e.t0=e["catch"](0),this.setError("add_external_layer");case 11:case"end":return e.stop()}},r,this,[[0,8]])}));return e}(),addLayer:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.vectorLayer&&!this.csv.valid){e.next=17;break}return this.loading=!0,e.prev=2,e.next=5,o(this.layer);case 5:return this.vectorLayer=e.sent,this.vectorLayer.setStyle(s({color:this.layer.color,field:this.field})),e.next=9,this.service.addExternalLayer(this.vectorLayer,{crs:this.layer.crs,type:this.layer.type,position:this.position});case 9:$(this.$refs.modal_addlayer).modal("hide"),this.clearLayer(),e.next=16;break;case 13:e.prev=13,e.t0=e["catch"](2),this.setError("add_external_layer");case 16:this.loading=!1;case 17:case"end":return e.stop()}},r,this,[[2,13]])}));return e}(),clearLayer:function(){this.clearError(),this.loading=!1,this.layer.name=null,this.layer.title=null,this.layer.id=null,this.layer.type=null,this.layer.crs=this.service.getCrs(),this.layer.color={hex:"#194d33",rgba:{r:25,g:77,b:51,a:1},a:1},this.layer.data=null,this.vectorLayer=null,this.fields=[],this.field=null}},computed:{csv_extension:function(){return"csv"===this.layer.type},add:function(){return this.vectorLayer||this.csv.valid}},watch:{"csv.x":function(e){e&&(this.layer.data.x=e)},"csv.y":function(e){e&&(this.layer.data.y=e)}},created:function(){var e=this;this.layer.crs=this.service.getCrs(),this.service.on("addexternallayer",function(){return e.modal.modal("show")})},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.modal=$("#modal-addlayer").modal("hide"),this.modal.on("hidden.bs.modal",function(){return e.clearLayer()});case 4:case"end":return t.stop()}},r,this)}));return e}(),beforeDestroy:function(){this.clearLayer(),this.modal.modal("hide"),this.modal.remove()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"modal_addlayer",staticClass:"modal fade",attrs:{id:"modal-addlayer",role:"dialog"}},[r("div",{staticClass:"modal-dialog"},[r("div",{staticClass:"modal-content"},[r("div",{staticClass:"modal-header"},[r("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal"}},[e._v("×")]),e._v(" "),r("h4",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.header",expression:"'mapcontrols.add_layer_control.header'"}],staticClass:"modal-title",staticStyle:{"font-weight":"bold"}})]),e._v(" "),r("div",{staticClass:"modal-body"},[r("div",{staticClass:"form-group"},[r("label",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_projection",expression:"'mapcontrols.add_layer_control.select_projection'"}],attrs:{"for":"projection-layer"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.layer.crs,expression:"layer.crs"}],staticClass:"form-control",attrs:{id:"projection-layer"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.layer,"crs",t.target.multiple?r:r[0])}}},e._l(e.options,function(t){return r("option",{domProps:{value:t}},[e._v(e._s(t))])}),0)]),e._v(" "),r("layerspositions",{on:{"layer-position-change":function(t){return e.setLayerMapPosition(t)}}}),e._v(" "),r("p",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_color",expression:"'mapcontrols.add_layer_control.select_color'"}],staticStyle:{"font-weight":"700"}}),e._v(" "),r("chrome-picker",{staticStyle:{width:"100%",margin:"auto"},on:{"change-color":e.onChangeColor},model:{value:e.layer.color,callback:function(t){e.$set(e.layer,"color",t)},expression:"layer.color"}}),e._v(" "),r("bar-loader",{attrs:{loading:e.loading}}),e._v(" "),r("form",{attrs:{id:"addcustomlayer"}},[r("input",{ref:"input_file",attrs:{type:"file",title:" ",accept:e.accepted_extension},on:{change:function(t){return e.onAddLayer(t)}}}),e._v(" "),r("h4",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.drag_layer",expression:"'mapcontrols.add_layer_control.drag_layer'"}]}),e._v(" "),e.layer.name?r("h4",{staticClass:"skin-color",staticStyle:{"font-weight":"bold"}},[e._v(e._s(e.layer.name))]):e._e(),e._v(" "),r("div",[r("i",{staticClass:"fa-5x","class":e.g3wtemplate.getFontClass("cloud-upload"),attrs:{"aria-hidden":"true"}})]),e._v(" "),r("p",{staticStyle:{"font-weight":"bold"}},[e._v("[.gml, .geojson, .kml, .kmz ,.gpx, .csv, .zip(shapefile)]")])]),e._v(" "),e.csv_extension?r("div",{staticStyle:{padding:"15px",border:"1px solid grey","border-radius":"3px"}},[r("bar-loader",{attrs:{loading:e.csv.loading}}),e._v(" "),r("div",{staticClass:"select_field"},[r("label",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_csv_separator",expression:"'mapcontrols.add_layer_control.select_csv_separator'"}],attrs:{"for":"g3w-select-field-layer"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.csv.separator,expression:"csv.separator"}],staticClass:"form-control",attrs:{id:"g3w-select-separator"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.csv,"separator",t.target.multiple?r:r[0])}}},e._l(e.csv.separators,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])}),0),e._v(" "),r("div",{staticClass:"select_field","class":{"g3w-disabled":!e.csv.headers||0===e.csv.headers.length}},[r("label",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_csv_x_field",expression:"'mapcontrols.add_layer_control.select_csv_x_field'"}],attrs:{"for":"g3w-select-x-field"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.csv.x,expression:"csv.x"}],staticClass:"form-control",attrs:{id:"g3w-select-x-field"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.csv,"x",t.target.multiple?r:r[0])}}},e._l(e.csv.headers,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])}),0)]),e._v(" "),r("div",{staticClass:"select_field","class":{"g3w-disabled":!e.csv.headers||0===e.csv.headers.length}},[r("label",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_csv_y_field",expression:"'mapcontrols.add_layer_control.select_csv_y_field'"}],attrs:{"for":"g3w-select-y-field"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.csv.y,expression:"csv.y"}],staticClass:"form-control",attrs:{id:"g3w-select-y-field"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.csv,"y",t.target.multiple?r:r[0])}}},e._l(e.csv.headers,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])}),0)])])],1):e._e(),e._v(" "),r("div",{staticClass:"select_field","class":{"g3w-disabled":!e.fields||0===e.fields.length}},[r("label",{directives:[{name:"t",rawName:"v-t",value:"mapcontrols.add_layer_control.select_field_to_show",expression:"'mapcontrols.add_layer_control.select_field_to_show'"}],attrs:{"for":"g3w-select-field-layer"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.field,expression:"field"}],staticClass:"form-control",attrs:{id:"g3w-select-field-layer"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.field=t.target.multiple?r:r[0]}}},[r("option",{domProps:{value:null}},[e._v("---")]),e._v(" "),e._l(e.fields,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])})],2)]),e._v(" "),e.error?r("div",{directives:[{name:"t",rawName:"v-t",value:e.error_message,expression:"error_message"}],staticStyle:{"font-weight":"bold","font-size":"1.2em","background-color":"orange",padding:"10px","text-align":"center"}}):e._e(),e._v(" "),r("div",{staticClass:"modal-footer"},[r("button",{directives:[{name:"t",rawName:"v-t",value:"add",expression:"'add'"}],staticClass:"btn btn-success pull-left",attrs:{type:"button",disabled:!e.add},on:{click:e.addLayer}}),e._v(" "),r("button",{directives:[{name:"t",rawName:"v-t",value:"close",expression:"'close'"}],staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}})])],1)])])])},n.staticRenderFns=[]},{"app/constant":5,"core/utils/geo":89}],293:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("./MapFooterRight.vue"),i=t(n),a=e("./MapFooterLeft.vue"),o=t(a);r["default"]={name:"Mapfooter",props:{service:{type:Object}},components:{MapFooterRight:i["default"],MapFooterLeft:o["default"]}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]); +var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"skin-border-color",attrs:{id:"map_footer"}},[r("map-footer-left"),e._v(" "),r("map-footer-right",{attrs:{service:e.service}})],1)},n.staticRenderFns=[]},{"./MapFooterLeft.vue":294,"./MapFooterRight.vue":295}],294:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"Mapfooter"}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement;e._self._c||t;return e._m(0)},n.staticRenderFns=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{display:"flex"},attrs:{id:"map_footer_left"}},[r("a",{staticStyle:{"margin-left":"5px","align-self":"center"},attrs:{href:"https://g3wsuite.it/",target:"_blank"}},[r("img",{attrs:{height:"15",src:"/static/client/images/g3wsuite_logo.png",alt:""}})])])}]},{}],295:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=t(i);r["default"]={name:"Mapfooter",props:{service:{type:Object}},data:function(){return{mouse:{switch_icon:!1,epsg_4326:!1,tooltip:null},mapunit:a["default"].map.unit}},computed:{showmapunits:function(){return this.service.state.mapunits.length>1}},methods:{createCopyMapExtentUrl:function(){this.service.createCopyMapExtentUrl()},switchMapsCoordinateTo4326:function(){this.mouse.epsg_4326=!this.mouse.epsg_4326}},watch:{mapunit:function(e){a["default"].map.unit=e,this.service.changeScaleLineUnit(e)}},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.service.once("ready",function(){e.mouse.switch_icon=e.service.getMapControlByType({type:"mouseposition"})&&"EPSG:4326"!==e.service.getEpsg(),e.mouse.tooltip="ESPG "+e.service.getCrs().split(":")[1]+" <--> WGS84"});case 1:case"end":return t.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{display:"flex"},attrs:{id:"map_footer_right"}},[r("div",{attrs:{id:"scale-control"}}),e._v(" "),e.mouse.switch_icon&&!e.isMobile()?r("div",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:top.create",value:e.mouse.tooltip,expression:"mouse.tooltip",arg:"top",modifiers:{create:!0}}],attrs:{id:"switch-mouse-coordinate"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.switchMapsCoordinateTo4326(t)}}},[r("span",{staticClass:"skin-color hide-cursor-caret-color","class":e.g3wtemplate.getFontClass("mouse")})]):e._e(),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.mouse.epsg_4326,expression:"!mouse.epsg_4326"}],attrs:{id:"mouse-position-control"}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.mouse.epsg_4326,expression:"mouse.epsg_4326"}],attrs:{id:"mouse-position-control-epsg-4326"}}),e._v(" "),e.showmapunits?r("div",{attrs:{id:"scale-line-units"}},[r("select",{directives:[{name:"model",rawName:"v-model",value:e.mapunit,expression:"mapunit"}],staticClass:"skin-color",staticStyle:{padding:"5px 2px","font-weight":"bold",border:"0",cursor:"pointer"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.mapunit=t.target.multiple?r:r[0]}}},e._l(e.service.state.mapunits,function(t){return r("option",{directives:[{name:"t",rawName:"v-t",value:"sdk.mapcontrols.scaleline.units."+t,expression:"`sdk.mapcontrols.scaleline.units.${unit}`"}],staticStyle:{"font-weight":"bold"},domProps:{value:t,selected:e.mapunit===t}})}),0)]):e._e(),e._v(" "),r("div",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:top.create",value:"sdk.tooltips.copy_map_extent_url",expression:"'sdk.tooltips.copy_map_extent_url'",arg:"top",modifiers:{create:!0}}],staticStyle:{"background-color":"#eeeeee"},attrs:{id:"permalink"}},[r("span",{staticClass:"skin-color","class":e.g3wtemplate.getFontClass("link"),on:{click:function(t){return t.stopPropagation(),e.createCopyMapExtentUrl(t)}}})])])},n.staticRenderFns=[]},{"core/applicationstate":8}],296:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={data:function(){return{state:null}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div")},n.staticRenderFns=[]},{}],297:[function(e,t,r){e("vueify/lib/insert-css").insert('.layer_header[data-v-9dde3d30]{padding:5px;margin-bottom:0;margin-top:0;cursor:pointer}.layer-name[data-v-9dde3d30]{font-weight:700}.layer-header-icon[data-v-9dde3d30]{margin-right:10px;color:#999}.layer_header span.open-close[data-v-9dde3d30]{position:absolute;right:5px;color:#999}.metadata-label[data-v-9dde3d30]{font-weight:700;font-size:1.1em}.row[data-v-9dde3d30]{padding:10px;border-bottom:1px solid #e2e2e2}.nav-tabs[data-v-9dde3d30]{border-bottom:0 solid #ddd}.nav-tabs>li.active>a[data-v-9dde3d30],.nav-tabs>li.active>a[data-v-9dde3d30]:focus,.nav-tabs>li.active>a[data-v-9dde3d30]:hover{border-width:0}.nav-tabs>li>a[data-v-9dde3d30]{border:none;color:#aeaeae}.nav-tabs>li.active>a[data-v-9dde3d30],.nav-tabs>li>a[data-v-9dde3d30]:hover{border:none;background:transparent}.nav-tabs>li>a[data-v-9dde3d30]:after{content:"";height:2px;position:absolute;width:100%;left:0;bottom:-1px;transition:all .25s ease 0s;transform:scale(0)}.nav-tabs>li.active>a[data-v-9dde3d30]:after,.nav-tabs>li:hover>a[data-v-9dde3d30]:after{transform:scale(1)}.tab-nav>li>a[data-v-9dde3d30]:after{background:#21527d none repeat scroll 0 0;color:#fff}.tab-content[data-v-9dde3d30]{margin:10px;background-color:#eee;overflow:auto}.spatial-tab[data-v-9dde3d30]{font-weight:700}');!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("gui/metadata/vue/components/metadatamixin"),i=t(n);r["default"]={name:"layer",mixins:[i["default"]],props:{state:{}},data:function(){return{show:!1}},computed:{isSpatial:function(){return"NoGeometry"!=this.state.geometrytype}},methods:{showHideInfo:function(){this.show=!this.show}},mounted:function(){}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"row-info"},[r("h4",{staticClass:"layer_header",attrs:{"data-toggle":"collapse","data-target":"#"+e.state.id},on:{click:e.showHideInfo}},[r("i",{staticClass:"layer-header-icon action-button nohover","class":[e.isSpatial?e.g3wtemplate.font.map:e.g3wtemplate.font.table],attrs:{"aria-hidden":"true"}}),e._v(" "),r("span",{staticClass:"layer-name"},[e._v(e._s(e.state.name))]),e._v(" "),r("span",{staticClass:"action-button nohover open-close","class":[e.show?e.g3wtemplate.getFontClass("minus"):e.g3wtemplate.getFontClass("plus")]})]),e._v(" "),r("div",{staticClass:"collapse",attrs:{id:e.state.id}},[r("ul",{staticClass:"metadata-nav-tabs nav nav-tabs",attrs:{role:"tablist"}},[r("li",{staticClass:"active spatial-tab",attrs:{role:"presentation"}},[r("a",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.groups.general",expression:"'sdk.metadata.groups.layers.groups.general'"}],attrs:{href:"#layer_general_"+e.state.id,"aria-controls":"general",role:"tab","data-toggle":"tab"}})]),e._v(" "),e.isSpatial?r("li",{staticClass:"spatial-tab",attrs:{role:"presentation"}},[r("a",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.groups.spatial",expression:"'sdk.metadata.groups.layers.groups.spatial'"}],attrs:{href:"#layer_spatial_"+e.state.id,"aria-controls":"profile",role:"tab","data-toggle":"tab"}})]):e._e()]),e._v(" "),r("div",{staticClass:"tab-content"},[r("div",{staticClass:"tab-pane active",attrs:{role:"tabpanel",id:"layer_general_"+e.state.id}},[r("div",{staticClass:"container-fluid"},[e.findAttributeFormMetadataAttribute("title")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.title",expression:"'sdk.metadata.groups.layers.fields.subfields.title'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value"},[e._v(e._s(e.state.metadata.title))])]):e._e(),e._v(" "),e.findMetadataAttribute("name")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.name",expression:"'sdk.metadata.groups.layers.fields.subfields.name'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value"},[e._v(e._s(e.state.name))])]):e._e(),e._v(" "),e.findMetadataAttribute("source")?r("div",{staticClass:"row metadata-layer-source"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.source",expression:"'sdk.metadata.groups.layers.fields.subfields.source'"}],staticClass:"col-md-2 col-sm-12 metadata-label metadata-layer-source-value-key"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value metadata-layer-source-value"},[e._v(e._s(e.state.source.type))])]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("abstract")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.abstract",expression:"'sdk.metadata.groups.layers.fields.subfields.abstract'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value",domProps:{innerHTML:e._s(e.state.metadata["abstract"])}})]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("keywords")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.keywords",expression:"'sdk.metadata.groups.layers.fields.subfields.keywords'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value"},[r("div",[e._v(e._s(e.state.metadata.keywords.join(", ")))])])]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("metadataurl")&&e.state.metadata.metadataurl.onlineresources?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.metadataurl",expression:"'sdk.metadata.groups.layers.fields.subfields.metadataurl'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value"},[r("a",{attrs:{href:e.state.metadata.metadataurl.onlineresources}},[e._v(e._s(e.state.metadata.metadataurl.onlineresources))])])]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("dataurl")&&e.state.metadata.dataurl.onlineresources?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.dataurl",expression:"'sdk.metadata.groups.layers.fields.subfields.dataurl'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value"},[r("a",{attrs:{href:e.state.metadata.dataurl.onlineresources}},[e._v(e._s(e.state.metadata.dataurl.onlineresources))])])]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("attributes")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.attributes",expression:"'sdk.metadata.groups.layers.fields.subfields.attributes'"}],staticClass:"col-md-2 col-sm-12 metadata-label"}),e._v(" "),r("div",{staticClass:"col-md-10 col-sm-12 value",staticStyle:{overflow:"auto"}},[r("table",{staticClass:"table table-striped",staticStyle:{"background-color":"#eeeeee !important"}},[r("thead",[r("tr",e._l(e.state.metadata.attributes[0],function(t,n){return r("th",[e._v(e._s(n))])}),0)]),e._v(" "),r("tbody",e._l(e.state.metadata.attributes,function(t){return r("tr",e._l(t,function(t,n){return r("td",[e._v(e._s(t))])}),0)}),0)])])]):e._e()])]),e._v(" "),r("div",{staticClass:"tab-pane",attrs:{role:"tabpanel",id:"layer_spatial_"+e.state.id}},[r("div",{staticClass:"container-fluid"},[e.findMetadataAttribute("crs")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.crs",expression:"'sdk.metadata.groups.layers.fields.subfields.crs'"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),r("div",{staticClass:"col-sm-10 value"},[e._v(e._s(e.state.crs.epsg))])]):e._e(),e._v(" "),e.findMetadataAttribute("geometrytype")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.geometrytype",expression:"'sdk.metadata.groups.layers.fields.subfields.geometrytype'"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),r("div",{staticClass:"col-sm-10 value"},[e._v(e._s(e.state.geometrytype))])]):e._e(),e._v(" "),e.findMetadataAttribute("bbox")?r("div",{staticClass:"row"},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.fields.subfields.bbox",expression:"'sdk.metadata.groups.layers.fields.subfields.bbox'"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),r("div",{staticClass:"col-sm-10 value"},e._l(e.state.bbox,function(t,n){return r("p",[r("span",{staticStyle:{"font-weight":"bold","margin-right":"5px"}},[e._v(e._s(n))]),e._v(" "),r("span",[e._v(e._s(t))])])}),0)]):e._e(),e._v(" "),e.findAttributeFormMetadataAttribute("crs")?r("div",{staticClass:"row"},[r("div",{staticClass:"col-sm-2 metadata-label"},[e._v("CRS")]),e._v(" "),r("div",{staticClass:"col-sm-10 value"},e._l(e.state.metadata.crs,function(t){return r("div",[r("span",[e._v(e._s(t))])])}),0)]):e._e()])])])])])},n.staticRenderFns=[],n._scopeId="data-v-9dde3d30"},{"gui/metadata/vue/components/metadatamixin":190,"vueify/lib/insert-css":2}],298:[function(e,t,r){e("vueify/lib/insert-css").insert(".metadata-nav-bar li a[data-v-240eaf70]{text-align:center}.metadata-nav-bar li a i[data-v-240eaf70]{margin-right:5px}.metadata-item-tab[data-v-240eaf70]{margin-right:10px;border-radius:3px;margin-bottom:10px}.metadata-body[data-v-240eaf70]{overflow-y:auto;overflow-x:hidden;padding-left:0;padding-right:0}.tab-title[data-v-240eaf70]{position:absolute;bottom:10px;right:auto}.row-info[data-v-240eaf70]{margin:0!important;padding-top:10px;padding-bottom:10px;border-bottom:1px solid #eee}.row-info .label[data-v-240eaf70]{font-weight:700}.h_90[data-v-240eaf70]{height:90%}.h_100[data-v-240eaf70]{height:100%}#project-catalog[data-v-240eaf70]{position:relative;overflow:auto}.nav-tabs-wrapper[data-v-240eaf70]{display:inline-block;margin-bottom:-6px;margin-left:1.25%;margin-right:1.25%;position:relative;width:100%}.nav-tabs[data-v-240eaf70]{border-bottom:0 none}.nav-stacked[data-v-240eaf70]{font-size:1.2em;font-weight:700;padding:10px 0}.nav-stacked li a[data-v-240eaf70]{color:#fff}.left-vertical-tabs[data-v-240eaf70]{padding-left:0!important}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=e("components/MetadataLayer.vue"),a=t(i),o=e("components/MetadataProjectTabContent.vue"),s=t(o),l=e("components/MetadataProjectBBoxContent.vue"),u=t(l),c=e("components/MetadataProjectContactsContent.vue"),d=t(c);r["default"]={name:"project",data:function(){return{state:this.$options.state,iconsClass:{info:this.g3wtemplate.getFontClass("info-circle"),globe:this.g3wtemplate.getFontClass("globe"),bars:this.g3wtemplate.getFontClass("bars")}}},components:{"metadata-layer":a["default"],"metadata-tab-content":s["default"],"metadata-bbox-content":u["default"],"metadata-contacts-content":d["default"]},methods:{isArrayorObject:function(e){return Array.isArray(e)||"object"===("undefined"==typeof e?"undefined":n(e))},setComponent:function(e){var t=void 0;switch(e){case"extent":t="metadata-bbox-content";break;case"contactinformation":t="metadata-contacts-content";break;default:t="metadata-tab-content"}return t}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"project-catalog"}},[r("div",{"class":e.isMobile()?"mobile":null,staticStyle:{padding:"0"},attrs:{id:"project-catalog-container"}},[r("ul",{staticClass:"nav nav-tabs metadata-nav-bar",attrs:{role:"tablist"}},[r("li",{staticClass:"active"},[r("a",{staticClass:"metadata-item-tab general",attrs:{"data-toggle":"tab",href:"#general"}},[r("i",{staticClass:"action-button nohover","class":e.g3wtemplate.getFontClass("info"),attrs:{"aria-hidden":"true"}}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.general.title",expression:"'sdk.metadata.groups.general.title'"}],staticStyle:{"font-weight":"bold"}})])]),e._v(" "),r("li",[r("a",{staticClass:"metadata-item-tab spatial",attrs:{"data-toggle":"tab",href:"#spatial"}},[r("i",{staticClass:"action-button nohover","class":e.iconsClass.globe,attrs:{"aria-hidden":"true"}}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.spatial.title",expression:"'sdk.metadata.groups.spatial.title'"}],staticStyle:{"font-weight":"bold"}})])]),e._v(" "),r("li",[r("a",{staticClass:"metadata-item-tab layers",attrs:{"data-toggle":"tab",href:"#metadata_layers"}},[r("i",{staticClass:"action-button nohover","class":e.iconsClass.bars,attrs:{"aria-hidden":"true"}}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.layers.title",expression:"'sdk.metadata.groups.layers.title'"}],staticStyle:{"font-weight":"bold"}})])])])]),e._v(" "),r("div",{staticClass:"col-sm-12 metadata-body tab-content"},[r("div",{staticClass:"tab-pane fade in active",attrs:{id:"general"}},[e._l(e.state.groups.general,function(t,n){return r("div",{staticClass:"row h_100 row-info"},[r(e.setComponent(n),{tag:"component",attrs:{data:t,fieldName:n}})],1)})],2),e._v(" "),r("div",{staticClass:"tab-pane fade",attrs:{id:"spatial"}},[r("div",[e._l(e.state.groups.spatial,function(t,n){return r("div",{staticClass:"row row-info"},[r(e.setComponent(n),{tag:"component",attrs:{data:t,fieldName:n}})],1)})],2)]),e._v(" "),r("div",{staticClass:"tab-pane fade",attrs:{id:"metadata_layers"}},e._l(e.state.groups.layers.layers.value,function(e){return r("metadata-layer",{attrs:{state:e}})}),1)])])},n.staticRenderFns=[],n._scopeId="data-v-240eaf70"},{"components/MetadataLayer.vue":297,"components/MetadataProjectBBoxContent.vue":299,"components/MetadataProjectContactsContent.vue":300,"components/MetadataProjectTabContent.vue":301,"vueify/lib/insert-css":2}],299:[function(e,t,r){e("vueify/lib/insert-css").insert(".metadata-label[data-v-bf5d2660]{font-weight:700;font-size:1.1em}.bbox-labels[data-v-bf5d2660]{font-weight:700}");!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"metadatabbox",props:{data:{}},data:function(){return{bboxlabels:["MINX","MINY","MAXX","MAXY"]}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"wrap-content-tab"},[r("div",{directives:[{name:"t",rawName:"v-t",value:e.data.label,expression:"data.label"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},e._l(e.data.value,function(t,n){return r("div",[r("span",{staticClass:"bbox-labels"},[e._v(e._s(e.bboxlabels[n]))]),e._v(" "+e._s(t)+"\n ")])}),0)])},n.staticRenderFns=[],n._scopeId="data-v-bf5d2660"},{"vueify/lib/insert-css":2}],300:[function(e,t,r){e("vueify/lib/insert-css").insert(".metadata-label[data-v-c0652f74]{font-weight:700;font-size:1.1em}.metadata-contact-label[data-v-c0652f74]{font-weight:700}.contact-icon[data-v-c0652f74]{margin-right:3px}.row[data-v-c0652f74]{margin-bottom:5px}");!function(){Object.defineProperty(r,"__esModule",{value:!0});var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r["default"]={name:"metadatacontatcs",props:{data:{}},data:function(){return{iconsClass:{contactelectronicmailaddress:this.g3wtemplate.getFontClass("mail"),personprimary:this.g3wtemplate.getFontClass("user"),contactvoicetelephone:this.g3wtemplate.getFontClass("mobile")}}},methods:{sanitizeValue:function(t){return null!==t&&void 0!==t&&("object"===("undefined"==typeof t?"undefined":e(t))?t=Object.keys(t).length?t:"":Array.isArray(t)&&(t=t.length?t:"")),t},geti18n:function(e){}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"wrap-content-tab"},[r("div",{directives:[{name:"t",rawName:"v-t",value:e.data.label,expression:"data.label"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},e._l(e.data.value,function(t,n){return r("div",[r("div",{staticClass:"row"},[r("div",{staticClass:"col-sm-2 metadata-contact-label"},[r("i",{staticClass:"contact-icon","class":e.iconsClass[n],attrs:{"aria-hidden":"true"}}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.general.fields.subfields.contactinformation."+n,expression:"'sdk.metadata.groups.general.fields.subfields.contactinformation.' + key"}]})]),e._v(" "),r("div",{staticClass:"col-sm-10"},["personprimary"===n?e._l(t,function(t,n){return r("div",[r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.metadata.groups.general.fields.subfields.contactinformation."+n,expression:"'sdk.metadata.groups.general.fields.subfields.contactinformation.' + key"}],staticClass:"metadata-contact-label"}),e._v(" "),r("span",[e._v(e._s(t))])])}):r("div",["contactelectronicmailaddress"===n?[r("a",{staticStyle:{"font-weight":"bold"},attrs:{href:"mailto:"+e.sanitizeValue(t)}},[e._v(e._s(e.sanitizeValue(t)))])]:[e._v("\n "+e._s(e.sanitizeValue(t))+"\n ")]],2)],2)])])}),0)])},n.staticRenderFns=[],n._scopeId="data-v-c0652f74"},{"vueify/lib/insert-css":2}],301:[function(e,t,r){e("vueify/lib/insert-css").insert(".metadata-label[data-v-56b766b4]{font-weight:700;font-size:1.1em}");!function(){Object.defineProperty(r,"__esModule",{value:!0});var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r["default"]={name:"metadatatabcontent",props:{data:{},fieldName:{}},computed:{arrayToString:function(){return this.data.value.join(", ")}},methods:{isArrayorObject:function(t){return Array.isArray(t)||"object"===("undefined"==typeof t?"undefined":e(t))}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"wrap-content-tab"},[r("div",{directives:[{name:"t",rawName:"v-t",value:e.data.label,expression:"data.label"}],staticClass:"col-sm-2 metadata-label"}),e._v(" "),"keywords"==e.fieldName?r("div",{staticClass:"col-sm-10 value"},[e._v("\n "+e._s(e.arrayToString)+"\n ")]):"wms_url"==e.fieldName?r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},[r("span",[e._v(e._s(e.data.value))])]):e.isArrayorObject(e.data.value)?"abstract"==e.fieldName?r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},[r("span",{domProps:{innerHTML:e._s(e.data.value)}})]):r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},e._l(e.data.value,function(t,n){return r("div",[r("span",[e._v(e._s(t))])])}),0):r("div",{staticClass:"col-sm-10 value",staticStyle:{"margin-top":"0"}},[r("span",{domProps:{innerHTML:e._s(e.data.value)}})])])},n.staticRenderFns=[],n._scopeId="data-v-56b766b4"},{"vueify/lib/insert-css":2}],302:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("services/navbaritems"),i=t(n);r["default"]={name:"NavbaritemLeft",data:function(){return{items:i["default"].state.items.right}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"nav navbar-nav navbar-left"},e._l(e.items,function(e){return r(e,{key:e.id,tag:"li"})}),1)},n.staticRenderFns=[],n._scopeId="data-v-422dbddd"},{"services/navbaritems":395}],303:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("services/navbaritems"),i=t(n);r["default"]={name:"NavbaritemRight",data:function(){return{items:i["default"].state.items.right}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"nav navbar-nav navbar-right"},e._l(e.items,function(e){return r(e,{key:e.id,tag:"li"})}),1)},n.staticRenderFns=[],n._scopeId="data-v-40cf17b6"},{"services/navbaritems":395}],304:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"download-notify"}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"download",rawName:"v-download.show",modifiers:{show:!0}}],staticClass:"skin-color",attrs:{id:"download_notification",title:"DOWNLOAD"}},[r("bar-loader",{attrs:{loading:"true"}}),e._v(" "),r("i",{"class":e.g3wtemplate.getFontClass("download"),staticStyle:{padding:"3px"}})],1)},n.staticRenderFns=[]},{}],305:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"online-notify"}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"online",rawName:"v-online:hide",arg:"hide"}],staticStyle:{color:"#999"},attrs:{id:"offline_notification"}},[r("i",{"class":e.g3wtemplate.getFontClass("wifi")}),e._v(" "),r("div",{staticStyle:{"font-weight":"bold","font-size":"0.4em"}},[e._v("offline")])])},n.staticRenderFns=[]},{}],306:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"plugins-notify"}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"plugins",rawName:"v-plugins"}],staticStyle:{color:"#994b10"},attrs:{id:"plugins_notification"}},[r("bar-loader",{attrs:{loading:"true"}}),e._v(" "),r("i",{"class":e.g3wtemplate.getFontClass("plugin")})],1)},n.staticRenderFns=[]},{}],307:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/PrintSelectAtlasFieldValues.vue"),i=t(n),a=e("components/PrintFidAtlasValues.vue"),o=t(a);r["default"]={data:function(){return{state:null,button:{"class":"btn-success",type:"stampa",disabled:!1}}},components:{SelectAtlasFieldValues:i["default"],FidAtlasValues:o["default"]},computed:{disabled:function(){return this.state.output.loading||!!this.state.atlas&&0===this.state.atlasValues.length}},methods:{setDisabledPrintButton:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.button.disabled=e},setAtlasValues:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.state.atlasValues=e},onChangeTemplate:function(){this.$options.service.changeTemplate()},onChangeScale:function(){this.$options.service.changeScale()},onChangeFormat:function(){},onChangeDpi:function(){},onChangeRotation:function(e){this.state.rotation>=0&&!_.isNil(this.state.rotation)&&""!=this.state.rotation?(this.state.rotation=this.state.rotation>360?360:this.state.rotation,e.target.value=this.state.rotation):this.state.rotation<0?(this.state.rotation=this.state.rotation<-360?-360:this.state.rotation,e.target.value=this.state.rotation):this.state.rotation=0,this.$options.service.changeRotation()},print:function(){this.$options.service.print()}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"treeview-menu",attrs:{id:"print"}},[r("li",[r("form",{staticClass:"g3w-search-form form-horizonal"},[r("div",{staticClass:"box-body"},[r("transition",{attrs:{duration:500,name:"fade"}},[r("bar-loader",{attrs:{loading:e.state.loading}})],1),e._v(" "),r("helpdiv",{attrs:{message:"sdk.print.help"}}),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.template",expression:"'sdk.print.template'"}],attrs:{"for":"templates"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.state.template,expression:"state.template"}],staticClass:"form-control",style:{marginBottom:this.state.atlas&&"10px"},attrs:{id:"templates"},on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.state,"template",t.target.multiple?r:r[0])},e.onChangeTemplate]}},e._l(e.state.print,function(t){return r("option",{domProps:{value:t.name}},[e._v(e._s(t.name))])}),0),e._v(" "),e.state.atlas?e.state.atlas.field_name?[r("select-atlas-field-values",{attrs:{atlas:e.state.atlas,reset:!e.state.isShow},on:{"disable-print-button":e.setDisabledPrintButton,"set-values":e.setAtlasValues}})]:[r("fid-atlas-values",{attrs:{atlas:e.state.atlas,reset:!e.state.isShow},on:{"disable-print-button":e.setDisabledPrintButton,"set-values":e.setAtlasValues}})]:[r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.scale",expression:"'sdk.print.scale'"}],attrs:{"for":"scala"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.state.scala,expression:"state.scala"}],staticClass:"form-control",attrs:{id:"scala"},on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.state,"scala",t.target.multiple?r:r[0])},e.onChangeScale]}},e._l(e.state.scale,function(t){return r("option",{domProps:{value:t.value}},[e._v(e._s(t.label))])}),0),e._v(" "),r("label",{attrs:{"for":"dpi"}},[e._v("dpi")]),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.state.dpi, +expression:"state.dpi"}],staticClass:"form-control",attrs:{id:"dpi"},on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.state,"dpi",t.target.multiple?r:r[0])},e.onChangeDpi]}},e._l(e.state.dpis,function(t){return r("option",[e._v(e._s(t))])}),0),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.rotation",expression:"'sdk.print.rotation'"}],attrs:{"for":"rotation"}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.state.rotation,expression:"state.rotation"}],staticClass:"form-control",attrs:{min:"-360",max:"360",id:"rotation",type:"number"},domProps:{value:e.state.rotation},on:{input:[function(t){t.target.composing||e.$set(e.state,"rotation",t.target.value)},e.onChangeRotation]}}),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.format",expression:"'sdk.print.format'"}],attrs:{"for":"format"}}),e._v(" "),r("select",{directives:[{name:"model",rawName:"v-model",value:e.state.output.format,expression:"state.output.format"}],staticClass:"form-control",attrs:{id:"format"},on:{change:function(t){var r=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.$set(e.state.output,"format",t.target.multiple?r:r[0])}}},e._l(e.state.formats,function(t){return r("option",{domProps:{value:t.value}},[e._v(e._s(t.label))])}),0)],e._v(" "),e.state.labels&&e.state.labels.length?[r("div",{staticClass:"print-labels-content",staticStyle:{"margin-top":"5px"}},[r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.labels",expression:"'sdk.print.labels'"}],staticClass:"skin-color",staticStyle:{"font-weight":"bold","font-size":"1.1em",display:"block","border-bottom":"2px solid #ffffff","margin-bottom":"5px"}}),e._v(" "),r("div",{staticClass:"labels-input-content",staticStyle:{"max-height":"120px","overflow-y":"auto"}},e._l(e.state.labels,function(t){return r("span",{key:t.id},[r("label",{attrs:{"for":"g3w_label_id_input_"+t.id}},[e._v(e._s(t.id))]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:t.text,expression:"label.text"}],staticClass:"form-control",attrs:{id:"g3w_label_id_input_"+t.id},domProps:{value:t.text},on:{input:function(r){r.target.composing||e.$set(t,"text",r.target.value)}}})])}),0)])]:e._e()],2),e._v(" "),r("div",{staticClass:"box-footer",staticStyle:{"background-color":"transparent"}},[r("span",[r("button",{directives:[{name:"disabled",rawName:"v-disabled",value:e.button.disabled,expression:"button.disabled"},{name:"download",rawName:"v-download"},{name:"t",rawName:"v-t",value:"create_print",expression:"'create_print'"}],staticClass:"sidebar-button-run btn",staticStyle:{width:"100%","font-weight":"bold"},attrs:{id:"printbutton"},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.print(t)}}})])])])])])},n.staticRenderFns=[]},{"components/PrintFidAtlasValues.vue":308,"components/PrintSelectAtlasFieldValues.vue":310}],308:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"fid-atlas-values",props:{atlas:{type:Object},reset:{type:Boolean,"default":!1}},data:function(){return{value:""}},methods:{validateValue:function(e){return e=e&&1*e,Number.isInteger(e)&&e>=0&&e0&&void 0!==arguments[0]?arguments[0]:[],t=e.length,n=1;n0&&void 0!==arguments[0]&&arguments[0];o.disableSideBar(e),this.state.loading=e,this.disableddownloadbutton=e},downloadImage:function(){var e=this;this.setLoading(!0),"jpg"!==this.format&&"png"!==this.format||(this.downloadImageName="download."+this.state.format,a({src:this.state.url,type:"image/"+this.state.format,callback:function(t){return setTimeout(function(){return e.setLoading(!1)})}}))}},watch:{"state.url":function(){function e(e){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function i(e){var t,r=this;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(!e){i.next=6;break}return this.format=this.state.format,i.next=4,this.$nextTick();case 4:t=setTimeout(function(){r.setLoading(!1),o.showUserMessage({type:"alert",message:"timeout"})},n.TIMEOUT),$(this.$refs.printoutput).load(e,function(e,n){r.$options.service.stopLoading(),"error"===n&&r.$options.service.showError(),clearTimeout(t),r.setLoading(!1)});case 6:case"end":return i.stop()}},i,this)}));return e}()},mounted:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.state.layers&&this.$options.service.startLoading();case 3:case"end":return e.stop()}},n,this)}));return e}(),beforeDestroy:function(){this.state.url&&"POST"===this.state.method&&window.URL.revokeObjectURL(this.state.url)}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{height:"100%",position:"relative"},attrs:{id:"print-output"}},[r("transition",{attrs:{duration:500,name:"fade"}},[r("bar-loader",{attrs:{loading:e.loading}})],1),e._v(" "),"pdf"===e.format?r("iframe",{ref:"printoutput",staticStyle:{border:"0",width:"100%",height:"100%"},attrs:{type:e.state.mime_type,src:e.state.url}}):"png"===e.format?r("div",{staticClass:"g3w-print-png-output",staticStyle:{display:"flex","flex-direction":"column",position:"relative",height:"100%"}},[r("div",{staticStyle:{display:"flex","justify-content":"flex-end","align-items":"flex-end","margin-top":"5px","margin-bottom":"5px"},attrs:{id:"g3w-print-header"}},[r("div",{"class":{"g3w-disabled":e.disableddownloadbutton}},[r("a",{attrs:{href:e.state.url,download:e.downloadImageName}},[r("button",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"sdk.print.download_image",expression:"'sdk.print.download_image'",modifiers:{create:!0}}],staticClass:"btn skin-button skin-tooltip-left","class":e.g3wtemplate.getFontClass("download"),staticStyle:{"font-weight":"bold"},attrs:{"data-placement":"left","data-toggle":"tooltip",role:"button"},on:{click:e.downloadImage}})])])]),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:"png"===e.format&&e.state.url,expression:"format==='png' && state.url"}],staticStyle:{height:"100%",width:"100%",position:"relative","overflow-y":"auto"}},[r("img",{ref:"printoutput",staticStyle:{height:"auto","max-width":"100%"},attrs:{src:e.state.url}})])]):e._e(),e._v(" "),e.state.layers?e._e():r("h4",{directives:[{name:"t",rawName:"v-t",value:"sdk.print.no_layers",expression:"'sdk.print.no_layers'"}],staticStyle:{"font-weight":"bold"}})],1)},n.staticRenderFns=[]},{"app/constant":5,"core/utils/utils":92,"gui/gui":150}],310:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t"+t("error_map_loading")+"
"+t("check_internet_connection_or_server_admin")+"
")}).always(function(){n.showFullModal({show:!1}),n.setLoadingContent(!1)})})}else e.href?window.open(e.href,"_blank"):e.route&&n["goto"](e.route)},logoSrc:function(e){var t=void 0;return t=e?e.indexOf(i.config.mediaurl)!==-1?e:e.indexOf("static")===-1&&e.indexOf("media")===-1?""+i.config.mediaurl+e:a:a,this.$options.host&&""+this.$options.host+t||t}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"container",attrs:{id:"menu-projects"}},[r("div",{staticClass:"row row-equal"},[e._l(e.state.menuitems,function(t){return r("div",{key:t.title,staticClass:"col-xs-12 col-sm-4 project-menu",on:{click:function(r){return e.trigger(t)}}},[r("div",{staticClass:"project-menu-item-image"},[r("img",{staticClass:"img-responsive",attrs:{src:e.logoSrc(t.thumbnail)}})]),e._v(" "),r("div",{staticClass:"project-menu-item-content"},[r("div",{staticClass:"project-menu-item-text"},[r("h4",{staticClass:"project-menu-item-title"},[e._v(e._s(t.title))]),e._v(" "),r("div",{domProps:{innerHTML:e._s(t.description)}})])])])}),e._v(" "),e.state.menuitems.length?e._e():r("div",{staticStyle:{"margin-left":"15px"}},[r("h2",{directives:[{name:"t",rawName:"v-t",value:"no_other_projects",expression:"'no_other_projects'"}]})])],2)])},n.staticRenderFns=[]},{"core/i18n/i18n.service":27,"core/project/projectsregistry":83,"gui/gui":150}],312:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},t=e.value,r=e.type;switch(r){case"operator":t=" "+t+" ";break;case"field":t='"'+t+'"';break;case"value":t="'"+t+"'"}t&&(this.filter=""+this.filter+t)},all:function(){function e(){return t.apply(this,arguments)}var t=i(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.loading.values=!0,e.prev=1,e.next=4,o["default"].getValues({layerId:this.currentlayer.id,field:this.select.field});case 4:this.values=e.sent,e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](1);case 9:return this.loading.values=!1,e.next=12,this.$nextTick();case 12:this.manualvalue=null,this.manual=!1;case 14:case"end":return e.stop()}},r,this,[[1,7]])}));return e}(),reset:function(){this.filter="",this.message="",this.filterElement.previous=null,this.filterElement.current=null,this.filterElement.operator=null},test:function(){function e(){return t.apply(this,arguments)}var t=i(regeneratorRuntime.mark(function r(){var e,t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=this.currentlayer.id,this.loading.test=!0,t=void 0,r.prev=3,r.next=6,o["default"].test({layerId:e,filter:this.filter});case 6:t=r.sent,this.message=void 0!==t?" "+t:"",r.next=13;break;case 10:r.prev=10,r.t0=r["catch"](3),this.message=r.t0;case 13:return this.loading.test=!1,r.next=16,this.$nextTick();case 16:case"end":return r.stop()}},r,this,[[3,10]])}));return e}(),run:function(){function e(){return t.apply(this,arguments)}var t=i(regeneratorRuntime.mark(function r(){var e,t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=this.currentlayer.id,this.loading.test=!0,r.prev=2,r.next=5,o["default"].run({layerId:e,filter:this.filter});case 5:t=r.sent,r.next=10;break;case 8:r.prev=8,r.t0=r["catch"](2);case 10:this.loading.test=!1;case 11:case"end":return r.stop()}},r,this,[[2,8]])}));return e}(),save:function(){o["default"].save({layerId:this.currentlayer.id,filter:this.filter,projectId:this.projectId,name:this.edit&&this.$options.options.name,id:this.edit&&this.$options.options.id})}},created:function(){var e=this;this.filterElement={current:null,previous:null,operator:null};var t=l.getCurrentProject();this.layers=t.getLayers().filter(function(e){return!e.baselayer&&e.geometrytype&&"NoGeometry"!==e.geometrytype&&Array.isArray(e.fields)}).map(function(e){var r=t.getRelationsByLayerId({layerId:e.id,type:"ONE"}),i=[];return r.forEach(function(e){var r=e.customPrefix,a=t.getLayerById(e.referencingLayer);r=void 0===r?a.getName()+"_":r;var o=a.getFields().map(function(e){return""+r+e.name});i=[].concat(n(i),n(o))}),{id:e.id,label:e.name,fields:e.fields.filter(function(e){return e.show}).map(function(e){var t=e.label,r=e.name;return{label:t,name:r}}).filter(function(e){return i.indexOf(e)===-1})}}),this.operators=u,this.currentlayer=this.edit?this.layers.find(function(t){return t.id===e.$options.options.layerId}):this.layers[0]},mounted:function(){function e(){return t.apply(this,arguments)}var t=i(regeneratorRuntime.mark(function r(){var e,t=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.$nextTick();case 2:this.select2=$("#query_builder_layers_select").select2({width:"100%"}),this.edit&&(e=this.layers.indexOf(this.currentlayer),this.select2.val(e),this.select2.trigger("change")),this.select2.on("select2:select",function(e){t.currentlayer=t.layers[e.params.data.id],t.select.field=null,t.select.value=null,t.reset()});case 5:case"end":return r.stop()}},r,this)}));return e}(),beforeDestroy:function(){this.select2.select2("destroy"),this.select2=null}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"form-group",staticStyle:{"flex-wrap":"nowrap !important"},attrs:{id:"query_builder"}},[r("div",{attrs:{id:"query_builder_header"}}),e._v(" "),r("div",{staticClass:"margin-between-element",attrs:{id:"query_builder_layers"}},[r("label",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.layers",expression:"'sdk.querybuilder.panel.layers'"}],staticClass:"querybuilder-title"}),e._v(" "),r("select",{staticClass:"form-control",attrs:{id:"query_builder_layers_select"}},e._l(e.layers,function(t,n){return r("option",{key:t.label,staticClass:"bold",domProps:{value:n}},[e._v(e._s(t.label))])}),0)]),e._v(" "),r("div",{staticClass:"margin-between-element",attrs:{id:"query_builder_fields"}},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.fields",expression:"'sdk.querybuilder.panel.fields'"}],staticClass:"querybuilder-title",attrs:{id:"query_builder_fields_title"}}),e._v(" "),r("div",{staticClass:"querybuilder-content",attrs:{id:"query_builder_fields_content"}},[r("table",{staticClass:"table table-striped content-table"},[r("tbody",e._l(e.fields,function(t){var n=t.name,i=t.label;return r("tr",{key:n,"class":{"skin-background-color lighten":e.select.field===n},staticStyle:{cursor:"pointer"},on:{click:function(t){e.select.field=n},dblclick:function(t){return e.addToExpression({value:n,type:"field"})}}},[r("th",{attrs:{scope:"row"}},[e._v(e._s(i))])])}),0)])])]),e._v(" "),r("div",{staticClass:"margin-between-element",attrs:{id:"query_builder_values"}},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.values",expression:"'sdk.querybuilder.panel.values'"}],staticClass:"querybuilder-title",attrs:{id:"query_builder_values_title"}}),e._v(" "),e.manual?r("div",{staticClass:"margin-between-element",staticStyle:{display:"flex","justify-content":"space-between","align-items":"stretch"},attrs:{id:"querybuilder-manual"}},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.manualvalue,expression:"manualvalue"}],staticClass:"form-control",staticStyle:{border:"0"},attrs:{style:"border: 0;"},domProps:{value:e.manualvalue},on:{input:function(t){t.target.composing||(e.manualvalue=t.target.value)}}}),e._v(" "),r("span",{"class":e.g3wtemplate.getFontClass("plus"),staticStyle:{cursor:"pointer","font-size":"1.2em","background-color":"white",color:"#000000",padding:"9px"},on:{click:function(t){e.manualvalue&&e.addToExpression({value:e.manualvalue,type:"value"})}}})]):r("div",{staticClass:"querybuilder-content margin-between-element",attrs:{id:"query_builder_values_content"}},[r("bar-loader",{attrs:{loading:e.loading.values}}),e._v(" "),r("table",{staticClass:"table table-striped content-table"},[r("tbody",[e._l(e.values,function(t){return r("tr",{key:t,"class":{"skin-background-color lighten":e.select.value===t},staticStyle:{cursor:"pointer"},on:{click:function(r){e.select.value=t},dblclick:function(r){return e.addToExpression({value:t,type:"value"})}}},[r("th",{attrs:{scope:"row"}},[e._v(e._s(t))])])}),e._v(" "),e._m(0)],2)])],1),e._v(" "),r("div",{staticClass:"content-end skin-color",attrs:{id:"query_builder_values_buttons"}},[r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.manual",expression:"'sdk.querybuilder.panel.button.manual'"}],staticClass:"query_builder_button btn btn-secondary bold ","class":{"skin-border-color":e.manual},attrs:{id:"query_builder_values_buttons_sample"},on:{click:function(t){e.manual=!0}}}),e._v(" "),r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.all",expression:"'sdk.querybuilder.panel.button.all'"}],staticClass:"query_builder_button btn btn-secondary bold ","class":{"skin-border-color":!e.manual},attrs:{id:"query_builder_values_buttons_all",disabled:null===e.select.field},on:{click:e.all}})])]),e._v(" "),r("div",{staticClass:"margin-between-element",staticStyle:{"margin-top":"auto !important"},attrs:{id:"query_builder_operators"}},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.operators",expression:"'sdk.querybuilder.panel.operators'"}],staticClass:"querybuilder-title",attrs:{id:"query_builder_operators_title"}}),e._v(" "),r("div",{staticClass:"content-wrap",attrs:{id:"query_builder_operators_content"}},e._l(e.operators,function(t){return r("button",{key:t,staticClass:"query_builder_button btn btn-secondary skin-color bold",on:{click:function(r){return e.addToExpression({value:t,type:"operator"})}}},[e._v(e._s(t))])}),0)]),e._v(" "),r("div",{attrs:{id:"query_builder_footer"}},[r("div",{attrs:{id:"query_builder_expression"}},[r("div",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.expression",expression:"'sdk.querybuilder.panel.expression'"}],staticClass:"querybuilder-title",attrs:{id:"query_builder_expression_title"}}),e._v(" "),r("div",{attrs:{id:"query_builder_expression_content"}},[r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.filter,expression:"filter"}],staticStyle:{width:"100%",resize:"none",height:"100px",color:"#000000"},domProps:{value:e.filter},on:{input:function(t){t.target.composing||(e.filter=t.target.value)}}})])]),e._v(" "),r("div",{staticClass:"margin-between-element",attrs:{id:"query_builder_message"}},[r("bar-loader",{attrs:{loading:e.loading.test}}),e._v(" "),r("span",{directives:[{name:"show",rawName:"v-show",value:e.message,expression:"message"},{name:"t",rawName:"v-t",value:"sdk.querybuilder.messages.number_of_features",expression:"'sdk.querybuilder.messages.number_of_features'"}],staticClass:"bold skin-color"}),r("span",{staticClass:"bold skin-color"},[e._v(e._s(e.message))])],1),e._v(" "),r("div",{staticClass:"content-end margin-between-element",attrs:{id:"query_builder_footer_buttons"}},[r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.test",expression:"'sdk.querybuilder.panel.button.test'"}],staticClass:"query_builder_button btn btn-secondary bold",attrs:{disabled:e.disabled},on:{click:e.test}}),e._v(" "),r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.clear",expression:"'sdk.querybuilder.panel.button.clear'"}],staticClass:"query_builder_button btn btn-secondary bold",on:{click:e.reset}}),e._v(" "),r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.run",expression:"'sdk.querybuilder.panel.button.run'"}],staticClass:"query_builder_button btn btn-secondary bold",attrs:{disabled:e.disabled},on:{click:e.run}}),e._v(" "),r("button",{directives:[{name:"t",rawName:"v-t",value:"sdk.querybuilder.panel.button.save",expression:"'sdk.querybuilder.panel.button.save'"}],staticClass:"query_builder_button btn btn-secondary bold",attrs:{disabled:e.disabled},on:{click:e.save}})])])])},n.staticRenderFns=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("tr",[r("th",{attrs:{scope:"row"}})])}]},{"core/layers/filter/operators":48,"core/project/projectsregistry":83,"gui/querybuilder/service":202}],313:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("gui/querybuilder/service"),a=t(i),o=e("gui/querybuilder/querybuilderuifactory");r["default"]={name:"g3w-querybuilder-search",props:{querybuildersearch:{required:!0}},data:function(){return{loading:!1,showinfo:!1}},methods:{remove:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a["default"]["delete"](this.querybuildersearch);case 3:this.$emit("delete"),e.next=8;break;case 6:e.prev=6,e.t0=e["catch"](0);case 8:case"end":return e.stop()}},r,this,[[0,6]])}));return e}(),edit:function(){o.show({options:{id:this.querybuildersearch.id,name:this.querybuildersearch.name,layerId:this.querybuildersearch.layerId,filter:this.querybuildersearch.filter}})},run:function(){var e=this;this.loading=!0,a["default"].run({layerId:this.querybuildersearch.layerId,filter:this.querybuildersearch.filter})["finally"](function(){e.loading=!1})}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("li",[r("div",{staticStyle:{position:"relative"}},[r("bar-loader",{attrs:{loading:e.loading}}),e._v(" "),r("div",{staticClass:"querybuliserch-tools",staticStyle:{display:"flex","align-items":"baseline"}},[r("i",{"class":e.g3wtemplate.getFontClass("filter"),staticStyle:{"margin-right":"14px","margin-left":"1px"}}),e._v(" "),r("span",{staticStyle:{"white-space":"pre-wrap"}},[e._v(e._s(e.querybuildersearch.name))]),e._v(" "),r("div",{staticStyle:{"margin-left":"auto"}},[r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip",value:"sdk.querybuilder.search.run",expression:"'sdk.querybuilder.search.run'"}],staticClass:"icon-search-action skin-tooltip-bottom",attrs:{"data-placement":"bottom","data-toggle":"tooltip"}},[r("i",{"class":e.g3wtemplate.getFontClass("run"),staticStyle:{color:"green",padding:"3px","font-size":"1.3em"},on:{click:function(t){return t.stopPropagation(),e.run(t)}}})]),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip",value:"sdk.querybuilder.search.info",expression:"'sdk.querybuilder.search.info'"}],staticClass:"icon-search-action skin-tooltip-bottom",attrs:{"data-placement":"bottom","data-toggle":"tooltip"}},[r("i",{"class":e.g3wtemplate.getFontClass("info"),staticStyle:{color:"#FFFFFF",padding:"3px","font-size":"1.3em"},on:{click:function(t){t.stopPropagation(),e.showinfo=!e.showinfo}}})]),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip",value:"sdk.querybuilder.search.edit",expression:"'sdk.querybuilder.search.edit'"}],staticClass:"icon-search-action skin-tooltip-bottom",attrs:{"data-placement":"bottom","data-toggle":"tooltip"}},[r("i",{"class":e.g3wtemplate.getFontClass("pencil"),staticStyle:{color:"#307095",padding:"3px","font-size":"1.3em"},on:{click:function(t){return t.stopPropagation(),e.edit(t)}}})]),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip",value:"sdk.querybuilder.search.delete",expression:"'sdk.querybuilder.search.delete'"}],staticClass:"icon-search-action skin-tooltip-bottom",attrs:{"data-placement":"bottom","data-toggle":"tooltip"}},[r("i",{"class":e.g3wtemplate.getFontClass("trash"),staticStyle:{color:"red",padding:"3px","font-size":"1.3em"},on:{click:function(t){return t.stopPropagation(),e.remove(t)}}})])])]),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.showinfo,expression:"showinfo"}],staticClass:"querybuildsearch-info",staticStyle:{"margin-top":"5px"}},[r("div",[r("span",{staticStyle:{"font-weight":"bold","white-space":"pre"}},[e._v("LAYER: ")]),e._v(" "),r("span",{staticStyle:{"white-space":"pre-wrap"}},[e._v(e._s(e.querybuildersearch.layerName))])]),e._v(" "),r("div",[r("span",{staticStyle:{"font-weight":"bold"}},[e._v("EXPRESSION: ")]),e._v(" "),r("span",{staticStyle:{"white-space":"pre-wrap"}},[e._v(e._s(e.querybuildersearch.filter))])])])],1)])},n.staticRenderFns=[],n._scopeId="data-v-43228ea5"},{"gui/querybuilder/querybuilderuifactory":201,"gui/querybuilder/service":202}],314:[function(e,t,r){!function(){ +function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0},info:function b(){var e=this,b={icon:null,message:null,action:null},t=this.state,r=t.query;t.search;return r&&("coordinates"===r.type?(b.icon="marker",b.message=" "+r.coordinates[0]+", "+r.coordinates[1],b.action=function(){return e.$options.queryResultsService.showCoordinates(r.coordinates)}):"bbox"===r.type?(b.icon="square",b.message=" ["+r.bbox.join(" , ")+"]",b.action=function(){return e.$options.queryResultsService.showBBOX(r.bbox)}):"polygon"===r.type&&(b.icon="draw",b.message=r.layer.getName()+" - Feature Id: "+r.fid,b.action=function(){return r.geometry&&e.$options.queryResultsService.showGeometry(r.geometry)})),b}},methods:{getLayerCustomComponents:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"feature",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"after";return this.state.layerscustomcomponents[e]&&this.state.layerscustomcomponents[e][t]&&this.state.layerscustomcomponents[e][t][r]||[]},getLayerField:function(e){var t=e.layer,r=e.feature,n=e.fieldName,a=t.attributes.find(function(e){return e.name===n}),o=i({},a,{label:null,value:r.attributes[n]});return o},getQueryFields:function(e,t){var r=[],n=!0,a=!1,o=void 0;try{for(var s,l=e.formStructure.fields[Symbol.iterator]();!(n=(s=l.next()).done);n=!0){var u=s.value,c=i({},u);c.query=!0,c.value=t.attributes[u.name],c.input={type:""+this.getFieldType(c)},r.push(c)}}catch(d){a=!0,o=d}finally{try{!n&&l["return"]&&l["return"]()}finally{if(a)throw o}}return r},getColSpan:function(e){return this.attributesSubsetLength(e)+(this.state.layersactions[e.id].length?1:0)+1*!this.hasLayerOneFeature(e)},getDownloadActions:function(e){return this.state.layersactions[e.id].find(function(e){return e.formats})},addLayerFeaturesToResults:function(e){this.$options.queryResultsService.addLayerFeaturesToResultsAction(e)},showDownloadAction:function(e){var t=e.target.children[0].style.display;e.target.children[0].style.display="none"===t?"inline-block":"none"},printAtlas:function(e){this.$options.queryResultsService.printAtlas(e)},showLayerDownloadFormats:function(e){this.$options.queryResultsService.showLayerDownloadFormats(e)},saveLayerResult:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"csv";this.$options.queryResultsService.saveLayerResult({layer:e,type:t})},hasLayerOneFeature:function(e){return 1===e.features.length},addRemoveFilter:function(e){this.$options.queryResultsService.addRemoveFilter(e)},getContainerFromFeatureLayer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.layer,r=e.index;return $("#"+t.id+"_"+r+" > td")},hasOneLayerAndOneFeature:function(e){return this.hasLayerOneFeature(e)},hasFormStructure:function(e){return!!e.formStructure},layerHasFeatures:function(e){return!!(e.features&&e.features.length>0)},selectionFeaturesLayer:function(e){this.$options.queryResultsService.selectionFeaturesLayer(e)},layerHasActions:function(e){return this.state.layersactions[e.id].length>0},featureHasActions:function(e,t){return this.geometryAvailable(t)},geometryAvailable:function(e){return!!e.geometry},extractAttributesFromFirstTabOfFormStructureLayers:function(e){var t=this,r=new Set,n=function a(n){if(n.nodes)n.nodes.forEach(function(e){return a(e)});else{var o=e.formStructure.fields.find(function(e){return e.name===n.field_name});o&&("ows"===t.state.type&&(o=i({},o),o.name=o.name.replace(/ /g,"_")),r.add(o))}};return e.formStructure.structure.length&&e.formStructure.structure.forEach(function(e){return n(e)}),Array.from(r)},attributesSubset:function(e){var t=this.hasFormStructure(e)?this.extractAttributesFromFirstTabOfFormStructureLayers(e):e.attributes,r=t.filter(function(e){return e.show&&y.indexOf(e.type)!==-1}),n=Math.min(v,t.length);return r.slice(0,n)},relationsAttributesSubset:function(e){var t=[];_.forEach(e,function(e,r){Array.isArray(e)||t.push({label:r,value:e})});var r=Math.min(v,t.length);return t.slice(0,r)},relationsAttributes:function(e){var t=[];return _.forEach(e,function(e,r){t.push({label:r,value:e})}),t},attributesSubsetLength:function(e){return this.attributesSubset(e).length},cellWidth:function(e,t){var r=v+this.state.layersactions[t.id].length,n=this.attributesSubsetLength(t),i=r-n,a=t.hasgeometry?m:0,o=100-g-a,s=o/v;return e===n-1&&i>0?s*(i+1):s},featureBoxColspan:function(e){var t=this.attributesSubsetLength(e);return e.expandable&&(t+=1),e.hasgeometry&&(t+=1),t},relationsAttributesSubsetLength:function(e){return this.relationsAttributesSubset(e).length},getLayerFormStructure:function(e){return e.formStructure.structure},isAttributeOrTab:function(e,t){var r=void 0!==t.field_name;return{type:r&&"field"||"tab",item:r&&this.getLayerAttributeFromStructureItem(e,t.field_name)||[t]}},getLayerAttributeFromStructureItem:function(e,t){return e.attributes.find(function(e){return e.name===t})},getLayerFeatureBox:function(e,t,r){var n=this,i=this.getBoxId(e,t,r);return void 0===this.layersFeaturesBoxes[i]&&(this.layersFeaturesBoxes[i]=Vue.observable({collapsed:!0}),this.$watch(function(){return n.layersFeaturesBoxes[i].collapsed},function(r){var i=e.features.findIndex(function(e){return t.id===e.id}),a=n.getContainerFromFeatureLayer({layer:e,index:i});n.$options.queryResultsService.openCloseFeatureResult({open:!r,layer:e,feature:t,container:a})}),this.layersFeaturesBoxes[i].collapsed=e.features.length>1),this.layersFeaturesBoxes[i]},collapsedFeatureBox:function(e,t,r){var n=this.getBoxId(e,t,r);return!this.layersFeaturesBoxes[n]||this.layersFeaturesBoxes[n].collapsed},showFeatureInfo:function(e,t){this.$options.queryResultsService.emit("show-query-feature-info",{layer:e,tabs:this.hasFormStructure(e),show:!this.layersFeaturesBoxes[t].collapsed})},getBoxId:function(e,t,r){return this.$options.queryResultsService.getBoxId(e,t,r)},toggleFeatureBox:function(){function e(e,r,n){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e,t,n){var i;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i=this.getBoxId(e,t,n),this.layersFeaturesBoxes[i].collapsed=!this.layersFeaturesBoxes[i].collapsed,r.next=4,this.$nextTick();case 4:this.showFeatureInfo(e,i);case 5:case"end":return r.stop()}},r,this)}));return e}(),toggleFeatureBoxAndZoom:function(e,t,r){!this.hasLayerOneFeature(e)&&this.toggleFeatureBox(e,t,r)},trigger:function(){function e(e,r,n,i){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e,t,n,i){var a;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!e.opened||"none"!==$("#"+t.id+"_"+i).css("display")){r.next=4;break}return this.toggleFeatureBox(t,n),r.next=4,this.$nextTick();case 4:return a=this.getContainerFromFeatureLayer({layer:t,index:i}),r.next=7,this.$options.queryResultsService.trigger(e.id,t,n,i,a);case 7:case"end":return r.stop()}},r,this)}));return e}(),showFullPhoto:function(e){this.$options.queryResultsService.showFullPhoto(e)},openLink:function(e){window.open(e,"_blank")}},watch:{"state.layers":function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){var t,n,i,a=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e.forEach(function(e){e.attributes.length<=v&&!e.hasImageField&&(e.expandable=!1),e.features.forEach(function(t){if(a.getLayerFeatureBox(e,t),t.attributes.relations){var r=t.attributes.relations;r.forEach(function(r){var n=e.id+"_"+t.id+"_"+r.name,i=r.elements;i.forEach(function(e,t){a.layersFeaturesBoxes[n+t]={collapsed:!0}})})}})}),this.onelayerresult=1===e.length,this.onelayerresult&&this.hasLayerOneFeature(e[0])&&(t=e[0],n=t.features[0],i=this.getBoxId(t,n),this.$options.queryResultsService.onceafter("postRender",function(){a.showFeatureInfo(t,i)})),requestAnimationFrame(function(){return a.$options.queryResultsService.postRender(a.$el)}),r.next=6,this.$nextTick();case 6:case"end":return r.stop()}},r,this)}));return e}(),onelayerresult:function(e){e&&this.$options.queryResultsService.highlightFeaturesPermanently(this.state.layers[0])}},created:function(){var e=this;this.zoomToLayerFeaturesExtent=p(function(t){e.$options.queryResultsService.zoomToLayerFeaturesExtent(t,{highlight:!0})})},beforeDestroy:function(){this.state.zoomToResult=!0,this.layersFeaturesBoxes=null},destroyed:function(){this.$options.queryResultsService.clear()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"queryresults-wrapper",attrs:{id:"search-results"}},[e.info.message?r("div",{staticClass:"skin-color",staticStyle:{"font-weight":"bold","margin-bottom":"3px","font-size":"1.1em"}},[e.info.icon?r("span",{staticClass:"action-button skin-tooltip-bottom","class":e.g3wtemplate.getFontClass(e.info.icon),on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.info.action(t)}}}):e._e(),e._v(" "),r("span",[e._v(e._s(e.info.message))])]):e._e(),e._v(" "),r("div",{staticClass:"queryresults-container"},[e.state.layers.length?[e.hasLayers?r("ul",{staticClass:"queryresults",staticStyle:{position:"relative"},attrs:{id:"queryresults"}},[e._l(e.state.layers,function(t){return r("li",{directives:[{name:"show",rawName:"v-show",value:(e.layerHasFeatures(t)||t.rawdata)&&t.show,expression:"(layerHasFeatures(layer) || layer.rawdata) && layer.show"}]},[r("bar-loader",{attrs:{loading:t.loading}}),e._v(" "),r("div",{staticClass:"box box-primary"},[r("div",{staticClass:"box-header with-border","class":{mobile:e.isMobile()},attrs:{"data-widget":"collapse"}},[r("div",{staticClass:"box-title query-layer-title",style:{fontSize:e.isMobile()&&"1em !important"}},[e._v(e._s(t.title)+"\n "),r("span",{directives:[{name:"show",rawName:"v-show",value:!t.rawdata,expression:"!layer.rawdata"}],staticClass:"query-layer-feature-count"},[e._v("("+e._s(t.features.length)+")")])]),e._v(" "),r("div",{staticClass:"box-features-action",on:{click:function(e){e.stopPropagation()}}},[r("infoformats",{attrs:{layer:t}}),e._v(" "),t.features.length>1?[t.hasgeometry?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"sdk.mapcontrols.query.actions.zoom_to_features_extent.hint",expression:"'sdk.mapcontrols.query.actions.zoom_to_features_extent.hint'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button",on:{click:function(r){return r.stopPropagation(),e.zoomToLayerFeaturesExtent(t)}}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("marker")})]):e._e(),e._v(" "),t.atlas.length?r("span",{directives:[{name:"download",rawName:"v-download"},{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"sdk.mapcontrols.query.actions.atlas.hint",expression:"'sdk.mapcontrols.query.actions.atlas.hint'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button",on:{click:function(r){return r.stopPropagation(),e.printAtlas(t)}}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("print")})]):e._e(),e._v(" "),1===t.downloads.length?[r("span",{directives:[{name:"download",rawName:"v-download"},{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"sdk.mapcontrols.query.actions.download_features_"+t.downloads[0]+".hint",expression:"`sdk.mapcontrols.query.actions.download_features_${layer.downloads[0]}.hint`",arg:"left",modifiers:{create:!0}}],staticClass:"action-button","class":{toggled:t[t.downloads[0]].active}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("download"),on:{click:function(r){return r.stopPropagation(),e.saveLayerResult(t,t.downloads[0])}}})])]:t.downloads.length>1?[r("span",{directives:[{name:"download",rawName:"v-download"},{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"Downloads",expression:"'Downloads'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button","class":{toggled:t.downloadformats.active}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("download"),on:{click:function(r){return r.stopPropagation(),e.showLayerDownloadFormats(t)}}})])]:e._e()]:e._e(),e._v(" "),t.external||t.source&&"wms"!==t.source.type?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"sdk.mapcontrols.query.actions.add_features_to_results.hint",expression:"'sdk.mapcontrols.query.actions.add_features_to_results.hint'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button","class":{toggled:t.addfeaturesresults.active},on:{click:function(r){return r.stopPropagation(),e.addLayerFeaturesToResults(t)}}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("plus-square")})]):e._e(),e._v(" "),t.features.length>1&&(t.external||t.source&&"wms"!==t.source.type)?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"sdk.mapcontrols.query.actions.add_selection.hint",expression:"'sdk.mapcontrols.query.actions.add_selection.hint'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button skin-tooltip-left","class":{toggled:t.selection.active},on:{click:function(r){return r.stopPropagation(),e.selectionFeaturesLayer(t)}}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("success")})]):e._e(),e._v(" "),r("span",{directives:[{name:"show",rawName:"v-show",value:t.selection.active&&!t.external,expression:"layer.selection.active && !layer.external"},{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:"layer_selection_filter.tools.filter",expression:"'layer_selection_filter.tools.filter'",arg:"left",modifiers:{create:!0}}],staticClass:"action-button skin-tooltip-left","class":{toggled:t.filter.active},on:{click:function(r){return r.stopPropagation(),e.addRemoveFilter(t)}}},[r("span",{staticClass:"action-button-icon","class":e.g3wtemplate.getFontClass("filter")})])],2),e._v(" "),r("button",{staticClass:"btn btn-box-tool",attrs:{"data-widget":"collapse"}},[r("i",{staticClass:"btn-collapser skin-color","class":e.g3wtemplate.font.minus})])]),e._v(" "),e.state.layeractiontool[t.id].component?[r("div",{staticClass:"g3w-layer-action-tools with-border","class":{mobile:e.isMobile()},staticStyle:{padding:"5px"}},[r(e.state.layeractiontool[t.id].component,{tag:"component",attrs:{layer:t,config:e.state.layeractiontool[t.id].config}})],1)]:e._e(),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"layer","before"),function(e){var n=e.component;return r(n,{tag:"component",attrs:{layer:t}})}),e._v(" "),r("div",{staticClass:"box-body","class":{mobile:e.isMobile()}},[t.rawdata?[r("div",{staticClass:"queryresults-text-html","class":{text:"text/plain"===t.infoformat},domProps:{innerHTML:e._s(t.rawdata)}})]:e.hasFormStructure(t)?[r("table",{staticClass:"table","class":{mobile:e.isMobile()}},[r("thead",[r("tr",[e.state.layersactions[t.id].length?r("th",{style:{width:26*e.state.layersactions[t.id].length+"px",maxWidth:26*e.state.layersactions[t.id].length+"px"}}):e._e(),e._v(" "),e._l(e.attributesSubset(t),function(t,n){return r("th",{staticClass:"centered"},[e._v(e._s(t.label))])}),e._v(" "),e.hasLayerOneFeature(t)?e._e():r("th",{staticClass:"collapsed"})],2)]),e._v(" "),r("tbody",[e._l(t.features,function(n,i){return n.show?[r("header-feature-body",{attrs:{actions:e.state.layersactions[t.id],layer:t,feature:n,index:i,onelayerresult:e.onelayerresult,trigger:e.trigger,toggleFeatureBoxAndZoom:e.toggleFeatureBoxAndZoom,hasLayerOneFeature:e.hasLayerOneFeature,boxLayerFeature:e.getLayerFeatureBox(t,n),attributesSubset:e.attributesSubset,getLayerField:e.getLayerField}}),e._v(" "),r("tr",{staticClass:"g3w-feature-result-action-tools"},[e.state.currentactiontools[t.id][i]?[r("td",{attrs:{colspan:e.getColSpan(t)}},[r(e.state.currentactiontools[t.id][i],{tag:"component",attrs:{colspan:e.getColSpan(t),layer:t,feature:n,featureIndex:i,config:e.state.actiontools[e.state.currentactiontools[t.id][i].name][t.id]}})],1)]:e._e()],2),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"feature","before"),function(i){var a=i.component;return r("tr",[r("td",{attrs:{colspan:e.getColSpan(t)}},[r(a,{tag:"component",attrs:{layer:t,feature:n}})],1)])}),e._v(" "),r("tr",{directives:[{name:"show",rawName:"v-show",value:!e.collapsedFeatureBox(t,n)||e.hasOneLayerAndOneFeature(t),expression:"!collapsedFeatureBox(layer,feature) || hasOneLayerAndOneFeature(layer)"}],staticClass:"featurebox-body",attrs:{id:t.id+"_"+i}},[r("td",{attrs:{colspan:e.getColSpan(t)}},[r("tabs",{attrs:{fields:e.getQueryFields(t,n),layerid:t.id,feature:n,tabs:e.getLayerFormStructure(t)}})],1)]),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"feature","after"),function(i){var a=i.component;return r("tr",[r("td",{attrs:{colspan:e.getColSpan(t)}},[r(a,{tag:"component",attrs:{layer:t,feature:n}})],1)])})]:e._e()})],2)])]:r("table",{staticClass:"table","class":{mobile:e.isMobile()}},[r("thead",[r("tr",[e.state.layersactions[t.id].length?r("th",{style:{width:26*e.state.layersactions[t.id].length+"px",maxWidth:26*e.state.layersactions[t.id].length+"px"}}):e._e(),e._v(" "),e._l(e.attributesSubset(t),function(t,n){return r("th",{staticClass:"centered"},[e._v(e._s(t.label))])}),e._v(" "),e.hasLayerOneFeature(t)?e._e():r("th",{staticClass:"collapsed"})],2)]),e._v(" "),e._l(t.features,function(n,i){return n.show?r("tbody",{key:n.id},[r("header-feature-body",{attrs:{actions:e.state.layersactions[t.id],layer:t,feature:n,index:i,onelayerresult:e.onelayerresult,trigger:e.trigger,toggleFeatureBoxAndZoom:e.toggleFeatureBoxAndZoom,hasLayerOneFeature:e.hasLayerOneFeature,boxLayerFeature:e.getLayerFeatureBox(t,n),attributesSubset:e.attributesSubset,getLayerField:e.getLayerField}}),e._v(" "),r("tr",{staticClass:"g3w-feature-result-action-tools"},[e.state.currentactiontools[t.id][i]?[r("td",{attrs:{colspan:e.getColSpan(t)}},[r(e.state.currentactiontools[t.id][i],{tag:"component",attrs:{colspan:e.getColSpan(t),layer:t,feature:n,featureIndex:i,config:e.state.actiontools[e.state.currentactiontools[t.id][i].name][t.id]}})],1)]:e._e()],2),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"feature","before"),function(e){var i=e.component;return r("tr",[r("td",{attrs:{colspan:"getColSpan(layer)"}},[r(i,{tag:"component",staticClass:"box-body",attrs:{layer:t,feature:n}})],1)])}),e._v(" "),r("tr",{directives:[{name:"show",rawName:"v-show",value:!e.collapsedFeatureBox(t,n)||e.hasOneLayerAndOneFeature(t),expression:"!collapsedFeatureBox(layer,feature) || hasOneLayerAndOneFeature(layer)"}],staticClass:"featurebox-body",attrs:{id:t.id+"_"+i}},[r("td",{attrs:{colspan:e.getColSpan(t)}},[r("table",{staticClass:"feature_attributes"},e._l(t.attributes.filter(function(e){return e.show}),function(i){return r("tr",[r("td",{staticClass:"attr-label"},[e._v(e._s(i.label))]),e._v(" "),r("td",{staticClass:"attr-value",attrs:{attribute:i.name}},[r("table-attribute-field-value",{attrs:{feature:n,field:e.getLayerField({layer:t,feature:n,fieldName:i.name})}})],1)])}),0)])]),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"feature","after"),function(e){var i=e.component;return r("tr",[r("td",{attrs:{colspan:"getColSpan(layer)"}},[r(i,{tag:"component",staticClass:"box-body",attrs:{layer:t,feature:n}})],1)])})],2):r("tbody")})],2)],2),e._v(" "),e._l(e.getLayerCustomComponents(t.id,"layer","after"),function(n){var i=n.component;return r("div",{staticClass:"box-body","class":{mobile:e.isMobile()}},[r(i,{tag:"component",attrs:{layer:t}})],1)})],2)],1)}),e._v(" "),e._l(e.state.components,function(t){return r("li",[r(t,{tag:"component",on:{showresults:function(t){return e.showResults()}}})],1)})],2):e._e()]:[e.state.changed?r("div",{staticClass:"query-results-not-found"},[r("h4",{directives:[{name:"t",rawName:"v-t",value:"info.no_results",expression:"'info.no_results'"}],staticClass:"skin-color",staticStyle:{"font-weight":"bold","text-align":"center"}})]):e._e()]],2)])},n.staticRenderFns=[]},{"components/QueryResultsActionInfoFormats.vue":317,"components/QueryResultsHeaderFeatureBody.vue":320,"components/QueryResultsTableAttributeFieldValue.vue":321,"core/utils/utils":92,"gui/vue/vue.mixins":227}],315:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/i18n/i18n.service"),i=n.t;r["default"]={name:"action",data:function(){return{show:!0}},props:{featureIndex:{type:Number},feature:{type:Object},layer:{type:Object},trigger:{type:Function},action:{type:Object,required:!0}},methods:{clickAction:function(){function e(e,t,n,i,a){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(e,t,r,a,o){var s,l;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this.trigger(e,t,r,a);case 2:e.hint_change&&(s=$(o.target).parent(),l=s.attr("data-original-title"),s.attr("data-original-title",i(e.hint_change.hint)),s.tooltip("show"),setTimeout(function(){s.attr("data-original-title",l),s.tooltip("show")},e.hint_change.duration||600)),this.$emit("action-clicked",e);case 4:case"end":return n.stop()}},n,this)}));return e}()},created:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.action.init&&this.action.init({layer:this.layer,feature:this.feature,index:this.featureIndex,action:this.action}),"function"!=typeof this.action.condition){t.next=11;break}if(e=this.action.condition({layer:this.layer,feature:this.feature}),!(e instanceof Promise)){t.next=9;break}return t.next=6,e;case 6:t.t0=t.sent,t.next=10;break;case 9:t.t0=e;case 10:this.show=t.t0;case 11:case"end":return t.stop()}},n,this)}));return e}(),mounted:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:$('.action-button[data-toggle="tooltip"]').tooltip();case 3:case"end":return e.stop()}},n,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.show?r("span",{directives:[{name:"download",rawName:"v-download",value:e.action.download,expression:"action.download"},{name:"t-title",rawName:"v-t-title",value:e.action.hint,expression:"action.hint"}],staticClass:"action-button skin-tooltip-right","class":{toggled:e.action.state&&e.action.state.toggled[e.featureIndex]},attrs:{"data-placement":"right","data-toggle":"tooltip"},on:{contextmenu:function(e){e.preventDefault(),e.stopPropagation()},click:function(t){return t.stopPropagation(),e.clickAction(e.action,e.layer,e.feature,e.featureIndex,t)}}},[r("span",{"class":"action-button-icon "+e.action["class"],staticStyle:{padding:"2px"},style:e.action.style})]):e._e()},n.staticRenderFns=[],n._scopeId="data-v-85bef264"},{"core/i18n/i18n.service":27}],316:[function(e,t,r){!function(){function e(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"downloadformats",data:function(){var e=this.config.downloads[0].format;return{download_format:e}},props:{featureIndex:{type:Number},feature:{type:Object},layer:{type:Object},config:{type:Object,"default":null}},methods:{download:function(){function t(){return r.apply(this,arguments)}var r=e(regeneratorRuntime.mark(function n(){var e,t=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,e=this.config.downloads.find(function(e){return e.format===t.download_format}),r.next=4,e.cbk(this.layer,this.feature?this.feature:this.layer.features,e,this.featureIndex);case 4:r.next=8;break;case 6:r.prev=6,r.t0=r["catch"](0);case 8:case"end":return r.stop()}},n,this,[[0,6]])}));return t}()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"g3w-download-formats-content",staticStyle:{width:"100%",display:"flex"},on:{click:function(e){e.preventDefault(),e.stopPropagation()}}},[r("select",{directives:[{name:"select2",rawName:"v-select2",value:"download_format",expression:"'download_format'"}],staticClass:"form-control",staticStyle:{"flex-grow":"1"},attrs:{search:!1}},e._l(e.config.downloads,function(t){return r("option",{directives:[{name:"download",rawName:"v-download"}],key:t.id,domProps:{value:t.format}},[r("span",{staticStyle:{"font-weight":"bold"}},[e._v(e._s(t.format))])])}),0),e._v(" "),r("button",{directives:[{name:"download",rawName:"v-download"}],staticClass:"btn skin-button",staticStyle:{"border-radius":"0 3px 3px 0"},on:{click:function(t){return t.stopPropagation(),e.download(t)}}},[r("span",{"class":e.g3wtemplate.getFontClass("download")})])])},n.staticRenderFns=[],n._scopeId="data-v-0c98a736"},{}],317:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function e(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(l){i=!0,a=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw a}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=e("core/catalog/cataloglayersstoresregistry"),a=e("core/parsers/response/parser"),o=e("core/utils/geo"),s=o.getAlphanumericPropertiesFromFeature,l=(o.query,e("gui/gui"));r["default"]={name:"Infoformats",props:{layer:{type:Object,required:!0}},data:function(){return{infoformat:this.layer.infoformat}},computed:{infoformats:function(){return this.layer.infoformats||[]}},methods:{reloadLayerDataWithChangedContentType:function(){function e(e){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function i(e){var t,r,o,u,c,d=this;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return t=l.getService("queryresults"),this.layer.loading=!0,i.prev=2,i.next=5,this.projectLayer.changeProxyDataAndReloadFromServer("wms",{headers:{"Content-Type":e},params:{INFO_FORMAT:e}});case 5:if(r=i.sent,this.layer.infoformat=e,this.projectLayer.setInfoFormat(this.layer.infoformat),o=a.get(e)({layers:[this.projectLayer],response:r}),u=n(o,1),c=u[0],!c.features){i.next=14;break}this.layer.rawdata=null,c.features.forEach(function(e){var r=t.getFeaturePropertiesAndGeometry(e),n=r.id,i=r.geometry,a=r.properties;0===d.layer.attributes.length&&(d.layer.hasgeometry=!!i,t.setActionsForLayers([d.layer]),s(a).forEach(function(e){d.layer.attributes.push({name:e,label:e,show:!0})}));var o={id:n,attributes:a,geometry:i,show:!0};o.show=!0,d.layer.features.push(o)}),i.next=18;break;case 14:return this.layer.features.splice(0),i.next=17,this.$nextTick();case 17:this.layer.rawdata=c.rawdata;case 18:i.next=23;break;case 20:i.prev=20,i.t0=i["catch"](2);case 23:this.layer.loading=!1;case 24:case"end":return i.stop()}},i,this,[[2,20]])}));return e}()},watch:{infoformat:function(e){this.reloadLayerDataWithChangedContentType(e)}},created:function(){this.projectLayer=i.getLayerById(this.layer.id)},beforeDestroy:function(){this.projectLayer&&this.projectLayer.clearProxyData("wms"),this.projectLayer=null}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.infoformats.length?r("select",{directives:[{name:"select2",rawName:"v-select2",value:"infoformat",expression:"'infoformat'"}],staticClass:"skin-color",attrs:{select2_value:e.infoformat,search:!1}},e._l(e.infoformats,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])}),0):e._e()},n.staticRenderFns=[]},{"core/catalog/cataloglayersstoresregistry":9,"core/parsers/response/parser":77,"core/utils/geo":89,"gui/gui":150}],318:[function(e,t,r){e("vueify/lib/insert-css").insert(".g3w-polygonattributes-types-title[data-v-6d5aef4d]{font-weight:700;padding:3px;color:#fff;margin:0 0 5px}.g3w-polygonattributes-types-content[data-v-6d5aef4d]{display:flex;justify-content:space-between;padding:3px;border-radius:3px;border:1px solid #f4f4f4}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/applicationstate"),i=t(n),a=e("core/i18n/i18n.service"),o=a.t;r["default"]={name:"querypolygonaddattributes",props:{layer:{type:Object},config:{type:Object,"default":null}},data:function(){return{type:this.config.choices[0].type}},created:function(){var e=this;this.unwatch=this.$watch(function(){return i["default"].lng},function(){e.config.choices.forEach(function(t){return $(e.$refs[t.type]).text(o(t.label))}),$(e.$refs.g3w_select_feature_featurepolygon).select2().trigger("change")})},beforeDestroy:function(){this.unwatch&&this.unwatch(),this.unwatch=null}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{width:"100%"}},[r("h5",{directives:[{name:"t",rawName:"v-t",value:"sdk.mapcontrols.querybypolygon.download.title",expression:"'sdk.mapcontrols.querybypolygon.download.title'"}],staticClass:"skin-background-color g3w-polygonattributes-types-title"}),e._v(" "),r("div",{staticClass:"g3w-polygonattributes-types-content"},[r("select",{directives:[{name:"select2",rawName:"v-select2",value:"type",expression:"'type'"}],ref:"g3w_select_feature_featurepolygon",staticClass:"form-control",staticStyle:{width:"100%"},attrs:{search:!1}},e._l(e.config.choices,function(e){return r("option",{ +directives:[{name:"t",rawName:"v-t",value:e.label,expression:"choice.label"}],key:e.type,ref:e.type,refInFor:!0,domProps:{value:e.type}})}),0),e._v(" "),r("button",{staticClass:"btn skin-button",staticStyle:{"border-radius":"0 3px 3px 0"},on:{click:function(t){return t.stopPropagation(),e.config.download(e.type)}}},[r("span",{"class":e.g3wtemplate.getFontClass("download")})])])])},n.staticRenderFns=[],n._scopeId="data-v-6d5aef4d"},{"core/applicationstate":8,"core/i18n/i18n.service":27,"vueify/lib/insert-css":2}],319:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/QueryResultsAction.vue"),i=t(n);r["default"]={name:"actions",props:{featureIndex:{type:Number},feature:{type:Object},layer:{type:Object},trigger:{type:Function},actions:{type:Array,"default":[]}},components:{action:i["default"]}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.actions.length?r("td",{staticClass:"g3w-feature-actions"},e._l(e.actions,function(t){return r("action",e._b({key:t.id,attrs:{action:t}},"action",e.$props,!1))}),1):e._e()},n.staticRenderFns=[],n._scopeId="data-v-2ac817d6"},{"components/QueryResultsAction.vue":315}],320:[function(e,t,r){e("vueify/lib/insert-css").insert(".noAttributes[data-v-647e9d03]{display:flex;justify-content:flex-end}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/QueryResultsActions.vue"),i=t(n),a=e("gui/vue/vue.mixins"),o=a.fieldsMixin;r["default"]={name:"headerfeaturebody",mixins:[o],props:{toggleFeatureBoxAndZoom:{type:Function},trigger:{type:Function},hasLayerOneFeature:{type:Function},boxLayerFeature:{type:Object},getLayerField:{type:Function},attributesSubset:{type:Function},layer:{type:Object},feature:{type:Object},index:{type:Number},actions:{type:Array}},components:{actions:i["default"]}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("tr",{staticClass:"featurebox-header","class":[e.boxLayerFeature.collapsed?"":"featurebox-header-open"],on:{click:function(t){return e.toggleFeatureBoxAndZoom(e.layer,e.feature)},mouseover:function(t){return e.trigger({id:"highlightgeometry"},e.layer,e.feature,e.index)},mouseout:function(t){return e.trigger({id:"clearHighlightGeometry"},e.layer,e.feature,e.index)}}},[r("actions",{attrs:{layer:e.layer,featureIndex:e.index,trigger:e.trigger,feature:e.feature,actions:e.actions}}),e._v(" "),e._l(e.attributesSubset(e.layer),function(t){return r("td",{staticClass:"attribute"},[e.isLink(e.getLayerField({layer:e.layer,feature:e.feature,fieldName:t.name}))?r("span",{staticClass:"skin-color","class":e.g3wtemplate.getFontClass("link")}):e.isPhoto(e.getLayerField({layer:e.layer,feature:e.feature,fieldName:t.name}))?r("span",{staticClass:"skin-color","class":e.g3wtemplate.getFontClass("image")}):e.isImage(e.getLayerField({layer:e.layer,feature:e.feature,fieldName:t.name}))?r("span",{staticClass:"skin-color","class":e.g3wtemplate.getFontClass("image")}):r("span",[e._v(e._s(e.feature.attributes[t.name]))])])}),e._v(" "),e.hasLayerOneFeature(e.layer)?e._e():r("td",{staticClass:"collapsed","class":{noAttributes:0===e.attributesSubset(e.layer).length}},[r("span",{staticClass:"fa link morelink skin-color","class":[e.boxLayerFeature.collapsed?e.g3wtemplate.font.plus:e.g3wtemplate.font.minus]})])],2)},n.staticRenderFns=[],n._scopeId="data-v-647e9d03"},{"components/QueryResultsActions.vue":319,"gui/vue/vue.mixins":227,"vueify/lib/insert-css":2}],321:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/FieldLink.vue"),i=t(n),a=e("components/FieldVue.vue"),o=t(a),s=e("gui/vue/vue.mixins"),l=s.fieldsMixin;r["default"]={name:"tableattributefieldvalue",props:{field:{type:Object},feature:{type:Object}},mixins:[l],components:{"g3w-link":i["default"],"g3w-vue":o["default"]}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.isVue(e.field)?r("g3w-vue",{attrs:{feature:e.feature,state:e.field}}):e.isSimple(e.field)?r("span",{domProps:{innerHTML:e._s(e.field.value)}}):e.isPhoto(e.field)?r("g3w-image",{attrs:{value:e.field.value}}):e.isImage(e.field)?r("g3w-image",{attrs:{value:e.field.value}}):e.isLink(e.field)?r("g3w-link",{attrs:{state:{value:e.field.value}}}):e._e()},n.staticRenderFns=[],n._scopeId="data-v-757226bd"},{"components/FieldLink.vue":247,"components/FieldVue.vue":250,"gui/vue/vue.mixins":227}],322:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("constant"),a=e("components/FieldG3W.vue"),o=t(a),s=e("components/QueryResultsActionDownloadFormats.vue"),l=t(s),u=e("core/catalog/cataloglayersstoresregistry"),c=e("gui/gui"),d=e("core/utils/utils"),p=d.throttle,f=e("gui/relations/vue/relationeventbus"),h=e("gui/vue/vue.mixins"),v=h.fieldsMixin,g=h.resizeMixin,m=void 0;r["default"]={props:["table","feature","relation","previousview","showChartButton","cardinality"],inject:["relationnoback"],mixins:[v,g],components:{Field:o["default"]},data:function(){return{feature:null,fields:null,chart:!1,headercomponent:null,downloadButton:null,downloadLayer:{state:null,config:{downloads:[]}}}},computed:{showrelationslist:function(){return"relations"===this.previousview&&!this.relationnoback},one:function(){return"ONE"===this.relation.type}},methods:{createTable:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,a,o=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=u.getLayerById(this.table.layerId),this.isEditable=e.isEditable()&&!e.isInEditing(),t=e.isDownloadable()?e.getDownloadableFormats():[],a=t.length,a>0&&(this.downloadButton={toggled:!1,tooltip:a>1?"Downloads":"sdk.tooltips.download_"+t[0],handler:a>1?n(regeneratorRuntime.mark(function s(){return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:o.downloadButton.toggled=!o.downloadButton.toggled,o.downloadLayer.state=o.downloadLayer.state||e.state,o.downloadLayer.config.downloads=o.downloadLayer.config.downloads.length?o.downloadLayer.config.downloads:t.map(function(t){return{id:t,format:t,cbk:function(){o.saveRelation(e.getDownloadUrl(t)),o.headercomponent=null},download:!0}}),o.headercomponent=o.downloadButton.toggled?l["default"]:null;case 4:case"end":return r.stop()}},s,o)})):function(){return o.saveRelation(e.getDownloadUrl(t[0]))}}),f.$on("reload",function(){o.reloadLayout()}),this.showChart=p(n(regeneratorRuntime.mark(function d(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o.chart=!o.chart,t.next=3,o.$nextTick();case 3:o.chartContainer=o.chartContainer||$("#chart_content"),e={relations:[o.relation],fid:o.feature.attributes[i.G3W_FID]},o.$emit(o.chart?"show-chart":"hide-chart",o.chartContainer,e);case 6:case"end":return t.stop()}},d,o)}))),r.next=9,this.$nextTick();case 9:m=c.getSize({element:"sidebar",what:"width"}),this.relation.title=this.relation.name,this.one||(this.relationDataTable=$(this.$refs.relationtable).DataTable({pageLength:10,bLengthChange:!0,scrollResize:!0,scrollCollapse:!0,scrollX:!0,responsive:!0,order:[this.table.formStructure?1:0,"asc"],columnDefs:[{orderable:!this.table.formStructure,targets:0}]}),this.tableHeaderHeight=$(".query-relation div.dataTables_scrollHeadInner").height()),c.on("pop-content",this.resize);case 13:case"end":return r.stop()}},r,this)}));return e}(),resize:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,n,i,a;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:this.$refs.query_relation&&"none"!==this.$refs.query_relation.parentNode.style.display&&(e=$(".content").height(),t=$(this.$refs.query_relation).find("div.dataTables_scrollBody"),n=$(".content_breadcrumb").outerHeight(),i=n+$(".navbar-header").outerHeight()+$(".close-panel-block").outerHeight()+$(this.$refs["relation-header"]).outerHeight()+$(".dataTables_filter").last().outerHeight()+$(".dataTables_paginate.paging_simple_numbers").outerHeight()+$(".dataTables_scrollHead").last().outerHeight(),t.height(e-this.tableHeaderHeight-i),this.table.rowFormStructure&&(a=t.width()-$(this.$refs.relationtable).find("tr.selected > td").outerWidth()-20,$(".row-wrap-tabs > .tabs-wrapper").width(a)),this.reloadLayout());case 1:case"end":return r.stop()}},r,this)}));return e}(),saveRelation:function(e){this.$emit("save-relation",e),this.downloadButton.toggled=!1},showFormStructureRow:function(){function e(e,r){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e,t){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.table.rowFormStructure=this.table.rowFormStructure===t?null:t,this.fields=this.getRowFields(t),e.next=4,this.$nextTick();case 4:$("#relationtable_wrapper div.dataTables_scrollBody").css("overflow-x",this.table.rowFormStructure?"hidden":"auto"),this.resize();case 6:case"end":return e.stop()}},r,this)}));return e}(),editFeature:function(e){var t=c.getService("queryresults");t.editFeature({layer:{id:this.table.layerId,attributes:this.table.fields},feature:this.table.features[e]})},getRowFields:function(e){var t=this;return this.table.fields.map(function(r,n){return r.value=e[n],r.query=!0,r.input={type:""+t.getFieldType(r)},r})},reloadLayout:function(){this.relationDataTable&&this.relationDataTable.columns.adjust()},back:function(){this.$parent.setRelationsList()},fieldIs:function(e,t){var r=this.getFieldType(t);return r===e},is:function(e,t){return this.fieldIs(e,t)},moveFnc:function(e){var t=$(".sidebar-collapse").length?0:m,r=e.pageX+2-t;this.$refs.tablecontent.style.width=r+"px",this.$refs.chartcontent.style.width=$(this.$refs.relationwrapper).width()-r-10+"px"}},watch:{table:{immediate:!0,handler:function(e){e&&e.rows.length&&this.createTable()}},chart:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.resize();case 3:case"end":return e.stop()}},r,this)}));return e}(),headercomponent:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.resize();case 3:case"end":return e.stop()}},r,this)}));return e}()},beforeCreate:function(){this.delayType="debounce"},beforeDestroy:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.relationDataTable&&(this.relationDataTable.destroy(),this.relationDataTable=null,this.chartContainer&&this.$emit("hide-chart",this.chartContainer),this.chartContainer=null,this.tableHeaderHeight=null,c.off("pop-content",this.resize));case 1:case"end":return e.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.table?r("div",{ref:"query_relation",staticClass:"query-relation","class":e.isMobile()?"mobile":null,staticStyle:{"margin-top":"3px"}},[r("div",{ref:"relation-header",staticClass:"header skin-background-color lighten",staticStyle:{padding:"3px",display:"flex","justify-content":"space-between","align-items":"center",width:"100%"}},[r("div",{staticClass:"g3w-long-text",staticStyle:{"border-radius":"3px"},style:{fontSize:e.isMobile()?"1em":"1.3em"}},[e.showrelationslist?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:right.create",value:"sdk.relations.back_to_relations",expression:"'sdk.relations.back_to_relations'",arg:"right",modifiers:{create:!0}}],staticClass:"action-button-icon action-button","class":e.g3wtemplate.getFontClass("exit"),staticStyle:{"font-size":"0.8em"},on:{click:function(t){return t.stopPropagation(),e.back(t)}}}):e._e(),e._v(" "),r("span",{staticClass:"relation-tile skin-color",staticStyle:{"font-weight":"bold"}},[e._v(" "+e._s(e.relation.name))])]),e._v(" "),e.table.rows.length?r("div",{staticClass:"relations-table-tools",staticStyle:{"font-size":"1.1em","margin-bottom":"3px"}},[e.downloadButton?r("span",{directives:[{name:"download",rawName:"v-download"},{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:e.downloadButton.tooltip,expression:"downloadButton.tooltip",arg:"left",modifiers:{create:!0}}],staticClass:"action-button-icon action-button","class":[e.g3wtemplate.getFontClass("download"),{"toggled-white":e.downloadButton.toggled}],staticStyle:{padding:"5px"},on:{click:e.downloadButton.handler}}):e._e(),e._v(" "),e.showChartButton?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:bottom.create",value:"sdk.tooltips.show_chart",expression:"'sdk.tooltips.show_chart'",arg:"bottom",modifiers:{create:!0}}],staticClass:"action-button-icon action-button","class":[e.g3wtemplate.getFontClass("chart"),e.chart?"toggled-white":""],staticStyle:{padding:"5px"},on:{click:function(t){return t.stopPropagation(),e.showChart(t)}}}):e._e()]):e._e()]),e._v(" "),e.table.rows.length?r("div",{ref:"relationwrapper",staticStyle:{display:"flex","justify-content":"space-between","margin-bottom":"5px","margin-top":"3px",height:"95%"}},[r("div",{ref:"tablecontent",style:{width:e.chart?"70%":"100%",marginRight:e.chart?"8px":"3px",position:"relative"},attrs:{id:"table_content"}},[e.headercomponent?[r("div",{staticStyle:{width:"100%",display:"flex","margin-left":"auto","margin-bottom":"5px","margin-right":"4px"}},[r(e.headercomponent,{tag:"component",attrs:{layer:e.downloadLayer.state,config:e.downloadLayer.config}})],1)]:e._e(),e._v(" "),r("table",{ref:"relationtable",staticClass:"hover relationtable table table-striped row-border",staticStyle:{width:"100%"}},[r("thead",[r("tr",{staticStyle:{height:"0! important"}},[e.table.formStructure||e.isEditable?r("th",{style:{minWidth:30*(1*!!e.table.formStructure+1*e.isEditable)+"px",padding:"0 !important"}}):e._e(),e._v(" "),e._l(e.table.columns,function(t){return r("th",[e._v(e._s(t))])})],2)]),e._v(" "),r("tbody",e._l(e.table.rows,function(t,n){return r("tr",{key:e.table.rows_fid[n],"class":{selected:e.table.rowFormStructure===t}},[e.table.formStructure||e.isEditable?r("td",[e.table.formStructure?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:right.create",value:e.table.rowFormStructure===t?"sdk.tooltips.relations.form_to_row":"sdk.tooltips.relations.row_to_form",expression:"table.rowFormStructure === row ? 'sdk.tooltips.relations.form_to_row': 'sdk.tooltips.relations.row_to_form'",arg:"right",modifiers:{create:!0}}],staticClass:"action-button row-form skin-color","class":[e.table.rowFormStructure===t?e.g3wtemplate.getFontClass("minus"):e.g3wtemplate.getFontClass("table")],staticStyle:{cursor:"pointer"},attrs:{"current-tooltip":e.table.rowFormStructure===t?"sdk.tooltips.relations.form_to_row":"sdk.tooltips.relations.row_to_form"},on:{click:function(r){return r.stopPropagation(),e.showFormStructureRow(r,t)}}}):e._e(),e._v(" "),e.isEditable?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:right.create",value:"Edit",expression:"'Edit'",arg:"right",modifiers:{create:!0}}],staticClass:"action-button row-form skin-color","class":e.g3wtemplate.getFontClass("pencil"),on:{click:function(t){return t.stopPropagation(),e.editFeature(n)}}}):e._e()]):e._e(),e._v(" "),e.table.formStructure&&e.table.rowFormStructure===t?[r("td",{staticClass:"row-wrap-tabs",attrs:{colspan:e.table.columns.length}},[r("tabs",{attrs:{layerid:e.table.layerId,feature:e.table.features[n],fields:e.fields,tabs:e.table.formStructure}})],1)]:e._l(t,function(e){return r("td",[r("field",{attrs:{state:{value:e}}})],1)})],2)}),0)])],2),e._v(" "),r("g3w-resize",{staticClass:"skin-border-color lighten",staticStyle:{"border-style":"solid","border-width":"0 1px 0 1px"},attrs:{show:e.chart,moveFnc:e.moveFnc,where:"content"}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.chart,expression:"chart"}],ref:"chartcontent",style:{width:e.chart?"30%":"0",paddingBottom:"5px",marginBottom:"5px",marginLeft:"8px"},attrs:{id:"chart_content"}})],1):r("div",{staticClass:"dataTables_scrollBody",staticStyle:{"font-weight":"bold","margin-top":"10px","font-size":"1.1em",display:"flex","justify-content":"space-between"}},[r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.relations.no_relations_found",expression:"'sdk.relations.no_relations_found'"}]})])]):e._e()},n.staticRenderFns=[]},{"components/FieldG3W.vue":244,"components/QueryResultsActionDownloadFormats.vue":316,constant:5,"core/catalog/cataloglayersstoresregistry":9,"core/utils/utils":92,"gui/gui":150,"gui/relations/vue/relationeventbus":208,"gui/vue/vue.mixins":227}],323:[function(e,t,r){e("vueify/lib/insert-css").insert(".relation-grid-item[data-v-14fa2c7d]{min-width:0;min-height:80px;border:2px solid;cursor:pointer;border-radius:4px;background-color:#fff;display:flex;align-items:center}.relation-grid-item[data-v-14fa2c7d]:hover{background-color:transparent}");!function(){function e(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var t=function(){function e(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(l){i=!0,a=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw a}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();r["default"]={props:["relations","feature","loading"],methods:{showRelation:function(){function t(e){return r.apply(this,arguments)}var r=e(regeneratorRuntime.mark(function n(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$parent.showRelation(e);case 2:case"end":return t.stop()}},n,this)}));return t}(),featureInfo:function(){var e=[],r=0;return Object.entries(this.feature.attributes).forEach(function(n){var i=t(n,2),a=i[0],o=i[1];return!(r>2)&&void(o&&_.isString(o)&&o.indexOf("/")===-1&&(e.push({key:a,value:o}),r+=1))}),e}},mounted:function(){function t(){return r.apply(this,arguments)}var r=e(regeneratorRuntime.mark(function n(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(1!==this.relations.length){t.next=5;break}return e=this.relations[0],e.noback=!0,t.next=5,this.showRelation(e);case 5:case"end":return t.stop()}},n,this)}));return t}(),beforeDestroy:function(){1===this.relations.length&&delete this.relations[0].noback}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"query-relations",staticStyle:{"overflow-y":"auto"}},[r("div",{staticClass:"header skin-background-color lighten",staticStyle:{"margin-bottom":"10px","border-radius":"4px",padding:"5px"}},[r("div",{staticClass:"skin-color-dark"},[r("span",{directives:[{name:"t",rawName:"v-t:pre",value:"sdk.relations.list_of_relations_feature",expression:"'sdk.relations.list_of_relations_feature'",arg:"pre"}],staticStyle:{"font-size":"1.1em"}}),e._v(" "),e._l(e.featureInfo(),function(t){return r("span",[r("b",[e._v(e._s(t.key))]),e._v(": "+e._s(t.value)+" ")])})],2)]),e._v(" "),r("div",{staticClass:"query-relations-content",staticStyle:{display:"grid","grid-template-columns":"repeat(2, auto)","grid-column-gap":"5px","grid-row-gap":"5px"}},e._l(e.relations,function(t){return r("div",{staticClass:"skin-border-color relation-grid-item",on:{click:function(r){return e.showRelation(t)}}},[r("span",{staticClass:"skin-color g3w-long-text",staticStyle:{"font-weight":"bold",padding:"5px"}},[e._v(e._s(t.name))])])}),0)])},n.staticRenderFns=[],n._scopeId="data-v-14fa2c7d"},{"vueify/lib/insert-css":2}],324:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("components/Relations.vue"),a=t(i),o=e("components/Relation.vue"),s=t(o),l=e("constant"),u=e("gui/gui"),c=e("core/utils/geo"),d=c.getFeaturesFromResponseVectorApi,p=e("gui/relations/vue/relationeventbus");r["default"]={data:function(){this.chartRelationIds=this.$options.chartRelationIds||[];var e=this.$options,t=e.table,r=e.relation,n=void 0===r?null:r,i=e.relations,a=e.nmRelation,o=e.feature,s=e.currentview,l=e.service;return{loading:!1,state:null,error:!1,table:t?l.buildRelationTable(t):null,relation:n,relations:i,nmRelation:a,showChartButton:!1,feature:o,currentview:s,previousview:s}},provide:function(){return{relationnoback:1===this.$options.relations.length}},components:{relations:a["default"],relation:s["default"]},methods:{saveRelations:function(e){this.$options.service.saveRelations(e)},reloadLayout:function(){p.$emit("reload")},showChart:function(e,t){var r=this.relation.referencingLayer;u.getService("queryresults").showChart([r],e,t)},hideChart:function(e){u.getService("queryresults").hideChart(e)},showRelation:function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){var t,n,i,a;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u.setLoadingContent(!0),this.loading=!0,this.relation=e,t=e.referencingLayer,n=this.feature.attributes[l.G3W_FID],r.prev=5,r.next=8,this.$options.service.getRelations({layer:this.$options.layer,relation:e,fid:n});case 8:if(i=r.sent,a=d(i,{type:"result"}),!this.nmRelation){r.next=15;break}return t=this.nmRelation.referencedLayer,r.next=14,this.$options.service.getRelationsNM({nmRelation:this.nmRelation,features:a});case 14:a=r.sent;case 15:return this.showChartButton=!!this.chartRelationIds.find(function(e){return e===t}),this.table=this.$options.service.buildRelationTable(a,t),u.changeCurrentContentOptions({title:e.name,crumb:{title:e.name}}),r.next=20,this.$nextTick();case 20:this.previousview=this.currentview,this.currentview="relation",r.next=26;break;case 24:r.prev=24,r.t0=r["catch"](5);case 26:u.setLoadingContent(!1),this.loading=!0;case 28:case"end":return r.stop()}},r,this,[[5,24]])}));return e}(),setRelationsList:function(){this.previousview="relation",this.currentview="relations",u.changeCurrentContentOptions({crumb:{title:l.LIST_OF_RELATIONS_TITLE}}),this.loading=!1}},beforeMount:function(){("relation"===this.currentview||1===this.relations.length&&"ONE"===this.relations[0].type)&&this.showRelation(this.relations[0])},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.relations.sort(function(e,t){var r=e.name,n=t.name;return rn?1:0}),e.next=3,this.$nextTick();case 3:this.error&&requestAnimationFrame(function(){u.popContent()}),this.error=!1;case 5:case"end":return e.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"query-relations-page"},[r(e.currentview,{ref:e.currentview,tag:"component",attrs:{loading:e.loading,previousview:e.previousview,showChartButton:e.showChartButton,relations:e.relations,relation:e.relation,nmRelation:e.nmRelation,feature:e.feature,table:e.table},on:{"save-relation":e.saveRelations,"show-chart":e.showChart,"hide-chart":e.hideChart}})],1)},n.staticRenderFns=[]},{"components/Relation.vue":322,"components/Relations.vue":323,constant:5,"core/utils/geo":89,"gui/gui":150,"gui/relations/vue/relationeventbus":208}],325:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("components/Tool.vue"),a=t(i),o=e("components/QueryBuilderSearch.vue"),s=t(o);r["default"]={data:function(){return{state:null}},components:{"g3w-tool":a["default"],"g3w-search-querybuilder":s["default"]},computed:{show:function(){return this.state.searches.length+this.state.searchtools.length+this.state.querybuildersearches.length>0}},methods:{showPanel:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.$options.service.showPanel(e)},removeItem:function(e){var t=e.type,r=e.index;this.$options.service.removeItem({type:t,index:r})}},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:$(".icon-search-action").tooltip();case 3:case"end":return e.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.show?r("ul",{staticClass:"treeview-menu g3w-search g3w-tools menu-items",attrs:{id:"g3w-search"}},[e._l(e.state.searches,function(t){return r("li",{staticClass:"menu-item",on:{click:function(r){return e.showPanel(t)}}},[r("i",{"class":e.g3wtemplate.getFontClass("empty-circle")}),e._v(" "),r("span",[e._v(e._s(t.name))])])}),e._v(" "),e._l(e.state.searchtools,function(e){return r("li",[r("g3w-tool",{attrs:{tool:e}})],1)}),e._v(" "),e._l(e.state.querybuildersearches,function(t,n){return r("g3w-search-querybuilder",{key:t.id,attrs:{querybuildersearch:t},on:{"delete":function(t){return e.removeItem({type:"querybuilder",index:n})}}})})],2):e._e()},n.staticRenderFns=[]},{"components/QueryBuilderSearch.vue":313,"components/Tool.vue":338}],326:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=t(i),o=e("core/utils/utils"),s=o.getUniqueDomId,l=o.convertQGISDateTimeFormatToMoment;r["default"]={name:"Searchdatetime",props:{forminput:{type:Object,require:!0}},created:function(){this.id="search_datetime_"+s()},computed:{time:function(){return this.forminput.options.format.time}},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,n,i=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.$nextTick();case 2:e=this.forminput.options.format,t=e.fieldformat,n=e.displayformat,t=l(t),n=l(n),$("#"+this.id).datetimepicker({defaultDate:null,format:n,ignoreReadonly:!0,allowInputToggle:!0,toolbarPlacement:"top",widgetPositioning:{vertical:"bottom",horizontal:"left"},showClose:!0,locale:a["default"].lng||"en"}),$("#"+this.id).on("dp.change",function(){var e=$("#"+i.forminput.id).val();i.forminput.value=_.isEmpty(_.trim(e))?null:moment(e,n).format(t),i.$emit("change",i.forminput)}),a["default"].ismobile&&setTimeout(function(){$("#"+i.forminput.id).blur()});case 9:case"end":return r.stop()}},r,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"input-group date",attrs:{id:e.id}},[r("input",{staticClass:"form-control",attrs:{id:e.forminput.id,type:"text"}}),e._v(" "),r("span",{staticClass:"input-group-addon skin-color"},[r("span",{"class":e.g3wtemplate.getFontClass(e.time?"time":"calendar")})])])},n.staticRenderFns=[]},{"core/applicationstate":8,"core/utils/utils":92}],327:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("components/SearchSelect2.vue"),a=t(i),o=e("components/SearchDatetime.vue"),s=t(o),l=e("./SearchPanelLabel.vue"),u=t(l);r["default"]={components:{Select2:a["default"],SearchDatetime:s["default"],SearchPanelLabel:u["default"]},data:function(){return{state:this.$options.service.state}},methods:{isSelectDisabled:function(e){return[this.state.loading[e.options.dependance],e.loading,e.options.disabled].reduce(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e||t},!1)},onFocus:function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){var t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!this.isMobile()){r.next=5;break}return t=$(e.target).position().top-10,r.next=4,this.$nextTick();case 4:setTimeout(function(){return $(".sidebar").scrollTop(t)},500);case 5:case"end":return r.stop()}},r,this)}));return e}(),autocompleteRequest:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.$options.service.autocompleteRequest(e));case 1:case"end":return t.stop()}},r,this)}));return e}(),changeDependencyFields:function(e){var t=e.attribute,r=e.value,n=this.$options.service.getDependencies(t);return n.length?this.$options.service.fillDependencyInputs({field:t,subscribers:n,value:r}):Promise.resolve()},changeNumericInput:function(e){e.value=e.value||0===e.value?e.value:null,this.changeInput(e)},changeInput:function(e){var t=this,r=e.id,n=e.attribute,i=e.value,a=e.type;try{i="textfield"===a||"textField"===a?i:i.trim()}catch(o){}this.$options.service.changeInput({id:r,value:i}),this.state.searching=!0,this.changeDependencyFields({attribute:n,value:i})["finally"](function(){t.state.searching=!1; +})},doSearch:function(e){e.preventDefault(),this.$options.service.run()}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.state.searching,expression:"state.searching"}],staticClass:"g3w-search-panel form-group"},[r("h4",{},[r("b",[e._v(e._s(e.state.title))])]),e._v(" "),e._t("tools"),e._v(" "),e._t("form",[r("form",{staticClass:"g3w-search-form"},[e._l(e.state.forminputs,function(t){return r("span",{key:t.id},["numberfield"===t.type?r("div",{staticClass:"form-group numeric"},[r("search-panel-label",{attrs:{forminput:t}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"forminput.value"}],staticClass:"form-control",attrs:{type:"number",min:"0",id:t.id},domProps:{value:t.value},on:{change:function(r){return e.changeNumericInput(t)},input:[function(r){r.target.composing||e.$set(t,"value",r.target.value)},function(r){return e.changeNumericInput(t)}]}})],1):"textfield"===t.type||"textField"===t.type?r("div",{staticClass:"form-group form-item-search text"},[r("search-panel-label",{attrs:{forminput:t}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"forminput.value"}],staticClass:"form-control",attrs:{type:"text",id:t.id},domProps:{value:t.value},on:{focus:e.onFocus,change:function(r){return e.changeInput(t)},input:function(r){r.target.composing||e.$set(t,"value",r.target.value)}}})],1):"selectfield"===t.type||"autocompletefield"===t.type?r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.isSelectDisabled(t),expression:"isSelectDisabled(forminput)"}],staticClass:"form-group text"},[r("search-panel-label",{attrs:{forminput:t}}),e._v(" "),t.options.dependance?r("bar-loader",{attrs:{loading:e.state.loading[t.options.dependance]||t.loading}}):e._e(),e._v(" "),r("select2",{attrs:{forminput:t,autocompleteRequest:e.autocompleteRequest},on:{"select-change":e.changeInput}})],1):e._e(),e._v(" "),"datetimefield"===t.type?r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.state.loading[t.options.dependance]||!1,expression:"state.loading[forminput.options.dependance] || false"}],staticClass:"form-group text"},[r("search-panel-label",{attrs:{forminput:t}}),e._v(" "),r("search-datetime",{attrs:{forminput:t},on:{change:e.changeInput}})],1):e._e(),e._v(" "),t.logicop?r("div",{staticClass:"search-logicop skin-border-color"},[r("h4",[e._v(e._s(t.logicop))])]):e._e()])}),e._v(" "),r("div",{staticClass:"form-group"},[r("button",{directives:[{name:"t",rawName:"v-t",value:"dosearch",expression:"'dosearch'"}],staticClass:"sidebar-button-run btn btn-block pull-right",attrs:{id:"dosearch","data-i18n":"dosearch"},on:{click:function(t){return t.stopPropagation(),e.doSearch(t)}}})])],2)]),e._v(" "),e._t("footer")],2)},n.staticRenderFns=[]},{"./SearchPanelLabel.vue":328,"components/SearchDatetime.vue":326,"components/SearchSelect2.vue":329}],328:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("core/layers/filter/operators");r["default"]={name:"Searchpanellabel",props:{forminput:{type:Object,require:!0}},methods:{getLabelOperator:function(e){return"[ "+t.EXPRESSION_OPERATORS[e]+" ]"}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("label",{staticClass:"search-label",staticStyle:{width:"100%",display:"flex","justify-content":"space-between"},attrs:{"for":e.forminput.id}},[r("span",[e._v(e._s(e.forminput.label||e.forminput.attribute))]),e._v(" "),r("span",{staticClass:"skin-color"},[e._v(e._s(e.getLabelOperator(e.forminput.operator)))])])},n.staticRenderFns=[]},{"core/layers/filter/operators":48}],329:[function(e,t,r){!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t0&&1*s.numdigaut||2,u="autocompletefield"===i;this.select2=$(this.$el).select2(n({width:"100%",dropdownParent:$(".g3w-search-form:visible"),minimumInputLength:u&&l||0,allowClear:u,placeholder:u?"":null,ajax:u?{delay:500,transport:function(){function r(e,t,r){return n.apply(this,arguments)}var n=t(regeneratorRuntime.mark(function i(t,r,n){var a,s=t.data.q;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.autocompleteRequest({field:o,value:s});case 3:a=t.sent,r({results:a}),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),n(t.t0);case 10:case"end":return t.stop()}},i,e,[[0,7]])}));return r}()}:null},a)),this.select2.on("select2:select",function(t){e.emitChangeEvent(t)}),"autocompletefield"===this.forminput.type&&this.select2.on("select2:unselecting",function(t){e.emitChangeEvent(t)})}},watch:{"forminput.value":function(){function e(e){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:e===i.ALLVALUE&&(this.select2.val(e),this.select2.trigger("change"));case 3:case"end":return t.stop()}},n,this)}));return e}()},created:function(){this.allvalue=i.ALLVALUE},mounted:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this._initSelect2Element();case 3:case"end":return e.stop()}},n,this)}));return e}()}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("select",{directives:[{name:"disabled",rawName:"v-disabled",value:e.forminput.options.disabled||e.forminput.loading,expression:"forminput.options.disabled || forminput.loading"}],staticClass:"form-control",attrs:{name:e.forminput.attribute,id:e.forminput.id}},e._l(e.forminput.options.values,function(t){return r("option",{key:t.value,domProps:{value:t.value}},[t.value===e.allvalue?r("span",{directives:[{name:"t",rawName:"v-t",value:"sdk.search.all",expression:"'sdk.search.all'"}]}):r("span",[e._v(e._s(t.key))])])}),0)},n.staticRenderFns=[],n._scopeId="data-v-fa45c818"},{"core/i18n/i18n.service":27,"core/utils/utils":92,"gui/external/select2/options/autocomplete":144,"gui/search/constants":210,"gui/vue/vue.mixins":227}],330:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/applicationstate"),i=t(n),a=e("gui/sidebar/eventbus"),o=t(a),s=e("services/sidebar"),l=t(s),u=e("core/i18n/i18n.service"),c=u.t;r["default"]={name:"Sidebar",data:function(){return{components:l["default"].state.components,panels:l["default"].stack.state.contentsdata,bOpen:!0,bPageMode:!1,header:c("main navigation"),state:l["default"].state}},computed:{disabled:function(){return i["default"].gui.sidebar.disabled},panelsinstack:function(){return this.panels.length>0},showmainpanel:function(){return this.components.length>0&&!this.panelsinstack},componentname:function(){return this.components.length?this.components.slice(-1)[0].getTitle():""},panelname:function(){var e="";return this.panels.length&&(e=this.panels.slice(-1)[0].content.getTitle()),e}},methods:{closePanel:function(){l["default"].closePanel()},closeAllPanels:function(){l["default"].closeAllPanels()}},created:function(){this.iframe=i["default"].iframe,o["default"].$on("sidebaritemclick",function(){return $(".sidebar-toggle").click()})}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("aside",{staticClass:"main-sidebar","class":{iframe:e.iframe,"g3w-disabled":e.disabled}},[e.isMobile()?e._e():r("a",{staticClass:"sidebar-aside-toggle",attrs:{href:"#","data-toggle":"offcanvas",role:"button"}},[r("i",{"class":e.g3wtemplate.getFontClass("bars")})]),e._v(" "),r("div",{staticClass:"sidebar",attrs:{id:"g3w-sidebar"}},[r("div",{attrs:{id:"disable-sidebar"}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.panelsinstack,expression:"panelsinstack"}],staticClass:"g3w-sidebarpanel"},[r("div",{staticStyle:{overflow:"hidden","line-height":"14px","font-size":"1.5em"},attrs:{id:"g3w-sidebarpanel-header-placeholder"}},[r("div",{staticStyle:{display:"flex"},style:{justifyContent:e.state.gui.title?"space-between":"flex-end"}},[e.state.gui.title?r("h4",{directives:[{name:"t",rawName:"v-t",value:e.state.gui.title,expression:"state.gui.title"}],staticStyle:{display:"inline-block","font-weight":"bold"}}):e._e(),e._v(" "),r("div",[e.panels.length>1?r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"back",expression:"'back'",modifiers:{create:!0}}],staticClass:"skin-tooltip-left g3w-span-button close-pane-button fa-stack",attrs:{"data-placement":"left","data-toggle":"tooltip"},on:{click:e.closePanel}},[r("i",{staticClass:"fa-stack-1x panel-button","class":e.g3wtemplate.getFontClass("circle")}),e._v(" "),r("i",{staticClass:"fa-stack-1x panel-icon","class":e.g3wtemplate.getFontClass("arrow-left")})]):e._e(),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"close",expression:"'close'",modifiers:{create:!0}}],staticClass:"skin-tooltip-left g3w-span-button close-pane-button fa-stack",attrs:{"data-placement":"left","data-toggle":"tooltip"},on:{click:e.closeAllPanels}},[r("i",{staticClass:"fa-stack-1x panel-button","class":e.g3wtemplate.getFontClass("circle")}),e._v(" "),r("i",{staticClass:"fa-stack-1x panel-icon","class":e.g3wtemplate.getFontClass("close")})])])])]),e._v(" "),r("div",{staticClass:"g3w-sidebarpanel-placeholder",attrs:{id:"g3w-sidebarpanel-placeholder"}})]),e._v(" "),r("div",{attrs:{id:"g3w-sidebarcomponents-content"}},[r("ul",{directives:[{name:"show",rawName:"v-show",value:e.showmainpanel,expression:"showmainpanel"}],staticClass:"sidebar-menu","class":{"g3w-disabled":e.state.disabled},attrs:{id:"g3w-sidebarcomponents"}})])])])},n.staticRenderFns=[],n._scopeId="data-v-1c74bae2"},{"core/applicationstate":8,"core/i18n/i18n.service":27,"gui/sidebar/eventbus":215,"services/sidebar":399}],331:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("gui/sidebar/eventbus"),i=t(n),a=e("./SidebarItemAction.vue"),o=t(a);r["default"]={name:"SidebarItem",data:function(){return{info:this.$options.info||{state:null,style:null,"class":null},main:!0,component:this.$options.component,active:!1,title:"",open:!1,icon:null,iconColor:null,collapsible:null}},components:{SidebarItemAction:o["default"]},methods:{onClickItem:function(e){var t=this;this.component.isolate&&e.stopPropagation(),this.component.isolate||(this.$options.service.state.components.forEach(function(e){e!==t.component&&e.getOpen()&&e.click({open:e.isolate})}),!this.component.collapsible&&isMobile.any&&i["default"].$emit("sidebaritemclick")),this.component.setOpen(!this.component.state.open)}},created:function(){var e=this;this.component.openClose=function(){return e.$refs.anchor_click.click()}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("li",{directives:[{name:"show",rawName:"v-show",value:e.state.visible,expression:"state.visible"},{name:"disabled",rawName:"v-disabled",value:e.state.disabled,expression:"state.disabled"}],staticClass:"treeview sidebaritem","class":{active:e.open},attrs:{id:e.component.id}},[r("bar-loader",{attrs:{loading:e.state.loading}}),e._v(" "),r("a",{ref:"anchor_click",staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.onClickItem(t)}}},[r("div",[r("i",{"class":e.icon,style:{color:e.iconColor}}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:e.title,expression:"title"}],staticClass:"treeview-label"})]),e._v(" "),r("div",[e.info.state?r("span",{"class":e.info["class"],staticStyle:{position:"absolute",right:"5px","font-weight":"bold"},style:e.info.style,attrs:{title:e.info.tooltip}},[e._v(e._s(e.info.state))]):e._e(),e._v(" "),e._l(e.actions,function(e){return r("sidebar-item-action",{key:e.id,attrs:{action:e}})})],2),e._v(" "),e.collapsible?r("i",{staticClass:"pull-right","class":e.g3wtemplate.getFontClass("angle-left")}):e._e()]),e._v(" "),r("div",{attrs:{id:"g3w-sidebarcomponent-placeholder"}})],1)},n.staticRenderFns=[],n._scopeId="data-v-7c25a395"},{"./SidebarItemAction.vue":332,"gui/sidebar/eventbus":215}],332:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={name:"Sidebaritemaction",props:{action:{type:Object,required:!0}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:left.create",value:e.action.tooltip,expression:"action.tooltip",arg:"left",modifiers:{create:!0}}],staticClass:"action skin-tooltip-left","class":e.action["class"],staticStyle:{"font-weight":"bold",padding:"3px"},style:e.action.style,on:{click:function(t){return t.stopPropagation(),e.action.fnc(t)}}})},n.staticRenderFns=[]},{}],333:[function(e,t,r){e("vueify/lib/insert-css").insert("#streetview-error-key[data-v-968c0b9c]{display:flex;justify-content:center;align-items:center;font-weight:700;height:100%;padding:10px;background-color:#fff}");!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={data:function(){return{state:null}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"streetview"}},[e.$options.keyError?r("div",{attrs:{id:"streetview-error-key"}},[r("span",{staticClass:"skin-color"},[e._v(" "+e._s(e.$options.keyError))])]):e._e()])},n.staticRenderFns=[],n._scopeId="data-v-968c0b9c"},{"vueify/lib/insert-css":2}],334:[function(e,t,r){e("vueify/lib/insert-css").insert(".geometry[data-v-336b45d4]{cursor:pointer}#noheaders[data-v-336b45d4]{background-color:#fff;font-weight:700;margin-top:10px}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1];return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!e.geometry){r.next=4;break}this.$options.service.zoomAndHighLightFeature(e,t),r.next=6;break;case 4:return r.next=6,this.$options.service.zoomAndHighLightGeometryRelationFeatures(e,t);case 6:case"end":return r.stop()}},r,this)}));return e}(),addRemoveSelectedFeature:function(e){this.$options.service.addRemoveSelectedFeature(e)},reloadLayout:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:y&&y.columns.adjust();case 3:case"end":return e.stop()}},r,this)}));return e}(),hasHeaders:function(){return!!this.state.headers.length},createdContentBody:function(){var e=this;_=_.filter(function(e){return e.$destroy(),!1});var t=y.rows().nodes();t.each(function(t,r){if($(t).css("cursor","pointer"),e.state.features.length){var n=e.state.features[r],i=!!n.geometry;$(t).addClass("feature_attribute"),n.selected&&$(t).addClass("selected"),$(t).on("click",function(){return i&&e.zoomAndHighLightFeature(n)}),$(t).on("mouseover",function(){return i&&e.zoomAndHighLightFeature(n,!1)}),$(t).children().each(function(r,i){var a=e.state.headers[r],o=void 0;if(null===a){var s=Vue.extend(l["default"]),u=new s({propsData:{feature:n}});u.$on("selected",function(t){return e.$options.service.addRemoveSelectedFeature(t)}),e.$watch(function(){return n.selected},function(e){e?$(t).addClass("selected"):$(t).removeClass("selected")}),o=u.$mount().$el}else{var c=Vue.extend(p["default"]),d=new c({propsData:{state:{value:n.attributes[a.name]}}});d.$mount(),_.push(d),o=d.$el}$(i).html(o)})}}),setTimeout(function(){return e.reloadLayout()},0)},resize:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.$nextTick();case 2:e=$(".content").height(),t=$("#open_attribute_table div.dataTables_scrollHeadInner").height(),$("#open_attribute_table div.dataTables_scrollBody").height(e-t-130);case 5:case"end":return r.stop()}},r,this)}));return e}()},beforeCreate:function(){this.delayType="debounce"},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,a,o,s,l=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return this.setContentKey=m.onafter("setContent",this.resize),e=function(){$(".dataTables_info, .dataTables_length").hide(),$(".dataTables_paginate").css({display:"flex","justify-content":"space-between","font-size":"0.8em","margin-top":"5px"}),$(".dataTables_filter").css("float","right"),$(".dataTables_paginate").css("margin","0")},r.next=4,this.$nextTick();case 4:this.first=!1,t={lengthMenu:this.state.pageLengths,pageLength:this.state.pageLength,scrollX:!0,processing:!1,scrollCollapse:!0,sSearch:!1,order:[1,"asc"],dom:'l<"#g3w-table-toolbar">frtip',columnDefs:[{targets:0,orderable:!1,searchable:!1,width:"1%"}]},this.state.pagination?(y=$(this.$refs.attribute_table).DataTable(i({},t,{columns:this.state.headers,ajax:h(function(t,r){var i=$("#open_attribute_table table tr");i.each(function(e){$(e).off("click"),$(e).off("mouseover")}),l.$options.service.getData(t).then(function(){var t=n(regeneratorRuntime.mark(function i(t){return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r(t),n.next=3,l.$nextTick();case 3:l.createdContentBody(),l.isMobile()&&e();case 5:case"end":return n.stop()}},i,l)}));return function(e){return t.apply(this,arguments)}}())["catch"](function(e){})},800),serverSide:!0,deferLoading:this.state.allfeatures})),this.$options.service.on("ajax-reload",y.ajax.reload),this.changeColumn=h(function(){var e=n(regeneratorRuntime.mark(function t(e,r){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:y.columns(r).search(e.target.value.trim()).draw();case 1:case"end":return t.stop()}},t,l)}));return function(t,r){return e.apply(this,arguments)}}())):(y=$(this.$refs.attribute_table).DataTable(i({},t,{searchDelay:600})),a=h(function(){l.$options.service.setFilteredFeature(y.rows({search:"applied"})[0])},600),b.nopagination["search.dt"]=a,y.on("search.dt",a),y.on("length.dt",function(e,t,r){l.$options.service.setAttributeTablePageLength(r)}),this.changeColumn=h(function(){var e=n(regeneratorRuntime.mark(function t(e,r){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:y.columns(r).search(e.target.value.trim()).draw(),l.$options.service.setFilteredFeature(y.rows({search:"applied"})[0]);case 2:case"end":return t.stop()}},t,l)}));return function(t,r){return e.apply(this,arguments)}}())),this.isMobile()&&e(),o=Vue.extend(c["default"]),s=new o({propsData:{tools:this.state.tools,geolayer:this.state.geolayer,switchSelection:this.switchSelection,clearAllSelection:this.clearAllSelection,toggleFilterToken:this.toggleFilterToken,getDataFromBBOX:this.getDataFromBBOX}}),$("#g3w-table-toolbar").html(s.$mount().$el),this.$options.service.on("redraw",function(t){y.clear(),y.draw(!1),setTimeout(function(){y.rows.add(t),y.draw(!1),l.createdContentBody(),l.isMobile()&&e()})});case 12:case"end":return r.stop()}},r,this)}));return e}(),beforeDestroy:function(){this.$options.service.clear(),this.$options.service.off("ajax-reload"),this.$options.service.off("redraw"),m.un("setContent",this.setContentKey),y.destroy(!0),y=null}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{"margin-top":"5px"},attrs:{id:"open_attribute_table"}},[e.hasHeaders()?r("table",{ref:"attribute_table",staticClass:"table table-striped row-border compact nowrap",staticStyle:{width:"100%"},attrs:{id:"layer_attribute_table"}},[r("thead",[r("tr",[r("th"),e._v(" "),e._l(e.state.headers,function(t,n){return n>0?r("th",[r("input",{staticClass:"form-control column-search",staticStyle:{height:"25px","min-width":"40px",padding:"2px"},attrs:{type:"text",placeholder:t.name},on:{keyup:function(t){return e.changeColumn(t,n)}}})]):e._e()})],2),e._v(" "),r("tr",e._l(e.state.headers,function(t,n){return r("th",[0===n?r("span",[r("input",{staticClass:"magic-checkbox",attrs:{type:"checkbox",id:"attribute_table_select_all_rows",disabled:e.state.nofilteredrow||0===e.state.features.length},domProps:{checked:e.state.selectAll}}),e._v(" "),r("label",{staticStyle:{"margin-bottom":"0 !important"},attrs:{"for":"attribute_table_select_all_rows"},on:{"!click":function(t){return t.stopPropagation(),t.preventDefault(),e.selectAllRow(t)}}},[r("span",{staticStyle:{padding:"5px"}})])]):r("span",[e._v(e._s(t.label))])])}),0)]),e._v(" "),r("table-body",{attrs:{headers:e.state.headers,filter:e.state.tools.filter,features:e.state.features,addRemoveSelectedFeature:e.addRemoveSelectedFeature,zoomAndHighLightFeature:e.zoomAndHighLightFeature}})],1):r("div",{directives:[{name:"t",rawName:"v-t",value:"dataTable.no_data",expression:"'dataTable.no_data'"}],attrs:{id:"noheaders"}})])},n.staticRenderFns=[],n._scopeId="data-v-336b45d4"},{"components/FieldG3W.vue":244,"components/TableBody.vue":335,"components/TableSelectRow.vue":336,"components/TableToolbar.vue":337,"core/utils/utils":92,"gui/gui":150,"gui/vue/vue.mixins":227,"vueify/lib/insert-css":2}],335:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/TableSelectRow.vue"),i=t(n),a=e("components/FieldG3W.vue"),o=t(a);r["default"]={name:"table-body",props:{headers:{required:!0,type:Array},features:{required:!0,type:Array},zoomAndHighLightFeature:{type:Function},addRemoveSelectedFeature:{type:Function},filter:{type:Object,"default":{active:!1}}},data:function(){return{selectedRow:null}},components:{Field:o["default"],SelectRow:i["default"]},methods:{getField:function(e,t){return{value:e.attributes[t.name],label:void 0}}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("tbody",{attrs:{id:"table_body_attributes"}},e._l(e.features,function(t,n){return r("tr",{key:t.id,staticClass:"feature_attribute","class":[n%2==1?"odd":"pair",{geometry:!!t.geometry},{selected:t.selected}],staticStyle:{cursor:"pointer"},attrs:{role:"row",selected:e.selectedRow===n},on:{mouseover:function(r){return e.zoomAndHighLightFeature(t,!1)},click:function(r){return e.zoomAndHighLightFeature(t,!0)}}},e._l(e.headers,function(n,i){return r("td",{attrs:{"tab-index":1}},[0===i?r("select-row",{attrs:{feature:t},on:{selected:e.addRemoveSelectedFeature}}):r("field",{attrs:{feature:t,state:e.getField(t,n)}})],1)}),0)}),0)},n.staticRenderFns=[],n._scopeId="data-v-253376d4"},{"components/FieldG3W.vue":244,"components/TableSelectRow.vue":336}],336:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("core/utils/utils"),n=t.getUniqueDomId;r["default"]={name:"select-row",props:{feature:{required:!0}},data:function(){return{id:n()}},methods:{select:function(){this.$emit("selected",this.feature)}},destroyed:function(){this.$off("selected")}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",[r("input",{staticClass:"magic-checkbox",attrs:{type:"checkbox",id:e.id},domProps:{checked:e.feature.selected}}),e._v(" "),r("label",{attrs:{"for":e.id},on:{"!click":function(t){return t.stopPropagation(),t.preventDefault(),e.select(t)}}},[r("span")])])},n.staticRenderFns=[],n._scopeId="data-v-65a97efa"},{"core/utils/utils":92}],337:[function(e,t,r){e("vueify/lib/insert-css").insert(".action-button[data-v-c96b7c92]{padding:4px}.action-button.toggled[data-v-c96b7c92]{border:1px solid #ccc}");!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/applicationstate"),i=t(n);r["default"]={name:"g3w-table-toolbar",props:{tools:{type:Object},switchSelection:{type:Function},clearAllSelection:{type:Function},toggleFilterToken:{type:Function},getDataFromBBOX:{type:Function}},computed:{disableMapTool:function(){return!this.tools.geolayer.active&&i["default"].gui.layout[i["default"].gui.layout.__current].rightpanel.height_100}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{display:"flex","justify-content":"space-between",padding:"1px"}},[e.tools.geolayer.show?r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.disableMapTool,expression:"disableMapTool"},{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"layer_selection_filter.tools.show_features_on_map",expression:"'layer_selection_filter.tools.show_features_on_map'",modifiers:{create:!0}}],staticClass:"skin-color action-button skin-tooltip-right","class":[e.g3wtemplate.getFontClass("map"),e.tools.geolayer.active?"toggled":""],attrs:{"data-placement":"right","data-toggle":"tooltip"},on:{click:function(t){return t.stopPropagation(),e.getDataFromBBOX(t)}}}):e._e(),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.tools.show,expression:"tools.show"},{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"layer_selection_filter.tools.clear",expression:"'layer_selection_filter.tools.clear'",modifiers:{create:!0}}],staticClass:"skin-color action-button skin-tooltip-right","class":e.g3wtemplate.getFontClass("clear"),attrs:{"data-placement":"right","data-toggle":"tooltip"},on:{click:function(t){return t.stopPropagation(),e.clearAllSelection(t)}}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.tools.show,expression:"tools.show"},{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"layer_selection_filter.tools.invert",expression:"'layer_selection_filter.tools.invert'",modifiers:{create:!0}}],staticClass:"skin-color action-button skin-tooltip-right","class":[e.g3wtemplate.getFontClass("invert"),e.tools.filter.active?"g3w-disabled":""],attrs:{"data-placement":"right","data-toggle":"tooltip"},on:{click:function(t){return t.stopPropagation(),e.switchSelection(t)}}}),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.tools.show,expression:"tools.show"},{name:"t-tooltip",rawName:"v-t-tooltip.create",value:"layer_selection_filter.tools.filter",expression:"'layer_selection_filter.tools.filter'",modifiers:{create:!0}}],staticClass:"skin-color action-button skin-tooltip-right","class":[e.g3wtemplate.getFontClass("filter"),e.tools.filter.active?"toggled":""],attrs:{"data-placement":"right","data-toggle":"tooltip"},on:{click:function(t){return t.stopPropagation(),e.toggleFilterToken(t)}}})])},n.staticRenderFns=[],n._scopeId="data-v-c96b7c92"},{"core/applicationstate":8,"vueify/lib/insert-css":2}],338:[function(e,t,r){e("vueify/lib/insert-css").insert(".tool_disabled[data-v-151d1c02]{cursor:not-allowed}.tool_disabled>span[data-v-151d1c02]{color:#777}");!function(){Object.defineProperty(r,"__esModule",{value:!0});var t=e("core/applicationservice").getState(),n=e("gui/gui"),i={alert:{color:"red"},info:{color:"blue"},warning:{color:"orange"}};r["default"]={name:"g3w-tool",props:{tool:{required:!0}},data:function(){return{}},methods:{fireAction:function(e){this.tool.action(e)},showToolStateMessage:function(){n.showModalDialog({title:this.tool.state.type.toUpperCase(),message:this.tool.state.message})}},computed:{disabled:function(){return!this.tool.offline&&!t.online||this.tool.loading||this.tool.disabled},icon:function(){return this.tool.icon||"caret-right"},toolstatecolor:function(){return i[this.tool.state.type].color}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",["checkbox"===e.tool.type?r("div",{staticClass:"checkbox"},[r("label",[r("input",{directives:[{name:"model",rawName:"v-model",value:e.tool.isCheck,expression:"tool.isCheck"}],staticStyle:{cursor:"pointer"},attrs:{id:e.tool.layerName,type:"checkbox"},domProps:{value:e.tool.layerName,checked:Array.isArray(e.tool.isCheck)?e._i(e.tool.isCheck,e.tool.layerName)>-1:e.tool.isCheck +},on:{click:function(t){return e.fireAction(e.tool)},change:function(t){var r=e.tool.isCheck,n=t.target,i=!!n.checked;if(Array.isArray(r)){var a=e.tool.layerName,o=e._i(r,a);n.checked?o<0&&e.$set(e.tool,"isCheck",r.concat([a])):o>-1&&e.$set(e.tool,"isCheck",r.slice(0,o).concat(r.slice(o+1)))}else e.$set(e.tool,"isCheck",i)}}}),e._v("\n "+e._s(e.tool.name)+"\n ")])]):r("div",{staticClass:"tool","class":{tool_disabled:e.disabled},staticStyle:{position:"relative"},on:{click:function(t){e.disabled?null:e.fireAction(e.tool)}}},[r("bar-loader",{attrs:{loading:e.tool.loading}}),e._v(" "),r("i",{"class":e.g3wtemplate.getFontClass(e.icon)}),e._v(" "),e.tool.html?r("span",[r("i",{"class":e.tool.html.icon}),e._v("\n "+e._s(e.tool.html.text||e.tool.name)+"\n ")]):r("span",{directives:[{name:"t",rawName:"v-t",value:e.tool.name,expression:"tool.name"}]}),e._v(" "),e.tool.state.type?r("span",{staticStyle:{cursor:"pointer","vertical-align":"center",position:"absolute",right:"0",top:"0",padding:"5px"},style:{color:e.toolstatecolor},on:{click:function(t){return t.stopPropagation(),e.showToolStateMessage(t)}}},[r("i",{"class":e.g3wtemplate.getFontClass(e.tool.state.type)})]):e._e()],1)])},n.staticRenderFns=[],n._scopeId="data-v-151d1c02"},{"core/applicationservice":7,"gui/gui":150,"vueify/lib/insert-css":2}],339:[function(e,t,r){!function(){function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("components/Tool.vue"),i=t(n);r["default"]={data:function(){return{state:null}},watch:{"state.toolsGroups":{handler:function(e){this.$emit("visible",e.length>0)}}},components:{G3wTool:i["default"]}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"g3w-tools treeview-menu"},[r("bar-loader",{attrs:{loading:e.state.loading}}),e._v(" "),e._l(e.state.toolsGroups,function(t){return r("li",{key:t.name},[r("div",{staticClass:"tool-header"},[r("i",{"class":e.g3wtemplate.getFontClass("tool")}),e._v(" "),r("span",{},[e._v(e._s(t.name))])]),e._v(" "),r("div",{staticClass:"tool-box",attrs:{id:t.name+"-tools"}},e._l(t.tools,function(e){return r("g3w-tool",{key:e.name,attrs:{tool:e}})}),1)])})],2)},n.staticRenderFns=[]},{"components/Tool.vue":338}],340:[function(e,t,r){e("vueify/lib/insert-css").insert(".usermessage-content[data-v-b6eb8b7c]{color:#fff;z-index:1000;position:absolute;line-height:normal;padding:3px;min-width:250px;box-shadow:0 3px 5px rgba(0,0,0,.3);-moz-box-shadow:0 3px 5px rgba(0,0,0,.3)}.usermessage-content.mobile[data-v-b6eb8b7c]{padding:0;min-width:100%}.usermessage-header-content[data-v-b6eb8b7c]{display:flex;align-items:baseline;justify-content:space-between;width:100%}.usermessage-header-icontype[data-v-b6eb8b7c]{padding:10px 0 0 5px;font-weight:700;font-size:1.3em}.usermessage-content.mobile .usermessage-header-icontype[data-v-b6eb8b7c]{padding:0 0 0 5px;font-size:1.1em}.usermessage-header-title[data-v-b6eb8b7c],.usermessage-header-title h4[data-v-b6eb8b7c]{font-weight:700;text-align:center}.usermessage-content.mobile .usermessage-header-title h4[data-v-b6eb8b7c]{margin:0}.usermessage-header-subtitle[data-v-b6eb8b7c]{font-weight:700;margin:5px}.usermessage-header-right[data-v-b6eb8b7c]{padding:5px}.usermessage-header-right-item[data-v-b6eb8b7c]{font-weight:700!important;font-size:1.2em;cursor:pointer}.usermessage-message[data-v-b6eb8b7c]{width:100%;padding:0 0 3px 10px;max-height:100px;font-size:1.1em;align-self:flex-start;overflow-y:auto}");!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(r,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t0&&this.state.secondaryPerc<100&&e<100&&e>0},showresizeicon:function(){return 100!==this.state.secondaryPerc},hooks:function(){return this.usermessage.hooks},usermessage:function(){return this.state.usermessage},showtitle:function y(){var y=!0,e=this.state.content.contentsdata;if(e.length){var t=e[e.length-1].options;_.isBoolean(t.showtitle)&&(y=t.showtitle)}return y},showContent:function(){return this.state.content.show},styles:function(){return{map:{width:this.state.map.sizes.width+"px",height:this.state.map.sizes.height+"px"},content:{width:this.state.content.sizes.width+"px",height:this.state.content.sizes.height+"px",zIndex:h.ZINDEXES.usermessage.tool+1,minHeight:"v"===this.state.split?f.viewport.resize.content.min+"px":null}}},contentTitle:function(){var e=this.state.content.contentsdata;if(e.length){var t=e[e.length-1].options,r=t.title,n=t.post_title;return{title:r,post_title:n}}},backOrBackTo:function(){var e=this.state.content.contentsdata;return!!(e.length>1&&this.state.content.showgoback)&&(e[e.length-2].options.title?"backto":"back")},previousTitle:function(){var e=this,t=this.state.content.contentsdata,r=t.length>1&&this.state.content.showgoback?t[t.length-2].options.title:null;return this.updatePreviousTitle=!0,this.$nextTick(function(){return e.updatePreviousTitle=!1}),r}},methods:{isNotLastCrumb:function(e){return en-f.viewport.resize.content.min?a=n-f.viewport.resize.content.min:a1?r("section",{ref:e.breadcrumb,staticClass:"content_breadcrumb"},e._l(e.breadcrumb,function(t,n){return r("span",{key:t.title},[r("span",{directives:[{name:"t",rawName:"v-t",value:t.title,expression:"crumb.title"}],staticClass:"skin-color-dark",style:{fontWeight:e.isNotLastCrumb(n)?"bold":"normal"}}),e._v(" "),e.isNotLastCrumb(n)?r("span",{staticStyle:{"font-weight":"bold",margin:"3px 0"}},[e._v("/")]):e._e()])}),0):e._e(),e._v(" "),e.showtitle&&e.contentTitle||e.previousTitle||e.state.content.closable&&e.state.content.aside?r("div",{staticClass:"close-panel-block",staticStyle:{display:"flex","justify-content":"space-between"}},[e.previousTitle?r("div",{staticClass:"g3w_contents_back g3w-long-text"},["back"===e.backOrBackTo?r("div",{"class":e.backOrBackTo},[r("span",{staticClass:"action-button","class":e.g3wtemplate.getFontClass("back")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"back",expression:"'back'"}]})]):r("div",{"class":e.backOrBackTo,on:{click:function(t){return t.stopPropagation(),e.gotoPreviousContent()}}},[r("span",{staticClass:"action-button","class":e.g3wtemplate.getFontClass("back")}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:"backto",expression:"'backto'"}]}),e._v(" "),e.updatePreviousTitle?e._e():r("span",{directives:[{name:"t",rawName:"v-t",value:e.previousTitle,expression:"previousTitle"}]})])]):e._e(),e._v(" "),!e.previousTitle&&e.showtitle&&e.contentTitle?r("div",{staticClass:"panel-title","class":{mobile:e.isMobile()},style:[e.state.content.style.title]},[r("span",{attrs:{id:"contenttitle"}},[r("span",{directives:[{name:"t",rawName:"v-t",value:e.contentTitle.title,expression:"contentTitle.title"}]}),e._v(" "),r("span",{directives:[{name:"t",rawName:"v-t",value:e.contentTitle.post_title,expression:"contentTitle.post_title"}]})])]):e._e(),e._v(" "),r("div",{staticClass:"g3-content-header-action-tools",staticStyle:{display:"flex"}},[e._l(e.state.content.headertools,function(e){return r(e,{tag:"component"})}),e._v(" "),e.showresizeicon?r("resize-icon",{staticStyle:{"font-size":"1em",padding:"0","align-self":"center","margin-left":"auto"},style:{marginRight:e.state.content.closable?"5px":"0px"},attrs:{type:e.state.split}}):e._e(),e._v(" "),e.state.content.closable&&e.state.content.aside?r("span",{staticClass:"action-button","class":{mobile:e.isMobile()},staticStyle:{display:"flex","justify-content":"center"},on:{click:e.closeContent}},[r("i",{staticClass:"skin-color-dark","class":e.g3wtemplate.getFontClass("close")})]):e._e()],2)]):e._e(),e._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:e.state.content.loading,expression:"state.content.loading"}],staticClass:"bar-loader"})])],1)},n.staticRenderFns=[],n._scopeId="data-v-fe1b89e0"},{"../app/constant":5,"components/NotifyDownload.vue":304,"components/NotifyOnline.vue":305,"components/NotifyPlugins.vue":306,"components/UserMessage.vue":340,"gui/constraints":143,"gui/gui":150,"services/viewport":401,"vueify/lib/insert-css":2}],342:[function(e,t,r){!function(){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={data:function(){return{state:null}}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"contents",attrs:{id:"contents"}})},n.staticRenderFns=[]},{}],343:[function(e,t,r){e("vueify/lib/insert-css").insert(".g3w-add-wms-url-message[data-v-743ab663]{font-weight:700;color:#000}.g3w-wmsurl-error[data-v-743ab663]{background-color:red}.g3w-wmsurl-already-added[data-v-743ab663]{background-color:orange}.wms_url_input_content[data-v-743ab663]{margin-bottom:5px}.wms-icon-action[data-v-743ab663]{font-weight:700;font-size:1.3em;box-shadow:0 5px 10px #1e282c}.wms-icon-action[data-v-743ab663]:hover{box-shadow:none}");!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/utils/utils"),i=n.isURL;r["default"]={name:"sidebaritem",data:function(){return{url:null,id:null,loading:!1,status:{error:!1,added:!1}}},computed:{inputswmsurlvalid:function(){return null!==this.url&&this.url.trim()&&i(this.url)&&null!==this.id&&this.id.trim()}},methods:{addwmsurl:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){var e,t,r;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return this.loading=!0,n.next=3,this.$options.service.addNewUrl({url:this.url,id:this.id});case 3:e=n.sent,t=e.error,r=e.added,this.status.error=t,this.status.added=r,this.loading=!1;case 9:case"end":return n.stop()}},n,this)}));return e}(),deleteWmsUrl:function(e){this.$options.service.deleteWmsUrl(e)},showWmsLayersPanel:function(){function e(e){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(e){var t,r,i;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,this.loading=!0,n.next=4,this.$options.service.loadWMSDataAndShowWmsLayersPanel(e);case 4:t=n.sent,r=t.error,i=t.added,this.status.error=r,this.status.added=i,this.loading=!1,n.next=15;break;case 12:n.prev=12,n.t0=n["catch"](0);case 15:case"end":return n.stop()}},n,this,[[0,12]])}));return e}()}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ul",{staticClass:"treeview-menu g3w-tools menu-items"},[e.loading?r("li",[r("bar-loader",{attrs:{loading:e.loading}})],1):e._e(),e._v(" "),r("li",{staticStyle:{display:"flex","flex-direction":"column","justify-content":"space-between",background:"transparent !important","margin-bottom":"10px"}},[r("div",{staticClass:"wms_url_input_content"},[r("label",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.panel.label.name",expression:"'sidebar.wms.panel.label.name'"}],attrs:{"for":"add_custom_name_url_wms_input"}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.id,expression:"id"}],staticClass:"form-control",staticStyle:{width:"100%",color:"#000000"},attrs:{id:"add_custom_name_url_wms_input"},domProps:{value:e.id},on:{input:function(t){t.target.composing||(e.id=t.target.value)}}})]),e._v(" "),r("div",{staticClass:"wms_url_input_content"},[r("label",{attrs:{"for":"add_custom_url_wms_input"}},[e._v("URL")]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.url,expression:"url"}],staticClass:"form-control",staticStyle:{width:"100%",color:"#000000"},attrs:{id:"add_custom_url_wms_input"},domProps:{value:e.url},on:{input:function(t){t.target.composing||(e.url=t.target.value)}}})]),e._v(" "),r("div",[r("button",{directives:[{name:"disabled",rawName:"v-disabled",value:!e.inputswmsurlvalid,expression:"!inputswmsurlvalid"}],staticClass:"btn btn-block skin-background-color",staticStyle:{width:"100%"},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.addwmsurl(t)}}},[r("i",{"class":e.g3wtemplate.getFontClass("plus-square")})])])]),e._v(" "),e.status.error?r("li",[r("div",{directives:[{name:"t",rawName:"v-t",value:"server_error",expression:"'server_error'"}],staticClass:"g3w-add-wms-url-message g3w-wmsurl-error"})]):e.status.added?r("li",[r("div",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.url_already_added",expression:"'sidebar.wms.url_already_added'"}],staticClass:"g3w-add-wms-url-message g3w-wmsurl-already-added"})]):e._e(),e._v(" "),r("li",{staticClass:"skin-border-color",staticStyle:{background:"transparent !important","border-top":"2px solid"}},[r("div",{staticStyle:{"max-height":"200px","overflow-y":"auto"}},[e._l(e.state.adminwmsurls,function(t){var n=t.id;t.url;return r("div",{key:e.wmsurl,staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","border-bottom":"1px solid #cccccc","padding-bottom":"3px"}},[r("span",{staticClass:"g3w-long-text",staticStyle:{"flex-grow":"1","margin-right":"15px"}},[e._v(e._s(n))]),e._v(" "),r("span",{staticClass:"skin-color",staticStyle:{padding:"5px"},on:{click:function(t){return t.stopPropagation(),e.showWmsLayersPanel(n)}}},[r("i",{"class":e.g3wtemplate.getFontClass("plus-square"),staticStyle:{"font-weight":"bold","font-size":"1.3em"}})])])}),e._v(" "),e._l(e.state.localwmsurls,function(t){var n=t.id,i=t.url;return r("div",{key:n,staticStyle:{"border-bottom":"1px solid #cccccc","padding-bottom":"3px"}},[r("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center","padding-top":"3px"}},[r("span",{staticClass:"g3w-long-text",staticStyle:{"flex-grow":"1","margin-right":"15px","font-weight":"bold"}},[e._v(e._s(n))]),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:top.create",value:"sidebar.wms.add_wms_layer",expression:"'sidebar.wms.add_wms_layer'",arg:"top",modifiers:{create:!0}}],staticClass:"skin-color",staticStyle:{padding:"3px",margin:"2px"},on:{click:function(t){return t.stopPropagation(),e.showWmsLayersPanel(i)}}},[r("i",{staticClass:"wms-icon-action","class":e.g3wtemplate.getFontClass("plus-square")})]),e._v(" "),r("span",{directives:[{name:"t-tooltip",rawName:"v-t-tooltip:top.create",value:"sidebar.wms.delete_wms_url",expression:"'sidebar.wms.delete_wms_url'",arg:"top",modifiers:{create:!0}}],staticStyle:{color:"red",padding:"3px",margin:"2px"},on:{click:function(t){return t.stopPropagation(),e.deleteWmsUrl(n)}}},[r("i",{staticClass:"wms-icon-action","class":e.g3wtemplate.getFontClass("trash"),staticStyle:{color:"red"}})])]),e._v(" "),r("div",{staticClass:"g3w-long-text",staticStyle:{"font-size":"0.7em"},attrs:{title:i}},[e._v(e._s(i))])])})],2)])])},n.staticRenderFns=[],n._scopeId="data-v-743ab663"},{"core/utils/utils":92,"vueify/lib/insert-css":2}],344:[function(e,t,r){e("vueify/lib/insert-css").insert(".g3w-wms-panel-title[data-v-a595b2a2]{font-size:1.2em;font-weight:700;margin-bottom:10px}button.wms-add-layer-buttom[data-v-a595b2a2]{width:100%;margin-top:10px}.g3w-wms-external-panel-layer-added-message[data-v-a595b2a2]{font-weight:700;color:red;margin:5px 0}");!function(){function t(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var n=e("g3w-ol/projection/projections");r["default"]={name:"wmpspanel",data:function(){return{loading:!1,position:void 0,name:void 0,title:null,"abstract":null,map_formats:[],info_formats:[],layers:[],selectedlayers:[],projections:[],epsg:null,added:!1}},methods:{addWMSlayer:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e={url:this.url,name:this.name&&this.name.trim()||void 0,layers:this.selectedlayers,epsg:this.epsg,position:this.position},this.added=this.$options.service.checkIfWMSAlreadyAdded(e),this.added){t.next=13;break}return this.loading=!0,t.prev=4,t.next=7,this.$options.service.addWMSlayer(e);case 7:t.next=11;break;case 9:t.prev=9,t.t0=t["catch"](4);case 11:this.loading=!1,this.clear();case 13:case"end":return t.stop()}},n,this,[[4,9]])}));return e}(),clear:function(){this.selectedlayers=[],this.name=null},filterLayerByCurrentEpsg:function(){var e=this;this.layers=null!==this.epsg?this.layers.filter(function(t){var r=t.name;return e.layerProjections[r].crss.indexOf(e.epsg)!==-1}):this.$options.config.layers}},watch:{selectedlayers:function(e){var t=this;if(e.length){var r=e[0];1===e.length?(this.epsg=this.layerProjections[r].crss[0],this.projections=this.layerProjections[r].crss):this.projections=this.projections.filter(function(r){return t.layerProjections[e[e.length-1]].crss.index(r)!==-1})}else this.epsg=null,this.projections=[]},epsg:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function n(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.filterLayerByCurrentEpsg();case 3:case"end":return e.stop()}},n,this)}));return e}()},created:function(){function e(){return r.apply(this,arguments)}var r=t(regeneratorRuntime.mark(function i(){var e,t,r,a,o,s=this;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:e=this.$options.config,t=e.layers,r=e.title,a=e["abstract"],o=e.wmsurl,this.layerProjections={},this.url=o,t.forEach(function(e){s.layerProjections[e.name]={crss:e.crss.map(function(e){return n.get(e),"EPSG:"+e.epsg}).sort(),title:e.title}}),this.layers=t,this.title=r,this["abstract"]=a;case 7:case"end":return i.stop()}},i,this)}));return e}(),beforeDestroy:function(){this.$data=null}}}(),t.exports.__esModule&&(t.exports=t.exports["default"]);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{directives:[{name:"disabled",rawName:"v-disabled",value:e.loading,expression:"loading"}]},[r("bar-loader",{attrs:{loading:e.loading}}),e._v(" "),r("h3",{staticClass:"skin-color g3w-wms-panel-title"},[e._v(e._s(e.title))]),e._v(" "),e["abstract"]?r("helpdiv",{attrs:{message:e["abstract"]}}):e._e(),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.panel.label.layers",expression:"'sidebar.wms.panel.label.layers'"}],attrs:{"for":"g3w-wms-layers"}}),e._v(" "),r("select",{directives:[{name:"select2",rawName:"v-select2",value:"selectedlayers",expression:"'selectedlayers'"}],attrs:{id:"g3w-wms-layers",multiple:"multiple",clear:"true"}},e._l(e.layers,function(t){return r("option",{key:t.name,domProps:{value:t.name}},[e._v(e._s(t.title))])}),0),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.panel.label.projections",expression:"'sidebar.wms.panel.label.projections'"}],attrs:{"for":"g3w-wms-projections"}}),e._v(" "),r("select",{directives:[{name:"select2",rawName:"v-select2",value:"epsg",expression:"'epsg'"}],attrs:{id:"g3w-wms-projections"}},e._l(e.projections,function(t){return r("option",{key:t,domProps:{value:t}},[e._v(e._s(t))])}),0),e._v(" "),r("label",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.panel.label.name",expression:"'sidebar.wms.panel.label.name'"}],attrs:{"for":"g3w-wms-layer-name"}}),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.name,expression:"name"}],staticClass:"form-control",attrs:{id:"g3w-wms-layer-name"},domProps:{value:e.name},on:{input:function(t){t.target.composing||(e.name=t.target.value)}}}),e._v(" "),e.added?r("div",{directives:[{name:"t",rawName:"v-t",value:"sidebar.wms.layer_id_already_added",expression:"'sidebar.wms.layer_id_already_added'"}],staticClass:"g3w-wms-external-panel-layer-added-message"}):e._e(),e._v(" "),r("layerspositions",{attrs:{position:e.position},on:{"layer-position-change":function(t){e.position=t}}}),e._v(" "),r("button",{directives:[{name:"disabled",rawName:"v-disabled",value:0===e.selectedlayers.length,expression:"selectedlayers.length === 0"}],staticClass:"btn wms-add-layer-buttom sidebar-button skin-button",on:{click:function(t){return t.stopPropagation(),e.addWMSlayer(t)}}},[r("i",{"class":e.g3wtemplate.getFontClass("plus-square"),staticStyle:{"font-weight":"bold"}})])],1)},n.staticRenderFns=[],n._scopeId="data-v-a595b2a2"},{"g3w-ol/projection/projections":135,"vueify/lib/insert-css":2}],345:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("app/config"),a=n(i);r["default"]=a["default"]},{"app/config":4}],346:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/utils/utils"),i=n.uniqueId,a=new Vue,o={};r.watch=function(e){var t=e.el,r=e.attr,n=e.watcher,s=i();t.setAttribute(r,s);var l=o[s]={};return n&&(l.unwatch=a.$watch(n[0],n[1],n[2]||{immediate:!0}),l.handler=n[1]),s},r.unwatch=function(e){var t=e.el,r=e.attr,n=t.getAttribute(r);n&&(o[n].unwatch(),delete o[n])},r.trigger=function(e){var t=e.el,r=e.attr,n=e.data;return o[t.getAttribute(r)].handler(n)}},{"core/utils/utils":92}],347:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e,t){t.value?e.setAttribute("checked","checked"):e.removeAttribute("checked")}},{}],348:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e,t){var r="g3w-disabled";t.value?e.classList.contains(r)||e.classList.add(r):e.classList.remove(r)}},{}],349:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s="g3w-v-download-id";r["default"]={bind:function(e,t){("boolean"!=typeof t.value||t.value)&&(0,o.watch)({el:e,attr:s,watcher:[function(){return a["default"].download},function(r){var n=t.modifiers&&t.modifiers.show&&"hide"||"disabled";e.classList.toggle("g3w-"+n,"hide"===n?!r:r)}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:s})}}},{"core/applicationstate":8,"directives/utils":346}],350:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s="g3w-v-offline-id";r["default"]={bind:function(e,t){(0,o.watch)({el:e,attr:s,watcher:[function(){return a["default"].online},function(r){r=t.arg&&"hide"===t.arg?!r:r,e.classList.toggle("g3w-hide",!r)}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:s})}}},{"core/applicationstate":8,"directives/utils":346 +}],351:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s="g3w-v-plugins-id";r["default"]={bind:function(e){(0,o.watch)({el:e,attr:s,watcher:[function(){return a["default"].plugins},function(t){e.classList.toggle("g3w-hide",0===t.length)}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:s})}}},{"core/applicationstate":8,"directives/utils":346}],352:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={inserted:function(e,t,r){var n=r.data.attrs||{},i=n.templateResult,a=n.templateSelection,o=n.multiple,s=void 0!==o&&o,l=n.search,u=void 0===l||l,c=n.select2_value;$(e).select2({width:"100%",dropdownCssClass:"skin-color",templateResult:i,templateSelection:a,minimumResultsForSearch:u?void 0:-1}).on("select2:select",function(e){if(t.value){var n=e.params.data.id;s&&0===r.context[t.value].filter(function(e){return n===e}).length?r.context[t.value].push(n):r.context[t.value]=n}}).on("select2:unselect",function(e){t.value&&s&&(r.context[t.value]=r.context[t.value].filter(function(t){return e.params.data.id!==t}))}),t.value&&c&&$(e).val(c).trigger("change")},unbind:function(e){$(e).select2("destroy")}}},{}],353:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e,t){e.toggleAttribute("selected",0===t.value)}},{}],354:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.t,u="g3w-v-t-html-id";r["default"]={bind:function(e,t){(0,o.watch)({el:e,attr:u,watcher:[function(){return a["default"].lng},function(){e.innerHTML=""+l(t.value)}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:u})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],355:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.t,u=s.tPlugin,c="g3w-v-t-placeholder-id";r["default"]={bind:function(e,t){(0,o.watch)({el:e,attr:c,watcher:[function(){return a["default"].lng},function(){e.setAttribute("placeholder",("plugin"===t.arg?u:l)(t.value))}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:c})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],356:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.tPlugin,u="g3w-v-t-plugin-id";r["default"]={bind:function(e,t){var r=e.innerHTML;(0,o.watch)({el:e,attr:u,watcher:[function(){return a["default"].lng},function(){var n=null!==t.value?l(t.value):"";switch(t.arg?t.arg:"post"){case"pre":e.innerHTML=n+" "+r;break;case"post":e.innerHTML=r+" "+n}}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:u})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],357:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.t,u=s.tPlugin,c="g3w-v-t-title-id";r["default"]={bind:function(e,t){(0,o.watch)({el:e,attr:c,watcher:[function(){return a["default"].lng},function(){var r=("plugin"===t.arg?u:l)(t.value);e.setAttribute("title",r),e.setAttribute("data-original-title",r)}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:c})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],358:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.t,u=s.tPlugin,c="g3w-v-t-tooltip-id";r["default"]={bind:function(e,t){t.modifiers.create&&(t.arg&&(e.setAttribute("data-placement",t.arg),e.classList.add("skin-color","skin-tooltip-"+t.arg)),$(e).tooltip({trigger:a["default"].ismobile?"click":"hover",html:!0}).on("shown.bs.tooltip",function(){a["default"].ismobile&&setTimeout(function(){return $(e).tooltip("hide")},600)})),(0,o.watch)({el:e,attr:c,watcher:[function(){return a["default"].lng},function(r){var n=r.el,i=void 0===n?e:n,a=i.getAttribute("current-tooltip");null===a&&(a=t.value),i.setAttribute("data-original-title",t.modifiers.text?a:("plugin"===t.arg?u:l)(a))}]})},componentUpdated:function(e,t){var r=e.getAttribute("current-tooltip");null!=r&&r!==t.oldValue&&(0,o.trigger)({el:e,attr:c,data:{el:e}})},unbind:function(e){$(e).tooltip("hide"),(0,o.unwatch)({el:e,attr:c})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],359:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("directives/utils"),s=e("core/i18n/i18n.service"),l=s.t,u="g3w-v-t-id";r["default"]={bind:function(e,t){var r=e.innerHTML;(0,o.watch)({el:e,attr:u,watcher:[function(){return a["default"].lng},function(){var n=null!==t.value?l(t.value):"";switch(t.arg?t.arg:"post"){case"pre":e.innerHTML=n+" "+r;break;case"post":e.innerHTML=r+" "+n}}]})},unbind:function(e){return(0,o.unwatch)({el:e,attr:u})}}},{"core/applicationstate":8,"core/i18n/i18n.service":27,"directives/utils":346}],360:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"Diese Website verwendet Cookies, um Ihnen die bestmögliche Erfahrung auf unserer Website zu bieten.",buttonText:"Verstanden!"},"default":"default",sign_in:"Anmelden",layer_selection_filter:{tools:{filter:"Filter hinzufügen/entfernen",nofilter:"Filter entfernen",invert:"Auswahl umkehren",clear:"Auswahl löschen",show_features_on_map:"Auf der Karte sichtbare Features anzeigen"}},warning:{not_supported_format:"Nicht unterstütztes Format"},layer_position:{top:"OBEN",bottom:"UNTEN",message:"Position relativ zu den Layern im TOC"},sdk:{search:{all:"ALLE",no_results:"Keine Ergebnisse",searching:"Suchen ...",error_loading:"Fehler beim Datenladen",layer_not_searchable:"Layer ist nicht durchsuchbar",layer_not_querable:"Layer ist nicht abfragbar",autocomplete:{inputshort:{pre:"Bitte",post:"oder mehrere Zeichen eingeben"}}},print:{no_layers:"Kein Layer zu drucken",template:"Template",labels:"Labels",scale:"Skala",format:"Format",rotation:"Drehung",download_image:"Bild herunterladen",fids_instruction:"Akzeptierte Werte: von 1 bis [max]. Es ist möglich, ein Intervall einzugeben, z. B. 4-6",fids_example:"Bsp. 1,4-6 druckt id 1,4,5,6",help:"Die im Druck angezeigten Layer können die im Projekt definierten sein und nicht die auf der Karte angezeigten"},querybuilder:{search:{run:"Ausführen",info:"Information","delete":"Löschen",edit:"Bearbeiten"},messages:{changed:"Gespeichert",number_of_features:"Anzahl der Features"},panel:{button:{all:"ALLE",save:"SPEICHERN",test:"TEST",clear:"LÖSCHEN",run:"AUSFÜHREN",manual:"MANUELL"},layers:"LAYERS",fields:"FELDER",values:"WERTE",operators:"OPERATOREN",expression:"AUSDRUCK"},error_run:"Es ist ein Fehler aufgetreten. Bitte überprüfen Sie die Abfrage",error_test:"Während der Ausführung der Abfrage ist ein Fehler aufgetreten","delete":"Soll es gelöscht werden?",additem:"Geben Sie den Namen der neuen Suche ein"},errors:{layers:{load:"Einige Layer sind nicht verfügbar"},unsupported_format:"Nicht unterstütztes Format",add_external_layer:"Fehler im Ladevorgang des Layers"},metadata:{title:"Metadaten",groups:{general:{title:"ALLGEMEIN",fields:{title:"TITEL",name:"NAME",description:"BESCHREIBUNG","abstract":"ABASTRACT",keywords:"SCHLÜSSELWÖRTER",fees:"GEBÜHREN",accessconstraints:"ZUGRIFFSBESCHRÄNKUNG",contactinformation:"KONTAKTE",subfields:{contactinformation:{contactelectronicmailaddress:"Email",personprimary:"Referenzen",contactvoicetelephone:"Telefon",contactorganization:"Firma",ContactOrganization:"Firma",contactposition:"Position",ContactPosition:"Position",contactperson:"Person",ContactPerson:"Person"}},wms_url:"WMS"}},spatial:{title:"SPATIAL",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"LAYERS",fields:{layers:"LAYERS",subfields:{crs:"EPSG",bbox:"BBOX",title:"TITEL",name:"NAME",geometrytype:"GEOMETRIE",source:"QUELLE",attributes:"ATTRIBUTE","abstract":"ABSTRACT",attribution:"ATRIBUTION",keywords:"SCHLÜSSELWÖRTER",metadataurl:"METADATEN URL",dataurl:"DATEN URL"}},groups:{general:"ALLGEMEIN",spatial:"SPATIAL"}}}},tooltips:{relations:{form_to_row:"Zeilenansicht",row_to_form:"Formularansicht"},copy_map_extent_url:"Link zur Kartenansicht kopieren",download_shapefile:"Shapefile herunterladen",download_gpx:"DGPX herunterladen",download_gpkg:"GPKG herunterladen",download_csv:"CSV herunterladen",download_xls:"XLS herunterladen",show_chart:"Diagramm anzeigen",atlas:"Atlas drucken"},mapcontrols:{query:{tooltip:"Query layer",actions:{add_selection:{hint:"Auswahl hinzufügen/entfernen"},zoom_to_features_extent:{hint:"Zoom auf Feature-Ausdehnung"},add_features_to_results:{hint:"Hinzufügen/Entfernen von Features zu den Ergebnissen"},remove_feature_from_results:{hint:"Feature aus den Ergebnissen entfernen"},zoom_to_feature:{hint:"Zum Feature zoomen"},relations:{hint:"Relationen anzeigen"},relations_charts:{hint:"Relationship-Diagramm anzeigen"},download_features_shapefile:{hint:"Features Shapefile herunterladen"},download_shapefile:{hint:"Feature Shapefile herunterladen"},download_features_gpx:{hint:"Feature GPX herunterladen"},download_features_gpkg:{hint:"Feature GPKG herunterladen"},download_gpx:{hint:"Feature GPX herunterladen"},download_gpkg:{hint:"Feature GPKG herunterladen"},download_features_csv:{hint:"Features CSV herunterladen"},download_csv:{hint:"Feature CSV herunterladen"},download_features_xls:{hint:"Features XLS herunterladen"},download_xls:{hint:"Feature XLS herunterladen"},atlas:{hint:"Atlas drucken"},copy_zoom_to_fid_url:{hint:"Kopieren der Karten-URL mit dieser Geometrie-Feature-Erweiterung",hint_change:"Kopiert"}}},querybypolygon:{download:{title:"Attribute herunterladen",choiches:{feature:{label:"Nur Features"},feature_polygon:{label:"Features+Query Polygon"}}},tooltip:"Query nach Polygon",no_geometry:"Keine Geometrie in der Antwort",help:{title:"Hilfe - Abfrage nach Polygon",message:"\n
    \n
  • Wählen Sie einen Polygon Layer auf TOC.
  • \n
  • Stellen Sie sicher, dass der Layer sichtbar ist.
  • \n
  • Klicken Sie auf ein Feature des ausgewählten Layers.
  • \n
"}},querybybbox:{tooltip:"BBox Layer abfragen",nolayers_visible:"Es sind keine abfragbaren Layer sichtbar. Bitte setzen Sie mindestens einen sichtbaren wfs Layer, um die Abfrage zu starten",help:{title:"Hilfe - Abfrage des BBox Layers",message:"\n
    \n
  • Ein Quadrat auf der Karte ziehen, um unterstrichene Layer im TOC abzufragen
  • \n
"}},addlayer:{messages:{csv:{warning:"Das Ergebnis in der Karte ist unvollständig, da die unten stehende Liste fehlerhafter Einträge enthält:"}},tooltip:"Layer hinzufügen"},geolocation:{tooltip:"Geolokalisierung"},measures:{length:{tooltip:"Länge",help:"Klicken Sie auf die Karte, um die Linie zu zeichnen. Drücken Sie
CANC, wenn Sie den letzten Eckpunkt löschen möchten."},area:{tooltip:"Fläche",help:"Drücken Sie
CANC, wenn Sie den letzten Eckpunkt löschen wollen."}},scale:{no_valid_scale:"Ungültige Skala"},scaleline:{units:{metric:"Meter",nautical:"Nautische Meile"}}},relations:{relation_data:"Daten zur Relation",no_relations_found:"Keine Relationen gefunden",back_to_relations:"Zurück zu den Relationen",list_of_relations_feature:"Liste der Relationen des Features",error_missing_father_field:"Ein Feld fehlt"},workflow:{steps:{title:"Schritte"},next:"Weiter"},form:{loading:"Laden ...",inputs:{messages:{errors:{picklayer:"Kein Feature ausgewählt. Prüfen, ob der Layer in Bearbeitung oder im aktuellen Maßstab sichtbar ist"}},tooltips:{picklayer:"Wert aus dem Layer abrufen",lonlat:"Zum Abrufen der Koordinaten auf die Karte klicken"},input_validation_mutually_exclusive:"Feld schließt sich gegenseitig aus mit ",input_validation_error:"Obligatorisches Feld oder falscher Datentyp",input_validation_min_field:"Der Wert muss größer/gleich sein als der Feldwert ",input_validation_max_field:"Der Wert muss kleiner/gleich sein als der Feldwert ",input_validation_exclude_values:"Wert muss einmalig sein",integer:"integer",bigint:"integer",text:"text",varchar:"text",textarea:"text",string:"string",date:"date",datetime:"date","float":"float",table:"table"},footer:{required_fields:"Erforderliche Felder"},messages:{qgis_input_widget_relation:"Spezifisches Relations-Formular verwenden, um mit Relationen zu arbeiten"}},catalog:{current_map_theme_prefix:"THEMA",choose_map_theme:"THEMA AUSWÄHLEN",menu:{layerposition:"Position des Layers",setwmsopacity:"Opazität einstellen",wms:{title:"",copy:"Klicken Sie hier, um die Url zu kopieren",copied:"Kopiert"},download:{shp:"Shapefile herunterladen",gpx:"GPX herunterladen",gpkg:"GPKG herunterladen",csv:"CSV herunterladen",xls:"XLS herunterladen",geotiff:"GEOTIFF herunterladen",geotiff_map_extent:"GEOTIFF herunterladen (aktueller Ansichtsumfang)"}}},wps:{list_process:"Liste der Prozesse",tooltip:"Karte anklicken"}},credits:{g3wSuiteFramework:"Applikation basiert auf OS-Framework",g3wSuiteDescription:"Veröffentlichen und verwalten Sie Ihre QGIS-Projekte im Internet",productOf:"Framework entwickelt von"},toggle_color_scheme:"Farbschema umschalten",logout:"Logout",no_other_projects:"Kein weiteres Projekt für diese Gruppe",yes:"Ja",no:"No",back:"Zurück",backto:"Zurück zu ",changemap:"Karte ändern",component:"Allgemeine Komponente",search:"Suche",no_results:"Keine Ergebnisse gefunden",print:"Drucken",create_print:"Drucken erstellen",dosearch:"Suche",catalog:"Karte",data:"Daten",externalwms:"WMS",baselayers:"Base",tools:"Tools",tree:"Layers",legend:"Legende",nobaselayer:"Keine Basemap",street_search:"Adresse finden",show:"Anzeigen",hide:"Ausblenden",copy_form_data:"Daten kopieren",paste_form_data:"Einfügen",copy_form_data_from_feature:"Daten von der Karte kopieren",error_map_loading:"Fehler beim Laden der Karte",check_internet_connection_or_server_admin:"Internetverbindung prüfen oder Admin kontaktieren",could_not_load_vector_layers:"Verbindungsfehler: Layers können geladen werden",server_saver_error:"Fehler beim Speichern auf dem Server",server_error:"Server-Verbindungsfehler",save:"Speichern",cancel:"Abbrechen",close:"Schließen",enlange_reduce:"Vergrößern/Verkleinern",reset_default:"Standardgröße",add:"Hinzufügen",exitnosave:"Beenden ohne Speichern",annul:"Abbrechen",layer_is_added:"Layer mit gleichem Namen bereits hinzugefügt",sidebar:{wms:{panel:{title:"WMS Layer hinzufügen",label:{position:"Kartenposition",name:"Name",projections:"Projektion",layers:"Layers"}},add_wms_layer:"WMS Layer hinzufügen",delete_wms_url:"WMS Url löschen",layer_id_already_added:"WMS Layer bereits hinzugefügt",url_already_added:"WMS URL bereits hinzugefügt",layer_add_error:"WMS Layer nicht hinzugefügt. Bitte überprüfen Sie alle WMS-Parameter oder Url"}},info:{title:"Ergebnisse",list_of_relations:"List of Relations",open_link:"Beigefügtes Dokument öffnen",server_error:"Auf dem Server ist ein Fehler aufgetreten",no_results:"Keine Ergebnisse für diese Anfrage/Suche gefunden",link_button:"Öffnen"},mapcontrols:{geolocations:{error:"Position kann nicht bestimmt werden"},nominatim:{placeholder:"Addresse ...",noresults:"Keine Ergebnisse",notresponseserver:"Keine Antwort vom Server"},add_layer_control:{header:"Layer hinzufügen",select_projection:"Layer Projektion auswählen",select_field_to_show:"Feld auswählen, das auf der Karte angezeigt werden soll",select_csv_separator:"Begrenzer auswählen",select_csv_x_field:"X-Feld auswählen",select_csv_y_field:"Y-Feld auswählen",select_color:"Layer Farbe auswählen",drag_layer:"Layer hierher ziehen und ablegen"},query:{input_relation:"Klicken, um Relationen anzuzeigen"},length:{tooltip:"Länge"},area:{tooltip:"Area"},screenshot:{error:"Screenshot Fehlererstellung"}},catalog_items:{helptext:"Klicken Sie mit der rechten Maustaste auf einen einzelnen Layer, um auf zusätzliche Funktionen zuzugreifen",contextmenu:{zoomtolayer:"Zoom auf Layer",open_attribute_table:"Attributtabelle öffnen",show_metadata:"Metadaten",styles:"Stile",vector_color_menu:"Farbe einstellen/ändern"}},dataTable:{previous:"Vorherige",next:"Weiter",lengthMenu:"_MENÜ_ anzeigen",info:"Anzeige von _START_ bis _END_ der _TOTAL_ Einträge",no_data:"Keine Daten",nodatafilterd:"Keine passenden Datensätze gefunden",infoFiltered:"(gefiltert aus _MAX_ Gesamtsätzen)"}}}},{}],361:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"This website uses cookies to ensure you get the best experience on our website.",buttonText:"Got It!"},"default":"default",sign_in:"Sign in",layer_selection_filter:{tools:{filter:"Add/Remove Filter",nofilter:"Remove Filter",invert:"Invert Selection",clear:"Clear Selection",show_features_on_map:"Show features visible on map"}},warning:{not_supported_format:"Not supported format"},layer_position:{top:"TOP",bottom:"BOTTOM",message:"Position relative to layers on TOC"},sdk:{search:{all:"ALL",no_results:"No results",searching:"Searching ...",error_loading:"Error Loading Data",layer_not_searchable:"Layer is not searchable",layer_not_querable:"Layer is not querable",autocomplete:{inputshort:{pre:"Please enter",post:"or more characters"}}},print:{no_layers:"No Layer to print",template:"Template",labels:"Labels",scale:"Scale",format:"Format",rotation:"Rotation",download_image:"Download Image",fids_instruction:"Values accepted: from 1 to value of [max]. Is possible to insert a range ex. 4-6",fids_example:"Ex. 1,4-6 will be printed id 1,4,5,6",help:"The layers shown in the print could be those defined on the project and not those displayed on the map"},querybuilder:{search:{run:"Run",info:"Information","delete":"Delete",edit:"Edit"},messages:{changed:"Saved",number_of_features:"Number of features"},panel:{button:{all:"ALL",save:"SAVE",test:"TEST",clear:"CLEAR",run:"RUN",manual:"MANUAL"},layers:"LAYERS",fields:"FIELDS",values:"VALUES",operators:"OPERATORS",expression:"EXPRESSION"},error_run:"An error occurs. Please check the query",error_test:"An error occur during query execution","delete":"Do you want delete it?",additem:"Insert the name of the new search"},errors:{layers:{load:"Some layers are not available"},unsupported_format:"Not supported format",add_external_layer:"Load layer error"},metadata:{title:"Metadata",groups:{general:{title:"GENERAL",fields:{title:"TITLE",name:"NAME",description:"DESCRIPTION","abstract":"ABSTRACT",keywords:"KEYWORDS",fees:"FEES",accessconstraints:"ACCESS CONSTRAINT",contactinformation:"CONTACTS",subfields:{contactinformation:{contactelectronicmailaddress:"Email",personprimary:"Refereces",contactvoicetelephone:"Phone",contactorganization:"Organization",ContactOrganization:"Organization",contactposition:"Position",ContactPosition:"Position",contactperson:"Person",ContactPerson:"Person"}},wms_url:"WMS"}},spatial:{title:"SPATIAL",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"LAYERS",fields:{layers:"LAYERS",subfields:{crs:"EPSG",bbox:"BBOX",title:"TITLE",name:"NAME",geometrytype:"GEOMETRY",source:"SOURCE",attributes:"ATTRIBUTES","abstract":"ABSTRACT",attribution:"ATTRIBUTION",keywords:"PAROLE CHIAVE",metadataurl:"METADATA URL",dataurl:"DATA URL"}},groups:{general:"GENERAL",spatial:"SPATIAL"}}}},tooltips:{relations:{form_to_row:"Row View",row_to_form:"Form View"},copy_map_extent_url:"Copy map view link",download_shapefile:"Download Shapefile",download_gpx:"Download GPX",download_gpkg:"Download GPKG",download_csv:"Download CSV",download_xls:"Download XLS",show_chart:"Show Chart",atlas:"Print Atlas"},mapcontrols:{query:{tooltip:"Query layer",actions:{add_selection:{hint:"Add/Remove Selection"},zoom_to_features_extent:{hint:"Zoom to features extent"},add_features_to_results:{hint:"Add/Remove features to results"},remove_feature_from_results:{hint:"Remove feature from results"},zoom_to_feature:{hint:"Zoom to feature"},relations:{hint:"Show Relations"},relations_charts:{hint:"Show relations chart"},download_features_shapefile:{hint:"Download features Shapefile"},download_shapefile:{hint:"Download feature Shapefile"},download_features_gpx:{hint:"Download feature GPX"},download_features_gpkg:{hint:"Download features GPKG"},download_gpx:{hint:"Download feature GPX"},download_gpkg:{hint:"Download feature GPKG"},download_features_csv:{hint:"Download features CSV"},download_csv:{hint:"Download feature CSV"},download_features_xls:{hint:"Download features XLS"},download_xls:{hint:"Download feature XLS"},atlas:{hint:"Print Atlas"},copy_zoom_to_fid_url:{hint:"Copy map URL with this geometry feature extension",hint_change:"Copied"}}},querybypolygon:{download:{title:"Attributes download",choiches:{feature:{label:"Features only"},feature_polygon:{label:"Features+Query Polygon"}}},tooltip:"Query By Polygon",no_geometry:"No geometry on response",help:{title:"Guide - Query By Polygon",message:"\n
    \n
  • Select a polygon layer on TOC.
  • \n
  • Be sure that layer is visible.
  • \n
  • Click on a feature of selected layer.
  • \n
"}},querybybbox:{tooltip:"Query BBox layer",nolayers_visible:"No querable layers are visible. Please set at least one visible wfs layer to run query",help:{title:"Guide - Query BBox layer",message:"\n
    \n
  • Draw a square on map to query underlined layers on TOC
  • \n
"}},addlayer:{messages:{csv:{warning:"The result in the map is partial due to the presence of the below incorrect records list:"}},tooltip:"Add Layer"},geolocation:{tooltip:"Geolocation"},measures:{length:{tooltip:"Length",help:"Click on map to draw the line. Press
CANC if you want delete last vertex"},area:{tooltip:"Area",help:"Click to draw poligon.Press
CANC if you want delete last vertex"}},scale:{no_valid_scale:"Invalid Scale"},scaleline:{units:{metric:"Meters",nautical:"Nautical Mile"}}},relations:{relation_data:"Relation data",no_relations_found:"No relations found",back_to_relations:"Back to relations",list_of_relations_feature:"List of relations of feature",error_missing_father_field:"Field is missing"},workflow:{steps:{title:"Steps"},next:"Next"},form:{loading:"Loading ...",inputs:{messages:{errors:{picklayer:"No feature selected. Check if layer is on editing or visible at current scale"}},tooltips:{picklayer:"Get value from ma layer",lonlat:"Click on map to get coordinates"},input_validation_mutually_exclusive:"Field mutually exclusive with ",input_validation_error:"Mandatory Field or wrong data type",input_validation_min_field:"Value has to be more/equal to field value ",input_validation_max_field:"Value has to be less/equal to field value ",input_validation_exclude_values:"Value has to be unique",integer:"integer",bigint:"integer",text:"text",varchar:"text",textarea:"text",string:"string",date:"date",datetime:"date","float":"float",table:"table"},footer:{required_fields:"Required fields"},messages:{qgis_input_widget_relation:"Use relation specific form to work with relation"}},catalog:{current_map_theme_prefix:"THEME",choose_map_theme:"CHOOSE THEME",menu:{layerposition:"Layer Position",setwmsopacity:"Set Opacity",wms:{title:"",copy:"Click here to copy url",copied:"Copied"},download:{shp:"Download Shapefile",gpx:"Download GPX",gpkg:"Download GPKG",csv:"Download CSV",xls:"Download XLS",geotiff:"Download GEOTIFF",geotiff_map_extent:"Download GEOTIFF(current view extent)"}}},wps:{list_process:"List of process",tooltip:"Click on map"}},credits:{g3wSuiteFramework:"Application based on OS framework",g3wSuiteDescription:"Publish and manage your QGIS projects on the web",productOf:"Framework developed by"},toggle_color_scheme:"Toggle color scheme",logout:"Logout",no_other_projects:"No more project for this group",yes:"Yes",no:"No",back:"Back",backto:"Back to ",changemap:"Change Map",component:"Generic Component",search:"Search",no_results:"No results found",print:"Print",create_print:"Create Print",dosearch:"Search",catalog:"Map",data:"Data",externalwms:"WMS",baselayers:"Base",tools:"Tools",tree:"Layers",legend:"Legend",nobaselayer:"No basemap",street_search:"Find Address",show:"Show",hide:"Hide",copy_form_data:"Copy data",paste_form_data:"Paste",copy_form_data_from_feature:"Copy data from map",error_map_loading:"Error occurs loading map",check_internet_connection_or_server_admin:"Check internet connection or contact admin",could_not_load_vector_layers:"Connection error: Layers can be loaded",server_saver_error:"Error in server saving",server_error:"Server connection error",save:"Save",cancel:"Cancel",close:"Close",enlange_reduce:"Enlarge/Reduce",reset_default:"Default size",add:"Add",exitnosave:"Exit without save",annul:"Cancel",layer_is_added:"Layer with same name already added",sidebar:{wms:{panel:{title:"Add WMS Layer",label:{position:"Map Position",name:"Name",projections:"Projection",layers:"Layers"}},add_wms_layer:"Add WMS layer",delete_wms_url:"Delete WMS url",layer_id_already_added:"WMS Layer already added",url_already_added:"WMS URL already added",layer_add_error:"WMS Layer not added. Please check all wms parameter or url"}},info:{title:"Results",list_of_relations:"List of Relations",open_link:"Open attached document",server_error:"An error occurred from server",no_results:"No results found for this query/search",link_button:"Open"},mapcontrols:{geolocations:{error:"Can't get your position"},nominatim:{placeholder:"Address ...",noresults:"No results",notresponseserver:"No response from server"},add_layer_control:{header:"Add Layer",select_projection:"Select layer projection",select_field_to_show:"Select Field to show on map",select_csv_separator:"Select delimiter",select_csv_x_field:"Select X field",select_csv_y_field:"Select Y field",select_color:"Select Layer Color",drag_layer:"Drag and drop layer here"},query:{input_relation:"Click to show relations"},length:{tooltip:"Length"},area:{tooltip:"Area"},screenshot:{error:"Screenshot error creation"}},catalog_items:{helptext:"Right-click on individual layer to access additional features",contextmenu:{zoomtolayer:"Zoom to Layer",open_attribute_table:"Open Attribute Table",show_metadata:"Metadata",styles:"Styles",vector_color_menu:"Set/Change Color"}},dataTable:{previous:"Previous",next:"Next",lengthMenu:"Show _MENU_",info:"Showing _START_ to _END_ of _TOTAL_ entries",no_data:"No data",nodatafilterd:"No matching records found",infoFiltered:"(filtered from _MAX_ total records)"}}}},{}],362:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"This website uses cookies to ensure you get the best experience on our website.",buttonText:"Got It!"},"default":"oletuksena",sign_in:"Kirjaudu sisään",layer_selection_filter:{tools:{filter:"Lisätä/Poista Suodattaa",nofilter:"Poista Suodattaa",invert:"Käänteinen Valinta",clear:"Peruuttaa Valinta",show_features_on_map:"Näytä kartalla näkyvät ominaisuudet"}},warning:{not_supported_format:"Not supported format"},layer_position:{top:"TOP",bottom:"BOTTOM",message:"Position relative to layers on TOC"},sdk:{search:{all:"KAIKKI",no_results:"Ei tuloksia",searching:"Haetaan ...",error_loading:"Virhe ladattaessa tietoja.",layer_not_searchable:"Taso ei ole haettavissa.",layer_not_querable:"Tasolle ei voi suorittaa kyselyitä.",autocomplete:{inputshort:{pre:"Syötä",post:"tai useampi merkki"}}},print:{no_layers:"Ei tulostettavia tasoja",template:"Template",labels:"Labels",scale:"Mittakaava",format:"Formaatti",rotation:"Kierto",download_image:"Lataa kuva",fids_instruction:"Hyväksytyt arvot: yhdestä arvoon [max]. Salittua syöttää myös väli, esim. 4-6.",fids_example:"Esimerkiksi 1,4-6 tulostuu id 1,4,5,6.",help:"Tulosteessa esiintyvät tasot voivat olla projektissa määriteltyjä ei kartalla esiintyviä."},querybuilder:{search:{run:"Suorita",info:"Informaatio","delete":"Poista",edit:"Muokkaa"},messages:{changed:"Tallennettu",number_of_features:"Ominaisuuksien lukumäärä"},panel:{button:{all:"KAIKKI",save:"TALLENNA",test:"TESTI",clear:"TYHJENNÄ",run:"SUORITA",manual:"MANUAALINEN"},layers:"TASOT",fields:"KENTÄT",values:"ARVOT",operators:"OPERAATTORIT",expression:"LAUSEKE"},error_run:"Tapahtui virhe. Tarkista kysely.",error_test:"Kyselyä suorittaessa tapahtui virhe.","delete":"Haluatko poistaa sen?",additem:"Anna nimi uudelle haulle."},errors:{layers:{load:"Jotkin tasot eivät ole saatavilla."},unsupported_format:"Ei tuettu formaatti",add_external_layer:"Tason latausvirhe"},metadata:{title:"Metatiedot",groups:{general:{title:"YLEINEN",fields:{title:"OTSIKKO",name:"NIMI",description:"KUVAUS","abstract":"TIIVISTELMÄ",keywords:"AVAINSANAT",fees:"MAKSUT",accessconstraints:"PÄÄSYRAJOITUKSET",contactinformation:"YHTEYSTIEDOT",subfields:{contactinformation:{contactelectronicmailaddress:"Sähköposti",personprimary:"Viitteet",contactvoicetelephone:"Puhelin",contactorganization:"Organisaatio",ContactOrganization:"Organisaatio",contactposition:"Asema",ContactPosition:"Asema",contactperson:"Yhteyshenkilö",ContactPerson:"Yhteyshenkilö"}},wms_url:"WMS"}},spatial:{title:"SPATIAL",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"TASOT",fields:{layers:"TASOT",subfields:{crs:"EPSG",bbox:"BBOX",title:"OTSIKKO",name:"NIMI",geometrytype:"GEOMETRIA",source:"LÄHDE",attributes:"ATTRIBUUTIT","abstract":"TIIVISTELMÄ",attribution:"ATTRIBUUTIO",keywords:"AVAINSANAT",metadataurl:"METATIEDON URL",dataurl:"DATA URL"}},groups:{general:"YLEINEN",spatial:"SPATIAL"}}}},tooltips:{relations:{form_to_row:"Rivinäkymä",row_to_form:"Taulukkonäkymä"},copy_map_extent_url:"Kopioi kartan katselulinkki",download_shapefile:"Lataa SHP-tiedosto",download_gpx:"Lataa GPX-tiedosto",download_gpkg:"Lataa GPKG-tiedosto",download_csv:"Lataa CSV-tiedosto",download_xls:"Lataa XLS-tiedosto",show_chart:"Näytä kaavio",atlas:"Tulosta Atlas"},mapcontrols:{query:{tooltip:"Kyselytaso",actions:{add_selection:{hint:"Lisää/Poista valinta"},zoom_to_features_extent:{hint:"Tarkenna ominaisuuden laajuuteen"},add_features_to_results:{hint:"Add/Remove features to results"},remove_feature_from_results:{hint:"Remove feature from results"},zoom_to_feature:{hint:"Tarkenna ominaisuuteen"},relations:{hint:"Näytä relaatiot"},relations_charts:{hint:"Näytä relaatiokaavio"},download_features_shapefile:{hint:"Lataa ominaisuuden SHP-tiedosto"},download_shapefile:{hint:"Lataa ominaisuuden SHP-tiedosto"},download_features_gpx:{hint:"Lataa ominaisuuden GPX-tiedosto"},download_features_gpkg:{hint:"Lataa ominaisuuden GPKG-tiedosto"},download_gpx:{hint:"Lataa ominaisuuden GPX-tiedosto"},download_gpkg:{hint:"Lataa ominaisuuden GPKG-tiedosto"},download_features_csv:{hint:"Lataa ominaisuuden CSV-tiedosto"},download_csv:{hint:"Lataa ominaisuuden CSV-tiedosto"},download_features_xls:{hint:"Lataa ominaisuuden XLS-tiedosto"},download_xls:{hint:"Lataa ominaisuuden XLS-tiedosto"},atlas:{hint:"Tulosta Atlas"},copy_zoom_to_fid_url:{hint:"Copy map URL with this geometry feature extension",hint_change:"Copied"}}},querybypolygon:{download:{title:"Attributes download",choiches:{feature:{label:"Features only"},feature_polygon:{label:"Features+Query Polygon"}}},tooltip:"Kysely monikulmiolla",no_geometry:"No geometry on response",help:{title:"Ohje - Kysely monikulmiolla",message:"\n
    \n
  • Valitse monikulmiotaso luettelosta.
  • \n
  • Tarkista, että taso on näkyvillä.
  • \n
  • Valitse ominaisuus valitulla tasolla.
  • \n
" +}},querybybbox:{tooltip:"Tasoon kohdituva BBox-kysely",nolayers_visible:"Ei kyseltäviä tasoja näkyvillä. Aseta vähintään yksi WFS-taso näkyväksi suorittaaksesi haun.",help:{title:"Ohje - Tasoon kohdistuva BBox-kysely",message:"\n
    \n
  • Piirrä suorakulmio kartalle suorittaaksesi kyselyn luettelossa alleviivatuille tasoille.
  • \n
"}},addlayer:{messages:{csv:{warning:"The result in the map is partial due to the presence of the below incorrect records list:"}},tooltip:"Lisää taso"},geolocation:{tooltip:"Maantieteellinen sijainti"},measures:{length:{tooltip:"Pituus",help:"Piirrä murtoviiva kartalle. Paina
CANC, mikäli haluat poistaa edellisen pisteen."},area:{tooltip:"Alue",help:"Piirrä monikulmio kartalle. Paina
CANC, mikäli haluat poistaa edellisen pisteen."}},scale:{no_valid_scale:"Väärä mittakaava"},scaleline:{units:{metric:"Meters",nautical:"Nautical Mile"}}},relations:{relation_data:"Relaation tiedot",no_relations_found:"Relaatiota ei löytynyt.",back_to_relations:"Takaisin relaatioihin",list_of_relations_feature:"Lista ominaisuuden relaatioista",error_missing_father_field:"Kenttä puuttu"},workflow:{steps:{title:"Vaiheet"},next:"Seuraava"},form:{loading:"Ladataan...",inputs:{messages:{errors:{picklayer:"Ominaisuuksia ei valiitu. Tarkista, että taso on muokattavissa tai näkyvissä nykyisellä mittakaavalla."}},tooltips:{picklayer:"Valitse arvo karttatasolta",lonlat:"Click on map to get coordinates"},input_validation_mutually_exclusive:"Kenttä toisensa poissulkeva.",input_validation_error:"Pakollinen kenttä tai väärä tietotyyppi.",input_validation_min_field:"Arvon tulee olla suurempi tai yhtäsuuri kuin kentän arvo.",input_validation_max_field:"Arvon tulee olla pienempi tai yhtäsuuri kuin kentän arvo.",input_validation_exclude_values:"Arvon tulee olla uniikki.",integer:"kokonaisluku",bigint:"kokonaisluku",text:"teksti",varchar:"teksti",textarea:"teksti",string:"merkkijono",date:"päiväys",datetime:"päiväys","float":"liukuluku",table:"taulukko"},footer:{required_fields:"Vaaditut kentät"},messages:{qgis_input_widget_relation:"Käytä relaatioiden määrittämiseen tähän tarkoitettua toimintoa"}},catalog:{current_map_theme_prefix:"THEME",choose_map_theme:"CHOOSE THEME",menu:{layerposition:"Layer Position",setwmsopacity:"Set Opacity",wms:{title:"",copy:"Paina tästä kopioidaksesi url:n.",copied:"Kopioitu."},download:{shp:"Lataa SHP-tiedosto",gpx:"Lataa GPX-tiedosto",gpkg:"Lataa GPKG-tiedosto",csv:"Lataa CSV-tiedosto",xls:"Lataa XLS-tiedosto",geotiff:"Lataa GEOTIFF-tiedosto",geotiff_map_extent:"Lataa GEOTIFF-tiedosto(current view extent)"}}},wps:{list_process:"Lista prosesseista",tooltip:"Valitse kartalta"}},credits:{g3wSuiteFramework:"Sovellus perustuu OS framework",g3wSuiteDescription:"Julkaise ja hallinnoi QGIS-projekteja verkossa.",productOf:"Frameworkin on kehittänyt"},toggle_color_scheme:"Toggle color scheme",logout:"Kirjaudu ulos",no_other_projects:"Ei projekteja tälle ryhmälle",yes:"Kyllä",no:"Ei",back:"Palaa",backto:"Takaisin ",changemap:"Vaihda karttaa",component:"Yleinen komponentti",search:"Hae",no_results:"Ei hakutuloksia",print:"Tulosta",create_print:"Luo tuloste",dosearch:"Hae",catalog:"Kartta",data:"Data",externalwms:"WMS",baselayers:"Taustakartta",tools:"Työkalut",tree:"Tasot",legend:"Merkintöjen selite",nobaselayer:"Ei taustakarttaa",street_search:"Hae osoite",show:"Näytä",hide:"Piilota",copy_form_data:"Kopioi tiedot",paste_form_data:"Liitä",copy_form_data_from_feature:"Kopioi tiedot kartalta",error_map_loading:"Virhe ladattessa karttaa",check_internet_connection_or_server_admin:"Tarkista internetyhteys tai ota yhteyttä ylläpitäjään.",could_not_load_vector_layers:"Yhteysvirhe, tasoja ei voida ladata.",server_saver_error:"Virhe tallentaessa palvelimelle.",server_error:"Yhteysvirhe palvelimeen",save:"Tallenna",cancel:"Peruuta",close:"Sulje",enlange_reduce:"Enlarge/Reduce",reset_default:"Default size",add:"Lisää",exitnosave:"Poistu tallentamatta",annul:"Peruuta",layer_is_added:"Samanniminen taso on jo lisätty.",sidebar:{wms:{panel:{title:"Add WMS Layer",label:{position:"Map Position",name:"Name",projections:"Projection",layers:"Layers"}},add_wms_layer:"Aggiungi WMS layer",delete_wms_url:"Delete WMS url",layer_id_already_added:"WMS Taso on jo lisätty.",url_already_added:"WMS URL on jo lisätty.",layer_add_error:"WMS Layer not added. Please check all wms parameter or url"}},info:{title:"Tulokset",list_of_relations:"List of Relations",open_link:"Avaa liitetiedosto",server_error:"Palvelimella tapahtui virhe.",no_results:"Ei tuloksia haulle/kyselylle.",link_button:"Avaa"},mapcontrols:{geolocations:{error:"Sijaintiasi ei saada"},nominatim:{placeholder:"Osoite ...",noresults:"Ei tuloksia",notresponseserver:"Ei vastausta palvelimelta"},add_layer_control:{header:"Lisää taso",select_projection:"Valitse tason projektio",select_field_to_show:"Select Field to show on map",select_csv_separator:"Select delimiter",select_csv_x_field:"Select X field",select_csv_y_field:"Select Y field",select_color:"Valitse tason väri",drag_layer:"Vedä ja pudota taso tähän"},query:{input_relation:"Paina näyttääksesi relaatiot"},length:{tooltip:"Pituus"},area:{tooltip:"Pinta-ala"},screenshot:{error:"Screenshot error creation"}},catalog_items:{helptext:"Napsauta hiiren kakkospainikkeella yksittäistä tasoa päästäksesi lisäominaisuuksiin.",contextmenu:{zoomtolayer:"Tarkenna tasoon",open_attribute_table:"Avaa attribuuttitaulu",show_metadata:"Metatiedot",styles:"Tyylejä",vector_color_menu:"Aseta/muuta väriä"}},dataTable:{previous:"Edellinen",next:"Seuraava",lengthMenu:"Show _MENU_ items",info:"Showing _START_ to _END_ of _TOTAL_ entries",no_data:"Ei tietoja",nodatafilterd:"Vastaavia tietueita ei löytynyt",infoFiltered:"(filtered from _MAX_ total records)"}}}},{}],363:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"Ce site utilise des cookies pour assurer une bonne convivialité pour l'utilisateur final.",buttonText:"J’ai compris !"},"default":"par défaut ",sign_in:"Se connecter ",layer_selection_filter:{tools:{filter:"Ajout/Suppression de filtre ",nofilter:"Supprimer le filtre ",invert:"Sélection inversée ",clear:"Effacer la sélection ",show_features_on_map:"Afficher les caractéristiques visibles sur la carte"}},warning:{not_supported_format:"Not supported format"},layer_position:{top:"TOP",bottom:"BOTTOM",message:"Position relative to layers on TOC"},sdk:{search:{all:"TOUTES",no_results:"Aucune valeur trouvée",searching:"Je cherche...",error_loading:"Erreur de chargement des valeurs",layer_not_searchable:"Le layer n’est pas recherchable",layer_not_querable:"Le layer n'est pas interrogeable",autocomplete:{inputshort:{pre:"Tapez au moins",post:"caractères"}}},print:{no_layers:"Aucune layer visible",scale:"Échelle",format:"Format",rotation:"Rotation",download_image:"Télécharger l'image",fids_instruction:"Valeurs acceptées : de 1 à la valeur maximale indiquée par [max]. Il est également possible d'indiquer une fourchette de valeurs, par exemple 4-6",fids_example:"Par exemple 1,4-6 les ids 1,4,5,6 seront imprimés",help:"Les layers montrés dans l'impression peuvent être ceux définis dans le projet et non ceux montrés sur la carte"},querybuilder:{search:{run:"Lancer la recherche",info:"Information","delete":"Supprimer",edit:"Editer"},messages:{changed:"Enregistré correctement",number_of_features:"Nombre de fonctionnalités"},panel:{button:{all:"TOUTES",save:"SAUVEGARDER",test:"TESTER",clear:"NETTOYER",run:"EXECUTER",manual:"MANUEL"},layers:"LAYERS",fields:"CHAMPS",values:"VALEURS",operators:"OPERATEURS",expression:"EXPRESSION"},error_run:"Une erreur s'est produite. Vérifiez si la requête est correcte",error_test:"Erreur d'exécution de la requête","delete":"Voulez-vous confirmer la suppression ?",additem:"Entrer le nom de la requête"},errors:{layers:{load:"Certaines layers du projet ne sont pas disponibles actuellement et n'apparaissent donc pas dans la vue actuelle"},unsupported_format:"Format non supporté",add_external_layer:"Erreur lors du chargement du layer"},metadata:{title:"Métadonnées",groups:{general:{title:"GÉNÉRAL",fields:{title:"TITRE",name:"NOM",description:"DESCRIPTION","abstract":"ABREGE",keywords:"LISTE DE MOTS-CLÉS",fees:"DROITS D'INSCRIPTION",accessconstraints:"CONTRAINTES D'ACCÈS",contactinformation:"CONTACTS",subfields:{contactinformation:{contactelectronicmailaddress:"E-mail",personprimary:"Références",contactvoicetelephone:"Téléphone",contactorganization:"Organisation",ContactOrganization:"Organisation",contactposition:"Localisation",ContactPosition:"Localisation",contactperson:"Personne",ContactPerson:"Personne"}},wms_url:"WMS"}},spatial:{title:"INFO ESPACE",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"STRATES",groups:{general:"GENERALE",spatial:"INFO ESPACE"},fields:{layers:"STRATES",subfields:{crs:"EPSG",bbox:"BBOX",title:"TITRE",name:"NOM",geometrytype:"GÉOMÉTRIE",source:"SOURCE",attributes:"ATTRIBUTES","abstract":"ABRÉGÉ",attribution:"ATTRIBUTION",keywords:"MOTS- CLÉS",metadataurl:"URL DE MÉTADONNÉES",dataurl:"URL DES DONNÉES"}}}}},tooltips:{relations:{form_to_row:"Afficher le format de la ligne",row_to_form:"Format du formulaire d'affichage"},zoom_to_features_extent:"Zoom sur les fonctionnalités",copy_map_extent_url:"Copier le lien de visualisation de la carte",download_shapefile:"Télécharger le fichier Shapefile",download_gpx:"Télécharger GPX",download_gpkg:"Télécharger GPKG",download_csv:"Télécharger CSV",download_xls:"Télécharger XLS",show_chart:"Montrer graphique",atlas:"Imprimer l'Atlas"},mapcontrols:{query:{tooltip:"Interrogation layer",actions:{add_selection:{hint:"Ajouter/supprimer une sélection"},zoom_to_features_extent:{hint:"Zoom sur les fonctionnalités"},add_features_to_results:{hint:"Ajouter des fonctionnalités aux résultats"},remove_feature_from_results:{hint:"Supprimer la fonctionnalité des résultats"},zoom_to_feature:{hint:"Zoom sur les fonctionnalités"},relations:{hint:"Voir les relations"},relations_charts:{hint:"Voir les graphiques de relations"},download_features_shapefile:{hint:"Télécharger les fonctionnalités vers Shapefile"},download_shapefile:{hint:"Télécharger le Shapefile"},download_features_gpx:{hint:"Télécharger les fonctionnalités vers GPX"},download_features_gpkg:{hint:"Télécharger les fonctionnalités vers GPKG"},download_gpx:{hint:"Télécharger le GPX"},download_gpkg:{hint:"Télécharger le GPKG"},download_features_csv:{hint:"Télécharger les fonctionnalités vers CSV"},download_csv:{hint:"Télécharger le CSV"},download_features_xls:{hint:"Télécharger les fonctionnalités vers XLS"},download_xls:{hint:"Télécharger le XLS"},atlas:{hint:"Imprimer l'Atlas"},copy_zoom_to_fid_url:{hint:"Copier l'URL de la carte avec l'extension vers cette géométrie",hint_change:"Copié"}}},querybypolygon:{download:{title:"Téléchargement des attributs",choiches:{feature:{label:"Fonctionnalités seulement"},feature_polygon:{label:"Fonctionnalités+Requête Polygon "}}},tooltip:"Requête par polygone",no_geometry:"La réponse ne contient pas de géométrie",help:{title:"Aide - Requête par polygone",message:'\n
    \n Sélectionnez un layer de polygone dans la légende.\n
  • Vérifiez que le layer est visible dans la carte.
  • \n
  • Cliquez sur une géométrie du layer sélectionné.
  • \n
'}},querybybbox:{tooltip:"Requête pour BBOX",nolayers_visible:"Aucun layer requêtable n'est visible. Assurez-vous qu'au moins un layer wfs est visible pour exécuter la requête",help:{title:"Aide - Requête BBox",message:"\n
    \n
  • Dessinez un rectangle pour interroger les couches surlignées en jaune
  • \n
\n "}},addlayer:{messages:{csv:{warning:"Le résultat de la carte est partiel en raison de la présence des enregistrements incorrects suivants :"}},tooltip:"Ajouter un layer"},geolocation:{tooltip:"Géolocalisation"},measures:{length:{tooltip:"Longueur",help:"Cliquez sur la carte pour continuer à dessiner la ligne.
CANC si vous voulez supprimer le dernier vertex inséré"},area:{tooltip:"Zone",help:"Cliquez pour continuer à dessiner le polygone.
CANC si vous voulez supprimer le dernier vertex inséré"}},scale:{no_valid_scale:"Échelle invalide"},scaleline:{units:{metric:"Meters",nautical:"Nautical Mile"}}},relations:{relation_data:"Données relationnelles",no_relations_found:"Aucune relation trouvée",back_to_relations:"Retour aux relations",list_of_relations_feature:"Liste des relations entre les caractéristiques",error_missing_father_field:"Le champ concerné n'existe pas"},workflow:{steps:{title:"Étapes"},next:"Suivant"},form:{loading:"Chargement...",inputs:{messages:{errors:{picklayer:"Aucune fonction sélectionnée. Vérifier si le layer est en édition ou non visible à l'échelle actuelle"}},tooltips:{picklayer:"Obtenir la valeur de la carte",lonlat:"Cliquez sur la carte pour obtenir les coordonnées"},input_validation_mutually_exclusive:"Champ mutuellement exclusif avec ",input_validation_error:"Champ obligatoire ou type de valeur incorrect",input_validation_min_field:"La valeur doit être supérieure ou égale au camp ",input_validation_max_field:"La valeur doit être inférieure ou égale au champ ",input_validation_exclude_values:"Le champ doit contenir une valeur différente",integer:"entier",bigint:"entier",text:"textuel",varchar:"textuel",textarea:"textuel",string:"chaîne",date:"date",datetime:"date","float":"float",table:"table"},footer:{required_fields:"Champs obligatoires"},messages:{qgis_input_widget_relation:"Gérer les relations via un formulaire dédié"}},catalog:{current_map_theme_prefix:"THEME",choose_map_theme:"SÉLECTIONNEZ LE THÈME",menu:{layerposition:"Layer Position",setwmsopacity:"Set Opacity",wms:{title:"",copy:"Cliquez ici pour copier l'url",copied:"Copié"},download:{shp:"Télécharger Shapefile",gpx:"Télécharger GPX",gpkg:"Télécharger GPKG",csv:"Télécharger CSV",xls:"Télécharger XLS",geotiff:"Télécharger GEOTIFF",geotiff_map_extent:"Télécharger GEOTIFF(current view extent)"}}},wps:{list_process:"Liste des processus",tooltip:"Cliquez sur la carte"}},credits:{g3wSuiteFramework:"Application construite avec le framework OS",g3wSuiteDescription:"Publiez et gérez vos projets QGIS sur le Web",productOf:"Framework développé par"},logout:"Quitter",no_other_projects:"Il n'y a pas d'autres projets dans ce groupe de cartes",yes:"Oui",no:"No",back:"Retour",backto:"Retour à ",changemap:"Changer de carte",component:"Composant générique",search:"Recherches",no_results:"Aucun résultat trouvé",print:"Imprimer",create_print:"Créer une impression",dosearch:"Recherche",catalog:"Carte",data:"Données",externalwms:"WMS",baselayers:"Bases",tools:"Outils",tree:"Strates",legend:"Légende",nobaselayer:"Pas de carte de base",street_search:"Adresse de recherche",show:"Afficher",hide:"Cacher",copy_form_data:"Copier les données du formulaire",paste_form_data:"Coller",copy_form_data_from_feature:"Copier les données de la carte",error_map_loading:"Erreur de chargement de la nouvelle carte",check_internet_connection_or_server_admin:"Vérifiez la connexion internet ou contactez l'administrateur",could_not_load_vector_layers:"Erreur de connexion au serveur : il n'a pas été possible de charger les vecteurs demandés",server_saver_error:"Erreur de sauvegarde sur le serveur",server_error:"Une erreur s'est produite dans la requête au serveur",save:"Sauvegarder",cancel:"Supprimer",close:"Fermer",enlange_reduce:"Enlarge/Reduce",reset_default:"Default size",add:"Ajouter",exitnosave:"Quitter sans sauvegarder",annul:"Annuler",layer_is_added:"Layer avec le même nom déjà ajouté",wms_layer_id_already_added:"WMS Layer déjà ajouté",wms_url_already_added:"WMS URL déjà ajouté",sidebar:{wms:{panel:{title:"Add WMS Layer",label:{position:"Map Position",name:"Name",projections:"Projection",layers:"Layers"}},add_wms_layer:"Add WMS layer",delete_wms_url:"Delete WMS url",layer_id_already_added:"WMS Nivån har redan lagts till.",url_already_added:"WMS URL har redan lagts till.",layer_add_error:"WMS Layer not added. Please check all wms parameter or url"}},info:{title:"Résultats",list_of_relations:"List of Relations",open_link:"Ouvrir le document joint",server_error:"Une erreur s'est produite dans la requête au serveur",no_results:"Aucun résultat pour cette requête/recherche",link_button:"Ouvrir"},mapcontrols:{geolocations:{title:"",error:"Votre position ne peut être calculée."},nominatim:{placeholder:"Adresse ...",noresults:"Aucun résultat",notresponseserver:"Le serveur ne répond pas"},add_layer_control:{header:"Ajouter un layer",select_projection:"Sélectionnez le système de projection de couches",select_field_to_show:"Sélectionnez le champ à afficher sur la carte",select_csv_separator:"Sélectionner le séparateur",select_csv_x_field:"Sélectionnez le champ X",select_csv_y_field:"Sélectionnez le champ Y",select_color:"Sélectionnez la couleur du layer",drag_layer:"Faire glisser le layer vers cette zone"},query:{input_relation:"Cliquez pour voir les relations"},length:{tooltip:"Longueur"},area:{tooltip:"Zone"},screenshot:{error:"Erreur de création de la capture d'écran"}},catalog_items:{helptext:"Cliquez avec le bouton droit de la souris sur les différents layers pour accéder à des fonctionnalités supplémentaires",contextmenu:{zoomtolayer:"Zoom sur le layer",open_attribute_table:"Table d'attributs ouverte",show_metadata:"Métadonnées",styles:"Styles",vector_color_menu:"Définir/changer la couleur"}},dataTable:{previous:"Précédent",next:"Suivant",lengthMenu:"Afficher _MENU_",info:"Afficher _START_ à _END_ sur _TOTAL_ lignes",nodatafilterd:"Aucun résultat trouvé",infoFiltered:"(Filtré par _MAX_ rangs totaux)"}}}},{}],364:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("./it"),a=n(i),o=e("./en"),s=n(o),l=e("./fi"),u=n(l),c=e("./se"),d=n(c),p=e("./fr"),f=n(p),h=e("./de"),v=n(h),g=e("./ro"),m=n(g),y={it:a["default"],en:s["default"],fi:u["default"],se:d["default"],fr:f["default"],de:v["default"],ro:m["default"]};r["default"]=y},{"./de":360,"./en":361,"./fi":362,"./fr":363,"./it":365,"./ro":366,"./se":367}],365:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"Questo sito utilizza i cookie per garantire una buona usabilità all'utilizzatore finale.",buttonText:"Ho capito!"},"default":"predefinito",sign_in:"Accedi",layer_selection_filter:{tools:{filter:"Aggiungi/Rimuovi Filtro",nofilter:"Rimuovi filtro",invert:"Inverti Selezione",clear:"Annulla selezione",show_features_on_map:"Mostra features visibili su mappa"}},warning:{not_supported_format:"Formato non supportato"},layer_position:{top:"SOPRA",bottom:"IN FONDO",message:"Posizione rispetto ai layers della TOC"},sdk:{search:{all:"TUTTE",no_results:"Nessun valore trovato",searching:"Sto cercando ..",error_loading:"Errore nel caricamento valori",layer_not_searchable:"Il layer non è ricercabile",layer_not_querable:"Il layer non è interrogabile",autocomplete:{inputshort:{pre:"Digita almeno",post:"caratteri"}}},print:{no_layers:"Nessun Layer visibile",template:"Template",labels:"Etichette",scale:"Scala",format:"Formato",rotation:"Rotazione",download_image:"Scarica Immagine",fids_instruction:"Valori accettati: da 1 al valore massimo indicato da [max]. Possibile indicare anche range di valori es. 4-6",fids_example:"Es. 1,4-6 verranno stampati gli id 1,4,5,6",help:"I layers mostrati nella stampa potrebbero essere quelli definiti sul progetto e non quelli visualizzati sulla mappa"},querybuilder:{search:{run:"Lancia ricerca",info:"Informazioni","delete":"Cancella",edit:"Modifica"},messages:{changed:"Salvato correttamente",number_of_features:"Numero di features"},panel:{button:{all:"TUTTI",save:"SALVA",test:"TEST",clear:"PULISCI",run:"ESEGUI",manual:"MANUALE"},layers:"LAYERS",fields:"CAMPI",values:"VALORI",operators:"OPERATORI",expression:"ESPRESSIONE"},error_run:"Si è verificato un errore. Verificare se la query è corretta",error_test:"Errore nell'esecuzione della query","delete":"Vuoi confermare la cancellazione?",additem:"Inserisci nome della ricerca"},errors:{layers:{load:"Alcuni layers presenti nel progetto non sono attualmente disponibili e quindi non compaiono nell'attuale visualizzazione"},unsupported_format:"Formato non supportato",add_external_layer:"Errore nel caricamento del layer"},metadata:{title:"Metadati",groups:{general:{title:"GENERALE",fields:{title:"TITOLO",name:"NOME",description:"DESCRIZIONE","abstract":"ABSTRACT",keywords:"LISTA DELLE PAROLE CHIAVE",fees:"CANONI",accessconstraints:"VINCOLI DI ACCESSO",contactinformation:"CONTATTI",subfields:{contactinformation:{contactelectronicmailaddress:"E-mail",personprimary:"Riferimenti",contactvoicetelephone:"Telefono",contactorganization:"Organizzazione",ContactOrganization:"Organizzazione",contactposition:"Posizione",ContactPosition:"Posizione",contactperson:"Persona",ContactPerson:"Persona"}},wms_url:"WMS"}},spatial:{title:"INFO SPAZIALI",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"STRATI",groups:{general:"GENERALE",spatial:"INFO SPAZIALI"},fields:{layers:"STRATI",subfields:{crs:"EPSG",bbox:"BBOX",title:"TITOLO",name:"NOME",geometrytype:"GEOMETRIA",source:"SORGENTE",attributes:"ATTRIBUTI","abstract":"ABSTRACT",attribution:"ATTRIBUTION",keywords:"PAROLE CHIAVE",metadataurl:"METADATA URL",dataurl:"DATA URL"}}}}},tooltips:{relations:{form_to_row:"Visualizza formato Riga",row_to_form:"Visualizza formato Form"},zoom_to_features_extent:"Zoom sulle features",copy_map_extent_url:"Copia map view link",download_shapefile:"Scarica Shapefile",download_gpx:"Scarica GPX",download_gpkg:"Scarica GPKG",download_csv:"Scarica CSV",download_xls:"Scarica XLS",show_chart:"Mostra Grafico",atlas:"Stampa Atlas"},mapcontrols:{query:{tooltip:"Interroga Layer",actions:{add_selection:{hint:"Aggiungi/Rimuovi Selezione"},zoom_to_features_extent:{hint:"Zoom sulle features"},add_features_to_results:{hint:"Aggiungi features ai risultati"},remove_feature_from_results:{hint:"Rimuovi feature dai risultati"},zoom_to_feature:{hint:"Zoom sulla feature"},relations:{hint:"Visualizza Relazioni"},relations_charts:{hint:"Visualizza grafici relazioni"},download_features_shapefile:{hint:"Scarica features in Shapefile"},download_shapefile:{hint:"Scarica feature in Shapefile"},download_features_gpx:{hint:"Scarica features in GPX"},download_features_gpkg:{hint:"Scarica features in GPKG"},download_gpx:{hint:"Scarica feature in GPX"},download_gpkg:{hint:"Scarica feature in GPKG"},download_features_csv:{hint:"Scarica features in CSV"},download_csv:{hint:"Scarica feature in CSV"},download_features_xls:{hint:"Scarica features in XLS"},download_xls:{hint:"Scarica la feature in XLS"},atlas:{hint:"Stampa Atlas"},copy_zoom_to_fid_url:{hint:"Copia URL mappa con estensione a questa geometria",hint_change:"Copiato"}}},querybypolygon:{download:{title:"Download attributi",choiches:{feature:{label:"Solo features"},feature_polygon:{label:"Features+Poligono Interrogazione"}}},tooltip:"Interroga per poligono",no_geometry:"Non contiene la geometria nella risposta",help:{title:"Guida - Interrogazione con Poligono",message:'\n
    \n Seleziona uno strato poligonale in legenda.\n
  • Assicurati che lo strato sia visibile in mappa.
  • \n
  • Clicca su una geometria dello strato selezionato.
  • \n
'}},querybybbox:{tooltip:"Interroga per BBOX",nolayers_visible:"Nessun layer interrogabile è visibile. Assicurarsi che almeno un layer wfs sia visibile per eseguire l'interrogazione",help:{title:"Guida - Interrogazione BBox",message:"\n
    \n
  • Disegna un rettangolo per interrogare gli strati evidenziati in giallo
  • \n
\n "}},addlayer:{messages:{csv:{warning:"Il risultato in mappa è parziale a causa della presenza dei seguenti records non corretti:"}},tooltip:"Aggiungi Layer"},geolocation:{tooltip:"Geolocalizzazione"},measures:{length:{tooltip:"Lunghezza",help:"Clicca sulla mappa per continuare a disegnare la linea.
CANC se si vuole cancellare l'ultimo vertice inserito"},area:{tooltip:"Area",help:"Clicca per continuare a disegnare il poligono.
CANC se si vuole cancellare l'ultimo vertice inserito"}},scale:{no_valid_scale:"Scala non valida"},scaleline:{units:{metric:"Metri",nautical:"Miglio Nautico"}}},relations:{relation_data:"Dati Relazione",no_relations_found:"Nessuna relazione trovata",back_to_relations:"Ritorna alle relazioni",list_of_relations_feature:"Lista delle relazioni della feature",error_missing_father_field:"Il campo relazionato non esiste"},workflow:{steps:{title:"Passi"},next:"Avanti"},form:{loading:"Caricamento ...",inputs:{messages:{errors:{picklayer:"Nessuna feature selezionata. Verificare se il layer è in editing o non visibile alla scala attuale"}},tooltips:{picklayer:"Prendi valore dalla mappa",lonlat:"Clicca sulla mappa per prendere le coordinate"},input_validation_mutually_exclusive:"Campo mutualmente esclusivo con ",input_validation_error:"Campo obbligatorio o tipo valore non corretto",input_validation_min_field:"Valore deve essere magiore uguale a quello del camp ",input_validation_max_field:"Valore deve essere minore uguale a quello del campo ",input_validation_exclude_values:"Campo deve contenere un valore diverso",integer:"intero",bigint:"intero",text:"testuale",varchar:"testuale",textarea:"testuale",string:"stringa",date:"data",datetime:"data","float":"float",table:"table"},footer:{required_fields:"Campi obbligatori"},messages:{qgis_input_widget_relation:"Gestisci le relazioni tramite form dedicato"}},catalog:{current_map_theme_prefix:"TEMA",choose_map_theme:"SCEGLI TEMA",menu:{layerposition:"Posizione Layer",setwmsopacity:"Cambia opacità",wms:{title:"",copy:"Clicca qui per copiare url",copied:"Copiato"},download:{shp:"Scarica Shapefile",gpx:"Scarica GPX",gpkg:"Scarica GPKG",csv:"Scarica CSV",xls:"Scarica XLS",geotiff:"Scarica GEOTIFF",geotiff_map_extent:"Scarica GEOTIFF(estensione vista corrente)"}}},wps:{list_process:"Lista dei processi",tooltip:"Clicca sulla mappa"}},credits:{g3wSuiteFramework:"Applicativo realizzato con il framework OS",g3wSuiteDescription:"Pubblica e gestisci i tuoi progetti QGIS sul Web",productOf:"Framework sviluppato da"},toggle_color_scheme:"Cambia colore",logout:"Esci",no_other_projects:"Non ci sono altri progetti in questo gruppo cartografico",yes:"Si",no:"No",back:"Indietro",backto:"Torna a ",changemap:"Cambia Mappa",component:"Componente Generico",search:"Ricerche",no_results:"Nessun risultato trovato",print:"Stampa",create_print:"Crea Stampa",dosearch:"Cerca",catalog:"Mappa",data:"Dati",externalwms:"WMS",baselayers:"Basi",tools:"Strumenti",tree:"Strati",legend:"Legenda",nobaselayer:"Nessuna mappa di base",street_search:"Cerca indirizzo",show:"Mostra",hide:"Nascondi",copy_form_data:"Copia i dati del modulo",paste_form_data:"Incolla",copy_form_data_from_feature:"Copia i dati dalla mappa",error_map_loading:"Errore di caricamento della nuova mappa",check_internet_connection_or_server_admin:"Controllare la connessione internet o contattare l'amministratore",could_not_load_vector_layers:"Errore di connessione al server: non è stato possibile caricare i vettoriali richiesti",server_saver_error:"Errore nel salvataggio sul server",server_error:"Si è verificato un errore nella richiesta al server",save:"Salva",cancel:"Cancella",close:"Chiudi",enlange_reduce:"Allarga/Riduci",reset_default:"Dimensione Partenza",add:"Aggiungi",exitnosave:"Esci senza salvare",annul:"Annulla",layer_is_added:"Layer con stesso nome già aggiunto",sidebar:{wms:{panel:{title:"Aggiungi WMS Layer",label:{position:"Posizione su Mappa",name:"Nome",projections:"Sistema di riferimento",layers:"Layers"}},add_wms_layer:"Aggiungi WMS layer",delete_wms_url:"Elimina WMS url",layer_id_already_added:"WMS Layer già aggiunto",url_already_added:"WMS URL già aggiunto",layer_add_error:"WMS Layer non aggiunto. Verificare i parametri o l'url"}},info:{title:"Risultati",list_of_relations:"Lista delle relazioni",open_link:"Apri documento allegato",server_error:"Si è verificato un errore nella richiesta al server",no_results:"Nessun risultato per questa interrogazione/ricerca ",link_button:"Apri"},mapcontrols:{geolocations:{title:"",error:"Non è possibile calcolare la tua posizione."},nominatim:{placeholder:"Indirizzo ...",noresults:"Nessun risultato",notresponseserver:"Il server non risponde"},add_layer_control:{header:"Aggiungi Layer",select_projection:"Seleziona il sistema di proiezione del layer",select_field_to_show:"Seleziona il campo da visualizzare sulla mappa",select_csv_separator:"Seleziona il separatore",select_csv_x_field:"Seleziona il campo X",select_csv_y_field:"Seleziona il campo Y",select_color:"Seleziona il colore del Layer",drag_layer:"Trascina il layer in questa area"},query:{input_relation:"Clicca per consultare le relazioni"},length:{tooltip:"Lunghezza"},area:{tooltip:"Area"},screenshot:{error:"Errore nella creazione dello screenshot"}},catalog_items:{helptext:"Tasto destro sui singoli layer per accedere alle funzionalità aggiuntive",contextmenu:{zoomtolayer:"Zoom to Layer",open_attribute_table:"Apri tabella attributi",show_metadata:"Metadati",styles:"Stili",vector_color_menu:"Setta/Cambia Colore"}},dataTable:{previous:"Precedente",next:"Successivo",lengthMenu:"Visualizza _MENU_",info:"Visualizzazione _START_ a _END_ su _TOTAL_ righe",nodatafilterd:"Nessun risultato trovato",infoFiltered:"(Filtrati da _MAX_ total righe)"}}}},{}],366:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"Acest website foloseste cookie-uri pentru a furniza vizitatorilor o experiență mult mai bună de navigare",buttonText:"Am înțeles!"},"default":"Implicit",sign_in:"Logare",layer_selection_filter:{tools:{filter:"Adăugare/Eliminare Filtrare",nofilter:"Eliminare Filtrare",invert:"Inversare Selecție",clear:"Elimină Selecția",show_features_on_map:"Arată entitățile vizibile în cadrul hărții"}},warning:{not_supported_format:"Formatul nu este acceptat"},layer_position:{top:"SUS",bottom:"JOS",message:"Poziție relativă la straturile din TOC"},sdk:{search:{all:"Toate",no_results:"Fără rezultat",searching:"Căutare ...",error_loading:"Încărcarea a eșuat",layer_not_searchable:"Nu se poate căuta pe strat",layer_not_querable:"Stratul nu se poate interoga",autocomplete:{inputshort:{pre:"Te rog introdu",post:"sau mai multe caractere"}}},print:{no_layers:"Nu avem straturi de print",template:"Șablon",labels:"Etichete",scale:"Scară",format:"Format",rotation:"Rotație",download_image:"Descarcă Imaginea",fids_instruction:"Valori acceptate: de la 1 la valoarea [max]. Este posibilă inserarea de interval, de ex. 4-6",fids_example:"Ex. 1,4-6 vor fi tipărite id 1,4,5,6",help:"Straturile prezentate în print pot fi acelea definite în proiect și nu acelea prezentate în cadrul hărții"},querybuilder:{search:{run:"Execută",info:"Info","delete":"Elimină",edit:"Modifică"},messages:{changed:"Salvat",number_of_features:"Număr de entități"},panel:{button:{all:"TOATE",save:"SALVEAZĂ",test:"TEST",clear:"ȘTERGE",run:"RUN",manual:"MANUAL"},layers:"STRATURI",fields:"CÂMPURI",values:"VALORI",operators:"OPERATORI",expression:"EXPRESII"},error_run:"A survenit o eroare. De verificat interogarea",error_test:"A survenit o eroare în timp ce se executa interogarea","delete":"Vrei să o ștergi?",additem:"Introdu numele noii căutări"},errors:{layers:{load:"Câteva straturi nu sunt disponibile"},unsupported_format:"Formatul nu este acceptat",add_external_layer:"Eroare încărcare strat"},metadata:{title:"Metadate",groups:{general:{title:"GENERALITĂȚI",fields:{title:"TITLU",name:"NUME",description:"DESCRIERE","abstract":"ABSTRACT",keywords:"CUVINTE CHEIE",fees:"TAXE",accessconstraints:"CONSTRÂNGERI DE ACCES",contactinformation:"CONTACTE",subfields:{contactinformation:{ +contactelectronicmailaddress:"Email",personprimary:"Referințe",contactvoicetelephone:"Telefon",contactorganization:"Organizație",ContactOrganization:"Organizație",contactposition:"Poziție",ContactPosition:"Poziție",contactperson:"Persoana",ContactPerson:"Persoana"}},wms_url:"WMS"}},spatial:{title:"SPAȚIAL",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"STRATURI",fields:{layers:"STRATURI",subfields:{crs:"EPSG",bbox:"BBOX",title:"TITLU",name:"NUME",geometrytype:"GEOMETRIE",source:"SURSA",attributes:"ATRIBUTE","abstract":"ABSTRACT",attribution:"ATRIBUIRE",keywords:"CUVINTE CHEIE",metadataurl:"URL METADATE",dataurl:"URL DATE"}},groups:{general:"GENERALITĂȚI",spatial:"SPAȚIAL"}}}},tooltips:{relations:{form_to_row:"Vizualizare pe rânduri",row_to_form:"Vizualizare formular"},copy_map_extent_url:"Copiază linkul de vizualizare hartă",download_shapefile:"Descarcă Shapefile",download_gpx:"Descarcă GPX",download_gpkg:"Descarcă GPKG",download_csv:"Descarcă CSV",download_xls:"Descarcă XLS",show_chart:"Arată Diagrama",atlas:"Tipărire Atlas"},mapcontrols:{query:{tooltip:"Interogare strat",actions:{add_selection:{hint:"Adaugă/Elimină Selecția"},zoom_to_features_extent:{hint:"Zoom la încadrarea entităților"},add_features_to_results:{hint:"Adaugă/Elimină entități rezultat"},remove_feature_from_results:{hint:"Elimină entitate din rezultat"},zoom_to_feature:{hint:"Zoom la entitate"},relations:{hint:"Arată Relațiile"},relations_charts:{hint:"Arată diagrama de relații"},download_features_shapefile:{hint:"Descarcă entități în Shapefile"},download_shapefile:{hint:"Descarcă entitate în Shapefile"},download_features_gpx:{hint:"Descarcă entități în GPX"},download_features_gpkg:{hint:"Descarcă entități în GPKG"},download_gpx:{hint:"Descarcă entitate în GPX"},download_gpkg:{hint:"Descarcă entitate în GPKG"},download_features_csv:{hint:"Descarcă entități în CSV"},download_csv:{hint:"Descarcă entitate în CSV"},download_features_xls:{hint:"Descarcă entități în XLS"},download_xls:{hint:"Descarcă entitate în XLS"},atlas:{hint:"Tipărire Atlas"},copy_zoom_to_fid_url:{hint:"Copiază URL hartă cu întinderea geometriei entității",hint_change:"Copiat"}}},querybypolygon:{download:{title:"Descărcare atribute",choiches:{feature:{label:"Doar entități"},feature_polygon:{label:"Entități+Poligon Interogare"}}},tooltip:"Interogare După Poligon",no_geometry:"Nu avem geometrii în răspuns",help:{title:"Ghid - Interogare După Poligon",message:"\n
    \n
  • Selectează un strat poligon din TOC.
  • \n
  • Asigură-te că stratul este vizibil.
  • \n
  • Click pe o entitate a stratului selectat.
  • \n
"}},querybybbox:{tooltip:"Interogare BBox strat",nolayers_visible:"Nu este vizibil niciun strat de interogare. Trebuie setat cel puțin un strat WFS vizibil pentru a efectua interogarea",help:{title:"Ghid - Interogare BBox strat",message:"\n
    \n
  • Desenează un pătrat pe hartă pentru a interoga straturile din TOC de sub
  • \n
"}},addlayer:{messages:{csv:{warning:"Rezultateul pe hartă este parțial datorită prezenței următoarei liste de rezultate incorecte:"}},tooltip:"Adaugă Strat"},geolocation:{tooltip:"Geolocalizare"},measures:{length:{tooltip:"Lungime",help:"Click pe hartă pentru a desena linia. Apasă
CANC dacă dorești să ștergi ultimul vertex"},area:{tooltip:"Aria",help:"Click pentru desen poligon. Apasă
CANC dacă dorești să ștergi ultimul vertex"}},scale:{no_valid_scale:"Scară Invalidă"},scaleline:{units:{metric:"Metri",nautical:"Mile Nautice"}}},relations:{relation_data:"Date Relații",no_relations_found:"Nu am găsit nicio relație",back_to_relations:"Înapoi la relații",list_of_relations_feature:"Lista de relații a entității",error_missing_father_field:"Câmpul de legătură lipsește"},workflow:{steps:{title:"Pași"},next:"Următorul"},form:{loading:"Se încarcă ...",inputs:{messages:{errors:{picklayer:"Nu avem entitate selectată. Verifică dacă stratul este în editare sau vizibil la scara curentă if layer is on editing or visible at current scale"}},tooltips:{picklayer:"Ia valoare din strat",lonlat:"Click pe hartă pentru a prelua coordonate"},input_validation_mutually_exclusive:"Câmp ce se exclude mutual cu ",input_validation_error:"Câmp mandatoriu sau tip de date greșit",input_validation_min_field:"Valoarea trebuie să fie mai mare/egală cu valoare câmpului ",input_validation_max_field:"Valoarea trebuie să fie mai mică/egală cu valoare câmpului ",input_validation_exclude_values:"Valoarea trebuie să fie unică",integer:"integer - nr. întreg",bigint:"integer - nr. întreg",text:"text",varchar:"text",textarea:"text",string:"string - text",date:"data",datetime:"data","float":"float - nr. cu zecimale",table:"tabelă"},footer:{required_fields:"Câmpuri necesare"},messages:{qgis_input_widget_relation:"Folosește formular specific de relații pentru a lucra cu relația"}},catalog:{current_map_theme_prefix:"TEMA",choose_map_theme:"ALEGE TEMA",menu:{layerposition:"Poziție Strat",setwmsopacity:"Alege Opacitatea",wms:{title:"Titlu",copy:"Click pentru copiere URL",copied:"Copiat"},download:{shp:"Descarcă Shapefile",gpx:"Descarcă GPX",gpkg:"Descarcă GPKG",csv:"Descarcă CSV",xls:"Descarcă XLS",geotiff:"Descarcă GEOTIFF",geotiff_map_extent:"Descarcă GEOTIFF(ce se vede în cadrul hărții)"}}},wps:{list_process:"Lista de procese",tooltip:"Click pe hartă"}},credits:{g3wSuiteFramework:"Aplicație bazată pe frameworkul",g3wSuiteDescription:"Publică și administrează proiectele de QGIS pe WEB",productOf:"Framework dezvoltat de"},toggle_color_scheme:"Comutare schemă de culori",logout:"Deconectare",no_other_projects:"No more project for this group",yes:"Da",no:"Nu",back:"Înapoi",backto:"Înapoi la ",changemap:"Schimbare Hartă",component:"Componentă Generică",search:"Căutare",no_results:"Niciun rezultat găsit",print:"Tipărire",create_print:"Tipărește",dosearch:"Caută",catalog:"Hartă",data:"Data",externalwms:"WMS",baselayers:"Straturi Bază",tools:"Instrumente",tree:"Straturi",legend:"Legendă",nobaselayer:"Fără strat de bază",street_search:"Caută Adresă",show:"Arată",hide:"Ascunde",copy_form_data:"Copiază data",paste_form_data:"Lipește",copy_form_data_from_feature:"Copiază data din hartă",error_map_loading:"Sunt erori la încărcarea hărții",check_internet_connection_or_server_admin:"Verificați conexiune de internet sau contactați administratorul de sistem",could_not_load_vector_layers:"Eroare de conexiune: Straturile nu pot fi încărcate",server_saver_error:"Eroare la salvarea pe server",server_error:"Eroare de conexiune la server",save:"Salvează",cancel:"Anulează",close:"Închide",enlange_reduce:"Mărește/Micșorează",reset_default:"Mărimea implicită",add:"Adaugă",exitnosave:"Ieșire fără salvare",annul:"Anulează",layer_is_added:"Există un strat cu același nume deja adăugat",sidebar:{wms:{panel:{title:"Adaugă strat WMS",label:{position:"Poziție Hartă",name:"Nume",projections:"Proiecție",layers:"Straturi"}},add_wms_layer:"Adaugă strat WMS",delete_wms_url:"Șterge URL WMS",layer_id_already_added:"Strat WMS deja adăugat",url_already_added:"URL WMS deja adăugat",layer_add_error:"Stratul WMS nu s-a adăugat. Verificați URL-ul sau parametrii WMS"}},info:{title:"Rezultate",list_of_relations:"List of Relations",open_link:"Deschide document atașat",server_error:"Serverul a întâmpinat o eroare",no_results:"Niciun rezultat",link_button:"Deschide"},mapcontrols:{geolocations:{error:"Nu te-am putut localiza"},nominatim:{placeholder:"Adresa ...",noresults:"Niciun rezultat",notresponseserver:"Niciun răspuns de la server"},add_layer_control:{header:"Adăugare Strat",select_projection:"Selectează proiecția strat",select_field_to_show:"Selectează câmpul de arătat pe hartă",select_csv_separator:"Selectează delimitatorul",select_csv_x_field:"Selectează câmpul X - Est",select_csv_y_field:"Selectează câmpul Y - Nord",select_color:"Selectează culoare strat",drag_layer:"Trageți stratul aici (Drag&Drop)"},query:{input_relation:"Click pentru a arăta relațiile"},length:{tooltip:"Lungime"},area:{tooltip:"Arie"},screenshot:{error:"Eroare captură ecran"}},catalog_items:{helptext:"Click dreapta pe strat pentru a accesa opțiuni",contextmenu:{zoomtolayer:"Zoom pe Strat",open_attribute_table:"Deschide Tabela Atribute",show_metadata:"Metadate",styles:"Stiluri",vector_color_menu:"Setează/Schimbă Culoare"}},dataTable:{previous:"Anteriorul",next:"Următorul",lengthMenu:"Arată _MENU_",info:"Arată _START_ până la _END_ din _TOTAL_ de intrări",no_data:"Fără date",nodatafilterd:"Niciun rezultat",infoFiltered:"(filtrat din _MAX_ de rezultate totale)"}}}},{}],367:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={translation:{cookie_law:{message:"This website uses cookies to ensure you get the best experience on our website.",buttonText:"Got It!"},"default":"standard",sign_in:"Logga in",layer_selection_filter:{tools:{filter:"Lägg till/Avlägsna Filtrera",nofilter:"Avlägsna Filtrera",invert:"Invertera Urval",clear:"Annullera Urval",show_features_on_map:"Visa funktioner som är synliga på kartan"}},warning:{not_supported_format:"Not supported format"},layer_position:{top:"TOP",bottom:"BOTTOM",message:"Position relative to layers on TOC"},sdk:{search:{all:"ALLA",no_results:"Inga resultat",searching:"Sökning ...",error_loading:"Fel vid laddning av uppgifter.",layer_not_searchable:"Nivån kan inte sökas.",layer_not_querable:"Förfrågningar kan inte göras på nivån.",autocomplete:{inputshort:{pre:"Mata in",post:"eller flera tecken"}}},print:{no_layers:"Inga nivåer att skriva ut",template:"Template",labels:"Labels",scale:"Skala",format:"Format",rotation:"Rotation",download_image:"Ladda ner bild",fids_instruction:"Godkända värden: Från ett till värdet [max]. Mellanslag tillåts, t.ex. 4-6.",fids_example:"Exempelvis 1,4-6 skriver ut id 1,4,5,6.",help:"Nivåerna på utskriften kan vara specificerade i ett projekt inte sådana som visas på karta."},querybuilder:{search:{run:"Utför",info:"Information","delete":"Ta bort",edit:"Redigera"},messages:{changed:"Sparat",number_of_features:"Antal funktione"},panel:{button:{all:"ALLA",save:"SPARA",test:"TEST",clear:"TÖM",run:"UTFÖR",manual:"MANUELL"},layers:"NIVÅER",fields:"FÄLT",values:"VÄRDEN",operators:"OPERATÖRER",expression:"KLAUSUL"},error_run:"Ett fel inträffade. Kontrollera förfrågan.",error_test:"Ett fel inträffade när förfrågan utfördes.","delete":"Vill du ta bort den?",additem:"Ge den nya sökningen ett namn."},errors:{layers:{load:"Vissa nivåer är inte tillgängliga."},unsupported_format:"Formatet stöds inte",add_external_layer:"Fel vid laddning av nivån"},metadata:{title:"Metadata",groups:{general:{title:"ALLMÄN",fields:{title:"RUBRIK",name:"NAMN",description:"BESKRIVNING","abstract":"SAMMANDRAG",keywords:"NYCKELORD",fees:"AVGIFTER",accessconstraints:"ÅTKOMSTBEGRÄNSNINGAR",contactinformation:"KONTAKTUPPGIFTER",subfields:{contactinformation:{contactelectronicmailaddress:"E-post",personprimary:"Referenser",contactvoicetelephone:"Telefon",contactorganization:"Organisation",ContactOrganization:"Organisation",contactposition:"Ställning",ContactPosition:"Ställning",contactperson:"Kontaktperson",ContactPerson:"Kontaktperson"}},wms_url:"WMS"}},spatial:{title:"SPATIAL",fields:{crs:"EPSG",extent:"BBOX"}},layers:{title:"NIVÅER",fields:{layers:"NIVÅER",subfields:{crs:"EPSG",bbox:"BBOX",title:"RUBRIK",name:"NAMN",geometrytype:"GEOMETRI",source:"KÄLLA",attributes:"ATTRIBUT","abstract":"SAMMANDRAG",attribution:"TILLSKRIVNING",keywords:"NYCKELORD",metadataurl:"METADATA URL",dataurl:"DATA URL"}},groups:{general:"ALLMÄN",spatial:"SPATIAL"}}}},tooltips:{relations:{form_to_row:"Radvy",row_to_form:"Tabellvy"},copy_map_extent_url:"Kopiera länk till karta",download_shapefile:"Ladda SHP-fil",download_gpx:"Ladda GPX-fil",download_gpkg:"Ladda GPKG-fil",download_csv:"Ladda CSV-fil",download_xls:"Ladda XLS-fil",show_chart:"Visa diagram",atlas:"Skriv ut Atlas"},mapcontrols:{query:{tooltip:"Förfrågningsnivå",actions:{add_selection:{hint:"Lägg till/Avlägsna Urval"},zoom_to_features_extent:{hint:"Zooma till egenskapens omfattning"},add_features_to_results:{hint:"Add/Remove features to results"},remove_feature_from_results:{hint:"Remove feature from results"},zoom_to_feature:{hint:"Zooma till egenskapen"},relations:{hint:"Visa relationerna"},relations_charts:{hint:"Visa relationsdiagrammet"},download_features_shapefile:{hint:"Ladda egenskapens SHP-fil"},download_shapefile:{hint:"Ladda egenskapens SHP-fil"},download_features_gpx:{hint:"Ladda egenskapens GPX-fil"},download_features_gpkg:{hint:"Ladda egenskapens GPKG-fil"},download_gpx:{hint:"Ladda egenskapens GPX-fil"},download_gpkg:{hint:"Ladda egenskapens GPKG-fil"},download_features_csv:{hint:"Ladda egenskapens CSV-fil"},download_csv:{hint:"Ladda egenskapens CSV-fil"},download_features_xls:{hint:"Ladda egenskapens XLS-fil"},download_xls:{hint:"Ladda egenskapens XLS-fil"},atlas:{hint:"Skriv ut Atlas"},copy_zoom_to_fid_url:{hint:"Copy map URL with this geometry feature extension",hint_change:"Copied"}}},querybypolygon:{download:{title:"Attributes download",choiches:{feature:{label:"Features only"},feature_polygon:{label:"Features+Query Polygon"}}},tooltip:"Förfrågan med polygon",no_geometry:"No geometry on response",help:{title:"Ohje - Förfrågan med polygon",message:"\n
    \n
  • Välj polygonnivå i listan.
  • \n
  • Kontrollera att nivån är synlig.
  • \n
  • Välj egenskap på önskad nivå.
  • \n
"}},querybybbox:{tooltip:"BBox-förfrågan som riktar sig till en nivå",nolayers_visible:"Inga nivåer som förfrågningar kan riktas till. Gör minst en WFS-nivå synlig för att kunna utföra sökningen.",help:{title:"Ohje - BBox-förfrågan som riktar sig till nivån",message:"\n
    \n
  • Rita upp en rektangel på kartan för att utföra förfrågan på de i listan understreckade nivåerna.
  • \n
"}},addlayer:{messages:{csv:{warning:"The result in the map is partial due to the presence of the below incorrect records list:"}},tooltip:"Lägg till nivå"},geolocation:{tooltip:"Geografiskt läge"},measures:{length:{tooltip:"Längd",help:"Rita upp en bruten linje på kartan. Tryck
CANC, om du vill ta bort föregående punkt."},area:{tooltip:"Område",help:"Rita upp en polygon på kartan. Tryck
CANC, om du vill ta bort föregående punkt."}},scale:{no_valid_scale:"Fel skala"},scaleline:{units:{metric:"Meters",nautical:"Nautical Mile"}}},relations:{relation_data:"Relationsuppgifter",no_relations_found:"Inga relationer hittades.",back_to_relations:"Tillbaka till relationerna",list_of_relations_feature:"Lista på egenskapens relationer",error_missing_father_field:"Fält saknas"},workflow:{steps:{title:"Skeden"},next:"Nästa"},form:{loading:"Laddning...",inputs:{messages:{errors:{picklayer:"Inga egenskaper har valts. Kontroller att nivån kan redigeras eller att den syns med nuvarande skala."}},tooltips:{picklayer:"Välj värde på kartnivå",lonlat:"Click on map to get coordinates"},input_validation_mutually_exclusive:"Fälten utesluter varandra.",input_validation_error:"Obligatoriskt fält eller fel datatyp.",input_validation_min_field:"Värdet ska vara större eller lika stort som värdet i fältet.",input_validation_max_field:"Värdet ska vara mindre eller lika stort som värdet i fältet.",input_validation_exclude_values:"Värdet ska vara unikt.",integer:"heltal",bigint:"heltal",text:"text",varchar:"text",textarea:"text",string:"teckensträng",date:"datum",datetime:"datum","float":"flyttal",table:"tabell"},footer:{required_fields:"Obligatoriska fält"},messages:{qgis_input_widget_relation:"Använd den specifika funktinen för att bestämma relationer"}},catalog:{current_map_theme_prefix:"THEME",choose_map_theme:"CHOOSE THEME",menu:{layerposition:"Layer Position",setwmsopacity:"Set Opacity",wms:{title:"",copy:"Tryck här för att kopiera url.",copied:"Kopierad."},download:{shp:"Ladda SHP-fil",gpx:"Ladda GPX-fil",gpkg:"Ladda GPKG-fil",csv:"Ladda CSV-fil",xls:"Ladda XLS-fil",geotiff:"Ladda GEOTIFF-fil",geotiff_map_extent:"Ladda GEOTIFF-fil(current view extent)"}}},wps:{list_process:"Lista på processer",tooltip:"Välj på kartan"}},credits:{g3wSuiteFramework:"Tillämpningen baserar på OS framework",g3wSuiteDescription:"Publicera och hantera QGIS-projekt på nätet.",productOf:"Framework har utvecklats av"},toggle_color_scheme:"Toggle color scheme",logout:"Logga ut",no_other_projects:"Inga projekt för denna grupp",yes:"Ja",no:"Nej",back:"Gå tillbaka",backto:"Tillbaka ",changemap:"Byt karta",component:"Allmän komponent",search:"Sök",no_results:"Inga sökresultat",print:"Skriv ut",create_print:"Skapa utskrift",dosearch:"Sök",catalog:"Karta",data:"Data",externalwms:"WMS",baselayers:"Bakgrundskarta",tools:"Verktyg",tree:"Nivåer",legend:"Förklaring till beteckningarna",nobaselayer:"Ingen bakgrundskarta",street_search:"Sök adress",show:"Visa",hide:"Dölj",copy_form_data:"Kopiera uppgifterna",paste_form_data:"Infoga",copy_form_data_from_feature:"Kopiera uppgifter från kartan",error_map_loading:"Fel vid laddning av kartan",check_internet_connection_or_server_admin:"Kontrollera internetanslutningen eller kontakta administratören.",could_not_load_vector_layers:"Fel i anslutningen, nivåer kan inte laddas.",server_saver_error:"Fel vid lagring på servern.",server_error:"Fel på anslutningen till servern",save:"Spara",cancel:"Ånga",close:"Stäng",enlange_reduce:"Enlarge/Reduce",reset_default:"Default size",add:"Lägg till",exitnosave:"Lämna programmet utan att spara",annul:"Ångra",layer_is_added:"Lagret med samma namn har redan lagts till.",sidebar:{wms:{panel:{title:"Add WMS Layer",label:{position:"Map Position",name:"Name",projections:"Projection",layers:"Layers"}},add_wms_layer:"Aggiungi WMS layer",delete_wms_url:"Delete WMS url",layer_id_already_added:"WMS Nivån har redan lagts till.",url_already_added:"WMS URL har redan lagts till.",layer_add_error:"WMS Layer not added. Please check all wms parameter or url"}},info:{title:"Resultat",list_of_relations:"List of Relations",open_link:"Öppna filbilaga",server_error:"Ett fel uppstod på servern.",no_results:"Inga resultat för sökningen/förfrågan.",link_button:"Öppna"},mapcontrols:{geolocations:{error:"Du kan inte lokaliseras"},nominatim:{placeholder:"Adress ...",noresults:"Inga resultat",notresponseserver:"Inget svar från servern"},add_layer_control:{header:"Lägg till nivå",select_projection:"Välj projektion för nivån",select_field_to_show:"Select Field to show on map",select_csv_separator:"Select delimiter",select_csv_x_field:"Select X field",select_csv_y_field:"Select Y field",select_color:"Välj färg på nivån",drag_layer:"Dra och släpp nivån hit"},query:{input_relation:"Tryck för att visa relationerna"},length:{tooltip:"Längd"},area:{tooltip:"Areal"},screenshot:{error:"Screenshot error creation"}},catalog_items:{helptext:"Högerklicka på en enskild nivå för att komma till tilläggsegenskaperna.",contextmenu:{zoomtolayer:"Zooma till nivå",open_attribute_table:"Öppna attributtabellen",show_metadata:"Metadata",styles:"Stilar",vector_color_menu:"Ställ in/ändra färg"}},dataTable:{previous:"Föregående",next:"Nästa",lengthMenu:"Show _MENU_ items",info:"Showing _START_ to _END_ of _TOTAL_ entries",no_data:"Inga uppgifter",nodatafilterd:"Inga motsvarande poster hittades",infoFiltered:"(filtered from _MAX_ total records)"}}}},{}],368:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/catalog/cataloglayersstoresregistry");r["default"]={methods:{autocompleteRequest:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=n.layerId,o=n.field,s=n.value;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=[],t=i.getLayerById(a),r.prev=2,r.next=5,t.getFilterData({suggest:o+"|"+s,unique:o});case 5:e=r.sent,r.next=10;break;case 8:r.prev=8,r.t0=r["catch"](2);case 10:return r.abrupt("return",e.map(function(e){return{id:e,text:e}}));case 11:case"end":return r.stop()}},r,this,[[2,8]])}));return e}()}}},{"core/catalog/cataloglayersstoresregistry":9}],369:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={computed:{tabIndex:function(){return this.editable?0:-1},notvalid:function(){return this.state.validate.valid===!1},editable:function(){return this.state.editable},showhelpicon:function(){return this.state.help&&this.state.help.message.trim()},disabled:function(){return!this.editable||"loading"===this.loadingState||"error"===this.loadingState},loadingState:function(){return this.state.input.options.loading?this.state.input.options.loading.state:null}},methods:{showHideHelp:function(){this.state.help.visible=!this.state.help.visible},mobileChange:function(e){this.state.value=e.target.value,this.change()},change:function(){this.service.setEmpty(),this.service.setUpdate(),(this.state.validate.required||this.state.validate.unique)&&this.service.validate(),this.$emit("changeinput",this.state)},isVisible:function(){}}}},{}],370:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={methods:{getFieldService:function(){return void 0===this._fieldsService&&(this._fieldsService=e("gui/fields/fieldsservice")),this._fieldsService},getFieldType:function(e){return this.getFieldService().getType(e)},isSimple:function(e){return this.getFieldService().isSimple(e)},isLink:function(e){return this.getFieldService().isLink(e)},isImage:function(e){return this.getFieldService().isImage(e)},isPhoto:function(e){return this.getFieldService().isPhoto(e)},isVue:function(e){return this.getFieldService().isVue(e)},sanitizeFieldValue:function(e){return Array.isArray(e)&&!e.length?"":e}}}},{"gui/fields/fieldsservice":146}],371:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={data:function(){return{valid:!1}},methods:{addToValidate:function(e){this.tovalidate.push(e)},changeInput:function(e){this.isValid(e)},isValid:function(e){var t=this;if(e)if(e.validate.mutually){if(!e.validate.required)if(e.validate.empty){e.value=null,e.validate.mutually_valid=!0,e.validate.valid=!0,e.validate._valid=!0;for(var r=[],n=e.validate.mutually.length;n--;){var i=e.validate.mutually[n];!this.tovalidate[i].validate.empty&&r.push(i)}r.length<2&&r.forEach(function(e){t.tovalidate[e].validate.mutually_valid=!0,t.tovalidate[e].validate.valid=!0,setTimeout(function(){t.tovalidate[e].validate.valid=t.tovalidate[e].validate._valid,t.state.valid=t.state.valid&&t.tovalidate[e].validate.valid})})}else e.validate._valid=e.validate.valid,e.validate.mutually_valid=e.validate.mutually.reduce(function(e,r){return e&&t.tovalidate[r].validate.empty},!0),e.validate.valid=e.validate.mutually_valid&&e.validate.valid}else if(!e.validate.empty&&(e.validate.min_field||e.validate.max_field)){var a=e.validate.min_field||e.validate.max_field;e.validate.valid=e.validate.min_field?this.tovalidate[e.validate.min_field].validate.empty||1*e.value>1*this.tovalidate[e.validate.min_field].value:this.tovalidate[e.validate.max_field].validate.empty||1*e.value<1*this.tovalidate[e.validate.max_field].value,e.validate.valid&&(this.tovalidate[a].validate.valid=!0)}this.valid=Object.values(this.tovalidate).reduce(function(e,t){return e&&t.validate.valid},!0)}},created:function(){this.tovalidate=[]},destroyed:function(){this.tovalidate=null}}},{}],372:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("gui/gui");r["default"]={methods:{showLayer:function(){this.visible=!this.visible,this.layer.setVisible(this.visible)}},created:function(){var e=this.data,t=n.getComponent("map").getService(),r=t.getProjection().getCode(),i=void 0;switch(e.type){case"Point":case"MultiPoint":i=[new ol.style.Style({image:new ol.style.Circle({radius:6,fill:new ol.style.Fill({color:[255,255,255,1]}),stroke:new ol.style.Stroke({color:[0,0,0,1],width:2})})}),new ol.style.Style({image:new ol.style.Circle({radius:2,fill:new ol.style.Fill({color:[255,255,255,1]}),stroke:new ol.style.Stroke({color:[0,0,0,1],width:2})})})];break;case"Line":case"MultiLineString":case"Polygon":case"MultiPolygon":i=new ol.style.Style({fill:new ol.style.Fill({color:"rgba(255, 255, 255, 0.3)"}),stroke:new ol.style.Stroke({color:[0,0,0,1],width:2})})}this.layer=new ol.layer.Vector({source:new ol.source.Vector({features:(new ol.format.GeoJSON).readFeatures(e,{featureProjection:r})}),visible:!!this.visible,style:i}),t.getMap().addLayer(this.layer)},beforeDestroy:function(){var e=n.getComponent("map").getService();e.getMap().removeLayer(this.layer)}}},{"gui/gui":150}],373:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0}),r.mixins=void 0;var i=e("mixins/autocomplete"),a=n(i),o=e("mixins/fields"),s=n(o),l=e("mixins/media"),u=n(l),c=e("mixins/geo"),d=n(c),p=e("mixins/resize"),f=n(p),h=e("mixins/select"),v=n(h),g=e("mixins/select2"),m=n(g),y=e("mixins/form-inputs"),_=n(y),b=e("mixins/widget"),w=n(b),x=e("mixins/metadata"),S=n(x),C=e("mixins/base-input"),L=n(C),k={autocompleteMixin:a["default"],fieldsMixin:s["default"],mediaMixin:u["default"],geoMixin:d["default"],resizeMixin:f["default"],selectMixin:v["default"],select2Mixin:m["default"],formInputsMixins:_["default"],widgetMixins:w["default"],metadataMixin:S["default"],baseInputMixin:L["default"]};r.mixins=k,r["default"]=k},{"mixins/autocomplete":368,"mixins/base-input":369,"mixins/fields":370,"mixins/form-inputs":371,"mixins/geo":372,"mixins/media":374,"mixins/metadata":375,"mixins/resize":376,"mixins/select":377,"mixins/select2":378,"mixins/widget":379}],374:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r["default"]={computed:{filename:function(){return this.value?this.value.split("/").pop():this.value}},methods:{isMedia:function(e){return!(!e||"object"!==("undefined"==typeof e?"undefined":n(e))||e.constructor!==Object)&&!!e.mime_type},getMediaType:function(e){var t={type:null,options:{}};switch(e){case"image/gif":case"image/png":case"image/jpeg":case"image/bmp":t.type="image";break;case"application/pdf":t.type="pdf";break;case"video/mp4":case"video/ogg":case"video/x-ms-wmv":case"video/x-msvideo":case"video/quicktime":t.type="video",t.options.format=e;break;case"application/gzip":case"application/zip":t.type="zip";break;case"application/msword":case"application/vnd.oasis.opendocument.text":t.type="text";break;case"application/vnd.ms-office":case"application/vnd.oasis.opendocument.spreadsheet":t.type="excel";break;case"application/vnd.openxmlformats-officedocument.presentationml.presentation":case"application/vnd.ms-powerpoint":case"application/vnd.oasis.opendocument.presentation":t.type="ppt";break;default:t.type="unknow"}return t}}}},{}],375:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={methods:{findAttributeFormMetadataAttribute:function(e){return!!this.state.metadata&&void 0!==this.state.metadata[e]},findMetadataAttribute:function(e){return void 0!==this.state[e]}}}},{}],376:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("gui/gui"),a=e("core/utils/utils"),o=a.throttle,s=a.debounce,l={throttle:o,debounce:s};r["default"]={created:function(){var e=this.delayType&&l[this.delayType]||l.throttle;this.delayResize=this.resize?e(this.resize.bind(this),this.delayTime):null,i.on("resize",this.delayResize)},mounted:function(){function e(){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.resize&&this.resize();case 3:case"end":return e.stop()}},r,this)}));return e}(),beforeDestroy:function(){i.off("resize",this.delayResize),this.delayResize=null,this.delayTime=null}}},{"core/utils/utils":92,"gui/gui":150}],377:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/i18n/i18n.service"),a=i.getAppLanguage;r["default"]={methods:{getLanguage:function(){return a()},changeSelect:function(e){this.state.value="null"===e?null:e,this.change()},getValue:function(e){return null===e?"null":e},resetValues:function(){this.state.input.options.values.splice(0)}},computed:{autocomplete:function(){return"select_autocomplete"===this.state.input.type&&this.state.input.options.usecompleter}},watch:{notvalid:function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.select2&&(e?this.select2.data("select2").$container.addClass("input-error-validation"):this.select2.data("select2").$container.removeClass("input-error-validation"));case 3:case"end":return t.stop()}},r,this)}));return e}()}}},{"core/i18n/i18n.service":27}],378:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationstate"),a=n(i),o=e("mixins/resize"),s=n(o);r["default"]={mixins:[s["default"]],methods:{setValue:function(){this.select2.val(this.state.value).trigger("change")},resize:function(){this.select2&&!a["default"].ismobile&&this.select2.select2("close")}},beforeDestroy:function(){this.select2&&this.select2.select2("destroy"),this.select2.off(),this.select2=null}}},{"core/applicationstate":8,"mixins/resize":376}],379:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]={data:function(){return{changed:!1}},methods:{widgetChanged:function(){this.changed=!0,this.change()},stateValueChanged:function(e){}},watch:{"state.value":function(e){this.changed?this.changed=!1:this.stateValueChanged(e)}}}},{}],380:[function(e,t,r){function n(){this._config=null,this._baseUrl=null,this.init=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=$.Deferred();return this._config=e,this._baseUrl=e.urls.api,this._apiEndpoints=e.urls.apiEndpoints,t.resolve(),t.promise()};var e=0;this._incrementLoaders=function(){0===e&&this.emit("apiquerystart"),e+=1},this._decrementLoaders=function(){e-=1,0===e&&this.emit("apiqueryend")},this.get=function(e,t){var r=this,n=this._apiEndpoints[e];if(n){var i=this._baseUrl+"/"+n;t.request&&(i=i+"/"+t.request);var a=t.params||{};return this.emit(e+"querystart"),this._incrementLoaders(),$.get(i,a).done(function(t){return r.emit(e+"queryend",t),t}).fail(function(t){return r.emit(e+"queryfail",t),t}).always(function(){return r._decrementLoaders()})}return s()},a(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/utils/utils"),a=i.base,o=i.inherit,s=i.reject,l=e("core/g3wobject");o(n,l),r["default"]=new n},{"core/g3wobject":26,"core/utils/utils":92}],381:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){ +try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}Object.defineProperty(r,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.gid,r=e.host;return this._changeProject({gid:t,host:r})},online:function(){this.setOnline()},offline:function(){this.setOffline()},setFilterToken:function(e){this._setFilterToken(e)}},v(this),this.on("initconfig",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.user;t.setApplicationUser(r)}),this.init=i(regeneratorRuntime.mark(function r(){var e,t,n;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,this.createApplicationConfig();case 3:return e=r.sent,this.setConfig(e),this.setLayout("app",e.layout),r.next=8,this.bootstrap();case 8:return r.abrupt("return",r.sent);case 11:return r.prev=11,r.t0=r["catch"](0),t=navigator&&navigator.language||"en",n=s["default"].supportedLng.find(function(e){return t.indexOf(e)!==-1}),r.abrupt("return",Promise.reject({error:r.t0,language:n}));case 16:case"end":return r.stop()}},r,this,[[0,11]])})),this.setupI18n=function(){var e=this._config._i18n;e.appLanguages=this._config.i18n.map(function(e){return e[0]}),this.setApplicationLanguage(e.lng),p(e),this._groupId=this._config.group.slug||this._config.group.name.replace(/\s+/g,"-").toLowerCase();var t=this._config.user.i18n||"en";$.ajaxSetup({beforeSend:function(e){e.setRequestHeader("Accept-Language",t)}})},this.getCurrentProject=function(){return S.getCurrentProject()},this.setDownload=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];return t?!e&&t&&this.download_caller_id===t?(c["default"].download=!1,this.download_caller_id=null):e&&null===this.download_caller_id&&(c["default"].download=e,this.download_caller_id=y()):c["default"].download=e,this.download_caller_id},this.getDownload=function(){return c["default"].download},this.loadingPlugin=function(e){c["default"].plugins.push(e)},this.loadedPlugin=function(e){c["default"].plugins=c["default"].plugins.filter(function(t){return t!==e})},this._setFilterToken=function(e){c["default"].tokens.filtertoken=e},this.getFilterToken=function(){return c["default"].tokens.filtertoken},this.changeLanguage=function(e){f(e),c["default"].lng=e;var t=window.location.pathname,r=t.split("/");r[1]=e,history.replaceState(null,null,r.join("/"))},this.registerOnlineOfflineEvent=function(){var e=this;this.registerWindowEvent({evt:"online",cb:function(){return e.online()}}),this.registerWindowEvent({evt:"offline",cb:function(){return e.offline()}})},this.getBaseLayerId=function(){return c["default"].baseLayerId},this.setBaseLayerId=function(e){c["default"].baseLayerId=e},this.registerLeavePage=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bool,r=void 0!==t&&t,n=(e.message,r?r:void 0);window.onbeforeunload=function(e){return n}},this.unregisterOnlineOfflineEvent=function(){window.removeEventListener("online"),window.removeEventListener("offline")},this.getState=function(){return c["default"]},this.disableApplication=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c["default"].gui.app.disabled=e},this.setApplicationLanguage=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";c["default"].lng=e},this.getApplicationLanguage=function(){return c["default"].lng},this.setOnline=function(){c["default"].online=!0},this.setOffline=function(){c["default"].online=!1},this.isOnline=function(){return c["default"].online},this.setOfflineItem=function(){var e=i(regeneratorRuntime.mark(function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.setLocalItem({id:e,data:r});case 1:case"end":return t.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.setLocalItem=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,r=e.data;try{var n=JSON.stringify(r);window.localStorage.setItem(t,n)}catch(i){return i}},this.removeLocalItem=function(e){window.localStorage.removeItem(e)},this.getLocalItem=function(e){var t=window.localStorage.getItem(e);return t?JSON.parse(t):void 0},this.getOfflineItem=function(e){return this.getLocalItem(e)},this.removeOfflineItem=function(e){this.removeLocalItem(e)},this.isIframe=function(){return c["default"].iframe},this.getConfig=function(){return this._config},this.setConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._config=e},this.getRouterService=function(){return w},this.getProxyUrl=function(){return""+this._initConfig.proxyurl},this.getInterfaceOwsUrl=function(){return""+this._initConfig.interfaceowsurl},this.getClipboardService=function(){return L},this.createApplicationConfig=function(){var e=i(regeneratorRuntime.mark(function t(e){var r;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=a({},s["default"]),t.prev=1,!e){t.next=6;break}t.t0=e,t.next=9;break;case 6:return t.next=8,this.obtainInitConfig({initConfigUrl:""+s["default"].server.urls.initconfig});case 8:t.t0=t.sent;case 9:return e=t.t0,this.baseurl=e.baseurl,r.server.urls.baseurl=e.baseurl,r.server.urls.frontendurl=e.frontendurl,r.server.urls.staticurl=e.staticurl,r.server.urls.clienturl=e.staticurl+e.client,r.server.urls.mediaurl=e.mediaurl,r.server.urls.vectorurl=e.vectorurl,r.server.urls.proxyurl=e.proxyurl,r.server.urls.rasterurl=e.rasterurl,r.server.urls.interfaceowsurl=e.interfaceowsurl,r.main_map_title=e.main_map_title,r.group=e.group,r.user=e.user,r.credits=e.credits,r.i18n=e.i18n,r._i18n.lng=r.user.i18n,r.group.layout.iframe=window.top!==window.self,t.abrupt("return",{apptitle:r.apptitle||"",logo_img:r.group.header_logo_img,logo_link:r.group.header_logo_link,terms_of_use_text:r.group.header_terms_of_use_text,terms_of_use_link:r.group.terms_of_use_link,header_custom_links:r.group.header_custom_links,debug:r.client.debug||!1,group:r.group,urls:r.server.urls,mediaurl:r.server.urls.mediaurl,resourcesurl:r.server.urls.clienturl,vectorurl:r.server.urls.vectorurl,rasterurl:r.server.urls.rasterurl,interfaceowsurl:r.server.urls.interfaceowsurl,projects:r.group.projects,initproject:r.group.initproject,overviewproject:r.group.overviewproject&&r.group.overviewproject.gid?r.group.overviewproject:null,baselayers:r.group.baselayers,mapcontrols:r.group.mapcontrols,background_color:r.group.background_color,crs:r.group.crs,minscale:r.group.minscale,maxscale:r.group.maxscale,main_map_title:r.main_map_title,credits:r.credits,_i18n:r._i18n,i18n:r.i18n,layout:r.group.layout||{},getWmsUrl:function(e){return r.server.urls.baseurl+r.server.urls.ows+"/"+r.group.id+"/"+e.type+"/"+e.id+"/"},getProjectConfigUrl:function(e){return r.server.urls.baseurl+r.server.urls.config+"/"+r.group.id+"/"+e.type+"/"+e.id+"?_t="+e.modified},plugins:r.group.plugins,tools:r.tools,views:r.views||{},user:r.user||null});case 30:return t.prev=30,t.t1=t["catch"](1),t.abrupt("return",Promise.reject(t.t1));case 33:case"end":return t.stop()}},t,this,[[1,30]])}));return function(t){return e.apply(this,arguments)}}(),this.obtainInitConfig=i(regeneratorRuntime.mark(function n(){var t,r,i,a,o,s,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=l.initConfigUrl,c=l.url,d=l.host;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(this._initConfigUrl?this.clearInitConfig():this._initConfigUrl=u,!window.initConfig){n.next=8;break}return this._initConfig=window.initConfig,this.setInitVendorKeys(initConfig),this.emit("initconfig",initConfig),n.abrupt("return",window.initConfig);case 8:if(e("app/dev/index"),t=void 0,r=void 0,i=c?c.split("?")[1]:location.search?location.search.substring(1):null,i?(r=i.split("&"),r.forEach(function(e){e.indexOf("project")>-1&&(t=e.split("=")[1])})):(a=this._gid.split(":").join("/"),t=this._groupId+"/"+a),!t){n.next=33;break}return o=""+(d||"")+this.baseurl+this._initConfigUrl+"/"+t,n.prev=15,n.next=18,this.getInitConfig(""+o.replace(/\/$/,""));case 18:return s=n.sent,s.staticurl="../dist/",s.clienturl="../dist/",this._initConfig=s,window.initConfig=s,this.setInitVendorKeys(s),n.abrupt("return",s);case 27:return n.prev=27,n.t0=n["catch"](15),n.abrupt("return",Promise.reject(n.t0));case 30:return n.prev=30,this.emit("initconfig",initConfig),n.finish(30);case 33:case"end":return n.stop()}},n,this,[[15,27,30,33]])})),this.getInitConfig=function(e){var t=this;return new Promise(function(r,n){t._initConfig?r(t._initConfig):m.get({url:e}).then(function(e){return r(e)})["catch"](function(e){return n(e)})})},this.getInitConfigUrl=function(){return this._initConfigUrl},this.setInitConfigUrl=function(e){this._initConfigUrl=e},this.postBootstrap=i(regeneratorRuntime.mark(function o(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.complete){e.next=13;break}return e.prev=1,w.init(),e.next=5,this._bootstrapPlugins();case 5:e.next=9;break;case 7:e.prev=7,e.t0=e["catch"](1);case 9:return e.prev=9,this.complete=!0,this.emit("complete"),e.finish(9);case 13:case"end":return e.stop()}},o,this,[[1,7,9,13]])})),this._bootstrapPlugins=function(){return C.init({pluginsBaseUrl:this._config.urls.staticurl,pluginsConfigs:this._config.plugins,otherPluginsConfig:S.getCurrentProject().getState()})},this.setEPSGApplication=function(e){c["default"].map.epsg=e.state.crs.epsg},this.setApplicationUser=function(e){c["default"].user=e},this.getApplicationUser=function(){return c["default"].user},this.bootstrap=function(){var e=this;return new Promise(function(t,r){e.setupI18n();var n=setTimeout(function(){r("Timeout")},l.TIMEOUT);c["default"].ready||$.when(S.init(e._config),b.init(e._config)).then(function(){clearTimeout(n),e.registerOnlineOfflineEvent(),e.emit("ready"),c["default"].ready=e.initialized=!0;var r=S.getCurrentProject();e._gid=r.getGid(),e.setEPSGApplication(r),c["default"].iframe&&e.startIFrameService({project:r}),x.init(),t(!0)}).fail(function(e){return r(e)})})},this.startIFrameService=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.project,n=e("core/iframe/routerservice");n.init({project:r})},this.registerWindowEvent=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.evt,r=e.cb;window.addEventListener(t,r)},this.unregisterWindowEvent=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.evt,r=e.cb;window.removeEventListener(t,r)},this.registerService=function(e,t){this._applicationServices[e]=t},this.unregisterService=function(e){delete this._applicationServices[e]},this.getApplicationService=function(e){return this._applicationServices[e]},this.getService=function(e){return this._applicationServices[e]},this.errorHandler=function(e){},this.clearInitConfig=function(){window.initConfig=this._initConfig=null},this.setInitVendorKeys=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.group.vendorkeys||{};e.group.baselayers.forEach(function(e){if(e.apikey){var r=e.servertype?e.servertype.toLowerCase():null;t[r]=e.apikey}}),this.setVendorKeys(t)},this.setVendorKeys=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.keys(e).forEach(function(t){return c["default"].keys.vendorkeys[t]=e[t]})},this.changeProjectView=function(e){c["default"].changeProjectview=e},this.isProjectViewChanging=function(){return c["default"].changeProjectview},this.reloadCurrentProject=function(){return this.changeProject({gid:S.getCurrentProject().getGid()})},this._changeProject=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gid,r=(e.host,$.Deferred());this._gid=t;var n=S.getProjectUrl(t),i=k.getService("map").addMapExtentUrlParameterToUrl(n);try{history.replaceState(null,null,i)}catch(a){}return location.replace(i),r.resolve(),r.promise()},this.setLayout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.rightpanel?(t.rightpanel.width=t.rightpanel.width||50,t.rightpanel.height=t.rightpanel.height||50,t.rightpanel.width_default=t.rightpanel.width,t.rightpanel.height_default=t.rightpanel.height,t.rightpanel.width_100=!1,t.rightpanel.height_100=!1):t.rightpanel={width:50,height:50,width_default:50,height_default:50,width_100:!1,height_100:!1},c["default"].gui.layout[e]=t},this.removeLayout=function(e){e&&delete c["default"].gui.layout[e]},this.setCurrentLayout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app";c["default"].gui.layout.__current=e},this.getCurrentLayout=function(){return c["default"].gui.layout[c["default"].gui.layout.__current]},this.getCurrentLayoutName=function(){return c["default"].gui.layout.__current},this.cloneLayout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app";return JSON.parse(JSON.stringify(c["default"].gui.layout[e]))},this.clear=function(){this.unregisterOnlineOfflineEvent()}};g(E,_),r["default"]=new E},{"app/constant":5,"app/dev/index":1,config:345,"core/apiservice":6,"core/applicationstate":8,"core/clipboardservice":10,"core/data/routerservice":15,"core/g3wobject":26,"core/i18n/i18n.service":27,"core/iframe/routerservice":28,"core/plugin/pluginsregistry":80,"core/project/projectsregistry":83,"core/router":87,"core/utils/utils":92,"gui/gui":150}],382:[function(e,t,r){function n(){this._data={},this.set=function(e,t){var r=e.split("form")[0];this._data[r]=t},this.get=function(e){var t=this._data[e]||{};return this._data[e]={},t}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=new n},{}],383:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){o(this),this.expression=n(regeneratorRuntime.mark(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=this,e.next=4,this.handleRequest({url:""+this.project.getUrl("vector_data")+t.layer_id+"/",params:t});case 4:return e.t1=e.sent,e.abrupt("return",e.t0.handleResponse.call(e.t0,e.t1));case 8:return e.prev=8,e.t2=e["catch"](0),e.abrupt("return",Promise.reject(e.t2));case 11:case"end":return e.stop()}},e,this,[[0,8]])})),this.expression_eval=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.handleRequest({url:this.project.getUrl("expression_eval"),params:e})},this.handleRequest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,r=e.params,n=void 0===r?{}:r,i=e.contentType,a=void 0===i?"application/json":i;return c.post({url:t,contentType:a,data:JSON.stringify(n)})},this.handleResponse=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return p(e)}}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.base,s=a.inherit,l=e("core/data/service"),u=e("core/utils/utils"),c=u.XHR,d=e("core/utils/geo"),p=d.getFeaturesFromResponseVectorApi;s(i,l),r["default"]=new i},{"core/data/service":17,"core/utils/geo":89,"core/utils/utils":92}],384:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){o(this),this.wmsCapabilities=n(regeneratorRuntime.mark(function t(){var r,n,i,a,o,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=s.url;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e("core/applicationservice"),n=""+r.getInterfaceOwsUrl(),t.prev=2,i={url:l,service:"wms"},a=JSON.stringify(i),t.next=7,c.post({url:n,contentType:"application/json",data:a});case 7:return o=t.sent,t.abrupt("return",o);case 11:return t.prev=11,t.t0=t["catch"](2),t.abrupt("return");case 14:case"end":return t.stop()}},t,this,[[2,11]])}))}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.base,s=a.inherit,l=e("core/data/service"),u=e("core/utils/utils"),c=u.XHR;s(i,l),r["default"]=new i},{"core/applicationservice":7,"core/data/service":17,"core/utils/utils":92}],385:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){o(this),this.wms=n(regeneratorRuntime.mark(function t(){var r,n,i,a,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=o.url,l=o.method,u=void 0===l?"GET":l,d=o.params,p=void 0===d?{}:d,f=o.headers,h=void 0===f?{}:f;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=e("core/applicationservice"),n=""+r.getProxyUrl(),"GET"===u&&(s=new URL(s),Object.keys(p).forEach(function(e){return s.searchParams.set(e,p[e])}),s=s.toString()),t.prev=3,i=JSON.stringify({url:s,params:p,headers:h,method:u}),t.next=7,c.post({url:n,contentType:"application/json",data:i});case 7:return a=t.sent,t.abrupt("return",{response:a,data:i});case 11:return t.prev=11,t.t0=t["catch"](3),t.abrupt("return");case 14:case"end":return t.stop()}},t,this,[[3,11]])})),this.data=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.base,s=a.inherit,l=e("core/data/service"),u=e("core/utils/utils"),c=u.XHR;s(i,l),r["default"]=new i},{"core/applicationservice":7,"core/data/service":17,"core/utils/utils":92}],386:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){s(this),this.condition={filtrable:{ows:"WFS"}},this.polygon=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.feature,r=e.feature_count,n=void 0===r?this.project.getQueryFeatureCount():r,i=e.filterConfig,o=void 0===i?{}:i,s=e.multilayers,l=void 0!==s&&s,u=e.condition,d=void 0===u?this.condition:u,p=e.excludeLayers,f=void 0===p?[]:p,v=f[0],m=t.get(a.G3W_FID),y=t.getGeometry();if(!y)return this.returnExceptionResponse({usermessage:{type:"warning",message:v.getName()+" - "+c("sdk.mapcontrols.querybypolygon.no_geometry"),messagetext:!0,autoclose:!1}});var _={SELECTED:!1,FILTERABLE:!0,VISIBLE:!0},b=g(_,d).filter(function(e){return f.indexOf(e)===-1}),w=h(b,{geometry:y,multilayers:l,feature_count:n,filterConfig:o,projection:this.project.getProjection()});return this.handleRequest(w,{fid:m,geometry:y,layer:v,type:"polygon"})},this.bbox=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.bbox,r=e.feature_count,n=void 0===r?this.project.getQueryFeatureCount():r,i=e.filterConfig,a=void 0===i?{}:i,o=e.multilayers,s=void 0!==o&&o,l=e.condition,u=void 0===l?this.condition:l,c=e.layersFilterObject,d=void 0===c?{SELECTEDORALL:!0,FILTERABLE:!0,VISIBLE:!0}:c,p=g(d,u),f=v(p,{bbox:t,feature_count:n,filterConfig:a,multilayers:s});return this.handleRequest(f,{bbox:t,type:"bbox"})},this.coordinates=n(regeneratorRuntime.mark(function e(){var t,r,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=i.coordinates,s=i.layerIds,l=void 0===s?[]:s,u=i.multilayers,c=void 0!==u&&u,d=i.query_point_tolerance,p=void 0===d?a.QUERY_POINT_TOLERANCE:d,h=i.feature_count;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t={QUERYABLE:!0,SELECTEDORALL:0===l.length,VISIBLE:!0},Array.isArray(l)&&l.forEach(function(e){t.IDS||(t.IDS=[]),t.IDS.push(e)}),r=g(t),n=f(r,{multilayers:c,feature_count:h,query_point_tolerance:p,coordinates:o}),e.abrupt("return",this.handleRequest(n,{coordinates:o,type:"coordinates"}));case 5:case"end":return e.stop()}},e,this)})),this.handleRequest=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n,i){e.then(function(e){var i=t.handleResponse(e,r);n(i)}).fail(i)})},this.handleResponse=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e,n={query:t,type:"ows",data:[],result:!0};return r.forEach(function(e){return e.data&&e.data.forEach(function(e){return n.data.push(e)})}),n},this.returnExceptionResponse=function(){var e=n(regeneratorRuntime.mark(function t(e){var r=e.usermessage;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",{data:[],usermessage:r,result:!0,error:!0});case 1:case"end":return e.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}()}Object.defineProperty(r,"__esModule",{value:!0});var a=e("constant"),o=e("core/utils/utils"),s=o.base,l=o.inherit,u=e("core/i18n/i18n.service"),c=u.t,d=e("core/data/service"),p=e("core/utils/geo"),f=p.getQueryLayersPromisesByCoordinates,h=p.getQueryLayersPromisesByGeometry,v=p.getQueryLayersPromisesByBBOX,g=p.getMapLayersByFilter;l(i,d),r["default"]=new i},{constant:5,"core/data/service":17,"core/i18n/i18n.service":27,"core/utils/geo":89,"core/utils/utils":92}],387:[function(e,t,r){function n(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function a(){l(this),this.features=i(regeneratorRuntime.mark(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{layer:layer,search_endpoint:search_endpoint,filter:filter,raw:!1,queryUrl:queryUrl,feature_count:feature_count,ordering:ordering};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",i(regeneratorRuntime.mark(function r(){var e,i,a,s,l,u,c,d,p,f,h;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=[],i=t.layer,a=n(t,["layer"]),s=t.raw,l=void 0!==s&&s,u=t.filter,c={data:[],query:{type:"search",search:u},type:a.search_endpoint},d=Array.isArray(i)?i:[i],a.filter=Array.isArray(a.filter)?a.filter:[a.filter],"api"===a.search_endpoint?d.forEach(function(t,r){return e.push(t.searchFeatures(o({},a,{filter:a.filter[r]})))}):(p=d[0].getProvider("search"),f=new Promise(function(e,t){p.query(o({},a,{layers:d},d[0].getSearchParams())).then(function(t){e({data:t})}).fail(t)}),e.push(f)),r.next=9,Promise.allSettled(e);case 9:return h=r.sent,h.forEach(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.status,r=e.value;if("fulfilled"===t)if(l)c.data.push("api"===a.search_endpoint?{data:r}:r);else{var n=r.data,i=void 0===n?[]:n;"api"===a.search_endpoint?i.length&&c.data.push(i[0]):c.data=i}}),r.abrupt("return",c);case 12:case"end":return r.stop()}},r,this)}))());case 1:case"end":return e.stop()}},e,this)})),this.fids=i(regeneratorRuntime.mark(function t(){var e,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.layer,a=n.formatter,o=void 0===a?0:a,s=n.fids,l=void 0===s?[]:s;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e={data:[{layer:i,features:[]}],query:{type:"search"}},t.prev=1,t.t0=i,!t.t0){t.next=7;break}return t.next=6,i.getFeatureByFids({fids:l,formatter:o});case 6:t.t0=t.sent;case 7:r=t.t0,r&&r.forEach(function(t){return e.data[0].features.push(d(t))}),t.next=13;break;case 11:t.prev=11,t.t1=t["catch"](1);case 13:return t.abrupt("return",e);case 14:case"end":return t.stop()}},t,this,[[1,11]])})),this.layersfids=i(regeneratorRuntime.mark(function r(){var e,t,n,i=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=a.layers,s=void 0===o?[]:o,l=a.fids,u=void 0===l?[]:l,c=a.formatter,d=void 0===c?0:c;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=[],t={data:[],query:{type:"search"}},s.forEach(function(t,r){e.push(i.fids({layer:t,fids:u[r],formatter:d}))}),r.prev=3,r.next=6,Promise.all(e);case 6:n=r.sent,n.forEach(function(e){return t.data.push(e.data)}),r.next=13;break;case 10:r.prev=10,r.t0=r["catch"](3);case 13:return r.abrupt("return",t);case 14:case"end":return r.stop()}},r,this,[[3,10]])}))}Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return h.setLoadingContent(!0),r.prev=1,h.outputDataPlace(e,t),r.next=5,e;case 5:r.next=9;break;case 7:r.prev=7,r.t0=r["catch"](1);case 9:h.setLoadingContent(!1);case 10:case"end":return r.stop()}},r,this,[[1,7]])}));return e}(),iframe:function(){function e(e){return t.apply(this,arguments)}var t=n(regeneratorRuntime.mark(function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:d.outputDataPlace(e,t);case 1:case"end":return r.stop()}},r,this)}));return e}()},this.init=n(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.services={query:o,search:s,expression:l,proxy:u,ows:c};case 1:case"end":return e.stop()}},e,this)})),this.getData=function(){var e=n(regeneratorRuntime.mark(function t(e){var r,n,i,a,o,s,l,u,c,d,p=this,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=f(e),n=r.context,i=r.method,a=this.getService(n),o=h.inputs,s=void 0===o?{}:o,l=h.outputs,u=void 0===l?{}:l,c=a[i](s),u&&this.currentoutputplaces.forEach(function(e){p.ouputplaces[e](c,u)}),t.next=7,c;case 7:return d=t.sent,t.next=10,d;case 10:return t.abrupt("return",t.sent);case 11:case"end":return t.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.showEmptyOutputs=function(){var e=this,t=Promise.resolve({data:[]});this.currentoutputplaces.forEach(function(r){e.ouputplaces[r](t)})},this.showCustomOutputDataPromise=function(e){var t=this;this.currentoutputplaces.forEach(function(r){t.ouputplaces[r](e,{})})},this.getService=function(e){return this.services[e]},this.setOutputPlaces=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.currentoutputplaces=e},this.addCurrentOutputPlace=function(e){e&&this.currentoutputplaces.indexOf(e)===-1&&this.currentoutputplaces.push(e)},this.addNewOutputPlace=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.place,r=e.method,n=void 0===r?function(){}:r,i=!1;return void 0===this.ouputplaces[t]&&(this.ouputplaces[t]=n,i=!0),i},this.resetDefaultOutput=function(){this.currentoutputplaces=[].concat(i(this.defaultoutputplaces))}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("core/data/query/service"),s=e("core/data/search/service"),l=e("core/data/expression/service"),u=e("core/data/proxy/service"),c=e("core/data/ows/service"),d=e("core/iframe/routerservice"),p=e("core/utils/utils"),f=p.splitContextAndMethod,h=e("gui/gui");r["default"]=new a},{"core/data/expression/service":11,"core/data/ows/service":12,"core/data/proxy/service":13,"core/data/query/service":14,"core/data/search/service":16,"core/iframe/routerservice":28,"core/utils/utils":92,"gui/gui":150}],389:[function(e,t,r){function n(){this.execute=function(e,t,r){var i=void 0,a=void 0;t.forEach(function(t){a=t.feature,r&&a[n.Actions[a.getState()].opposite](),i=n.Actions[a.getState()].fnc,e[i](a)})}}Object.defineProperty(r,"__esModule",{value:!0}),n.Actions={add:{fnc:"addFeature",opposite:"delete"},"delete":{fnc:"removeFeature",opposite:"add"},update:{fnc:"updateFeature",opposite:"update"}},r["default"]=new n},{}],390:[function(e,t,r){function n(){this.stack=new a,this.init=function(e){this.layout=e,this.sidebarEl=$(this.layout.options.controlSidebarOptions.selector),this._zindex=this.sidebarEl.css("z-index"),this._modalOverlay=null,this._modal=!1,this._isopen=!1},this.isOpen=function(){return this._isopen},this.open=function(){this.layout.floatBar.open(this.sidebarEl,!0),this._isopen=!0},this.close=function(){this.layout.floatBar.close(this.sidebarEl,!0),this._isopen=!1},this.showPanel=function(e,t){t=t||{};t.append||!1,t.modal||!1;t.parent="#g3w-floatbarpanel-placeholder",this.stack.push(e,t),this._isopen||this.open()},this.closePanel=function(e){e?this.stack.remove(e):this.stack.pop(),this.stack.getLength()||(this._modal?(o.setModal(!1),this.close(),$(".control-sidebar-bg").toggleClass("control-sidebar-bg-shadow"),this.sidebarEl.css("z-index",""),this.sidebarEl.css("padding-top","50px"),$(".control-sidebar-bg").css("z-index",""),this._modal=!1):this.close())},this.hidePanel=function(){this.close()}}Object.defineProperty(r,"__esModule",{value:!0});var i=e("gui/utils/utils"),a=i.barstack,o=e("gui/gui");r["default"]=new n},{"gui/gui":150,"gui/utils/utils":224}],391:[function(e,t,r){function n(){this.setters={setContent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.emit("opencontent",!0),this._setContent(e)}},this.isready=!1,this.getResourcesUrl=s,this.showForm=s,this.closeForm=s,this.showListing=s,this.closeListing=s,this.hideListing=s,this.setModal=s,this.showFullModal=s,this.showQueryResults=s,this.hideQueryResults=s,this.showPanel=s, +this.hidePanel=s,this.reloadComponents=s,this.showUserMessage=s,this.closeUserMessage=s,this.showModalDialog=s,this.push_content=!1,this.setPushContent=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.push_content=e},this.getPushContent=function(){return this.push_content},this._closeUserMessageBeforeSetContent=!0,this.setComponent=function(e){c.registerComponent(e)},this.getComponent=function(e){return c.getComponent(e)},this.getComponents=function(){return c.getComponents()},this["goto"]=function(e){u["goto"](e)},this.ready=function(){this.emit("ready"),this.isready=!0},this.guiResized=function(){this.emit("guiresized")},this.isReady=function(){var e=this;return new Promise(function(t){return e.isready?t():e.once("ready",t)})},this.getService=function(e){var t=this.getComponent(e);return t&&t.getService()},this.showSpinner=function(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}},this.hideSpinner=function(e){},this.notify=s,this.dialog=s,this.isMobile=s,a(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/utils/utils"),a=i.base,o=i.inherit,s=i.noop,l=e("core/g3wobject"),u=e("core/router"),c=e("gui/component/componentsregistry");o(n,l),r["default"]=new n},{"core/g3wobject":26,"core/router":87,"core/utils/utils":92,"gui/component/componentsregistry":142}],392:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){o(this),this.mapControls={screenshot:{control:null},changeMap:{control:null}},this.init=function(){var e=this;return new Promise(function(t,r){e.mapService.once("ready",function(){e._map=e.mapService.getMap(),e._mapCrs=e.mapService.getCrs(),e.mapControls.screenshot.control=e.mapService.getMapControlByType({type:"screenshot"}),e.setReady(!0),t()})})},this.results=function(){var e=n(regeneratorRuntime.mark(function t(e){var r=e.capture,n=void 0===r||r;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n?u.setOutputPlaces(["iframe"]):u.resetDefaultOutput(),e.abrupt("return",[]);case 2:case"end":return e.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.screenshot=function(){var e=n(regeneratorRuntime.mark(function t(e){var r,i=this,a=e.capture,o=void 0===a||a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r="app:screenshot",o?this.mapControls.screenshot.control.overwriteOnClickEvent(n(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.mapService.createMapImage();case 3:e=t.sent,i.emit("response",{action:r,response:{result:!0,data:e}}),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),i.emit("response",{action:r,response:{result:!1,data:t.t0}});case 10:case"end":return t.stop()}},t,i,[[0,7]])}))):this.mapControls.screenshot.control.resetOriginalOnClickEvent();case 2:case"end":return e.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.getcenter=n(regeneratorRuntime.mark(function e(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.mapService.getCenter());case 1:case"end":return e.stop()}},e,this)})),this.zoomtocoordinates=n(regeneratorRuntime.mark(function t(){var e,r,n,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=a.coordinates,r=void 0===e?[]:e,n=a.highlight,i=void 0!==n&&n,!r||!Array.isArray(r)||2!==r.length){t.next=6;break}return this.mapService.zoomTo(r),t.abrupt("return",r);case 6:return t.abrupt("return",Promise.reject(r));case 7:case"end":return t.stop()}},t,this)})),this.getextent=n(regeneratorRuntime.mark(function r(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.mapService.getMapExtent());case 1:case"end":return e.stop()}},r,this)})),this.zoomtoextent=n(regeneratorRuntime.mark(function i(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(e=r.extent,t=void 0===e?[]:e,!t||!Array.isArray(t)||4!==t.length){n.next=6;break}return this.mapService.goToBBox(t),n.abrupt("return",t);case 6:return n.abrupt("return",Promise.reject(t));case 7:case"end":return n.stop()}},i,this)})),this.zoomtofeature=n(regeneratorRuntime.mark(function a(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",new Promise(function(){var r=n(regeneratorRuntime.mark(function i(r,n){var a,o,s,l,u;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return a=t.qgs_layer_id,o=t.feature,s=t.highlight,l=void 0!==s&&s,a=e.getQgsLayerId({qgs_layer_id:a}),n.next=4,e.findFeaturesWithGeometry({qgs_layer_id:a,feature:o,zoom:!0,highlight:l});case 4:u=n.sent,r(u.qgs_layer_id);case 6:case"end":return n.stop()}},i,e)}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return r.stop()}},a,this)}))}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.base,s=a.inherit,l=e("core/iframe/services/baseservice"),u=e("core/data/routerservice");s(i,l),r["default"]=new i},{"core/data/routerservice":15,"core/iframe/services/baseservice":30,"core/utils/utils":92}],393:[function(e,t,r){function n(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function a(){var e=this;l(this),this.pluginName="editing",this.subscribevents=[],this.isRunning=!1,this.responseObject={cb:null,qgs_layer_id:null,error:null},this.config={tools:{add:{disabled:[{id:"deletefeature"},{id:"copyfeatures"},{id:"editmultiattributes"},{id:"deletePart"},{id:"splitfeature"},{id:"mergefeatures"}]},update:{disabled:[{id:"addfeature"},{id:"copyfeatures"},{id:"deletefeature"},{id:"editmultiattributes"},{id:"deletePart"},{id:"splitfeature"},{id:"mergefeatures"}]},"delete":{enabled:[{id:"deletefeature",options:{active:!0}}]}}},this.startAction=function(){var e=i(regeneratorRuntime.mark(function t(e){var r=this,n=e.toolboxes,i=e.resolve,a=e.reject;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.responseObject.cb=a,this.dependencyApi.setSaveConfig({cb:{done:function(e){r.responseObject.cb=i,r.responseObject.qgs_layer_id=e.getId(),r.responseObject.error=null,r.dependencyApi.hidePanel()},error:function(e,t){r.responseObject.cb=a,r.responseObject.qgs_layer_id=e.getId(),r.responseObject.error=t}}}),this.dependencyApi.showPanel({toolboxes:n}),this.isRunning=!0;case 4:case"end":return e.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.stopAction=i(regeneratorRuntime.mark(function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=r.qgs_layer_id,t.t0=e,!t.t0){t.next=5;break}return t.next=5,this.stopEditing(e);case 5:case"end":return t.stop()}},t,this)})),this.subscribersHandlers={canUndo:function(t){var r=t.activeTool,n=t.disableToolboxes,i=void 0===n?[]:n;return function(t){t===!1&&(e.responseObject.qgs_layer_id=null,e.responseObject.error=null),r.setEnabled(!t),i.forEach(function(e){return e.setEditing(!t)})}},canRedo:function(){},cancelform:function(e){return function(){e()}},addfeature:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.properties,n=t.toolboxes;return function(t){Object.keys(r).forEach(function(e){return t.set(e,r[e])});var i=void 0,a=[];if(n.forEach(function(e){var t=e.getToolById("addfeature");t.isActive()?(t.setEnabled(!1),i=t):(e.setEditing(!1),a.push(e))}),e.subscribevents.find(function(e){return"canUndo"!==e.event})){var o=e.addSubscribeEvents("canUndo",{activeTool:i,disableToolboxes:a});e.addSubscribeEvents("cancelform",o)}}},closeeditingpanel:function(t){var r=t.qgs_layer_id;return function(){e.responseObject.cb({qgs_layer_id:e.responseObject.qgs_layer_id,error:e.responseObject.error}),e.stopAction({qgs_layer_id:r})}}},this.addSubscribeEvents=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.subscribersHandlers[e](t);return this.dependencyApi.subscribe(e,r),this.subscribevents.push({event:e,handler:r}),r},this.resetSubscribeEvents=function(){var e=this;this.subscribevents.forEach(function(t){var r=t.event,n=t.handler;e.dependencyApi.unsubscribe(r,n)})},this.add=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(){var r=i(regeneratorRuntime.mark(function a(r,i){var o,s,l,u,d,p,f;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!e.isRunning){a.next=4;break}i(),a.next=19;break;case 4:return o=t.qgs_layer_id,s=n(t,["qgs_layer_id"]),l=s.properties,u=e.getQgsLayerId({qgs_layer_id:o,noValue:e.dependencyApi.getEditableLayersId()}),a.next=9,e.startAction({toolboxes:u,resolve:r,reject:i});case 9:return d={tools:e.config.tools.add,startstopediting:!1,action:"add",selected:1===u.length},a.next=12,e.startEditing(u,d);case 12:p=a.sent,p=p.filter(function(e){return"fulfilled"===e.status}).map(function(e){return e.value}),!c.isSidebarVisible()&&c.showSidebar(),f=1===p.length&&p[0],f&&f.setActiveTool(f.getToolById("addfeature")),e.addSubscribeEvents("addfeature",{properties:l,toolboxes:p}),e.addSubscribeEvents("closeeditingpanel",{qgs_layer_id:u});case 19:case"end":return a.stop()}},a,e)}));return function(e,t){return r.apply(this,arguments)}}())},this.update=i(regeneratorRuntime.mark(function r(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",new Promise(function(){var r=i(regeneratorRuntime.mark(function a(r,i){var o,s,l,u,d,p,f;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!e.isRunning){a.next=4;break}i(),a.next=22;break;case 4:return o=t.qgs_layer_id,s=n(t,["qgs_layer_id"]),l=s.feature,u=e.getQgsLayerId({qgs_layer_id:o,noValue:e.dependencyApi.getEditableLayersId()}),a.next=9,e.findFeaturesWithGeometry({qgs_layer_id:u,feature:l,zoom:!0,highlight:!0,selected:1===u.length});case 9:if(d=a.sent,p=d.found,!p){a.next=21;break}return a.next=14,e.startAction({toolboxes:[d.qgs_layer_id],resolve:r,reject:i});case 14:return f={feature:l,tools:e.config.tools.update,startstopediting:!1,action:"update"},a.next=17,e.startEditing([d.qgs_layer_id],f);case 17:!c.isSidebarVisible()&&c.showSidebar(),e.addSubscribeEvents("closeeditingpanel",{qgs_layer_id:[d.qgs_layer_id]}),a.next=22;break;case 21:i();case 22:case"end":return a.stop()}},a,e)}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return r.stop()}},r,this)})),this["delete"]=function(){},this.startEditing=i(regeneratorRuntime.mark(function a(){var e,t,r,n,i,o=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:e=l.action,t=void 0===e?"add":e,r=l.feature,n={},l.filter=n,a.t0=t,a.next="add"===a.t0?6:"update"===a.t0?8:10;break;case 6:return n.nofeatures=!0,a.abrupt("break",10);case 8:return n.field=r.field+"|eq|"+r.value,a.abrupt("break",10);case 10:return i=[],s.forEach(function(e){i.push(o.dependencyApi.startEditing(e,l))}),a.next=14,Promise.allSettled(i);case 14:return a.abrupt("return",a.sent);case 15:case"end":return a.stop()}},a,this)})),this.stopEditing=function(){var e=i(regeneratorRuntime.mark(function t(e){var r,n=this;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=[],e.forEach(function(e){r.push(n.dependencyApi.stopEditing(e))}),t.next=4,Promise.allSettled(r);case 4:this.clear();case 5:case"end":return t.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.stop=function(){var e=this;return new Promise(function(t,r){e.dependencyApi.hidePanel(),c.hideSidebar(),e.once("clear",t)})},this.clear=function(){this.dependencyApi.resetDefault(),this.isRunning=!1,this.responseObject={cb:null,qgs_layer_id:null,error:null},this.resetSubscribeEvents(),this.emit("clear")}}Object.defineProperty(r,"__esModule",{value:!0});var o=e("core/iframe/services/plugins/service"),s=g3wsdk.core.utils,l=s.base,u=s.inherit,c=e("gui/gui");u(a,o),r["default"]=new a},{"core/iframe/services/plugins/service":34,"gui/gui":150}],394:[function(e,t,r){function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function a(){var t=this;arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pendingactions={},this.init=i(regeneratorRuntime.mark(function r(){var t,n,i,a,o=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=s.project;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,u.isReady();case 2:this.services=e("core/iframe/services/index"),this.eventResponseServiceHandler=function(e){var t=e.action,r=e.response;o.postMessage({id:null,action:t,response:r})},t=l.state.layers.map(function(e){return{id:e.id,name:e.name}}),n=Object.keys(this.services),i=0;case 7:if(!(i1&&void 0!==arguments[1]?arguments[1]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=d.action,i=void 0===r?"app:results":r,t.next=3,e;case 3:a=t.sent,o=a.result,s=a.data,l=void 0===s?[]:s,u=new ol.format.GeoJSON,c=[];try{c=l.map(function(e){var t=e.layer,r=e.features;return n({},t.getId(),{features:u.writeFeatures(r)})})}catch(p){}this.postMessage({id:null,action:i,response:{result:o,data:c}});case 11:case"end":return t.stop()}},t,this)}));return function(t){return e.apply(this,arguments)}}(),this.postMessage=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};window.parent&&window.parent.postMessage(e,"*")},this.stopPendingActions=i(regeneratorRuntime.mark(function a(){var e,t=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return e=[],Object.keys(this.pendingactions).forEach(function(r){var n=t.pendingactions[r].context;e.push(t.services[n].stop()),delete t.pendingactions[r]}),r.abrupt("return",Promise.allSettled(e));case 3:case"end":return r.stop()}},a,this)})),this.getMessage=function(){var e=i(regeneratorRuntime.mark(function r(e){var n,i,a,o,u,c,d,p,f,h,v,g;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(!e||!e.data){r.next=24;break}if(n=e.data,i=n.id,a=void 0===i?l():i,o=n.single,u=void 0===o||o,c=n.action,d=n.data,p=s(c),f=p.context,h=p.method,v=!1,g=void 0,r.prev=5,!t.services[f].getReady()){r.next=16;break}if(r.t0=u,!r.t0){r.next=11;break}return r.next=11,t.stopPendingActions();case 11:return t.pendingactions[a]={context:f},r.next=14,t.services[f][h](d);case 14:g=r.sent,v=!0;case 16:r.next=22;break;case 18:r.prev=18,r.t1=r["catch"](5),v=!1,g=r.t1;case 22:t.postMessage({id:a,action:c,response:{result:v,data:g}}),delete t.pendingactions[a];case 24:case"end":return r.stop()}},r,t,[[5,18]])}));return function(t){return e.apply(this,arguments)}}(),this.clear=function(){for(var e=Object.keys(this.services),t=0;t1&&void 0!==arguments[1]?arguments[1]:"right";this.state.items[t].push(e)},a(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/utils/utils"),a=i.base,o=i.inherit,s=e("core/g3wobject");o(n,s),r["default"]=new n},{"core/g3wobject":26,"core/utils/utils":92}],396:[function(e,t,r){function n(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{};this._cacheValues={},this._items=v.getLocalItem(y)||{}}Object.defineProperty(r,"__esModule",{value:!0});var s=e("core/data/routerservice"),l=e("core/i18n/i18n.service"),u=l.t,c=e("core/utils/utils"),d=c.uniqueId,p=c.createFilterFromString,f=c.XHR,h=e("core/catalog/cataloglayersstoresregistry"),v=e("core/applicationservice"),g=e("core/project/projectsregistry"),m=e("gui/gui"),y="QUERYBUILDERSEARCHES",_=o.prototype;_.getCurrentProjectItems=function(){var e=g.getCurrentProject().getId();return this._items[e]=this._items[e]||[],this._items[e]},_.getItems=function(e){var t=v.getLocalItem(y);return e=e||g.getCurrentProject().getId(),t?t[e]||[]:[]},_._getLayerById=function(e){return h.getLayerById(e)},_.getValues=a(regeneratorRuntime.mark(function b(){var e,t,r,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=i.layerId,o=i.field;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(this._cacheValues[a]=this._cacheValues[a]||{},e=this._cacheValues[a][o],void 0!==e){i.next=18;break}return i.prev=3,t=this._getLayerById(a),r=t.getUrl("data"),i.next=8,f.get({url:r,params:{ordering:o,unique:o}});case 8:return n=i.sent,n.result&&(this._cacheValues[a][o]=this._cacheValues[a][o]||n.data),i.abrupt("return",this._cacheValues[a][o]||[]);case 13:i.prev=13,i.t0=i["catch"](3),reject();case 16:i.next=19;break;case 18:return i.abrupt("return",e);case 19:case"end":return i.stop()}},b,this,[[3,13]])})),_.run=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.layerId,n=t.filter,i=t.showResult,o=void 0===i||i;return new Promise(function(){var t=a(regeneratorRuntime.mark(function i(t,a){var l,u,c,d,f;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return l=e._getLayerById(r),u=l.getSearchEndPoint(),c=p({layer:l,search_endpoint:u,filter:n}),i.prev=3,i.next=6,s.getData("search:features",{inputs:{layer:l,filter:c,search_endpoint:u,feature_count:100},outputs:o});case 6:d=i.sent,f=d.data,t(f),i.next=15;break;case 11:i.prev=11,i.t0=i["catch"](3),m.showUserMessage({type:"alert",message:"sdk.querybuilder.error_run",autoclose:!0}),a(i.t0);case 15:case"end":return i.stop()}},i,e,[[3,11]])}));return function(e,r){return t.apply(this,arguments)}}())},_.test=a(regeneratorRuntime.mark(function w(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.layerId,n=t.filter;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.run({layerId:r,filter:n,showResult:!1});case 3:return e=t.sent,t.abrupt("return",e.length&&e[0].features.length);case 7:return t.prev=7,t.t0=t["catch"](0),t.t0=u("sdk.querybuilder.error_test"),t.abrupt("return",Promise.reject(t.t0));case 11:case"end":return t.stop()}},w,this,[[0,7]])})),_["delete"]=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.id;return new Promise(function(t,n){m.dialog.confirm(u("sdk.querybuilder.delete"),function(i){if(i){var a=e.getItems().filter(function(e){return e.id!==r}),o=g.getCurrentProject().getId(),s=v.getLocalItem(y);a.length?s[o]=a:delete s[o],Object.keys(s).length?v.setLocalItem({id:y,data:s}):v.removeLocalItem(y),t()}else n()})})},_.editLocalItem=function(e,t){e=e||g.getCurrentProject().getId();var r=v.getLocalItem(y);r[e].find(function(n,i){if(n.id===t.id)return r[e][i]=t,!0}),v.setLocalItem({id:y,data:r}),this._resetItems(e,r[e])},_._resetItems=function(e,t){var r=this;setTimeout(function(){t.forEach(function(t){return r._items[e].push(t)})},0),this._items[e].splice(0)},_.addLocalItem=function(e,t){t.id=d(),e=e||g.getCurrentProject().getId();var r=v.getLocalItem(y);if(void 0===r){var a=[t];v.setLocalItem({id:y,data:i({},e,a)}),this._resetItems(e,a)}else r[e]=r[e]?[].concat(n(r[e]),[t]):[t],v.setLocalItem({id:y,data:r}),this._resetItems(e,r[e])},_.save=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.id,n=t.name,i=t.layerId,a=t.filter,o=t.projectId,s=this._getLayerById(i).getName(),l={layerId:i,filter:a,layerName:s};return r?(l.name=n,l.id=r,this.editLocalItem(o,l),void m.showUserMessage({type:"success",message:u("sdk.querybuilder.messages.changed"),autoclose:!0})):void m.dialog.prompt(u("sdk.querybuilder.additem"),function(t){if(t){var r=m.getComponent("search").getService();l.name=t,r.addQueryBuilderSearch(l),e.addLocalItem(o,l),m.showUserMessage({type:"success",message:u("sdk.querybuilder.messages.changed"),autoclose:!0})}})},_.all=function(){},_.sample=function(){},_.clear=function(){this._cacheValues={}},_.add=function(){},r["default"]=new o},{"core/applicationservice":7,"core/catalog/cataloglayersstoresregistry":9,"core/data/routerservice":15,"core/i18n/i18n.service":27,"core/project/projectsregistry":83,"core/utils/utils":92,"gui/gui":150}],397:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l(this)}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.inherit,s=a.XHR,l=a.base,u=a.createSingleFieldParameter,c=e("core/utils/geo"),d=c.sanitizeFidFeature,p=c.getAlphanumericPropertiesFromFeature,f=e("core/g3wobject"),h=e("core/catalog/cataloglayersstoresregistry");o(i,f);var v=i.prototype;v.createUrl=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e("core/project/projectsregistry"),n=r.getCurrentProject(),i=t.layer,a=void 0===i?{}:i,o=t.relation,s=void 0===o?{}:o,l=t.fid,u=t.type,c=void 0===u?"data":u,p=t.formatter,f=void 0===p?1:p,h=void 0,v=s.father,g=s.child,m=s.referencedLayer,y=s.referencingLayer,_=s.id;h=void 0!==v?a.id===v?g:v:a.id===m?y:m;var b=n.getLayerById(h).getUrl(c),w=d(l);return b+"?relationonetomany="+_+"|"+w+"&formatter="+f},v.getRelations=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.createUrl(e);return s.get({url:t})},v.getRelationsNM=n(regeneratorRuntime.mark(function g(){var t,r,n,i,a,o,s,l,c,d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=d.nmRelation,v=d.features,m=void 0===v?[]:v;return regeneratorRuntime.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(t=e("core/data/routerservice"),r=f.referencedLayer,n=f.referencingLayer,i=f.fieldRef,a=i.referencingField,o=i.referencedField,s=[],!m.length){d.next=9;break}return l=m.map(function(e){return e.attributes[a]}),d.next=7,t.getData("search:features",{inputs:{layer:h.getLayerById(r),filter:""+u({field:o,value:l,logicop:"OR"}),formatter:1,search_endpoint:"api"},outputs:null});case 7:c=d.sent,c.data&&c.data[0]&&Array.isArray(c.data[0].features)&&(s=c.data[0].features.map(function(e){var t=p(e.getProperties()).reduce(function(t,r){return t[r]=e.get(r),t},{});return{id:e.getId(),attributes:t,geometry:e.getGeometry()}}));case 9:return d.abrupt("return",s);case 10:case"end":return d.stop()}},g,this)})),v.save=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.createUrl(e);return s.fileDownload({url:t,httpMethod:"GET"})},r["default"]=new i},{"core/catalog/cataloglayersstoresregistry":9,"core/data/routerservice":15,"core/g3wobject":26,"core/project/projectsregistry":83,"core/utils/geo":89,"core/utils/utils":92}],398:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=e("core/utils/utils"),i=n.base,a=n.inherit,o=(n.Base64,e("core/g3wobject"));crossroads.ignoreState=!0,crossroads.greedy=!0;var s=function(){this._initialLocationQuery,this._routeQuery="",this.setters={setRouteQuery:function(e){this._routeQuery=e,crossroads.parse(e)}},i(this)};a(s,o);var l=s.prototype;l.init=function(){var e=window.location.search;this._setRouteQueryFromLocationQuery(e)},l.addRoute=function(e,t,r){return crossroads.addRoute(e,t,r)},l.removeRoute=function(e){return crossroads.removeRoute(e)},l.removeAllRoutes=function(){return crossroads.removeAllRoutes()},l.parse=function(e,t){return crossroads.parse(e,t)},l["goto"]=function(e){this._initialQuery||(this._initialLocationQuery=this._stripInitialQuery(location.search.substring(1))),e&&this.setRouteQuery(e)},l.makePermalink=function(e){this._initialQuery||(this._initialLocationQuery=this._stripInitialQuery(location.search.substring(1)));this._encodeRouteQuery(e);return"?"+this._initialLocationQuery+"&q="+this._encodeRouteQuery(e)},l.makeQueryString=function(e){},l.slicePath=function(e){return e.split("?")[0].split("/")},l.sliceFirst=function(e){var t=e.split("?"),r=t[1],n=t[0].split("/"),i=n[0];return e=n.slice(1).join("/"),e=[e,r].join("?"),[i,e]},l.getQueryParams=function(e){e=e.replace("?","");var t={},r=[];r=""!=e&&e.indexOf("&")==-1?[e]:e.split("&");try{_.forEach(r,function(e){var r=e.split("="),n=r[0],i=r[1];t[n]=i})}catch(n){}return t},l.getQueryString=function(e){return e.split("?")[1]},l._getQueryPortion=function(e,t){var r;try{var n=e.split("&");_.forEach(n,function(e){var n=e.split("="),i=n[0];i==t&&(r=e)})}catch(i){}return r},l._encodeRouteQuery=function(e){return e=e.replace("?","@"),e=e.replace("&","|"),e=e.replace("=","!")},l._decodeRouteQuery=function(e){return e=e.replace("@","?"),e=e.replace("|","&"),e=e.replace("!","=")},l._setRouteQueryFromLocationQuery=function(e){var t=this._getRouteQueryFromLocationQuery(e);if(t){var r=this._decodeRouteQuery(t);this.setRouteQuery(r)}},l._getRouteQueryFromLocationQuery=function(e){return this.getQueryParams(e).q},l._stripInitialQuery=function(e){var t=this._getQueryPortion(e,"q");if(t){var r=t.length,n=e.indexOf(t);queryPrefix=_.trimEnd(e.substring(0,n),"&"),querySuffix=e.substring(n+r),querySuffix=""!=queryPrefix?querySuffix:_.trimStart(querySuffix,"&"),e=queryPrefix+querySuffix}return e},r["default"]=new s},{"core/g3wobject":26,"core/utils/utils":92}],399:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}function i(){this.stack=new p,this.setters={closeSidebarPanel:function(){},openCloseItem:function(e){}},this.state={components:[],gui:{title:""},disabled:!1},this.init=function(e){this.layout=e},this.addComponents=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.forEach(function(e){return t.addComponent(e,r)}),!0},this.addComponent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.position,n=t.before,i=void 0===n||n,a=t.info;if(isMobile.any&&!e.mobile)return!1;var o=new h({service:this,info:a,component:e});o.title=e.title||o.title,o.info=e.info||o.info,o.actions=e.actions||o.actions,o.open=e.state.open,o.icon=e.icon||o.icon,o.iconColor=e.iconColor,o.state=e.state||!0,o.collapsible="boolean"!=typeof e.collapsible||e.collapsible,o.isolate="boolean"==typeof e.isolate&&e.isolate;var s=o.$mount().$el;this.state.components.push(e);var l=$(".g3w-sidebarpanel").is(":visible"),u="#g3w-sidebarcomponents"+(l?":hidden":""),c=$(u).children().filter(function(){return"none"!==this.style.display}),d=c.length;return null===r||void 0===r||r<0||r>=d?$(u).append(s):c.each(function(e,t){var n=Number.isInteger(r)?r===e:t.id===r;n&&$(s)["insert"+(i?"Before":"After")](t)}),e.mount("#g3w-sidebarcomponent-placeholder"),e.initService&&e.initService(),this.setComponentClickHandler(e),!0},this.setComponentClickHandler=function(e){e.click=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.open,n=void 0!==r&&r;n=n||!1,$(e.getInternalComponent().$el).siblings("a").click(),e.setOpen(n)}},this.getComponent=function(e){return this.state.components.find(function(t){return t.getId()===e})},this.getComponents=function(){return this.state.components},this.closeOpenComponents=function(){!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.getComponents().forEach(function(e){return e.closeWhenViewportContentIsOpen()&&e.collapsible&&e.click({open:!1})})},this.reloadComponent=function(e){var t=this.getComponent(e);t&&t.reload()},this.reloadComponents=function(){this.closePanel(),this.state.components.forEach(function(e){e.collapsible&&e.state.open&&e.click({open:!1}),e.reload()})},this.removeComponent=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.position;this.state.components.forEach(function(r,i){if(e===r)return e.unmount(),t.state.components.splice(i,1),void 0!==n&&Number.isInteger(n)?$("#g3w-sidebarcomponents").children(":visible")[n].remove():$("#g3w-sidebarcomponents").children("#"+e.id).remove(),!1})},this.showPanel=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(n,i){t.state.gui.title=e.title;var o="#g3w-sidebarpanel-placeholder";t.stack.getCurrentContentData()&&$(t.stack.getCurrentContentData().content.internalPanel.$el).hide(),t.stack.push(e,a({parent:o},r)).then(function(e){return n(e)})})},this.closePanel=function(){var e=this;this.state.gui.title=null,this.closeSidebarPanel(),this.stack.pop().then(function(t){t=null,e.stack.getCurrentContentData()&&$(e.stack.getCurrentContentData().content.internalPanel.$el).show()})},this.closeAllPanels=function(){this.state.gui.title=null,this.closeSidebarPanel(),this.stack.clear()},u(this)}Object.defineProperty(r,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=w.method,i=void 0===r?"GET":r,a=w.params,s=void 0===a?{}:a,l=w.url,u=w.taskUrl,c=w.interval,d=void 0===c?1e3:c,p=w.timeout,f=void 0===p?1/0:p,h=w.listener,v=void 0===h?function(){}:h,t.prev=1,"GET"!==i){t.next=8;break}return t.next=5,o.get({url:l,params:s});case 5:t.t0=t.sent,t.next=11;break;case 8:return t.next=10,o.post({url:l,data:s.data||{},contentType:s.contentType||"application/json"});case 10:t.t0=t.sent;case 11:if(g=t.t0,m=g.result,y=g.task_id,!m){t.next=19;break}_=setInterval(n(regeneratorRuntime.mark(function x(){var e;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(f-=d,!(f>0)){t.next=15;break}return e=void 0,t.prev=3,t.next=6,o.get({url:""+u+y});case 6:e=t.sent,t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](3),e=t.t0;case 12:v({task_id:y,timeout:!1,response:e}),t.next=17;break;case 15:v({timeout:!0}),b.stopTask({task_id:y});case 17:case"end":return t.stop()}},x,b,[[3,9]])})),d),e.push({task_id:y,intervalId:_}),v({task_id:y,response:g}),t.next=20;break;case 19:return t.abrupt("return",Promise.reject(g));case 20:t.next=25;break;case 22:return t.prev=22,t.t1=t["catch"](1),t.abrupt("return",Promise.reject(t.t1));case 25:case"end":return t.stop()}},t,this,[[1,22]])})),this.stopTask=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.task_id,n=e.find(function(e){return e.task_id===r});n&&clearInterval(n.intervalId)},this.clear=function(){var t=this;e.forEach(function(e){var r=e.taskId;t.stopTask({taskId:r})}),e.splice(0)}}Object.defineProperty(r,"__esModule",{value:!0});var a=e("core/utils/utils"),o=a.XHR;r["default"]=new i},{"core/utils/utils":92}],401:[function(e,t,r){function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function e(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(l){i=!0,a=l}finally{try{!n&&s["return"]&&s["return"]()}finally{if(i)throw a}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=e("core/applicationstate"),o=n(a),s=e("gui/constraints"),l=e("core/utils/utils"),u=l.base,c=l.inherit,d=l.uniqueId,p=e("core/g3wobject"),f=e("gui/gui"),h=function(){this.state={primaryView:"map",secondaryPerc:0,resized:{start:!1,h:!1,v:!1},split:"h",map:{sizes:{width:0,height:0},aside:!1},content:{loading:!1,disabled:!1,sizes:{width:0,height:0},resize:{h:{perc:0},v:{perc:0}},aside:!0,showgoback:!0,stack:[],closable:!0,backonclose:!1,contentsdata:[]},usermessage:{id:null,show:!1,title:null,message:null,position:null,type:null,draggable:null,cloasable:null,autoclose:null,textMessage:!1,hooks:{header:null,body:null,footer:null}}},this._components={map:null,content:null},this._defaultMapComponent,this._contextualMapComponent,this._secondaryViewMinWidth=s.viewport.resize.content.min,this._secondaryViewMinHeight=s.viewport.resize.content.min,this._immediateComponentsLayout=!0,this.init=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.primaryview,r=void 0===t?"map":t,n=e.split,i=void 0===n?"h":n,a=e.components;this.state.primaryView=r,this.state.split=i,this._addComponents(a)},this.setResized=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.state.resized[e]=t},this.showUserMessage=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.title,n=t.subtitle,i=t.message,a=t.type,o=t.position,s=t.size,l=t.draggable,u=t.duration,c=t.textMessage,p=void 0!==c&&c,f=t.closable,h=t.autoclose,v=t.hooks,g=void 0===v?{}:v;return this.closeUserMessage(),setTimeout(function(){e.state.usermessage.id=d(),e.state.usermessage.show=!0,e.state.usermessage.message=i,e.state.usermessage.textMessage=p,e.state.usermessage.title=r,e.state.usermessage.subtitle=n,e.state.usermessage.position=o,e.state.usermessage.duration=u,e.state.usermessage.type=a,e.state.usermessage.show=!0,e.state.usermessage.size=s,e.state.usermessage.autoclose=h,e.state.usermessage.closable=f,e.state.usermessage.draggable=l,e.state.usermessage.hooks.header=g.header,e.state.usermessage.hooks.body=g.body,e.state.usermessage.hooks.footer=g.footer}),this.state.usermessage},this.closeUserMessage=function(){this.state.usermessage.id=null,this.state.usermessage.show=!1,this.state.usermessage.textMessage=!1,this.state.usermessage.message=""},this.getState=function(){return this.state},this.getMapState=function(){return this.state.map},this.getContentState=function(){return this.state.content},this.setLoadingContent=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state.content.loading=e},this._addComponents=function(e){var t=this;Object.entries(e).forEach(function(e){var r=i(e,2),n=r[0],a=r[1];Object.keys(t._components).indexOf(n)>-1&&a.mount("#g3w-view-"+n,!0).then(function(){t._components[n]=a,"map"===n&&(t._defaultMapComponent=a)}).fail(function(e){})})},this.showMap=function(){this._toggleMapComponentVisibility(this._defaultMapComponent,!0),this._components.map=this._defaultMapComponent,this._showView("map")},this.showContextualMap=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._contextualMapComponent||(this._contextualMapComponent=this._defaultMapComponent),this._contextualMapComponent!=this._defaultMapComponent&&this._toggleMapComponentVisibility(this._defaultMapComponent,!1),this._contextualMapComponent.ismount())this._components.map=this._contextualMapComponent,this._toggleMapComponentVisibility(this._contextualMapComponent,!0);else{var r=this._contextualMapComponent;r.mount("#g3w-view-map",!0).then(function(){return e._components.map=r})}this._showView("map",t)},this.recoverDefaultMap=function(){return this._components.map!==this._defaultMapComponent&&(this._components.map=this._defaultMapComponent,this._toggleMapComponentVisibility(this._contextualMapComponent,!1),this._toggleMapComponentVisibility(this._defaultMapComponent,!0)),this._components.map},this.setContextualMapComponent=function(e){e!==this._defaultMapComponent&&(this._contextualMapComponent&&this._contextualMapComponent.unmount(),this._contextualMapComponent=e)},this.resetContextualMapComponent=function(){this._contextualMapComponent&&this._contextualMapComponent.unmount(),this._contextualMapComponent=this._defaultMapComponent},this._toggleMapComponentVisibility=function(e,t){e.internalComponent.$el.style.display=t?"block":"none"},this.closeMap=function(){this.state.secondaryPerc="map"===this.state.primaryView?100:0,this.recoverDefaultMap(),this._layout()},this.showContent=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.perc=void 0!==t.perc?t.perc:this.getContentPercentageFromCurrentLayout(),t.push=t.push||!1;var r=100===t.perc?"show-content-full":"show-content";this._prepareContentView(t),this._immediateComponentsLayout=!1,this._showView("content",t),this._components.content.setContent(t).then(function(){e._immediateComponentsLayout=!0,e._layoutComponents(r)})},this.hideContent=function(e){var t=this.getContentPercentageFromCurrentLayout(this.state.split);return this.state.secondaryVisible=!e,this._layout("hide-content"),t},this.resetToDefaultContentPercentage=function(){var e=this.getCurrentContentLayout();e[""+("h"===this.state.split?"width":"height")]=e[("h"===this.state.split?"width":"height")+"_default"],e[("h"===this.state.split?"width":"height")+"_100"]=!1,this._layoutComponents()},this.toggleFullViewContent=function(){o["default"].gui.layout[o["default"].gui.layout.__current].rightpanel[("h"===this.state.split?"width":"height")+"_100"]=!o["default"].gui.layout[o["default"].gui.layout.__current].rightpanel[("h"===this.state.split?"width":"height")+"_100"],this._layoutComponents()},this.isFullViewContent=function(){return o["default"].gui.layout[o["default"].gui.layout.__current].rightpanel[("h"===this.state.split?"width":"height")+"_100"]},this.contentLength=function(){return this.state.content.contentsdata.length},this.popContent=function(){var e=this,t=$.Deferred();if(this.state.content.contentsdata.length){this.recoverDefaultMap();var r=this._components.content.getPreviousContentData();this._prepareContentView(r.options),this._immediateComponentsLayout=!1,this._showView("content",r.options),this._components.content.popContent().then(function(){e.state.secondaryPerc=r.options.perc,e._immediateComponentsLayout=!0,e._layout("pop-content"),t.resolve(e._components.contentgetCurrentContentData)})}else t.reject();return t.promise()},this.getCurrentContent=function(){return this.contentLength()?this.state.content.contentsdata[this.contentLength()-1]:null},this.getCurrentContentTitle=function(){var e=this.getCurrentContent();return e&&e.options.title},this.getCurrentContentId=function(){var e=this.getCurrentContent();return e&&e.options.id},this.changeCurrentContentOptions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getCurrentContent();if(t){var r=e.title,n=e.crumb;r&&(t.options.title=r),n&&(t.options.crumb=n)}},this.changeCurrentContentTitle=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.getCurrentContent();t&&(t.options.title=e)},this.isContentOpen=function(){return!!this.state.content.contentsdata.length},this.closeContent=function(){var e=this,t=$.Deferred();if(this.isContentOpen())this._components.content.removeContent(),this.closeSecondaryView("close-content").then(function(){var r=e.recoverDefaultMap();t.resolve(r)});else{var r=this.recoverDefaultMap();t.resolve(r)}return t.promise()},this.disableContent=function(e){this.state.content.disabled=e},this.removeContent=function(){return this.state.content.backonclose&&this.state.content.contentsdata.length>1?void this.popContent():this.closeContent()},this.isPrimaryView=function(e){return this.state.primaryView==e},this.setPrimaryView=function(e){this.state.primaryView!==e&&(this.state.primaryView=e),this._layout()},this.showPrimaryView=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;e&&this.state.secondaryVisible&&100===this.state.secondaryPerc&&(this.state.secondaryPerc=100-e,this._layout())},this.showSecondaryView=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.split,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.perc;this.state.secondaryVisible=!0,this.state.split=e,this.state.secondaryPerc=t,this._layout()},this.closeSecondaryView=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=$.Deferred(),n=this._components[this._otherView(this.state.primaryView)];return n.clearContents?n.clearContents().then(function(){e.state.secondaryVisible=!1,e.state.secondaryPerc=0,e._layout(t),Vue.nextTick(function(){return r.resolve()})}):(this.state.secondaryVisible=!1,this._layout(t),Vue.nextTick(function(){return r.resolve()})),r.promise()},this.getDefaultViewPerc=function(e){return this.isPrimaryView(e)?100:50},this._otherView=function(e){return"map"===e?"content":"map"},this._isSecondary=function(e){return this.state.primaryView!==e},this._setPrimaryView=function(e){this.state.primaryView!==e&&(this.state.primaryView=e)},this._prepareContentView=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,r=e.split,n=void 0===r?null:r,i=e.closable,a=void 0===i||i,o=e.backonclose,s=void 0===o||o,l=e.style,u=void 0===l?{}:l,c=e.showgoback,d=void 0===c||c,p=e.headertools,f=void 0===p?[]:p;this.state.content.title=t,this.state.content.split=n,this.state.content.closable=a,this.state.content.backonclose=s,this.state.content.contentsdata=this._components.content.contentsdata,this.state.content.style=u,this.state.content.headertools=f,this.state.content.showgoback=d},this._showView=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.perc,n=void 0===r?this.getDefaultViewPerc(e):r,i=t.split,a=void 0===i?"h":i,o=void 0;o=!this.isPrimaryView(e)||"undefined"!=typeof t.aside&&t.aside,this.state[e].aside=o;var s=this.isPrimaryView(e)?100-n:n;return s>0?void this.showSecondaryView(a,s):this.closeSecondaryView()},this._getReducedSizes=function(){var e=$(".content"),t=0,r=0,n=$(".sidebar-aside-toggle");if(e&&this.state.secondaryVisible&&this.isFullViewContent()){if(n&&n.is(":visible")){var i=n.outerWidth();e.css("padding-left",i+5),t=i-5}}else{var a=n.outerWidth();e.css("padding-left",100===this.state.secondaryPerc?a+5:15)}return{reducedWidth:t,reducedHeight:r}},this._layout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this._getReducedSizes();this._setViewSizes(t.reducedWidth,t.reducedHeight),this._immediateComponentsLayout&&this._layoutComponents(e)},this._setViewSizes=function(){var e=this.state.primaryView,t=this._otherView(e),r=this.getViewportSize(),n=r.width,i=r.height,a=void 0,o=void 0,s=void 0,l=void 0,u=(100===this.state.secondaryPerc||this.isFullViewContent()?100:this.getContentPercentageFromCurrentLayout(this.state.split))/100;"h"===this.state.split?(s=this.state.secondaryVisible?Math.max(n*u,this._secondaryViewMinWidth):0,l=i,a=n-s,o=i):(s=n,l=this.state.secondaryVisible?Math.max(i*u,this._secondaryViewMinHeight):0,a=this.state.secondaryVisible&&1===u?0:n,o=i-l),this.state[e].sizes.width=a,this.state[e].sizes.height=o,this.state[t].sizes.width=s,this.state[t].sizes.height=l},this.getViewportSize=function(){return{width:this._viewportWidth(),height:this._viewportHeight()}},this._viewportHeight=function(){var e=$(".navbar-header").innerHeight();return $(document).innerHeight()-e},this._viewportWidth=function(){var e=$(".main-sidebar"),t=e.length&&e.offset().left,r=e.length&&e[0].getBoundingClientRect().width,n=r+t;return $("#app")[0].getBoundingClientRect().width-n},this.resizeViewComponents=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},arguments[2]);this.setResized(e,!0),this.setContentPercentageFromCurrentLayout(e,t),this._layout("resize")},this.setContentPercentageFromCurrentLayout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.split,t=arguments[1];this.getCurrentContentLayout()["h"===e?"width":"height"]=t},this.getContentPercentageFromCurrentLayout=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.split;return this.getCurrentContentLayout()["h"===e?"width":"height"]},this.getCurrentContentLayout=function(){return o["default"].gui.layout[o["default"].gui.layout.__current].rightpanel},this._layoutComponents=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;requestAnimationFrame(function(){var r=e._getReducedSizes(),n=r.reducedWidth||0,a=r.reducedHeight||0;e._setViewSizes(),Object.entries(e._components).forEach(function(t){var r=i(t,2),o=r[0],s=r[1],l=e.state[o].sizes.width-n,u=e.state[o].sizes.height-a;s.layout(l,u)}),t&&setTimeout(function(){e.emit(t),f.emit(t)})})},this._firstLayout=function(){function e(){n=!0,i()}var t=this,r=!1,n=!1,i=function a(){n===!0?(n=!1,r=!0,t._layout("resize"),requestAnimationFrame(a)):r=!1};f.on("ready",function(){t.SIDEBARWIDTH=f.getSize({element:"sidebar",what:"width"}),t._layout(),f.on("guiresized",function(){return e()}),$(window).resize(function(){r===!1&&e()}),$(".main-sidebar").on("webkitTransitionEnd transitionend msTransitionEnd oTransitionEnd",function(t){t.target===this&&($(this).trigger("trans-end"),e())})})},this._firstLayout(),u(this)};c(h,p),r["default"]=new h},{"core/applicationstate":8,"core/g3wobject":26,"core/utils/utils":92,"gui/constraints":143,"gui/gui":150}],402:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){this._workflows=[],this.push=function(e){return this._workflows.indexOf(e)===-1?this._workflows.push(e)-1:this._workflows.indexOf(e)},this.getParent=function(){var e=this._getCurrentIndex();return e>0&&this._workflows[e-1]},this.getParents=function(){var e=this._getCurrentIndex();return e>0&&this._workflows.slice(0,e)},this.pop=function(){return this._workflows.pop()},this.getLength=function(){return this._workflows.length},this._getCurrentIndex=function(){var e=this.getCurrent();return this._workflows.findIndex(function(t){return t===e})},this.getCurrent=function(){return this.getLast()},this.getLast=function(){var e=this._workflows.length;return e?this._workflows[e-1]:null},this.getFirst=function(){return this._workflows[0]},this.removeAt=function(e){this._workflows.splice(e,1)},this.getAt=function(e){return this._workflows[e]},this.insertAt=function(e,t){this._workflows[e]=t},this.clear=function(){for(;this._workflows.length;){var e=this.pop();e.stop()}}};r["default"]=new n},{}],403:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=Vue.observable({ready:!1,iframe:!1,online:!1,ismobile:!1,download:!1,upload:!1,baseLayerId:null,lng:"en",changeProjectview:!1,plugins:[],user:null,map:{epsg:"",unit:"metric"},gui:{app:{disabled:!1},sidebar:{disabled:!1},layout:{__current:"app",app:{}}},keys:{vendorkeys:{google:void 0,bing:void 0}},tokens:{filtertoken:void 0}});r.STATE_METHODS={};r["default"]=n},{}],404:[function(e,t,r){function n(){a(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/utils/utils"),a=i.base,o=i.inherit,s=e("core/layers/layersstoresregistry");o(n,s),r["default"]=new n},{"core/layers/layersstoresregistry":55,"core/utils/utils":92}],405:[function(e,t,r){function n(){this.components={},this.registerComponent=function(e){var t=e.getId();this.components[t]||(this.components[t]=e,this.emit("componentregistered",e))},this.getComponent=function(e){return this.components[e]},this.getComponents=function(){return this.components},this.unregisterComponent=function(e){var t=this.components[e];return t&&("function"==typeof t.destroy&&t.destroy(),this.components[e]=null),t},o(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/g3wobject"),a=e("core/utils/utils"),o=a.base,s=a.inherit;s(n,i),r["default"]=new n},{"core/g3wobject":26,"core/utils/utils":92}],406:[function(e,t,r){function n(){var e=this;this._controls={},this._offlineids=[],i.onbefore("offline",function(){e._offlineids.forEach(function(t){var r=t.id,n=e._controls[r];t.enable=n.getEnable(),n.setEnable(!1)})}),i.onbefore("online",function(){e._offlineids.forEach(function(t){var r=t.id,n=t.enable;e._controls[r].setEnable(n)})}),this.setters={registerControl:function(e,t){this._registerControl(e,t)}},this._registerControl=function(e,t){this._controls[e]=t,t.offline===!1&&(this._offlineids.push({id:e,enable:t.getEnable()}),t.getEnable()&&t.setEnable(i.isOnline()))},this.getControl=function(e){return this._controls[e]},this.getControls=function(){return this._controls},this.unregisterControl=function(e){var t=this.getControl(e),r=u.getService("map"),n=r.getMap();return!!t&&(n.removeControl(t),delete this._controls[e],this._offlineids=this._offlineids.filter(function(t){return t!==e}),!0)},o(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/applicationservice"),a=e("core/utils/utils"),o=a.base,s=a.inherit,l=e("core/g3wobject"),u=e("gui/gui");s(n,l),r["default"]=new n},{"core/applicationservice":7,"core/g3wobject":26,"core/utils/utils":92,"gui/gui":150}],407:[function(e,t,r){function n(){o(this)}Object.defineProperty(r,"__esModule",{value:!0});var i=e("core/utils/utils"),a=i.inherit,o=i.base,s=e("core/layers/layersstoresregistry");a(n,s),r["default"]=new n},{"core/layers/layersstoresregistry":55,"core/utils/utils":92}],408:[function(e,t,r){function n(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,r){function n(i,a){try{var o=t[i](a),s=o.value}catch(l){return void r(l)}return o.done?void e(s):Promise.resolve(s).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}function i(){var t=this;this.config=null,this._plugins={},this._configurationPlugins=[],this.pluginsConfigs={},this._loadedPluginUrls=[],this.setters={registerPlugin:function(e){this._plugins[e.name]||(this._plugins[e.name]=e)}},c.onafter("setCurrentProject",function(e){t.gidProject=e.getGid()}),l(this),this.init=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise(function(){var r=n(regeneratorRuntime.mark(function i(r,n){var a;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return e.pluginsBaseUrl=t.pluginsBaseUrl,e.setPluginsConfig(t.pluginsConfigs),Object.keys(e.pluginsConfigs).forEach(function(t){return e._configurationPlugins.push(t)}),e.addLoadingPlugins(),e.otherPluginsConfig=t.otherPluginsConfig,e.setOtherPlugins(),e.setDependencyPluginConfig(),i.prev=7,i.next=10,e._loadPlugins();case 10:a=i.sent,r(a),i.next=17;break;case 14:i.prev=14,i.t0=i["catch"](7),n(i.t0);case 17:case"end":return i.stop()}},i,e,[[7,14]])}));return function(e,t){return r.apply(this,arguments)}}())},this.addLoadingPlugins=function(){var t=e("core/applicationservice");Object.keys(this.pluginsConfigs).forEach(function(e){return t.loadingPlugin(e)})},this.removeLoadingPlugin=function(t,r){var n=e("core/applicationservice");n.loadedPlugin(t,r)},this._loadPlugins=function(){var e=this,t=Object.entries(this.pluginsConfigs).map(function(t){var r=o(t,2),n=r[0],i=r[1];return e._setup(n,i)});return Promise.allSettled(t)},this.setDependencyPluginConfig=function(){var e=this,t=function(t){var r=e.pluginsConfigs[t].plugins;r&&Object.keys(r).forEach(function(t){e.pluginsConfigs[t]=a({},e.pluginsConfigs[t],r[t])})};for(var r in this.pluginsConfigs)t(r)},this.setOtherPlugins=function(){var e=p[0];this.otherPluginsConfig&&this.otherPluginsConfig[e]&&this.otherPluginsConfig[e].length?(this.pluginsConfigs[e]=this.otherPluginsConfig[e],this.pluginsConfigs[e].gid=this.otherPluginsConfig.gid):delete this.pluginsConfigs[e]},this.reloadPlugins=function(e,t){var r=this;return new Promise(function(){var i=n(regeneratorRuntime.mark(function a(n,i){var o,s,l,u,c;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:o=$("script"),s=r.getPlugins(),l=function(e){var t=s[e];t.unload(),delete r._plugins[e],o.each(function(t,n){r._loadedPluginUrls.forEach(function(t,i){if(n.getAttribute("src")===t&&t.indexOf(e)!==-1)return n.parentNode.removeChild(n),r._loadedPluginUrls.splice(i,1),!1})})};for(u in s)l(u);return r._loadedPluginUrls=[],r.otherPluginsConfig=t.getState(),r.setPluginsConfig(e.group.plugins),r.addLoadingPlugins(),r.setOtherPlugins(),a.prev=9,a.next=12,r._loadPlugins();case 12:c=a.sent,n(c),a.next=19;break;case 16:a.prev=16,a.t0=a["catch"](9),i(a.t0);case 19:case"end":return a.stop()}},a,r,[[9,16]])}));return function(e,t){return i.apply(this,arguments)}}())},this.setPluginsConfig=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={};Object.entries(t).filter(function(t){var r=o(t,2),n=r[1];return n.gid===e.gidProject}).forEach(function(e){var t=o(e,2),n=t[0],i=t[1];return r[n]=i}),this.pluginsConfigs=r},this._loadScript=function(e){return $.getScript(e)},this._setup=function(e,t){var r=this;return new Promise(function(){var i=n(regeneratorRuntime.mark(function a(n,i){var o,s,l,u,c,d,p,f,h,v,g,m;return regeneratorRuntime.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(_.isNull(t)){a.next=38;break}for(o=t.jsscripts,s=void 0===o?[]:o,l=[],u=function(e){l.push(new Promise(function(t,n){r._loadScript(e).done(function(){return t()}).fail(function(){return n()})}))},c=!0,d=!1,p=void 0,a.prev=7,f=s[Symbol.iterator]();!(c=(h=f.next()).done);c=!0)v=h.value,u(v);a.next=15;break;case 11:a.prev=11,a.t0=a["catch"](7),d=!0,p=a.t0;case 15:a.prev=15,a.prev=16,!c&&f["return"]&&f["return"]();case 18:if(a.prev=18,!d){a.next=21;break}throw p;case 21:return a.finish(18);case 22:return a.finish(15);case 23:return a.prev=23,a.next=26,Promise.all(l);case 26:g=""+r.pluginsBaseUrl+e,m=g+"/js/plugin.js?"+Date.now(),t.baseUrl=r.pluginsBaseUrl,r._loadScript(m).done(function(){r._loadedPluginUrls.push(m),n()}).fail(function(){r.removeLoadingPlugin(e,!1),i()}),a.next=36;break;case 32:a.prev=32,a.t1=a["catch"](23),r.removeLoadingPlugin(e,!1),i();case 36:a.next=39;break;case 38:n();case 39:case"end":return a.stop()}},a,r,[[7,11,15,23],[16,,18,22],[23,32]])}));return function(e,t){return i.apply(this,arguments)}}())},this.getPluginConfig=function(e){return this.pluginsConfigs[e]},this.getPlugins=function(){return this._plugins},this.getPlugin=function(e){return this._plugins[e]},this.isPluginInConfiguration=function(e){return this._configurationPlugins.indexOf(e)!==-1},this.isTherePlugin=function(e){return this.pluginsConfigs[e]}}Object.defineProperty(r,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},r=$.Deferred();if(this.initialized){var n=this.getCurrentProject();r.resolve(n)}else{this.config=t,this.overviewproject=t.overviewproject,this.setupState();var i=new URLSearchParams(location.search),a=i.get("map_theme");this.getProject(t.initproject,{map_theme:a}).then(function(t){e.setCurrentProject(t),e.initialized=!0,r.resolve(t)}).fail(function(e){return r.reject(e)})}return r.promise()},d.clear=function(){this.config=null,this.initialized=!1,this.projectType=null,this.overviewproject,this.initialized=!1,this._groupProjects=[],this._projectConfigs={},this.state={baseLayers:{},minScale:null,maxscale:null,currentProject:null,qgis_version:null}},d.setProjectType=function(e){this.projectType=e},d.getConfig=function(){return this.config},d.getState=function(){return this.state},d.setupState=function(){this.state.baseLayers=this.config.baselayers,this.state.minScale=this.config.minscale,this.state.maxScale=this.config.maxscale,this.state.crs=this.config.crs,this.setProjects(this.config.projects)},d.getProjectType=function(){return this.projectType},d.getProjects=function(){return this._groupProjects},d.setProjects=function(e){var t=this;this.clearProjects(),e.forEach(function(e){t.state.qgis_version=e.qgis_version||t.state.qgis_version,e.baselayers=t.config.baselayers,e.minscale=t.config.minscale,e.maxscale=t.config.maxscale,e.crs=t.config.crs,e.vectorurl=t.config.vectorurl,e.rasterurl=t.config.rasterurl,e.overviewprojectgid=t.overviewproject?t.overviewproject.gid:null,t._groupProjects.push(e)})},d.clearProjects=function(){this._groupProjects=[]},d.getListableProjects=function(){var e=this.getCurrentProject().getId();return _.sortBy(this.getProjects().filter(function(t){return _.isNil(t.listable)?!(t.id===e||t.overviewprojectgid&&t.gid===t.overviewprojectgid)&&t:t.listable}),"title")},d.getCurrentProject=function(){return this.state.currentProject},d.getProject=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{reload:!1},n=r.reload,i=r.map_theme,a=$.Deferred(),o=this._groupProjects.find(function(t){return t.gid===e});if(!o)return a.reject("Project doesn't exist"),a.promise();var s=!n&&this._projectConfigs[e];if(s){var u=new l(s);a.resolve(u)}else this._getProjectFullConfig(o,{map_theme:i}).then(function(e){var r=_.merge(o,e);r.WMSUrl=t.config.getWmsUrl(r),r.relations=t._setProjectRelations(r),t._projectConfigs[r.gid]=r,t.createProject(r);var n=new l(r);a.resolve(n)}).fail(function(e){return a.reject(e)});return a.promise()},d._setProjectRelations=function(e){return e.relations=e.relations?e.relations:[],e.relations=e.relations.map(function(t){return"ONE"===t.type&&e.layers.find(function(e){if(e.id===t.referencingLayer)return t.name=e.name,t.origname=e.origname,!0}),t}),e.relations},d.getProjectConfigByGid=function(e){return this._groupProjects.find(function(t){return t.gid===e})},d.setProjectAliasUrl=function(e){var t=e.gid,r=e.url,n=e.host,i=this.config.projects.find(function(e){return e.gid===t});i&&(i.url=i&&""+(n?n:"")+r)},d.getProjectUrl=function(e){var t=this.config.urls.baseurl,r=this.getProjectConfigByGid(e),n=r.url;try{return new URL(t),""+t+n}catch(i){var a=location,o=a.origin;return""+o+t+n}},d._getProjectFullConfig=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.map_theme,n=$.Deferred(),i=this.config.getProjectConfigUrl(e);return $.get(i).done(function(t){if(r){var i=e.type,a=e.id,o=t.map_themes,s=o.find(function(e){var t=e.theme;return t===r});if(s){var l="/"+i+"/api/prjtheme/"+a+"/"+r;$.get(l).done(function(e){var r=e.result,n=e.data;r&&(t.layerstree=n,s.layetstree=n,s["default"]=!0)}).always(function(){n.resolve(t)})}}else n.resolve(t)}).fail(function(e){return n.reject(e)}),n.promise()},r["default"]=new n},{"core/catalog/cataloglayersstoresregistry":9,"core/g3wobject":26,"core/map/maplayersstoresregistry":76,"core/project/project":82,"core/utils/utils":92}],410:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){this._sessions={},this.register=function(e){var t=e.getId();this._sessions[t]=e},this.unregister=function(e){delete this._sessions[e]},this.getSession=function(e){return this._sessions[e]},this.setSession=function(e,t){this._sessions[e]=t},this.getSessions=function(){return this._sessions},this.clear=function(){this._sessions={}}};r["default"]=new n},{}],411:[function(e,t,r){Object.defineProperty(r,"__esModule",{value:!0}),r["default"]="3.7.18"},{}]},{},[232]); \ No newline at end of file