text: (self.webpackChunkgeonode_mapstore_client=self.webpackChunkgeonode_mapstore_client||[]).push([[4270],{33528:(e,t,n)=>{"use strict";n.d(t,{$O:()=>o,sF:()=>i,DA:()=>a,a8:()=>s,lg:()=>u,YV:()=>c,HT:()=>l});var r="QUERY:UPDATE_FILTER",o="FEATUREGRID:OPEN_GRID",i="FEATUREGRID:CLOSE_GRID",a="FEATUREGRID:SIZE_CHANGE";function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{type:r,update:e,append:t}}function u(){return{type:"FEATUREGRID:TOGGLE_MODE",mode:"EDIT"}}function c(){return{type:i}}function l(e){return{type:"FEATUREGRID:SET_PERMISSION",permission:e}}},80416:(e,t,n)=>{"use strict";n.d(t,{yS:()=>r,Zz:()=>o,ms:()=>i,ih:()=>a,OX:()=>s,sb:()=>u,K$:()=>c,k7:()=>l,cX:()=>p,x9:()=>E,vs:()=>f,oE:()=>d,Po:()=>y,qv:()=>R,cI:()=>m,g6:()=>_,I4:()=>O,l$:()=>g,Xv:()=>A,k3:()=>T,CQ:()=>S,sH:()=>b,c7:()=>h,_7:()=>N,eF:()=>v,O6:()=>L,ED:()=>P,RP:()=>I,sF:()=>C,VP:()=>D,He:()=>Y,vO:()=>G,WO:()=>U,bh:()=>w,pV:()=>M,ZF:()=>k,tV:()=>j,Dv:()=>F,Yz:()=>H,kI:()=>V,XG:()=>Z,A4:()=>x,ct:()=>z,oh:()=>Q,$h:()=>W,ud:()=>q,Qr:()=>X,LR:()=>B,nN:()=>J,UG:()=>$,F5:()=>K,c9:()=>ee,Jh:()=>te});var r="CHANGE_LAYER_PROPERTIES",o="LAYERS:CHANGE_LAYER_PARAMS",i="CHANGE_GROUP_PROPERTIES",a="TOGGLE_NODE",s="SORT_NODE",u="REMOVE_NODE",c="UPDATE_NODE",l="MOVE_NODE",p="LAYER_LOADING",E="LAYER_LOAD",f="LAYER_ERROR",d="ADD_LAYER",y="ADD_GROUP",R="REMOVE_LAYER",m="SHOW_SETTINGS",_="HIDE_SETTINGS",O="UPDATE_SETTINGS",g="REFRESH_LAYERS",A="LAYERS:UPDATE_LAYERS_DIMENSION",T="LAYERS_REFRESHED",S="LAYERS_REFRESH_ERROR",b="LAYERS:CLEAR_LAYERS",h="LAYERS:SELECT_NODE",N="LAYERS:FILTER_LAYERS",v="LAYERS:SHOW_LAYER_METADATA",L="LAYERS:HIDE_LAYER_METADATA",P="LAYERS:UPDATE_SETTINGS_PARAMS";function I(e,t,n){return{type:m,node:e,nodeType:t,options:n}}function C(){return{type:_}}function D(e){return{type:O,options:e}}function Y(e,t){return{type:r,newProperties:t,layer:e}}function G(e,t){return{type:o,layer:e,params:t}}function U(e,t){return{type:i,newProperties:t,group:e}}function w(e,t,n){return{type:a,node:e,nodeType:t,status:!n}}function M(e){return{type:"CONTEXT_NODE",node:e}}function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:u,node:e,nodeType:t,removeEmpty:n}}function j(e,t,n){return{type:c,node:e,nodeType:t,options:n}}function F(e,t,n){return{type:l,node:e,groupId:t,index:n}}function H(e){return{type:p,layerId:e}}function V(e,t){return{type:E,layerId:e,error:t}}function Z(e,t,n){return{type:f,layerId:e,tilesCount:t,tilesErrorCount:n}}function x(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{type:d,layer:e,foreground:t}}function z(e,t){return{type:r,layer:e,newProperties:{_v_:t||(new Date).getTime()}}}function Q(e){return{type:T,layers:e}}function W(e,t){return{type:S,layers:e,error:t}}function q(e,t,n,r){return{type:A,dimension:e,value:t,options:n,layers:r}}function X(e){return{type:"LAYERS:BROWSE_DATA",layer:e}}function B(e){return{type:"LAYERS:DOWNLOAD",layer:e}}function J(){return{type:b}}function $(e,t,n){return{type:h,id:e,nodeType:t,ctrlKey:n}}function K(e){return{type:N,text:e}}function ee(e,t){return{type:v,metadataRecord:e,maskLoading:t}}function te(){return{type:L}}},1550:(e,t,n)=>{"use strict";n.d(t,{pP:()=>o,TR:()=>i,N7:()=>a,mq:()=>s,uv:()=>u,Qy:()=>c,IL:()=>l,Li:()=>p,OW:()=>E,ZO:()=>f,Um:()=>d,TF:()=>y,Ls:()=>R,Ec:()=>m,Eu:()=>_,JJ:()=>O,nZ:()=>g,YD:()=>A,GI:()=>T,Jb:()=>S,LP:()=>b,xy:()=>h,o6:()=>N,FP:()=>v,Mo:()=>L,sO:()=>P,Px:()=>I,hd:()=>C,BV:()=>D,SO:()=>Y,H0:()=>G,$X:()=>U,ou:()=>w,NE:()=>M});var r=n(97395),o="CHANGE_MAP_VIEW",i="CLICK_ON_MAP",a="CHANGE_MOUSE_POINTER",s="CHANGE_ZOOM_LVL",u="PAN_TO",c="ZOOM_TO_EXTENT",l="ZOOM_TO_POINT",p="CHANGE_MAP_CRS",E="CHANGE_MAP_SCALES",f="CHANGE_MAP_STYLE",d="CHANGE_ROTATION",y="CREATION_ERROR_LAYER",R="UPDATE_VERSION",m="INIT_MAP",_="RESIZE_MAP",O="CHANGE_MAP_LIMITS",g="SET_MAP_RESOLUTIONS",A="REGISTER_EVENT_LISTENER",T="UNREGISTER_EVENT_LISTENER",S="MOUSE_MOVE";function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{family:""};return(0,r.vU)({title:"warning",message:"map.errorLoadingFont",values:e,position:"tc",autoDismiss:10})}function h(e,t,n){return{type:l,pos:e,zoom:t,crs:n}}function N(e,t,n,r,i,a,s,u){return{type:o,center:e,zoom:t,bbox:n,size:r,mapStateSource:i,projection:a,viewerOptions:s,resolution:u}}function v(e,t){return{type:i,point:e,layer:t}}function L(e){return{type:a,pointer:e}}function P(e,t){return{type:s,zoom:e,mapStateSource:t}}function I(e,t,n){return{type:c,extent:e,crs:t,maxZoom:n}}function C(e,t){return{type:f,style:e,mapStateSource:t}}function D(e){var t=e.restrictedExtent,n=e.crs,r=e.minZoom;return{type:O,restrictedExtent:t,crs:n,minZoom:r}}function Y(e){return{type:g,resolutions:e}}var G=function(e,t){return{type:A,eventName:e,toolName:t}},U=function(e,t){return{type:T,eventName:e,toolName:t}},w=function(e){return{type:S,position:e}},M=function(){return{type:"MOUSE_OUT"}}},95797:(e,t,n)=>{"use strict";n.d(t,{S0:()=>r,u7:()=>o,lj:()=>i,yz:()=>a,lN:()=>s,zW:()=>u,Yx:()=>c,VN:()=>l,Hu:()=>p,VT:()=>E,RD:()=>f,_T:()=>d,vO:()=>y}),n(75875);var r="FEATURE_TYPE_SELECTED",o="FEATURE_TYPE_LOADED",i="FEATURE_LOADED",a="FEATURE_LOADING",s="FEATURE_TYPE_ERROR",u="FEATURE_ERROR",c="QUERY_CREATE",l="QUERY:UPDATE_QUERY",p="QUERY_RESULT",E="QUERY_ERROR",f="RESET_QUERY",d="QUERY:TOGGLE_SYNC_WMS",y="QUERY:TOGGLE_LAYER_FILTER"},47310:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(75875),o=n.n(r),i=n(8575),a=n(27418),s=n.n(a),u={format:"json",bounded:0,polygon_geojson:1,priority:5};const c={geocode:function(e,t){var n=s()({q:e},u,t||{}),r=i.format({protocol:"https",host:"nominatim.openstreetmap.org",query:n});return o().get(r)},reverseGeocode:function(e,t){var n=s()({lat:e.lat,lon:e.lng},t||{},u),r=i.format({protocol:"https",host:"nominatim.openstreetmap.org/reverse",query:n});return o().get(r)}}},7472:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(27418),o=n.n(r),i=n(45697),a=n.n(i),s=n(67294),u=n.n(s),c=n(85294),l=n.n(c),p=n(72986),E=n.n(p),f=n(5346);function d(e){return(d="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})(e)}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}(s,e);var t,n,r,i,a=(r=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=T(r);if(i){var n=T(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g(this,e)});function s(){var e;m(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return S(A(e=a.call.apply(a,[this].concat(n))),"renderLoading",(function(){return e.props.maskLoading?u().createElement("div",{style:{width:"100%",height:"100%",position:"absolute",overflow:"visible",margin:"auto",verticalAlign:"center",left:"0",background:"rgba(255, 255, 255, 0.5)",zIndex:2}},u().createElement("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -40%)"}},u().createElement(f.Z,{msgId:"loading"}),u().createElement(E(),{spinnerName:"circle",noFadeIn:!0,overrideSpinnerClassName:"spinner"}))):null})),S(A(e),"renderRole",(function(t){return u().Children.toArray(e.props.children).filter((function(e){return e.props.role===t}))})),S(A(e),"hasRole",(function(t){return u().Children.toArray(e.props.children).filter((function(e){return e.props.role===t})).length>0})),S(A(e),"onClickOut",(function(t){e.props.onClickOut&&e.mask===t.target&&e.props.onClickOut(t)})),e}return t=s,(n=[{key:"render",value:function(){var e=this,t=u().createElement("div",{id:this.props.id,style:R({zIndex:3},this.props.style),className:"".concat(this.props.draggable?"modal-dialog-draggable":""," ").concat(this.props.className," modal-dialog-container")},u().createElement("div",{className:this.props.headerClassName+" draggable-header"},this.renderRole("header")),u().createElement("div",{className:this.props.bodyClassName},this.renderLoading(),this.renderRole("body")),this.hasRole("footer")?u().createElement("div",{className:this.props.footerClassName},this.renderRole("footer")):u().createElement("span",null)),n=this.props.draggable?u().createElement(l(),{defaultPosition:this.props.start,bounds:this.props.bounds,handle:".draggable-header, .draggable-header *"},t):t,r=o()({},this.props.style.display?{display:this.props.style.display}:{},this.props.backgroundStyle);return this.props.modal?u().createElement("div",{ref:function(t){e.mask=t},onClick:this.onClickOut,style:r,className:"fade in modal "+this.props.containerClassName,role:"dialog"},n):n}}])&&_(t.prototype,n),s}(u().Component);S(b,"propTypes",{id:a().string.isRequired,style:a().object,backgroundStyle:a().object,className:a().string,maskLoading:a().bool,containerClassName:a().string,headerClassName:a().string,bodyClassName:a().string,footerClassName:a().string,onClickOut:a().func,modal:a().bool,start:a().object,draggable:a().bool,bounds:a().oneOfType([a().string,a().object])}),S(b,"defaultProps",{style:{},backgroundStyle:{background:"rgba(0,0,0,.5)"},start:{x:0,y:150},className:"modal-dialog modal-content",maskLoading:!1,containerClassName:"",headerClassName:"modal-header",bodyClassName:"modal-body",footerClassName:"modal-footer",modal:!1,draggable:!0,bounds:"parent"});const h=b},99534:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(61365),o=n(56936);const i=(0,r.Z)(o.h_)},7147:(e,t,n)=>{"use strict";n.d(t,{Yq:()=>o,Iz:()=>i,QF:()=>a,PJ:()=>s,Gd:()=>u,tL:()=>c});var r=n(96486),o=function(e){return function(e,t){return function(t){return(0,r.get)(t,"controls[".concat(e,"][").concat("enabled","]"))}}(e)},i=function(e){return(0,r.get)(e,"controls.measure.showCoordinateEditor")},a=function(e){return(0,r.get)(e,"controls.measure.enabled")},s=function(e){return(0,r.get)(e,"controls.widgetBuilder.available",!1)},u=function(e){return(0,r.get)(e,"controls.layersettings.initialSettings")||{}},c=function(e){return(0,r.get)(e,"controls.layersettings.originalSettings")||{}}},38842:(e,t,n)=>{"use strict";n.d(t,{wk:()=>a,c3:()=>s,fY:()=>u});var r=n(96486),o=n(22222),i=n(8316),a=function(e){return(0,r.has)(e,"localConfig.localizedLayerStyles")},s=function(e){return(0,r.get)(e,"localConfig.localizedLayerStyles.name","mapstore_language")},u=(0,o.P1)(a,s,i.KV,(function(e,t,n){var r=[];return e&&r.push({name:t,value:n}),r}))}}]);