@xnsk/xnsk_fe_openlayers
Version:
先农数科前端团队openlayers功能相关的SDK,目标:所有前端Gis地图相关模块的唯一官方指定SDK
1 lines • 1.37 MB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.XNOL=e():t.XNOL=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));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=140)}([function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return u})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return p})),n.d(e,"i",(function(){return f})),n.d(e,"j",(function(){return d})),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 v})),n.d(e,"p",(function(){return b})),n.d(e,"q",(function(){return x})),n.d(e,"r",(function(){return E})),n.d(e,"s",(function(){return O})),n.d(e,"t",(function(){return I})),n.d(e,"u",(function(){return C})),n.d(e,"v",(function(){return S})),n.d(e,"w",(function(){return N})),n.d(e,"x",(function(){return L})),n.d(e,"y",(function(){return T})),n.d(e,"z",(function(){return R})),n.d(e,"A",(function(){return P})),n.d(e,"B",(function(){return M})),n.d(e,"C",(function(){return A})),n.d(e,"D",(function(){return D})),n.d(e,"E",(function(){return j})),n.d(e,"G",(function(){return F})),n.d(e,"H",(function(){return k})),n.d(e,"F",(function(){return G})),n.d(e,"a",(function(){return B})),n.d(e,"I",(function(){return z}));var r=n(79),i=n(36),o=n(9);function s(t){for(var e=d(),n=0,r=t.length;n<r;++n)x(e,t[n]);return e}function a(t,e,n){return n?(n[0]=t[0]-e,n[1]=t[1]-e,n[2]=t[2]+e,n[3]=t[3]+e,n):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function u(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function l(t,e,n){var r,i;return(r=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*r+(i=n<t[1]?t[1]-n:t[3]<n?n-t[3]:0)*i}function c(t,e){return p(t,e[0],e[1])}function h(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function p(t,e,n){return t[0]<=e&&e<=t[2]&&t[1]<=n&&n<=t[3]}function f(t,e){var n=t[0],r=t[1],o=t[2],s=t[3],a=e[0],u=e[1],l=i.a.UNKNOWN;return a<n?l|=i.a.LEFT:a>o&&(l|=i.a.RIGHT),u<r?l|=i.a.BELOW:u>s&&(l|=i.a.ABOVE),l===i.a.UNKNOWN&&(l=i.a.INTERSECTING),l}function d(){return[1/0,1/0,-1/0,-1/0]}function g(t,e,n,r,i){return i?(i[0]=t,i[1]=e,i[2]=n,i[3]=r,i):[t,e,n,r]}function y(t){return g(1/0,1/0,-1/0,-1/0,t)}function _(t,e){var n=t[0],r=t[1];return g(n,r,n,r,e)}function m(t,e,n,r,i){return E(y(i),t,e,n,r)}function v(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function b(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 x(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 E(t,e,n,r,i){for(;n<r;n+=i)w(t,e[n],e[n+1]);return t}function w(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 O(t,e){var n;return(n=e(C(t)))||(n=e(S(t)))||(n=e(A(t)))?n:(n=e(M(t)))||!1}function I(t){var e=0;return F(t)||(e=D(t)*R(t)),e}function C(t){return[t[0],t[1]]}function S(t){return[t[2],t[1]]}function N(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function L(t,e){var n;return e===r.a.BOTTOM_LEFT?n=C(t):e===r.a.BOTTOM_RIGHT?n=S(t):e===r.a.TOP_LEFT?n=M(t):e===r.a.TOP_RIGHT?n=A(t):Object(o.a)(!1,13),n}function T(t,e,n,r,i){var o=e*r[0]/2,s=e*r[1]/2,a=Math.cos(n),u=Math.sin(n),l=o*a,c=o*u,h=s*a,p=s*u,f=t[0],d=t[1],y=f-l+p,_=f-l-p,m=f+l-p,v=f+l+p,b=d-c-h,x=d-c+h,E=d+c+h,w=d+c-h;return g(Math.min(y,_,m,v),Math.min(b,x,E,w),Math.max(y,_,m,v),Math.max(b,x,E,w),i)}function R(t){return t[3]-t[1]}function P(t,e,n){var r=n||[1/0,1/0,-1/0,-1/0];return j(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]):y(r),r}function M(t){return[t[0],t[3]]}function A(t){return[t[2],t[3]]}function D(t){return t[2]-t[0]}function j(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 k(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 r=!1,o=f(t,e),s=f(t,n);if(o===i.a.INTERSECTING||s===i.a.INTERSECTING)r=!0;else{var a=t[0],u=t[1],l=t[2],c=t[3],h=e[0],p=e[1],d=n[0],g=n[1],y=(g-p)/(d-h),_=void 0,m=void 0;s&i.a.ABOVE&&!(o&i.a.ABOVE)&&(r=(_=d-(g-c)/y)>=a&&_<=l),r||!(s&i.a.RIGHT)||o&i.a.RIGHT||(r=(m=g-(d-l)*y)>=u&&m<=c),r||!(s&i.a.BELOW)||o&i.a.BELOW||(r=(_=d-(g-u)/y)>=a&&_<=l),r||!(s&i.a.LEFT)||o&i.a.LEFT||(r=(m=g-(d-a)*y)>=u&&m<=c)}return r}function B(t,e,n,r){var i=[];if(r>1)for(var o=t[2]-t[0],s=t[3]-t[1],a=0;a<r;++a)i.push(t[0]+o*a/r,t[1],t[2],t[1]+s*a/r,t[2]-o*a/r,t[3],t[0],t[3]-s*a/r);else i=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(i,i,2);for(var u=[],l=[],c=(a=0,i.length);a<c;a+=2)u.push(i[a]),l.push(i[a+1]);return function(t,e,n){return g(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),n)}(u,l,n)}function z(t,e){var n=e.getExtent(),r=N(t);if(e.canWrapX()&&(r[0]<n[0]||r[0]>=n[2])){var i=D(n),o=Math.floor((r[0]-n[0])/i)*i;t[0]-=o,t[2]-=o}return t}},function(t,e,n){"use strict";e.a={POINT:"Point",LINE_STRING:"LineString",LINEAR_RING:"LinearRing",POLYGON:"Polygon",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon",GEOMETRY_COLLECTION:"GeometryCollection",CIRCLE:"Circle"}},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 o})),n.d(e,"a",(function(){return s}));var i=0;function o(t){return t.ol_uid||(t.ol_uid=String(++i))}var s="6.14.1"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i.a})),n.d(e,"c",(function(){return N})),n.d(e,"h",(function(){return P})),n.d(e,"i",(function(){return M})),n.d(e,"b",(function(){return D})),n.d(e,"d",(function(){return j})),n.d(e,"k",(function(){return F})),n.d(e,"j",(function(){return k})),n.d(e,"p",(function(){return G})),n.d(e,"q",(function(){return B})),n.d(e,"l",(function(){return U})),n.d(e,"m",(function(){return X})),n.d(e,"e",(function(){return W})),n.d(e,"n",(function(){return H})),n.d(e,"f",(function(){return Z})),n.d(e,"o",(function(){return K})),n.d(e,"g",(function(){return J}));var r,i=n(27),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_||i.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}(),s=n(4),a=(r=function(t,e){return(r=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)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=6378137*Math.PI,l=[-u,-u,u,u],c=[-180,-85,180,85],h=6378137*Math.log(Math.tan(Math.PI/2)),p=function(t){function e(e){return t.call(this,{code:e,units:i.b.METERS,extent:l,global:!0,worldExtent:c,getPointResolution:function(t,e){return t/Object(s.c)(e[1]/6378137)}})||this}return a(e,t),e}(o),f=[new p("EPSG:3857"),new p("EPSG:102100"),new p("EPSG:102113"),new p("EPSG:900913"),new p("http://www.opengis.net/def/crs/EPSG/0/3857"),new p("http://www.opengis.net/gml/srs/epsg.xml#3857")];function d(t,e,n){var r=t.length,i=n>1?n:2,o=e;void 0===o&&(o=i>2?t.slice():new Array(r));for(var s=0;s<r;s+=i){o[s]=u*t[s]/180;var a=6378137*Math.log(Math.tan(Math.PI*(+t[s+1]+90)/360));a>h?a=h:a<-h&&(a=-h),o[s+1]=a}return o}function g(t,e,n){var r=t.length,i=n>1?n:2,o=e;void 0===o&&(o=i>2?t.slice():new Array(r));for(var s=0;s<r;s+=i)o[s]=180*t[s]/u,o[s+1]=360*Math.atan(Math.exp(t[s+1]/6378137))/Math.PI-90;return o}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])})(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)}}(),_=[-180,-90,180,90],m=6378137*Math.PI/180,v=function(t){function e(e,n){return t.call(this,{code:e,units:i.b.DEGREES,extent:_,axisOrientation:n,global:!0,metersPerUnit:m,worldExtent:_})||this}return y(e,t),e}(o),b=[new v("CRS:84"),new v("EPSG:4326","neu"),new v("urn:ogc:def:crs:OGC:1.3:CRS84"),new v("urn:ogc:def:crs:OGC:2:84"),new v("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new v("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new v("http://www.opengis.net/def/crs/EPSG/0/4326","neu")],x={};n(8);var E={};function w(t,e,n){var r=t.getCode(),i=e.getCode();r in E||(E[r]={}),E[r][i]=n}var O=n(0),I=n(17),C=n(50),S=!0;function N(t){S=!(void 0===t||t)}function L(t,e,n){var r;if(void 0!==e){for(var i=0,o=t.length;i<o;++i)e[i]=t[i];r=e}else r=t.slice();return r}function T(t,e,n){if(void 0!==e&&t!==e){for(var r=0,i=t.length;r<i;++r)e[r]=t[r];t=e}return t}function R(t){!function(t,e){x[t]=e}(t.getCode(),t),w(t,t,L)}function P(t){return"string"==typeof t?x[e=t]||x[e.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null:t||null;var e}function M(t,e,n,r){var o,s=(t=P(t)).getPointResolutionFunc();if(s){if(o=s(e,n),r&&r!==t.getUnits())(u=t.getMetersPerUnit())&&(o=o*u/i.a[r])}else{var a=t.getUnits();if(a==i.b.DEGREES&&!r||r==i.b.DEGREES)o=e;else{var u,l=F(t,P("EPSG:4326"));if(l===T&&a!==i.b.DEGREES)o=e*t.getMetersPerUnit();else{var c=[n[0]-e/2,n[1],n[0]+e/2,n[1],n[0],n[1]-e/2,n[0],n[1]+e/2];c=l(c,c,2),o=(Object(C.b)(c.slice(0,2),c.slice(2,4))+Object(C.b)(c.slice(4,6),c.slice(6,8)))/2}void 0!==(u=r?i.a[r]:t.getMetersPerUnit())&&(o/=u)}}return o}function A(t){!function(t){t.forEach(R)}(t),t.forEach((function(e){t.forEach((function(t){e!==t&&w(e,t,L)}))}))}function D(t,e){return t?"string"==typeof t?P(t):t:P(e)}function j(t,e){if(t===e)return!0;var n=t.getUnits()===e.getUnits();return(t.getCode()===e.getCode()||F(t,e)===L)&&n}function F(t,e){var n=function(t,e){var n;return t in E&&e in E[t]&&(n=E[t][e]),n}(t.getCode(),e.getCode());return n||(n=T),n}function k(t,e){return F(P(t),P(e))}function G(t,e,n){return k(e,n)(t,void 0,t.length)}function B(t,e,n,r){var i=k(e,n);return Object(O.a)(t,i,void 0,r)}var z,Y,q,V=null;function U(){return V}function X(t,e){return V?G(t,e,V):t}function W(t,e){return V?G(t,V,e):(S&&!Object(I.e)(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(S=!1,console.warn("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t)}function H(t,e){return V?B(t,e,V):t}function Z(t,e){return V?B(t,V,e):t}function K(t,e){if(!V)return t;var n=P(e).getUnits(),r=V.getUnits();return n&&r?t*i.a[n]/i.a[r]:t}function J(t,e){if(!V)return t;var n=P(e).getUnits(),r=V.getUnits();return n&&r?t*i.a[r]/i.a[n]:t}A(f),A(b),z=f,Y=d,q=g,b.forEach((function(t){z.forEach((function(e){w(t,e,Y),w(e,t,q)}))}))},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 i})),n.d(e,"f",(function(){return o})),n.d(e,"k",(function(){return s})),n.d(e,"j",(function(){return a})),n.d(e,"i",(function(){return u})),n.d(e,"l",(function(){return l})),n.d(e,"m",(function(){return c})),n.d(e,"g",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"h",(function(){return d})),n.d(e,"d",(function(){return g})),n.d(e,"a",(function(){return y}));var i="cosh"in Math?Math.cosh:function(t){var e=Math.exp(t);return(e+1/e)/2},o="log2"in Math?Math.log2:function(t){return Math.log(t)*Math.LOG2E};function s(t,e,n,r,i,o){var s=i-n,u=o-r;if(0!==s||0!==u){var l=((t-n)*s+(e-r)*u)/(s*s+u*u);l>1?(n=i,r=o):l>0&&(n+=s*l,r+=u*l)}return a(t,e,n,r)}function a(t,e,n,r){var i=n-t,o=r-e;return i*i+o*o}function u(t){for(var e=t.length,n=0;n<e;n++){for(var r=n,i=Math.abs(t[n][n]),o=n+1;o<e;o++){var s=Math.abs(t[o][n]);s>i&&(i=s,r=o)}if(0===i)return null;var a=t[r];t[r]=t[n],t[n]=a;for(var u=n+1;u<e;u++)for(var l=-t[u][n]/t[n][n],c=n;c<e+1;c++)n==c?t[u][c]=0:t[u][c]+=l*t[n][c]}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 l(t){return 180*t/Math.PI}function c(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.round(f(t,e))}function g(t,e){return Math.floor(f(t,e))}function y(t,e){return Math.ceil(f(t,e))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return s}));var r=n(8);function i(t,e,n,r,i){if(r&&r!==t&&(n=n.bind(r)),i){var o=n;n=function(){t.removeEventListener(e,n),o.apply(this,arguments)}}var s={target:t,type:e,listener:n};return t.addEventListener(e,n),s}function o(t,e,n,r){return i(t,e,n,r,!0)}function s(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),Object(r.b)(t))}},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"}},function(t,e,n){"use strict";n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return c})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return d})),n.d(e,"i",(function(){return g})),n.d(e,"k",(function(){return y})),n.d(e,"l",(function(){return _})),n.d(e,"m",(function(){return m})),n.d(e,"j",(function(){return v})),n.d(e,"h",(function(){return b})),n.d(e,"a",(function(){return x})),n.d(e,"q",(function(){return C})),n.d(e,"p",(function(){return T})),n.d(e,"o",(function(){return R})),n.d(e,"n",(function(){return P}));var r=n(29),i=n(51),o=n(30),s=n(8),a=n(18),u=n(26),l="10px sans-serif",c="#000",h="round",p=[],f=0,d="round",g=10,y="#000",_="center",m="middle",v=[0,0,0,0],b=1,x=new r.a;(new i.a).setSize=function(){console.warn("labelCache is deprecated.")};var E,w,O=null,I={},C=function(){var t,e,n=["monospace","serif"],r=n.length,i="wmytzilWMYTZIL@#/&?$%10";function o(t,o,s){for(var a=!0,u=0;u<r;++u){var l=n[u];if(e=L(t+" "+o+" 32px "+l,i),s!=l){var c=L(t+" "+o+" 32px "+s+","+l,i);a=a&&c!=e}}return!!a}function a(){for(var e=!0,n=x.getKeys(),r=0,i=n.length;r<i;++r){var a=n[r];x.get(a)<100&&(o.apply(this,a.split("\n"))?(Object(s.b)(I),O=null,E=void 0,x.set(a,100)):(x.set(a,x.get(a)+1,!0),e=!1))}e&&(clearInterval(t),t=void 0)}return function(e){var n=Object(u.g)(e);if(n)for(var r=n.families,i=0,s=r.length;i<s;++i){var l=r[i],c=n.style+"\n"+n.weight+"\n"+l;void 0===x.get(c)&&(x.set(c,100,!0),o(n.style,n.weight,l)||(x.set(c,0,!0),void 0===t&&(t=setInterval(a,32))))}}}(),S=function(t){var e=I[t];if(null==e){if(o.g){var n=Object(u.g)(t),r=N(t,"Žg");e=(isNaN(Number(n.lineHeight))?1.2:Number(n.lineHeight))*(r.actualBoundingBoxAscent+r.actualBoundingBoxDescent)}else w||((w=document.createElement("div")).innerHTML="M",w.style.minHeight="0",w.style.maxHeight="none",w.style.height="auto",w.style.padding="0",w.style.border="none",w.style.position="absolute",w.style.display="block",w.style.left="-99999px"),w.style.font=t,document.body.appendChild(w),e=w.offsetHeight,document.body.removeChild(w);I[t]=e}return e};function N(t,e){return O||(O=Object(a.a)(1,1)),t!=E&&(O.font=t,E=O.font),O.measureText(e)}function L(t,e){return N(t,e).width}function T(t,e,n){if(e in n)return n[e];var r=L(t,e);return n[e]=r,r}function R(t,e){for(var n=[],r=[],i=[],o=0,s=0,a=0,u=0,l=0,c=e.length;l<=c;l+=2){var h=e[l];if("\n"!==h&&l!==c){var p=e[l+1]||t.font,f=L(p,h);n.push(f),s+=f;var d=S(p);r.push(d),u=Math.max(u,d)}else o=Math.max(o,s),i.push(s),s=0,a+=u}return{width:o,height:a,widths:n,heights:r,lineWidths:i}}function P(t,e,n,r,i,o,s,a,u,l,c){t.save(),1!==n&&(t.globalAlpha*=n),e&&t.setTransform.apply(t,e),r.contextInstructions?(t.translate(u,l),t.scale(c[0],c[1]),function(t,e){for(var n=t.contextInstructions,r=0,i=n.length;r<i;r+=2)Array.isArray(n[r+1])?e[n[r]].apply(e,n[r+1]):e[n[r]]=n[r+1]}(r,t)):c[0]<0||c[1]<0?(t.translate(u,l),t.scale(c[0],c[1]),t.drawImage(r,i,o,s,a,0,0,s,a)):t.drawImage(r,i,o,s,a,u,l,s*c[0],a*c[1]),t.restore()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return s}));var r="function"==typeof Object.assign?Object.assign:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1,i=arguments.length;r<i;++r){var o=arguments[r];if(null!=o)for(var s in o)o.hasOwnProperty(s)&&(n[s]=o[s])}return n};function i(t){for(var e in t)delete t[e]}var o="function"==typeof Object.values?Object.values:function(t){var e=[];for(var n in t)e.push(t[n]);return e};function s(t){var e;for(e in t)return!1;return!e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(96);function i(t,e){if(!t)throw new r.a(e)}},function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"f",(function(){return u})),n.d(e,"a",(function(){return l})),n.d(e,"e",(function(){return c})),n.d(e,"b",(function(){return h})),n.d(e,"d",(function(){return p})),n.d(e,"g",(function(){return f}));var r,i=n(30),o=n(9);new Array(6);function s(){return[1,0,0,1,0,0]}function a(t,e,n,r,i,o,s){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=s,t}function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function l(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){return a(t,e,0,0,n,0,0)}function h(t,e,n,r,i,o,s,a){var u=Math.sin(o),l=Math.cos(o);return t[0]=r*l,t[1]=i*u,t[2]=-r*u,t[3]=i*l,t[4]=s*r*l-a*r*u+e,t[5]=s*i*u+a*i*l+n,t}function p(t,e){var n,r=(n=e)[0]*n[3]-n[1]*n[2];Object(o.a)(0!==r,32);var i=e[0],s=e[1],a=e[2],u=e[3],l=e[4],c=e[5];return t[0]=u/r,t[1]=-s/r,t[2]=-a/r,t[3]=i/r,t[4]=(a*c-u*l)/r,t[5]=-(i*c-s*l)/r,t}function f(t){var e="matrix("+t.join(", ")+")";if(i.g)return e;var n=r||(r=document.createElement("div"));return n.style.transform=e,n.style.transform}},function(t,e,n){"use strict";function r(t,e,n){for(var r,o,s=n||i,a=0,u=t.length,l=!1;a<u;)(o=+s(t[r=a+(u-a>>1)],e))<0?a=r+1:(u=r,l=!o);return l?a:~a}function i(t,e){return t>e?1:t<e?-1:0}function o(t,e){return t.indexOf(e)>=0}function s(t,e,n){var r=t.length;if(t[0]<=e)return 0;if(e<=t[r-1])return r-1;var i=void 0;if(n>0){for(i=1;i<r;++i)if(t[i]<e)return i-1}else if(n<0){for(i=1;i<r;++i)if(t[i]<=e)return i}else for(i=1;i<r;++i){if(t[i]==e)return i;if(t[i]<e)return"function"==typeof n?n(e,t[i-1],t[i])>0?i-1:i:t[i-1]-e<e-t[i]?i-1:i}return r-1}function a(t,e,n){for(;e<n;){var r=t[e];t[e]=t[n],t[n]=r,++e,--n}}function u(t,e){for(var n=Array.isArray(e)?e:[e],r=n.length,i=0;i<r;i++)t[t.length]=n[i]}function l(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 c(t,e,n){var r=e||i;return t.every((function(e,i){if(0===i)return!0;var o=r(t[i-1],e);return!(o>0||n&&0===o)}))}n.d(e,"a",(function(){return r})),n.d(e,"g",(function(){return i})),n.d(e,"d",(function(){return o})),n.d(e,"f",(function(){return s})),n.d(e,"h",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"e",(function(){return c}))},function(t,e,n){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},function(t,e,n){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},function(t,e,n){"use strict";var r=n(6);e.a={SINGLECLICK:"singleclick",CLICK:r.a.CLICK,DBLCLICK:r.a.DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return l})),n.d(e,"f",(function(){return c})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return p})),n.d(e,"g",(function(){return f})),n.d(e,"i",(function(){return d})),n.d(e,"m",(function(){return g})),n.d(e,"j",(function(){return y})),n.d(e,"l",(function(){return _})),n.d(e,"n",(function(){return m})),n.d(e,"h",(function(){return v})),n.d(e,"k",(function(){return b}));var r=n(14),i=n(16),o=n(30),s=n(9);function a(t){var e=arguments;return function(t){for(var n=!0,r=0,i=e.length;r<i&&(n=n&&e[r](t));++r);return n}}var u=function(t){var e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey},l=function(t){var e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},c=function(t){return!t.map.getTargetElement().hasAttribute("tabindex")||function(t){var e=t.map.getTargetElement(),n=t.map.getOwnerDocument().activeElement;return e.contains(n)}(t)},h=i.b,p=function(t){return t.type==r.a.CLICK},f=function(t){var e=t.originalEvent;return 0==e.button&&!(o.f&&o.d&&e.ctrlKey)},d=i.a,g=function(t){return t.type==r.a.SINGLECLICK},y=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey},_=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},m=function(t){var e=t.originalEvent.target.tagName;return"INPUT"!==e&&"SELECT"!==e&&"TEXTAREA"!==e},v=function(t){var e=t.originalEvent;return Object(s.a)(void 0!==e,56),"mouse"==e.pointerType},b=function(t){var e=t.originalEvent;return Object(s.a)(void 0!==e,56),e.isPrimary&&0===e.button}},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return a}));var r=n(11);function i(){return!0}function o(){return!1}function s(){}function a(t){var e,n,i,o=!1;return function(){var s=Array.prototype.slice.call(arguments);return o&&this===i&&Object(r.b)(s,n)||(o=!0,i=this,n=s,e=t.apply(this,arguments)),e}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"e",(function(){return a})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return l})),n.d(e,"i",(function(){return c})),n.d(e,"d",(function(){return h})),n.d(e,"j",(function(){return p})),n.d(e,"k",(function(){return f})),n.d(e,"f",(function(){return d}));var r=n(0);n(4),n(91);function i(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function o(t,e){var n=e.getRadius(),r=e.getCenter(),i=r[0],o=r[1],s=t[0]-i,a=t[1]-o;0===s&&0===a&&(s=1);var u=Math.sqrt(s*s+a*a);return[i+n*s/u,o+n*a/u]}function s(t,e){var n,r,i=t[0],o=t[1],s=e[0],a=e[1],u=s[0],l=s[1],c=a[0],h=a[1],p=c-u,f=h-l,d=0===p&&0===f?0:(p*(i-u)+f*(o-l))/(p*p+f*f||0);return d<=0?(n=u,r=l):d>=1?(n=c,r=h):(n=u+d*p,r=l+d*f),[n,r]}function a(t,e){for(var n=!0,r=t.length-1;r>=0;--r)if(t[r]!=e[r]){n=!1;break}return n}function u(t,e){var n=Math.cos(e),r=Math.sin(e),i=t[0]*n-t[1]*r,o=t[1]*n+t[0]*r;return t[0]=i,t[1]=o,t}function l(t,e){return t[0]*=e,t[1]*=e,t}function c(t,e){var n=t[0]-e[0],r=t[1]-e[1];return n*n+r*r}function h(t,e){return Math.sqrt(c(t,e))}function p(t,e){return c(t,s(t,e))}function f(t,e){if(e.canWrapX()){var n=Object(r.D)(e.getExtent()),i=d(t,e,n);i&&(t[0]-=i*n)}return t}function d(t,e,n){var i=e.getExtent(),o=0;if(e.canWrapX()&&(t[0]<i[0]||t[0]>i[2])){var s=n||Object(r.D)(i);o=Math.floor((t[0]-i[0])/s)}return o}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"g",(function(){return a})),n.d(e,"e",(function(){return u})),n.d(e,"d",(function(){return l})),n.d(e,"f",(function(){return c}));var r=n(30);function i(t,e,n,i){var o;return o=n&&n.length?n.shift():r.g?new OffscreenCanvas(t||300,e||300):document.createElement("canvas"),t&&(o.width=t),e&&(o.height=e),o.getContext("2d",i)}function o(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+=parseInt(n.marginLeft,10)+parseInt(n.marginRight,10)}function s(t){var e=t.offsetHeight,n=getComputedStyle(t);return e+=parseInt(n.marginTop,10)+parseInt(n.marginBottom,10)}function a(t,e){var n=e.parentNode;n&&n.replaceChild(t,e)}function u(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function l(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function c(t,e){for(var n=t.childNodes,r=0;;++r){var i=n[r],o=e[r];if(!i&&!o)break;i!==o&&(i?o?t.insertBefore(o,i):(t.removeChild(i),--r):t.appendChild(o))}}},function(t,e,n){"use strict";var r,i=n(29),o=n(6),s=n(9),a=n(5),u=(r=function(t,e){return(r=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)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(e){var n=t.call(this)||this;if(n.on,n.once,n.un,n.id_=void 0,n.geometryName_="geometry",n.style_=null,n.styleFunction_=void 0,n.geometryChangeKey_=null,n.addChangeListener(n.geometryName_,n.handleGeometryChanged_),e)if("function"==typeof e.getSimplifiedGeometry){var r=e;n.setGeometry(r)}else{var i=e;n.setProperties(i)}return n}return u(e,t),e.prototype.clone=function(){var t=new e(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());var n=this.getGeometry();n&&t.setGeometry(n.clone());var r=this.getStyle();return r&&t.setStyle(r),t},e.prototype.getGeometry=function(){return this.get(this.geometryName_)},e.prototype.getId=function(){return this.id_},e.prototype.getGeometryName=function(){return this.geometryName_},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.handleGeometryChange_=function(){this.changed()},e.prototype.handleGeometryChanged_=function(){this.geometryChangeKey_&&(Object(a.c)(this.geometryChangeKey_),this.geometryChangeKey_=null);var t=this.getGeometry();t&&(this.geometryChangeKey_=Object(a.a)(t,o.a.CHANGE,this.handleGeometryChange_,this)),this.changed()},e.prototype.setGeometry=function(t){this.set(this.geometryName_,t)},e.prototype.setStyle=function(t){this.style_=t,this.styleFunction_=t?function(t){if("function"==typeof t)return t;var e;Array.isArray(t)?e=t:(Object(s.a)("function"==typeof t.getZIndex,41),e=[t]);return function(){return e}}(t):void 0,this.changed()},e.prototype.setId=function(t){this.id_=t,this.changed()},e.prototype.setGeometryName=function(t){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=t,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()},e}(i.a);e.a=l},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"}},function(t,e,n){"use strict";var r,i=n(1),o=n(37),s=n(0),a=n(41),u=n(4),l=(r=function(t,e){return(r=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)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n){var r=t.call(this)||this;return r.setCoordinates(e,n),r}return l(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 i=this.flatCoordinates,o=Object(u.j)(t,e,i[0],i[1]);if(o<r){for(var s=this.stride,a=0;a<s;++a)n[a]=i[a];return n.length=s,o}return r},e.prototype.getCoordinates=function(){return this.flatCoordinates?this.flatCoordinates.slice():[]},e.prototype.computeExtent=function(t){return Object(s.m)(this.flatCoordinates,t)},e.prototype.getType=function(){return i.a.POINT},e.prototype.intersectsExtent=function(t){return Object(s.h)(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=Object(a.a)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(o.a);e.a=c},function(t,e,n){"use strict";e.a={ADD:"add",REMOVE:"remove"}},function(t,e,n){"use strict";n.d(e,"c",(function(){return w})),n.d(e,"b",(function(){return O})),n.d(e,"d",(function(){return I}));var r,i=n(24),o=n(1),s=n(115),a=n(21),u=n(37),l=n(45),c=n(0),h=n(41),p=n(11),f=n(104),d=n(34),g=n(70),y=n(75),_=n(82),m=n(54),v=n(4),b=n(52),x=(n(50),r=function(t,e){return(r=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)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),E=function(t){function e(e,n,r){var i=t.call(this)||this;return i.ends_=[],i.flatInteriorPointRevision_=-1,i.flatInteriorPoint_=null,i.maxDelta_=-1,i.maxDeltaRevision_=-1,i.orientedRevision_=-1,i.orientedFlatCoordinates_=null,void 0!==n&&r?(i.setFlatCoordinates(n,e),i.ends_=r):i.setCoordinates(e,n),i}return x(e,t),e.prototype.appendLinearRing=function(t){this.flatCoordinates?Object(p.c)(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.e)(this.getExtent(),t,e)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(l.a)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(l.b)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,n,r))},e.prototype.containsXY=function(t,e){return Object(m.c)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)},e.prototype.getArea=function(){return Object(_.b)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),Object(y.c)(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,Object(d.b)(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.w)(this.getExtent());this.flatInteriorPoint_=Object(f.a)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_},e.prototype.getInteriorPoint=function(){return new a.a(this.getFlatInteriorPoint(),i.a.XYM)},e.prototype.getLinearRingCount=function(){return this.ends_.length},e.prototype.getLinearRing=function(t){return t<0||this.ends_.length<=t?null:new s.a(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=[],i=0,o=0,a=n.length;o<a;++o){var u=n[o],l=new s.a(e.slice(i,u),t);r.push(l),i=u}return r},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;Object(y.a)(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=Object(y.c)(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],r=[];return n.length=Object(b.c)(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),n,0,r),new e(n,i.a.XY,r)},e.prototype.getType=function(){return o.a.POLYGON},e.prototype.intersectsExtent=function(t){return Object(g.c)(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=Object(h.c)(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},e}(u.a);function w(t){var e=t[0],n=t[1],r=t[2],o=t[3],s=[e,n,e,o,r,o,r,n,e,n];return new E(s,i.a.XY,[s.length])}function O(t,e,n){for(var r=e||32,i=t.getStride(),o=t.getLayout(),s=t.getCenter(),a=i*(r+1),u=new Array(a),l=0;l<a;l+=i){u[l]=0,u[l+1]=0;for(var c=2;c<i;c++)u[l+c]=s[c]}var h=[u.length],p=new E(u,o,h);return I(p,s,t.getRadius(),n),p}function I(t,e,n,r){for(var i=t.getFlatCoordinates(),o=t.getStride(),s=i.length/o-1,a=r||0,u=0;u<=s;++u){var l=u*o,c=a+2*Object(v.g)(u,s)*Math.PI/s;i[l]=e[0]+n*Math.cos(c),i[l+1]=e[1]+n*Math.sin(c)}t.changed()}e.a=E},function(t,e,n){"use strict";e.a={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"}},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},function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return c})),n.d(e,"f",(function(){return h}));var r="ol-hidden",i="ol-selectable",o="ol-unselectable",s="ol-control",a="ol-collapsed",u=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"),l=["style","variant","weight","size","lineHeight","family"],c=function(t){var e=t.match(u);if(!e)return null;for(var n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},r=0,i=l.length;r<i;++r){var o=e[r+1];void 0!==o&&(n[l[r]]=o)}return n.families=n.family.split(/,\s?/),n};function h(t){return 1===t?"":String(Math.round(100*t)/100)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r={RADIANS:"radians",DEGREES:"degrees",FEET:"ft",METERS:"m",PIXELS:"pixels",TILE_PIXELS:"tile-pixels",USFEET:"us-ft"};var i={};i[r.RADIANS]=6370997/(2*Math.PI),i[r.DEGREES]=2*Math.PI*6370997/360,i[r.FEET]=.3048,i[r.METERS]=1,i[r.USFEET]=1200/3937,e.b=r},function(t,e,n){"use strict";function r(t){return t[0]>0&&t[1]>0}function i(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 o(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 i})),n.d(e,"c",(function(){return o}))},function(t,e,n){"use strict";var r,i=n(25),o=n(59),s=n(58),a=n(8),u=n(2),l=(r=function(t,e){return(r=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)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.key=n,i.oldValue=r,i}return l(e,t),e}(i.a),h=function(t){function e(e){var n=t.call(this)||this;return n.on,n.once,n.un,Object(u.c)(n),n.values_=null,void 0!==e&&n.setProperties(e),n}return l(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 c(n,t,e)),n=o.a.PROPERTYCHANGE,this.hasListener(n)&&this.dispatchEvent(new c(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 i=r[t];r[t]=e,i!==e&&this.notify(t,i)}},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}(s.a);e.a=h},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"f",(function(){return o})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return u})),n.d(e,"c",(function(){return l})),n.d(e,"e",(function(){return c}));var r="undefined"!=typeof navigator&&void 0!==navigator.userAgent?navigator.userAgent.toLowerCase():"",i=-1!==r.indexOf("firefox"),o=(-1!==r.indexOf("safari")&&-1==r.indexOf("chrom")&&(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"),a="undefined"!=typeof devicePixelRatio?devicePixelRatio:1,u="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,l="undefined"!=typeof Image&&Image.prototype.decode,c=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch(t){}return t}()},function(t,e,n){"use strict";var r,i=n(96),o=n(29),s=n(22),a=n(25),u=(r=function(t,e){return(r=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)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l="length",c=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.element=n,i.index=r,i}return u(e,t),e}(a.a),h=function(t){function e(e,n){var r=t.call(this)||this;r.on,r.once,r.un;var i=n||{};if(r.unique_=!!i.unique,r.array_=e||[],r.unique_)for(var o=0,s=r.array_.length;o<s;++o)r.assertUnique_(r.array_[o],o);return r.updateLength_(),r}return u(e,t),e.prototype.clear=function(){for(;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(l)},e.prototype.insertAt=function(t,e){this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new c(s.a.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 c(s.a.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 c(s.a.REMOVE,r,t)),this.dispatchEvent(new c(s.a.ADD,e,t))}else{for(var i=n;i<t;++i)this.insertAt(i,void 0);this.insertAt(t,e)}},e.prototype.updateLength_=function(){this.set(l,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 i.a(58)},e}(o.a);e.a=h},function(t,e,n){"use strict";e.a={ANIMATING:0,INTERACTING:1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r,i=n(38),o=n(14),s=n(8),a=(r=function(t,e){return(r=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)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=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.trackedPointers_={},n.targetPointers=[],n}return a(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==o.a.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==o.a.POINTERUP){var n=this.handleUpEvent(t);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(t.type==o.a.POINTERDOWN){var r=this.handleDownEvent(t);this.handlingDownUpSequence=r,e=this.stopDown(r)}else t.type==o.a.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){if(function(t){var e=t.type;return e===o.a.POINTERDOWN||e===o.a.POINTERDRAG||e===o.a.POINTERUP}(t)){var e=t.originalEvent,n=e.pointerId.toString();t.type==o.a.POINTERUP?delete this.trackedPointers_[n]:(t.type==o.a.POINTERDOWN||n in this.trackedPointers_)&&(this.trackedPointers_[n]=e),this.targetPointers=Object(s.c)(this.trackedPointers_)}},e}(i.a);function l(t){for(var e=t.length,n=0,r=0,i=0;i<e;i++)n+=t[i].clientX,r+=t[i].clientY;return[n/e,r/e]}e.b=u},function(t,e,n){"use strict";function r(t,e,n,r,i){for(var o=void 0!==i?i:[],s=0,a=e;a<n;a+=r)o[s++]=t.slice(a,a+r);return o.length=s,o}function i(t,e,n,i,o){for(var s=void 0!==o?o:[],a=0,u=0,l=n.length;u<l;++u){var c=n[u];s[a++]=r(t,e,c,i,s[a]),e=c}return s.length=a,s}function o(t,e,n,r,o){for(var s=void 0!==o?o:[],a=0,u=0,l=n.length;u<l;++u){var c=n[u];s[a++]=i(t,e,c,r,s[a]),e=c[c.length-1]}return s.length=a,s}n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o}))},function(t,e,n){"use strict";function r(t,e,n,r,i,o){for(var s=o||[],a=0,u=e;u<n;u+=r){var l=t[u],c=t[u+1];s[a++]=i[0]*l+i[2]*c+i[4],s[a++]=i[1]*l+i[3]*c+i[5]}return o&&s.length!=a&&(s.length=a),s}function i(t,e,n,r,i,o,s){for(var a=s||[],u=Math.cos(i),l=Math.sin(i),c=o[0],h=o[1],p=0,f=e;f<n;f+=r){var d=t[f]-c,g=t[f+1]-h;a[p++]=c+d*u-g*l,a[p++]=h+d*l+g*u;for(var y=f+2;y<f+r;++y)a[p++]=t[y]}return s&&a.length!=p&&(a.length=p),a}function o(t,e,n,r,i,o,s,a){for(var u=a||[],l=s[0],c=s[1],h=0,p=e;p<n;p+=r){var f=t[p]-l,d=t[p+1]-c;u[h++]=l+i*f,u[h++]=c+o*d;for(var g=p+2;g<p+r;++g)u[h++]=t[g]}return a&&u.length!=h&&(u.length=h),u}function s(t,e,n,r,i,o,s){for(var a=s||[],u=0,l=e;l<n;l+=r){a[u++]=t[l]+i,a[u++]=t[l+1]+o;for(var c=l+2;c<l+r;++c)a[u++]=t[c]}return s&&a.length!=u&&(a.length=u),a}n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return s}))},function(t,e,n){"use strict";e.a={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},function(t,e,n){"use strict";n.d(e,"b",(function(){return p}));var r,i=n(105),o=n(24),s=n(2),a=n(0),u=n(35),l=(r=function(t,e){return(r=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)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(){var e=t.call(this)||this;return e.layout=o.a.XY,e.stride=2,e.flatCoordinates=null,e}return l(e,t),e.prototype.computeExtent=function(t){return Object(a.n)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinates=function(){return Object(s.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);return e.getFlatCoordinates().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=h(t),this.layout=t,this.flatCoordinates=e},e.prototype.setCoordinates=function(t,e){Object(s.b)()},e.prototype.setLayout=function(t,e,n){var r;if(t)r=h(t);else{for(var i=0;i<n;++i){if(0===e.length)return this.layout=o.a.XY,void(this.stride=2);e=e[0]}t=function(t){var e;2==t?e=o.a.XY:3==t?e=o.a.XYZ:4==t&&(e=o.a.XYZM);return e}(r=e.length)}this.layout=t,this.stride=r},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();Object(u.a)(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 i=n;i||(i=Object(a.w)(this.getExtent()));var o=this.getFlatCoordinates();if(o){var s=this.getStride();Object(u.b)(o,0,o.length,s,t,r,i,o),this.changed()}},e.prototype.translate=function(t,e){var n=this.getFlatCo