UNPKG

@adaguc/react-webmapjs

Version:

React wrapper for webmapjs, which is an interactive maps library, capable of parsing a OGC WMS getcapabilities and display geographical layers

6 lines 447 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("moment")):"function"==typeof define&&define.amd?define(["react","moment"],t):"object"==typeof exports?exports["@adaguc-reactwebmapjs"]=t(require("react"),require("moment")):e["@adaguc-reactwebmapjs"]=t(e.react,e.moment)}(window,(function(__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__7__){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=37)}([function(module,__webpack_exports__,__webpack_require__){"use strict";function _typeof(e){return(_typeof="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 _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}__webpack_require__.d(__webpack_exports__,"j",(function(){return isDefined})),__webpack_require__.d(__webpack_exports__,"k",(function(){return isNull})),__webpack_require__.d(__webpack_exports__,"n",(function(){return toArray})),__webpack_require__.d(__webpack_exports__,"d",(function(){return WMJScheckURL})),__webpack_require__.d(__webpack_exports__,"c",(function(){return WMJSKVP})),__webpack_require__.d(__webpack_exports__,"l",(function(){return preventdefaultEvent})),__webpack_require__.d(__webpack_exports__,"f",(function(){return attachEvent})),__webpack_require__.d(__webpack_exports__,"g",(function(){return deleteEvent})),__webpack_require__.d(__webpack_exports__,"h",(function(){return getMouseXCoordinate})),__webpack_require__.d(__webpack_exports__,"i",(function(){return getMouseYCoordinate})),__webpack_require__.d(__webpack_exports__,"a",(function(){return MakeHTTPRequest})),__webpack_require__.d(__webpack_exports__,"b",(function(){return URLEncode})),__webpack_require__.d(__webpack_exports__,"e",(function(){return addMouseWheelEvent})),__webpack_require__.d(__webpack_exports__,"m",(function(){return removeMouseWheelEvent}));var isDefined=function(e){return void 0!==e},isNull=function(e){return null===e},toArray=function(e){if(!e)return[];if(e.length)return e;var t=[];return t[0]=e,t},WMJScheckURL=function(e){return isDefined(e)?(-1===(e=e.trim()).indexOf("?")&&(e+="?"),e):"?"},WMJSSet=function(){};WMJSSet.prototype.add=function(e){this[e]=!0},WMJSSet.prototype.remove=function(e){delete this[e]};var WMJSKVP=function(){function e(t){return _classCallCheck(this,e),this.kvplist=[],this.kvplist=this._parse(t),this.kvplist}return _createClass(e,[{key:"_parse",value:function(e){var t=[],n=e.split("&");if(n)for(var i in n){var r=n[i].split("=");if(2===r.length){var o=r[0],a=r[1];t[o]instanceof Array||(t[o]=[]),t[o].push(a)}}return t}},{key:"getKeys",value:function(){var e=new WMJSSet;for(var t in this.kvplist)e.add(t);return e}},{key:"getValues",value:function(e){return this.kvplist[e]}},{key:"getKeyValues",value:function(){return this.kvplist}}]),e}(),preventdefaultEvent=function(e){var t=e||window.event;t.preventDefault?t.preventDefault():t.returnValue=!1},attachEvent=function(e,t,n){if(e){if("mousewheel"==t){var i=function(e,t){var n=0;e||(e=window.event,window.event.cancelBubble=!0,window.event.returnValue=!1),e.wheelDelta?n=e.wheelDelta/120:e.detail&&(n=-e.detail/3),n&&t(n),e.preventDefault&&e.preventDefault(),e.returnValue=!1};return e.addEventListener&&e.addEventListener("DOMMouseScroll",(function(e){i(e,n)}),!1),void(e.onmousewheel=document.onmousewheel=function(e){i(e,n)})}if(browser.isNS)e.addEventListener(t,n,!0);else{if(e.attachEvent("on"+t,n),null==window.event)return;window.event.cancelBubble=!0,window.event.returnValue=!1}}},deleteEvent=function(e,t,n){var i=!0;browser.isOP&&(i=!1),e.removeEventListener?e.removeEventListener(t,n,i):e.detachEvent&&(e.detachEvent(t,n),e.detachEvent("on"+t,n))},getMouseXCoordinate=function(e){return browser.isNS?e.clientX+window.scrollX:window.event.clientX+document.documentElement.scrollLeft+document.body.scrollLeft},getMouseYCoordinate=function(e){return browser.isNS?e.clientY+window.scrollY:window.event.clientY+document.documentElement.scrollTop+document.body.scrollTop},findElementPos=function(e){for(var t=e,n=curtop=0;e;)n+=e.offsetLeft,curtop+=e.offsetTop,e=e.offsetParent;return[n,curtop,parseInt(t.style.width+n),parseInt(t.style.height+curtop)]};function Browser(){this.isIE=!1,this.isNS=!1,this.isOP=!1,this.isKonqueror=!1,this.name=navigator.appName,this.version=null,navigator.userAgent,-1!=navigator.userAgent.indexOf("Opera")?this.isOP=!0:"Netscape"==navigator.appName||"Konqueror"==navigator.appName?(this.isNS=!0,this.isKonqueror=!0):-1!=navigator.appName.indexOf("Microsoft")&&(this.isIE=!0)}var browser=new Browser;function IsNumeric(e){var t,n=!0;for(i=0;i<e.length&&1==n;i++)t=e.charAt(i),-1=="0123456789.".indexOf(t)&&(n=!1);return n}function dump(e,t,n){var i="";n||(n=""),t||(t=0);if("object"===_typeof(e))for(var r in e){var o=e[r],a=n;IsNumeric(r)?(r="["+r+"]",a=n.substr(0,n.length-1)+r):a=n+r,"object"===_typeof(o)?i+=dump(o,t+1,a+"."):i+=a+'="'+o+'"<br>\n'}else i="===>"+e+"<===("+_typeof(e)+")";return i}var Url={encode:function(e){return escape(this._utf8_encode(e))},decode:function(e){return alert("Deprecated function !!! WMJSTools line 325 with ["+e+"]"),this._utf8_decode(unescape(e))},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var i=e.charCodeAt(n);i<128?t+=String.fromCharCode(i):i>127&&i<2048?(t+=String.fromCharCode(i>>6|192),t+=String.fromCharCode(63&i|128)):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128),t+=String.fromCharCode(63&i|128))}return t},_utf8_decode:function(e){for(var t="",n=0,i=c1=c2=0;n<e.length;)(i=e.charCodeAt(n))<128?(t+=String.fromCharCode(i),n++):i>191&&i<224?(c2=e.charCodeAt(n+1),t+=String.fromCharCode((31&i)<<6|63&c2),n+=2):(c2=e.charCodeAt(n+1),c3=e.charCodeAt(n+2),t+=String.fromCharCode((15&i)<<12|(63&c2)<<6|63&c3),n+=3);return t}};function createXHR(){try{return new XMLHttpRequest}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}return!1}function MakeJSONRequest(fname,callbackfunction,errorfunction,pointer,useredirect){function requestError(e){errorfunction?errorfunction(e,pointer):callbackfunction(void 0,pointer)}function redirRequest(){0==useredirect?MakeJSONRequest(fname=requestProxy+"REQUEST="+URLEncode(fname),callbackfunction,errorfunction,pointer,!0):requestError("status("+xhr.status+") to "+fname)}-1==fname.indexOf("?")?fname+="?":fname+="&",fname+="rand="+Math.random(),useredirect||(useredirect=!1);try{var xhr=createXHR();xhr.open("GET",fname,!0),xhr.onreadystatechange=function(){if(4==xhr.readyState)if(200==xhr.status){try{var data=eval("("+xhr.responseText+")")}catch(e){return void requestError("Invalid JSON: '"+xhr.responseText+"'")}null==data?requestError("request returned no data:"+fname):callbackfunction(data,pointer)}else redirRequest()},xhr.send(null)}catch(e){redirRequest()}}var MakeHTTPRequest=function e(t,n,i,r,o,a){function s(e){i?i(e,r):n(void 0,r)}function l(){!1===o?(t=a+"REQUEST="+URLEncode(t),e(t,n,i,r,!0,a)):s("status("+u.status+") to "+t)}-1===t.indexOf("?")?t+="?":t+="&",t+="rand="+Math.random(),o||(o=!1);try{var u=createXHR();u.open("GET",t,!0),u.onreadystatechange=function(){if(4===u.readyState)if(200===u.status){try{var e=u.responseText}catch(e){return void s("Exception occured:"+e)}void 0===e||""===e?s("request returned no data"):n(e,r)}else l()},u.send(null)}catch(e){l()}},URLDecode=function(e){return isDefined(e)?e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replaceAll("+"," ")).replaceAll("%2B","+")).replaceAll("%20"," ")).replaceAll("%5E","^")).replaceAll("%26","&")).replaceAll("%3F","?")).replaceAll("%3E",">")).replaceAll("%3C","<")).replaceAll("%5C","\\")).replaceAll("%2F","/")).replaceAll("%25","%")).replaceAll("%3A",":")).replaceAll("%27","'")).replaceAll("%24","$"):""},URLEncode=function(e){if(!e)return e;if(void 0===e)return e;if(""===e)return e;if("string"!=typeof e)return e;var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz%-_.!~*'()",n="0123456789ABCDEF";e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/%/g,"%25")).replace(/\+/g,"%2B")).replace(/ /g,"%20")).replace(/\^/g,"%5E")).replace(/&/g,"%26")).replace(/\?/g,"%3F")).replace(/>/g,"%3E")).replace(/</g,"%3C")).replace(/\\/g,"%5C");for(var i="",r=0;r<e.length;r++){var o=e.charAt(r);if(" "===o)i+="%20";else if(-1!==t.indexOf(o))i+=o;else{var a=o.charCodeAt(0);a>255?(alert("Unicode Character '"+o+"' cannot be encoded using standard URL encoding.\n(URL encoding only supports 8-bit characters.)\nA space (+) will be substituted."),i+="+"):(i+="%",i+=n.charAt(a>>4&15),i+=n.charAt(15&a))}}return i};function checkValidInputTokens(e){var t=/^([a-zA-Z'_:~%?\$,\.\0-9 \-=/&])+$/;if(t.test(e)){var n=URLDecode(e);if(t.test(n))return!0}return!1}String.prototype.replaceAll=function(e,t){for(var n=this,i=n.indexOf(e);-1!=i;)i=(n=n.replace(e,t)).indexOf(e);return n},String.prototype.trim=function(){var e=this;return e=(e=e.replace(/^\s+/,"")).replace(/\s+$/,"")};var getUrlVars=function(){for(var e,t=[],n=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),i=0;i<n.length;i++)(e=n[i].split("="))[1]=URLDecode(e[1]),0==checkValidInputTokens(e[0])||0==checkValidInputTokens(e[1])||(t[e[0]]=e[1]+"");return t};function getUrlVarsFromHashTag(){var e,t=[],n=window.location.hash.indexOf("#");"?"==window.location.hash[n+1]&&n++;for(var i=window.location.hash.slice(n+1).split("&"),r=0;r<i.length;r++)(e=i[r].split("="))[1]=URLDecode(e[1]),0==checkValidInputTokens(e[0])||0==checkValidInputTokens(e[1])||(t[e[0]]=e[1]+"");return t}var composeUrlObjectFromURL=function(e){var t=[];if(!isDefined(e))return t;var n="",i=[],r=e.split("?");r.length>1?(n=r[0],i=r[1].split("&")):i=r[0].split("&");for(var o=0;o<i.length;o++){var a=i[o].split("=");isDefined(a[1])?(a[1]=URLDecode(a[1]),0==checkValidInputTokens(a[0])||0==checkValidInputTokens(a[1])||isDefined(a[1])&&a[1].length>0&&(t[a[0].toLowerCase()]=a[1]+"")):(a=i[o].split("%3D"),isDefined(a[1])&&(a[1]=URLDecode(a[1]),0==checkValidInputTokens(a[0])||0==checkValidInputTokens(a[1])||isDefined(a[1])&&a[1].length>0&&(t[a[0].toLowerCase()]=a[1]+"")))}return i[0].indexOf("="),{location:n,kvp:t}},currentLocationHash="",hashTagCheckerInUse=!1,hashTagTimerIsRunning=!1,_checkIfHashTagChanged=function e(t){var n=window.location.hash;if(currentLocationHash!=n&&n.length>0&&(currentLocationHash=n,-1!=window.location.href.indexOf("#"))){var i=window.location.href.split("#")[1];i=i.replaceAll("%27","'");var r=getUrlVarsFromHashTag();isDefined(r.clearhash)&&"1"==r.clearhash&&(window.location.hash="",currentLocationHash=""),t(i,r)}!0!==hashTagTimerIsRunning&&(hashTagTimerIsRunning=!0,setTimeout((function(){hashTagTimerIsRunning=!1,e(t)}),500))},checkIfHashTagChanged=function(e){isDefined(e)&&(1!=hashTagCheckerInUse?(hashTagCheckerInUse=!0,_checkIfHashTagChanged(e)):alert("checkIfHashTagChanged is in use"))},decodeBase64=function(e){var t,n,i,r={},o=0,a=0,s="",l=String.fromCharCode,u=e.length;for(t=0;t<64;t++)r["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(n=0;n<u;n++)for(o=(o<<6)+r[e.charAt(n)],a+=6;a>=8;)((i=o>>>(a-=8)&255)||n<u-2)&&(s+=l(i));return s},addMouseWheelEvent=function(e,t){if(e){if(!window.addWheelListener){var n,i,r=function(e,t,r,a){e[n](o+t,"wheel"==i?r:function(e){!e&&(e=window.event);var t={originalEvent:e,target:e.target||e.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==e.type?0:1,deltaX:0,deltaY:0,deltaZ:0,preventDefault:function(){e.preventDefault?e.preventDefault():e.returnValue=!1}};return"mousewheel"==i?(t.deltaY=-.025*e.wheelDelta,e.wheelDeltaX&&(t.deltaX=-.025*e.wheelDeltaX)):t.deltaY=e.deltaY||e.detail,r(t)},a||!1)},o="";window.addEventListener?n="addEventListener":(n="attachEvent",o="on"),i="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",window.addWheelListener=function(e,t,n){r(e,i,t,n),"DOMMouseScroll"==i&&r(e,"MozMousePixelScroll",t,n)}}window.addWheelListener(e,t)}},removeMouseWheelEvent=function(e,t){console.warn("TODO: Implement removeMouseWheelEvent in WMJSTools.js")}},function(e,t,n){e.exports=n(23)()},function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return o}));var i=n(7),r=n.n(i);n.d(t,"b",(function(){return r.a}));var o=window.proj4||e.proj4,a=window.jQuery||window.$||e.$||e.jQuery}).call(this,n(12))},function(e,t,n){"use strict";(function(e){var n,i,r,o="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},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),s="undefined"!=typeof Symbol?Symbol("immer-nothing"):(r=!0,(i="immer-nothing")in(n={})?Object.defineProperty(n,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[i]=r,n),l="undefined"!=typeof Symbol?Symbol("immer-state"):"__$immer_state";function u(e){return!!e&&!!e[l]}function c(e){if(!e)return!1;if("object"!==(void 0===e?"undefined":o(e)))return!1;if(Array.isArray(e))return!0;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var h=Object.assign||function(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return e};function d(e){if(Array.isArray(e))return e.slice();var t=void 0===e.__proto__?Object.create(null):{};return h(t,e)}function f(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(n,e[n],e);else for(var i in e)t(i,e[i],e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function m(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function y(e,t,n,i){Array.isArray(e.base)?function(e,t,n,i){for(var r=e.base,o=e.copy,a=e.assigned,s=Math.min(r.length,o.length),l=0;l<s;l++)if(a[l]&&r[l]!==o[l]){var u=t.concat(l);n.push({op:"replace",path:u,value:o[l]}),i.push({op:"replace",path:u,value:r[l]})}if(s<o.length){for(var c=s;c<o.length;c++)n.push({op:"add",path:t.concat(c),value:o[c]});i.push({op:"replace",path:t.concat("length"),value:r.length})}else if(s<r.length){n.push({op:"replace",path:t.concat("length"),value:o.length});for(var h=s;h<r.length;h++)i.push({op:"add",path:t.concat(h),value:r[h]})}}(e,t,n,i):function(e,t,n,i){var r=e.base,o=e.copy;f(e.assigned,(function(e,a){var s=r[e],l=o[e],u=a?e in r?"replace":"add":"remove";if(s!==r||"replace"!==u){var c=t.concat(e);n.push("remove"===u?{op:u,path:c}:{op:u,path:c,value:l}),i.push("add"===u?{op:"remove",path:c}:"remove"===u?{op:"add",path:c,value:s}:{op:"replace",path:c,value:s})}}))}(e,t,n,i)}var v={},g=[],b=function(){return g[g.length-1]};function E(e,t){var n=void 0;if(u(e)){var i=e[l];i.finalizing=!0,n=d(i.draft),i.finalizing=!1}else n=d(e);f(e,(function(e){Object.defineProperty(n,""+e,function(e){return v[e]||(v[e]={configurable:!0,enumerable:!0,get:function(){return function(e,t){_(e);var n=x(e)[t];if(!e.finalizing&&n===e.base[t]&&c(n))return k(e),e.copy[t]=E(n,e);return n}(this[l],e)},set:function(t){!function(e,t,n){if(_(e),e.assigned[t]=!0,!e.modified){if(m(x(e)[t],n))return;S(e),k(e)}e.copy[t]=n}(this[l],e,t)}})}(""+e))}));var r={scope:t?t.scope:b(),modified:!1,finalizing:!1,finalized:!1,assigned:{},parent:t,base:e,draft:n,copy:null,revoke:w,revoked:!1};return function(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0})}(n,l,r),r.scope.push(r),n}function w(){this.revoked=!0}function x(e){return e.copy||e.base}function S(e){e.modified||(e.modified=!0,e.parent&&S(e.parent))}function k(e){e.copy||(e.copy=d(e.base))}function _(e){if(!0===e.revoked)throw new Error("Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+JSON.stringify(e.copy||e.base))}function T(e){for(var t=e.base,n=e.draft,i=Object.keys(n),r=i.length-1;r>=0;r--)if(void 0===t[i[r]]&&!p(t,i[r]))return!0;return i.length!==Object.keys(t).length}function O(e){var t=e.draft;if(t.length!==e.base.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}var M=Object.freeze({scopes:g,currentScope:b,willFinalize:function(e,t,n){var i=b();i.forEach((function(e){return e.finalizing=!0})),void 0!==e&&e!==t||(n&&function e(t){if(!t||"object"!==(void 0===t?"undefined":o(t)))return;var n=t[l];if(!n)return;var i=n.base,r=n.draft,a=n.assigned;if(Array.isArray(t)){if(O(n)){if(S(n),a.length=!0,r.length<i.length)for(var s=r.length;s<i.length;s++)a[s]=!1;else for(var u=i.length;u<r.length;u++)a[u]=!0;for(var c=0;c<r.length;c++)void 0===a[c]&&e(r[c])}}else Object.keys(r).forEach((function(t){void 0!==i[t]||p(i,t)?a[t]||e(r[t]):(a[t]=!0,S(n))})),Object.keys(i).forEach((function(e){void 0!==r[e]||p(r,e)||(a[e]=!1,S(n))}))}(t),function(e){for(var t=e.length-1;t>=0;t--){var n=e[t];!1===n.modified&&(Array.isArray(n.base)?O(n)&&S(n):T(n)&&S(n))}}(i))},createDraft:E}),P=[],L=function(){return P[P.length-1]};function I(e,t){var n={scope:t?t.scope:L(),modified:!1,finalized:!1,assigned:{},parent:t,base:e,draft:null,drafts:{},copy:null,revoke:null},i=Array.isArray(e)?Proxy.revocable([n],B):Proxy.revocable(n,C),r=i.revoke,o=i.proxy;return n.draft=o,n.revoke=r,n.scope.push(n),o}var C={get:function(e,t){if(t===l)return e;var n=e.drafts;if(!e.modified&&p(n,t))return n[t];var i=D(e)[t];if(e.finalized||!c(i))return i;if(e.modified){if(i!==e.base[t])return i;n=e.copy}return n[t]=I(i,e)},has:function(e,t){return t in D(e)},ownKeys:function(e){return Reflect.ownKeys(D(e))},set:function(e,t,n){if(!e.modified){if(n?m(e.base[t],n)||n===e.drafts[t]:m(e.base[t],n)&&t in e.base)return!0;j(e)}return e.assigned[t]=!0,e.copy[t]=n,!0},deleteProperty:function(e,t){(void 0!==e.base[t]||t in e.base)&&(e.assigned[t]=!1,j(e));e.copy&&delete e.copy[t];return!0},getOwnPropertyDescriptor:function(e,t){var n=e.modified?e.copy:p(e.drafts,t)?e.drafts:e.base,i=Reflect.getOwnPropertyDescriptor(n,t);!i||Array.isArray(n)&&"length"===t||(i.configurable=!0);return i},defineProperty:function(){throw new Error("Immer does not support defining properties on draft objects.")},setPrototypeOf:function(){throw new Error("Immer does not support `setPrototypeOf()`.")}},B={};function D(e){return e.copy||e.base}function j(e){e.modified||(e.modified=!0,e.copy=h(d(e.base),e.drafts),e.drafts=null,e.parent&&j(e.parent))}f(C,(function(e,t){B[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),B.deleteProperty=function(e,t){if(isNaN(parseInt(t)))throw new Error("Immer does not support deleting properties from arrays: "+t);return C.deleteProperty.call(this,e[0],t)},B.set=function(e,t,n){if("length"!==t&&isNaN(parseInt(t)))throw new Error("Immer does not support setting non-numeric properties on arrays: "+t);return C.set.call(this,e[0],t,n)};var R=Object.freeze({scopes:P,currentScope:L,willFinalize:function(){},createDraft:I});var A={useProxies:"undefined"!=typeof Proxy&&"undefined"!=typeof Reflect,autoFreeze:void 0===e&&"verifyMinified"===function(){}.name,onAssign:null,onDelete:null,onCopy:null},N=new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),h(this,A,t),this.setUseProxies(this.useProxies),this.produce=this.produce.bind(this)}return a(e,[{key:"produce",value:function(e,t,n){var i=this;if("function"==typeof e&&"function"!=typeof t){var r=t;return t=e,function(){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;return i.produce(a,(function(e){var i;return(i=t).call.apply(i,[e,e].concat(n))}))}}if("function"!=typeof t)throw new Error("if first argument is not a function, the second argument to produce should be a function");if(void 0!==n&&"function"!=typeof n)throw new Error("the third argument of a producer should not be set or a function");var o=void 0;if(c(e))if(u(e)){if(void 0===(o=t.call(e,e)))return e}else{this.scopes.push([]);var a=this.createDraft(e);try{o=t.call(a,a),this.willFinalize(o,a,!!n);var h=n&&[],d=n&&[];if(void 0===o||o===a)o=this.finalize(a,[],h,d);else{if(a[l].modified)throw new Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.");c(o)&&(o=this.finalize(o)),n&&(h.push({op:"replace",path:[],value:o}),d.push({op:"replace",path:[],value:e}))}}finally{this.currentScope().forEach((function(e){return e.revoke()})),this.scopes.pop()}n&&n(h,d)}else if(void 0===(o=t(e)))return e;return o===s?void 0:o}},{key:"setAutoFreeze",value:function(e){this.autoFreeze=e}},{key:"setUseProxies",value:function(e){this.useProxies=e,h(this,e?R:M)}},{key:"finalize",value:function(e,t,n,i){var r=e[l];if(!r)return Object.isFrozen(e)?e:this.finalizeTree(e);if(r.scope!==this.currentScope())return e;if(!r.modified)return r.base;if(!r.finalized){if(r.finalized=!0,this.finalizeTree(r.draft,t,n,i),this.onDelete){var o=r.assigned;for(var a in o)o[a]||this.onDelete(r,a)}this.onCopy&&this.onCopy(r),this.autoFreeze&&1===this.scopes.length&&Object.freeze(r.copy),n&&y(r,t,n,i)}return r.copy}},{key:"finalizeTree",value:function(e,t,n,i){var r=this,o=e[l];o&&(e=this.useProxies?o.copy:o.copy=d(o.draft));var a=this.onAssign;return f(e,(function s(l,h,d){var p=!!o&&d===e;if(u(h)){if(d[l]=h=n&&p&&!o.assigned[l]?r.finalize(h,t.concat(l),n,i):r.finalize(h),p&&h===o.base[l])return}else{if(p&&m(h,o.base[l]))return;c(h)&&!Object.isFrozen(h)&&f(h,s)}p&&a&&a(o,l,h)})),e}}]),e}()),F=N.produce;F((function(e,t){for(var n=0;n<t.length;n++){var i=t[n],r=i.path;if(0===r.length&&"replace"===i.op)e=i.value;else{for(var a=e,s=0;s<r.length-1;s++)if(!(a=a[r[s]])||"object"!==(void 0===a?"undefined":o(a)))throw new Error("Cannot apply patch, path doesn't resolve: "+r.join("/"));var l=r[r.length-1];switch(i.op){case"replace":case"add":a[l]=i.value;break;case"remove":if(Array.isArray(a)){if(l!==a.length-1)throw new Error("Only the last index of an array can be removed, index: "+l+", length: "+a.length);a.length-=1}else delete a[l];break;default:throw new Error("Unsupported patch operation: "+i.op)}}}return e}));t.a=F}).call(this,n(22))},function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return i}))},function(e,t,n){(function(e,n){var i="[object Arguments]",r="[object Function]",o="[object GeneratorFunction]",a="[object Map]",s="[object Set]",l=/\w*$/,u=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,h={};h[i]=h["[object Array]"]=h["[object ArrayBuffer]"]=h["[object DataView]"]=h["[object Boolean]"]=h["[object Date]"]=h["[object Float32Array]"]=h["[object Float64Array]"]=h["[object Int8Array]"]=h["[object Int16Array]"]=h["[object Int32Array]"]=h[a]=h["[object Number]"]=h["[object Object]"]=h["[object RegExp]"]=h[s]=h["[object String]"]=h["[object Symbol]"]=h["[object Uint8Array]"]=h["[object Uint8ClampedArray]"]=h["[object Uint16Array]"]=h["[object Uint32Array]"]=!0,h["[object Error]"]=h[r]=h["[object WeakMap]"]=!1;var d="object"==typeof e&&e&&e.Object===Object&&e,f="object"==typeof self&&self&&self.Object===Object&&self,p=d||f||Function("return this")(),m=t&&!t.nodeType&&t,y=m&&"object"==typeof n&&n&&!n.nodeType&&n,v=y&&y.exports===m;function g(e,t){return e.set(t[0],t[1]),e}function b(e,t){return e.add(t),e}function E(e,t,n,i){var r=-1,o=e?e.length:0;for(i&&o&&(n=e[++r]);++r<o;)n=t(n,e[r],r,e);return n}function w(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function x(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function S(e,t){return function(n){return e(t(n))}}function k(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var _,T=Array.prototype,O=Function.prototype,M=Object.prototype,P=p["__core-js_shared__"],L=(_=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",I=O.toString,C=M.hasOwnProperty,B=M.toString,D=RegExp("^"+I.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=v?p.Buffer:void 0,R=p.Symbol,A=p.Uint8Array,N=S(Object.getPrototypeOf,Object),F=Object.create,U=M.propertyIsEnumerable,W=T.splice,G=Object.getOwnPropertySymbols,V=j?j.isBuffer:void 0,X=S(Object.keys,Object),z=ye(p,"DataView"),Y=ye(p,"Map"),H=ye(p,"Promise"),J=ye(p,"Set"),q=ye(p,"WeakMap"),Z=ye(Object,"create"),K=we(z),$=we(Y),Q=we(H),ee=we(J),te=we(q),ne=R?R.prototype:void 0,ie=ne?ne.valueOf:void 0;function re(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function se(e){this.__data__=new oe(e)}function le(e,t){var n=Se(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&ke(e)}(e)&&C.call(e,"callee")&&(!U.call(e,"callee")||B.call(e)==i)}(e)?function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}(e.length,String):[],r=n.length,o=!!r;for(var a in e)!t&&!C.call(e,a)||o&&("length"==a||be(a,r))||n.push(a);return n}function ue(e,t,n){var i=e[t];C.call(e,t)&&xe(i,n)&&(void 0!==n||t in e)||(e[t]=n)}function ce(e,t){for(var n=e.length;n--;)if(xe(e[n][0],t))return n;return-1}function he(e,t,n,u,c,d,f){var p;if(u&&(p=d?u(e,c,d,f):u(e)),void 0!==p)return p;if(!Oe(e))return e;var m=Se(e);if(m){if(p=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&C.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return function(e,t){var n=-1,i=e.length;t||(t=Array(i));for(;++n<i;)t[n]=e[n];return t}(e,p)}else{var y=ge(e),v=y==r||y==o;if(_e(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if("[object Object]"==y||y==i||v&&!d){if(w(e))return d?e:{};if(p=function(e){return"function"!=typeof e.constructor||Ee(e)?{}:(t=N(e),Oe(t)?F(t):{});var t}(v?{}:e),!t)return function(e,t){return pe(e,ve(e),t)}(e,function(e,t){return e&&pe(t,Me(t),e)}(p,e))}else{if(!h[y])return d?e:{};p=function(e,t,n,i){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return fe(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return function(e,t){var n=t?fe(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var n=t?fe(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,i);case a:return function(e,t,n){return E(t?n(x(e),!0):x(e),g,new e.constructor)}(e,i,n);case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,l.exec(e));return t.lastIndex=e.lastIndex,t}(e);case s:return function(e,t,n){return E(t?n(k(e),!0):k(e),b,new e.constructor)}(e,i,n);case"[object Symbol]":return o=e,ie?Object(ie.call(o)):{}}var o}(e,y,he,t)}}f||(f=new se);var S=f.get(e);if(S)return S;if(f.set(e,p),!m)var _=n?function(e){return function(e,t,n){var i=t(e);return Se(e)?i:function(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}(i,n(e))}(e,Me,ve)}(e):Me(e);return function(e,t){for(var n=-1,i=e?e.length:0;++n<i&&!1!==t(e[n],n,e););}(_||e,(function(i,r){_&&(i=e[r=i]),ue(p,r,he(i,t,n,u,r,e,f))})),p}function de(e){return!(!Oe(e)||(t=e,L&&L in t))&&(Te(e)||w(e)?D:u).test(we(e));var t}function fe(e){var t=new e.constructor(e.byteLength);return new A(t).set(new A(e)),t}function pe(e,t,n,i){n||(n={});for(var r=-1,o=t.length;++r<o;){var a=t[r],s=i?i(n[a],e[a],a,n,e):void 0;ue(n,a,void 0===s?e[a]:s)}return n}function me(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function ye(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return de(n)?n:void 0}re.prototype.clear=function(){this.__data__=Z?Z(null):{}},re.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},re.prototype.get=function(e){var t=this.__data__;if(Z){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return C.call(t,e)?t[e]:void 0},re.prototype.has=function(e){var t=this.__data__;return Z?void 0!==t[e]:C.call(t,e)},re.prototype.set=function(e,t){return this.__data__[e]=Z&&void 0===t?"__lodash_hash_undefined__":t,this},oe.prototype.clear=function(){this.__data__=[]},oe.prototype.delete=function(e){var t=this.__data__,n=ce(t,e);return!(n<0)&&(n==t.length-1?t.pop():W.call(t,n,1),!0)},oe.prototype.get=function(e){var t=this.__data__,n=ce(t,e);return n<0?void 0:t[n][1]},oe.prototype.has=function(e){return ce(this.__data__,e)>-1},oe.prototype.set=function(e,t){var n=this.__data__,i=ce(n,e);return i<0?n.push([e,t]):n[i][1]=t,this},ae.prototype.clear=function(){this.__data__={hash:new re,map:new(Y||oe),string:new re}},ae.prototype.delete=function(e){return me(this,e).delete(e)},ae.prototype.get=function(e){return me(this,e).get(e)},ae.prototype.has=function(e){return me(this,e).has(e)},ae.prototype.set=function(e,t){return me(this,e).set(e,t),this},se.prototype.clear=function(){this.__data__=new oe},se.prototype.delete=function(e){return this.__data__.delete(e)},se.prototype.get=function(e){return this.__data__.get(e)},se.prototype.has=function(e){return this.__data__.has(e)},se.prototype.set=function(e,t){var n=this.__data__;if(n instanceof oe){var i=n.__data__;if(!Y||i.length<199)return i.push([e,t]),this;n=this.__data__=new ae(i)}return n.set(e,t),this};var ve=G?S(G,Object):function(){return[]},ge=function(e){return B.call(e)};function be(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||c.test(e))&&e>-1&&e%1==0&&e<t}function Ee(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||M)}function we(e){if(null!=e){try{return I.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function xe(e,t){return e===t||e!=e&&t!=t}(z&&"[object DataView]"!=ge(new z(new ArrayBuffer(1)))||Y&&ge(new Y)!=a||H&&"[object Promise]"!=ge(H.resolve())||J&&ge(new J)!=s||q&&"[object WeakMap]"!=ge(new q))&&(ge=function(e){var t=B.call(e),n="[object Object]"==t?e.constructor:void 0,i=n?we(n):void 0;if(i)switch(i){case K:return"[object DataView]";case $:return a;case Q:return"[object Promise]";case ee:return s;case te:return"[object WeakMap]"}return t});var Se=Array.isArray;function ke(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!Te(e)}var _e=V||function(){return!1};function Te(e){var t=Oe(e)?B.call(e):"";return t==r||t==o}function Oe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Me(e){return ke(e)?le(e):function(e){if(!Ee(e))return X(e);var t=[];for(var n in Object(e))C.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}n.exports=function(e){return he(e,!0,!0)}}).call(this,n(12),n(26)(e))},function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e,t,n){"use strict";e.exports=function e(){var t=this;if(!(this instanceof e))return new(Function.prototype.bind.apply(e,[null].concat(Array.prototype.slice.call(arguments))));Array.from(arguments).forEach((function(e){t[e]=Symbol(e)}))}},function(e,t,n){var i; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i)&&i.length){var a=r.apply(null,i);a&&e.push(a)}else if("object"===o)for(var s in i)n.call(i,s)&&i[s]&&e.push(s)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(i=function(){return r}.apply(t,[]))||(e.exports=i)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IconStack=t.Icon=t.default=void 0,n(27);var i=o(n(28)),r=o(n(29));function o(e){return e&&e.__esModule?e:{default:e}}t.default=i.default,t.Icon=i.default,t.IconStack=r.default},function(e,t,n){"use strict";e.exports=function(){}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";e.exports=n(30)},function(e,t,n){"use strict";(function(e,i){var r,o=n(18);r="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:i;var a=Object(o.a)(r);t.a=a}).call(this,n(12),n(21)(e))},function(e,t,n){"use strict";var i=n(13),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return i.isMemo(e)?a:s[e.$$typeof]||r}s[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[i.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,i){if("string"!=typeof n){if(p){var r=f(n);r&&r!==p&&e(t,r,i)}var a=c(n);h&&(a=a.concat(h(n)));for(var s=l(t),m=l(n),y=0;y<a.length;++y){var v=a[y];if(!(o[v]||i&&i[v]||m&&m[v]||s&&s[v])){var g=d(n,v);try{u(t,v,g)}catch(e){}}}}return t}},function(e,t,n){},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(31)},function(e,t,n){"use strict";function i(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return i}))},function(e){e.exports=JSON.parse('{"WorldMap_Light_Grey_Canvas":{"EPSG:3857":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/WorldMap_Light_Grey_Canvas/EPSG3857/","minLevel":0,"maxLevel":9,"tileServerType":"osm","copyRight":"Natural Earth II | Ingmapping"}},"OpenStreetMap_NL":{"EPSG:3857":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/OpenStreetMap_NL/EPSG3857/","minLevel":0,"maxLevel":16,"tileServerType":"osm","copyRight":"OpenStreetMap - contributors | Ingmapping"}},"OpenStreets_NL":{"EPSG:3857":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/OpenStreets_NL/EPSG3857/","minLevel":0,"maxLevel":16,"tileServerType":"osm","copyRight":"OpenStreetMap - contributors | Ingmapping"},"EPSG:28992":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/OpenStreets_NL/EPSG28992/","minLevel":0,"maxLevel":16,"tileServerType":"osm","copyRight":"Natural Earth II | Ingmapping"}},"Positron_NL":{"EPSG:3857":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/Positron_NL/EPSG3857/","minLevel":0,"maxLevel":16,"tileServerType":"osm","copyRight":"OpenStreetMap - contributors | OpenMapTiles | Ingmapping"}},"Positron_NL_NoLabels":{"EPSG:3857":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/Positron_NL_NoLabels/EPSG3857/","minLevel":0,"maxLevel":16,"tileServerType":"osm","copyRight":"OpenStreetMap - contributors | OpenMapTiles | Ingmapping"}},"Klokantech_Basic_NL":{"EPSG:3857":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/Klokantech_Basic_NL/EPSG3857/","minLevel":0,"maxLevel":16,"tileServerType":"osm","copyRight":"OpenStreetMap - contributors | OpenMapTiles | Ingmapping"}},"Klokantech_Basic_NL_NoLabels":{"EPSG:3857":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/Klokantech_Basic_NL_NoLabels/EPSG3857/","minLevel":0,"maxLevel":16,"tileServerType":"osm","copyRight":"OpenStreetMap - contributors | OpenMapTiles | Ingmapping"}},"OSM_Blossom_NL":{"EPSG:3857":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/OSM_Blossom_NL/EPSG3857/","minLevel":0,"maxLevel":16,"tileServerType":"osm","copyRight":"OpenStreetMap - contributors | Ingmapping"}},"WorldMap":{"EPSG:3857":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/WorldMap/EPSG3857/","minLevel":0,"maxLevel":9,"tileServerType":"osm","copyRight":"Natural Earth II | Ingmapping"},"TODO__EPSG:4326":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/WorldMap/EPSG4326/","minLevel":0,"maxLevel":9,"origX":-180,"origY":90,"resolution":1.422222,"tileServerType":"osm","copyRight":"Natural Earth II | Ingmapping"},"EPSG:3411":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/WorldMap/EPSG3411/","minLevel":3,"maxLevel":9,"tileServerType":"osm","copyRight":"Natural Earth II | Ingmapping"},"EPSG:28992":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/WorldMap/EPSG28992/","minLevel":5,"maxLevel":9,"tileServerType":"osm","copyRight":"Natural Earth II | Ingmapping"},"EPSG:3412":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/WorldMap/EPSG3412/","minLevel":3,"maxLevel":9,"tileServerType":"osm","copyRight":"Natural Earth II | Ingmapping"},"EPSG:32661":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/WorldMap/EPSG32661/","minLevel":4,"maxLevel":9,"tileServerType":"osm","copyRight":"Natural Earth II | Ingmapping"},"EPSG:54030":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/WorldMap/EPSG54030/","minLevel":3,"maxLevel":9,"tileServerType":"osm","copyRight":"Natural Earth II | Ingmapping"},"EPSG:3575":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/WorldMap/EPSG3575/","minLevel":5,"maxLevel":9,"tileServerType":"osm","copyRight":"Natural Earth II | Ingmapping"}},"OSM_Antarctica":{"EPSG:3412":{"home":"https://knmi-geoweb-assets.s3-eu-west-1.amazonaws.com/OSM_Antarctica/EPSG3412/","minLevel":1,"maxLevel":7,"origX":-3000000,"origY":3000000,"resolution":23437.5,"tileServerType":"osm","copyRight":"OpenStreetMap - contributors | Ingmapping"}},"arcGisCanvas":{"title":"ArcGIS canvas map","EPSG:3857":{"home":"//services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/","minLevel":1,"maxLevel":16,"tileServerType":"arcgisonline","copyRight":"Basemap copyright: 2013 ESRI, DeLorme, NAVTEQ"},"EPSG:28992":{"home":"//services.arcgisonline.com/arcgis/rest/services/Basiskaarten/Canvas/MapServer/tile/","minLevel":1,"maxLevel":12,"origX":-285401.92,"origY":903401.92,"resolution":3440.64,"tileServerType":"arcgisonline","copyRight":"Basiskaart bronnen: ESRI Nederland, ESRI, Kadaster, CBS en Rijkswaterstaat"}},"arcGisTopo":{"title":"ArcGIS topo map","EPSG:3857":{"home":"//services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/","minLevel":1,"maxLevel":19,"tileServerType":"arcgisonline","copyRight":"Basemap sources: ESRI, DeLorme, NAVTEQ, TomTom, Intermap, increment P Corp., GEBCO, USGS, FAO, NPS, NRCAN, GeoBase, IGN, Kadaster NL, Ordnance Survey, ESRI Japan, METI, ESRI China (Hong Kong), and the GIS User Community"},"EPSG:28992":{"home":"//services.arcgisonline.com/arcgis/rest/services/Basiskaarten/Topo/MapServer/tile/","minLevel":1,"maxLevel":12,"origX":-285401.92,"origY":903401.92,"resolution":3440.64,"tileServerType":"arcgisonline","copyRight":"Basiskaart bronnen: ESRI Nederland, ESRI, Kadaster, CBS, Min VROM, Rijkswaterstaat en gemeenten: Rotterdam, Breda, Tilburg"}},"arcGisOceanBaseMap":{"EPSG:3857":{"title":"ArcGIS ocean map","home":"//services.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/tile/","minLevel":1,"maxLevel":19,"tileServerType":"arcgisonline","copyRight":"Basemap sources: ESRI, GEBCO, NOAA, National Geographic, DeLorme, NAVTEQ, Geonames.org, and other contributors"}},"arcGisSat":{"title":"ArcGIS satellite map","EPSG:4326":{"home":"//services.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/tile/","minLevel":1,"maxLevel":15,"tileServerType":"arcgisonline","origX":-180,"origY":90,"resolution":0.3515625,"tileSize":512,"copyRight":"ESRI"},"EPSG:3857":{"home":"//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/","minLevel":1,"maxLevel":18,"tileServerType":"arcgisonline","copyRight":"ESRI"}},"OpenStreetMap_Service":{"title":"OpenStreetMap Service","EPSG:3857":{"home":"//b.tile.openstreetmap.org/","minLevel":1,"maxLevel":16,"tileServerType":"osm","copyRight":"OpenStreetMap - contributors"},"EPSG:28992":{"home":"//services.arcgisonline.com/ArcGIS/rest/services/Basiskaarten/PDOK_BRT/MapServer/tile/","minLevel":1,"maxLevel":12,"origX":-285401.92,"origY":903401.92,"resolution":3440.64,"tileServerType":"arcgisonline","copyRight":"Basiskaart bronnen: PDOK, Kadaster, OpenStreetMap"}},"NaturalEarth2":{"EPSG:3411":{"home":"http://geoservices.knmi.nl/tiledbasemaps/NaturalEarth2/EPSG3411/","minLevel":1,"maxLevel":6,"origX":-12400000,"origY":12400000,"resolution":96875,"tileServerType":"wmst","copyRight":"NPS - Natural Earth II"},"EPSG:3412":{"home":"http://geoservices.knmi.nl/tiledbasemaps/NaturalEarth2/EPSG3412/","minLevel":1,"maxLevel":6,"origX":-12400000,"origY":12400000,"resolution":96875,"tileServerType":"wmst","copyRight":"NPS - Natural Earth II"},"EPSG:3575":{"home":"http://geoservices.knmi.nl/tiledbasemaps/NaturalEarth2/EPSG3575/","minLevel":1,"maxLevel":6,"origX":-13000000,"origY":13000000,"resolution":101562.5,"tileServerType":"wmst","copyRight":"NPS - Natural Earth II"},"EPSG:3857":{"home":"http://geoservices.knmi.nl/tiledbasemaps/NaturalEarth2/EPSG3857/","minLevel":1,"maxLevel":7,"tileServerType":"wmst","copyRight":"NPS - Natural Earth II"},"EPSG:4258":{"home":"http://geoservices.knmi.nl/tiledbasemaps/NaturalEarth2/EPSG4326/","minLevel":1,"maxLevel":6,"origX":-180,"origY":90,"resolution":0.703125,"tileServerType":"wmst","copyRight":"NPS - Natural Earth II"},"EPSG:4326":{"home":"http://geoservices.knmi.nl/tiledbasemaps/NaturalEarth2/EPSG4326/","minLevel":1,"maxLevel":6,"origX":-180,"origY":90,"resolution":0.703125,"tileServerType":"wmst","copyRight":"NPS - Natural Earth II"},"EPSG:28992":{"home":"http://geoservices.knmi.nl/tiledbasemaps/NaturalEarth2/EPSG28992/","minLevel":1,"maxLevel":5,"origX":-2999000,"origY":2995500,"resolution":23437,"tileServerType":"wmst","copyRight":"NPS - Natural Earth II"},"EPSG:32661":{"home":"http://geoservices.knmi.nl/tiledbasemaps/NaturalEarth2/EPSG32661/","minLevel":1,"maxLevel":7,"origX":-5000000,"origY":4000000,"resolution":58593.75,"tileServerType":"wmst","copyRight":"NPS - Natural Earth II"},"EPSG:54030":{"home":"http://geoservices.knmi.nl/tiledbasemaps/NaturalEarth2/EPSG54030/","minLevel":1,"maxLevel":7,"origX":-17000000,"origY":8625830,"resolution":132812.5,"tileServerType":"wmst","copyRight":"NPS - Natural Earth II"}}}')},,function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t){var n,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,u=[],c=!1,h=-1;function d(){c&&l&&(c=!1,l.length?u=l.concat(u):h=-1,u.length&&f())}function f(){if(!c){var e=s(d);c=!0;for(var t=u.length;t;){for(l=u,u=[];++h<t;)l&&l[h].run();h=-1,t=u.length}l=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||c||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";var i=n(24);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e){e.exports=JSON.parse('{"name":"@adaguc/react-webmapjs","version":"0.1.43","description":"React wrapper for webmapjs, which is an interactive maps library, capable of parsing a OGC WMS getcapabilities and display geographical layers","main":"./dist/index.js","scripts":{"build":"webpack --mode production --display-modules","clean":"rm -rf dist lib node_modules","start":"webpack --watch","babel":"babel src --out-dir lib","storybook":"start-storybook -p 6006","build-storybook":"build-storybook -c .storybook -o storybook-react-webmapjs","test":"jest"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com:KNMI/EU-Team/react-webmapjs.git"},"keywords":["OGC","WMS","Geographical","Maps","Layers","Visualization","Canvas"],"author":"Maarten Plieger","license":"MIT","bugs":{"url":"https://gitlab.com/KNMI/EU-Team/react-webmapjs"},"homepage":"https://gitlab.com/KNMI/EU-Team/react-webmapjs#readme","peerDependencies":{"react":"^16.6.0"},"dependencies":{"@turf/simplify":"^5.1.5","@turf/turf":"^5.1.6","debounce":"^1.2.0","es6-enum":"^1.1.0","fetch-jsonp":"^1.1.3","lodash.clonedeep":"^4.5.0","react-compound-slider":"^2.5.0","react-fa":"^5.0.0","react-redux":"^7.1.3","react-sortable-hoc":"^1.11.0","reactstrap":"^8.4.0","redux":"^4.0.5","throttle-debounce":"^2.0.1"},"devDependencies":{"@babel/register":"^7.6.2","@storybook/addon-actions":"^5.2.3","@storybook/addon-console":"^1.1.0","@storybook/addon-jest":"^5.2.3","@storybook/addon-links":"^5.2.3","@storybook/addon-storyshots":"^5.2.3","@storybook/addons":"^5.2.3","@storybook/react":"^5.2.3","@types/jest":"^24.0.25","@types/node":"12.7.1","@types/react":"16.9.1","@types/react-dom":"16.8.5","@typescript-eslint/eslint-plugin":"^2.3.3","@typescript-eslint/parser":"^2.3.3","autoprefixer":"latest","awesome-typescript-loader":"^5.2.1","babel-eslint":"^10.0.3","babel-loader":"^8.0.6","babel-register":"^6.26.0","bootstrap":"^4.4.1","copy-webpack-plugin":"^5.1.1","enzyme":"^3.11.0","enzyme-adapter-react-16":"^1.15.2","enzyme-to-json":"^3.4.3","eslint":"^6.8.0","eslint-config-standard":"^14.1.0","eslint-config-standard-react":"^9.2.0","eslint-plugin-babel":"^5.3.0","eslint-plugin-import":"^2.20.0","eslint-plugin-json":"^2.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.18.0","eslint-plugin-standard":"^4.0.1","html-loader":"^0.5.5","jest":"^24.9.0","jest-canvas-mock":"^2.2.0","jest-css-modules":"^2.1.0","mini-css-extract-plugin":"latest","node-sass":"^4.12.0","react-docgen-typescript-loader":"^3.3.0","recharts":"^1.8.5","require-context.macro":"^1.2.2","storybook-addon-specifications":"^2.1.5","webpack":"^4.41.5","webpack-cli":"^3.3.10","webpack-dev-server":"^3.10.1"}}')},function(e,t){e.exports=function(e){return e.webpackPoly