text: (self.webpackChunkgeonode_mapstore_client=self.webpackChunkgeonode_mapstore_client||[]).push([[59697],{631566:(e,t,n)=>{var r={"./CRSSelector.jsx":718790,"./MousePosition.jsx":211914,"./MousePositionLabelDD.jsx":659560,"./MousePositionLabelDM.jsx":684848,"./MousePositionLabelDMS.jsx":247461,"./MousePositionLabelDMSNW.jsx":295762,"./MousePositionLabelYX.jsx":154717};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=631566},247361:(e,t,n)=>{"use strict";n.d(t,{Z:()=>v});var r=n(675263),o=n.n(r),i=n(667294),a=n.n(i),l=n(414293),u=n.n(l),c=n(837101);function s(e){return s="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},s(e)}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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 y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(l,e);var t,n,r,o,i=(r=l,o=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=d(r);if(o){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return b(this,e)});function l(){return f(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"render",value:function(){return this.context.intl?a().createElement(c.FormattedNumber,p({value:this.props.value},this.props.numberParams)):a().createElement("span",null,!u()(this.props.value)&&!isNaN(this.props.value)&&this.props.value.toString&&this.props.value.toString()||"")}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(a().Component);h(g,"propTypes",{value:o().oneOfType([o().object,o().number]),numberParams:o().object}),h(g,"contextTypes",{intl:o().object});const v=g},575140:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var r=n(667294),o=n.n(r),i=n(675263),a=n.n(i),l=n(757588),u=n(950966),c=n(282467),s=n(727418),p=n.n(s);function f(e){return f="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},f(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function d(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(l,e);var t,n,r,i,a=(r=l,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=g(r);if(i){var n=g(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function l(){var e;m(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=a.call.apply(a,[this].concat(n))),"getStyle",(function(){var t={cursor:e.props.disabled?"not-allowed":"pointer",margin:0,padding:0,display:"inline-block"};return e.props.image?p()(t,{overflow:"hidden"}):p()(t,{height:"48px",width:"48px",border:"1px solid grey",borderRadius:"4px",backgroundColor:"rgb(250, 250, 250)"}),p()(t,e.props.style),t})),e}return t=l,(n=[{key:"render",value:function(){return o().createElement("img",{className:this.props.className,id:this.props.id,title:this.props.tooltip,style:this.getStyle(),src:this.props.image,onClick:this.props.disabled?null:this.props.onClick})}}])&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(o().Component);v(w,"propTypes",{id:a().string,image:a().string,onClick:a().func,style:a().object,disabled:a().bool,tooltip:a().string,className:a().string}),v(w,"defaultProps",{disabled:!1,tooltip:null,className:void 0});const O=w;function j(e){return j="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},j(e)}function P(){return P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P.apply(this,arguments)}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(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 x(e,t){return x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},x(e,t)}function C(e,t){if(t&&("object"===j(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return R(e)}function R(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)},T(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&x(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 C(this,e)});function s(){var e;E(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return _(R(e=a.call.apply(a,[this].concat(n))),"onClick",(function(){e.props.onClick(!e.props.pressed,e.props.options)})),_(R(e),"renderNormalButton",(function(){return o().createElement(c.Z,P({id:e.props.id},e.props.btnConfig,{onClick:e.onClick,bsStyle:e.props.pressed?e.props.pressedStyle:e.props.defaultStyle,style:e.props.style}),e.props.glyphicon?o().createElement(l.Glyphicon,{glyph:e.props.glyphicon}):null,e.props.glyphicon&&e.props.text&&!o().isValidElement(e.props.text)?" ":null,e.props.text,e.props.help)})),_(R(e),"renderImageButton",(function(){return o().createElement(O,{id:e.props.id,image:e.props.image,onClick:e.onClick,style:e.props.style})})),_(R(e),"addTooltip",(function(t){return o().createElement(u.Z,{placement:e.props.tooltipPlace,key:"overlay-trigger."+e.props.id,overlay:e.props.tooltip},t)})),e}return t=s,(n=[{key:"render",value:function(){var e="normal"===this.props.btnType?this.renderNormalButton():this.renderImageButton();return this.props.tooltip?this.addTooltip(e):e}}])&&S(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(o().Component);_(D,"propTypes",{id:a().string,btnConfig:a().object,options:a().object,text:a().oneOfType([a().string,a().element]),help:a().oneOfType([a().string,a().element]),glyphicon:a().string,pressed:a().bool,onClick:a().func,tooltip:a().element,tooltipPlace:a().string,style:a().object,btnType:a().oneOf(["normal","image"]),image:a().string,pressedStyle:a().string,defaultStyle:a().string}),_(D,"defaultProps",{onClick:function(){},options:{},pressed:!1,tooltipPlace:"top",style:{},btnType:"normal",pressedStyle:"primary",defaultStyle:"default"});const k=D},718790:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w});var r=n(675263),o=n.n(r),i=n(667294),a=n.n(i),l=n(757588),u=n(973935),c=n.n(u),s=n(986267);function p(e){return p="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},p(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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 y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(u,e);var t,n,r,o,i=(r=u,o=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=h(r);if(o){var n=h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return b(this,e)});function u(){var e;f(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(d(e=i.call.apply(i,[this].concat(n))),"launchNewCRSAction",(function(t){if(e.props.useRawInput)e.props.onCRSChange(t.target.value);else{var n=c().findDOMNode(d(e)).getElementsByTagName("select").item(0);e.props.onCRSChange(n.value)}})),e}return t=u,(n=[{key:"render",value:function(){var e,t,n=[],r={};for(var o in Object.keys(this.props.availableCRS).length&&(r=(0,s.filterCRSList)(this.props.availableCRS,this.props.filterAllowedCRS,this.props.additionalCRS,this.props.projectionDefs)),r)r.hasOwnProperty(o)&&(e=o,t=r[o].label,n.push(a().createElement("option",{value:e,key:e},t)));return this.props.enabled&&this.props.useRawInput?a().createElement("select",{id:this.props.id,value:this.props.crs,onChange:this.launchNewCRSAction,bsSize:"small"},n):this.props.enabled&&!this.props.useRawInput?a().createElement(l.FormGroup,null,a().createElement(l.ControlLabel,null,this.props.label),a().createElement(l.FormControl,{componentClass:"select",id:this.props.id,value:this.props.crs,onChange:this.launchNewCRSAction,bsSize:"small"},n)):null}}])&&m(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),u}(a().Component);g(v,"propTypes",{id:o().string,label:o().oneOfType([o().func,o().string,o().object]),availableCRS:o().object,filterAllowedCRS:o().array,projectionDefs:o().array,additionalCRS:o().object,crs:o().string,enabled:o().bool,onCRSChange:o().func,useRawInput:o().bool}),g(v,"defaultProps",{id:"mapstore-crsselector",availableCRS:(0,s.getAvailableCRS)(),crs:null,onCRSChange:function(){},enabled:!1,useRawInput:!1});const w=v},211914:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>D});var r=n(675263),o=n.n(r),i=n(667294),a=n.n(i),l=n(490173),u=n(757588),c=n(774855),s=n.n(c),p=n(986267),f=n(247461),m=n(154717),y=n(718790),b=n(805346),d=n(281763),h=n.n(d),g=n(282467),v=n(893379),w=n.n(v),O=n(901381);function j(e){return j="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},j(e)}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(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 S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function x(e,t){if(t&&("object"===j(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return C(e)}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}w()(O.Z,{insert:"head",singleton:!1}),O.Z.locals;var _=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}(c,e);var t,n,r,o,i=(r=c,o=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=R(r);if(o){var n=R(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return x(this,e)});function c(){var e;P(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return T(C(e=i.call.apply(i,[this].concat(n))),"getPosition",(function(){var t=e.props.mousePosition?e.props.mousePosition:[null,null],n=t.x,r=t.y,o=t.z;if(n||r){if(l.default.defs(e.props.mousePosition.crs)!==l.default.defs(e.props.crs)){var i=(0,p.reproject)([n,r],e.props.mousePosition.crs,e.props.crs);n=i.x,r=i.y}}else{var a={x:0,y:0,z:o};n=a.x,r=a.y}return"degrees"===(0,p.getUnits)(e.props.crs)?{lat:r,lng:n,z:o}:{x:n,y:r,z:o}})),T(C(e),"getTemplateComponent",(function(){return"degrees"===(0,p.getUnits)(e.props.crs)?e.props.degreesTemplate:e.props.projectedTemplate})),e}return t=c,(n=[{key:"render",value:function(){var e=this.props.mousePosition?this.getTemplateComponent():null;if(this.props.enabled){var t=this.getPosition();return a().createElement("div",{id:this.props.id,style:this.props.style},a().createElement("span",{className:"mapstore-mouse-coordinates"},this.props.showLabels?a().createElement("label",null,a().createElement(b.Z,{msgId:"mouseCoordinates"})):null,e?a().createElement(e,{position:t}):a().createElement("h5",null,a().createElement(u.Label,{bsSize:"lg",bsStyle:"info"},"...",a().createElement("span",null)))),this.props.copyToClipboardEnabled&&a().createElement(s(),{text:JSON.stringify(t),onCopy:this.props.onCopy},a().createElement(g.Z,{bsSize:this.props.btnSize},a().createElement(u.Glyphicon,{glyph:this.props.glyphicon}))),this.props.showElevation?a().createElement("span",{className:"mapstore-mouse-elevation"},this.props.showLabels?a().createElement("label",null,a().createElement(b.Z,{msgId:"mousePositionElevation"})):null,a().createElement("h5",null,this.props.elevationTemplate(t.z))):null,this.props.showCRS?this.props.crsTemplate(this.props.crs):null,this.props.editCRS?a().createElement(y.default,{projectionDefs:this.props.projectionDefs,filterAllowedCRS:this.props.filterAllowedCRS,additionalCRS:this.props.additionalCRS,label:this.props.showLabels?a().createElement("label",null,a().createElement(b.Z,{msgId:"mousePositionCRS"})):null,crs:this.props.crs,enabled:!0,onCRSChange:this.props.onCRSChange}):null,this.props.showToggle?this.props.toggle:null)}return this.props.showToggle?a().createElement("div",{id:this.props.id,style:this.props.style},this.props.toggle):null}}])&&E(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(a().Component);T(_,"propTypes",{id:o().string,mousePosition:o().object,crs:o().string,enabled:o().bool,showCRS:o().bool,editCRS:o().bool,filterAllowedCRS:o().array,projectionDefs:o().array,additionalCRS:o().object,degreesTemplate:o().oneOfType([o().object,o().func]),projectedTemplate:o().oneOfType([o().object,o().func]),crsTemplate:o().oneOfType([o().object,o().func]),elevationTemplate:o().oneOfType([o().object,o().func]),style:o().object,copyToClipboardEnabled:o().bool,glyphicon:o().string,btnSize:o().oneOf(["large","medium","small","xsmall"]),onCopy:o().func,onCRSChange:o().func,toggle:o().object,showLabels:o().bool,showToggle:o().bool,showElevation:o().bool}),T(_,"defaultProps",{id:"mapstore-mouseposition",mousePosition:null,crs:"EPSG:4326",enabled:!0,showCRS:!1,editCRS:!1,degreesTemplate:f.default,projectedTemplate:m.default,crsTemplate:function(e){return a().createElement("span",{className:"mouseposition-crs"},e)},elevationTemplate:function(e){return h()(e)?a().createElement("span",{className:"mouseposition-elevation"},e," m"):a().createElement(b.Z,{msgId:"mousePositionNoElevation"})},style:{},copyToClipboardEnabled:!1,glyphicon:"paste",btnSize:"xsmall",onCopy:function(){},onCRSChange:function(){},toggle:a().createElement("div",null),showLabels:!1,showToggle:!1,showElevation:!1});const D=_},659560:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(675263),o=n.n(r),i=n(667294),a=n.n(i),l=n(757588),u=n(247361);function c(e){return c="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},c(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function m(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b,d,h,g=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(c,e);var t,n,r,o,i=(r=c,o=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=y(r);if(o){var n=y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return m(this,e)});function c(){return s(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"render",value:function(){return a().createElement("h5",null,a().createElement(l.Label,{bsSize:"lg",bsStyle:"info"},a().createElement("span",null,"Lat: "),a().createElement(u.Z,{key:"latD",numberParams:{style:"decimal",minimumIntegerDigits:2,maximumFractionDigits:6,minimumFractionDigits:6},value:this.props.position.lat}),a().createElement("span",null,"° Lng: "),a().createElement(u.Z,{key:"lngD",numberParams:{style:"decimal",minimumIntegerDigits:3,maximumFractionDigits:6,minimumFractionDigits:6},value:this.props.position.lng}),a().createElement("span",null,"° ")))}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(a().Component);b=g,d="propTypes",h={position:o().shape({lng:o().number,lat:o().number})},d in b?Object.defineProperty(b,d,{value:h,enumerable:!0,configurable:!0,writable:!0}):b[d]=h;const v=g},684848:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O});var r=n(414293),o=n.n(r),i=n(675263),a=n.n(i),l=n(667294),u=n.n(l),c=n(757588),s=n(986267),p=n(247361);function f(e){return f="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},f(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function d(e,t){if(t&&("object"===f(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(l,e);var t,n,r,i,a=(r=l,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=g(r);if(i){var n=g(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d(this,e)});function l(){var e;m(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=a.call.apply(a,[this].concat(n))),"getPositionValues",(function(e){var t=e||[null,null],n=t.lng,r=t.lat,o=r%1*60,i=n%1*60;return{lat:r,latM:Math.abs(o),lng:n,lngM:Math.abs(i)}})),e}return t=l,(n=[{key:"render",value:function(){var e=this.getPositionValues(this.props.position),t={style:"decimal",minimumIntegerDigits:2,maximumFractionDigits:0},n={style:"decimal",minimumIntegerDigits:2,maximumFractionDigits:3,minimumFractionDigits:3},r={style:"decimal",minimumIntegerDigits:3,maximumFractionDigits:0};return u().createElement("h5",null,u().createElement(c.Label,{bsSize:"lg",bsStyle:"info"},u().createElement("span",null,"Lat: "),u().createElement(p.Z,{key:"latD",numberParams:t,value:o()(e.lat)?e.lat:(0,s.roundCoord)({roundingBehaviour:"floor",value:e.lat,maximumFractionDigits:t.maximumFractionDigits})}),u().createElement("span",null,"° "),u().createElement(p.Z,{key:"latM",numberParams:n,value:e.latM}),u().createElement("span",null,"' "),u().createElement("span",null,"Lng: "),u().createElement(p.Z,{key:"lngD",numberParams:r,value:o()(e.lng)?e.lng:(0,s.roundCoord)({roundingBehaviour:"floor",value:e.lng,maximumFractionDigits:r.maximumFractionDigits})}),u().createElement("span",null,"° "),u().createElement(p.Z,{key:"lngM",numberParams:n,value:e.lngM}),u().createElement("span",null,"' ")))}}])&&y(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),l}(u().Component);v(w,"propTypes",{position:a().shape({lng:a().number,lat:a().number})});const O=w},247461:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(675263),o=n.n(r),i=n(667294),a=n.n(i),l=n(757588),u=n(986267),c=n(247361);function s(e){return s="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},s(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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 m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function y(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(s,e);var t,n,r,o,i=(r=s,o=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=d(r);if(o){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function s(){var e;p(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return h(b(e=i.call.apply(i,[this].concat(n))),"getPositionValues",(function(e){var t=e||[null,null],n=t.lng,r=t.lat,o=r%1*60,i=n%1*60,a=o%1*60,l=i%1*60;return{lat:Math.trunc(r),latM:Math.abs(o),latS:Math.abs(a),lng:Math.trunc(n),lngM:Math.abs(i),lngS:Math.abs(l)}})),e}return t=s,(n=[{key:"render",value:function(){var e=this.props.position||{},t=e.lng,n=e.lat,r=this.getPositionValues(this.props.position),o=t<0?"-":"",i=n<0?"-":"",s={style:"decimal",minimumIntegerDigits:2,maximumFractionDigits:0},p={style:"decimal",minimumIntegerDigits:2,maximumFractionDigits:2,minimumFractionDigits:2};return a().createElement("h5",null,a().createElement(l.Label,{bsSize:"lg",bsStyle:"info"},a().createElement("span",null,"Lat: ",i),a().createElement(c.Z,{key:"latD",numberParams:s,value:Math.abs(r.lat)}),a().createElement("span",null,"° "),a().createElement(c.Z,{key:"latM",numberParams:s,value:(0,u.roundCoord)({roundingBehaviour:"floor",value:r.latM,maximumFractionDigits:s.maximumFractionDigits})}),a().createElement("span",null,"' "),a().createElement(c.Z,{key:"latS",numberParams:p,value:r.latS}),a().createElement("span",null,"''"),a().createElement("span",{className:"mouseposition-separator"}),a().createElement("span",null," Lng: ",o),a().createElement(c.Z,{key:"lngD",numberParams:{style:"decimal",minimumIntegerDigits:3,maximumFractionDigits:0},value:Math.abs(r.lng)}),a().createElement("span",null,"° "),a().createElement(c.Z,{key:"lngM",numberParams:s,value:(0,u.roundCoord)({roundingBehaviour:"floor",value:r.lngM,maximumFractionDigits:s.maximumFractionDigits})}),a().createElement("span",null,"' "),a().createElement(c.Z,{key:"lngS",numberParams:p,value:r.lngS}),a().createElement("span",null,"''")))}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(a().Component);h(g,"propTypes",{position:o().shape({lng:o().number,lat:o().number})});const v=g},295762:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(675263),o=n.n(r),i=n(667294),a=n.n(i),l=n(757588),u=n(986267),c=n(247361);function s(e){return s="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},s(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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 m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function y(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return b(e)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(s,e);var t,n,r,o,i=(r=s,o=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=d(r);if(o){var n=d(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y(this,e)});function s(){var e;p(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return h(b(e=i.call.apply(i,[this].concat(n))),"getPositionValues",(function(e){var t=e||[null,null],n=t.lng,r=t.lat,o=r%1*60,i=n%1*60,a=o%1*60,l=i%1*60;return{lat:r,latM:Math.abs(o),latS:Math.abs(a),lng:n,lngM:Math.abs(i),lngS:Math.abs(l)}})),e}return t=s,(n=[{key:"render",value:function(){var e=this.getPositionValues(this.props.position),t={style:"decimal",minimumIntegerDigits:2,maximumFractionDigits:0},n={style:"decimal",minimumIntegerDigits:2,maximumFractionDigits:2,minimumFractionDigits:2},r={style:"decimal",minimumIntegerDigits:3,maximumFractionDigits:0};return a().createElement("h5",null,a().createElement(l.Label,{bsSize:"lg",bsStyle:"info"},a().createElement(c.Z,{key:"latD",numberParams:t,value:(0,u.roundCoord)({roundingBehaviour:"floor",value:Math.abs(e.lat),maximumFractionDigits:t.maximumFractionDigits})}),a().createElement("span",null,"° "),a().createElement(c.Z,{key:"latM",numberParams:t,value:(0,u.roundCoord)({roundingBehaviour:"floor",value:e.latM,maximumFractionDigits:t.maximumFractionDigits})}),a().createElement("span",null,"' "),a().createElement(c.Z,{key:"latS",numberParams:n,value:e.latS}),a().createElement("span",null,"'' ",e.lat>0?"N":"S"," "),a().createElement(c.Z,{key:"lngD",numberParams:r,value:(0,u.roundCoord)({roundingBehaviour:"floor",value:Math.abs(e.lng),maximumFractionDigits:r.maximumFractionDigits})}),a().createElement("span",null,"° "),a().createElement(c.Z,{key:"lngM",numberParams:t,value:(0,u.roundCoord)({roundingBehaviour:"floor",value:e.lngM,maximumFractionDigits:t.maximumFractionDigits})}),a().createElement("span",null,"' "),a().createElement(c.Z,{key:"lngS",numberParams:n,value:e.lngS}),a().createElement("span",null,"'' ",e.lng>0?"E":"W")))}}])&&f(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),s}(a().Component);h(g,"propTypes",{position:o().shape({lng:o().number,lat:o().number})});const v=g},154717:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(675263),o=n.n(r),i=n(667294),a=n.n(i),l=n(757588),u=n(247361);function c(e){return c="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},c(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function m(e,t){if(t&&("object"===c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b,d,h,g=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(c,e);var t,n,r,o,i=(r=c,o=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=y(r);if(o){var n=y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return m(this,e)});function c(){return s(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"render",value:function(){var e={style:"decimal",minimumIntegerDigits:2,maximumFractionDigits:2,minimumFractionDigits:2};return a().createElement("h5",null,a().createElement(l.Label,{bsSize:"lg",bsStyle:"info"},a().createElement("span",null,"X: "),a().createElement(u.Z,{key:"x",numberParams:e,value:this.props.position.x}),a().createElement("span",{className:"mouseposition-separator"}),a().createElement("span",null," Y: "),a().createElement(u.Z,{key:"y",numberParams:e,value:this.props.position.y})))}}])&&p(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),c}(a().Component);b=g,d="propTypes",h={position:o().shape({x:o().number,y:o().number})},d in b?Object.defineProperty(b,d,{value:h,enumerable:!0,configurable:!0,writable:!0}):b[d]=h;const v=g},870830:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Z});var r=n(227361),o=n.n(r),i=n(727418),a=n.n(i),l=n(675263),u=n.n(l),c=n(667294),s=n.n(c),p=n(757588),f=n(533664),m=n(22222),y=n(801550),b="CHANGE_MOUSE_POSITION",d="CHANGE_MOUSE_POSITION_CRS",h="CHANGE_MOUSE_POSITION_STATE",g=n(575140),v=n(805346),w=n(211914);var O=n(800827);function j(e){return j="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},j(e)}var P=["degreesTemplate","projectedTemplate"];function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(this,arguments)}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(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 C(e,t){return C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},C(e,t)}function R(e,t){if(t&&("object"===j(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return T(e)}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function D(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 k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){M(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e,t,n){return t.showCenter&&e?e.center:t.showOnClick?n.clickPoint&&n.clickPoint.latlng?{x:n.clickPoint.latlng.lng,y:n.clickPoint.latlng.lat,crs:"EPSG:4326"}:{crs:"EPSG:4326"}:t},N=(0,m.P1)([function(e){return e},O.Od,function(e){return(0,O.zT)(e)},function(e){return o()(e,"mousePosition.position")||{}},function(e){return o()(e,"mousePosition.crs")||"EPSG:4326"},function(e){return e.mapInfo||{}}],(function(e,t,n,r,o,i){return{enabled:n,mousePosition:F(t,r,i),projectionDefs:(0,O.pb)(e),crs:o}})),B=(0,f.connect)((function(e){return{pressed:(0,O.zT)(e),active:(0,O.zT)(e),tooltip:s().createElement(p.Tooltip,{id:"showMousePositionCoordinates"},s().createElement(v.Z,{msgId:"showMousePositionCoordinates"})),tooltipPlace:"left",pressedStyle:"success active",defaultStyle:"primary",glyphicon:"mouse",btnConfig:{bsSize:"small"}}}),{registerEventListener:y.H0,unRegisterEventListener:y.$X},(function(e,t){return k(k({},e),{},{onClick:function(){return e.active?t.unRegisterEventListener("mousemove","mouseposition"):t.registerEventListener("mousemove","mouseposition")}})}))(g.Z),I=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}(l,e);var t,r,o,i,a=(o=l,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=_(o);if(i){var n=_(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return R(this,e)});function l(){var e;S(this,l);for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return M(T(e=a.call.apply(a,[this].concat(r))),"getTemplate",(function(e){return n(631566)("./"+e+".jsx").default})),e}return t=l,(r=[{key:"render",value:function(){var e=this.props,t=e.degreesTemplate,n=e.projectedTemplate,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,P);return s().createElement(w.default,E({degreesTemplate:this.getTemplate(t),projectedTemplate:this.getTemplate(n),toggle:s().createElement(B,null)},r))}}])&&x(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),l}(s().Component);M(I,"propTypes",{degreesTemplate:u().string,projectedTemplate:u().string}),M(I,"defaultProps",{degreesTemplate:"MousePositionLabelDMS",projectedTemplate:"MousePositionLabelYX"});var L=(0,f.connect)(N,{onCRSChange:function(e){return{type:d,crs:e}}})(I);const Z={MousePositionPlugin:a()(L,{MapFooter:{name:"mousePosition",position:2,tool:!0,priority:1}}),reducers:{mousePosition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{enabled:!0,position:null,crs:null},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case h:return a()({},e,{enabled:t.enabled});case b:return a()({},e,{position:t.position});case d:return a()({},e,{crs:t.crs});case y.Jb:return a()({},e,{position:t.position,mouseOut:!1});case y.Uh:return a()({},e,{mouseOut:!0});default:return e}}}}},820640:(e,t,n)=>{"use strict";var r=n(111742),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,l,u,c,s=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),l=document.createRange(),u=document.getSelection(),(c=document.createElement("span")).textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),l.selectNodeContents(c),u.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");s=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(l):u.removeAllRanges()),c&&document.body.removeChild(c),a()}return s}},901381:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(923645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id," .msgapi #mapstore-mouseposition {\n    z-index: 10;\n    top: -10px;\n    right: 45%;\n    position: absolute;\n    margin: 8px;\n    text-shadow: -1px -1px 1px #000,\n                  1px -1px 1px #000,\n                 -1px  1px 1px #000,\n                  1px  1px 1px #000;\n}\n\n.msgapi #mapstore-mouseposition .label {\n    max-width: 350px;\n    min-width: 200px;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    vertical-align: middle;\n\n}\n\n.msgapi #mapstore-mouseposition .label-info {\n    background-color:rgba(91,192,222,0);\n    color: white;\n    font-size: 110%;\n}\n\n.msgapi #mapstore-mouseposition h5 {\n    display: inline-block;\n}\n\n\n.msgapi #mapstore-mousepositionsettings .form-group {\n    margin-bottom: 0 !important;\n}\n\n.msgapi #mapstore-mousepositionsettings select, .msgapi #mapstore-mousepositionsettings button {\n    width: 60% !important;\n    float: right;\n    height: 35px;\n}\n\n.msgapi #mapstore-mousepositionsettings label {\n    width: 100% !important;\n}\n\n\n.msgapi #mapstore-mouseposition .label-info {\n    white-space: normal;\n    color: black;\n    font-size: 110%;\n    padding: 0;\n}\n\n.msgapi #mapstore-mouseposition {\n    bottom: 5px;\n    right: 264px;\n    top: auto;\n    margin: 0;\n    text-shadow: none;\n    background-color: white;\n    width: 160px;\n    height: 46px;\n    padding-left: 5px;\n    padding-top: 2px;\n}\n\n.msgapi #mapstore-mouseposition h5 {\n    margin-top: 5px;\n}\n\n.msgapi .mouseposition-separator {\n    display: block;\n}\n\n.msgapi #mapstore-mouseposition-mobile {\n        bottom: 25px;\n        right: 30px;\n        z-index: 10;\n        position: absolute;\n        text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 1px 1px 1px #000;\n    }\n\n.msgapi #mapstore-mouseposition-mobile .label {\n        display: inline-block;\n        max-width: 280px;\n        min-width: 200px;\n        overflow: hidden;\n        text-overflow: ellipsis;\n        white-space: nowrap;\n        vertical-align: middle;\n}\n\n.msgapi #mapstore-mouseposition-mobile .label-info {\n        background-color:rgba(91,192,222,0);\n        color: white;\n        font-size: 90%;\n}\n\n.msgapi #mapstore-mouseposition .form-group {\n    float: right;\n}\n\n.msgapi #mapstore-mouseposition .form-group .control-label {\n    display: none;\n}\n\n.msgapi #mapstore-mouseposition .form-group select {\n    width: 90px;\n    font-size: 11px;\n    padding: 2px;\n}\n",""]);const i=o},923645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&o[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},74300:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(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)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=l(n(667294)),a=l(n(820640));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}t.CopyToClipboard=function(e){function t(){var e,n,r;u(this,t);for(var o=arguments.length,l=Array(o),s=0;s<o;s++)l[s]=arguments[s];return n=r=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.onClick=function(e){var t=r.props,n=t.text,o=t.onCopy,l=t.children,u=t.options,c=i.default.Children.only(l),s=(0,a.default)(n,u);o&&o(n,s),c&&c.props&&"function"==typeof c.props.onClick&&c.props.onClick(e)},c(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["text","onCopy","options","children"]),o=i.default.Children.only(t);return i.default.cloneElement(o,r({},n,{onClick:this.onClick}))}}]),t}(i.default.PureComponent)},774855:(e,t,n)=>{"use strict";var r=n(74300).CopyToClipboard;e.exports=r},893379:(e,t,n)=>{"use strict";var r,o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function a(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],o=0;o<e.length;o++){var l=e[o],u=t.base?l[0]+t.base:l[0],c=n[u]||0,s="".concat(u," ").concat(c);n[u]=c+1;var p=a(s),f={css:l[1],media:l[2],sourceMap:l[3]};-1!==p?(i[p].references++,i[p].updater(f)):i.push({identifier:s,updater:b(f,t),references:1}),r.push(s)}return r}function u(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,s=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function p(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=s(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function f(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var m=null,y=0;function b(e,t){var n,r,o;if(t.singleton){var i=y++;n=m||(m=u(t)),r=p.bind(null,n,i,!1),o=p.bind(null,n,i,!0)}else n=u(t),r=f.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=a(n[r]);i[o].references--}for(var u=l(e,t),c=0;c<n.length;c++){var s=a(n[c]);0===i[s].references&&(i[s].updater(),i.splice(s,1))}n=u}}}},111742:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}}}]);