v-ol-map 1.0.3 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +29 -0
- package/.vscode/extensions.json +3 -0
- package/README.md +11 -19
- package/dist/ol-map.es.js +8995 -0
- package/dist/ol-map.umd.js +2 -0
- package/dist/style.css +1 -0
- package/dist/vite.svg +1 -0
- package/index.html +13 -0
- package/package.json +24 -34
- package/public/vite.svg +1 -0
- package/src/App.vue +13 -0
- package/src/assets/vue.svg +1 -0
- package/src/components/index.js +13 -0
- package/src/components/index.js.map +1 -0
- package/src/components/index.ts +16 -0
- package/src/components/layers/base.ts +48 -0
- package/src/components/layers/tile/index.js +6 -0
- package/src/components/layers/tile/index.js.map +1 -0
- package/src/components/layers/tile/index.ts +8 -0
- package/src/components/layers/tile/tile.vue +97 -0
- package/src/components/map/index.js +6 -0
- package/src/components/map/index.js.map +1 -0
- package/src/components/map/index.ts +8 -0
- package/src/components/map/map.vue +91 -0
- package/src/main.js +6 -0
- package/src/main.js.map +1 -0
- package/src/main.ts +6 -0
- package/src/style.css +82 -0
- package/src/utils/cityMap.js +2260 -0
- package/src/utils/cityMap.js.map +1 -0
- package/src/utils/cityMap.ts +2263 -0
- package/src/utils/index.js +47 -8
- package/src/utils/index.js.map +1 -1
- package/src/utils/index.ts +68 -17
- package/src/vite-env.d.ts +7 -0
- package/tsconfig.json +16 -22
- package/tsconfig.node.json +9 -0
- package/vite.config.ts +40 -0
- package/.browserslistrc +0 -3
- package/.eslintrc.js +0 -20
- package/babel.config.js +0 -3
- package/examples/App.vue +0 -26
- package/examples/main.ts +0 -13
- package/examples/router/index.ts +0 -21
- package/examples/views/Home.vue +0 -22
- package/lib/demo.html +0 -8
- package/lib/v-ol-map.common.js +0 -29682
- package/lib/v-ol-map.umd.js +0 -29692
- package/lib/v-ol-map.umd.min.js +0 -7
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -17
- package/src/@types/component.d.ts +0 -6
- package/src/@types/index.d.ts +0 -3
- package/src/@types/shims-tsx.d.ts +0 -13
- package/src/@types/shims-vue.d.ts +0 -4
- package/src/assets/logo.png +0 -0
- package/src/components/Layers/BaseLayer.vue +0 -37
- package/src/components/Layers/TileLayer/index.ts +0 -7
- package/src/components/Layers/TileLayer/src/index.vue +0 -51
- package/src/components/VMap/index.js +0 -6
- package/src/components/VMap/index.js.map +0 -1
- package/src/components/VMap/index.ts +0 -7
- package/src/components/VMap/src/VMap.vue +0 -62
- package/src/index.js +0 -21
- package/src/index.js.map +0 -1
- package/src/index.ts +0 -26
- package/vue.config.js +0 -41
package/lib/v-ol-map.umd.min.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["v-ol-map"]=e(require("vue")):t["v-ol-map"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var r=n("b622"),o=r("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},"01d4":function(t,e,n){"use strict";e["a"]={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"}},"0414":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var r=42,o=256},"06cf":function(t,e,n){var r=n("83ab"),o=n("c65b"),i=n("d1e7"),a=n("5c6c"),s=n("fc6a"),c=n("a04b"),u=n("1a2d"),l=n("0cfb"),h=Object.getOwnPropertyDescriptor;e.f=r?h:function(t,e){if(t=s(t),e=c(e),l)try{return h(t,e)}catch(n){}if(u(t,e))return a(!o(i.f,t,e),t[e])}},"070d":function(t,e,n){"use strict";e["a"]={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"}},"07fa":function(t,e,n){var r=n("50c4");t.exports=function(t){return r(t.length)}},"089b":function(t,e,n){"use strict";n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return l})),n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return v}));var r=n("78db"),o=n("fced"),i=n("0414"),a=n("256f"),s=n("0af5"),c=n("345d");function u(t){var e=t.getDefaultTileGrid();return e||(e=d(t),t.setDefaultTileGrid(e)),e}function l(t,e,n){var r=e[0],o=t.getTileCoordCenter(e),i=v(n);if(Object(s["e"])(i,o))return e;var a=Object(s["C"])(i),c=Math.ceil((i[0]-o[0])/a);return o[0]+=a*c,t.getTileCoordForCoordAndZ(o,r)}function h(t,e,n,o){var i=void 0!==o?o:"top-left",a=f(t,e,n);return new r["a"]({extent:t,origin:Object(s["v"])(t,i),resolutions:a,tileSize:n})}function p(t){var e=t||{},n=e.extent||Object(a["g"])("EPSG:3857").getExtent(),o={extent:n,minZoom:e.minZoom,tileSize:e.tileSize,resolutions:f(n,e.maxZoom,e.tileSize,e.maxResolution)};return new r["a"](o)}function f(t,e,n,r){for(var o=void 0!==e?e:i["a"],a=Object(s["x"])(t),u=Object(s["C"])(t),l=Object(c["c"])(void 0!==n?n:i["b"]),h=r>0?r:Math.max(u/l[0],a/l[1]),p=o+1,f=new Array(p),d=0;d<p;++d)f[d]=h/Math.pow(2,d);return f}function d(t,e,n,r){var o=v(t);return h(o,e,n,r)}function v(t){t=Object(a["g"])(t);var e=t.getExtent();if(!e){var n=180*a["a"][o["b"].DEGREES]/t.getMetersPerUnit();e=Object(s["i"])(-n,-n,n,n)}return e}},"0999":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"f",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"c",(function(){return c})),n.d(e,"e",(function(){return u}));var r=n("617d");function o(t,e,n,o){var i;return i=n&&n.length?n.shift():r["g"]?new OffscreenCanvas(t||300,e||300):document.createElement("canvas"),t&&(i.width=t),e&&(i.height=e),i.getContext("2d",o)}function i(t){var e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function a(t,e){var n=e.parentNode;n&&n.replaceChild(t,e)}function s(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function c(t){while(t.lastChild)t.removeChild(t.lastChild)}function u(t,e){for(var n=t.childNodes,r=0;1;++r){var o=n[r],i=e[r];if(!o&&!i)break;o!==i&&(o?i?t.insertBefore(i,o):(t.removeChild(o),--r):t.appendChild(i))}}},"0af5":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return d})),n.d(e,"j",(function(){return v})),n.d(e,"k",(function(){return g})),n.d(e,"l",(function(){return y})),n.d(e,"m",(function(){return _})),n.d(e,"n",(function(){return m})),n.d(e,"o",(function(){return b})),n.d(e,"p",(function(){return O})),n.d(e,"q",(function(){return x})),n.d(e,"r",(function(){return w})),n.d(e,"s",(function(){return j})),n.d(e,"t",(function(){return C})),n.d(e,"u",(function(){return T})),n.d(e,"v",(function(){return R})),n.d(e,"w",(function(){return P})),n.d(e,"z",(function(){return S})),n.d(e,"x",(function(){return I})),n.d(e,"y",(function(){return A})),n.d(e,"A",(function(){return M})),n.d(e,"B",(function(){return L})),n.d(e,"C",(function(){return D})),n.d(e,"D",(function(){return N})),n.d(e,"F",(function(){return F})),n.d(e,"G",(function(){return z})),n.d(e,"E",(function(){return G})),n.d(e,"a",(function(){return k}));var r={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16},o=n("92fa");function i(t){for(var e=f(),n=0,r=t.length;n<r;++n)b(e,t[n]);return e}function a(t,e,n){var r=Math.min.apply(null,t),o=Math.min.apply(null,e),i=Math.max.apply(null,t),a=Math.max.apply(null,e);return d(r,o,i,a,n)}function s(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function c(t,e,n){var r,o;return r=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0,o=n<t[1]?t[1]-n:t[3]<n?n-t[3]:0,r*r+o*o}function u(t,e){return h(t,e[0],e[1])}function l(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function h(t,e,n){return t[0]<=e&&e<=t[2]&&t[1]<=n&&n<=t[3]}function p(t,e){var n=t[0],o=t[1],i=t[2],a=t[3],s=e[0],c=e[1],u=r.UNKNOWN;return s<n?u|=r.LEFT:s>i&&(u|=r.RIGHT),c<o?u|=r.BELOW:c>a&&(u|=r.ABOVE),u===r.UNKNOWN&&(u=r.INTERSECTING),u}function f(){return[1/0,1/0,-1/0,-1/0]}function d(t,e,n,r,o){return o?(o[0]=t,o[1]=e,o[2]=n,o[3]=r,o):[t,e,n,r]}function v(t){return d(1/0,1/0,-1/0,-1/0,t)}function g(t,e){var n=t[0],r=t[1];return d(n,r,n,r,e)}function y(t,e,n,r,o){var i=v(o);return O(i,t,e,n,r)}function _(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function m(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function b(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function O(t,e,n,r,o){for(;n<r;n+=o)E(t,e[n],e[n+1]);return t}function E(t,e,n){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],n),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],n)}function x(t,e){var n;return n=e(j(t)),n||(n=e(C(t)),n||(n=e(L(t)),n||(n=e(M(t)),n||!1)))}function w(t){var e=0;return F(t)||(e=D(t)*I(t)),e}function j(t){return[t[0],t[1]]}function C(t){return[t[2],t[1]]}function T(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function R(t,e){var n;return"bottom-left"===e?n=j(t):"bottom-right"===e?n=C(t):"top-left"===e?n=M(t):"top-right"===e?n=L(t):Object(o["a"])(!1,13),n}function P(t,e,n,r,o){var i=S(t,e,n,r),a=i[0],s=i[1],c=i[2],u=i[3],l=i[4],h=i[5],p=i[6],f=i[7];return d(Math.min(a,c,l,p),Math.min(s,u,h,f),Math.max(a,c,l,p),Math.max(s,u,h,f),o)}function S(t,e,n,r){var o=e*r[0]/2,i=e*r[1]/2,a=Math.cos(n),s=Math.sin(n),c=o*a,u=o*s,l=i*a,h=i*s,p=t[0],f=t[1];return[p-c+h,f-u-l,p-c-h,f-u+l,p+c-h,f+u+l,p+c+h,f+u-l,p-c+h,f-u-l]}function I(t){return t[3]-t[1]}function A(t,e,n){var r=n||f();return N(t,e)?(t[0]>e[0]?r[0]=t[0]:r[0]=e[0],t[1]>e[1]?r[1]=t[1]:r[1]=e[1],t[2]<e[2]?r[2]=t[2]:r[2]=e[2],t[3]<e[3]?r[3]=t[3]:r[3]=e[3]):v(r),r}function M(t){return[t[0],t[3]]}function L(t){return[t[2],t[3]]}function D(t){return t[2]-t[0]}function N(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function F(t){return t[2]<t[0]||t[3]<t[1]}function z(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t}function G(t,e,n){var o=!1,i=p(t,e),a=p(t,n);if(i===r.INTERSECTING||a===r.INTERSECTING)o=!0;else{var s=t[0],c=t[1],u=t[2],l=t[3],h=e[0],f=e[1],d=n[0],v=n[1],g=(v-f)/(d-h),y=void 0,_=void 0;a&r.ABOVE&&!(i&r.ABOVE)&&(y=d-(v-l)/g,o=y>=s&&y<=u),o||!(a&r.RIGHT)||i&r.RIGHT||(_=v-(d-u)*g,o=_>=c&&_<=l),o||!(a&r.BELOW)||i&r.BELOW||(y=d-(v-c)/g,o=y>=s&&y<=u),o||!(a&r.LEFT)||i&r.LEFT||(_=v-(d-s)*g,o=_>=c&&_<=l)}return o}function k(t,e,n,r){var o=[];if(r>1)for(var i=t[2]-t[0],s=t[3]-t[1],c=0;c<r;++c)o.push(t[0]+i*c/r,t[1],t[2],t[1]+s*c/r,t[2]-i*c/r,t[3],t[0],t[3]-s*c/r);else o=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(o,o,2);for(var u=[],l=[],h=(c=0,o.length);c<h;c+=2)u.push(o[c]),l.push(o[c+1]);return a(u,l,n)}},"0b0e":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var r={imageSmoothingEnabled:!1,msImageSmoothingEnabled:!1},o={imageSmoothingEnabled:!0,msImageSmoothingEnabled:!0}},"0cfb":function(t,e,n){var r=n("83ab"),o=n("d039"),i=n("cc12");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"0ec0":function(t,e,n){"use strict";var r=n("da5c"),o=n("cef7"),i=n("57cb"),a=n("38f3"),s=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=function(t){function e(e){var n=t.call(this)||this;return n.eventTarget_=e,n.pendingRemovals_=null,n.dispatching_=null,n.listeners_=null,n}return s(e,t),e.prototype.addEventListener=function(t,e){if(t&&e){var n=this.listeners_||(this.listeners_={}),r=n[t]||(n[t]=[]);-1===r.indexOf(e)&&r.push(e)}},e.prototype.dispatchEvent=function(t){var e="string"===typeof t,n=e?t:t.type,r=this.listeners_&&this.listeners_[n];if(r){var a=e?new o["a"](t):t;a.target||(a.target=this.eventTarget_||this);var s,c=this.dispatching_||(this.dispatching_={}),u=this.pendingRemovals_||(this.pendingRemovals_={});n in c||(c[n]=0,u[n]=0),++c[n];for(var l=0,h=r.length;l<h;++l)if(s="handleEvent"in r[l]?r[l].handleEvent(a):r[l].call(this,a),!1===s||a.propagationStopped){s=!1;break}if(0===--c[n]){var p=u[n];delete u[n];while(p--)this.removeEventListener(n,i["c"]);delete c[n]}return s}},e.prototype.disposeInternal=function(){this.listeners_&&Object(a["b"])(this.listeners_)},e.prototype.getListeners=function(t){return this.listeners_&&this.listeners_[t]||void 0},e.prototype.hasListener=function(t){return!!this.listeners_&&(t?t in this.listeners_:Object.keys(this.listeners_).length>0)},e.prototype.removeEventListener=function(t,e){var n=this.listeners_&&this.listeners_[t];if(n){var r=n.indexOf(e);-1!==r&&(this.pendingRemovals_&&t in this.pendingRemovals_?(n[r]=i["c"],++this.pendingRemovals_[t]):(n.splice(r,1),0===n.length&&delete this.listeners_[t]))}},e}(r["a"]);e["a"]=c},1300:function(t,e,n){"use strict";function r(){return function(){throw new Error("Unimplemented abstract method.")}()}n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var o=0;function i(t){return t.ol_uid||(t.ol_uid=String(++o))}var a="6.15.1"},"13d2":function(t,e,n){var r=n("d039"),o=n("1626"),i=n("1a2d"),a=n("83ab"),s=n("5e77").CONFIGURABLE,c=n("8925"),u=n("69f3"),l=u.enforce,h=u.get,p=Object.defineProperty,f=a&&!r((function(){return 8!==p((function(){}),"length",{value:8}).length})),d=String(String).split("String"),v=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!i(t,"name")||s&&t.name!==e)&&(a?p(t,"name",{value:e,configurable:!0}):t.name=e),f&&n&&i(n,"arity")&&t.length!==n.arity&&p(t,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=l(t);return i(r,"source")||(r.source=d.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return o(this)&&h(this).source||c(this)}),"toString")},1626:function(t,e){t.exports=function(t){return"function"==typeof t}},"1a2d":function(t,e,n){var r=n("e330"),o=n("7b0b"),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},"1af9":function(t,e,n){"use strict";n.d(e,"b",(function(){return p}));var r=n("5564"),o=n("01d4"),i=n("df4c"),a=n("070d"),s=n("92fa"),c=n("38f3"),u=n("1e8d"),l=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(t){function e(e){var n=this,r=Object(c["a"])({},e);delete r.source,n=t.call(this,r)||this,n.on,n.once,n.un,n.mapPrecomposeKey_=null,n.mapRenderKey_=null,n.sourceChangeKey_=null,n.renderer_=null,n.rendered=!1,e.render&&(n.render=e.render),e.map&&n.setMap(e.map),n.addChangeListener(i["a"].SOURCE,n.handleSourcePropertyChange_);var o=e.source?e.source:null;return n.setSource(o),n}return l(e,t),e.prototype.getLayersArray=function(t){var e=t||[];return e.push(this),e},e.prototype.getLayerStatesArray=function(t){var e=t||[];return e.push(this.getLayerState()),e},e.prototype.getSource=function(){return this.get(i["a"].SOURCE)||null},e.prototype.getRenderSource=function(){return this.getSource()},e.prototype.getSourceState=function(){var t=this.getSource();return t?t.getState():"undefined"},e.prototype.handleSourceChange_=function(){this.changed()},e.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&(Object(u["c"])(this.sourceChangeKey_),this.sourceChangeKey_=null);var t=this.getSource();t&&(this.sourceChangeKey_=Object(u["a"])(t,o["a"].CHANGE,this.handleSourceChange_,this)),this.changed()},e.prototype.getFeatures=function(t){return this.renderer_?this.renderer_.getFeatures(t):new Promise((function(t){return t([])}))},e.prototype.getData=function(t){return this.renderer_&&this.rendered?this.renderer_.getData(t):null},e.prototype.render=function(t,e){var n=this.getRenderer();if(n.prepareFrame(t))return this.rendered=!0,n.renderFrame(t,e)},e.prototype.unrender=function(){this.rendered=!1},e.prototype.setMapInternal=function(t){t||this.unrender(),this.set(i["a"].MAP,t)},e.prototype.getMapInternal=function(){return this.get(i["a"].MAP)},e.prototype.setMap=function(t){this.mapPrecomposeKey_&&(Object(u["c"])(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Object(u["c"])(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Object(u["a"])(t,a["a"].PRECOMPOSE,(function(t){var e=t,n=e.frameState.layerStatesArray,r=this.getLayerState(!1);Object(s["a"])(!n.some((function(t){return t.layer===r.layer})),67),n.push(r)}),this),this.mapRenderKey_=Object(u["a"])(this,o["a"].CHANGE,t.render,t),this.changed())},e.prototype.setSource=function(t){this.set(i["a"].SOURCE,t)},e.prototype.getRenderer=function(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_},e.prototype.hasRenderer=function(){return!!this.renderer_},e.prototype.createRenderer=function(){return null},e.prototype.disposeInternal=function(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),t.prototype.disposeInternal.call(this)},e}(r["a"]);function p(t,e){if(!t.visible)return!1;var n=e.resolution;if(n<t.minResolution||n>=t.maxResolution)return!1;var r=e.zoom;return r>t.minZoom&&r<=t.maxZoom}e["a"]=h},"1d80":function(t,e){var n=TypeError;t.exports=function(t){if(void 0==t)throw n("Can't call method on "+t);return t}},"1e8d":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a}));var r=n("38f3");function o(t,e,n,r,o){if(r&&r!==t&&(n=n.bind(r)),o){var i=n;n=function(){t.removeEventListener(e,n),i.apply(this,arguments)}}var a={target:t,type:e,listener:n};return t.addEventListener(e,n),a}function i(t,e,n,r){return o(t,e,n,r,!0)}function a(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),Object(r["b"])(t))}},"23cb":function(t,e,n){var r=n("5926"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},"23e7":function(t,e,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),a=n("cb2d"),s=n("6374"),c=n("e893"),u=n("94ca");t.exports=function(t,e){var n,l,h,p,f,d,v=t.target,g=t.global,y=t.stat;if(l=g?r:y?r[v]||s(v,{}):(r[v]||{}).prototype,l)for(h in e){if(f=e[h],t.dontCallGetSet?(d=o(l,h),p=d&&d.value):p=l[h],n=u(g?h:v+(y?".":"#")+h,t.forced),!n&&void 0!==p){if(typeof f==typeof p)continue;c(f,p)}(t.sham||p&&p.sham)&&i(f,"sham",!0),a(l,h,f,t)}}},"241c":function(t,e,n){var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"24fb":function(t,e,n){"use strict";function r(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"===typeof btoa){var i=o(r),a=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function o(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=r(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"===typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<t.length;s++){var c=[].concat(t[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},"256f":function(t,e,n){"use strict";n.d(e,"a",(function(){return r["a"]})),n.d(e,"c",(function(){return M})),n.d(e,"g",(function(){return z})),n.d(e,"h",(function(){return G})),n.d(e,"b",(function(){return K})),n.d(e,"d",(function(){return U})),n.d(e,"i",(function(){return V})),n.d(e,"m",(function(){return Y})),n.d(e,"j",(function(){return B})),n.d(e,"k",(function(){return q})),n.d(e,"e",(function(){return $})),n.d(e,"l",(function(){return Q})),n.d(e,"f",(function(){return J}));var r=n("fced"),o=function(){function t(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}return t.prototype.canWrapX=function(){return this.canWrapX_},t.prototype.getCode=function(){return this.code_},t.prototype.getExtent=function(){return this.extent_},t.prototype.getUnits=function(){return this.units_},t.prototype.getMetersPerUnit=function(){return this.metersPerUnit_||r["a"][this.units_]},t.prototype.getWorldExtent=function(){return this.worldExtent_},t.prototype.getAxisOrientation=function(){return this.axisOrientation_},t.prototype.isGlobal=function(){return this.global_},t.prototype.setGlobal=function(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)},t.prototype.getDefaultTileGrid=function(){return this.defaultTileGrid_},t.prototype.setDefaultTileGrid=function(t){this.defaultTileGrid_=t},t.prototype.setExtent=function(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)},t.prototype.setWorldExtent=function(t){this.worldExtent_=t},t.prototype.setGetPointResolution=function(t){this.getPointResolutionFunc_=t},t.prototype.getPointResolutionFunc=function(){return this.getPointResolutionFunc_},t}(),i=o,a=n("7fc9"),s=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=6378137,u=Math.PI*c,l=[-u,-u,u,u],h=[-180,-85,180,85],p=c*Math.log(Math.tan(Math.PI/2)),f=function(t){function e(e){return t.call(this,{code:e,units:r["b"].METERS,extent:l,global:!0,worldExtent:h,getPointResolution:function(t,e){return t/Object(a["c"])(e[1]/c)}})||this}return s(e,t),e}(i),d=[new f("EPSG:3857"),new f("EPSG:102100"),new f("EPSG:102113"),new f("EPSG:900913"),new f("http://www.opengis.net/def/crs/EPSG/0/3857"),new f("http://www.opengis.net/gml/srs/epsg.xml#3857")];function v(t,e,n){var r=t.length,o=n>1?n:2,i=e;void 0===i&&(i=o>2?t.slice():new Array(r));for(var a=0;a<r;a+=o){i[a]=u*t[a]/180;var s=c*Math.log(Math.tan(Math.PI*(+t[a+1]+90)/360));s>p?s=p:s<-p&&(s=-p),i[a+1]=s}return i}function g(t,e,n){var r=t.length,o=n>1?n:2,i=e;void 0===i&&(i=o>2?t.slice():new Array(r));for(var a=0;a<r;a+=o)i[a]=180*t[a]/u,i[a+1]=360*Math.atan(Math.exp(t[a+1]/c))/Math.PI-90;return i}var y=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),_=6378137,m=[-180,-90,180,90],b=Math.PI*_/180,O=function(t){function e(e,n){return t.call(this,{code:e,units:r["b"].DEGREES,extent:m,axisOrientation:n,global:!0,metersPerUnit:b,worldExtent:m})||this}return y(e,t),e}(i),E=[new O("CRS:84"),new O("EPSG:4326","neu"),new O("urn:ogc:def:crs:OGC:1.3:CRS84"),new O("urn:ogc:def:crs:OGC:2:84"),new O("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new O("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new O("http://www.opengis.net/def/crs/EPSG/0/4326","neu")],x={};function w(t){return x[t]||x[t.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null}function j(t,e){x[t]=e}n("38f3");var C={};function T(t,e,n){var r=t.getCode(),o=e.getCode();r in C||(C[r]={}),C[r][o]=n}function R(t,e){var n;return t in C&&e in C[t]&&(n=C[t][e]),n}var P=n("0af5"),S=n("a568"),I=n("790a"),A=!0;function M(t){var e=void 0===t||t;A=!e}function L(t,e,n){var r;if(void 0!==e){for(var o=0,i=t.length;o<i;++o)e[o]=t[o];r=e}else r=t.slice();return r}function D(t,e,n){if(void 0!==e&&t!==e){for(var r=0,o=t.length;r<o;++r)e[r]=t[r];t=e}return t}function N(t){j(t.getCode(),t),T(t,t,L)}function F(t){t.forEach(N)}function z(t){return"string"===typeof t?w(t):t||null}function G(t,e,n,o){var i;t=z(t);var a=t.getPointResolutionFunc();if(a){if(i=a(e,n),o&&o!==t.getUnits()){var s=t.getMetersPerUnit();s&&(i=i*s/r["a"][o])}}else{var c=t.getUnits();if(c==r["b"].DEGREES&&!o||o==r["b"].DEGREES)i=e;else{var u=X(t,z("EPSG:4326"));if(u===D&&c!==r["b"].DEGREES)i=e*t.getMetersPerUnit();else{var l=[n[0]-e/2,n[1],n[0]+e/2,n[1],n[0],n[1]-e/2,n[0],n[1]+e/2];l=u(l,l,2);var h=Object(I["a"])(l.slice(0,2),l.slice(2,4)),p=Object(I["a"])(l.slice(4,6),l.slice(6,8));i=(h+p)/2}s=o?r["a"][o]:t.getMetersPerUnit();void 0!==s&&(i/=s)}}return i}function k(t){F(t),t.forEach((function(e){t.forEach((function(t){e!==t&&T(e,t,L)}))}))}function Z(t,e,n,r){t.forEach((function(t){e.forEach((function(e){T(t,e,n),T(e,t,r)}))}))}function K(t,e){return t?"string"===typeof t?z(t):t:z(e)}function U(t,e){if(t===e)return!0;var n=t.getUnits()===e.getUnits();if(t.getCode()===e.getCode())return n;var r=X(t,e);return r===L&&n}function X(t,e){var n=t.getCode(),r=e.getCode(),o=R(n,r);return o||(o=D),o}function V(t,e){var n=z(t),r=z(e);return X(n,r)}function Y(t,e,n){var r=V(e,n);return r(t,void 0,t.length)}function W(t,e,n,r){var o=V(e,n);return Object(P["a"])(t,o,void 0,r)}var H=null;function B(){return H}function q(t,e){return H?Y(t,e,H):t}function $(t,e){return H?Y(t,H,e):(A&&!Object(S["b"])(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(A=!1,console.warn("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t)}function Q(t,e){return H?W(t,e,H):t}function J(t,e){return H?W(t,H,e):t}function tt(){k(d),k(E),Z(E,d,v,g)}tt()},"25f1":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a}));var r=n("0af5");function o(t,e,n,o,a){var s=Object(r["q"])(a,(function(r){return!i(t,e,n,o,r[0],r[1])}));return!s}function i(t,e,n,r,o,i){for(var a=0,s=t[n-r],c=t[n-r+1];e<n;e+=r){var u=t[e],l=t[e+1];c<=i?l>i&&(u-s)*(i-c)-(o-s)*(l-c)>0&&a++:l<=i&&(u-s)*(i-c)-(o-s)*(l-c)<0&&a--,s=u,c=l}return 0!==a}function a(t,e,n,r,o,a){if(0===n.length)return!1;if(!i(t,e,n[0],r,o,a))return!1;for(var s=1,c=n.length;s<c;++s)if(i(t,n[s-1],n[s],r,o,a))return!1;return!0}},"2ba4":function(t,e,n){var r=n("40d5"),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},"2c30":function(t,e,n){"use strict";function r(t,e,n,r){return void 0!==r?(r[0]=t,r[1]=e,r[2]=n,r):[t,e,n]}function o(t,e,n){return t+"/"+e+"/"+n}function i(t){return o(t[0],t[1],t[2])}function a(t){return t.split("/").map(Number)}function s(t){return(t[1]<<t[0])+t[2]}function c(t,e){var n=t[0],r=t[1],o=t[2];if(e.getMinZoom()>n||n>e.getMaxZoom())return!1;var i=e.getFullTileRange(n);return!i||i.containsXY(r,o)}n.d(e,"a",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return c}))},"2d00":function(t,e,n){var r,o,i=n("da84"),a=n("342f"),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},"2efc":function(t,e,n){"use strict";var r,o=n("a504"),i=n("01d4"),a=n("5e31"),s=n("acc1"),c=n("0af5"),u=n("256f"),l=n("7fc9"),h=10,p=.25,f=function(){function t(t,e,n,r,o,i){this.sourceProj_=t,this.targetProj_=e;var a={},s=Object(u["i"])(this.targetProj_,this.sourceProj_);this.transformInv_=function(t){var e=t[0]+"/"+t[1];return a[e]||(a[e]=s(t)),a[e]},this.maxSourceExtent_=r,this.errorThresholdSquared_=o*o,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!r&&!!this.sourceProj_.getExtent()&&Object(c["C"])(r)==Object(c["C"])(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Object(c["C"])(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Object(c["C"])(this.targetProj_.getExtent()):null;var p=Object(c["A"])(n),f=Object(c["B"])(n),d=Object(c["t"])(n),v=Object(c["s"])(n),g=this.transformInv_(p),y=this.transformInv_(f),_=this.transformInv_(d),m=this.transformInv_(v),b=h+(i?Math.max(0,Math.ceil(Object(l["f"])(Object(c["r"])(n)/(i*i*256*256)))):0);if(this.addQuad_(p,f,d,v,g,y,_,m,b),this.wrapsXInSource_){var O=1/0;this.triangles_.forEach((function(t,e,n){O=Math.min(O,t.source[0][0],t.source[1][0],t.source[2][0])})),this.triangles_.forEach(function(t){if(Math.max(t.source[0][0],t.source[1][0],t.source[2][0])-O>this.sourceWorldWidth_/2){var e=[[t.source[0][0],t.source[0][1]],[t.source[1][0],t.source[1][1]],[t.source[2][0],t.source[2][1]]];e[0][0]-O>this.sourceWorldWidth_/2&&(e[0][0]-=this.sourceWorldWidth_),e[1][0]-O>this.sourceWorldWidth_/2&&(e[1][0]-=this.sourceWorldWidth_),e[2][0]-O>this.sourceWorldWidth_/2&&(e[2][0]-=this.sourceWorldWidth_);var n=Math.min(e[0][0],e[1][0],e[2][0]),r=Math.max(e[0][0],e[1][0],e[2][0]);r-n<this.sourceWorldWidth_/2&&(t.source=e)}}.bind(this))}a={}}return t.prototype.addTriangle_=function(t,e,n,r,o,i){this.triangles_.push({source:[r,o,i],target:[t,e,n]})},t.prototype.addQuad_=function(t,e,n,r,o,i,a,s,u){var h=Object(c["b"])([o,i,a,s]),f=this.sourceWorldWidth_?Object(c["C"])(h)/this.sourceWorldWidth_:null,d=this.sourceWorldWidth_,v=this.sourceProj_.canWrapX()&&f>.5&&f<1,g=!1;if(u>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){var y=Object(c["b"])([t,e,n,r]),_=Object(c["C"])(y)/this.targetWorldWidth_;g=_>p||g}!v&&this.sourceProj_.isGlobal()&&f&&(g=f>p||g)}if(!(!g&&this.maxSourceExtent_&&isFinite(h[0])&&isFinite(h[1])&&isFinite(h[2])&&isFinite(h[3]))||Object(c["D"])(h,this.maxSourceExtent_)){var m=0;if(!g&&(!isFinite(o[0])||!isFinite(o[1])||!isFinite(i[0])||!isFinite(i[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(s[0])||!isFinite(s[1])))if(u>0)g=!0;else if(m=(isFinite(o[0])&&isFinite(o[1])?0:8)+(isFinite(i[0])&&isFinite(i[1])?0:4)+(isFinite(a[0])&&isFinite(a[1])?0:2)+(isFinite(s[0])&&isFinite(s[1])?0:1),1!=m&&2!=m&&4!=m&&8!=m)return;if(u>0){if(!g){var b=[(t[0]+n[0])/2,(t[1]+n[1])/2],O=this.transformInv_(b),E=void 0;if(v){var x=(Object(l["g"])(o[0],d)+Object(l["g"])(a[0],d))/2;E=x-Object(l["g"])(O[0],d)}else E=(o[0]+a[0])/2-O[0];var w=(o[1]+a[1])/2-O[1],j=E*E+w*w;g=j>this.errorThresholdSquared_}if(g){if(Math.abs(t[0]-n[0])<=Math.abs(t[1]-n[1])){var C=[(e[0]+n[0])/2,(e[1]+n[1])/2],T=this.transformInv_(C),R=[(r[0]+t[0])/2,(r[1]+t[1])/2],P=this.transformInv_(R);this.addQuad_(t,e,C,R,o,i,T,P,u-1),this.addQuad_(R,C,n,r,P,T,a,s,u-1)}else{var S=[(t[0]+e[0])/2,(t[1]+e[1])/2],I=this.transformInv_(S),A=[(n[0]+r[0])/2,(n[1]+r[1])/2],M=this.transformInv_(A);this.addQuad_(t,S,A,r,o,I,M,s,u-1),this.addQuad_(S,e,n,A,I,i,a,M,u-1)}return}}if(v){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}0==(11&m)&&this.addTriangle_(t,n,r,o,a,s),0==(14&m)&&this.addTriangle_(t,n,e,o,a,i),m&&(0==(13&m)&&this.addTriangle_(e,r,t,i,s,o),0==(7&m)&&this.addTriangle_(e,r,n,i,s,a))}},t.prototype.calculateSourceExtent=function(){var t=Object(c["h"])();return this.triangles_.forEach((function(e,n,r){var o=e.source;Object(c["o"])(t,o[0]),Object(c["o"])(t,o[1]),Object(c["o"])(t,o[2])})),t},t.prototype.getTriangles=function(){return this.triangles_},t}(),d=f,v=n("0b0e"),g=n("38f3"),y=n("0999"),_=[];function m(t,e,n,r,o){t.beginPath(),t.moveTo(0,0),t.lineTo(e,n),t.lineTo(r,o),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,r)+1,Math.max(n,o)),t.restore()}function b(t,e){return Math.abs(t[4*e]-210)>2||Math.abs(t[4*e+3]-191.25)>2}function O(){if(void 0===r){var t=document.createElement("canvas").getContext("2d");t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",m(t,4,5,4,0),m(t,4,5,0,5);var e=t.getImageData(0,0,3,3).data;r=b(e,0)||b(e,4)||b(e,8)}return r}function E(t,e,n,r){var o=Object(u["m"])(n,e,t),i=Object(u["h"])(e,r,n),a=e.getMetersPerUnit();void 0!==a&&(i*=a);var s=t.getMetersPerUnit();void 0!==s&&(i/=s);var l=t.getExtent();if(!l||Object(c["e"])(l,o)){var h=Object(u["h"])(t,i,o)/i;isFinite(h)&&h>0&&(i/=h)}return i}function x(t,e,n,r){var o=Object(c["u"])(n),i=E(t,e,o,r);return(!isFinite(i)||i<=0)&&Object(c["q"])(n,(function(n){return i=E(t,e,n,r),isFinite(i)&&i>0})),i}function w(t,e,n,r,o,i,a,s,u,h,p,f){var d=Object(y["a"])(Math.round(n*t),Math.round(n*e),_);if(f||Object(g["a"])(d,v["a"]),0===u.length)return d.canvas;function m(t){return Math.round(t*n)/n}d.scale(n,n),d.globalCompositeOperation="lighter";var b=Object(c["h"])();u.forEach((function(t,e,n){Object(c["n"])(b,t.extent)}));var E=Object(c["C"])(b),x=Object(c["x"])(b),w=Object(y["a"])(Math.round(n*E/r),Math.round(n*x/r));f||Object(g["a"])(w,v["a"]);var j=n/r;u.forEach((function(t,e,n){var r=t.extent[0]-b[0],o=-(t.extent[3]-b[3]),i=Object(c["C"])(t.extent),a=Object(c["x"])(t.extent);t.image.width>0&&t.image.height>0&&w.drawImage(t.image,h,h,t.image.width-2*h,t.image.height-2*h,r*j,o*j,i*j,a*j)}));var C=Object(c["A"])(a);return s.getTriangles().forEach((function(t,e,o){var a=t.source,s=t.target,c=a[0][0],u=a[0][1],h=a[1][0],p=a[1][1],v=a[2][0],g=a[2][1],y=m((s[0][0]-C[0])/i),_=m(-(s[0][1]-C[1])/i),E=m((s[1][0]-C[0])/i),x=m(-(s[1][1]-C[1])/i),j=m((s[2][0]-C[0])/i),T=m(-(s[2][1]-C[1])/i),R=c,P=u;c=0,u=0,h-=R,p-=P,v-=R,g-=P;var S=[[h,p,0,0,E-y],[v,g,0,0,j-y],[0,0,h,p,x-_],[0,0,v,g,T-_]],I=Object(l["h"])(S);if(I){if(d.save(),d.beginPath(),O()||!f){d.moveTo(E,x);for(var A=4,M=y-E,L=_-x,D=0;D<A;D++)d.lineTo(E+m((D+1)*M/A),x+m(D*L/(A-1))),D!=A-1&&d.lineTo(E+m((D+1)*M/A),x+m((D+1)*L/(A-1)));d.lineTo(j,T)}else d.moveTo(E,x),d.lineTo(y,_),d.lineTo(j,T);d.clip(),d.transform(I[0],I[2],I[1],I[3],y,_),d.translate(b[0]-R,b[3]-P),d.scale(r/n,-r/n),d.drawImage(w.canvas,0,0),d.restore()}})),p&&(d.save(),d.globalCompositeOperation="source-over",d.strokeStyle="black",d.lineWidth=1,s.getTriangles().forEach((function(t,e,n){var r=t.target,o=(r[0][0]-C[0])/i,a=-(r[0][1]-C[1])/i,s=(r[1][0]-C[0])/i,c=-(r[1][1]-C[1])/i,u=(r[2][0]-C[0])/i,l=-(r[2][1]-C[1])/i;d.beginPath(),d.moveTo(s,c),d.lineTo(o,a),d.lineTo(u,l),d.closePath(),d.stroke()})),d.restore()),d.canvas}var j=n("1e8d"),C=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),T=function(t){function e(e,n,r,i,a,u,h,p,f,v,g,y){var _=t.call(this,a,s["a"].IDLE,{interpolate:!!y})||this;_.renderEdges_=void 0!==g&&g,_.pixelRatio_=h,_.gutter_=p,_.canvas_=null,_.sourceTileGrid_=n,_.targetTileGrid_=i,_.wrappedTileCoord_=u||a,_.sourceTiles_=[],_.sourcesListenerKeys_=null,_.sourceZ_=0;var m=i.getTileCoordExtent(_.wrappedTileCoord_),b=_.targetTileGrid_.getExtent(),O=_.sourceTileGrid_.getExtent(),E=b?Object(c["y"])(m,b):m;if(0===Object(c["r"])(E))return _.state=s["a"].EMPTY,_;var w=e.getExtent();w&&(O=O?Object(c["y"])(O,w):w);var j=i.getResolution(_.wrappedTileCoord_[0]),C=x(e,r,E,j);if(!isFinite(C)||C<=0)return _.state=s["a"].EMPTY,_;var T=void 0!==v?v:o["b"];if(_.triangulation_=new d(e,r,E,O,C*T,j),0===_.triangulation_.getTriangles().length)return _.state=s["a"].EMPTY,_;_.sourceZ_=n.getZForResolution(C);var R=_.triangulation_.calculateSourceExtent();if(O&&(e.canWrapX()?(R[1]=Object(l["b"])(R[1],O[1],O[3]),R[3]=Object(l["b"])(R[3],O[1],O[3])):R=Object(c["y"])(R,O)),Object(c["r"])(R)){for(var P=n.getTileRangeForExtentAndZ(R,_.sourceZ_),S=P.minX;S<=P.maxX;S++)for(var I=P.minY;I<=P.maxY;I++){var A=f(_.sourceZ_,S,I,h);A&&_.sourceTiles_.push(A)}0===_.sourceTiles_.length&&(_.state=s["a"].EMPTY)}else _.state=s["a"].EMPTY;return _}return C(e,t),e.prototype.getImage=function(){return this.canvas_},e.prototype.reproject_=function(){var t=[];if(this.sourceTiles_.forEach(function(e,n,r){e&&e.getState()==s["a"].LOADED&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}.bind(this)),this.sourceTiles_.length=0,0===t.length)this.state=s["a"].ERROR;else{var e=this.wrappedTileCoord_[0],n=this.targetTileGrid_.getTileSize(e),r="number"===typeof n?n:n[0],o="number"===typeof n?n:n[1],i=this.targetTileGrid_.getResolution(e),a=this.sourceTileGrid_.getResolution(this.sourceZ_),c=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=w(r,o,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),i,c,this.triangulation_,t,this.gutter_,this.renderEdges_,this.interpolate),this.state=s["a"].LOADED}this.changed()},e.prototype.load=function(){if(this.state==s["a"].IDLE){this.state=s["a"].LOADING,this.changed();var t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(function(e,n,r){var o=e.getState();if(o==s["a"].IDLE||o==s["a"].LOADING){t++;var a=Object(j["a"])(e,i["a"].CHANGE,(function(n){var r=e.getState();r!=s["a"].LOADED&&r!=s["a"].ERROR&&r!=s["a"].EMPTY||(Object(j["c"])(a),t--,0===t&&(this.unlistenSources_(),this.reproject_()))}),this);this.sourcesListenerKeys_.push(a)}}.bind(this)),0===t?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach((function(t,e,n){var r=t.getState();r==s["a"].IDLE&&t.load()}))}},e.prototype.unlistenSources_=function(){this.sourcesListenerKeys_.forEach(j["c"]),this.sourcesListenerKeys_=null},e.prototype.release=function(){this.canvas_&&(Object(y["b"])(this.canvas_.getContext("2d")),_.push(this.canvas_),this.canvas_=null),t.prototype.release.call(this)},e}(a["a"]);e["a"]=T},3333:function(t,e,n){"use strict";var r=n("cef7"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.inversePixelTransform=n,i.frameState=r,i.context=o,i}return o(e,t),e}(r["a"]);e["a"]=i},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"345d":function(t,e,n){"use strict";function r(t){return t[0]>0&&t[1]>0}function o(t,e,n){return void 0===n&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function i(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i}))},"35a7":function(t,e,n){"use strict";var r=n("0ec0"),o=n("01d4"),i=n("1e8d"),a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(t){function e(){var e=t.call(this)||this;return e.on=e.onInternal,e.once=e.onceInternal,e.un=e.unInternal,e.revision_=0,e}return a(e,t),e.prototype.changed=function(){++this.revision_,this.dispatchEvent(o["a"].CHANGE)},e.prototype.getRevision=function(){return this.revision_},e.prototype.onInternal=function(t,e){if(Array.isArray(t)){for(var n=t.length,r=new Array(n),o=0;o<n;++o)r[o]=Object(i["a"])(this,t[o],e);return r}return Object(i["a"])(this,t,e)},e.prototype.onceInternal=function(t,e){var n;if(Array.isArray(t)){var r=t.length;n=new Array(r);for(var o=0;o<r;++o)n[o]=Object(i["b"])(this,t[o],e)}else n=Object(i["b"])(this,t,e);return e.ol_key=n,n},e.prototype.unInternal=function(t,e){var n=e.ol_key;if(n)c(n);else if(Array.isArray(t))for(var r=0,o=t.length;r<o;++r)this.removeEventListener(t[r],e);else this.removeEventListener(t,e)},e}(r["a"]);function c(t){if(Array.isArray(t))for(var e=0,n=t.length;e<n;++e)Object(i["c"])(t[e]);else Object(i["c"])(t)}s.prototype.on,s.prototype.once,s.prototype.un,e["a"]=s},"38f3":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return a}));var r="function"===typeof Object.assign?Object.assign:function(t,e){if(void 0===t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1,o=arguments.length;r<o;++r){var i=arguments[r];if(void 0!==i&&null!==i)for(var a in i)i.hasOwnProperty(a)&&(n[a]=i[a])}return n};function o(t){for(var e in t)delete t[e]}var i="function"===typeof Object.values?Object.values:function(t){var e=[];for(var n in t)e.push(t[n]);return e};function a(t){var e;for(e in t)return!1;return!e}},"3a9b":function(t,e,n){var r=n("e330");t.exports=r({}.isPrototypeOf)},"3bbe":function(t,e,n){var r=n("1626"),o=String,i=TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw i("Can't set "+o(t)+" as a prototype")}},"40d5":function(t,e,n){var r=n("d039");t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"44ad":function(t,e,n){var r=n("e330"),o=n("d039"),i=n("c6b6"),a=Object,s=r("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?s(t,""):a(t)}:a},"480c":function(t,e,n){"use strict";var r=n("1af9"),o={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"},i=n("38f3"),a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(t){function e(e){var n=this,r=e||{},o=Object(i["a"])({},r);return delete o.preload,delete o.useInterimTilesOnError,n=t.call(this,o)||this,n.on,n.once,n.un,n.setPreload(void 0!==r.preload?r.preload:0),n.setUseInterimTilesOnError(void 0===r.useInterimTilesOnError||r.useInterimTilesOnError),n}return a(e,t),e.prototype.getPreload=function(){return this.get(o.PRELOAD)},e.prototype.setPreload=function(t){this.set(o.PRELOAD,t)},e.prototype.getUseInterimTilesOnError=function(){return this.get(o.USE_INTERIM_TILES_ON_ERROR)},e.prototype.setUseInterimTilesOnError=function(t){this.set(o.USE_INTERIM_TILES_ON_ERROR,t)},e.prototype.getData=function(e){return t.prototype.getData.call(this,e)},e}(r["a"]),c=s,u=n("01d4"),l=n("869f"),h=n("35a7"),p=n("1300"),f=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(t){function e(e){var n=t.call(this)||this;return n.ready=!0,n.boundHandleImageChange_=n.handleImageChange_.bind(n),n.layer_=e,n.declutterExecutorGroup=null,n}return f(e,t),e.prototype.getFeatures=function(t){return Object(p["b"])()},e.prototype.getData=function(t){return null},e.prototype.prepareFrame=function(t){return Object(p["b"])()},e.prototype.renderFrame=function(t,e){return Object(p["b"])()},e.prototype.loadedTileCallback=function(t,e,n){t[e]||(t[e]={}),t[e][n.tileCoord.toString()]=n},e.prototype.createLoadedTileFinder=function(t,e,n){return function(r,o){var i=this.loadedTileCallback.bind(this,n,r);return t.forEachLoadedTile(e,r,o,i)}.bind(this)},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,r,o){},e.prototype.getDataAtPixel=function(t,e,n){return null},e.prototype.getLayer=function(){return this.layer_},e.prototype.handleFontsChanged=function(){},e.prototype.handleImageChange_=function(t){var e=t.target;e.getState()===l["a"].LOADED&&this.renderIfReadyAndVisible()},e.prototype.loadImage=function(t){var e=t.getState();return e!=l["a"].LOADED&&e!=l["a"].ERROR&&t.addEventListener(u["a"].CHANGE,this.boundHandleImageChange_),e==l["a"].IDLE&&(t.load(),e=t.getState()),e==l["a"].LOADED},e.prototype.renderIfReadyAndVisible=function(){var t=this.getLayer();t&&t.getVisible()&&"ready"===t.getSourceState()&&t.changed()},e.prototype.disposeInternal=function(){delete this.layer_,t.prototype.disposeInternal.call(this)},e}(h["a"]),v=d,g=n("3333"),y=n("070d"),_=n("a896"),m=n("5c38"),b=n("0af5"),O=n("0999"),E=n("9f5e"),x=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=null;function j(){var t=document.createElement("canvas");t.width=1,t.height=1,w=t.getContext("2d")}var C=function(t){function e(e){var n=t.call(this,e)||this;return n.container=null,n.renderedResolution,n.tempTransform=Object(_["c"])(),n.pixelTransform=Object(_["c"])(),n.inversePixelTransform=Object(_["c"])(),n.context=null,n.containerReused=!1,n.pixelContext_=null,n.frameState=null,n}return x(e,t),e.prototype.getImageData=function(t,e,n){var r;w||j(),w.clearRect(0,0,1,1);try{w.drawImage(t,e,n,1,1,0,0,1,1),r=w.getImageData(0,0,1,1).data}catch(o){return w=null,null}return r},e.prototype.getBackground=function(t){var e=this.getLayer(),n=e.getBackground();return"function"===typeof n&&(n=n(t.viewState.resolution)),n||void 0},e.prototype.useContainer=function(t,e,n){var r,o,i=this.getLayer().getClassName();if(t&&t.className===i&&(!n||t&&t.style.backgroundColor&&Object(E["a"])(Object(m["a"])(t.style.backgroundColor),Object(m["a"])(n)))){var a=t.firstElementChild;a instanceof HTMLCanvasElement&&(o=a.getContext("2d"))}if(o&&o.canvas.style.transform===e?(this.container=t,this.context=o,this.containerReused=!0):this.containerReused&&(this.container=null,this.context=null,this.containerReused=!1),!this.container){r=document.createElement("div"),r.className=i;var s=r.style;s.position="absolute",s.width="100%",s.height="100%",o=Object(O["a"])();a=o.canvas;r.appendChild(a),s=a.style,s.position="absolute",s.left="0",s.transformOrigin="top left",this.container=r,this.context=o}this.containerReused||!n||this.container.style.backgroundColor||(this.container.style.backgroundColor=n)},e.prototype.clipUnrotated=function(t,e,n){var r=Object(b["A"])(n),o=Object(b["B"])(n),i=Object(b["t"])(n),a=Object(b["s"])(n);Object(_["a"])(e.coordinateToPixelTransform,r),Object(_["a"])(e.coordinateToPixelTransform,o),Object(_["a"])(e.coordinateToPixelTransform,i),Object(_["a"])(e.coordinateToPixelTransform,a);var s=this.inversePixelTransform;Object(_["a"])(s,r),Object(_["a"])(s,o),Object(_["a"])(s,i),Object(_["a"])(s,a),t.save(),t.beginPath(),t.moveTo(Math.round(r[0]),Math.round(r[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.lineTo(Math.round(i[0]),Math.round(i[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.clip()},e.prototype.dispatchRenderEvent_=function(t,e,n){var r=this.getLayer();if(r.hasListener(t)){var o=new g["a"](t,this.inversePixelTransform,n,e);r.dispatchEvent(o)}},e.prototype.preRender=function(t,e){this.frameState=e,this.dispatchRenderEvent_(y["a"].PRERENDER,t,e)},e.prototype.postRender=function(t,e){this.dispatchRenderEvent_(y["a"].POSTRENDER,t,e)},e.prototype.getRenderTransform=function(t,e,n,r,o,i,a){var s=o/2,c=i/2,u=r/e,l=-u,h=-t[0]+a,p=-t[1];return Object(_["b"])(this.tempTransform,s,c,u,l,-n,h,p)},e.prototype.getDataAtPixel=function(t,e,n){var r=Object(_["a"])(this.inversePixelTransform,t.slice()),o=this.context,i=this.getLayer(),a=i.getExtent();if(a){var s=Object(_["a"])(e.pixelToCoordinateTransform,t.slice());if(!Object(b["e"])(a,s))return null}var c,u=Math.round(r[0]),l=Math.round(r[1]),h=this.pixelContext_;if(!h){var p=document.createElement("canvas");p.width=1,p.height=1,h=p.getContext("2d"),this.pixelContext_=h}h.clearRect(0,0,1,1);try{h.drawImage(o.canvas,u,l,1,1,0,0,1,1),c=h.getImageData(0,0,1,1).data}catch(f){return"SecurityError"===f.name?(this.pixelContext_=null,new Uint8Array):c}return 0===c[3]?null:c},e.prototype.disposeInternal=function(){delete this.frameState,t.prototype.disposeInternal.call(this)},e}(v),T=C,R=n("7f98"),P=n("2efc"),S=n("dc07"),I=n("acc1"),A=n("0b0e"),M=n("256f"),L=n("345d"),D=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),N=function(t){function e(e){var n=t.call(this,e)||this;return n.extentChanged=!0,n.renderedExtent_=null,n.renderedPixelRatio,n.renderedProjection=null,n.renderedRevision,n.renderedTiles=[],n.newTiles_=!1,n.tmpExtent=Object(b["h"])(),n.tmpTileRange_=new S["b"](0,0,0,0),n}return D(e,t),e.prototype.isDrawableTile=function(t){var e=this.getLayer(),n=t.getState(),r=e.getUseInterimTilesOnError();return n==I["a"].LOADED||n==I["a"].EMPTY||n==I["a"].ERROR&&!r},e.prototype.getTile=function(t,e,n,r){var o=r.pixelRatio,i=r.viewState.projection,a=this.getLayer(),s=a.getSource(),c=s.getTile(t,e,n,o,i);return c.getState()==I["a"].ERROR&&(a.getUseInterimTilesOnError()?a.getPreload()>0&&(this.newTiles_=!0):c.setState(I["a"].LOADED)),this.isDrawableTile(c)||(c=c.getInterimTile()),c},e.prototype.getData=function(t){var e=this.frameState;if(!e)return null;var n=this.getLayer(),r=Object(_["a"])(e.pixelToCoordinateTransform,t.slice()),o=n.getExtent();if(o&&!Object(b["e"])(o,r))return null;for(var i=e.pixelRatio,a=e.viewState.projection,s=e.viewState,c=n.getRenderSource(),u=c.getTileGridForProjection(s.projection),l=c.getTilePixelRatio(e.pixelRatio),h=u.getZForResolution(s.resolution);h>=u.getMinZoom();--h){var p=u.getTileCoordForCoordAndZ(r,h),f=c.getTile(h,p[1],p[2],i,a);if(!(f instanceof R["a"]||f instanceof P["a"]))return null;if(f.getState()===I["a"].LOADED){var d=u.getOrigin(h),v=Object(L["c"])(u.getTileSize(h)),g=u.getResolution(h),y=Math.floor(l*((r[0]-d[0])/g-p[1]*v[0])),m=Math.floor(l*((d[1]-r[1])/g-p[2]*v[1])),O=Math.round(l*c.getGutterForProjection(s.projection));return this.getImageData(f.getImage(),y+O,m+O)}}return null},e.prototype.loadedTileCallback=function(e,n,r){return!!this.isDrawableTile(r)&&t.prototype.loadedTileCallback.call(this,e,n,r)},e.prototype.prepareFrame=function(t){return!!this.getLayer().getSource()},e.prototype.renderFrame=function(t,e){var n=t.layerStatesArray[t.layerIndex],r=t.viewState,o=r.projection,a=r.resolution,s=r.center,c=r.rotation,u=t.pixelRatio,l=this.getLayer(),h=l.getSource(),f=h.getRevision(),d=h.getTileGridForProjection(o),v=d.getZForResolution(a,h.zDirection),g=d.getResolution(v),y=t.extent,m=t.viewState.resolution,O=h.getTilePixelRatio(u),x=Math.round(Object(b["C"])(y)/m*u),w=Math.round(Object(b["x"])(y)/m*u),j=n.extent&&Object(M["f"])(n.extent,o);j&&(y=Object(b["y"])(y,Object(M["f"])(n.extent,o)));var C=g*x/2/O,T=g*w/2/O,R=[s[0]-C,s[1]-T,s[0]+C,s[1]+T],P=d.getTileRangeForExtentAndZ(y,v),S={};S[v]={};var L=this.createLoadedTileFinder(h,o,S),D=this.tmpExtent,N=this.tmpTileRange_;this.newTiles_=!1;for(var F=c?Object(b["z"])(r.center,m,c,t.size):void 0,z=P.minX;z<=P.maxX;++z)for(var G=P.minY;G<=P.maxY;++G)if(!c||d.tileCoordIntersectsViewport([v,z,G],F)){var k=this.getTile(v,z,G,t);if(this.isDrawableTile(k)){var Z=Object(p["c"])(this);if(k.getState()==I["a"].LOADED){S[v][k.tileCoord.toString()]=k;var K=k.inTransition(Z);K&&1!==n.opacity&&(k.endTransition(Z),K=!1),this.newTiles_||!K&&-1!==this.renderedTiles.indexOf(k)||(this.newTiles_=!0)}if(1===k.getAlpha(Z,t.time))continue}var U=d.getTileCoordChildTileRange(k.tileCoord,N,D),X=!1;U&&(X=L(v+1,U)),X||d.forEachTileCoordParentTileRange(k.tileCoord,L,N,D)}var V=g/a*u/O;Object(_["b"])(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/u,1/u,c,-x/2,-w/2);var Y=Object(_["e"])(this.pixelTransform);this.useContainer(e,Y,this.getBackground(t));var W=this.context,H=W.canvas;Object(_["d"])(this.inversePixelTransform,this.pixelTransform),Object(_["b"])(this.tempTransform,x/2,w/2,V,V,0,-x/2,-w/2),H.width!=x||H.height!=w?(H.width=x,H.height=w):this.containerReused||W.clearRect(0,0,x,w),j&&this.clipUnrotated(W,t,j),h.getInterpolate()||Object(i["a"])(W,A["a"]),this.preRender(W,t),this.renderedTiles.length=0;var B,q,$,Q=Object.keys(S).map(Number);Q.sort(E["e"]),1!==n.opacity||this.containerReused&&!h.getOpaque(t.viewState.projection)?(B=[],q=[]):Q=Q.reverse();for(var J=Q.length-1;J>=0;--J){var tt=Q[J],et=h.getTilePixelSize(tt,u,o),nt=d.getResolution(tt),rt=nt/g,ot=et[0]*rt*V,it=et[1]*rt*V,at=d.getTileCoordForCoordAndZ(Object(b["A"])(R),tt),st=d.getTileCoordExtent(at),ct=Object(_["a"])(this.tempTransform,[O*(st[0]-R[0])/g,O*(R[3]-st[3])/g]),ut=O*h.getGutterForProjection(o),lt=S[tt];for(var ht in lt){k=lt[ht];var pt=k.tileCoord,ft=at[1]-pt[1],dt=Math.round(ct[0]-(ft-1)*ot),vt=at[2]-pt[2],gt=Math.round(ct[1]-(vt-1)*it),yt=(z=Math.round(ct[0]-ft*ot),G=Math.round(ct[1]-vt*it),dt-z),_t=gt-G,mt=v===tt,bt=(K=mt&&1!==k.getAlpha(Object(p["c"])(this),t.time),!1);if(!K)if(B){$=[z,G,z+yt,G,z+yt,G+_t,z,G+_t];for(var Ot=0,Et=B.length;Ot<Et;++Ot)if(v!==tt&&tt<q[Ot]){var xt=B[Ot];Object(b["D"])([z,G,z+yt,G+_t],[xt[0],xt[3],xt[4],xt[7]])&&(bt||(W.save(),bt=!0),W.beginPath(),W.moveTo($[0],$[1]),W.lineTo($[2],$[3]),W.lineTo($[4],$[5]),W.lineTo($[6],$[7]),W.moveTo(xt[6],xt[7]),W.lineTo(xt[4],xt[5]),W.lineTo(xt[2],xt[3]),W.lineTo(xt[0],xt[1]),W.clip())}B.push($),q.push(tt)}else W.clearRect(z,G,yt,_t);this.drawTileImage(k,t,z,G,yt,_t,ut,mt),B&&!K?(bt&&W.restore(),this.renderedTiles.unshift(k)):this.renderedTiles.push(k),this.updateUsedTiles(t.usedTiles,h,k)}}return this.renderedRevision=f,this.renderedResolution=g,this.extentChanged=!this.renderedExtent_||!Object(b["m"])(this.renderedExtent_,R),this.renderedExtent_=R,this.renderedPixelRatio=u,this.renderedProjection=o,this.manageTilePyramid(t,h,d,u,o,y,v,l.getPreload()),this.scheduleExpireCache(t,h),this.postRender(W,t),n.extent&&W.restore(),Object(i["a"])(W,A["b"]),Y!==H.style.transform&&(H.style.transform=Y),this.container},e.prototype.drawTileImage=function(t,e,n,r,o,i,a,s){var c=this.getTileImage(t);if(c){var u=Object(p["c"])(this),l=e.layerStatesArray[e.layerIndex],h=l.opacity*(s?t.getAlpha(u,e.time):1),f=h!==this.context.globalAlpha;f&&(this.context.save(),this.context.globalAlpha=h),this.context.drawImage(c,a,a,c.width-2*a,c.height-2*a,n,r,o,i),f&&this.context.restore(),h!==l.opacity?e.animate=!0:s&&t.endTransition(u)}},e.prototype.getImage=function(){var t=this.context;return t?t.canvas:null},e.prototype.getTileImage=function(t){return t.getImage()},e.prototype.scheduleExpireCache=function(t,e){if(e.canExpireCache()){var n=function(t,e,n){var r=Object(p["c"])(t);r in n.usedTiles&&t.expireCache(n.viewState.projection,n.usedTiles[r])}.bind(null,e);t.postRenderFunctions.push(n)}},e.prototype.updateUsedTiles=function(t,e,n){var r=Object(p["c"])(e);r in t||(t[r]={}),t[r][n.getKey()]=!0},e.prototype.manageTilePyramid=function(t,e,n,r,o,i,a,s,c){var u=Object(p["c"])(e);u in t.wantedTiles||(t.wantedTiles[u]={});var l,h,f,d,v,g,y=t.wantedTiles[u],_=t.tileQueue,m=n.getMinZoom(),O=t.viewState.rotation,E=O?Object(b["z"])(t.viewState.center,t.viewState.resolution,O,t.size):void 0,x=0;for(g=m;g<=a;++g)for(h=n.getTileRangeForExtentAndZ(i,g,h),f=n.getResolution(g),d=h.minX;d<=h.maxX;++d)for(v=h.minY;v<=h.maxY;++v)O&&!n.tileCoordIntersectsViewport([g,d,v],E)||(a-g<=s?(++x,l=e.getTile(g,d,v,r,o),l.getState()==I["a"].IDLE&&(y[l.getKey()]=!0,_.isKeyQueued(l.getKey())||_.enqueue([l,u,n.getTileCoordCenter(l.tileCoord),f])),void 0!==c&&c(l)):e.useTile(g,d,v,o));e.updateCacheSize(x,o)},e}(T),F=N,z=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),G=function(t){function e(e){return t.call(this,e)||this}return z(e,t),e.prototype.createRenderer=function(){return new F(this)},e}(c);e["a"]=G},"485a":function(t,e,n){var r=n("c65b"),o=n("1626"),i=n("861d"),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&o(n=t.toString)&&!i(s=r(n,t)))return s;if(o(n=t.valueOf)&&!i(s=r(n,t)))return s;if("string"!==e&&o(n=t.toString)&&!i(s=r(n,t)))return s;throw a("Can't convert object to primitive value")}},4930:function(t,e,n){var r=n("2d00"),o=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"496f":function(t,e,n){"use strict";e["a"]={ANIMATING:0,INTERACTING:1}},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=i[0],s=i[1],c=i[2],u=i[3],l={id:t+":"+o,css:s,media:c,sourceMap:u};r[a]?r[a].parts.push(l):n.push(r[a]={id:a,parts:[l]})}return n}n.r(e),n.d(e,"default",(function(){return d}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,l=function(){},h=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function d(t,e,n,o){u=n,h=o||{};var a=r(t,e);return v(a),function(e){for(var n=[],o=0;o<a.length;o++){var s=a[o],c=i[s.id];c.refs--,n.push(c)}e?(a=r(t,e),v(a)):a=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete i[c.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(y(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(y(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function g(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function y(t){var e,n,r=document.querySelector("style["+p+'~="'+t.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(f){var o=c++;r=s||(s=g()),e=m.bind(null,r,o,!1),n=m.bind(null,r,o,!0)}else r=g(),e=b.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var _=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function m(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=_(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function b(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),h.ssrId&&t.setAttribute(p,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"4d64":function(t,e,n){var r=n("fc6a"),o=n("23cb"),i=n("07fa"),a=function(t){return function(e,n,a){var s,c=r(e),u=i(c),l=o(a,u);if(t&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"50c4":function(t,e,n){var r=n("5926"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},5564:function(t,e,n){"use strict";var r=n("e269"),o=n("df4c"),i=n("1300"),a=n("92fa"),s=n("38f3"),c=n("7fc9"),u=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(t){function e(e){var n=t.call(this)||this;n.on,n.once,n.un,n.background_=e.background;var r=Object(s["a"])({},e);return"object"===typeof e.properties&&(delete r.properties,Object(s["a"])(r,e.properties)),r[o["a"].OPACITY]=void 0!==e.opacity?e.opacity:1,Object(a["a"])("number"===typeof r[o["a"].OPACITY],64),r[o["a"].VISIBLE]=void 0===e.visible||e.visible,r[o["a"].Z_INDEX]=e.zIndex,r[o["a"].MAX_RESOLUTION]=void 0!==e.maxResolution?e.maxResolution:1/0,r[o["a"].MIN_RESOLUTION]=void 0!==e.minResolution?e.minResolution:0,r[o["a"].MIN_ZOOM]=void 0!==e.minZoom?e.minZoom:-1/0,r[o["a"].MAX_ZOOM]=void 0!==e.maxZoom?e.maxZoom:1/0,n.className_=void 0!==r.className?r.className:"ol-layer",delete r.className,n.setProperties(r),n.state_=null,n}return u(e,t),e.prototype.getBackground=function(){return this.background_},e.prototype.getClassName=function(){return this.className_},e.prototype.getLayerState=function(t){var e=this.state_||{layer:this,managed:void 0===t||t},n=this.getZIndex();return e.opacity=Object(c["b"])(Math.round(100*this.getOpacity())/100,0,1),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=void 0!==n||e.managed?n:1/0,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e},e.prototype.getLayersArray=function(t){return Object(i["b"])()},e.prototype.getLayerStatesArray=function(t){return Object(i["b"])()},e.prototype.getExtent=function(){return this.get(o["a"].EXTENT)},e.prototype.getMaxResolution=function(){return this.get(o["a"].MAX_RESOLUTION)},e.prototype.getMinResolution=function(){return this.get(o["a"].MIN_RESOLUTION)},e.prototype.getMinZoom=function(){return this.get(o["a"].MIN_ZOOM)},e.prototype.getMaxZoom=function(){return this.get(o["a"].MAX_ZOOM)},e.prototype.getOpacity=function(){return this.get(o["a"].OPACITY)},e.prototype.getSourceState=function(){return Object(i["b"])()},e.prototype.getVisible=function(){return this.get(o["a"].VISIBLE)},e.prototype.getZIndex=function(){return this.get(o["a"].Z_INDEX)},e.prototype.setBackground=function(t){this.background_=t,this.changed()},e.prototype.setExtent=function(t){this.set(o["a"].EXTENT,t)},e.prototype.setMaxResolution=function(t){this.set(o["a"].MAX_RESOLUTION,t)},e.prototype.setMinResolution=function(t){this.set(o["a"].MIN_RESOLUTION,t)},e.prototype.setMaxZoom=function(t){this.set(o["a"].MAX_ZOOM,t)},e.prototype.setMinZoom=function(t){this.set(o["a"].MIN_ZOOM,t)},e.prototype.setOpacity=function(t){Object(a["a"])("number"===typeof t,64),this.set(o["a"].OPACITY,t)},e.prototype.setVisible=function(t){this.set(o["a"].VISIBLE,t)},e.prototype.setZIndex=function(t){this.set(o["a"].Z_INDEX,t)},e.prototype.disposeInternal=function(){this.state_&&(this.state_.layer=null,this.state_=null),t.prototype.disposeInternal.call(this)},e}(r["a"]);e["a"]=l},5692:function(t,e,n){var r=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.24.0",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(t,e,n){var r=n("d066"),o=n("e330"),i=n("241c"),a=n("7418"),s=n("825a"),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(s(t)),n=a.f;return n?c(e,n(t)):e}},"577e":function(t,e,n){var r=n("f5df"),o=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},"57cb":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return s}));var r=n("9f5e");function o(){return!0}function i(){return!1}function a(){}function s(t){var e,n,o,i=!1;return function(){var a=Array.prototype.slice.call(arguments);return i&&this===o&&Object(r["a"])(a,n)||(i=!0,o=this,n=a,e=t.apply(this,arguments)),e}}},5926:function(t,e,n){var r=n("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},"59ed":function(t,e,n){var r=n("1626"),o=n("0d51"),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a function")}},"5bc0":function(t,e,n){var r=n("e08b");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("38a60b27",r,!0,{sourceMap:!1,shadowMode:!1})},"5bc3":function(t,e,n){"use strict";n.d(e,"b",(function(){return rt}));var r={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"},o=n("e269"),i=n("fced"),a=n("1300"),s=n("a896"),c=n("0af5"),u=n("256f"),l=n("57cb");function h(t,e,n,r,o,i){for(var a=i||[],s=0,c=e;c<n;c+=r){var u=t[c],l=t[c+1];a[s++]=o[0]*u+o[2]*l+o[4],a[s++]=o[1]*u+o[3]*l+o[5]}return i&&a.length!=s&&(a.length=s),a}function p(t,e,n,r,o,i,a){for(var s=a||[],c=Math.cos(o),u=Math.sin(o),l=i[0],h=i[1],p=0,f=e;f<n;f+=r){var d=t[f]-l,v=t[f+1]-h;s[p++]=l+d*c-v*u,s[p++]=h+d*u+v*c;for(var g=f+2;g<f+r;++g)s[p++]=t[g]}return a&&s.length!=p&&(s.length=p),s}function f(t,e,n,r,o,i,a,s){for(var c=s||[],u=a[0],l=a[1],h=0,p=e;p<n;p+=r){var f=t[p]-u,d=t[p+1]-l;c[h++]=u+o*f,c[h++]=l+i*d;for(var v=p+2;v<p+r;++v)c[h++]=t[v]}return s&&c.length!=h&&(c.length=h),c}function d(t,e,n,r,o,i,a){for(var s=a||[],c=0,u=e;u<n;u+=r){s[c++]=t[u]+o,s[c++]=t[u+1]+i;for(var l=u+2;l<u+r;++l)s[c++]=t[l]}return a&&s.length!=c&&(s.length=c),s}var v=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=Object(s["c"])(),y=function(t){function e(){var e=t.call(this)||this;return e.extent_=Object(c["h"])(),e.extentRevision_=-1,e.simplifiedGeometryMaxMinSquaredTolerance=0,e.simplifiedGeometryRevision=0,e.simplifyTransformedInternal=Object(l["d"])((function(t,e,n){if(!n)return this.getSimplifiedGeometry(e);var r=this.clone();return r.applyTransform(n),r.getSimplifiedGeometry(e)})),e}return v(e,t),e.prototype.simplifyTransformed=function(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)},e.prototype.clone=function(){return Object(a["b"])()},e.prototype.closestPointXY=function(t,e,n,r){return Object(a["b"])()},e.prototype.containsXY=function(t,e){var n=this.getClosestPoint([t,e]);return n[0]===t&&n[1]===e},e.prototype.getClosestPoint=function(t,e){var n=e||[NaN,NaN];return this.closestPointXY(t[0],t[1],n,1/0),n},e.prototype.intersectsCoordinate=function(t){return this.containsXY(t[0],t[1])},e.prototype.computeExtent=function(t){return Object(a["b"])()},e.prototype.getExtent=function(t){if(this.extentRevision_!=this.getRevision()){var e=this.computeExtent(this.extent_);(isNaN(e[0])||isNaN(e[1]))&&Object(c["j"])(e),this.extentRevision_=this.getRevision()}return Object(c["G"])(this.extent_,t)},e.prototype.rotate=function(t,e){Object(a["b"])()},e.prototype.scale=function(t,e,n){Object(a["b"])()},e.prototype.simplify=function(t){return this.getSimplifiedGeometry(t*t)},e.prototype.getSimplifiedGeometry=function(t){return Object(a["b"])()},e.prototype.getType=function(){return Object(a["b"])()},e.prototype.applyTransform=function(t){Object(a["b"])()},e.prototype.intersectsExtent=function(t){return Object(a["b"])()},e.prototype.translate=function(t,e){Object(a["b"])()},e.prototype.transform=function(t,e){var n=Object(u["g"])(t),r=n.getUnits()==i["b"].TILE_PIXELS?function(t,r,o){var i=n.getExtent(),a=n.getWorldExtent(),l=Object(c["x"])(a)/Object(c["x"])(i);return Object(s["b"])(g,a[0],a[3],l,-l,0,0,0),h(t,0,t.length,o,g,r),Object(u["i"])(n,e)(t,r,o)}:Object(u["i"])(n,e);return this.applyTransform(r),this},e}(o["a"]),_=y,m=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),b=function(t){function e(){var e=t.call(this)||this;return e.layout=r.XY,e.stride=2,e.flatCoordinates=null,e}return m(e,t),e.prototype.computeExtent=function(t){return Object(c["l"])(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinates=function(){return Object(a["b"])()},e.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},e.prototype.getFlatCoordinates=function(){return this.flatCoordinates},e.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},e.prototype.getLayout=function(){return this.layout},e.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var e=this.getSimplifiedGeometryInternal(t),n=e.getFlatCoordinates();return n.length<this.flatCoordinates.length?e:(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)},e.prototype.getSimplifiedGeometryInternal=function(t){return this},e.prototype.getStride=function(){return this.stride},e.prototype.setFlatCoordinates=function(t,e){this.stride=E(t),this.layout=t,this.flatCoordinates=e},e.prototype.setCoordinates=function(t,e){Object(a["b"])()},e.prototype.setLayout=function(t,e,n){var o;if(t)o=E(t);else{for(var i=0;i<n;++i){if(0===e.length)return this.layout=r.XY,void(this.stride=2);e=e[0]}o=e.length,t=O(o)}this.layout=t,this.stride=o},e.prototype.applyTransform=function(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())},e.prototype.rotate=function(t,e){var n=this.getFlatCoordinates();if(n){var r=this.getStride();p(n,0,n.length,r,t,e,n),this.changed()}},e.prototype.scale=function(t,e,n){var r=e;void 0===r&&(r=t);var o=n;o||(o=Object(c["u"])(this.getExtent()));var i=this.getFlatCoordinates();if(i){var a=this.getStride();f(i,0,i.length,a,t,r,o,i),this.changed()}},e.prototype.translate=function(t,e){var n=this.getFlatCoordinates();if(n){var r=this.getStride();d(n,0,n.length,r,t,e,n),this.changed()}},e}(_);function O(t){var e;return 2==t?e=r.XY:3==t?e=r.XYZ:4==t&&(e=r.XYZM),e}function E(t){var e;return t==r.XY?e=2:t==r.XYZ||t==r.XYM?e=3:t==r.XYZM&&(e=4),e}var x=b,w=n("7fc9");function j(t,e,n,r,o,i,a){var s,c=t[e],u=t[e+1],l=t[n]-c,h=t[n+1]-u;if(0===l&&0===h)s=e;else{var p=((o-c)*l+(i-u)*h)/(l*l+h*h);if(p>1)s=n;else{if(p>0){for(var f=0;f<r;++f)a[f]=Object(w["e"])(t[e+f],t[n+f],p);return void(a.length=r)}s=e}}for(f=0;f<r;++f)a[f]=t[s+f];a.length=r}function C(t,e,n,r,o){var i=t[e],a=t[e+1];for(e+=r;e<n;e+=r){var s=t[e],c=t[e+1],u=Object(w["i"])(i,a,s,c);u>o&&(o=u),i=s,a=c}return o}function T(t,e,n,r,o){for(var i=0,a=n.length;i<a;++i){var s=n[i];o=C(t,e,s,r,o),e=s}return o}function R(t,e,n,r,o,i,a,s,c,u,l){if(e==n)return u;var h,p;if(0===o){if(p=Object(w["i"])(a,s,t[e],t[e+1]),p<u){for(h=0;h<r;++h)c[h]=t[e+h];return c.length=r,p}return u}var f=l||[NaN,NaN],d=e+r;while(d<n)if(j(t,d-r,d,r,a,s,f),p=Object(w["i"])(a,s,f[0],f[1]),p<u){for(u=p,h=0;h<r;++h)c[h]=f[h];c.length=r,d+=r}else d+=r*Math.max((Math.sqrt(p)-Math.sqrt(u))/o|0,1);if(i&&(j(t,n-r,e,r,a,s,f),p=Object(w["i"])(a,s,f[0],f[1]),p<u)){for(u=p,h=0;h<r;++h)c[h]=f[h];c.length=r}return u}function P(t,e,n,r,o,i,a,s,c,u,l){for(var h=l||[NaN,NaN],p=0,f=n.length;p<f;++p){var d=n[p];u=R(t,e,d,r,o,i,a,s,c,u,h),e=d}return u}function S(t,e,n,r){for(var o=0,i=n.length;o<i;++o)t[e++]=n[o];return e}function I(t,e,n,r){for(var o=0,i=n.length;o<i;++o)for(var a=n[o],s=0;s<r;++s)t[e++]=a[s];return e}function A(t,e,n,r,o){for(var i=o||[],a=0,s=0,c=n.length;s<c;++s){var u=I(t,e,n[s],r);i[a++]=u,e=u}return i.length=a,i}function M(t,e,n,r,o,i,a){var s=(n-e)/r;if(s<3){for(;e<n;e+=r)i[a++]=t[e],i[a++]=t[e+1];return a}var c=new Array(s);c[0]=1,c[s-1]=1;var u=[e,n-r],l=0;while(u.length>0){for(var h=u.pop(),p=u.pop(),f=0,d=t[p],v=t[p+1],g=t[h],y=t[h+1],_=p+r;_<h;_+=r){var m=t[_],b=t[_+1],O=Object(w["j"])(m,b,d,v,g,y);O>f&&(l=_,f=O)}f>o&&(c[(l-e)/r]=1,p+r<l&&u.push(p,l),l+r<h&&u.push(l,h))}for(_=0;_<s;++_)c[_]&&(i[a++]=t[e+_*r],i[a++]=t[e+_*r+1]);return a}function L(t,e){return e*Math.round(t/e)}function D(t,e,n,r,o,i,a){if(e==n)return a;var s,c,u=L(t[e],o),l=L(t[e+1],o);e+=r,i[a++]=u,i[a++]=l;do{if(s=L(t[e],o),c=L(t[e+1],o),e+=r,e==n)return i[a++]=s,i[a++]=c,a}while(s==u&&c==l);while(e<n){var h=L(t[e],o),p=L(t[e+1],o);if(e+=r,h!=s||p!=c){var f=s-u,d=c-l,v=h-u,g=p-l;f*g==d*v&&(f<0&&v<f||f==v||f>0&&v>f)&&(d<0&&g<d||d==g||d>0&&g>d)?(s=h,c=p):(i[a++]=s,i[a++]=c,u=s,l=c,s=h,c=p)}}return i[a++]=s,i[a++]=c,a}function N(t,e,n,r,o,i,a,s){for(var c=0,u=n.length;c<u;++c){var l=n[c];a=D(t,e,l,r,o,i,a),s.push(a),e=l}return a}function F(t,e,n,r,o){for(var i=void 0!==o?o:[],a=0,s=e;s<n;s+=r)i[a++]=t.slice(s,s+r);return i.length=a,i}function z(t,e,n,r,o){for(var i=void 0!==o?o:[],a=0,s=0,c=n.length;s<c;++s){var u=n[s];i[a++]=F(t,e,u,r,i[a]),e=u}return i.length=a,i}function G(t,e,n,r){for(var o=0,i=t[n-r],a=t[n-r+1];e<n;e+=r){var s=t[e],c=t[e+1];o+=a*s-i*c,i=s,a=c}return o/2}function k(t,e,n,r){for(var o=0,i=0,a=n.length;i<a;++i){var s=n[i];o+=G(t,e,s,r),e=s}return o}var Z=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),K=function(t){function e(e,n){var r=t.call(this)||this;return r.maxDelta_=-1,r.maxDeltaRevision_=-1,void 0===n||Array.isArray(e[0])?r.setCoordinates(e,n):r.setFlatCoordinates(n,e),r}return Z(e,t),e.prototype.clone=function(){return new e(this.flatCoordinates.slice(),this.layout)},e.prototype.closestPointXY=function(t,e,n,r){return r<Object(c["d"])(this.getExtent(),t,e)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(C(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),R(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,n,r))},e.prototype.getArea=function(){return G(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getCoordinates=function(){return F(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[];return n.length=M(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,n,0),new e(n,r.XY)},e.prototype.getType=function(){return"LinearRing"},e.prototype.intersectsExtent=function(t){return!1},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=I(this.flatCoordinates,0,t,this.stride),this.changed()},e}(x),U=K,X=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),V=function(t){function e(e,n){var r=t.call(this)||this;return r.setCoordinates(e,n),r}return X(e,t),e.prototype.clone=function(){var t=new e(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,r){var o=this.flatCoordinates,i=Object(w["i"])(t,e,o[0],o[1]);if(i<r){for(var a=this.stride,s=0;s<a;++s)n[s]=o[s];return n.length=a,i}return r},e.prototype.getCoordinates=function(){return this.flatCoordinates?this.flatCoordinates.slice():[]},e.prototype.computeExtent=function(t){return Object(c["k"])(this.flatCoordinates,t)},e.prototype.getType=function(){return"Point"},e.prototype.intersectsExtent=function(t){return Object(c["g"])(t,this.flatCoordinates[0],this.flatCoordinates[1])},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=S(this.flatCoordinates,0,t,this.stride),this.changed()},e}(x),Y=V,W=n("9f5e"),H=n("25f1");function B(t,e,n,r,o,i,a){for(var s,c,u,l,h,p,f,d=o[i+1],v=[],g=0,y=n.length;g<y;++g){var _=n[g];for(l=t[_-r],p=t[_-r+1],s=e;s<_;s+=r)h=t[s],f=t[s+1],(d<=p&&f<=d||p<=d&&d<=f)&&(u=(d-p)/(f-p)*(h-l)+l,v.push(u)),l=h,p=f}var m=NaN,b=-1/0;for(v.sort(W["e"]),l=v[0],s=1,c=v.length;s<c;++s){h=v[s];var O=Math.abs(h-l);O>b&&(u=(l+h)/2,Object(H["c"])(t,e,n,r,u,d)&&(m=u,b=O)),l=h}return isNaN(m)&&(m=o[i]),a?(a.push(m,d,b),a):[m,d,b]}var q=n("c560");function $(t,e,n,r){while(e<n-r){for(var o=0;o<r;++o){var i=t[e+o];t[e+o]=t[n-r+o],t[n-r+o]=i}e+=r,n-=r}}function Q(t,e,n,r){for(var o=0,i=t[n-r],a=t[n-r+1];e<n;e+=r){var s=t[e],c=t[e+1];o+=(s-i)*(c+a),i=s,a=c}return 0===o?void 0:o>0}function J(t,e,n,r,o){for(var i=void 0!==o&&o,a=0,s=n.length;a<s;++a){var c=n[a],u=Q(t,e,c,r);if(0===a){if(i&&u||!i&&!u)return!1}else if(i&&!u||!i&&u)return!1;e=c}return!0}function tt(t,e,n,r,o){for(var i=void 0!==o&&o,a=0,s=n.length;a<s;++a){var c=n[a],u=Q(t,e,c,r),l=0===a?i&&u||!i&&!u:i&&!u||!i&&u;l&&$(t,e,c,r),e=c}return e}n("790a");var et=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),nt=function(t){function e(e,n,r){var o=t.call(this)||this;return o.ends_=[],o.flatInteriorPointRevision_=-1,o.flatInteriorPoint_=null,o.maxDelta_=-1,o.maxDeltaRevision_=-1,o.orientedRevision_=-1,o.orientedFlatCoordinates_=null,void 0!==n&&r?(o.setFlatCoordinates(n,e),o.ends_=r):o.setCoordinates(e,n),o}return et(e,t),e.prototype.appendLinearRing=function(t){this.flatCoordinates?Object(W["b"])(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},e.prototype.clone=function(){var t=new e(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,r){return r<Object(c["d"])(this.getExtent(),t,e)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(T(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),P(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,n,r))},e.prototype.containsXY=function(t,e){return Object(H["c"])(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)},e.prototype.getArea=function(){return k(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),tt(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,z(e,0,this.ends_,this.stride)},e.prototype.getEnds=function(){return this.ends_},e.prototype.getFlatInteriorPoint=function(){if(this.flatInteriorPointRevision_!=this.getRevision()){var t=Object(c["u"])(this.getExtent());this.flatInteriorPoint_=B(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_},e.prototype.getInteriorPoint=function(){return new Y(this.getFlatInteriorPoint(),r.XYM)},e.prototype.getLinearRingCount=function(){return this.ends_.length},e.prototype.getLinearRing=function(t){return t<0||this.ends_.length<=t?null:new U(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},e.prototype.getLinearRings=function(){for(var t=this.layout,e=this.flatCoordinates,n=this.ends_,r=[],o=0,i=0,a=n.length;i<a;++i){var s=n[i],c=new U(e.slice(o,s),t);r.push(c),o=s}return r},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;J(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=tt(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],o=[];return n.length=N(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),n,0,o),new e(n,r.XY,o)},e.prototype.getType=function(){return"Polygon"},e.prototype.intersectsExtent=function(t){return Object(q["b"])(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=A(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},e}(x);e["a"]=nt;function rt(t){var e=t[0],n=t[1],o=t[2],i=t[3],a=[e,n,e,i,o,i,o,n,e,n];return new nt(a,r.XY,[a.length])}},"5c38":function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return l}));var r=n("92fa"),o=n("7fc9"),i=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,a=/^([a-z]*)$|^hsla?\(.*\)$/i;function s(t){return"string"===typeof t?t:f(t)}function c(t){var e=document.createElement("div");if(e.style.color=t,""!==e.style.color){document.body.appendChild(e);var n=getComputedStyle(e).color;return document.body.removeChild(e),n}return""}var u=function(){var t=1024,e={},n=0;return function(r){var o;if(e.hasOwnProperty(r))o=e[r];else{if(n>=t){var i=0;for(var a in e)0===(3&i++)&&(delete e[a],--n)}o=h(r),e[r]=o,++n}return o}}();function l(t){return Array.isArray(t)?t:u(t)}function h(t){var e,n,o,s,u;if(a.exec(t)&&(t=c(t)),i.exec(t)){var l=t.length-1,h=void 0;h=l<=4?1:2;var f=4===l||8===l;e=parseInt(t.substr(1+0*h,h),16),n=parseInt(t.substr(1+1*h,h),16),o=parseInt(t.substr(1+2*h,h),16),s=f?parseInt(t.substr(1+3*h,h),16):255,1==h&&(e=(e<<4)+e,n=(n<<4)+n,o=(o<<4)+o,f&&(s=(s<<4)+s)),u=[e,n,o,s/255]}else 0==t.indexOf("rgba(")?(u=t.slice(5,-1).split(",").map(Number),p(u)):0==t.indexOf("rgb(")?(u=t.slice(4,-1).split(",").map(Number),u.push(1),p(u)):Object(r["a"])(!1,14);return u}function p(t){return t[0]=Object(o["b"])(t[0]+.5|0,0,255),t[1]=Object(o["b"])(t[1]+.5|0,0,255),t[2]=Object(o["b"])(t[2]+.5|0,0,255),t[3]=Object(o["b"])(t[3],0,1),t}function f(t){var e=t[0];e!=(0|e)&&(e=e+.5|0);var n=t[1];n!=(0|n)&&(n=n+.5|0);var r=t[2];r!=(0|r)&&(r=r+.5|0);var o=void 0===t[3]?1:Math.round(100*t[3])/100;return"rgba("+e+","+n+","+r+","+o+")"}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e31":function(t,e,n){"use strict";var r=n("0ec0"),o=n("01d4"),i=n("acc1"),a=n("1300"),s=n("ca42"),c=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(t){function e(e,n,r){var o=t.call(this)||this,i=r||{};return o.tileCoord=e,o.state=n,o.interimTile=null,o.key="",o.transition_=void 0===i.transition?250:i.transition,o.transitionStarts_={},o.interpolate=!!i.interpolate,o}return c(e,t),e.prototype.changed=function(){this.dispatchEvent(o["a"].CHANGE)},e.prototype.release=function(){},e.prototype.getKey=function(){return this.key+"/"+this.tileCoord},e.prototype.getInterimTile=function(){if(!this.interimTile)return this;var t=this.interimTile;do{if(t.getState()==i["a"].LOADED)return this.transition_=0,t;t=t.interimTile}while(t);return this},e.prototype.refreshInterimChain=function(){if(this.interimTile){var t=this.interimTile,e=this;do{if(t.getState()==i["a"].LOADED){t.interimTile=null;break}t.getState()==i["a"].LOADING?e=t:t.getState()==i["a"].IDLE?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}},e.prototype.getTileCoord=function(){return this.tileCoord},e.prototype.getState=function(){return this.state},e.prototype.setState=function(t){if(this.state!==i["a"].ERROR&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()},e.prototype.load=function(){Object(a["b"])()},e.prototype.getAlpha=function(t,e){if(!this.transition_)return 1;var n=this.transitionStarts_[t];if(n){if(-1===n)return 1}else n=e,this.transitionStarts_[t]=n;var r=e-n+1e3/60;return r>=this.transition_?1:Object(s["a"])(r/this.transition_)},e.prototype.inTransition=function(t){return!!this.transition_&&-1!==this.transitionStarts_[t]},e.prototype.endTransition=function(t){this.transition_&&(this.transitionStarts_[t]=-1)},e}(r["a"]);e["a"]=u},"5e77":function(t,e,n){var r=n("83ab"),o=n("1a2d"),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},"5eee":function(t,e,n){"use strict";var r=n("da5c"),o=n("57cb"),i=n("1300"),a=n("a896"),s=n("0af5"),c=n("5c38"),u=function(){function t(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}return t.prototype.clear=function(){this.cache_={},this.cacheSize_=0},t.prototype.canExpireCache=function(){return this.cacheSize_>this.maxCacheSize_},t.prototype.expire=function(){if(this.canExpireCache()){var t=0;for(var e in this.cache_){var n=this.cache_[e];0!==(3&t++)||n.hasListener()||(delete this.cache_[e],--this.cacheSize_)}}},t.prototype.get=function(t,e,n){var r=l(t,e,n);return r in this.cache_?this.cache_[r]:null},t.prototype.set=function(t,e,n,r){var o=l(t,e,n);this.cache_[o]=r,++this.cacheSize_},t.prototype.setSize=function(t){this.maxCacheSize_=t,this.expire()},t}();function l(t,e,n){var r=n?Object(c["b"])(n):"null";return e+":"+t+":"+r}var h=new u,p=n("1af9"),f=n("a568"),d=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),v=function(t){function e(e){var n=t.call(this)||this;return n.map_=e,n}return d(e,t),e.prototype.dispatchRenderEvent=function(t,e){Object(i["b"])()},e.prototype.calculateMatrices2D=function(t){var e=t.viewState,n=t.coordinateToPixelTransform,r=t.pixelToCoordinateTransform;Object(a["b"])(n,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Object(a["d"])(r,n)},e.prototype.forEachFeatureAtCoordinate=function(t,e,n,r,o,i,a,c){var u,l=e.viewState;function h(t,e,n,r){return o.call(i,e,t?n:null,r)}var d=l.projection,v=Object(f["f"])(t.slice(),d),g=[[0,0]];if(d.canWrapX()&&r){var y=d.getExtent(),_=Object(s["C"])(y);g.push([-_,0],[_,0])}for(var m=e.layerStatesArray,b=m.length,O=[],E=[],x=0;x<g.length;x++)for(var w=b-1;w>=0;--w){var j=m[w],C=j.layer;if(C.hasRenderer()&&Object(p["b"])(j,l)&&a.call(c,C)){var T=C.getRenderer(),R=C.getSource();if(T&&R){var P=R.getWrapX()?v:t,S=h.bind(null,j.managed);E[0]=P[0]+g[x][0],E[1]=P[1]+g[x][1],u=T.forEachFeatureAtCoordinate(E,e,n,S,O)}if(u)return u}}if(0!==O.length){var I=1/O.length;return O.forEach((function(t,e){return t.distanceSq+=e*I})),O.sort((function(t,e){return t.distanceSq-e.distanceSq})),O.some((function(t){return u=t.callback(t.feature,t.layer,t.geometry)})),u}},e.prototype.forEachLayerAtPixel=function(t,e,n,r,o){return Object(i["b"])()},e.prototype.hasFeatureAtCoordinate=function(t,e,n,r,i,a){var s=this.forEachFeatureAtCoordinate(t,e,n,r,o["b"],this,i,a);return void 0!==s},e.prototype.getMap=function(){return this.map_},e.prototype.renderFrame=function(t){Object(i["b"])()},e.prototype.scheduleExpireIconCache=function(t){h.canExpireCache()&&t.postRenderFunctions.push(g)},e}(r["a"]);function g(t,e){h.expire()}var y=v,_=n("7b4f"),m=n("3333"),b=n("070d"),O=n("cd7e"),E=n("ddea"),x=n("1e8d"),w=n("0999"),j=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(t){function e(e){var n=t.call(this,e)||this;n.fontChangeListenerKey_=Object(x["a"])(E["a"],_["a"].PROPERTYCHANGE,e.redrawText.bind(e)),n.element_=document.createElement("div");var r=n.element_.style;r.position="absolute",r.width="100%",r.height="100%",r.zIndex="0",n.element_.className=O["d"]+" ol-layers";var o=e.getViewport();return o.insertBefore(n.element_,o.firstChild||null),n.children_=[],n.renderedVisible_=!0,n}return j(e,t),e.prototype.dispatchRenderEvent=function(t,e){var n=this.getMap();if(n.hasListener(t)){var r=new m["a"](t,void 0,e);n.dispatchEvent(r)}},e.prototype.disposeInternal=function(){Object(x["c"])(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),t.prototype.disposeInternal.call(this)},e.prototype.renderFrame=function(t){if(t){this.calculateMatrices2D(t),this.dispatchRenderEvent(b["a"].PRECOMPOSE,t);var e=t.layerStatesArray.sort((function(t,e){return t.zIndex-e.zIndex})),n=t.viewState;this.children_.length=0;for(var r=[],o=null,i=0,a=e.length;i<a;++i){var s=e[i];t.layerIndex=i;var c=s.layer,u=c.getSourceState();if(!Object(p["b"])(s,n)||"ready"!=u&&"undefined"!=u)c.unrender();else{var l=c.render(t,o);l&&(l!==o&&(this.children_.push(l),o=l),"getDeclutter"in c&&r.push(c))}}for(i=r.length-1;i>=0;--i)r[i].renderDeclutter(t);Object(w["e"])(this.element_,this.children_),this.dispatchRenderEvent(b["a"].POSTCOMPOSE,t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)}else this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1)},e.prototype.forEachLayerAtPixel=function(t,e,n,r,o){for(var i=e.viewState,a=e.layerStatesArray,s=a.length,c=s-1;c>=0;--c){var u=a[c],l=u.layer;if(l.hasRenderer()&&Object(p["b"])(u,i)&&o(l)){var h=l.getRenderer(),f=h.getDataAtPixel(t,e,n);if(f){var d=r(l,f);if(d)return d}}}},e}(y),T=C,R=n("e269"),P=n("835b"),S={ADD:"add",REMOVE:"remove"},I=n("cef7"),A=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M={LENGTH:"length"},L=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.element=n,o.index=r,o}return A(e,t),e}(I["a"]),D=function(t){function e(e,n){var r=t.call(this)||this;r.on,r.once,r.un;var o=n||{};if(r.unique_=!!o.unique,r.array_=e||[],r.unique_)for(var i=0,a=r.array_.length;i<a;++i)r.assertUnique_(r.array_[i],i);return r.updateLength_(),r}return A(e,t),e.prototype.clear=function(){while(this.getLength()>0)this.pop()},e.prototype.extend=function(t){for(var e=0,n=t.length;e<n;++e)this.push(t[e]);return this},e.prototype.forEach=function(t){for(var e=this.array_,n=0,r=e.length;n<r;++n)t(e[n],n,e)},e.prototype.getArray=function(){return this.array_},e.prototype.item=function(t){return this.array_[t]},e.prototype.getLength=function(){return this.get(M.LENGTH)},e.prototype.insertAt=function(t,e){this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new L(S.ADD,e,t))},e.prototype.pop=function(){return this.removeAt(this.getLength()-1)},e.prototype.push=function(t){this.unique_&&this.assertUnique_(t);var e=this.getLength();return this.insertAt(e,t),this.getLength()},e.prototype.remove=function(t){for(var e=this.array_,n=0,r=e.length;n<r;++n)if(e[n]===t)return this.removeAt(n)},e.prototype.removeAt=function(t){var e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new L(S.REMOVE,e,t)),e},e.prototype.setAt=function(t,e){var n=this.getLength();if(t<n){this.unique_&&this.assertUnique_(e,t);var r=this.array_[t];this.array_[t]=e,this.dispatchEvent(new L(S.REMOVE,r,t)),this.dispatchEvent(new L(S.ADD,e,t))}else{for(var o=n;o<t;++o)this.insertAt(o,void 0);this.insertAt(t,e)}},e.prototype.updateLength_=function(){this.set(M.LENGTH,this.array_.length)},e.prototype.assertUnique_=function(t,e){for(var n=0,r=this.array_.length;n<r;++n)if(this.array_[n]===t&&n!==e)throw new P["a"](58)},e}(R["a"]),N=D,F=n("01d4"),z=n("5564"),G=n("92fa"),k=n("38f3"),Z=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),K=function(t){function e(e,n){var r=t.call(this,e)||this;return r.layer=n,r}return Z(e,t),e}(I["a"]),U={LAYERS:"layers"},X=function(t){function e(e){var n=this,r=e||{},o=Object(k["a"])({},r);delete o.layers;var i=r.layers;return n=t.call(this,o)||this,n.on,n.once,n.un,n.layersListenerKeys_=[],n.listenerKeys_={},n.addChangeListener(U.LAYERS,n.handleLayersChanged_),i?Array.isArray(i)?i=new N(i.slice(),{unique:!0}):Object(G["a"])("function"===typeof i.getArray,43):i=new N(void 0,{unique:!0}),n.setLayers(i),n}return Z(e,t),e.prototype.handleLayerChange_=function(){this.changed()},e.prototype.handleLayersChanged_=function(){this.layersListenerKeys_.forEach(x["c"]),this.layersListenerKeys_.length=0;var t=this.getLayers();for(var e in this.layersListenerKeys_.push(Object(x["a"])(t,S.ADD,this.handleLayersAdd_,this),Object(x["a"])(t,S.REMOVE,this.handleLayersRemove_,this)),this.listenerKeys_)this.listenerKeys_[e].forEach(x["c"]);Object(k["b"])(this.listenerKeys_);for(var n=t.getArray(),r=0,o=n.length;r<o;r++){var i=n[r];this.registerLayerListeners_(i),this.dispatchEvent(new K("addlayer",i))}this.changed()},e.prototype.registerLayerListeners_=function(t){var n=[Object(x["a"])(t,_["a"].PROPERTYCHANGE,this.handleLayerChange_,this),Object(x["a"])(t,F["a"].CHANGE,this.handleLayerChange_,this)];t instanceof e&&n.push(Object(x["a"])(t,"addlayer",this.handleLayerGroupAdd_,this),Object(x["a"])(t,"removelayer",this.handleLayerGroupRemove_,this)),this.listenerKeys_[Object(i["c"])(t)]=n},e.prototype.handleLayerGroupAdd_=function(t){this.dispatchEvent(new K("addlayer",t.layer))},e.prototype.handleLayerGroupRemove_=function(t){this.dispatchEvent(new K("removelayer",t.layer))},e.prototype.handleLayersAdd_=function(t){var e=t.element;this.registerLayerListeners_(e),this.dispatchEvent(new K("addlayer",e)),this.changed()},e.prototype.handleLayersRemove_=function(t){var e=t.element,n=Object(i["c"])(e);this.listenerKeys_[n].forEach(x["c"]),delete this.listenerKeys_[n],this.dispatchEvent(new K("removelayer",e)),this.changed()},e.prototype.getLayers=function(){return this.get(U.LAYERS)},e.prototype.setLayers=function(t){var e=this.getLayers();if(e)for(var n=e.getArray(),r=0,o=n.length;r<o;++r)this.dispatchEvent(new K("removelayer",n[r]));this.set(U.LAYERS,t)},e.prototype.getLayersArray=function(t){var e=void 0!==t?t:[];return this.getLayers().forEach((function(t){t.getLayersArray(e)})),e},e.prototype.getLayerStatesArray=function(t){var e=void 0!==t?t:[],n=e.length;this.getLayers().forEach((function(t){t.getLayerStatesArray(e)}));var r=this.getLayerState(),o=r.zIndex;t||void 0!==r.zIndex||(o=0);for(var i=n,a=e.length;i<a;i++){var c=e[i];c.opacity*=r.opacity,c.visible=c.visible&&r.visible,c.maxResolution=Math.min(c.maxResolution,r.maxResolution),c.minResolution=Math.max(c.minResolution,r.minResolution),c.minZoom=Math.max(c.minZoom,r.minZoom),c.maxZoom=Math.min(c.maxZoom,r.maxZoom),void 0!==r.extent&&(void 0!==c.extent?c.extent=Object(s["y"])(c.extent,r.extent):c.extent=r.extent),void 0===c.zIndex&&(c.zIndex=o)}return e},e.prototype.getSourceState=function(){return"ready"},e}(z["a"]),V=X,Y=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),W=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.map=n,o.frameState=void 0!==r?r:null,o}return Y(e,t),e}(I["a"]),H=W,B=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),q=function(t){function e(e,n,r,o,i,a){var s=t.call(this,e,n,i)||this;return s.originalEvent=r,s.pixel_=null,s.coordinate_=null,s.dragging=void 0!==o&&o,s.activePointers=a,s}return B(e,t),Object.defineProperty(e.prototype,"pixel",{get:function(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_},set:function(t){this.pixel_=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"coordinate",{get:function(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_},set:function(t){this.coordinate_=t},enumerable:!1,configurable:!0}),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this),"preventDefault"in this.originalEvent&&this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){t.prototype.stopPropagation.call(this),"stopPropagation"in this.originalEvent&&this.originalEvent.stopPropagation()},e}(H),$=q,Q={SINGLECLICK:"singleclick",CLICK:F["a"].CLICK,DBLCLICK:F["a"].DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"},J={POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"},tt=n("0ec0"),et=n("617d"),nt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),rt=function(t){function e(e,n){var r=t.call(this,e)||this;r.map_=e,r.clickTimeoutId_,r.emulateClicks_=!1,r.dragging_=!1,r.dragListenerKeys_=[],r.moveTolerance_=void 0===n?1:n,r.down_=null;var o=r.map_.getViewport();return r.activePointers_=[],r.trackedTouches_={},r.element_=o,r.pointerdownListenerKey_=Object(x["a"])(o,J.POINTERDOWN,r.handlePointerDown_,r),r.originalPointerMoveEvent_,r.relayedListenerKey_=Object(x["a"])(o,J.POINTERMOVE,r.relayMoveEvent_,r),r.boundHandleTouchMove_=r.handleTouchMove_.bind(r),r.element_.addEventListener(F["a"].TOUCHMOVE,r.boundHandleTouchMove_,!!et["e"]&&{passive:!1}),r}return nt(e,t),e.prototype.emulateClick_=function(t){var e=new $(Q.CLICK,this.map_,t);this.dispatchEvent(e),void 0!==this.clickTimeoutId_?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,e=new $(Q.DBLCLICK,this.map_,t),this.dispatchEvent(e)):this.clickTimeoutId_=setTimeout(function(){this.clickTimeoutId_=void 0;var e=new $(Q.SINGLECLICK,this.map_,t);this.dispatchEvent(e)}.bind(this),250)},e.prototype.updateActivePointers_=function(t){var e=t,n=e.pointerId;if(e.type==Q.POINTERUP||e.type==Q.POINTERCANCEL){for(var r in delete this.trackedTouches_[n],this.trackedTouches_)if(this.trackedTouches_[r].target!==e.target){delete this.trackedTouches_[r];break}}else e.type!=Q.POINTERDOWN&&e.type!=Q.POINTERMOVE||(this.trackedTouches_[n]=e);this.activePointers_=Object(k["c"])(this.trackedTouches_)},e.prototype.handlePointerUp_=function(t){this.updateActivePointers_(t);var e=new $(Q.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(e),this.emulateClicks_&&!e.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),0===this.activePointers_.length&&(this.dragListenerKeys_.forEach(x["c"]),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)},e.prototype.isMouseActionButton_=function(t){return 0===t.button},e.prototype.handlePointerDown_=function(t){this.emulateClicks_=0===this.activePointers_.length,this.updateActivePointers_(t);var e=new $(Q.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);for(var n in this.dispatchEvent(e),this.down_={},t){var r=t[n];this.down_[n]="function"===typeof r?o["c"]:r}if(0===this.dragListenerKeys_.length){var i=this.map_.getOwnerDocument();this.dragListenerKeys_.push(Object(x["a"])(i,Q.POINTERMOVE,this.handlePointerMove_,this),Object(x["a"])(i,Q.POINTERUP,this.handlePointerUp_,this),Object(x["a"])(this.element_,Q.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==i&&this.dragListenerKeys_.push(Object(x["a"])(this.element_.getRootNode(),Q.POINTERUP,this.handlePointerUp_,this))}},e.prototype.handlePointerMove_=function(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;var e=new $(Q.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(e)}},e.prototype.relayMoveEvent_=function(t){this.originalPointerMoveEvent_=t;var e=!(!this.down_||!this.isMoving_(t));this.dispatchEvent(new $(Q.POINTERMOVE,this.map_,t,e))},e.prototype.handleTouchMove_=function(t){var e=this.originalPointerMoveEvent_;e&&!e.defaultPrevented||"boolean"===typeof t.cancelable&&!0!==t.cancelable||t.preventDefault()},e.prototype.isMoving_=function(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_},e.prototype.disposeInternal=function(){this.relayedListenerKey_&&(Object(x["c"])(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(F["a"].TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(Object(x["c"])(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(x["c"]),this.dragListenerKeys_.length=0,this.element_=null,t.prototype.disposeInternal.call(this)},e}(tt["a"]),ot=rt,it={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},at={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},st=1/0,ct=function(){function t(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}return t.prototype.clear=function(){this.elements_.length=0,this.priorities_.length=0,Object(k["b"])(this.queuedElements_)},t.prototype.dequeue=function(){var t=this.elements_,e=this.priorities_,n=t[0];1==t.length?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));var r=this.keyFunction_(n);return delete this.queuedElements_[r],n},t.prototype.enqueue=function(t){Object(G["a"])(!(this.keyFunction_(t)in this.queuedElements_),31);var e=this.priorityFunction_(t);return e!=st&&(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0)},t.prototype.getCount=function(){return this.elements_.length},t.prototype.getLeftChildIndex_=function(t){return 2*t+1},t.prototype.getRightChildIndex_=function(t){return 2*t+2},t.prototype.getParentIndex_=function(t){return t-1>>1},t.prototype.heapify_=function(){var t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)},t.prototype.isEmpty=function(){return 0===this.elements_.length},t.prototype.isKeyQueued=function(t){return t in this.queuedElements_},t.prototype.isQueued=function(t){return this.isKeyQueued(this.keyFunction_(t))},t.prototype.siftUp_=function(t){var e=this.elements_,n=this.priorities_,r=e.length,o=e[t],i=n[t],a=t;while(t<r>>1){var s=this.getLeftChildIndex_(t),c=this.getRightChildIndex_(t),u=c<r&&n[c]<n[s]?c:s;e[t]=e[u],n[t]=n[u],t=u}e[t]=o,n[t]=i,this.siftDown_(a,t)},t.prototype.siftDown_=function(t,e){var n=this.elements_,r=this.priorities_,o=n[e],i=r[e];while(e>t){var a=this.getParentIndex_(e);if(!(r[a]>i))break;n[e]=n[a],r[e]=r[a],e=a}n[e]=o,r[e]=i},t.prototype.reprioritize=function(){var t,e,n,r=this.priorityFunction_,o=this.elements_,i=this.priorities_,a=0,s=o.length;for(e=0;e<s;++e)t=o[e],n=r(t),n==st?delete this.queuedElements_[this.keyFunction_(t)]:(i[a]=n,o[a++]=t);o.length=a,i.length=a,this.heapify_()},t}(),ut=ct,lt=n("acc1"),ht=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),pt=function(t){function e(e,n){var r=t.call(this,(function(t){return e.apply(null,t)}),(function(t){return t[0].getKey()}))||this;return r.boundHandleTileChange_=r.handleTileChange.bind(r),r.tileChangeCallback_=n,r.tilesLoading_=0,r.tilesLoadingKeys_={},r}return ht(e,t),e.prototype.enqueue=function(e){var n=t.prototype.enqueue.call(this,e);if(n){var r=e[0];r.addEventListener(F["a"].CHANGE,this.boundHandleTileChange_)}return n},e.prototype.getTilesLoading=function(){return this.tilesLoading_},e.prototype.handleTileChange=function(t){var e=t.target,n=e.getState();if(n===lt["a"].LOADED||n===lt["a"].ERROR||n===lt["a"].EMPTY){e.removeEventListener(F["a"].CHANGE,this.boundHandleTileChange_);var r=e.getKey();r in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[r],--this.tilesLoading_),this.tileChangeCallback_()}},e.prototype.loadMoreTiles=function(t,e){var n,r,o,i=0;while(this.tilesLoading_<t&&i<e&&this.getCount()>0)r=this.dequeue()[0],o=r.getKey(),n=r.getState(),n!==lt["a"].IDLE||o in this.tilesLoadingKeys_||(this.tilesLoadingKeys_[o]=!0,++this.tilesLoading_,++i,r.load())},e}(ut),ft=pt;function dt(t,e,n,r,o){if(!t||!(n in t.wantedTiles))return st;if(!t.wantedTiles[n][e.getKey()])return st;var i=t.viewState.center,a=r[0]-i[0],s=r[1]-i[1];return 65536*Math.log(o)+Math.sqrt(a*a+s*s)/o}var vt=n("a2c7"),gt=n("496f"),yt=n("256f"),_t=n("345d"),mt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function bt(t){t instanceof p["a"]?t.setMapInternal(null):t instanceof V&&t.getLayers().forEach(bt)}function Ot(t,e){if(t instanceof p["a"])t.setMapInternal(e);else if(t instanceof V)for(var n=t.getLayers().getArray(),r=0,o=n.length;r<o;++r)Ot(n[r],e)}var Et=function(t){function e(e){var n=t.call(this)||this;n.on,n.once,n.un;var r=xt(e);n.renderComplete_,n.loaded_=!0,n.boundHandleBrowserEvent_=n.handleBrowserEvent.bind(n),n.maxTilesLoading_=void 0!==e.maxTilesLoading?e.maxTilesLoading:16,n.pixelRatio_=void 0!==e.pixelRatio?e.pixelRatio:et["a"],n.postRenderTimeoutHandle_,n.animationDelayKey_,n.animationDelay_=function(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}.bind(n),n.coordinateToPixelTransform_=Object(a["c"])(),n.pixelToCoordinateTransform_=Object(a["c"])(),n.frameIndex_=0,n.frameState_=null,n.previousExtent_=null,n.viewPropertyListenerKey_=null,n.viewChangeListenerKey_=null,n.layerGroupPropertyListenerKeys_=null,n.viewport_=document.createElement("div"),n.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),n.viewport_.style.position="relative",n.viewport_.style.overflow="hidden",n.viewport_.style.width="100%",n.viewport_.style.height="100%",n.overlayContainer_=document.createElement("div"),n.overlayContainer_.style.position="absolute",n.overlayContainer_.style.zIndex="0",n.overlayContainer_.style.width="100%",n.overlayContainer_.style.height="100%",n.overlayContainer_.style.pointerEvents="none",n.overlayContainer_.className="ol-overlaycontainer",n.viewport_.appendChild(n.overlayContainer_),n.overlayContainerStopEvent_=document.createElement("div"),n.overlayContainerStopEvent_.style.position="absolute",n.overlayContainerStopEvent_.style.zIndex="0",n.overlayContainerStopEvent_.style.width="100%",n.overlayContainerStopEvent_.style.height="100%",n.overlayContainerStopEvent_.style.pointerEvents="none",n.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",n.viewport_.appendChild(n.overlayContainerStopEvent_),n.mapBrowserEventHandler_=null,n.moveTolerance_=e.moveTolerance,n.keyboardEventTarget_=r.keyboardEventTarget,n.targetChangeHandlerKeys_=null,n.controls=r.controls||new N,n.interactions=r.interactions||new N,n.overlays_=r.overlays,n.overlayIdIndex_={},n.renderer_=null,n.postRenderFunctions_=[],n.tileQueue_=new ft(n.getTilePriority.bind(n),n.handleTileChange_.bind(n)),n.addChangeListener(at.LAYERGROUP,n.handleLayerGroupChanged_),n.addChangeListener(at.VIEW,n.handleViewChanged_),n.addChangeListener(at.SIZE,n.handleSizeChanged_),n.addChangeListener(at.TARGET,n.handleTargetChanged_),n.setProperties(r.values);var o=n;return!e.view||e.view instanceof vt["a"]||e.view.then((function(t){o.setView(new vt["a"](t))})),n.controls.addEventListener(S.ADD,function(t){t.element.setMap(this)}.bind(n)),n.controls.addEventListener(S.REMOVE,function(t){t.element.setMap(null)}.bind(n)),n.interactions.addEventListener(S.ADD,function(t){t.element.setMap(this)}.bind(n)),n.interactions.addEventListener(S.REMOVE,function(t){t.element.setMap(null)}.bind(n)),n.overlays_.addEventListener(S.ADD,function(t){this.addOverlayInternal_(t.element)}.bind(n)),n.overlays_.addEventListener(S.REMOVE,function(t){var e=t.element,n=e.getId();void 0!==n&&delete this.overlayIdIndex_[n.toString()],t.element.setMap(null)}.bind(n)),n.controls.forEach(function(t){t.setMap(this)}.bind(n)),n.interactions.forEach(function(t){t.setMap(this)}.bind(n)),n.overlays_.forEach(n.addOverlayInternal_.bind(n)),n}return mt(e,t),e.prototype.createRenderer=function(){throw new Error("Use a map type that has a createRenderer method")},e.prototype.addControl=function(t){this.getControls().push(t)},e.prototype.addInteraction=function(t){this.getInteractions().push(t)},e.prototype.addLayer=function(t){var e=this.getLayerGroup().getLayers();e.push(t)},e.prototype.handleLayerAdd_=function(t){Ot(t.layer,this)},e.prototype.addOverlay=function(t){this.getOverlays().push(t)},e.prototype.addOverlayInternal_=function(t){var e=t.getId();void 0!==e&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)},e.prototype.disposeInternal=function(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.setTarget(null),t.prototype.disposeInternal.call(this)},e.prototype.forEachFeatureAtPixel=function(t,e,n){if(this.frameState_&&this.renderer_){var r=this.getCoordinateFromPixelInternal(t);n=void 0!==n?n:{};var i=void 0!==n.hitTolerance?n.hitTolerance:0,a=void 0!==n.layerFilter?n.layerFilter:o["b"],s=!1!==n.checkWrapped;return this.renderer_.forEachFeatureAtCoordinate(r,this.frameState_,i,s,e,null,a,null)}},e.prototype.getFeaturesAtPixel=function(t,e){var n=[];return this.forEachFeatureAtPixel(t,(function(t){n.push(t)}),e),n},e.prototype.getAllLayers=function(){var t=[];function e(n){n.forEach((function(n){n instanceof V?e(n.getLayers()):t.push(n)}))}return e(this.getLayers()),t},e.prototype.forEachLayerAtPixel=function(t,e,n){if(this.frameState_&&this.renderer_){var r=n||{},i=void 0!==r.hitTolerance?r.hitTolerance:0,a=r.layerFilter||o["b"];return this.renderer_.forEachLayerAtPixel(t,this.frameState_,i,e,a)}},e.prototype.hasFeatureAtPixel=function(t,e){if(!this.frameState_||!this.renderer_)return!1;var n=this.getCoordinateFromPixelInternal(t);e=void 0!==e?e:{};var r=void 0!==e.layerFilter?e.layerFilter:o["b"],i=void 0!==e.hitTolerance?e.hitTolerance:0,a=!1!==e.checkWrapped;return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,i,a,r,null)},e.prototype.getEventCoordinate=function(t){return this.getCoordinateFromPixel(this.getEventPixel(t))},e.prototype.getEventCoordinateInternal=function(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))},e.prototype.getEventPixel=function(t){var e=this.viewport_.getBoundingClientRect(),n="changedTouches"in t?t.changedTouches[0]:t;return[n.clientX-e.left,n.clientY-e.top]},e.prototype.getTarget=function(){return this.get(at.TARGET)},e.prototype.getTargetElement=function(){var t=this.getTarget();return void 0!==t?"string"===typeof t?document.getElementById(t):t:null},e.prototype.getCoordinateFromPixel=function(t){return Object(yt["k"])(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())},e.prototype.getCoordinateFromPixelInternal=function(t){var e=this.frameState_;return e?Object(a["a"])(e.pixelToCoordinateTransform,t.slice()):null},e.prototype.getControls=function(){return this.controls},e.prototype.getOverlays=function(){return this.overlays_},e.prototype.getOverlayById=function(t){var e=this.overlayIdIndex_[t.toString()];return void 0!==e?e:null},e.prototype.getInteractions=function(){return this.interactions},e.prototype.getLayerGroup=function(){return this.get(at.LAYERGROUP)},e.prototype.setLayers=function(t){var e=this.getLayerGroup();if(t instanceof N)e.setLayers(t);else{var n=e.getLayers();n.clear(),n.extend(t)}},e.prototype.getLayers=function(){var t=this.getLayerGroup().getLayers();return t},e.prototype.getLoadingOrNotReady=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e<n;++e){var r=t[e];if(r.visible){var o=r.layer.getRenderer();if(o&&!o.ready)return!0;var i=r.layer.getSource();if(i&&i.loading)return!0}}return!1},e.prototype.getPixelFromCoordinate=function(t){var e=Object(yt["e"])(t,this.getView().getProjection());return this.getPixelFromCoordinateInternal(e)},e.prototype.getPixelFromCoordinateInternal=function(t){var e=this.frameState_;return e?Object(a["a"])(e.coordinateToPixelTransform,t.slice(0,2)):null},e.prototype.getRenderer=function(){return this.renderer_},e.prototype.getSize=function(){return this.get(at.SIZE)},e.prototype.getView=function(){return this.get(at.VIEW)},e.prototype.getViewport=function(){return this.viewport_},e.prototype.getOverlayContainer=function(){return this.overlayContainer_},e.prototype.getOverlayContainerStopEvent=function(){return this.overlayContainerStopEvent_},e.prototype.getOwnerDocument=function(){var t=this.getTargetElement();return t?t.ownerDocument:document},e.prototype.getTilePriority=function(t,e,n,r){return dt(this.frameState_,t,e,n,r)},e.prototype.handleBrowserEvent=function(t,e){var n=e||t.type,r=new $(n,this,t);this.handleMapBrowserEvent(r)},e.prototype.handleMapBrowserEvent=function(t){if(this.frameState_){var e=t.originalEvent,n=e.type;if(n===J.POINTERDOWN||n===F["a"].WHEEL||n===F["a"].KEYDOWN){var r=this.getOwnerDocument(),o=this.viewport_.getRootNode?this.viewport_.getRootNode():r,i=e.target;if(this.overlayContainerStopEvent_.contains(i)||!(o===r?r.documentElement:o).contains(i))return}if(t.frameState=this.frameState_,!1!==this.dispatchEvent(t))for(var a=this.getInteractions().getArray().slice(),s=a.length-1;s>=0;s--){var c=a[s];if(c.getMap()===this&&c.getActive()&&this.getTargetElement()){var u=c.handleEvent(t);if(!u||t.propagationStopped)break}}}},e.prototype.handlePostRender=function(){var t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){var n=this.maxTilesLoading_,r=n;if(t){var o=t.viewHints;if(o[gt["a"].ANIMATING]||o[gt["a"].INTERACTING]){var i=Date.now()-t.time>8;n=i?0:8,r=i?0:2}}e.getTilesLoading()<n&&(e.reprioritize(),e.loadMoreTiles(n,r))}t&&this.renderer_&&!t.animate&&(!0===this.renderComplete_?(this.hasListener(b["a"].RENDERCOMPLETE)&&this.renderer_.dispatchRenderEvent(b["a"].RENDERCOMPLETE,t),!1===this.loaded_&&(this.loaded_=!0,this.dispatchEvent(new H(it.LOADEND,this,t)))):!0===this.loaded_&&(this.loaded_=!1,this.dispatchEvent(new H(it.LOADSTART,this,t))));for(var a=this.postRenderFunctions_,s=0,c=a.length;s<c;++s)a[s](this,t);a.length=0},e.prototype.handleSizeChanged_=function(){this.getView()&&!this.getView().getAnimating()&&this.getView().resolveConstraints(0),this.render()},e.prototype.handleTargetChanged_=function(){if(this.mapBrowserEventHandler_){for(var t=0,e=this.targetChangeHandlerKeys_.length;t<e;++t)Object(x["c"])(this.targetChangeHandlerKeys_[t]);this.targetChangeHandlerKeys_=null,this.viewport_.removeEventListener(F["a"].CONTEXTMENU,this.boundHandleBrowserEvent_),this.viewport_.removeEventListener(F["a"].WHEEL,this.boundHandleBrowserEvent_),this.mapBrowserEventHandler_.dispose(),this.mapBrowserEventHandler_=null,Object(w["d"])(this.viewport_)}var n=this.getTargetElement();if(n){for(var r in n.appendChild(this.viewport_),this.renderer_||(this.renderer_=this.createRenderer()),this.mapBrowserEventHandler_=new ot(this,this.moveTolerance_),Q)this.mapBrowserEventHandler_.addEventListener(Q[r],this.handleMapBrowserEvent.bind(this));this.viewport_.addEventListener(F["a"].CONTEXTMENU,this.boundHandleBrowserEvent_,!1),this.viewport_.addEventListener(F["a"].WHEEL,this.boundHandleBrowserEvent_,!!et["e"]&&{passive:!1});var o=this.getOwnerDocument().defaultView,i=this.keyboardEventTarget_?this.keyboardEventTarget_:n;this.targetChangeHandlerKeys_=[Object(x["a"])(i,F["a"].KEYDOWN,this.handleBrowserEvent,this),Object(x["a"])(i,F["a"].KEYPRESS,this.handleBrowserEvent,this),Object(x["a"])(o,F["a"].RESIZE,this.updateSize,this)]}else this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderTimeoutHandle_=void 0,this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0);this.updateSize()},e.prototype.handleTileChange_=function(){this.render()},e.prototype.handleViewPropertyChanged_=function(){this.render()},e.prototype.handleViewChanged_=function(){this.viewPropertyListenerKey_&&(Object(x["c"])(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(Object(x["c"])(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);var t=this.getView();t&&(this.updateViewportSize_(),this.viewPropertyListenerKey_=Object(x["a"])(t,_["a"].PROPERTYCHANGE,this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=Object(x["a"])(t,F["a"].CHANGE,this.handleViewPropertyChanged_,this),t.resolveConstraints(0)),this.render()},e.prototype.handleLayerGroupChanged_=function(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(x["c"]),this.layerGroupPropertyListenerKeys_=null);var t=this.getLayerGroup();t&&(this.handleLayerAdd_(new K("addlayer",t)),this.layerGroupPropertyListenerKeys_=[Object(x["a"])(t,_["a"].PROPERTYCHANGE,this.render,this),Object(x["a"])(t,F["a"].CHANGE,this.render,this),Object(x["a"])(t,"addlayer",this.handleLayerAdd_,this),Object(x["a"])(t,"removelayer",this.handleLayerRemove_,this)]),this.render()},e.prototype.isRendered=function(){return!!this.frameState_},e.prototype.renderSync=function(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()},e.prototype.redrawText=function(){for(var t=this.getLayerGroup().getLayerStatesArray(),e=0,n=t.length;e<n;++e){var r=t[e].layer;r.hasRenderer()&&r.getRenderer().handleFontsChanged()}},e.prototype.render=function(){this.renderer_&&void 0===this.animationDelayKey_&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))},e.prototype.removeControl=function(t){return this.getControls().remove(t)},e.prototype.removeInteraction=function(t){return this.getInteractions().remove(t)},e.prototype.removeLayer=function(t){var e=this.getLayerGroup().getLayers();return e.remove(t)},e.prototype.handleLayerRemove_=function(t){bt(t.layer)},e.prototype.removeOverlay=function(t){return this.getOverlays().remove(t)},e.prototype.renderFrame_=function(t){var e=this,n=this.getSize(),r=this.getView(),o=this.frameState_,a=null;if(void 0!==n&&Object(_t["a"])(n)&&r&&r.isDef()){var c=r.getHints(this.frameState_?this.frameState_.viewHints:void 0),u=r.getState();if(a={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterTree:null,extent:Object(s["w"])(u.center,u.resolution,u.rotation,n),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:n,tileQueue:this.tileQueue_,time:t,usedTiles:{},viewState:u,viewHints:c,wantedTiles:{},mapId:Object(i["c"])(this),renderTargets:{}},u.nextCenter&&u.nextResolution){var l=isNaN(u.nextRotation)?u.rotation:u.nextRotation;a.nextExtent=Object(s["w"])(u.nextCenter,u.nextResolution,l,n)}}if(this.frameState_=a,this.renderer_.renderFrame(a),a){if(a.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,a.postRenderFunctions),o){var h=!this.previousExtent_||!Object(s["F"])(this.previousExtent_)&&!Object(s["m"])(a.extent,this.previousExtent_);h&&(this.dispatchEvent(new H(it.MOVESTART,this,o)),this.previousExtent_=Object(s["j"])(this.previousExtent_))}var p=this.previousExtent_&&!a.viewHints[gt["a"].ANIMATING]&&!a.viewHints[gt["a"].INTERACTING]&&!Object(s["m"])(a.extent,this.previousExtent_);p&&(this.dispatchEvent(new H(it.MOVEEND,this,a)),Object(s["c"])(a.extent,this.previousExtent_))}this.dispatchEvent(new H(it.POSTRENDER,this,a)),this.renderComplete_=this.hasListener(it.LOADSTART)||this.hasListener(it.LOADEND)||this.hasListener(b["a"].RENDERCOMPLETE)?!this.tileQueue_.getTilesLoading()&&!this.tileQueue_.getCount()&&!this.getLoadingOrNotReady():void 0,this.postRenderTimeoutHandle_||(this.postRenderTimeoutHandle_=setTimeout((function(){e.postRenderTimeoutHandle_=void 0,e.handlePostRender()}),0))},e.prototype.setLayerGroup=function(t){var e=this.getLayerGroup();e&&this.handleLayerRemove_(new K("removelayer",e)),this.set(at.LAYERGROUP,t)},e.prototype.setSize=function(t){this.set(at.SIZE,t)},e.prototype.setTarget=function(t){this.set(at.TARGET,t)},e.prototype.setView=function(t){if(!t||t instanceof vt["a"])this.set(at.VIEW,t);else{this.set(at.VIEW,new vt["a"]);var e=this;t.then((function(t){e.setView(new vt["a"](t))}))}},e.prototype.updateSize=function(){var t=this.getTargetElement(),e=void 0;if(t){var n=getComputedStyle(t),r=t.offsetWidth-parseFloat(n["borderLeftWidth"])-parseFloat(n["paddingLeft"])-parseFloat(n["paddingRight"])-parseFloat(n["borderRightWidth"]),o=t.offsetHeight-parseFloat(n["borderTopWidth"])-parseFloat(n["paddingTop"])-parseFloat(n["paddingBottom"])-parseFloat(n["borderBottomWidth"]);isNaN(r)||isNaN(o)||(e=[r,o],!Object(_t["a"])(e)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&console.warn("No map visible because the map container's width or height are 0."))}this.setSize(e),this.updateViewportSize_()},e.prototype.updateViewportSize_=function(){var t=this.getView();if(t){var e=void 0,n=getComputedStyle(this.viewport_);n.width&&n.height&&(e=[parseInt(n.width,10),parseInt(n.height,10)]),t.setViewportSize(e)}},e}(R["a"]);function xt(t){var e=null;void 0!==t.keyboardEventTarget&&(e="string"===typeof t.keyboardEventTarget?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);var n,r,o,i={},a=t.layers&&"function"===typeof t.layers.getLayers?t.layers:new V({layers:t.layers});return i[at.LAYERGROUP]=a,i[at.TARGET]=t.target,i[at.VIEW]=t.view instanceof vt["a"]?t.view:new vt["a"],void 0!==t.controls&&(Array.isArray(t.controls)?n=new N(t.controls.slice()):(Object(G["a"])("function"===typeof t.controls.getArray,47),n=t.controls)),void 0!==t.interactions&&(Array.isArray(t.interactions)?r=new N(t.interactions.slice()):(Object(G["a"])("function"===typeof t.interactions.getArray,48),r=t.interactions)),void 0!==t.overlays?Array.isArray(t.overlays)?o=new N(t.overlays.slice()):(Object(G["a"])("function"===typeof t.overlays.getArray,49),o=t.overlays):o=new N,{controls:n,interactions:r,keyboardEventTarget:e,overlays:o,values:i}}var wt=Et,jt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ct=function(t){function e(e){var n=t.call(this)||this,r=e.element;return!r||e.target||r.style.pointerEvents||(r.style.pointerEvents="auto"),n.element=r||null,n.target_=null,n.map_=null,n.listenerKeys=[],e.render&&(n.render=e.render),e.target&&n.setTarget(e.target),n}return jt(e,t),e.prototype.disposeInternal=function(){Object(w["d"])(this.element),t.prototype.disposeInternal.call(this)},e.prototype.getMap=function(){return this.map_},e.prototype.setMap=function(t){this.map_&&Object(w["d"])(this.element);for(var e=0,n=this.listenerKeys.length;e<n;++e)Object(x["c"])(this.listenerKeys[e]);if(this.listenerKeys.length=0,this.map_=t,t){var r=this.target_?this.target_:t.getOverlayContainerStopEvent();r.appendChild(this.element),this.render!==o["c"]&&this.listenerKeys.push(Object(x["a"])(t,it.POSTRENDER,this.render,this)),t.render()}},e.prototype.render=function(t){},e.prototype.setTarget=function(t){this.target_="string"===typeof t?document.getElementById(t):t},e}(R["a"]),Tt=Ct,Rt=n("9f5e"),Pt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),St=function(t){function e(e){var n=this,r=e||{};n=t.call(this,{element:document.createElement("div"),render:r.render,target:r.target})||this,n.ulElement_=document.createElement("ul"),n.collapsed_=void 0===r.collapsed||r.collapsed,n.userCollapsed_=n.collapsed_,n.overrideCollapsible_=void 0!==r.collapsible,n.collapsible_=void 0===r.collapsible||r.collapsible,n.collapsible_||(n.collapsed_=!1);var o=void 0!==r.className?r.className:"ol-attribution",i=void 0!==r.tipLabel?r.tipLabel:"Attributions",a=void 0!==r.expandClassName?r.expandClassName:o+"-expand",s=void 0!==r.collapseLabel?r.collapseLabel:"›",c=void 0!==r.collapseClassName?r.collapseClassName:o+"-collapse";"string"===typeof s?(n.collapseLabel_=document.createElement("span"),n.collapseLabel_.textContent=s,n.collapseLabel_.className=c):n.collapseLabel_=s;var u=void 0!==r.label?r.label:"i";"string"===typeof u?(n.label_=document.createElement("span"),n.label_.textContent=u,n.label_.className=a):n.label_=u;var l=n.collapsible_&&!n.collapsed_?n.collapseLabel_:n.label_;n.toggleButton_=document.createElement("button"),n.toggleButton_.setAttribute("type","button"),n.toggleButton_.setAttribute("aria-expanded",String(!n.collapsed_)),n.toggleButton_.title=i,n.toggleButton_.appendChild(l),n.toggleButton_.addEventListener(F["a"].CLICK,n.handleClick_.bind(n),!1);var h=o+" "+O["d"]+" "+O["b"]+(n.collapsed_&&n.collapsible_?" "+O["a"]:"")+(n.collapsible_?"":" ol-uncollapsible"),p=n.element;return p.className=h,p.appendChild(n.toggleButton_),p.appendChild(n.ulElement_),n.renderedAttributions_=[],n.renderedVisible_=!0,n}return Pt(e,t),e.prototype.collectSourceAttributions_=function(t){for(var e={},n=[],r=!0,o=t.layerStatesArray,i=0,a=o.length;i<a;++i){var s=o[i];if(Object(p["b"])(s,t.viewState)){var c=s.layer.getSource();if(c){var u=c.getAttributions();if(u){var l=u(t);if(l)if(r=r&&!1!==c.getAttributionsCollapsible(),Array.isArray(l))for(var h=0,f=l.length;h<f;++h)l[h]in e||(n.push(l[h]),e[l[h]]=!0);else l in e||(n.push(l),e[l]=!0)}}}}return this.overrideCollapsible_||this.setCollapsible(r),n},e.prototype.updateElement_=function(t){if(t){var e=this.collectSourceAttributions_(t),n=e.length>0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!Object(Rt["a"])(e,this.renderedAttributions_)){Object(w["c"])(this.ulElement_);for(var r=0,o=e.length;r<o;++r){var i=document.createElement("li");i.innerHTML=e[r],this.ulElement_.appendChild(i)}this.renderedAttributions_=e}}else this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1)},e.prototype.handleClick_=function(t){t.preventDefault(),this.handleToggle_(),this.userCollapsed_=this.collapsed_},e.prototype.handleToggle_=function(){this.element.classList.toggle(O["a"]),this.collapsed_?Object(w["f"])(this.collapseLabel_,this.label_):Object(w["f"])(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_,this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_))},e.prototype.getCollapsible=function(){return this.collapsible_},e.prototype.setCollapsible=function(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),this.userCollapsed_&&this.handleToggle_())},e.prototype.setCollapsed=function(t){this.userCollapsed_=t,this.collapsible_&&this.collapsed_!==t&&this.handleToggle_()},e.prototype.getCollapsed=function(){return this.collapsed_},e.prototype.render=function(t){this.updateElement_(t.frameState)},e}(Tt),It=St,At=n("ca42"),Mt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Lt=function(t){function e(e){var n=this,r=e||{};n=t.call(this,{element:document.createElement("div"),render:r.render,target:r.target})||this;var o=void 0!==r.className?r.className:"ol-rotate",i=void 0!==r.label?r.label:"⇧",a=void 0!==r.compassClassName?r.compassClassName:"ol-compass";n.label_=null,"string"===typeof i?(n.label_=document.createElement("span"),n.label_.className=a,n.label_.textContent=i):(n.label_=i,n.label_.classList.add(a));var s=r.tipLabel?r.tipLabel:"Reset rotation",c=document.createElement("button");c.className=o+"-reset",c.setAttribute("type","button"),c.title=s,c.appendChild(n.label_),c.addEventListener(F["a"].CLICK,n.handleClick_.bind(n),!1);var u=o+" "+O["d"]+" "+O["b"],l=n.element;return l.className=u,l.appendChild(c),n.callResetNorth_=r.resetNorth?r.resetNorth:void 0,n.duration_=void 0!==r.duration?r.duration:250,n.autoHide_=void 0===r.autoHide||r.autoHide,n.rotation_=void 0,n.autoHide_&&n.element.classList.add(O["c"]),n}return Mt(e,t),e.prototype.handleClick_=function(t){t.preventDefault(),void 0!==this.callResetNorth_?this.callResetNorth_():this.resetNorth_()},e.prototype.resetNorth_=function(){var t=this.getMap(),e=t.getView();if(e){var n=e.getRotation();void 0!==n&&(this.duration_>0&&n%(2*Math.PI)!==0?e.animate({rotation:0,duration:this.duration_,easing:At["b"]}):e.setRotation(0))}},e.prototype.render=function(t){var e=t.frameState;if(e){var n=e.viewState.rotation;if(n!=this.rotation_){var r="rotate("+n+"rad)";if(this.autoHide_){var o=this.element.classList.contains(O["c"]);o||0!==n?o&&0!==n&&this.element.classList.remove(O["c"]):this.element.classList.add(O["c"])}this.label_.style.transform=r}this.rotation_=n}},e}(Tt),Dt=Lt,Nt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ft=function(t){function e(e){var n=this,r=e||{};n=t.call(this,{element:document.createElement("div"),target:r.target})||this;var o=void 0!==r.className?r.className:"ol-zoom",i=void 0!==r.delta?r.delta:1,a=void 0!==r.zoomInClassName?r.zoomInClassName:o+"-in",s=void 0!==r.zoomOutClassName?r.zoomOutClassName:o+"-out",c=void 0!==r.zoomInLabel?r.zoomInLabel:"+",u=void 0!==r.zoomOutLabel?r.zoomOutLabel:"–",l=void 0!==r.zoomInTipLabel?r.zoomInTipLabel:"Zoom in",h=void 0!==r.zoomOutTipLabel?r.zoomOutTipLabel:"Zoom out",p=document.createElement("button");p.className=a,p.setAttribute("type","button"),p.title=l,p.appendChild("string"===typeof c?document.createTextNode(c):c),p.addEventListener(F["a"].CLICK,n.handleClick_.bind(n,i),!1);var f=document.createElement("button");f.className=s,f.setAttribute("type","button"),f.title=h,f.appendChild("string"===typeof u?document.createTextNode(u):u),f.addEventListener(F["a"].CLICK,n.handleClick_.bind(n,-i),!1);var d=o+" "+O["d"]+" "+O["b"],v=n.element;return v.className=d,v.appendChild(p),v.appendChild(f),n.duration_=void 0!==r.duration?r.duration:250,n}return Nt(e,t),e.prototype.handleClick_=function(t,e){e.preventDefault(),this.zoomByDelta_(t)},e.prototype.zoomByDelta_=function(t){var e=this.getMap(),n=e.getView();if(n){var r=n.getZoom();if(void 0!==r){var o=n.getConstrainedZoom(r+t);this.duration_>0?(n.getAnimating()&&n.cancelAnimations(),n.animate({zoom:o,duration:this.duration_,easing:At["b"]})):n.setZoom(o)}}},e}(Tt),zt=Ft;function Gt(t){var e=t||{},n=new N,r=void 0===e.zoom||e.zoom;r&&n.push(new zt(e.zoomOptions));var o=void 0===e.rotate||e.rotate;o&&n.push(new Dt(e.rotateOptions));var i=void 0===e.attribution||e.attribution;return i&&n.push(new It(e.attributionOptions)),n}var kt={ACTIVE:"active"},Zt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Kt=function(t){function e(e){var n=t.call(this)||this;return n.on,n.once,n.un,e&&e.handleEvent&&(n.handleEvent=e.handleEvent),n.map_=null,n.setActive(!0),n}return Zt(e,t),e.prototype.getActive=function(){return this.get(kt.ACTIVE)},e.prototype.getMap=function(){return this.map_},e.prototype.handleEvent=function(t){return!0},e.prototype.setActive=function(t){this.set(kt.ACTIVE,t)},e.prototype.setMap=function(t){this.map_=t},e}(R["a"]);function Ut(t,e,n){var r=t.getCenterInternal();if(r){var o=[r[0]+e[0],r[1]+e[1]];t.animateInternal({duration:void 0!==n?n:250,easing:At["d"],center:t.getConstrainedCenter(o)})}}function Xt(t,e,n,r){var o=t.getZoom();if(void 0!==o){var i=t.getConstrainedZoom(o+e),a=t.getResolutionForZoom(i);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:a,anchor:n,duration:void 0!==r?r:250,easing:At["b"]})}}var Vt=Kt,Yt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Wt=function(t){function e(e){var n=t.call(this)||this,r=e||{};return n.delta_=r.delta?r.delta:1,n.duration_=void 0!==r.duration?r.duration:250,n}return Yt(e,t),e.prototype.handleEvent=function(t){var e=!1;if(t.type==Q.DBLCLICK){var n=t.originalEvent,r=t.map,o=t.coordinate,i=n.shiftKey?-this.delta_:this.delta_,a=r.getView();Xt(a,i,o,this.duration_),n.preventDefault(),e=!0}return!e},e}(Vt),Ht=Wt,Bt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),qt=function(t){function e(e){var n=this,r=e||{};return n=t.call(this,r)||this,r.handleDownEvent&&(n.handleDownEvent=r.handleDownEvent),r.handleDragEvent&&(n.handleDragEvent=r.handleDragEvent),r.handleMoveEvent&&(n.handleMoveEvent=r.handleMoveEvent),r.handleUpEvent&&(n.handleUpEvent=r.handleUpEvent),r.stopDown&&(n.stopDown=r.stopDown),n.handlingDownUpSequence=!1,n.targetPointers=[],n}return Bt(e,t),e.prototype.getPointerCount=function(){return this.targetPointers.length},e.prototype.handleDownEvent=function(t){return!1},e.prototype.handleDragEvent=function(t){},e.prototype.handleEvent=function(t){if(!t.originalEvent)return!0;var e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==Q.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==Q.POINTERUP){var n=this.handleUpEvent(t);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(t.type==Q.POINTERDOWN){var r=this.handleDownEvent(t);this.handlingDownUpSequence=r,e=this.stopDown(r)}else t.type==Q.POINTERMOVE&&this.handleMoveEvent(t);return!e},e.prototype.handleMoveEvent=function(t){},e.prototype.handleUpEvent=function(t){return!1},e.prototype.stopDown=function(t){return t},e.prototype.updateTrackedPointers_=function(t){t.activePointers&&(this.targetPointers=t.activePointers)},e}(Vt);function $t(t){for(var e=t.length,n=0,r=0,o=0;o<e;o++)n+=t[o].clientX,r+=t[o].clientY;return[n/e,r/e]}var Qt=qt;function Jt(t){var e=arguments;return function(t){for(var n=!0,r=0,o=e.length;r<o;++r)if(n=n&&e[r](t),!n)break;return n}}var te=function(t){var e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},ee=function(t){var e=t.map.getTargetElement(),n=t.map.getOwnerDocument().activeElement;return e.contains(n)},ne=function(t){return!t.map.getTargetElement().hasAttribute("tabindex")||ee(t)},re=o["b"],oe=function(t){var e=t.originalEvent;return 0==e.button&&!(et["f"]&&et["d"]&&e.ctrlKey)},ie=(o["a"],function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey}),ae=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},se=function(t){var e=t.originalEvent,n=e.target.tagName;return"INPUT"!==n&&"SELECT"!==n&&"TEXTAREA"!==n&&!e.target.isContentEditable},ce=function(t){var e=t.originalEvent;return Object(G["a"])(void 0!==e,56),"mouse"==e.pointerType},ue=function(t){var e=t.originalEvent;return Object(G["a"])(void 0!==e,56),e.isPrimary&&0===e.button},le=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),he=function(t){function e(e){var n=t.call(this,{stopDown:o["a"]})||this,r=e||{};n.kinetic_=r.kinetic,n.lastCentroid=null,n.lastPointersCount_,n.panning_=!1;var i=r.condition?r.condition:Jt(ie,ue);return n.condition_=r.onFocusOnly?Jt(ne,i):i,n.noKinetic_=!1,n}return le(e,t),e.prototype.handleDragEvent=function(t){this.panning_||(this.panning_=!0,this.getMap().getView().beginInteraction());var e=this.targetPointers,n=$t(e);if(e.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){var r=[this.lastCentroid[0]-n[0],n[1]-this.lastCentroid[1]],o=t.map,i=o.getView();Object(f["e"])(r,i.getResolution()),Object(f["d"])(r,i.getRotation()),i.adjustCenterInternal(r)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=e.length,t.originalEvent.preventDefault()},e.prototype.handleUpEvent=function(t){var e=t.map,n=e.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){var r=this.kinetic_.getDistance(),o=this.kinetic_.getAngle(),i=n.getCenterInternal(),a=e.getPixelFromCoordinateInternal(i),s=e.getCoordinateFromPixelInternal([a[0]-r*Math.cos(o),a[1]-r*Math.sin(o)]);n.animateInternal({center:n.getConstrainedCenter(s),duration:500,easing:At["b"]})}return this.panning_&&(this.panning_=!1,n.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>0&&this.condition_(t)){var e=t.map,n=e.getView();return this.lastCentroid=null,n.getAnimating()&&n.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1},e}(Qt),pe=he,fe=n("8cc5"),de=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ve=function(t){function e(e){var n=this,r=e||{};return n=t.call(this,{stopDown:o["a"]})||this,n.condition_=r.condition?r.condition:te,n.lastAngle_=void 0,n.duration_=void 0!==r.duration?r.duration:250,n}return de(e,t),e.prototype.handleDragEvent=function(t){if(ce(t)){var e=t.map,n=e.getView();if(n.getConstraints().rotation!==fe["c"]){var r=e.getSize(),o=t.pixel,i=Math.atan2(r[1]/2-o[1],o[0]-r[0]/2);if(void 0!==this.lastAngle_){var a=i-this.lastAngle_;n.adjustRotationInternal(-a)}this.lastAngle_=i}}},e.prototype.handleUpEvent=function(t){if(!ce(t))return!0;var e=t.map,n=e.getView();return n.endInteraction(this.duration_),!1},e.prototype.handleDownEvent=function(t){if(!ce(t))return!1;if(oe(t)&&this.condition_(t)){var e=t.map;return e.getView().beginInteraction(),this.lastAngle_=void 0,!0}return!1},e}(Qt),ge=ve,ye=n("5bc3"),_e=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),me=function(t){function e(e){var n=t.call(this)||this;return n.geometry_=null,n.element_=document.createElement("div"),n.element_.style.position="absolute",n.element_.style.pointerEvents="auto",n.element_.className="ol-box "+e,n.map_=null,n.startPixel_=null,n.endPixel_=null,n}return _e(e,t),e.prototype.disposeInternal=function(){this.setMap(null)},e.prototype.render_=function(){var t=this.startPixel_,e=this.endPixel_,n="px",r=this.element_.style;r.left=Math.min(t[0],e[0])+n,r.top=Math.min(t[1],e[1])+n,r.width=Math.abs(e[0]-t[0])+n,r.height=Math.abs(e[1]-t[1])+n},e.prototype.setMap=function(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);var e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)},e.prototype.setPixels=function(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()},e.prototype.createOrUpdateGeometry=function(){var t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]],r=n.map(this.map_.getCoordinateFromPixelInternal,this.map_);r[4]=r[0].slice(),this.geometry_?this.geometry_.setCoordinates([r]):this.geometry_=new ye["a"]([r])},e.prototype.getGeometry=function(){return this.geometry_},e}(r["a"]),be=me,Oe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ee={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"},xe=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.coordinate=n,o.mapBrowserEvent=r,o}return Oe(e,t),e}(I["a"]),we=function(t){function e(e){var n=t.call(this)||this;n.on,n.once,n.un;var r=e||{};return n.box_=new be(r.className||"ol-dragbox"),n.minArea_=void 0!==r.minArea?r.minArea:64,r.onBoxEnd&&(n.onBoxEnd=r.onBoxEnd),n.startPixel_=null,n.condition_=r.condition?r.condition:oe,n.boxEndCondition_=r.boxEndCondition?r.boxEndCondition:n.defaultBoxEndCondition,n}return Oe(e,t),e.prototype.defaultBoxEndCondition=function(t,e,n){var r=n[0]-e[0],o=n[1]-e[1];return r*r+o*o>=this.minArea_},e.prototype.getGeometry=function(){return this.box_.getGeometry()},e.prototype.handleDragEvent=function(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new xe(Ee.BOXDRAG,t.coordinate,t))},e.prototype.handleUpEvent=function(t){this.box_.setMap(null);var e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new xe(e?Ee.BOXEND:Ee.BOXCANCEL,t.coordinate,t)),!1},e.prototype.handleDownEvent=function(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new xe(Ee.BOXSTART,t.coordinate,t)),!0)},e.prototype.onBoxEnd=function(t){},e}(Qt),je=we,Ce=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Te=function(t){function e(e){var n=this,r=e||{},o=r.condition?r.condition:ae;return n=t.call(this,{condition:o,className:r.className||"ol-dragzoom",minArea:r.minArea})||this,n.duration_=void 0!==r.duration?r.duration:200,n.out_=void 0!==r.out&&r.out,n}return Ce(e,t),e.prototype.onBoxEnd=function(t){var e=this.getMap(),n=e.getView(),r=this.getGeometry();if(this.out_){var o=n.rotatedExtentForGeometry(r),i=n.getResolutionForExtentInternal(o),a=n.getResolution()/i;r=r.clone(),r.scale(a*a)}n.fitInternal(r,{duration:this.duration_,easing:At["b"]})},e}(je),Re=Te,Pe={LEFT:37,UP:38,RIGHT:39,DOWN:40},Se=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ie=function(t){function e(e){var n=t.call(this)||this,r=e||{};return n.defaultCondition_=function(t){return ie(t)&&se(t)},n.condition_=void 0!==r.condition?r.condition:n.defaultCondition_,n.duration_=void 0!==r.duration?r.duration:100,n.pixelDelta_=void 0!==r.pixelDelta?r.pixelDelta:128,n}return Se(e,t),e.prototype.handleEvent=function(t){var e=!1;if(t.type==F["a"].KEYDOWN){var n=t.originalEvent,r=n.keyCode;if(this.condition_(t)&&(r==Pe.DOWN||r==Pe.LEFT||r==Pe.RIGHT||r==Pe.UP)){var o=t.map,i=o.getView(),a=i.getResolution()*this.pixelDelta_,s=0,c=0;r==Pe.DOWN?c=-a:r==Pe.LEFT?s=-a:r==Pe.RIGHT?s=a:c=a;var u=[s,c];Object(f["d"])(u,i.getRotation()),Ut(i,u,this.duration_),n.preventDefault(),e=!0}}return!e},e}(Vt),Ae=Ie,Me=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Le=function(t){function e(e){var n=t.call(this)||this,r=e||{};return n.condition_=r.condition?r.condition:se,n.delta_=r.delta?r.delta:1,n.duration_=void 0!==r.duration?r.duration:100,n}return Me(e,t),e.prototype.handleEvent=function(t){var e=!1;if(t.type==F["a"].KEYDOWN||t.type==F["a"].KEYPRESS){var n=t.originalEvent,r=n.charCode;if(this.condition_(t)&&(r=="+".charCodeAt(0)||r=="-".charCodeAt(0))){var o=t.map,i=r=="+".charCodeAt(0)?this.delta_:-this.delta_,a=o.getView();Xt(a,i,void 0,this.duration_),n.preventDefault(),e=!0}}return!e},e}(Vt),De=Le,Ne=function(){function t(t,e,n){this.decay_=t,this.minVelocity_=e,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0}return t.prototype.begin=function(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0},t.prototype.update=function(t,e){this.points_.push(t,e,Date.now())},t.prototype.end=function(){if(this.points_.length<6)return!1;var t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]<t)return!1;var n=e-3;while(n>0&&this.points_[n+2]>t)n-=3;var r=this.points_[e+2]-this.points_[n+2];if(r<1e3/60)return!1;var o=this.points_[e]-this.points_[n],i=this.points_[e+1]-this.points_[n+1];return this.angle_=Math.atan2(i,o),this.initialVelocity_=Math.sqrt(o*o+i*i)/r,this.initialVelocity_>this.minVelocity_},t.prototype.getDistance=function(){return(this.minVelocity_-this.initialVelocity_)/this.decay_},t.prototype.getAngle=function(){return this.angle_},t}(),Fe=Ne,ze=n("7fc9"),Ge=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ke={TRACKPAD:"trackpad",WHEEL:"wheel"},Ze=function(t){function e(e){var n=this,r=e||{};n=t.call(this,r)||this,n.totalDelta_=0,n.lastDelta_=0,n.maxDelta_=void 0!==r.maxDelta?r.maxDelta:1,n.duration_=void 0!==r.duration?r.duration:250,n.timeout_=void 0!==r.timeout?r.timeout:80,n.useAnchor_=void 0===r.useAnchor||r.useAnchor,n.constrainResolution_=void 0!==r.constrainResolution&&r.constrainResolution;var o=r.condition?r.condition:re;return n.condition_=r.onFocusOnly?Jt(ne,o):o,n.lastAnchor_=null,n.startTime_=void 0,n.timeoutId_,n.mode_=void 0,n.trackpadEventGap_=400,n.trackpadTimeoutId_,n.deltaPerZoom_=300,n}return Ge(e,t),e.prototype.endInteraction_=function(){this.trackpadTimeoutId_=void 0;var t=this.getMap();if(t){var e=t.getView();e.endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}},e.prototype.handleEvent=function(t){if(!this.condition_(t))return!0;var e=t.type;if(e!==F["a"].WHEEL)return!0;var n,r=t.map,o=t.originalEvent;if(o.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate),t.type==F["a"].WHEEL&&(n=o.deltaY,et["b"]&&o.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(n/=et["a"]),o.deltaMode===WheelEvent.DOM_DELTA_LINE&&(n*=40)),0===n)return!1;this.lastDelta_=n;var i=Date.now();void 0===this.startTime_&&(this.startTime_=i),(!this.mode_||i-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(n)<4?ke.TRACKPAD:ke.WHEEL);var a=r.getView();if(this.mode_===ke.TRACKPAD&&!a.getConstrainResolution()&&!this.constrainResolution_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(a.getAnimating()&&a.cancelAnimations(),a.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),a.adjustZoom(-n/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=i,!1;this.totalDelta_+=n;var s=Math.max(this.timeout_-(i-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,r),s),!1},e.prototype.handleWheelZoom_=function(t){var e=t.getView();e.getAnimating()&&e.cancelAnimations();var n=-Object(ze["b"])(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(n=n?n>0?1:-1:0),Xt(e,n,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0},e.prototype.setMouseAnchor=function(t){this.useAnchor_=t,t||(this.lastAnchor_=null)},e}(Vt),Ke=Ze,Ue=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Xe=function(t){function e(e){var n=this,r=e||{},i=r;return i.stopDown||(i.stopDown=o["a"]),n=t.call(this,i)||this,n.anchor_=null,n.lastAngle_=void 0,n.rotating_=!1,n.rotationDelta_=0,n.threshold_=void 0!==r.threshold?r.threshold:.3,n.duration_=void 0!==r.duration?r.duration:250,n}return Ue(e,t),e.prototype.handleDragEvent=function(t){var e=0,n=this.targetPointers[0],r=this.targetPointers[1],o=Math.atan2(r.clientY-n.clientY,r.clientX-n.clientX);if(void 0!==this.lastAngle_){var i=o-this.lastAngle_;this.rotationDelta_+=i,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=i}this.lastAngle_=o;var a=t.map,s=a.getView();if(s.getConstraints().rotation!==fe["c"]){var c=a.getViewport().getBoundingClientRect(),u=$t(this.targetPointers);u[0]-=c.left,u[1]-=c.top,this.anchor_=a.getCoordinateFromPixelInternal(u),this.rotating_&&(a.render(),s.adjustRotationInternal(e,this.anchor_))}},e.prototype.handleUpEvent=function(t){if(this.targetPointers.length<2){var e=t.map,n=e.getView();return n.endInteraction(this.duration_),!1}return!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(Qt),Ve=Xe,Ye=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),We=function(t){function e(e){var n=this,r=e||{},i=r;return i.stopDown||(i.stopDown=o["a"]),n=t.call(this,i)||this,n.anchor_=null,n.duration_=void 0!==r.duration?r.duration:400,n.lastDistance_=void 0,n.lastScaleDelta_=1,n}return Ye(e,t),e.prototype.handleDragEvent=function(t){var e=1,n=this.targetPointers[0],r=this.targetPointers[1],o=n.clientX-r.clientX,i=n.clientY-r.clientY,a=Math.sqrt(o*o+i*i);void 0!==this.lastDistance_&&(e=this.lastDistance_/a),this.lastDistance_=a;var s=t.map,c=s.getView();1!=e&&(this.lastScaleDelta_=e);var u=s.getViewport().getBoundingClientRect(),l=$t(this.targetPointers);l[0]-=u.left,l[1]-=u.top,this.anchor_=s.getCoordinateFromPixelInternal(l),s.render(),c.adjustResolutionInternal(e,this.anchor_)},e.prototype.handleUpEvent=function(t){if(this.targetPointers.length<2){var e=t.map,n=e.getView(),r=this.lastScaleDelta_>1?1:-1;return n.endInteraction(this.duration_,r),!1}return!0},e.prototype.handleDownEvent=function(t){if(this.targetPointers.length>=2){var e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1},e}(Qt),He=We;function Be(t){var e=t||{},n=new N,r=new Fe(-.005,.05,100),o=void 0===e.altShiftDragRotate||e.altShiftDragRotate;o&&n.push(new ge);var i=void 0===e.doubleClickZoom||e.doubleClickZoom;i&&n.push(new Ht({delta:e.zoomDelta,duration:e.zoomDuration}));var a=void 0===e.dragPan||e.dragPan;a&&n.push(new pe({onFocusOnly:e.onFocusOnly,kinetic:r}));var s=void 0===e.pinchRotate||e.pinchRotate;s&&n.push(new Ve);var c=void 0===e.pinchZoom||e.pinchZoom;c&&n.push(new He({duration:e.zoomDuration}));var u=void 0===e.keyboard||e.keyboard;u&&(n.push(new Ae),n.push(new De({delta:e.zoomDelta,duration:e.zoomDuration})));var l=void 0===e.mouseWheelZoom||e.mouseWheelZoom;l&&n.push(new Ke({onFocusOnly:e.onFocusOnly,duration:e.zoomDuration}));var h=void 0===e.shiftDragZoom||e.shiftDragZoom;return h&&n.push(new Re({duration:e.zoomDuration})),n}var qe=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),$e=function(t){function e(e){return e=Object(k["a"])({},e),e.controls||(e.controls=Gt()),e.interactions||(e.interactions=Be({onFocusOnly:!0})),t.call(this,e)||this}return qe(e,t),e.prototype.createRenderer=function(){return new T(this)},e}(wt);e["a"]=$e},"617d":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"f",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return c})),n.d(e,"g",(function(){return u})),n.d(e,"c",(function(){return l})),n.d(e,"e",(function(){return h}));var r="undefined"!==typeof navigator&&"undefined"!==typeof navigator.userAgent?navigator.userAgent.toLowerCase():"",o=-1!==r.indexOf("firefox"),i=-1!==r.indexOf("safari")&&-1==r.indexOf("chrom"),a=(i&&(r.indexOf("version/15.4")>=0||r.match(/cpu (os|iphone os) 15_4 like mac os x/)),-1!==r.indexOf("webkit")&&-1==r.indexOf("edge")),s=-1!==r.indexOf("macintosh"),c="undefined"!==typeof devicePixelRatio?devicePixelRatio:1,u="undefined"!==typeof WorkerGlobalScope&&"undefined"!==typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,l="undefined"!==typeof Image&&Image.prototype.decode,h=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch(n){}return t}()},6374:function(t,e,n){var r=n("da84"),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},"69f3":function(t,e,n){var r,o,i,a=n("7f9a"),s=n("da84"),c=n("e330"),u=n("861d"),l=n("9112"),h=n("1a2d"),p=n("c6cd"),f=n("f772"),d=n("d012"),v="Object already initialized",g=s.TypeError,y=s.WeakMap,_=function(t){return i(t)?o(t):r(t,{})},m=function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}};if(a||p.state){var b=p.state||(p.state=new y),O=c(b.get),E=c(b.has),x=c(b.set);r=function(t,e){if(E(b,t))throw new g(v);return e.facade=t,x(b,t,e),e},o=function(t){return O(b,t)||{}},i=function(t){return E(b,t)}}else{var w=f("state");d[w]=!0,r=function(t,e){if(h(t,w))throw new g(v);return e.facade=t,l(t,w,e),e},o=function(t){return h(t,w)?t[w]:{}},i=function(t){return h(t,w)}}t.exports={set:r,get:o,has:i,enforce:_,getterFor:m}},7156:function(t,e,n){var r=n("1626"),o=n("861d"),i=n("d2bb");t.exports=function(t,e,n){var a,s;return i&&r(a=e.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(t,s),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"78db":function(t,e,n){"use strict";var r=n("dc07"),o=n("0414"),i=n("92fa"),a=n("7fc9"),s=n("0af5"),c=n("2c30"),u=n("c560"),l=n("9f5e"),h=n("345d"),p=[0,0,0],f=5,d=function(){function t(t){var e;if(this.minZoom=void 0!==t.minZoom?t.minZoom:0,this.resolutions_=t.resolutions,Object(i["a"])(Object(l["c"])(this.resolutions_,(function(t,e){return e-t}),!0),17),!t.origins)for(var n=0,a=this.resolutions_.length-1;n<a;++n)if(e){if(this.resolutions_[n]/this.resolutions_[n+1]!==e){e=void 0;break}}else e=this.resolutions_[n]/this.resolutions_[n+1];this.zoomFactor_=e,this.maxZoom=this.resolutions_.length-1,this.origin_=void 0!==t.origin?t.origin:null,this.origins_=null,void 0!==t.origins&&(this.origins_=t.origins,Object(i["a"])(this.origins_.length==this.resolutions_.length,20));var c=t.extent;void 0===c||this.origin_||this.origins_||(this.origin_=Object(s["A"])(c)),Object(i["a"])(!this.origin_&&this.origins_||this.origin_&&!this.origins_,18),this.tileSizes_=null,void 0!==t.tileSizes&&(this.tileSizes_=t.tileSizes,Object(i["a"])(this.tileSizes_.length==this.resolutions_.length,19)),this.tileSize_=void 0!==t.tileSize?t.tileSize:this.tileSizes_?null:o["b"],Object(i["a"])(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,22),this.extent_=void 0!==c?c:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],this.tmpExtent_=[0,0,0,0],void 0!==t.sizes?this.fullTileRanges_=t.sizes.map((function(t,e){var n=new r["b"](Math.min(0,t[0]),Math.max(t[0]-1,-1),Math.min(0,t[1]),Math.max(t[1]-1,-1));if(c){var o=this.getTileRangeForExtentAndZ(c,e);n.minX=Math.max(o.minX,n.minX),n.maxX=Math.min(o.maxX,n.maxX),n.minY=Math.max(o.minY,n.minY),n.maxY=Math.min(o.maxY,n.maxY)}return n}),this):c&&this.calculateTileRanges_(c)}return t.prototype.forEachTileCoord=function(t,e,n){for(var r=this.getTileRangeForExtentAndZ(t,e),o=r.minX,i=r.maxX;o<=i;++o)for(var a=r.minY,s=r.maxY;a<=s;++a)n([e,o,a])},t.prototype.forEachTileCoordParentTileRange=function(t,e,n,o){var i,a,s,c=null,u=t[0]-1;2===this.zoomFactor_?(a=t[1],s=t[2]):c=this.getTileCoordExtent(t,o);while(u>=this.minZoom){if(2===this.zoomFactor_?(a=Math.floor(a/2),s=Math.floor(s/2),i=Object(r["a"])(a,a,s,s,n)):i=this.getTileRangeForExtentAndZ(c,u,n),e(u,i))return!0;--u}return!1},t.prototype.getExtent=function(){return this.extent_},t.prototype.getMaxZoom=function(){return this.maxZoom},t.prototype.getMinZoom=function(){return this.minZoom},t.prototype.getOrigin=function(t){return this.origin_?this.origin_:this.origins_[t]},t.prototype.getResolution=function(t){return this.resolutions_[t]},t.prototype.getResolutions=function(){return this.resolutions_},t.prototype.getTileCoordChildTileRange=function(t,e,n){if(t[0]<this.maxZoom){if(2===this.zoomFactor_){var o=2*t[1],i=2*t[2];return Object(r["a"])(o,o+1,i,i+1,e)}var a=this.getTileCoordExtent(t,n||this.tmpExtent_);return this.getTileRangeForExtentAndZ(a,t[0]+1,e)}return null},t.prototype.getTileRangeForTileCoordAndZ=function(t,e,n){if(e>this.maxZoom||e<this.minZoom)return null;var o=t[0],i=t[1],a=t[2];if(e===o)return Object(r["a"])(i,a,i,a,n);if(this.zoomFactor_){var s=Math.pow(this.zoomFactor_,e-o),c=Math.floor(i*s),u=Math.floor(a*s);if(e<o)return Object(r["a"])(c,c,u,u,n);var l=Math.floor(s*(i+1))-1,h=Math.floor(s*(a+1))-1;return Object(r["a"])(c,l,u,h,n)}var p=this.getTileCoordExtent(t,this.tmpExtent_);return this.getTileRangeForExtentAndZ(p,e,n)},t.prototype.getTileRangeExtent=function(t,e,n){var r=this.getOrigin(t),o=this.getResolution(t),i=Object(h["c"])(this.getTileSize(t),this.tmpSize_),a=r[0]+e.minX*i[0]*o,c=r[0]+(e.maxX+1)*i[0]*o,u=r[1]+e.minY*i[1]*o,l=r[1]+(e.maxY+1)*i[1]*o;return Object(s["i"])(a,u,c,l,n)},t.prototype.getTileRangeForExtentAndZ=function(t,e,n){var o=p;this.getTileCoordForXYAndZ_(t[0],t[3],e,!1,o);var i=o[1],a=o[2];return this.getTileCoordForXYAndZ_(t[2],t[1],e,!0,o),Object(r["a"])(i,o[1],a,o[2],n)},t.prototype.getTileCoordCenter=function(t){var e=this.getOrigin(t[0]),n=this.getResolution(t[0]),r=Object(h["c"])(this.getTileSize(t[0]),this.tmpSize_);return[e[0]+(t[1]+.5)*r[0]*n,e[1]-(t[2]+.5)*r[1]*n]},t.prototype.getTileCoordExtent=function(t,e){var n=this.getOrigin(t[0]),r=this.getResolution(t[0]),o=Object(h["c"])(this.getTileSize(t[0]),this.tmpSize_),i=n[0]+t[1]*o[0]*r,a=n[1]-(t[2]+1)*o[1]*r,c=i+o[0]*r,u=a+o[1]*r;return Object(s["i"])(i,a,c,u,e)},t.prototype.getTileCoordForCoordAndResolution=function(t,e,n){return this.getTileCoordForXYAndResolution_(t[0],t[1],e,!1,n)},t.prototype.getTileCoordForXYAndResolution_=function(t,e,n,r,o){var i=this.getZForResolution(n),s=n/this.getResolution(i),u=this.getOrigin(i),l=Object(h["c"])(this.getTileSize(i),this.tmpSize_),p=s*(t-u[0])/n/l[0],d=s*(u[1]-e)/n/l[1];return r?(p=Object(a["a"])(p,f)-1,d=Object(a["a"])(d,f)-1):(p=Object(a["d"])(p,f),d=Object(a["d"])(d,f)),Object(c["a"])(i,p,d,o)},t.prototype.getTileCoordForXYAndZ_=function(t,e,n,r,o){var i=this.getOrigin(n),s=this.getResolution(n),u=Object(h["c"])(this.getTileSize(n),this.tmpSize_),l=(t-i[0])/s/u[0],p=(i[1]-e)/s/u[1];return r?(l=Object(a["a"])(l,f)-1,p=Object(a["a"])(p,f)-1):(l=Object(a["d"])(l,f),p=Object(a["d"])(p,f)),Object(c["a"])(n,l,p,o)},t.prototype.getTileCoordForCoordAndZ=function(t,e,n){return this.getTileCoordForXYAndZ_(t[0],t[1],e,!1,n)},t.prototype.getTileCoordResolution=function(t){return this.resolutions_[t[0]]},t.prototype.getTileSize=function(t){return this.tileSize_?this.tileSize_:this.tileSizes_[t]},t.prototype.getFullTileRange=function(t){return this.fullTileRanges_?this.fullTileRanges_[t]:this.extent_?this.getTileRangeForExtentAndZ(this.extent_,t):null},t.prototype.getZForResolution=function(t,e){var n=Object(l["d"])(this.resolutions_,t,e||0);return Object(a["b"])(n,this.minZoom,this.maxZoom)},t.prototype.tileCoordIntersectsViewport=function(t,e){return Object(u["a"])(e,0,e.length,2,this.getTileCoordExtent(t))},t.prototype.calculateTileRanges_=function(t){for(var e=this.resolutions_.length,n=new Array(e),r=this.minZoom;r<e;++r)n[r]=this.getTileRangeForExtentAndZ(t,r);this.fullTileRanges_=n},t}();e["a"]=d},"790a":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var r=n("7fc9"),o=6371008.8;function i(t,e,n){var i=n||o,a=Object(r["l"])(t[1]),s=Object(r["l"])(e[1]),c=(s-a)/2,u=Object(r["l"])(e[0]-t[0])/2,l=Math.sin(c)*Math.sin(c)+Math.sin(u)*Math.sin(u)*Math.cos(a)*Math.cos(s);return 2*i*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))}function a(t,e,n,i){var a=i||o,s=Object(r["l"])(t[1]),c=Object(r["l"])(t[0]),u=e/a,l=Math.asin(Math.sin(s)*Math.cos(u)+Math.cos(s)*Math.sin(u)*Math.cos(n)),h=c+Math.atan2(Math.sin(n)*Math.sin(u)*Math.cos(s),Math.cos(u)-Math.sin(s)*Math.sin(l));return[Object(r["k"])(h),Object(r["k"])(l)]}},"7b0b":function(t,e,n){var r=n("1d80"),o=Object;t.exports=function(t){return o(r(t))}},"7b4f":function(t,e,n){"use strict";e["a"]={PROPERTYCHANGE:"propertychange"}},"7f98":function(t,e,n){"use strict";var r=n("5e31"),o=n("acc1"),i=n("0999"),a=n("01d4"),s=n("0ec0"),c=n("1300"),u=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i.extent=e,i.pixelRatio_=r,i.resolution=n,i.state=o,i}return u(e,t),e.prototype.changed=function(){this.dispatchEvent(a["a"].CHANGE)},e.prototype.getExtent=function(){return this.extent},e.prototype.getImage=function(){return Object(c["b"])()},e.prototype.getPixelRatio=function(){return this.pixelRatio_},e.prototype.getResolution=function(){return this.resolution},e.prototype.getState=function(){return this.state},e.prototype.load=function(){Object(c["b"])()},e}(s["a"]),h=l,p=n("869f"),f=n("617d"),d=n("0af5"),v=n("1e8d"),g=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){function e(e,n,r,o,i,a){var s=t.call(this,e,n,r,p["a"].IDLE)||this;return s.src_=o,s.image_=new Image,null!==i&&(s.image_.crossOrigin=i),s.unlisten_=null,s.state=p["a"].IDLE,s.imageLoadFunction_=a,s}g(e,t),e.prototype.getImage=function(){return this.image_},e.prototype.handleImageError_=function(){this.state=p["a"].ERROR,this.unlistenImage_(),this.changed()},e.prototype.handleImageLoad_=function(){void 0===this.resolution&&(this.resolution=Object(d["x"])(this.extent)/this.image_.height),this.state=p["a"].LOADED,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state!=p["a"].IDLE&&this.state!=p["a"].ERROR||(this.state=p["a"].LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=y(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.setImage=function(t){this.image_=t,this.resolution=Object(d["x"])(this.extent)/this.image_.height},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}})(h);function y(t,e,n){var r=t,o=!0,i=!1,s=!1,c=[Object(v["b"])(r,a["a"].LOAD,(function(){s=!0,i||e()}))];return r.src&&f["c"]?(i=!0,r.decode().then((function(){o&&e()})).catch((function(t){o&&(s?e():n())}))):c.push(Object(v["b"])(r,a["a"].ERROR,n)),function(){o=!1,c.forEach(v["c"])}}var _=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),m=function(t){function e(e,n,r,o,i,a){var s=t.call(this,e,n,a)||this;return s.crossOrigin_=o,s.src_=r,s.key=r,s.image_=new Image,null!==o&&(s.image_.crossOrigin=o),s.unlisten_=null,s.tileLoadFunction_=i,s}return _(e,t),e.prototype.getImage=function(){return this.image_},e.prototype.setImage=function(t){this.image_=t,this.state=o["a"].LOADED,this.unlistenImage_(),this.changed()},e.prototype.handleImageError_=function(){this.state=o["a"].ERROR,this.unlistenImage_(),this.image_=b(),this.changed()},e.prototype.handleImageLoad_=function(){var t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=o["a"].LOADED:this.state=o["a"].EMPTY,this.unlistenImage_(),this.changed()},e.prototype.load=function(){this.state==o["a"].ERROR&&(this.state=o["a"].IDLE,this.image_=new Image,null!==this.crossOrigin_&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==o["a"].IDLE&&(this.state=o["a"].LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=y(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},e.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)},e}(r["a"]);function b(){var t=Object(i["a"])(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}e["a"]=m},"7f9a":function(t,e,n){var r=n("da84"),o=n("1626"),i=n("8925"),a=r.WeakMap;t.exports=o(a)&&/native code/.test(i(a))},"7fc9":function(t,e,n){"use strict";function r(t,e,n){return Math.min(Math.max(t,e),n)}n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"f",(function(){return i})),n.d(e,"j",(function(){return a})),n.d(e,"i",(function(){return s})),n.d(e,"h",(function(){return c})),n.d(e,"k",(function(){return u})),n.d(e,"l",(function(){return l})),n.d(e,"g",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"d",(function(){return d})),n.d(e,"a",(function(){return v}));var o=function(){var t;return t="cosh"in Math?Math.cosh:function(t){var e=Math.exp(t);return(e+1/e)/2},t}(),i=function(){var t;return t="log2"in Math?Math.log2:function(t){return Math.log(t)*Math.LOG2E},t}();function a(t,e,n,r,o,i){var a=o-n,c=i-r;if(0!==a||0!==c){var u=((t-n)*a+(e-r)*c)/(a*a+c*c);u>1?(n=o,r=i):u>0&&(n+=a*u,r+=c*u)}return s(t,e,n,r)}function s(t,e,n,r){var o=n-t,i=r-e;return o*o+i*i}function c(t){for(var e=t.length,n=0;n<e;n++){for(var r=n,o=Math.abs(t[n][n]),i=n+1;i<e;i++){var a=Math.abs(t[i][n]);a>o&&(o=a,r=i)}if(0===o)return null;var s=t[r];t[r]=t[n],t[n]=s;for(var c=n+1;c<e;c++)for(var u=-t[c][n]/t[n][n],l=n;l<e+1;l++)n==l?t[c][l]=0:t[c][l]+=u*t[n][l]}for(var h=new Array(e),p=e-1;p>=0;p--){h[p]=t[p][e]/t[p][p];for(var f=p-1;f>=0;f--)t[f][e]-=t[f][p]*h[p]}return h}function u(t){return 180*t/Math.PI}function l(t){return t*Math.PI/180}function h(t,e){var n=t%e;return n*e<0?n+e:n}function p(t,e,n){return t+n*(e-t)}function f(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n}function d(t,e){return Math.floor(f(t,e))}function v(t,e){return Math.ceil(f(t,e))}},"825a":function(t,e,n){var r=n("861d"),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not an object")}},"835b":function(t,e,n){"use strict";var r=n("1300"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(e){var n=this,o="latest"===r["a"]?r["a"]:"v"+r["a"].split("-")[0],i="Assertion failed. See https://openlayers.org/en/"+o+"/doc/errors/#"+e+" for details.";return n=t.call(this,i)||this,n.code=e,n.name="AssertionError",n.message=i,n}return o(e,t),e}(Error);e["a"]=i},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e,n){var r=n("1626");t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},"869f":function(t,e,n){"use strict";e["a"]={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},8925:function(t,e,n){var r=n("e330"),o=n("1626"),i=n("c6cd"),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},"8bbf":function(e,n){e.exports=t},"8cc5":function(t,e,n){"use strict";n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s}));var r=n("7fc9");function o(t){return void 0!==t?0:void 0}function i(t){return void 0!==t?t:void 0}function a(t){var e=2*Math.PI/t;return function(t,n){return n?t:void 0!==t?(t=Math.floor(t/e+.5)*e,t):void 0}}function s(t){var e=t||Object(r["l"])(5);return function(t,n){return n?t:void 0!==t?Math.abs(t)<=e?0:t:void 0}}},"90e3":function(t,e,n){var r=n("e330"),o=0,i=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},9112:function(t,e,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"92fa":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("835b");function o(t,e){if(!t)throw new r["a"](e)}},"94ca":function(t,e,n){var r=n("d039"),o=n("1626"),i=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==l||n!=u&&(o(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},"9bf2":function(t,e,n){var r=n("83ab"),o=n("0cfb"),i=n("aed9"),a=n("825a"),s=n("a04b"),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,h="enumerable",p="configurable",f="writable";e.f=r?i?function(t,e,n){if(a(t),e=s(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&f in n&&!n[f]){var r=l(t,e);r&&r[f]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:h in n?n[h]:r[h],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9f5e":function(t,e,n){"use strict";function r(t,e){return t>e?1:t<e?-1:0}function o(t,e,n){var r=t.length;if(t[0]<=e)return 0;if(e<=t[r-1])return r-1;var o=void 0;if(n>0){for(o=1;o<r;++o)if(t[o]<e)return o-1}else if(n<0){for(o=1;o<r;++o)if(t[o]<=e)return o}else for(o=1;o<r;++o){if(t[o]==e)return o;if(t[o]<e)return"function"===typeof n?n(e,t[o-1],t[o])>0?o-1:o:t[o-1]-e<e-t[o]?o-1:o}return r-1}function i(t,e){for(var n=Array.isArray(e)?e:[e],r=n.length,o=0;o<r;o++)t[t.length]=n[o]}function a(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function s(t,e,n){var o=e||r;return t.every((function(e,r){if(0===r)return!0;var i=o(t[r-1],e);return!(i>0||n&&0===i)}))}n.d(e,"e",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return s}))},a04b:function(t,e,n){var r=n("c04e"),o=n("d9b5");t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},a2c7:function(t,e,n){"use strict";var r=n("e269"),o=n("fced"),i=n("496f"),a={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},s=n("0414"),c=n("256f"),u=n("57cb"),l=n("a568"),h=n("92fa"),p=n("38f3"),f=n("7fc9");function d(t,e,n){return function(r,o,i,a,s){if(r){if(!o&&!e)return r;var c=e?0:i[0]*o,u=e?0:i[1]*o,l=s?s[0]:0,h=s?s[1]:0,p=t[0]+c/2+l,d=t[2]-c/2+l,v=t[1]+u/2+h,g=t[3]-u/2+h;p>d&&(p=(d+p)/2,d=p),v>g&&(v=(g+v)/2,g=v);var y=Object(f["b"])(r[0],p,d),_=Object(f["b"])(r[1],v,g);if(a&&n&&o){var m=30*o;y+=-m*Math.log(1+Math.max(0,p-r[0])/m)+m*Math.log(1+Math.max(0,r[0]-d)/m),_+=-m*Math.log(1+Math.max(0,v-r[1])/m)+m*Math.log(1+Math.max(0,r[1]-g)/m)}return[y,_]}}}function v(t){return t}var g=n("0af5"),y=n("9f5e");function _(t,e,n,r){var o=Object(g["C"])(e)/n[0],i=Object(g["x"])(e)/n[1];return r?Math.min(t,Math.max(o,i)):Math.min(t,Math.min(o,i))}function m(t,e,n){var r=Math.min(t,e),o=50;return r*=Math.log(1+o*Math.max(0,t/e-1))/o+1,n&&(r=Math.max(r,n),r/=Math.log(1+o*Math.max(0,n/t-1))/o+1),Object(f["b"])(r,n/2,2*e)}function b(t,e,n,r){return function(o,i,a,s){if(void 0!==o){var c=t[0],u=t[t.length-1],l=n?_(c,n,a,r):c;if(s){var h=void 0===e||e;return h?m(o,l,u):Object(f["b"])(o,u,l)}var p=Math.min(l,o),d=Math.floor(Object(y["d"])(t,p,i));return t[d]>l&&d<t.length-1?t[d+1]:t[d]}}}function O(t,e,n,r,o,i){return function(a,s,c,u){if(void 0!==a){var l=o?_(e,o,c,i):e,h=void 0!==n?n:0;if(u){var p=void 0===r||r;return p?m(a,l,h):Object(f["b"])(a,h,l)}var d=1e-9,v=Math.ceil(Math.log(e/l)/Math.log(t)-d),g=-s*(.5-d)+.5,y=Math.min(l,a),b=Math.floor(Math.log(e/y)/Math.log(t)+g),O=Math.max(v,b),E=e/Math.pow(t,O);return Object(f["b"])(E,h,l)}}}function E(t,e,n,r,o){return function(i,a,s,c){if(void 0!==i){var u=r?_(t,r,s,o):t,l=void 0===n||n;return l&&c?m(i,u,e):Object(f["b"])(i,e,u)}}}var x=n("8cc5"),w=n("ca42"),j=n("5bc3"),C=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),T=0,R=function(t){function e(e){var n=t.call(this)||this;n.on,n.once,n.un;var r=Object(p["a"])({},e);return n.hints_=[0,0],n.animations_=[],n.updateAnimationKey_,n.projection_=Object(c["b"])(r.projection,"EPSG:3857"),n.viewportSize_=[100,100],n.targetCenter_=null,n.targetResolution_,n.targetRotation_,n.nextCenter_=null,n.nextResolution_,n.nextRotation_,n.cancelAnchor_=void 0,r.projection&&Object(c["c"])(),r.center&&(r.center=Object(c["e"])(r.center,n.projection_)),r.extent&&(r.extent=Object(c["f"])(r.extent,n.projection_)),n.applyOptions_(r),n}return C(e,t),e.prototype.applyOptions_=function(t){var e=Object(p["a"])({},t);for(var n in a)delete e[n];this.setProperties(e,!0);var r=I(t);this.maxResolution_=r.maxResolution,this.minResolution_=r.minResolution,this.zoomFactor_=r.zoomFactor,this.resolutions_=t.resolutions,this.padding_=t.padding,this.minZoom_=r.minZoom;var o=S(t),i=r.constraint,s=A(t);this.constraints_={center:o,resolution:i,rotation:s},this.setRotation(void 0!==t.rotation?t.rotation:0),this.setCenterInternal(void 0!==t.center?t.center:null),void 0!==t.resolution?this.setResolution(t.resolution):void 0!==t.zoom&&this.setZoom(t.zoom)},Object.defineProperty(e.prototype,"padding",{get:function(){return this.padding_},set:function(t){var e=this.padding_;this.padding_=t;var n=this.getCenter();if(n){var r=t||[0,0,0,0];e=e||[0,0,0,0];var o=this.getResolution(),i=o/2*(r[3]-e[3]+e[1]-r[1]),a=o/2*(r[0]-e[0]+e[2]-r[2]);this.setCenterInternal([n[0]+i,n[1]-a])}},enumerable:!1,configurable:!0}),e.prototype.getUpdatedOptions_=function(t){var e=this.getProperties();return void 0!==e.resolution?e.resolution=this.getResolution():e.zoom=this.getZoom(),e.center=this.getCenterInternal(),e.rotation=this.getRotation(),Object(p["a"])({},e,t)},e.prototype.animate=function(t){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);for(var e=new Array(arguments.length),n=0;n<e.length;++n){var r=arguments[n];r.center&&(r=Object(p["a"])({},r),r.center=Object(c["e"])(r.center,this.getProjection())),r.anchor&&(r=Object(p["a"])({},r),r.anchor=Object(c["e"])(r.anchor,this.getProjection())),e[n]=r}this.animateInternal.apply(this,e)},e.prototype.animateInternal=function(t){var e,n=arguments.length;n>1&&"function"===typeof arguments[n-1]&&(e=arguments[n-1],--n);for(var r=0;r<n&&!this.isDef();++r){var o=arguments[r];o.center&&this.setCenterInternal(o.center),void 0!==o.zoom?this.setZoom(o.zoom):o.resolution&&this.setResolution(o.resolution),void 0!==o.rotation&&this.setRotation(o.rotation)}if(r!==n){for(var a=Date.now(),s=this.targetCenter_.slice(),c=this.targetResolution_,u=this.targetRotation_,l=[];r<n;++r){var h=arguments[r],p={start:a,complete:!1,anchor:h.anchor,duration:void 0!==h.duration?h.duration:1e3,easing:h.easing||w["c"],callback:e};if(h.center&&(p.sourceCenter=s,p.targetCenter=h.center.slice(),s=p.targetCenter),void 0!==h.zoom?(p.sourceResolution=c,p.targetResolution=this.getResolutionForZoom(h.zoom),c=p.targetResolution):h.resolution&&(p.sourceResolution=c,p.targetResolution=h.resolution,c=p.targetResolution),void 0!==h.rotation){p.sourceRotation=u;var d=Object(f["g"])(h.rotation-u+Math.PI,2*Math.PI)-Math.PI;p.targetRotation=u+d,u=p.targetRotation}M(p)?p.complete=!0:a+=p.duration,l.push(p)}this.animations_.push(l),this.setHint(i["a"].ANIMATING,1),this.updateAnimations_()}else e&&P(e,!0)},e.prototype.getAnimating=function(){return this.hints_[i["a"].ANIMATING]>0},e.prototype.getInteracting=function(){return this.hints_[i["a"].INTERACTING]>0},e.prototype.cancelAnimations=function(){var t;this.setHint(i["a"].ANIMATING,-this.hints_[i["a"].ANIMATING]);for(var e=0,n=this.animations_.length;e<n;++e){var r=this.animations_[e];if(r[0].callback&&P(r[0].callback,!1),!t)for(var o=0,a=r.length;o<a;++o){var s=r[o];if(!s.complete){t=s.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=t,this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN},e.prototype.updateAnimations_=function(){if(void 0!==this.updateAnimationKey_&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),this.getAnimating()){for(var t=Date.now(),e=!1,n=this.animations_.length-1;n>=0;--n){for(var r=this.animations_[n],o=!0,a=0,s=r.length;a<s;++a){var c=r[a];if(!c.complete){var u=t-c.start,l=c.duration>0?u/c.duration:1;l>=1?(c.complete=!0,l=1):o=!1;var h=c.easing(l);if(c.sourceCenter){var p=c.sourceCenter[0],d=c.sourceCenter[1],v=c.targetCenter[0],g=c.targetCenter[1];this.nextCenter_=c.targetCenter;var y=p+h*(v-p),_=d+h*(g-d);this.targetCenter_=[y,_]}if(c.sourceResolution&&c.targetResolution){var m=1===h?c.targetResolution:c.sourceResolution+h*(c.targetResolution-c.sourceResolution);if(c.anchor){var b=this.getViewportSize_(this.getRotation()),O=this.constraints_.resolution(m,0,b,!0);this.targetCenter_=this.calculateCenterZoom(O,c.anchor)}this.nextResolution_=c.targetResolution,this.targetResolution_=m,this.applyTargetState_(!0)}if(void 0!==c.sourceRotation&&void 0!==c.targetRotation){var E=1===h?Object(f["g"])(c.targetRotation+Math.PI,2*Math.PI)-Math.PI:c.sourceRotation+h*(c.targetRotation-c.sourceRotation);if(c.anchor){var x=this.constraints_.rotation(E,!0);this.targetCenter_=this.calculateCenterRotate(x,c.anchor)}this.nextRotation_=c.targetRotation,this.targetRotation_=E}if(this.applyTargetState_(!0),e=!0,!c.complete)break}}if(o){this.animations_[n]=null,this.setHint(i["a"].ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;var w=r[0].callback;w&&P(w,!0)}}this.animations_=this.animations_.filter(Boolean),e&&void 0===this.updateAnimationKey_&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}},e.prototype.calculateCenterRotate=function(t,e){var n,r=this.getCenterInternal();return void 0!==r&&(n=[r[0]-e[0],r[1]-e[1]],Object(l["d"])(n,t-this.getRotation()),Object(l["a"])(n,e)),n},e.prototype.calculateCenterZoom=function(t,e){var n,r=this.getCenterInternal(),o=this.getResolution();if(void 0!==r&&void 0!==o){var i=e[0]-t*(e[0]-r[0])/o,a=e[1]-t*(e[1]-r[1])/o;n=[i,a]}return n},e.prototype.getViewportSize_=function(t){var e=this.viewportSize_;if(t){var n=e[0],r=e[1];return[Math.abs(n*Math.cos(t))+Math.abs(r*Math.sin(t)),Math.abs(n*Math.sin(t))+Math.abs(r*Math.cos(t))]}return e},e.prototype.setViewportSize=function(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)},e.prototype.getCenter=function(){var t=this.getCenterInternal();return t?Object(c["k"])(t,this.getProjection()):t},e.prototype.getCenterInternal=function(){return this.get(a.CENTER)},e.prototype.getConstraints=function(){return this.constraints_},e.prototype.getConstrainResolution=function(){return this.get("constrainResolution")},e.prototype.getHints=function(t){return void 0!==t?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()},e.prototype.calculateExtent=function(t){var e=this.calculateExtentInternal(t);return Object(c["l"])(e,this.getProjection())},e.prototype.calculateExtentInternal=function(t){var e=t||this.getViewportSizeMinusPadding_(),n=this.getCenterInternal();Object(h["a"])(n,1);var r=this.getResolution();Object(h["a"])(void 0!==r,2);var o=this.getRotation();return Object(h["a"])(void 0!==o,3),Object(g["w"])(n,r,o,e)},e.prototype.getMaxResolution=function(){return this.maxResolution_},e.prototype.getMinResolution=function(){return this.minResolution_},e.prototype.getMaxZoom=function(){return this.getZoomForResolution(this.minResolution_)},e.prototype.setMaxZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))},e.prototype.getMinZoom=function(){return this.getZoomForResolution(this.maxResolution_)},e.prototype.setMinZoom=function(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))},e.prototype.setConstrainResolution=function(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))},e.prototype.getProjection=function(){return this.projection_},e.prototype.getResolution=function(){return this.get(a.RESOLUTION)},e.prototype.getResolutions=function(){return this.resolutions_},e.prototype.getResolutionForExtent=function(t,e){return this.getResolutionForExtentInternal(Object(c["f"])(t,this.getProjection()),e)},e.prototype.getResolutionForExtentInternal=function(t,e){var n=e||this.getViewportSizeMinusPadding_(),r=Object(g["C"])(t)/n[0],o=Object(g["x"])(t)/n[1];return Math.max(r,o)},e.prototype.getResolutionForValueFunction=function(t){var e=t||2,n=this.getConstrainedResolution(this.maxResolution_),r=this.minResolution_,o=Math.log(n/r)/Math.log(e);return function(t){var r=n/Math.pow(e,t*o);return r}},e.prototype.getRotation=function(){return this.get(a.ROTATION)},e.prototype.getValueForResolutionFunction=function(t){var e=Math.log(t||2),n=this.getConstrainedResolution(this.maxResolution_),r=this.minResolution_,o=Math.log(n/r)/e;return function(t){var r=Math.log(n/t)/e/o;return r}},e.prototype.getViewportSizeMinusPadding_=function(t){var e=this.getViewportSize_(t),n=this.padding_;return n&&(e=[e[0]-n[1]-n[3],e[1]-n[0]-n[2]]),e},e.prototype.getState=function(){var t=this.getProjection(),e=this.getResolution(),n=this.getRotation(),r=this.getCenterInternal(),o=this.padding_;if(o){var i=this.getViewportSizeMinusPadding_();r=L(r,this.getViewportSize_(),[i[0]/2+o[3],i[1]/2+o[0]],e,n)}return{center:r.slice(0),projection:void 0!==t?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:n,zoom:this.getZoom()}},e.prototype.getZoom=function(){var t,e=this.getResolution();return void 0!==e&&(t=this.getZoomForResolution(e)),t},e.prototype.getZoomForResolution=function(t){var e,n,r=this.minZoom_||0;if(this.resolutions_){var o=Object(y["d"])(this.resolutions_,t,1);r=o,e=this.resolutions_[o],n=o==this.resolutions_.length-1?2:e/this.resolutions_[o+1]}else e=this.maxResolution_,n=this.zoomFactor_;return r+Math.log(e/t)/Math.log(n)},e.prototype.getResolutionForZoom=function(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;var e=Object(f["b"])(Math.floor(t),0,this.resolutions_.length-2),n=this.resolutions_[e]/this.resolutions_[e+1];return this.resolutions_[e]/Math.pow(n,Object(f["b"])(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)},e.prototype.fit=function(t,e){var n;if(Object(h["a"])(Array.isArray(t)||"function"===typeof t.getSimplifiedGeometry,24),Array.isArray(t)){Object(h["a"])(!Object(g["F"])(t),25);var r=Object(c["f"])(t,this.getProjection());n=Object(j["b"])(r)}else if("Circle"===t.getType()){r=Object(c["f"])(t.getExtent(),this.getProjection());n=Object(j["b"])(r),n.rotate(this.getRotation(),Object(g["u"])(r))}else{var o=Object(c["j"])();n=o?t.clone().transform(o,this.getProjection()):t}this.fitInternal(n,e)},e.prototype.rotatedExtentForGeometry=function(t){for(var e=this.getRotation(),n=Math.cos(e),r=Math.sin(-e),o=t.getFlatCoordinates(),i=t.getStride(),a=1/0,s=1/0,c=-1/0,u=-1/0,l=0,h=o.length;l<h;l+=i){var p=o[l]*n-o[l+1]*r,f=o[l]*r+o[l+1]*n;a=Math.min(a,p),s=Math.min(s,f),c=Math.max(c,p),u=Math.max(u,f)}return[a,s,c,u]},e.prototype.fitInternal=function(t,e){var n=e||{},r=n.size;r||(r=this.getViewportSizeMinusPadding_());var o,i=void 0!==n.padding?n.padding:[0,0,0,0],a=void 0!==n.nearest&&n.nearest;o=void 0!==n.minResolution?n.minResolution:void 0!==n.maxZoom?this.getResolutionForZoom(n.maxZoom):0;var s=this.rotatedExtentForGeometry(t),c=this.getResolutionForExtentInternal(s,[r[0]-i[1]-i[3],r[1]-i[0]-i[2]]);c=isNaN(c)?o:Math.max(c,o),c=this.getConstrainedResolution(c,a?0:1);var l=this.getRotation(),h=Math.sin(l),p=Math.cos(l),f=Object(g["u"])(s);f[0]+=(i[1]-i[3])/2*c,f[1]+=(i[0]-i[2])/2*c;var d=f[0]*p-f[1]*h,v=f[1]*p+f[0]*h,y=this.getConstrainedCenter([d,v],c),_=n.callback?n.callback:u["c"];void 0!==n.duration?this.animateInternal({resolution:c,center:y,duration:n.duration,easing:n.easing},_):(this.targetResolution_=c,this.targetCenter_=y,this.applyTargetState_(!1,!0),P(_,!0))},e.prototype.centerOn=function(t,e,n){this.centerOnInternal(Object(c["e"])(t,this.getProjection()),e,n)},e.prototype.centerOnInternal=function(t,e,n){this.setCenterInternal(L(t,e,n,this.getResolution(),this.getRotation()))},e.prototype.calculateCenterShift=function(t,e,n,r){var o,i=this.padding_;if(i&&t){var a=this.getViewportSizeMinusPadding_(-n),s=L(t,r,[a[0]/2+i[3],a[1]/2+i[0]],e,n);o=[t[0]-s[0],t[1]-s[1]]}return o},e.prototype.isDef=function(){return!!this.getCenterInternal()&&void 0!==this.getResolution()},e.prototype.adjustCenter=function(t){var e=Object(c["k"])(this.targetCenter_,this.getProjection());this.setCenter([e[0]+t[0],e[1]+t[1]])},e.prototype.adjustCenterInternal=function(t){var e=this.targetCenter_;this.setCenterInternal([e[0]+t[0],e[1]+t[1]])},e.prototype.adjustResolution=function(t,e){var n=e&&Object(c["e"])(e,this.getProjection());this.adjustResolutionInternal(t,n)},e.prototype.adjustResolutionInternal=function(t,e){var n=this.getAnimating()||this.getInteracting(),r=this.getViewportSize_(this.getRotation()),o=this.constraints_.resolution(this.targetResolution_*t,0,r,n);e&&(this.targetCenter_=this.calculateCenterZoom(o,e)),this.targetResolution_*=t,this.applyTargetState_()},e.prototype.adjustZoom=function(t,e){this.adjustResolution(Math.pow(this.zoomFactor_,-t),e)},e.prototype.adjustRotation=function(t,e){e&&(e=Object(c["e"])(e,this.getProjection())),this.adjustRotationInternal(t,e)},e.prototype.adjustRotationInternal=function(t,e){var n=this.getAnimating()||this.getInteracting(),r=this.constraints_.rotation(this.targetRotation_+t,n);e&&(this.targetCenter_=this.calculateCenterRotate(r,e)),this.targetRotation_+=t,this.applyTargetState_()},e.prototype.setCenter=function(t){this.setCenterInternal(t?Object(c["e"])(t,this.getProjection()):t)},e.prototype.setCenterInternal=function(t){this.targetCenter_=t,this.applyTargetState_()},e.prototype.setHint=function(t,e){return this.hints_[t]+=e,this.changed(),this.hints_[t]},e.prototype.setResolution=function(t){this.targetResolution_=t,this.applyTargetState_()},e.prototype.setRotation=function(t){this.targetRotation_=t,this.applyTargetState_()},e.prototype.setZoom=function(t){this.setResolution(this.getResolutionForZoom(t))},e.prototype.applyTargetState_=function(t,e){var n=this.getAnimating()||this.getInteracting()||e,r=this.constraints_.rotation(this.targetRotation_,n),o=this.getViewportSize_(r),i=this.constraints_.resolution(this.targetResolution_,0,o,n),s=this.constraints_.center(this.targetCenter_,i,o,n,this.calculateCenterShift(this.targetCenter_,i,r,o));this.get(a.ROTATION)!==r&&this.set(a.ROTATION,r),this.get(a.RESOLUTION)!==i&&(this.set(a.RESOLUTION,i),this.set("zoom",this.getZoom(),!0)),s&&this.get(a.CENTER)&&Object(l["b"])(this.get(a.CENTER),s)||this.set(a.CENTER,s),this.getAnimating()&&!t&&this.cancelAnimations(),this.cancelAnchor_=void 0},e.prototype.resolveConstraints=function(t,e,n){var r=void 0!==t?t:200,o=e||0,i=this.constraints_.rotation(this.targetRotation_),a=this.getViewportSize_(i),s=this.constraints_.resolution(this.targetResolution_,o,a),c=this.constraints_.center(this.targetCenter_,s,a,!1,this.calculateCenterShift(this.targetCenter_,s,i,a));if(0===r&&!this.cancelAnchor_)return this.targetResolution_=s,this.targetRotation_=i,this.targetCenter_=c,void this.applyTargetState_();var u=n||(0===r?this.cancelAnchor_:void 0);this.cancelAnchor_=void 0,this.getResolution()===s&&this.getRotation()===i&&this.getCenterInternal()&&Object(l["b"])(this.getCenterInternal(),c)||(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:i,center:c,resolution:s,duration:r,easing:w["b"],anchor:u}))},e.prototype.beginInteraction=function(){this.resolveConstraints(0),this.setHint(i["a"].INTERACTING,1)},e.prototype.endInteraction=function(t,e,n){var r=n&&Object(c["e"])(n,this.getProjection());this.endInteractionInternal(t,e,r)},e.prototype.endInteractionInternal=function(t,e,n){this.setHint(i["a"].INTERACTING,-1),this.resolveConstraints(t,e,n)},e.prototype.getConstrainedCenter=function(t,e){var n=this.getViewportSize_(this.getRotation());return this.constraints_.center(t,e||this.getResolution(),n)},e.prototype.getConstrainedZoom=function(t,e){var n=this.getResolutionForZoom(t);return this.getZoomForResolution(this.getConstrainedResolution(n,e))},e.prototype.getConstrainedResolution=function(t,e){var n=e||0,r=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(t,n,r)},e}(r["a"]);function P(t,e){setTimeout((function(){t(e)}),0)}function S(t){if(void 0!==t.extent){var e=void 0===t.smoothExtentConstraint||t.smoothExtentConstraint;return d(t.extent,t.constrainOnlyCenter,e)}var n=Object(c["b"])(t.projection,"EPSG:3857");if(!0!==t.multiWorld&&n.isGlobal()){var r=n.getExtent().slice();return r[0]=-1/0,r[2]=1/0,d(r,!1,!1)}return v}function I(t){var e,n,r,i=28,a=2,u=void 0!==t.minZoom?t.minZoom:T,l=void 0!==t.maxZoom?t.maxZoom:i,h=void 0!==t.zoomFactor?t.zoomFactor:a,p=void 0!==t.multiWorld&&t.multiWorld,f=void 0===t.smoothResolutionConstraint||t.smoothResolutionConstraint,d=void 0!==t.showFullExtent&&t.showFullExtent,v=Object(c["b"])(t.projection,"EPSG:3857"),y=v.getExtent(),_=t.constrainOnlyCenter,m=t.extent;if(p||m||!v.isGlobal()||(_=!1,m=y),void 0!==t.resolutions){var x=t.resolutions;n=x[u],r=void 0!==x[l]?x[l]:x[x.length-1],e=t.constrainResolution?b(x,f,!_&&m,d):E(n,r,f,!_&&m,d)}else{var w=y?Math.max(Object(g["C"])(y),Object(g["x"])(y)):360*c["a"][o["b"].DEGREES]/v.getMetersPerUnit(),j=w/s["b"]/Math.pow(a,T),C=j/Math.pow(a,i-T);n=t.maxResolution,void 0!==n?u=0:n=j/Math.pow(h,u),r=t.minResolution,void 0===r&&(r=void 0!==t.maxZoom?void 0!==t.maxResolution?n/Math.pow(h,l):j/Math.pow(h,l):C),l=u+Math.floor(Math.log(n/r)/Math.log(h)),r=n/Math.pow(h,l-u),e=t.constrainResolution?O(h,n,r,f,!_&&m,d):E(n,r,f,!_&&m,d)}return{constraint:e,maxResolution:n,minResolution:r,minZoom:u,zoomFactor:h}}function A(t){var e=void 0===t.enableRotation||t.enableRotation;if(e){var n=t.constrainRotation;return void 0===n||!0===n?Object(x["b"])():!1===n?x["d"]:"number"===typeof n?Object(x["a"])(n):x["d"]}return x["c"]}function M(t){return!(t.sourceCenter&&t.targetCenter&&!Object(l["b"])(t.sourceCenter,t.targetCenter))&&(t.sourceResolution===t.targetResolution&&t.sourceRotation===t.targetRotation)}function L(t,e,n,r,o){var i=Math.cos(-o),a=Math.sin(-o),s=t[0]*i-t[1]*a,c=t[1]*i+t[0]*a;s+=(e[0]/2-n[0])*r,c+=(n[1]-e[1]/2)*r,a=-a;var u=s*i-c*a,l=c*i+s*a;return[u,l]}e["a"]=R},a504:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o}));var r=.5,o=!0},a568:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"d",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return c})),n.d(e,"c",(function(){return u}));var r=n("0af5");n("7fc9");function o(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function i(t,e){for(var n=!0,r=t.length-1;r>=0;--r)if(t[r]!=e[r]){n=!1;break}return n}function a(t,e){var n=Math.cos(e),r=Math.sin(e),o=t[0]*n-t[1]*r,i=t[1]*n+t[0]*r;return t[0]=o,t[1]=i,t}function s(t,e){return t[0]*=e,t[1]*=e,t}function c(t,e){if(e.canWrapX()){var n=Object(r["C"])(e.getExtent()),o=u(t,e,n);o&&(t[0]-=o*n)}return t}function u(t,e,n){var o=e.getExtent(),i=0;if(e.canWrapX()&&(t[0]<o[0]||t[0]>o[2])){var a=n||Object(r["C"])(o);i=Math.floor((t[0]-o[0])/a)}return i}},a896:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return c})),n.d(e,"d",(function(){return u})),n.d(e,"e",(function(){return h}));var r,o=n("617d"),i=n("92fa");new Array(6);function a(){return[1,0,0,1,0,0]}function s(t,e){var n=e[0],r=e[1];return e[0]=t[0]*n+t[2]*r+t[4],e[1]=t[1]*n+t[3]*r+t[5],e}function c(t,e,n,r,o,i,a,s){var c=Math.sin(i),u=Math.cos(i);return t[0]=r*u,t[1]=o*c,t[2]=-r*c,t[3]=o*u,t[4]=a*r*u-s*r*c+e,t[5]=a*o*c+s*o*u+n,t}function u(t,e){var n=l(e);Object(i["a"])(0!==n,32);var r=e[0],o=e[1],a=e[2],s=e[3],c=e[4],u=e[5];return t[0]=s/n,t[1]=-o/n,t[2]=-a/n,t[3]=r/n,t[4]=(a*u-s*c)/n,t[5]=-(r*u-o*c)/n,t}function l(t){return t[0]*t[3]-t[1]*t[2]}function h(t){var e="matrix("+t.join(", ")+")";if(o["g"])return e;var n=r||(r=document.createElement("div"));return n.style.transform=e,n.style.transform}},ab36:function(t,e,n){var r=n("861d"),o=n("9112");t.exports=function(t,e){r(e)&&"cause"in e&&o(t,"cause",e.cause)}},acc1:function(t,e,n){"use strict";e["a"]={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},aeb0:function(t,e,n){var r=n("9bf2").f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},aed9:function(t,e,n){var r=n("83ab"),o=n("d039");t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b42e:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},b622:function(t,e,n){var r=n("da84"),o=n("5692"),i=n("1a2d"),a=n("90e3"),s=n("4930"),c=n("fdbf"),u=o("wks"),l=r.Symbol,h=l&&l["for"],p=c?l:l&&l.withoutSetter||a;t.exports=function(t){if(!i(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&i(l,t)?u[t]=l[t]:u[t]=c&&h?h(e):p(e)}return u[t]}},b980:function(t,e,n){var r=n("d039"),o=n("5c6c");t.exports=!r((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},c04e:function(t,e,n){var r=n("c65b"),o=n("861d"),i=n("d9b5"),a=n("dc4a"),s=n("485a"),c=n("b622"),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=a(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},c430:function(t,e){t.exports=!1},c560:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return c}));var r=n("0af5");function o(t,e,n,r,o){var i;for(e+=r;e<n;e+=r)if(i=o(t.slice(e-r,e),t.slice(e,e+r)),i)return i;return!1}var i=n("25f1");function a(t,e,n,i,a){var s=Object(r["p"])(Object(r["h"])(),t,e,n,i);return!!Object(r["D"])(a,s)&&(!!Object(r["f"])(a,s)||(s[0]>=a[0]&&s[2]<=a[2]||(s[1]>=a[1]&&s[3]<=a[3]||o(t,e,n,i,(function(t,e){return Object(r["E"])(a,t,e)})))))}function s(t,e,n,r,o){return!!a(t,e,n,r,o)||(!!Object(i["b"])(t,e,n,r,o[0],o[1])||(!!Object(i["b"])(t,e,n,r,o[0],o[3])||(!!Object(i["b"])(t,e,n,r,o[2],o[1])||!!Object(i["b"])(t,e,n,r,o[2],o[3]))))}function c(t,e,n,r,o){if(!s(t,e,n[0],r,o))return!1;if(1===n.length)return!0;for(var c=1,u=n.length;c<u;++c)if(Object(i["a"])(t,n[c-1],n[c],r,o)&&!a(t,n[c-1],n[c],r,o))return!1;return!0}},c65b:function(t,e,n){var r=n("40d5"),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},c6b6:function(t,e,n){var r=n("e330"),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},c6cd:function(t,e,n){var r=n("da84"),o=n("6374"),i="__core-js_shared__",a=r[i]||o(i,{});t.exports=a},c770:function(t,e,n){var r=n("e330"),o=Error,i=r("".replace),a=function(t){return String(o(t).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(a);t.exports=function(t,e){if(c&&"string"==typeof t&&!o.prepareStackTrace)while(e--)t=i(t,s,"");return t}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca42:function(t,e,n){"use strict";function r(t){return Math.pow(t,3)}function o(t){return 1-r(1-t)}function i(t){return 3*t*t-2*t*t*t}function a(t){return t}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return a}))},ca84:function(t,e,n){var r=n("e330"),o=n("1a2d"),i=n("fc6a"),a=n("4d64").indexOf,s=n("d012"),c=r([].push);t.exports=function(t,e){var n,r=i(t),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);while(e.length>u)o(r,n=e[u++])&&(~a(l,n)||c(l,n));return l}},cb2d:function(t,e,n){var r=n("1626"),o=n("9bf2"),i=n("13d2"),a=n("6374");t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:e;if(r(n)&&i(n,u,s),s.global)c?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(l){}c?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},cc12:function(t,e,n){var r=n("da84"),o=n("861d"),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},cd7e:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"e",(function(){return u}));var r="ol-hidden",o="ol-unselectable",i="ol-control",a="ol-collapsed",s=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),c=["style","variant","weight","size","lineHeight","family"],u=function(t){var e=t.match(s);if(!e)return null;for(var n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},r=0,o=c.length;r<o;++r){var i=e[r+1];void 0!==i&&(n[c[r]]=i)}return n.families=n.family.split(/,\s?/),n}},cef7:function(t,e,n){"use strict";var r=function(){function t(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}return t.prototype.preventDefault=function(){this.defaultPrevented=!0},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t}();e["a"]=r},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("da84"),o=n("1626"),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},d2bb:function(t,e,n){var r=n("e330"),o=n("825a"),i=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(n,[]),e=n instanceof Array}catch(a){}return function(n,r){return o(n),i(r),e?t(n,r):n.__proto__=r,n}}():void 0)},d9b5:function(t,e,n){var r=n("d066"),o=n("1626"),i=n("3a9b"),a=n("fdbf"),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,s(t))}},d9e2:function(t,e,n){var r=n("23e7"),o=n("da84"),i=n("2ba4"),a=n("e5cb"),s="WebAssembly",c=o[s],u=7!==Error("e",{cause:7}).cause,l=function(t,e){var n={};n[t]=a(t,e,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},h=function(t,e){if(c&&c[t]){var n={};n[t]=a(s+"."+t,e,u),r({target:s,stat:!0,constructor:!0,arity:1,forced:u},n)}};l("Error",(function(t){return function(e){return i(t,this,arguments)}})),l("EvalError",(function(t){return function(e){return i(t,this,arguments)}})),l("RangeError",(function(t){return function(e){return i(t,this,arguments)}})),l("ReferenceError",(function(t){return function(e){return i(t,this,arguments)}})),l("SyntaxError",(function(t){return function(e){return i(t,this,arguments)}})),l("TypeError",(function(t){return function(e){return i(t,this,arguments)}})),l("URIError",(function(t){return function(e){return i(t,this,arguments)}})),h("CompileError",(function(t){return function(e){return i(t,this,arguments)}})),h("LinkError",(function(t){return function(e){return i(t,this,arguments)}})),h("RuntimeError",(function(t){return function(e){return i(t,this,arguments)}}))},da5c:function(t,e,n){"use strict";var r=function(){function t(){this.disposed=!1}return t.prototype.dispose=function(){this.disposed||(this.disposed=!0,this.disposeInternal())},t.prototype.disposeInternal=function(){},t}();e["a"]=r},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},dc07:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=function(){function t(t,e,n,r){this.minX=t,this.maxX=e,this.minY=n,this.maxY=r}return t.prototype.contains=function(t){return this.containsXY(t[1],t[2])},t.prototype.containsTileRange=function(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY},t.prototype.containsXY=function(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY},t.prototype.equals=function(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY},t.prototype.extend=function(t){t.minX<this.minX&&(this.minX=t.minX),t.maxX>this.maxX&&(this.maxX=t.maxX),t.minY<this.minY&&(this.minY=t.minY),t.maxY>this.maxY&&(this.maxY=t.maxY)},t.prototype.getHeight=function(){return this.maxY-this.minY+1},t.prototype.getSize=function(){return[this.getWidth(),this.getHeight()]},t.prototype.getWidth=function(){return this.maxX-this.minX+1},t.prototype.intersects=function(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY},t}();function o(t,e,n,o,i){return void 0!==i?(i.minX=t,i.maxX=e,i.minY=n,i.maxY=o,i):new r(t,e,n,o)}e["b"]=r},dc4a:function(t,e,n){var r=n("59ed");t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},ddea:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("e269"),o=n("0ec0"),i=n("617d"),a=n("38f3"),s=n("0999"),c=n("cd7e"),u=new r["a"],l=new o["a"];l.setSize=function(){console.warn("labelCache is deprecated.")};var h,p=null,f={};(function(){var t,e,n=100,r="32px ",o=["monospace","serif"],i=o.length,s="wmytzilWMYTZIL@#/&?$%10";function c(t,n,a){for(var c=!0,u=0;u<i;++u){var l=o[u];if(v(t+" "+n+" "+r+l,s),a!=l){var h=v(t+" "+n+" "+r+a+","+l,s);c&&h!=e}}return!!c}function l(){for(var e=!0,r=u.getKeys(),o=0,i=r.length;o<i;++o){var s=r[o];u.get(s)<n&&(c.apply(this,s.split("\n"))?(Object(a["b"])(f),null,void 0,u.set(s,n)):(u.set(s,u.get(s)+1,!0),!1))}e&&(clearInterval(t),void 0)}})(),function(){var t}();function d(t,e){return p||Object(s["a"])(1,1),t!=h&&(p.font=t,p.font),p.measureText(e)}function v(t,e){return d(t,e).width}},df4c:function(t,e,n){"use strict";e["a"]={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source",MAP:"map"}},e08b:function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid #b3c5db;background-color:hsla(0,0%,100%,.4)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-singlebar-even{background-color:#000}.ol-scale-singlebar-odd{background-color:#fff}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-step-marker{width:1px;height:15px;background-color:#000;float:right;z-index:10}.ol-scale-step-text{bottom:-5px;font-size:12px;z-index:11}.ol-scale-step-text,.ol-scale-text{position:absolute;color:#000;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}.ol-scale-text{font-size:14px;text-align:center;bottom:25px}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid #000}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ol-viewport canvas{all:unset}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.ol-control{position:absolute;background-color:hsla(0,0%,100%,.4);border-radius:4px;padding:2px}.ol-control:hover{background-color:hsla(0,0%,100%,.6)}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:rgba(0,60,136,.5);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;background-color:rgba(0,60,136,.7)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:rgba(0,60,136,.7);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:#000;text-shadow:0 0 2px #fff;font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:hsla(0,0%,100%,.8)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:2px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:hsla(0,0%,100%,.8)}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}',""]),t.exports=e},e269:function(t,e,n){"use strict";var r=n("cef7"),o=n("7b4f"),i=n("35a7"),a=n("38f3"),s=n("1300"),c=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.key=n,o.oldValue=r,o}return c(e,t),e}(r["a"]),l=function(t){function e(e){var n=t.call(this)||this;return n.on,n.once,n.un,Object(s["c"])(n),n.values_=null,void 0!==e&&n.setProperties(e),n}return c(e,t),e.prototype.get=function(t){var e;return this.values_&&this.values_.hasOwnProperty(t)&&(e=this.values_[t]),e},e.prototype.getKeys=function(){return this.values_&&Object.keys(this.values_)||[]},e.prototype.getProperties=function(){return this.values_&&Object(a["a"])({},this.values_)||{}},e.prototype.hasProperties=function(){return!!this.values_},e.prototype.notify=function(t,e){var n;n="change:".concat(t),this.hasListener(n)&&this.dispatchEvent(new u(n,t,e)),n=o["a"].PROPERTYCHANGE,this.hasListener(n)&&this.dispatchEvent(new u(n,t,e))},e.prototype.addChangeListener=function(t,e){this.addEventListener("change:".concat(t),e)},e.prototype.removeChangeListener=function(t,e){this.removeEventListener("change:".concat(t),e)},e.prototype.set=function(t,e,n){var r=this.values_||(this.values_={});if(n)r[t]=e;else{var o=r[t];r[t]=e,o!==e&&this.notify(t,o)}},e.prototype.setProperties=function(t,e){for(var n in t)this.set(n,t[n],e)},e.prototype.applyProperties=function(t){t.values_&&Object(a["a"])(this.values_||(this.values_={}),t.values_)},e.prototype.unset=function(t,e){if(this.values_&&t in this.values_){var n=this.values_[t];delete this.values_[t],Object(a["d"])(this.values_)&&(this.values_=null),e||this.notify(t,n)}},e}(i["a"]);e["a"]=l},e330:function(t,e,n){var r=n("40d5"),o=Function.prototype,i=o.bind,a=o.call,s=r&&i.bind(a,a);t.exports=r?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},e391:function(t,e,n){var r=n("577e");t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},e5cb:function(t,e,n){"use strict";var r=n("d066"),o=n("1a2d"),i=n("9112"),a=n("3a9b"),s=n("d2bb"),c=n("e893"),u=n("aeb0"),l=n("7156"),h=n("e391"),p=n("ab36"),f=n("c770"),d=n("b980"),v=n("83ab"),g=n("c430");t.exports=function(t,e,n,y){var _="stackTraceLimit",m=y?2:1,b=t.split("."),O=b[b.length-1],E=r.apply(null,b);if(E){var x=E.prototype;if(!g&&o(x,"cause")&&delete x.cause,!n)return E;var w=r("Error"),j=e((function(t,e){var n=h(y?e:t,void 0),r=y?new E(t):new E;return void 0!==n&&i(r,"message",n),d&&i(r,"stack",f(r.stack,2)),this&&a(x,this)&&l(r,this,j),arguments.length>m&&p(r,arguments[m]),r}));if(j.prototype=x,"Error"!==O?s?s(j,w):c(j,w,{name:!0}):v&&_ in E&&(u(j,E,_),u(j,E,"prepareStackTrace")),c(j,E),!g)try{x.name!==O&&i(x,"name",O),x.constructor=j}catch(C){}return j}}},e893:function(t,e,n){var r=n("1a2d"),o=n("56ef"),i=n("06cf"),a=n("9bf2");t.exports=function(t,e,n){for(var s=o(e),c=a.f,u=i.f,l=0;l<s.length;l++){var h=s[l];r(t,h)||n&&r(n,h)||c(t,h,u(e,h))}}},f5df:function(t,e,n){var r=n("00ee"),o=n("1626"),i=n("c6b6"),a=n("b622"),s=a("toStringTag"),c=Object,u="Arguments"==i(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=c(t),s))?n:u?i(e):"Object"==(r=i(e))&&o(e.callee)?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),o=n("90e3"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),n.d(e,"VMap",(function(){return H})),n.d(e,"VTile",(function(){return Qt})),"undefined"!==typeof window){var r=window.document.currentScript,o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var i=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{style:{width:t.mapWidth,height:t.mapHeight},attrs:{id:t.target}},[t.load?t._t("default"):t._e()],2)},a=[];n("d9e2");function s(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}var c=n("8bbf"),u=n.n(c);
|
|
2
|
-
/**
|
|
3
|
-
* vue-class-component v7.2.6
|
|
4
|
-
* (c) 2015-present Evan You
|
|
5
|
-
* @license MIT
|
|
6
|
-
*/
|
|
7
|
-
function l(t){return l="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t){return f(t)||d(t)||v()}function f(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function d(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function v(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function g(){return"undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys}function y(t,e){_(t,e),Object.getOwnPropertyNames(e.prototype).forEach((function(n){_(t.prototype,e.prototype,n)})),Object.getOwnPropertyNames(e).forEach((function(n){_(t,e,n)}))}function _(t,e,n){var r=n?Reflect.getOwnMetadataKeys(e,n):Reflect.getOwnMetadataKeys(e);r.forEach((function(r){var o=n?Reflect.getOwnMetadata(r,e,n):Reflect.getOwnMetadata(r,e);n?Reflect.defineMetadata(r,o,t,n):Reflect.defineMetadata(r,o,t)}))}var m={__proto__:[]},b=m instanceof Array;function O(t){return function(e,n,r){var o="function"===typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!==typeof r&&(r=void 0),o.__decorators__.push((function(e){return t(e,n,r)}))}}function E(t){var e=l(t);return null==t||"object"!==e&&"function"!==e}function x(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var r in t.$options.props)t.hasOwnProperty(r)||n.push(r);n.forEach((function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})}))};var r=new e;e.prototype._init=n;var o={};return Object.keys(r).forEach((function(t){void 0!==r[t]&&(o[t]=r[t])})),o}var w=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function j(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(w.indexOf(t)>-1)e[t]=n[t];else{var r=Object.getOwnPropertyDescriptor(n,t);void 0!==r.value?"function"===typeof r.value?(e.methods||(e.methods={}))[t]=r.value:(e.mixins||(e.mixins=[])).push({data:function(){return h({},t,r.value)}}):(r.get||r.set)&&((e.computed||(e.computed={}))[t]={get:r.get,set:r.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return x(this,t)}});var r=t.__decorators__;r&&(r.forEach((function(t){return t(e)})),delete t.__decorators__);var o=Object.getPrototypeOf(t.prototype),i=o instanceof u.a?o.constructor:u.a,a=i.extend(e);return T(a,t,i),g()&&y(a,t),a}var C={prototype:!0,arguments:!0,callee:!0,caller:!0};function T(t,e,n){Object.getOwnPropertyNames(e).forEach((function(r){if(!C[r]){var o=Object.getOwnPropertyDescriptor(t,r);if(!o||o.configurable){var i=Object.getOwnPropertyDescriptor(e,r);if(!b){if("cid"===r)return;var a=Object.getOwnPropertyDescriptor(n,r);if(!E(i.value)&&a&&a.value===i.value)return}0,Object.defineProperty(t,r,i)}}}))}function R(t){return"function"===typeof t?j(t):function(e){return j(e,t)}}R.registerHooks=function(t){w.push.apply(w,p(t))};var P=R;function S(t){return O((function(e,n){"undefined"===typeof e.inject&&(e.inject={}),Array.isArray(e.inject)||(e.inject[n]=t||n)}))}function I(t){return"function"!==typeof t||!t.managed&&!t.managedReactive}function A(t){var e=function(){var n=this,r="function"===typeof t?t.call(this):t;for(var o in r=Object.create(r||null),r[M]=Object.create(this[M]||{}),e.managed)r[e.managed[o]]=this[o];var i=function(t){r[e.managedReactive[t]]=a[t],Object.defineProperty(r[M],e.managedReactive[t],{enumerable:!0,configurable:!0,get:function(){return n[t]}})},a=this;for(var o in e.managedReactive)i(o);return r};return e.managed={},e.managedReactive={},e}var M="__reactiveInject__";function L(t){Array.isArray(t.inject)||(t.inject=t.inject||{},t.inject[M]={from:M,default:{}})}var D="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function N(t,e,n){if(D&&!Array.isArray(t)&&"function"!==typeof t&&!t.hasOwnProperty("type")&&"undefined"===typeof t.type){var r=Reflect.getMetadata("design:type",e,n);r!==Object&&(t.type=r)}}function F(t){return void 0===t&&(t={}),function(e,n){N(t,e,n),O((function(e,n){(e.props||(e.props={}))[n]=t}))(e,n)}}function z(t,e){return void 0===e&&(e={}),function(n,r){N(e,n,r),O((function(n,r){(n.props||(n.props={}))[t]=e,(n.computed||(n.computed={}))[r]={get:function(){return this[t]},set:function(e){this.$emit("update:"+t,e)}}}))(n,r)}}function G(t){return O((function(e,n){var r=e.provide;L(e),I(r)&&(r=e.provide=A(r)),r.managed[n]=t||n}))}n("5bc0");var k=n("a2c7"),Z=n("5eee");class K{constructor(t){console.log(t);const e={center:[108.5525,34.3227],zoom:5,constrainResolution:!0,projection:"EPSG:4326"},n={...e},r=new k["a"](n);return K.map=new Z["a"]({target:t.target,view:r}),K.map}}let U=class extends u.a{constructor(){super(...arguments),this.name="v-map",this.VMap=this,this.load=!1}get map(){return K.map}mounted(){this.init().then(t=>{"success"===t&&(this.load=!0)})}init(){return new Promise((t,e)=>{K.map=new K({target:this.target}),K.map?t("success"):e(new Error("fail"))})}};s([G("VMap")],U.prototype,"VMap",void 0),s([F({default:"map"})],U.prototype,"target",void 0),s([F()],U.prototype,"width",void 0),s([F()],U.prototype,"height",void 0),s([z("width",{default:"100%"})],U.prototype,"mapWidth",void 0),s([z("height",{default:"100%"})],U.prototype,"mapHeight",void 0),U=s([P],U);var X=U,V=X;function Y(t,e,n,r,o,i,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:u}}var W=Y(V,i,a,!1,null,"5fb0c155",null),H=W.exports;let B=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((t,e)=>(e&=63,t+=e<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_",t),"");class q extends u.a{render(){return null}}s([F({default:"ol-layer"})],q.prototype,"className",void 0),s([F({default:1})],q.prototype,"opacity",void 0),s([F({default:!0})],q.prototype,"visible",void 0),s([F({type:Array})],q.prototype,"extent",void 0),s([F()],q.prototype,"zIndex",void 0),s([F()],q.prototype,"minResolution",void 0),s([F()],q.prototype,"maxResolution",void 0),s([F()],q.prototype,"minZoom",void 0),s([F()],q.prototype,"maxZoom",void 0),s([F()],q.prototype,"title",void 0),s([F()],q.prototype,"name",void 0),s([F()],q.prototype,"preview",void 0),s([F()],q.prototype,"baseLayer",void 0),s([F({type:Object,default:()=>({})})],q.prototype,"properties",void 0);var $,Q,J=q,tt=Y(J,$,Q,!1,null,"08b8e5a0",null),et=tt.exports,nt=n("01d4"),rt=n("7f98"),ot=n("2efc"),it=n("92fa"),at=function(){function t(t){this.highWaterMark=void 0!==t?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}return t.prototype.canExpireCache=function(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark},t.prototype.expireCache=function(t){while(this.canExpireCache())this.pop()},t.prototype.clear=function(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null},t.prototype.containsKey=function(t){return this.entries_.hasOwnProperty(t)},t.prototype.forEach=function(t){var e=this.oldest_;while(e)t(e.value_,e.key_,this),e=e.newer},t.prototype.get=function(t,e){var n=this.entries_[t];return Object(it["a"])(void 0!==n,15),n===this.newest_||(n===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(n.newer.older=n.older,n.older.newer=n.newer),n.newer=null,n.older=this.newest_,this.newest_.newer=n,this.newest_=n),n.value_},t.prototype.remove=function(t){var e=this.entries_[t];return Object(it["a"])(void 0!==e,15),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_},t.prototype.getCount=function(){return this.count_},t.prototype.getKeys=function(){var t,e=new Array(this.count_),n=0;for(t=this.newest_;t;t=t.older)e[n++]=t.key_;return e},t.prototype.getValues=function(){var t,e=new Array(this.count_),n=0;for(t=this.newest_;t;t=t.older)e[n++]=t.value_;return e},t.prototype.peekLast=function(){return this.oldest_.value_},t.prototype.peekLastKey=function(){return this.oldest_.key_},t.prototype.peekFirstKey=function(){return this.newest_.key_},t.prototype.peek=function(t){if(this.containsKey(t))return this.entries_[t].value_},t.prototype.pop=function(){var t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_},t.prototype.replace=function(t,e){this.get(t),this.entries_[t].value_=e},t.prototype.set=function(t,e){Object(it["a"])(!(t in this.entries_),16);var n={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=n:this.oldest_=n,this.newest_=n,this.entries_[t]=n,++this.count_},t.prototype.setSize=function(t){this.highWaterMark=t},t}(),st=at,ct=n("2c30"),ut=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return ut(e,t),e.prototype.expireCache=function(t){while(this.canExpireCache()){var e=this.peekLast();if(e.getKey()in t)break;this.pop().release()}},e.prototype.pruneExceptNewestZ=function(){if(0!==this.getCount()){var t=this.peekFirstKey(),e=Object(ct["b"])(t),n=e[0];this.forEach(function(t){t.tileCoord[0]!==n&&(this.remove(Object(ct["c"])(t.tileCoord)),t.release())}.bind(this))}},e}(st),ht=lt,pt=n("acc1"),ft={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"},dt=n("cef7"),vt=n("e269"),gt=n("1300"),yt=n("256f"),_t=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),mt=function(t){function e(e){var n=t.call(this)||this;n.projection=Object(yt["g"])(e.projection),n.attributions_=bt(e.attributions),n.attributionsCollapsible_=void 0===e.attributionsCollapsible||e.attributionsCollapsible,n.loading=!1,n.state_=void 0!==e.state?e.state:"ready",n.wrapX_=void 0!==e.wrapX&&e.wrapX,n.interpolate_=!!e.interpolate,n.viewResolver=null,n.viewRejector=null;var r=n;return n.viewPromise_=new Promise((function(t,e){r.viewResolver=t,r.viewRejector=e})),n}return _t(e,t),e.prototype.getAttributions=function(){return this.attributions_},e.prototype.getAttributionsCollapsible=function(){return this.attributionsCollapsible_},e.prototype.getProjection=function(){return this.projection},e.prototype.getResolutions=function(){return Object(gt["b"])()},e.prototype.getView=function(){return this.viewPromise_},e.prototype.getState=function(){return this.state_},e.prototype.getWrapX=function(){return this.wrapX_},e.prototype.getInterpolate=function(){return this.interpolate_},e.prototype.refresh=function(){this.changed()},e.prototype.setAttributions=function(t){this.attributions_=bt(t),this.changed()},e.prototype.setState=function(t){this.state_=t,this.changed()},e}(vt["a"]);function bt(t){return t?Array.isArray(t)?function(e){return t}:"function"===typeof t?t:function(e){return[t]}:null}var Ot=mt,Et=n("089b"),xt=n("345d"),wt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),jt=function(t){function e(e){var n=t.call(this,{attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,projection:e.projection,state:e.state,wrapX:e.wrapX,interpolate:e.interpolate})||this;n.on,n.once,n.un,n.opaque_=void 0!==e.opaque&&e.opaque,n.tilePixelRatio_=void 0!==e.tilePixelRatio?e.tilePixelRatio:1,n.tileGrid=void 0!==e.tileGrid?e.tileGrid:null;var r=[256,256];return n.tileGrid&&Object(xt["c"])(n.tileGrid.getTileSize(n.tileGrid.getMinZoom()),r),n.tileCache=new ht(e.cacheSize||0),n.tmpSize=[0,0],n.key_=e.key||"",n.tileOptions={transition:e.transition,interpolate:e.interpolate},n.zDirection=e.zDirection?e.zDirection:0,n}return wt(e,t),e.prototype.canExpireCache=function(){return this.tileCache.canExpireCache()},e.prototype.expireCache=function(t,e){var n=this.getTileCacheForProjection(t);n&&n.expireCache(e)},e.prototype.forEachLoadedTile=function(t,e,n,r){var o=this.getTileCacheForProjection(t);if(!o)return!1;for(var i,a,s,c=!0,u=n.minX;u<=n.maxX;++u)for(var l=n.minY;l<=n.maxY;++l)a=Object(ct["d"])(e,u,l),s=!1,o.containsKey(a)&&(i=o.get(a),s=i.getState()===pt["a"].LOADED,s&&(s=!1!==r(i))),s||(c=!1);return c},e.prototype.getGutterForProjection=function(t){return 0},e.prototype.getKey=function(){return this.key_},e.prototype.setKey=function(t){this.key_!==t&&(this.key_=t,this.changed())},e.prototype.getOpaque=function(t){return this.opaque_},e.prototype.getResolutions=function(){return this.tileGrid?this.tileGrid.getResolutions():null},e.prototype.getTile=function(t,e,n,r,o){return Object(gt["b"])()},e.prototype.getTileGrid=function(){return this.tileGrid},e.prototype.getTileGridForProjection=function(t){return this.tileGrid?this.tileGrid:Object(Et["c"])(t)},e.prototype.getTileCacheForProjection=function(t){var e=this.getProjection();return Object(it["a"])(null===e||Object(yt["d"])(e,t),68),this.tileCache},e.prototype.getTilePixelRatio=function(t){return this.tilePixelRatio_},e.prototype.getTilePixelSize=function(t,e,n){var r=this.getTileGridForProjection(n),o=this.getTilePixelRatio(e),i=Object(xt["c"])(r.getTileSize(t),this.tmpSize);return 1==o?i:Object(xt["b"])(i,o,this.tmpSize)},e.prototype.getTileCoordForTileUrlFunction=function(t,e){var n=void 0!==e?e:this.getProjection(),r=this.getTileGridForProjection(n);return this.getWrapX()&&n.isGlobal()&&(t=Object(Et["d"])(r,t,n)),Object(ct["f"])(t,r)?t:null},e.prototype.clear=function(){this.tileCache.clear()},e.prototype.refresh=function(){this.clear(),t.prototype.refresh.call(this)},e.prototype.updateCacheSize=function(t,e){var n=this.getTileCacheForProjection(e);t>n.highWaterMark&&(n.highWaterMark=t)},e.prototype.useTile=function(t,e,n,r){},e}(Ot),Ct=function(t){function e(e,n){var r=t.call(this,e)||this;return r.tile=n,r}return wt(e,t),e}(dt["a"]),Tt=jt,Rt=n("7fc9");function Pt(t,e){var n=/\{z\}/g,r=/\{x\}/g,o=/\{y\}/g,i=/\{-y\}/g;return function(a,s,c){return a?t.replace(n,a[0].toString()).replace(r,a[1].toString()).replace(o,a[2].toString()).replace(i,(function(){var t=a[0],n=e.getFullTileRange(t);Object(it["a"])(n,55);var r=n.getHeight()-a[2]-1;return r.toString()})):void 0}}function St(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;++o)r[o]=Pt(t[o],e);return It(r)}function It(t){return 1===t.length?t[0]:function(e,n,r){if(e){var o=Object(ct["e"])(e),i=Object(Rt["g"])(o,t.length);return t[i](e,n,r)}}}function At(t){var e=[],n=/\{([a-z])-([a-z])\}/.exec(t);if(n){var r=n[1].charCodeAt(0),o=n[2].charCodeAt(0),i=void 0;for(i=r;i<=o;++i)e.push(t.replace(n[0],String.fromCharCode(i)));return e}if(n=/\{(\d+)-(\d+)\}/.exec(t),n){for(var a=parseInt(n[2],10),s=parseInt(n[1],10);s<=a;s++)e.push(t.replace(n[0],s.toString()));return e}return e.push(t),e}var Mt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Lt=function(t){function e(n){var r=t.call(this,{attributions:n.attributions,cacheSize:n.cacheSize,opaque:n.opaque,projection:n.projection,state:n.state,tileGrid:n.tileGrid,tilePixelRatio:n.tilePixelRatio,wrapX:n.wrapX,transition:n.transition,interpolate:n.interpolate,key:n.key,attributionsCollapsible:n.attributionsCollapsible,zDirection:n.zDirection})||this;return r.generateTileUrlFunction_=r.tileUrlFunction===e.prototype.tileUrlFunction,r.tileLoadFunction=n.tileLoadFunction,n.tileUrlFunction&&(r.tileUrlFunction=n.tileUrlFunction),r.urls=null,n.urls?r.setUrls(n.urls):n.url&&r.setUrl(n.url),r.tileLoadingKeys_={},r}return Mt(e,t),e.prototype.getTileLoadFunction=function(){return this.tileLoadFunction},e.prototype.getTileUrlFunction=function(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction},e.prototype.getUrls=function(){return this.urls},e.prototype.handleTileChange=function(t){var e,n=t.target,r=Object(gt["c"])(n),o=n.getState();o==pt["a"].LOADING?(this.tileLoadingKeys_[r]=!0,e=ft.TILELOADSTART):r in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[r],e=o==pt["a"].ERROR?ft.TILELOADERROR:o==pt["a"].LOADED?ft.TILELOADEND:void 0),void 0!=e&&this.dispatchEvent(new Ct(e,n))},e.prototype.setTileLoadFunction=function(t){this.tileCache.clear(),this.tileLoadFunction=t,this.changed()},e.prototype.setTileUrlFunction=function(t,e){this.tileUrlFunction=t,this.tileCache.pruneExceptNewestZ(),"undefined"!==typeof e?this.setKey(e):this.changed()},e.prototype.setUrl=function(t){var e=At(t);this.urls=e,this.setUrls(e)},e.prototype.setUrls=function(t){this.urls=t;var e=t.join("\n");this.generateTileUrlFunction_?this.setTileUrlFunction(St(t,this.tileGrid),e):this.setKey(e)},e.prototype.tileUrlFunction=function(t,e,n){},e.prototype.useTile=function(t,e,n){var r=Object(ct["d"])(t,e,n);this.tileCache.containsKey(r)&&this.tileCache.get(r)},e}(Tt),Dt=Lt,Nt=n("a504"),Ft=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),zt=function(t){function e(e){var n=this,r=void 0===e.imageSmoothing||e.imageSmoothing;return void 0!==e.interpolate&&(r=e.interpolate),n=t.call(this,{attributions:e.attributions,cacheSize:e.cacheSize,opaque:e.opaque,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:Gt,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,interpolate:r,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection})||this,n.crossOrigin=void 0!==e.crossOrigin?e.crossOrigin:null,n.tileClass=void 0!==e.tileClass?e.tileClass:rt["a"],n.tileCacheForProjection={},n.tileGridForProjection={},n.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,n.renderReprojectionEdges_=!1,n}return Ft(e,t),e.prototype.canExpireCache=function(){if(!Nt["a"])return t.prototype.canExpireCache.call(this);if(this.tileCache.canExpireCache())return!0;for(var e in this.tileCacheForProjection)if(this.tileCacheForProjection[e].canExpireCache())return!0;return!1},e.prototype.expireCache=function(e,n){if(Nt["a"]){var r=this.getTileCacheForProjection(e);for(var o in this.tileCache.expireCache(this.tileCache==r?n:{}),this.tileCacheForProjection){var i=this.tileCacheForProjection[o];i.expireCache(i==r?n:{})}}else t.prototype.expireCache.call(this,e,n)},e.prototype.getGutterForProjection=function(t){return Nt["a"]&&this.getProjection()&&t&&!Object(yt["d"])(this.getProjection(),t)?0:this.getGutter()},e.prototype.getGutter=function(){return 0},e.prototype.getKey=function(){var e=t.prototype.getKey.call(this);return this.getInterpolate()||(e+=":disable-interpolation"),e},e.prototype.getOpaque=function(e){return!(Nt["a"]&&this.getProjection()&&e&&!Object(yt["d"])(this.getProjection(),e))&&t.prototype.getOpaque.call(this,e)},e.prototype.getTileGridForProjection=function(e){if(!Nt["a"])return t.prototype.getTileGridForProjection.call(this,e);var n=this.getProjection();if(!this.tileGrid||n&&!Object(yt["d"])(n,e)){var r=Object(gt["c"])(e);return r in this.tileGridForProjection||(this.tileGridForProjection[r]=Object(Et["c"])(e)),this.tileGridForProjection[r]}return this.tileGrid},e.prototype.getTileCacheForProjection=function(e){if(!Nt["a"])return t.prototype.getTileCacheForProjection.call(this,e);var n=this.getProjection();if(!n||Object(yt["d"])(n,e))return this.tileCache;var r=Object(gt["c"])(e);return r in this.tileCacheForProjection||(this.tileCacheForProjection[r]=new ht(this.tileCache.highWaterMark)),this.tileCacheForProjection[r]},e.prototype.createTile_=function(t,e,n,r,o,i){var a=[t,e,n],s=this.getTileCoordForTileUrlFunction(a,o),c=s?this.tileUrlFunction(s,r,o):void 0,u=new this.tileClass(a,void 0!==c?pt["a"].IDLE:pt["a"].EMPTY,void 0!==c?c:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return u.key=i,u.addEventListener(nt["a"].CHANGE,this.handleTileChange.bind(this)),u},e.prototype.getTile=function(t,e,n,r,o){var i=this.getProjection();if(Nt["a"]&&i&&o&&!Object(yt["d"])(i,o)){var a=this.getTileCacheForProjection(o),s=[t,e,n],c=void 0,u=Object(ct["c"])(s);a.containsKey(u)&&(c=a.get(u));var l=this.getKey();if(c&&c.key==l)return c;var h=this.getTileGridForProjection(i),p=this.getTileGridForProjection(o),f=this.getTileCoordForTileUrlFunction(s,o),d=new ot["a"](i,h,o,p,s,f,this.getTilePixelRatio(r),this.getGutter(),function(t,e,n,r){return this.getTileInternal(t,e,n,r,i)}.bind(this),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return d.key=l,c?(d.interimTile=c,d.refreshInterimChain(),a.replace(u,d)):a.set(u,d),d}return this.getTileInternal(t,e,n,r,i||o)},e.prototype.getTileInternal=function(t,e,n,r,o){var i=null,a=Object(ct["d"])(t,e,n),s=this.getKey();if(this.tileCache.containsKey(a)){if(i=this.tileCache.get(a),i.key!=s){var c=i;i=this.createTile_(t,e,n,r,o,s),c.getState()==pt["a"].IDLE?i.interimTile=c.interimTile:i.interimTile=c,i.refreshInterimChain(),this.tileCache.replace(a,i)}}else i=this.createTile_(t,e,n,r,o,s),this.tileCache.set(a,i);return i},e.prototype.setRenderReprojectionEdges=function(t){if(Nt["a"]&&this.renderReprojectionEdges_!=t){for(var e in this.renderReprojectionEdges_=t,this.tileCacheForProjection)this.tileCacheForProjection[e].clear();this.changed()}},e.prototype.setTileGridForProjection=function(t,e){if(Nt["a"]){var n=Object(yt["g"])(t);if(n){var r=Object(gt["c"])(n);r in this.tileGridForProjection||(this.tileGridForProjection[r]=e)}}},e}(Dt);function Gt(t,e){t.getImage().src=e}var kt=zt,Zt=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Kt=function(t){function e(e){var n=this,r=e||{},o=void 0===r.imageSmoothing||r.imageSmoothing;void 0!==r.interpolate&&(o=r.interpolate);var i=void 0!==r.projection?r.projection:"EPSG:3857",a=void 0!==r.tileGrid?r.tileGrid:Object(Et["a"])({extent:Object(Et["b"])(i),maxResolution:r.maxResolution,maxZoom:r.maxZoom,minZoom:r.minZoom,tileSize:r.tileSize});return n=t.call(this,{attributions:r.attributions,cacheSize:r.cacheSize,crossOrigin:r.crossOrigin,interpolate:o,opaque:r.opaque,projection:i,reprojectionErrorThreshold:r.reprojectionErrorThreshold,tileGrid:a,tileLoadFunction:r.tileLoadFunction,tilePixelRatio:r.tilePixelRatio,tileUrlFunction:r.tileUrlFunction,url:r.url,urls:r.urls,wrapX:void 0===r.wrapX||r.wrapX,transition:r.transition,attributionsCollapsible:r.attributionsCollapsible,zDirection:r.zDirection})||this,n.gutter_=void 0!==r.gutter?r.gutter:0,n}return Zt(e,t),e.prototype.getGutter=function(){return this.gutter_},e}(kt),Ut=Kt,Xt=n("480c");let Vt=class extends et{constructor(){super(...arguments),this.layers=[]}render(){return null}mounted(){this.init()}init(){const t=this.initXYZbyURL("http://t4.tianditu.com/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=88e2f1d5ab64a7477a7361edd6b5f68a"),e=this.initXYZbyURL("http://t3.tianditu.com/DataServer?T=cva_w&x={x}&y={y}&l={z}&tk=88e2f1d5ab64a7477a7361edd6b5f68a");this.layers=[t,e],console.log(this.VMap.map),this.layers.forEach(t=>{this.VMap.map.addLayer(t)})}initXYZbyURL(t){const e={crossOrigin:"anonymous",...this.$props.xyz,url:t},n=new Ut(e);console.log(this.$props);const r={...this.$props,source:n},o=new Xt["a"](r);return o.set("base",!0),o.setZIndex(0),o}};s([S()],Vt.prototype,"VMap",void 0),s([F({default:"tile-layer-"+B()})],Vt.prototype,"layerId",void 0),Vt=s([P({name:"v-tile"})],Vt);var Yt,Wt,Ht=Vt,Bt=Ht,qt=Y(Bt,Yt,Wt,!1,null,"e161634e",null),$t=qt.exports;$t.install=t=>{t.component("v-tile",$t)};var Qt=$t;const Jt=[H,Qt],te=t=>{te.installed||(te.installed=!0,Jt.map(e=>{console.log(e.name),t.component(e.name,e)}))};"undefined"!==typeof window&&window.Vue&&te(window.Vue);var ee={install:te,VMap:H,VTile:Qt};e["default"]=ee},fc6a:function(t,e,n){var r=n("44ad"),o=n("1d80");t.exports=function(t){return r(o(t))}},fced:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r={RADIANS:"radians",DEGREES:"degrees",FEET:"ft",METERS:"m",PIXELS:"pixels",TILE_PIXELS:"tile-pixels",USFEET:"us-ft"};r.METERS,r.FEET,r.USFEET,r.RADIANS,r.DEGREES;var o={};o[r.RADIANS]=6370997/(2*Math.PI),o[r.DEGREES]=2*Math.PI*6370997/360,o[r.FEET]=.3048,o[r.METERS]=1,o[r.USFEET]=1200/3937,e["b"]=r},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}));
|