1"use strict";(globalThis.webpackChunkwips_components_scripts||=[]).push([[30303],{"7a7024b385c77aea"(t,e,n){n.d(e,["A",0,class{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}])},"9ca853d5739ecb87"(t,e,n){var i=n("d9d970a300f7265a"),s=n("4f737c88fdcd2e73"),r=n("8bdf76cc4337ba1b"),o=n("f9d04b864d31e1c2");class a extends i.A{constructor(t){if(super(),this.on,this.once,this.un,this.id_=void 0,this.geometryName_="geometry",this.style_=null,this.styleFunction_=void 0,this.geometryChangeKey_=null,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),t)if("function"==typeof t.getSimplifiedGeometry){const e=t;this.setGeometry(e)}else{const e=t;this.setProperties(e)}}clone(){const t=new a,e=this.geometryName_;t.setGeometryName(e);const n=this.getPropertiesInternal();if(n){const i=this.getGeometry();for(const s in n)s===e&&i?t.set(s,i.clone()):t.set(s,n[s],!0)}const i=this.getStyle();return i&&t.setStyle(i),t}getGeometry(){return this.get(this.geometryName_)}getId(){return this.id_}getGeometryName(){return this.geometryName_}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}handleGeometryChange_(){this.changed()}handleGeometryChanged_(){this.geometryChangeKey_&&((0,r.JH)(this.geometryChangeKey_),this.geometryChangeKey_=null);const t=this.getGeometry();t&&(this.geometryChangeKey_=(0,r.KT)(t,o.A.CHANGE,this.handleGeometryChange_,this)),this.changed()}setGeometry(t){this.set(this.geometryName_,t)}setStyle(t){this.style_=t,this.styleFunction_=t?function(t){if("function"==typeof t)return t;let e;return Array.isArray(t)?e=t:((0,s.v)("function"==typeof t.getZIndex,"Expected an `ol/style/Style` or an array of `ol/style/Style.js`"),e=[t]),function(){return e}}(t):void 0,this.changed()}setId(t){this.id_=t,this.changed()}setGeometryName(t){t!==this.geometryName_&&(this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=t,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_())}}const l=a;n.d(e,["A",0,l])},d9d970a300f7265a(t,e,n){var i=n("a80a1a554e23dcce"),s=n("68f0d87af6343e6e"),r=n("2a59e270a3e00c15"),o=n("6645b25b4a24c208"),a=n("dce55b8bb3b681d8");class l extends r.Ay{constructor(t,e,n){super(t),this.key=e,this.oldValue=n}}class h extends s.A{constructor(t){super(),this.on,this.once,this.un,(0,a.v6)(this),this.values_=null,void 0!==t&&this.setProperties(t)}get(t){let e;return this.values_&&this.values_.hasOwnProperty(t)&&(e=this.values_[t]),e}getKeys(){return this.values_&&Object.keys(this.values_)||[]}getProperties(){return this.values_&&Object.assign({},this.values_)||{}}getPropertiesInternal(){return this.values_}hasProperties(){return!!this.values_}notify(t,e){let n;n=`change:${t}`,this.hasListener(n)&&this.dispatchEvent(new l(n,t,e)),n=i.A.PROPERTYCHANGE,this.hasListener(n)&&this.dispatchEvent(new l(n,t,e))}addChangeListener(t,e){this.addEventListener(`change:${t}`,e)}removeChangeListener(t,e){this.removeEventListener(`change:${t}`,e)}set(t,e,n){const i=this.values_||(this.values_={});if(n)i[t]=e;else{const n=i[t];i[t]=e,n!==e&&this.notify(t,n)}}setProperties(t,e){for(const n in t)this.set(n,t[n],e)}applyProperties(t){t.values_&&Object.assign(this.values_||(this.values_={}),t.values_)}unset(t,e){if(this.values_&&t in this.values_){const n=this.values_[t];delete this.values_[t],(0,o.p)(this.values_)&&(this.values_=null),e||this.notify(t,n)}}}const d=h;n.d(e,["A",0,d])},a80a1a554e23dcce(t,e,n){n.d(e,["A",0,{PROPERTYCHANGE:"propertychange"}])},"68f0d87af6343e6e"(t,e,n){n.d(e,{e:()=>a});var i=n("8bdf76cc4337ba1b"),s=n("f9d04b864d31e1c2"),r=n("643672fedc737c6d");class o extends r.A{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(s.A.CHANGE)}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const n=t.length,s=new Array(n);for(let r=0;r<n;++r)s[r]=(0,i.KT)(this,t[r],e);return s}return(0,i.KT)(this,t,e)}onceInternal(t,e){let n;if(Array.isArray(t)){const s=t.length;n=new Array(s);for(let r=0;r<s;++r)n[r]=(0,i.Jz)(this,t[r],e)}else n=(0,i.Jz)(this,t,e);return e.ol_key=n,n}unInternal(t,e){const n=e.ol_key;if(n)a(n);else if(Array.isArray(t))for(let n=0,i=t.length;n<i;++n)this.removeEventListener(t[n],e);else this.removeEventListener(t,e)}}function a(t){if(Array.isArray(t))for(let e=0,n=t.length;e<n;++e)(0,i.JH)(t[e]);else(0,i.JH)(t)}o.prototype.on,o.prototype.once,o.prototype.un;const l=o;n.d(e,["A",0,l])},d16fcb46c8321e21(t,e,n){function i(t,e,n){let i,r;n=n||s;let o=0,a=t.length,l=!1;for(;o<a;)i=o+(a-o>>1),r=+n(t[i],e),r<0?o=i+1:(a=i,l=!r);return l?o:~o}function s(t,e){return t>e?1:t<e?-1:0}function r(t,e){return t<e?1:t>e?-1:0}function o(t,e,n){if(t[0]<=e)return 0;const i=t.length;if(e<=t[i-1])return i-1;if("function"==typeof n){for(let s=1;s<i;++s){const i=t[s];if(i===e)return s;if(i<e)return n(e,t[s-1],i)>0?s-1:s}return i-1}if(n>0){for(let n=1;n<i;++n)if(t[n]<e)return n-1;return i-1}if(n<0){for(let n=1;n<i;++n)if(t[n]<=e)return n;return i-1}for(let n=1;n<i;++n){if(t[n]==e)return n;if(t[n]<e)return t[n-1]-e<e-t[n]?n-1:n}return i-1}function a(t,e,n){for(;e<n;){const i=t[e];t[e]=t[n],t[n]=i,++e,--n}}function l(t,e){const n=Array.isArray(e)?e:[e],i=n.length;for(let e=0;e<i;e++)t[t.length]=n[e]}function h(t,e){const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function d(t,e,n){const i=e||s;return t.every(function(e,s){if(0===s)return!0;const r=i(t[s-1],e);return!(r>0||n&&0===r)})}n.d(e,{El:()=>i,FT:()=>o,V_:()=>s,WC:()=>d,X$:()=>l,aI:()=>h,gI:()=>a,rG:()=>r})},"4f737c88fdcd2e73"(t,e,n){function i(t,e){if(!t)throw new Error(e)}n.d(e,{v:()=>i})},d2524782d298b597(t,e,n){n.d(e,{R8:()=>r});const i=2;let s=1;function r(...t){s>i||console.warn(...t)}},"80d6e69a4431e843"(t,e,n){n.d(e,{Li:()=>h,U$:()=>d,WQ:()=>r,aI:()=>o,e$:()=>a,hs:()=>l,s5:()=>f});var i=n("f04b9a206f89df79"),s=n("3d566b35ff94ab2c");function r(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function o(t,e){let n=!0;for(let i=t.length-1;i>=0;--i)if(t[i]!=e[i]){n=!1;break}return n}function a(t,e){const n=Math.cos(e),i=Math.sin(e),s=t[0]*n-t[1]*i,r=t[1]*n+t[0]*i;return t[0]=s,t[1]=r,t}function l(t,e){return t[0]*=e,t[1]*=e,t}function h(t,e){if(e.canWrapX()){const n=(0,i.RG)(e.getExtent()),s=d(t,e,n);s&&(t[0]-=s*n)}return t}function d(t,e,n){const s=e.getExtent();let r=0;return e.canWrapX()&&(t[0]<s[0]||t[0]>s[2])&&(n=n||(0,i.RG)(s),r=Math.floor((t[0]-s[0])/n)),r}function f(t,e,n){const i=Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])),r=[(e[0]-t[0])/i,(e[1]-t[1])/i],o=[-r[1],r[0]],a=Math.sqrt((n[0]-t[0])*(n[0]-t[0])+(n[1]-t[1])*(n[1]-t[1])),l=[(n[0]-t[0])/a,(n[1]-t[1])/a];let h=0===i||0===a?0:Math.acos((0,s.qE)(l[0]*r[0]+l[1]*r[1],-1,1));return h=Math.max(h,1e-5),l[0]*o[0]+l[1]*o[1]>0?h:2*Math.PI-h}},"8bdf76cc4337ba1b"(t,e,n){n.d(e,{JH:()=>o,Jz:()=>r,KT:()=>s});var i=n("6645b25b4a24c208");function s(t,e,n,i,s){if(s){const s=n;n=function(r){return t.removeEventListener(e,n),s.call(i??this,r)}}else i&&i!==t&&(n=n.bind(i));const r={target:t,type:e,listener:n};return t.addEventListener(e,n),r}function r(t,e,n,i){return s(t,e,n,i,!0)}function o(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),(0,i.I)(t))}},"2a59e270a3e00c15"(t,e,n){n.d(e,["Ay",0,class{constructor(t){this.prop
1agationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}])},f9d04b864d31e1c2(t,e,n){n.d(e,["A",0,{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"}])},"643672fedc737c6d"(t,e,n){var i=n("7a7024b385c77aea"),s=n("cbd9e8260cc52116"),r=n("6645b25b4a24c208"),o=n("2a59e270a3e00c15");class a extends i.A{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,e){if(!t||!e)return;const n=this.listeners_||(this.listeners_={}),i=n[t]||(n[t]=[]);i.includes(e)||i.push(e)}dispatchEvent(t){const e="string"==typeof t,n=e?t:t.type,i=this.listeners_&&this.listeners_[n];if(!i)return;const r=e?new o.Ay(t):t;r.target||(r.target=this.eventTarget_||this);const a=this.dispatching_||(this.dispatching_={}),l=this.pendingRemovals_||(this.pendingRemovals_={});let h;n in a||(a[n]=0,l[n]=0),++a[n];for(let t=0,e=i.length;t<e;++t)if(h="handleEvent"in i[t]?i[t].handleEvent(r):i[t].call(this,r),!1===h||r.propagationStopped){h=!1;break}if(0===--a[n]){let t=l[n];for(delete l[n];t--;)this.removeEventListener(n,s.tV);delete a[n]}return h}disposeInternal(){this.listeners_&&(0,r.I)(this.listeners_)}getListeners(t){return this.listeners_&&this.listeners_[t]||void 0}hasListener(t){return!!this.listeners_&&(t?t in this.listeners_:Object.keys(this.listeners_).length>0)}removeEventListener(t,e){if(!this.listeners_)return;const n=this.listeners_[t];if(!n)return;const i=n.indexOf(e);-1!==i&&(this.pendingRemovals_&&t in this.pendingRemovals_?(n[i]=s.tV,++this.pendingRemovals_[t]):(n.splice(i,1),0===n.length&&delete this.listeners_[t]))}}const l=a;n.d(e,["A",0,l])},f04b9a206f89df79(t,e,n){n.d(e,{$C:()=>C,$u:()=>W,Bg:()=>R,HY:()=>X,Im:()=>O,Ld:()=>a,Li:()=>q,Mx:()=>Y,N:()=>u,NW:()=>D,Oq:()=>I,Py:()=>T,QJ:()=>H,R:()=>P,R8:()=>b,RG:()=>N,Rj:()=>d,S5:()=>c,Tr:()=>s,UG:()=>x,Vy:()=>p,WU:()=>L,X$:()=>m,Ym:()=>l,Yw:()=>w,_$:()=>U,_N:()=>F,aI:()=>y,aZ:()=>g,dP:()=>_,k_:()=>E,ms:()=>h,o8:()=>o,q1:()=>A,qF:()=>G,r:()=>r,sB:()=>M,vz:()=>f,wB:()=>S});var i=n("849831c54863eabc");function s(t){const e=[1/0,1/0,-1/0,-1/0];for(let n=0,i=t.length;n<i;++n)C(e,t[n]);return e}function r(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 o(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function a(t,e,n){let i,s;return i=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0,s=n<t[1]?t[1]-n:t[3]<n?n-t[3]:0,i*i+s*s}function l(t,e){return d(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 d(t,e,n){return t[0]<=e&&e<=t[2]&&t[1]<=n&&n<=t[3]}function f(t,e){const n=t[0],s=t[1],r=t[2],o=t[3],a=e[0],l=e[1];let h=i.A.UNKNOWN;return a<n?h|=i.A.LEFT:a>r&&(h|=i.A.RIGHT),l<s?h|=i.A.BELOW:l>o&&(h|=i.A.ABOVE),h===i.A.UNKNOWN&&(h=i.A.INTERSECTING),h}function c(){return[1/0,1/0,-1/0,-1/0]}function u(t,e,n,i,s){return s?(s[0]=t,s[1]=e,s[2]=n,s[3]=i,s):[t,e,n,i]}function g(t){return u(1/0,1/0,-1/0,-1/0,t)}function _(t,e){const n=t[0],i=t[1];return u(n,i,n,i,e)}function p(t,e,n,i,s){return b(g(s),t,e,n,i)}function y(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 C(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 b(t,e,n,i,s){for(;n<i;n+=s)v(t,e[n],e[n+1]);return t}function v(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 M(t,e){let n;return n=e(P(t)),n||(n=e(E(t)),n||(n=e(L(t)),n||(n=e(T(t)),n||!1)))}function x(t){let e=0;return O(t)||(e=N(t)*I(t)),e}function P(t){return[t[0],t[1]]}function E(t){return[t[2],t[1]]}function A(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function G(t,e){let n;if("bottom-left"===e)n=P(t);else if("bottom-right"===e)n=E(t);else if("top-left"===e)n=T(t);else{if("top-right"!==e)throw new Error("Invalid corner");n=L(t)}return n}function R(t,e,n,i,s){const[r,o,a,l,h,d,f,c]=w(t,e,n,i);return u(Math.min(r,a,h,f),Math.min(o,l,d,c),Math.max(r,a,h,f),Math.max(o,l,d,c),s)}function w(t,e,n,i){const s=e*i[0]/2,r=e*i[1]/2,o=Math.cos(n),a=Math.sin(n),l=s*o,h=s*a,d=r*o,f=r*a,c=t[0],u=t[1];return[c-l+f,u-h-d,c-l-f,u-h+d,c+l-f,u+h+d,c+l+f,u+h-d,c-l+f,u-h-d]}function I(t){return t[3]-t[1]}function F(t,e,n){const i=n||[1/0,1/0,-1/0,-1/0];return X(t,e)?(t[0]>e[0]?i[0]=t[0]:i[0]=e[0],t[1]>e[1]?i[1]=t[1]:i[1]=e[1],t[2]<e[2]?i[2]=t[2]:i[2]=e[2],t[3]<e[3]?i[3]=t[3]:i[3]=e[3]):g(i),i}function S(t,e){if(!X(t,e))return[t.slice()];if(h(e,t))return[];const[n,i,s,r]=t,o=Math.max(n,e[0]),a=Math.max(i,e[1]),l=Math.min(s,e[2]),d=Math.min(r,e[3]),f=[];return o>n&&f.push([n,i,o,r]),l<s&&f.push([l,i,s,r]),a>i&&f.push([o,i,l,a]),d<r&&f.push([o,d,l,r]),f}function T(t){return[t[0],t[3]]}function L(t){return[t[2],t[3]]}function N(t){return t[2]-t[0]}function X(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function O(t){return t[2]<t[0]||t[3]<t[1]}function W(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t}function Y(t,e,n){let s=!1;const r=f(t,e),o=f(t,n);if(r===i.A.INTERSECTING||o===i.A.INTERSECTING)s=!0;else{const a=t[0],l=t[1],h=t[2],d=t[3],f=e[0],c=e[1],u=n[0],g=n[1],_=(g-c)/(u-f);let p,y;o&i.A.ABOVE&&!(r&i.A.ABOVE)&&(p=u-(g-d)/_,s=p>=a&&p<=h),s||!(o&i.A.RIGHT)||r&i.A.RIGHT||(y=g-(u-h)*_,s=y>=l&&y<=d),s||!(o&i.A.BELOW)||r&i.A.BELOW||(p=u-(g-l)/_,s=p>=a&&p<=h),s||!(o&i.A.LEFT)||r&i.A.LEFT||(y=g-(u-a)*_,s=y>=l&&y<=d)}return s}function D(t,e,n,i){if(O(t))return g(n);let s=[];if(i>1){const e=t[2]-t[0],n=t[3]-t[1];for(let r=0;r<i;++r)s.push(t[0]+e*r/i,t[1],t[2],t[1]+n*r/i,t[2]-e*r/i,t[3],t[0],t[3]-n*r/i)}else s=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(s,s,2);const r=[],o=[];for(let t=0,e=s.length;t<e;t+=2)r.push(s[t]),o.push(s[t+1]);return function(t,e,n){return u(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),n)}(r,o,n)}function q(t,e){const n=e.getExtent(),i=A(t);if(e.canWrapX()&&(i[0]<n[0]||i[0]>=n[2])){const e=N(n),s=Math.floor((i[0]-n[0])/e)*e;t[0]-=s,t[2]-=s}return t}function H(t,e,n){if(e.canWrapX()){const i=e.getExtent();if(!isFinite(t[0])||!isFinite(t[2]))return[[i[0],t[1],i[2],t[3]]];q(t,e);const s=N(i);if(N(t)>s&&!n)return[[i[0],t[1],i[2],t[3]]];if(t[0]<i[0])return[[t[0]+s,t[1],i[2],t[3]],[i[0],t[1],t[2],t[3]]];if(t[2]>i[2])return[[t[0],t[1],i[2],t[3]],[i[0],t[1],t[2]-s,t[3]]]}return[t]}function U(t,e){let n=[t];for(let t=0,i=e.length;t<i&&n.length>0;++t){const i=[];for(let s=0,r=n.length;s<r;++s)i.push(...S(n[s],e[t]));n=i}return n}},"849831c54863eabc"(t,e,n){n.d(e,["A",0,{UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}])},f9aae9846c70880e(t,e,n){n.d(e,{te:()=>E,Bs:()=>P,Ay:()=>v,hX:()=>M});var i=n("9ca853d5739ecb87"),s=n("8bdf76cc4337ba1b"),r=n("f9d04b864d31e1c2"),o=n("f04b9a206f89df79"),a=n("088b971df99d07b3");class l extends a.A{constructor(t){super(),this.geometries_=t,this.changeEventsKeys_=[],this.listenGeometriesChange_()}unlistenGeometriesChange_(){this.changeEventsKeys_.forEach(s.JH),this.changeEventsKeys_.length=0}listenGeometriesChange_(){const t=this.geometries_;for(let e=0,n=t.length;e<n;++e)this.changeEventsKeys_.push((0,s.KT)(t[e],r.A.CHANGE,this.changed,this))}clone(){const t=new l(h(this.geometries_));return t.applyProperties(this),t}closestPointXY(t,e,n,i){if(i<(0,o.Ld)(this.getExtent(),t,e))return i;const s=this.geometries_;for(let r=0,o=s.length;r<o;++r)i=s[r].closestPointXY(t,e,n,i);return i}containsXY(t,e){const n=this.geometries_;for(let i=0,s=n.length;i<s;++i)if(n[i].containsXY(t,e))return!0;return!1}computeExtent(t){(0,o.aZ)(t);const e=this.geometries_;for(let n=0,i=e.length;n<i;++n)(0,o.X$)(t,e[n].getExtent());return t}getGeometries(){return h(this.geometries_)}getGeometriesArray(){return this.geometries_}getGeometriesArrayRecursive(){let t=[];const e=this.geometries_;for(let n=0,i=e.length;n<i;++n)e[n].getType()===this.getType()?t=t.concat(e[n].getGeometriesArrayRecursive()):t.push(e[n]);return t}getSimplifiedGeometry(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<this.simplifiedGeometryMaxMinSquaredTolerance)return this;const e=[],n=this.geometries_;let i=!1;for(let s=0,r=n.length;s<r;++s){const r=n[s],o=r.getSimplifiedGeometry(t);e.push(o),o!==r&&(i=!0)}return i?new l(e):(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)}getType(){return"GeometryCollection"}intersectsExtent(t){const e=this.geometries_;for(let n=0,i=e.length;n<i;++n)if(e[n].intersectsExtent(t))return!0;return!1}isEmpty(){return 0===this.geometries_.length}rotate(t,e){const n=this.geometries_;for(let i=0,s=n.length;i<s;++i)n[i].rotate(t,e);this.changed()}scale(t,e,n){n||(n=(0,o.q1)(this.getExtent()));const i=this.geometries_;for(let s=0,r=i.length;s<r;++s)i[s].scale(t,e,n);this.changed()}setGeometries(t){this.setGeometriesArray(h(t))}setGeometriesArray(t){this.unlistenGeometriesChange_(),this.geometries_=t,this.listenGeometriesChange_(),this.changed()}applyTransform(t){const e=this.geometries_;for(let n=0,i=e.length;n<i;++n)e[n].applyTransform(t);this.changed()}translate(t,e){const n=this.geometries_;for(let i=0,s=n.length;i<s;++i)n[i].translate(t,e);this.changed()}disposeInternal(){this.unlistenGeometriesChange_(),super.disposeInternal()}}function h(t){return t.map(t=>t.clone())}const d=l;var f=n("1bbb2febec920078"),c=n("a250ce7b4da194fb"),u=n("301abdceb0295b7d"),g=n("ab9c7bbbcf46d869"),_=n("cf4caea0679dccb3"),p=n("70130c4fdfe2d08b"),y=n("4808ef1ba9374579"),m=n("e2122e3a756da83b"),C=n("15ac91b9ba4d3165"),b=n("dce55b8bb3b681d8");const v=class{constructor(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0,this.featureClass=i.A,this.supportedMediaTypes=null}getReadOptions(t,e){if(e){let n=e.dataProjection?(0,m.Jt)(e.dataProjection):this.readProjection(t);e.extent&&n&&"tile-pixels"===n.getUnits()&&(n=(0,m.Jt)(n),n.setWorldExtent(e.extent)),e={dataProjection:n,featureProjection:e.featureProjection}}return this.adaptOptions(e)}adaptOptions(t){return Object.assign({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection,featureClass:this.featureClass},t)}getType(){return(0,b.b0)()}readFeature(t,e){return(0,b.b0)()}readFeatures(t,e){return(0,b.b0)()}readGeometry(t,e){return(0,b.b0)()}readProjection(t){return(0,b.b0)()}
1writeFeature(t,e){return(0,b.b0)()}writeFeatures(t,e){return(0,b.b0)()}writeGeometry(t,e){return(0,b.b0)()}};function M(t,e,n){const i=n?(0,m.Jt)(n.featureProjection):null,s=n?(0,m.Jt)(n.dataProjection):null;let r=t;if(i&&s&&!(0,m.tI)(i,s)){e&&(r=t.clone());const n=e?i:s,o=e?s:i;"tile-pixels"===n.getUnits()?r.transform(n,o):r.applyTransform((0,m.RG)(n,o))}if(e&&n&&void 0!==n.decimals){const e=Math.pow(10,n.decimals),i=function(t){for(let n=0,i=t.length;n<i;++n)t[n]=Math.round(t[n]*e)/e;return t};r===t&&(r=t.clone()),r.applyTransform(i)}return r}const x={Point:_.A,LineString:f.A,Polygon:p.Ay,MultiPoint:u.A,MultiLineString:c.A,MultiPolygon:g.A};function P(t,e){const n=t.geometry;if(!n)return[];if(Array.isArray(n))return n.map(e=>P({...t,geometry:e})).flat();const i="MultiPolygon"===n.type?"Polygon":n.type;if("GeometryCollection"===i||"Circle"===i)throw new Error("Unsupported geometry type: "+i);const s=n.layout.length;return M(new C.Ay(i,"Polygon"===i?function(t,e,n){return Array.isArray(e[0])?((0,y.mb)(t,0,e,n)||(t=t.slice(),(0,y.NK)(t,0,e,n)),t):((0,y.PA)(t,0,e,n)||(t=t.slice(),(0,y.ug)(t,0,e,n)),t)}(n.flatCoordinates,n.ends,s):n.flatCoordinates,n.ends?.flat(),s,t.properties||{},t.id).enableSimplifyTransformed(),!1,e)}function E(t,e){if(!t)return null;if(Array.isArray(t)){const n=t.map(t=>E(t,e));return new d(n)}return M(new(0,x[t.type])(t.flatCoordinates,t.layout||"XY",t.ends),!1,e)}},cbd9e8260cc52116(t,e,n){n.d(e,{B4:()=>a,W8:()=>r,hq:()=>l,rT:()=>s,tV:()=>o});var i=n("d16fcb46c8321e21");function s(){return!0}function r(){return!1}function o(){}function a(t){let e,n,s;return function(){const r=Array.prototype.slice.call(arguments);return n&&this===s&&(0,i.aI)(r,n)||(s=this,n=r,e=t.apply(this,arguments)),e}}function l(t){return function(){let e;try{e=t()}catch(t){return Promise.reject(t)}return e instanceof Promise?e:Promise.resolve(e)}()}},"088b971df99d07b3"(t,e,n){var i=n("d9d970a300f7265a"),s=n("f04b9a206f89df79"),r=n("cbd9e8260cc52116"),o=n("e2122e3a756da83b"),a=n("dd0f41ad601ae06a"),l=n("dce55b8bb3b681d8"),h=n("1625ebaf0c993792");const d=(0,a.vt)(),f=[NaN,NaN];class c extends i.A{constructor(){super(),this.extent_=(0,s.S5)(),this.extentRevision_=-1,this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=0,this.simplifyTransformedInternal=(0,r.B4)((t,e,n)=>{if(!n)return this.getSimplifiedGeometry(e);const i=this.clone();return i.applyTransform(n),i.getSimplifiedGeometry(e)})}simplifyTransformed(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)}clone(){return(0,l.b0)()}closestPointXY(t,e,n,i){return(0,l.b0)()}containsXY(t,e){return 0===this.closestPointXY(t,e,f,Number.MIN_VALUE)}getClosestPoint(t,e){return e=e||[NaN,NaN],this.closestPointXY(t[0],t[1],e,1/0),e}intersectsCoordinate(t){return this.containsXY(t[0],t[1])}computeExtent(t){return(0,l.b0)()}getExtent(t){if(this.extentRevision_!=this.getRevision()){const t=this.computeExtent(this.extent_);(isNaN(t[0])||isNaN(t[1]))&&(0,s.aZ)(t),this.extentRevision_=this.getRevision()}return(0,s.$u)(this.extent_,t)}rotate(t,e){(0,l.b0)()}scale(t,e,n){(0,l.b0)()}simplify(t){return this.getSimplifiedGeometry(t*t)}getSimplifiedGeometry(t){return(0,l.b0)()}getType(){return(0,l.b0)()}applyTransform(t){(0,l.b0)()}intersectsExtent(t){return(0,l.b0)()}translate(t,e){(0,l.b0)()}transform(t,e){const n=(0,o.Jt)(t),i="tile-pixels"==n.getUnits()?function(t,i,r){const l=n.getExtent(),f=n.getWorldExtent(),c=(0,s.Oq)(f)/(0,s.Oq)(l);(0,a.Zz)(d,f[0],f[3],c,-c,0,0,0);const u=(0,h.Rc)(t,0,t.length,r,d,i),g=(0,o.RG)(n,e);return g?g(u,u,r):u}:(0,o.RG)(n,e);return this.applyTransform(i),this}}const u=c;n.d(e,["A",0,u])},"1bbb2febec920078"(t,e,n){var i=n("d16fcb46c8321e21"),s=n("f04b9a206f89df79"),r=n("76d1425fc876f7e5"),o=n("e53c48f417c84820"),a=n("57a3e61e9e5e6b9f"),l=n("19438bf90df98a67"),h=n("7debcdc4f77441f4"),d=n("55f1bd79b5dcd87c"),f=n("0e9f91805a359fdf"),c=n("8c962a1a2a972891"),u=n("5f4e2fbb54132189");class g extends r.Ay{constructor(t,e){super(),this.flatMidpoint_=null,this.flatMidpointRevision_=-1,this.maxDelta_=-1,this.maxDeltaRevision_=-1,void 0===e||Array.isArray(t[0])?this.setCoordinates(t,e):this.setFlatCoordinates(e,t)}appendCoordinate(t){(0,i.X$)(this.flatCoordinates,t),this.changed()}clone(){const t=new g(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,n,i){return i<(0,s.Ld)(this.getExtent(),t,e)?i:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,o.MD)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,o.n)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!1,t,e,n,i))}forEachSegment(t){return(0,c.j)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinateAtM(t,e){return"XYM"!=this.layout&&"XYZM"!=this.layout?null:(e=void 0!==e&&e,(0,h.gr)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e))}getCoordinates(){return(0,l.n2)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinateAt(t,e){return(0,h.SH)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,this.stride)}getLength(){return(0,f.k)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getFlatMidpoint(){return this.flatMidpointRevision_!=this.getRevision()&&(this.flatMidpoint_=this.getCoordinateAt(.5,this.flatMidpoint_??void 0),this.flatMidpointRevision_=this.getRevision()),this.flatMidpoint_}getSimplifiedGeometryInternal(t){const e=[];return e.length=(0,u.P4)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,0),new g(e,"XY")}getType(){return"LineString"}intersectsExtent(t){return(0,d.gp)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,this.getExtent())}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=(0,a.z2)(this.flatCoordinates,0,t,this.stride),this.changed()}}const _=g;n.d(e,["A",0,_])},a250ce7b4da194fb(t,e,n){var i=n("d16fcb46c8321e21"),s=n("f04b9a206f89df79"),r=n("1bbb2febec920078"),o=n("76d1425fc876f7e5"),a=n("e53c48f417c84820"),l=n("57a3e61e9e5e6b9f"),h=n("19438bf90df98a67"),d=n("7debcdc4f77441f4"),f=n("55f1bd79b5dcd87c"),c=n("0e9f91805a359fdf"),u=n("5f4e2fbb54132189");class g extends o.Ay{constructor(t,e,n){if(super(),this.ends_=[],this.maxDelta_=-1,this.maxDeltaRevision_=-1,Array.isArray(t[0]))this.setCoordinates(t,e);else if(void 0!==e&&n)this.setFlatCoordinates(e,t),this.ends_=n;else{const e=t,n=[],s=[];for(let t=0,r=e.length;t<r;++t){const r=e[t];(0,i.X$)(n,r.getFlatCoordinates()),s.push(n.length)}const r=0===e.length?this.getLayout():e[0].getLayout();this.setFlatCoordinates(r,n),this.ends_=s}
1}appendLineString(t){(0,i.X$)(this.flatCoordinates,t.getFlatCoordinates().slice()),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const t=new g(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t}closestPointXY(t,e,n,i){return i<(0,s.Ld)(this.getExtent(),t,e)?i:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,a.HX)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,a.oW)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!1,t,e,n,i))}getCoordinateAtM(t,e,n){return"XYM"!=this.layout&&"XYZM"!=this.layout||0===this.flatCoordinates.length?null:(e=void 0!==e&&e,n=void 0!==n&&n,(0,d.L8)(this.flatCoordinates,0,this.ends_,this.stride,t,e,n))}getCoordinates(){return(0,h.cD)(this.flatCoordinates,0,this.ends_,this.stride)}getEnds(){return this.ends_}getLineString(t){return t<0||this.ends_.length<=t?null:new r.A(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)}getLineStrings(){const t=this.flatCoordinates,e=this.ends_,n=this.layout,i=[];let s=0;for(let o=0,a=e.length;o<a;++o){const a=e[o],l=new r.A(t.slice(s,a),n);i.push(l),s=a}return i}getLength(){const t=this.ends_;let e=0,n=0;for(let i=0,s=t.length;i<s;++i)n+=(0,c.k)(this.flatCoordinates,e,t[i],this.stride),e=t[i];return n}getFlatMidpoints(){const t=[],e=this.flatCoordinates;let n=0;const s=this.ends_,r=this.stride;for(let o=0,a=s.length;o<a;++o){const a=s[o],l=(0,d.SH)(e,n,a,r,.5);(0,i.X$)(t,l),n=a}return t}getSimplifiedGeometryInternal(t){const e=[],n=[];return e.length=(0,u.AL)(this.flatCoordinates,0,this.ends_,this.stride,t,e,0,n),new g(e,"XY",n)}getType(){return"MultiLineString"}intersectsExtent(t){return(0,f.fB)(this.flatCoordinates,0,this.ends_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);const n=(0,l.KG)(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()}}const _=g;n.d(e,["A",0,_])},"301abdceb0295b7d"(t,e,n){var i=n("d16fcb46c8321e21"),s=n("f04b9a206f89df79"),r=n("3d566b35ff94ab2c"),o=n("cf4caea0679dccb3"),a=n("76d1425fc876f7e5"),l=n("57a3e61e9e5e6b9f"),h=n("19438bf90df98a67");class d extends a.Ay{constructor(t,e){super(),e&&!Array.isArray(t[0])?this.setFlatCoordinates(e,t):this.setCoordinates(t,e)}appendPoint(t){(0,i.X$)(this.flatCoordinates,t.getFlatCoordinates()),this.changed()}clone(){const t=new d(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,n,i){if(i<(0,s.Ld)(this.getExtent(),t,e))return i;const o=this.flatCoordinates,a=this.stride;for(let s=0,l=o.length;s<l;s+=a){const l=(0,r.hG)(t,e,o[s],o[s+1]);if(l<i){i=l;for(let t=0;t<a;++t)n[t]=o[s+t];n.length=a}}return i}getCoordinates(){return(0,h.n2)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getPoint(t){const e=this.flatCoordinates.length/this.stride;return t<0||e<=t?null:new o.A(this.flatCoordinates.slice(t*this.stride,(t+1)*this.stride),this.layout)}getPoints(){const t=this.flatCoordinates,e=this.layout,n=this.stride,i=[];for(let s=0,r=t.length;s<r;s+=n){const r=new o.A(t.slice(s,s+n),e);i.push(r)}return i}getType(){return"MultiPoint"}intersectsExtent(t){const e=this.flatCoordinates,n=this.stride;for(let i=0,r=e.length;i<r;i+=n){const n=e[i],r=e[i+1];if((0,s.Rj)(t,n,r))return!0}return!1}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=(0,l.z2)(this.flatCoordinates,0,t,this.stride),this.changed()}}const f=d;n.d(e,["A",0,f])},ab9c7bbbcf46d869(t,e,n){var i=n("d16fcb46c8321e21"),s=n("f04b9a206f89df79"),r=n("301abdceb0295b7d"),o=n("70130c4fdfe2d08b"),a=n("76d1425fc876f7e5"),l=n("b5bdd9a914793948"),h=n("f3cc91f1d96f7e09"),d=n("e53c48f417c84820"),f=n("2704b0ce1570df4d"),c=n("57a3e61e9e5e6b9f"),u=n("19438bf90df98a67"),g=n("45d344c42f8a6a23"),_=n("55f1bd79b5dcd87c"),p=n("4808ef1ba9374579"),y=n("5f4e2fbb54132189");class m extends a.Ay{constructor(t,e,n){if(super(),this.endss_=[],this.flatInteriorPointsRevision_=-1,this.flatInteriorPoints_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,!n&&!Array.isArray(t[0])){const s=t,r=[],o=[];for(let t=0,e=s.length;t<e;++t){const e=s[t],n=r.length,a=e.getEnds();for(let t=0,e=a.length;t<e;++t)a[t]+=n;(0,i.X$)(r,e.getFlatCoordinates()),o.push(a)}e=0===s.length?this.getLayout():s[0].getLayout(),t=r,n=o}void 0!==e&&n?(this.setFlatCoordinates(e,t),this.endss_=n):this.setCoordinates(t,e)}appendPolygon(t){let e;if(this.flatCoordinates){const n=this.flatCoordinates.length;(0,i.X$)(this.flatCoordinates,t.getFlatCoordinates()),e=t.getEnds().slice();for(let t=0,i=e.length;t<i;++t)e[t]+=n}else this.flatCoordinates=t.getFlatCoordinates().slice(),e=t.getEnds().slice(),this.endss_.push();this.endss_.push(e),this.changed()}clone(){const t=this.endss_.length,e=new Array(t);for(let n=0;n<t;++n)e[n]=this.endss_[n].slice();const n=new m(this.flatCoordinates.slice(),this.layout,e);return n.applyProperties(this),n}closestPointXY(t,e,n,i){return i<(0,s.Ld)(this.getExtent(),t,e)?i:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,d.c)(this.flatCoordinates,0,this.endss_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,d.te)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,this.maxDelta_,!0,t,e,n,i))}containsXY(t,e){return(0,f.Gd)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t,e)}getArea(){return(0,l.Cs)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride)}getCoordinates(t){let e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),(0,p.NK)(e,0,this.endss_,this.stride,t)):e=this.flatCoordinates,(0,u.Dz)(e,0,this.endss_,this.stride)}getEndss(){return this.endss_}getFlatInteriorPoints(){if(this.flatInteriorPointsRevision_!=this.getRevision()){const t=(0,h.C)(this.flatCoordinates,0,this.endss_,this.stride);this.flatInteriorPoints_=(0,g.p)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t),this.flatInteriorPointsRevision_=this.getRevision()}return this.flatInteriorPoints_}getInteriorPoints(){return new r.A(this.getFlatInteriorPoints().slice(),"XYM")}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const t=this.flatCoordinates;(0,p.mb)(t,0,this.endss_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=(0,p.NK)(this.orientedFlatCoordinates_,0,this.endss_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(t){const e=[],n=[];return e.length=(0,y.sx)(this.flatCoordinates,0,this.endss_,this.stride,Math.sqrt(t),e,0,n),new m(e,"XY",n)}getPolygon(t){if(t<0||this.endss_.length<=t)return null;let e;if(0===t)e=0;else{const n=this.endss_[t-1];e=n[n.length-1]}const n=this.endss_[t].slice(),i=n[n.length-1];if(0!==e)for(let t=0,i=n.length;t<i;++t)n[t]-=e;return new o.Ay(this.flatCoordinates.slice(e,i),this.layout,n)}getPolygons(){const t=this.layout,e=this.flatCoordinates,n=this.endss_,i=[];let s=0;for(let r=0,a=n.length;r<a;++r){const a=n[r].slice(),l=a[a.length-1];if(0!==s)for(let t=0,e=a.length;t<e;++t)a[t]-=s;const h=new o.Ay(e.slice(s,l),t,a);i.push(h),s=l}return i}getType(){return"MultiPolygon"}intersectsExtent(t){return(0,_.Wp)(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,3),this.flatCoordinates||(this.flatCoordinates=[]);const n=(0,c.d6)(this.flatCoordinates,0,t,this.stride,this.endss_);if(0===n.length)this.flatCoordinates.length=0;else{const t=n[n.length-1];this.flatCoordinates.length=0===t.length?0:t[t.length-1]}this.changed()}}const C=m;n.d(e,["A",0,C])},cf4caea0679dccb3(t,e,n){var i=n("f04b9a206f89df79"),s=n("3d566b35ff94ab2c"),r=n("76d1425fc876f7e5"),o=n("57a3e61e9e5e6b9f");class a extends r.Ay{constructor(t,e){super(),this.setCoordinates(t,e)}clone(){const t=new a(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,n,i){const r=this.flatCoordinates,o=(0,s.hG)(t,e,r[0],r[1]);if(o<i){const t=this.stride;for(let e=0;e<t;++e)n[e]=r[e];return n.length=t,o}return i}getCoordinates(){return this.flatCoordinates.slice()}computeExtent(t){return(0,i.dP)(this.flatCoordinates,t)}getType(){return"Point"}intersectsExtent(t){return(0,i.Rj)(t,this.flatCoordinates[0],this.flatCoordinates[1])}setCoordinates(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=(0,o._n)(this.flatCoordinates,0,t,this.stride),this.changed()}}const l=a;n.d(e,["A",0,l])},"70130c4fdfe2d08b"(t,e,n){n.d(e,{Ay:()=>C,VY:()=>b});var i=n("d16fcb46c8321e21"),s=n("f04b9a206f89df79"),r=n("76d1425fc876f7e5"),o=n("b5bdd9a914793948"),a=n("e53c48f417c84820"),l=n("57a3e61e9e5e6b9f"),h=n("19438bf90df98a67"),d=n("55f1bd79b5dcd87c"),f=n("5f4e2fbb54132189");class c extends r.Ay{constructor(t,e){super(),this.maxDelta_=-1,this.maxDeltaRevision_=-1,void 0===e||Array.isArray(t[0])?this.setCoordinates(t,e):this.setFlatCoordinates(e,t)}clone(){return new c(this.flatCoordinates.slice(),this.layout)}closestPointXY(t,e,n,i){return i<(0,s.Ld)(this.getExtent(),t,e)?i:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,a.MD)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,a.n)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,n,i))}getArea(){return(0,o.eN)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinates(){return(0,h.n2)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getSimplifiedGeometryInternal(t){const e=[];return e.length=(0,f.P4)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,0),new c(e,"XY")}getType(){return"LinearRing"}intersectsExtent(t){return(0,d.gp)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=(0,l.z2)(this.flatCoordinates,0,t,this.stride),this.changed()}}const u=c;var g=n("cf4caea0679dccb3"),_=n("2704b0ce1570df4d"),p=n("45d344c42f8a6a23"),y=n("4808ef1ba9374579");class m extends r.Ay{constructor(t,e,n){super(),this.ends_=[],this.flatInteriorPointRevision_=-1,this.flatInteriorPoint_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,void 0!==e&&n?(this.setFlatCoordinates(e,t),this.ends_=n):this.setCoordinates(t,e)}appendLinearRing(t){this.flatCoordinates?(0,i.X$)(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const t=new m(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t}closestPointXY(t,e,n,i){return i<(0,s.Ld)(this.getExtent(),t,e)?i:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt((0,a.HX)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),(0,a.oW)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,n,i))}containsXY(t,e){return(0,_.zb)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)}getArea(){return(0,o.PK)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)}getCoordinates(t){let e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),(0,y.ug)(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,(0,h.cD)(e,0,this.ends_,this.stride)}getEnds(){return this.ends_}getFlatInteriorPoint(){if(this.flatInteriorPointRevision_!=this.getRevision()){const t=(0,s.q
11)(this.getExtent());this.flatInteriorPoint_=(0,p.J)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_}getInteriorPoint(){return new g.A(this.getFlatInteriorPoint(),"XYM")}getLinearRingCount(){return this.ends_.length}getLinearRing(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)}getLinearRings(){const t=this.layout,e=this.flatCoordinates,n=this.ends_,i=[];let s=0;for(let r=0,o=n.length;r<o;++r){const o=n[r],a=new u(e.slice(s,o),t);i.push(a),s=o}return i}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const t=this.flatCoordinates;(0,y.PA)(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=(0,y.ug)(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(t){const e=[],n=[];return e.length=(0,f.Hg)(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),e,0,n),new m(e,"XY",n)}getType(){return"Polygon"}intersectsExtent(t){return(0,d.HT)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);const n=(0,l.KG)(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()}}const C=m;function b(t){if((0,s.Im)(t))throw new Error("Cannot create polygon from empty extent");const e=t[0],n=t[1],i=t[2],r=t[3],o=[e,n,e,r,i,r,i,n,e,n];return new m(o,"XY",[o.length])}},"76d1425fc876f7e5"(t,e,n){n.d(e,{p0:()=>l,v7:()=>d});var i=n("f04b9a206f89df79"),s=n("dce55b8bb3b681d8"),r=n("088b971df99d07b3"),o=n("1625ebaf0c993792");class a extends r.A{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(t){return(0,i.Vy)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinates(){return(0,s.b0)()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length<this.flatCoordinates.length?e:(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)}getSimplifiedGeometryInternal(t){return this}getStride(){return this.stride}setFlatCoordinates(t,e){this.stride=h(t),this.layout=t,this.flatCoordinates=e}setCoordinates(t,e){(0,s.b0)()}setLayout(t,e,n){let i;if(t)i=h(t);else{for(let t=0;t<n;++t){if(0===e.length)return this.layout="XY",void(this.stride=2);e=e[0]}i=e.length,t=l(i)}this.layout=t,this.stride=i}applyTransform(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.layout.startsWith("XYZ")?3:2,this.stride),this.changed())}rotate(t,e){const n=this.getFlatCoordinates();if(n){const i=this.getStride();(0,o.e$)(n,0,n.length,i,t,e,n),this.changed()}}scale(t,e,n){void 0===e&&(e=t),n||(n=(0,i.q1)(this.getExtent()));const s=this.getFlatCoordinates();if(s){const i=this.getStride();(0,o.hs)(s,0,s.length,i,t,e,n,s),this.changed()}}translate(t,e){const n=this.getFlatCoordinates();if(n){const i=this.getStride();(0,o.Tl)(n,0,n.length,i,t,e,n),this.changed()}}}function l(t){let e;return 2==t?e="XY":3==t?e="XYZ":4==t&&(e="XYZM"),e}function h(t){let e;return"XY"==t?e=2:"XYZ"==t||"XYM"==t?e=3:"XYZM"==t&&(e=4),e}function d(t,e,n){const i=t.getFlatCoordinates();if(!i)return null;const s=t.getStride();return(0,o.Rc)(i,0,i.length,s,e,n)}const f=a;n.d(e,["Ay",0,f])},b5bdd9a914793948(t,e,n){function i(t,e,n,i){let s=0;const r=t[n-i],o=t[n-i+1];let a=0,l=0;for(;e<n;e+=i){const n=t[e]-r,i=t[e+1]-o;s+=l*n-a*i,a=n,l=i}return s/2}function s(t,e,n,s){let r=0;for(let o=0,a=n.length;o<a;++o){const a=n[o];r+=i(t,e,a,s),e=a}return r}function r(t,e,n,i){let r=0;for(let o=0,a=n.length;o<a;++o){const a=n[o];r+=s(t,e,a,i),e=a[a.length-1]}return r}n.d(e,{Cs:()=>r,PK:()=>s,eN:()=>i})},f3cc91f1d96f7e09(t,e,n){n.d(e,{C:()=>s});var i=n("f04b9a206f89df79");function s(t,e,n,s){const r=[];let o=(0,i.S5)();for(let a=0,l=n.length;a<l;++a){const l=n[a];o=(0,i.Vy)(t,e,l[0],s),r.push((o[0]+o[2])/2,(o[1]+o[3])/2),e=l[l.length-1]}return r}},e53c48f417c84820(t,e,n){n.d(e,{HX:()=>o,MD:()=>r,c:()=>a,n:()=>l,oW:()=>h,te:()=>d});var i=n("3d566b35ff94ab2c");function s(t,e,n,s,r,o,a){const l=t[e],h=t[e+1],d=t[n]-l,f=t[n+1]-h;let c;if(0===d&&0===f)c=e;else{const u=((r-l)*d+(o-h)*f)/(d*d+f*f);if(u>1)c=n;else{if(u>0){for(let r=0;r<s;++r)a[r]=(0,i.Cc)(t[e+r],t[n+r],u);return void(a.length=s)}c=e}}for(let e=0;e<s;++e)a[e]=t[c+e];a.length=s}function r(t,e,n,s,r){let o=t[e],a=t[e+1];for(e+=s;e<n;e+=s){const n=t[e],s=t[e+1],l=(0,i.hG)(o,a,n,s);l>r&&(r=l),o=n,a=s}return r}function o(t,e,n,i,s){for(let o=0,a=n.length;o<a;++o){const a=n[o];s=r(t,e,a,i,s),e=a}return s}function a(t,e,n,i,s){for(let r=0,a=n.length;r<a;++r){const a=n[r];s=o(t,e,a,i,s),e=a[a.length-1]}return s}function l(t,e,n,r,o,a,l,h,d,f,c){if(e==n)return f;let u,g;if(0===o){if(g=(0,i.hG)(l,h,t[e],t[e+1]),g<f){for(u=0;
1u<r;++u)d[u]=t[e+u];return d.length=r,g}return f}c=c||[NaN,NaN];let _=e+r;for(;_<n;)if(s(t,_-r,_,r,l,h,c),g=(0,i.hG)(l,h,c[0],c[1]),g<f){for(f=g,u=0;u<r;++u)d[u]=c[u];d.length=r,_+=r}else _+=r*Math.max((Math.sqrt(g)-Math.sqrt(f))/o|0,1);if(a&&(s(t,n-r,e,r,l,h,c),g=(0,i.hG)(l,h,c[0],c[1]),g<f)){for(f=g,u=0;u<r;++u)d[u]=c[u];d.length=r}return f}function h(t,e,n,i,s,r,o,a,h,d,f){f=f||[NaN,NaN];for(let c=0,u=n.length;c<u;++c){const u=n[c];d=l(t,e,u,i,s,r,o,a,h,d,f),e=u}return d}function d(t,e,n,i,s,r,o,a,l,d,f){f=f||[NaN,NaN];for(let c=0,u=n.length;c<u;++c){const u=n[c];d=h(t,e,u,i,s,r,o,a,l,d,f),e=u[u.length-1]}return d}},"2704b0ce1570df4d"(t,e,n){n.d(e,{Gd:()=>a,a_:()=>r,t7:()=>s,zb:()=>o});var i=n("f04b9a206f89df79");function s(t,e,n,s,o){return!(0,i.sB)(o,function(i){return!r(t,e,n,s,i[0],i[1])})}function r(t,e,n,i,s,r){let o=0,a=t[n-i],l=t[n-i+1];for(;e<n;e+=i){const n=t[e],i=t[e+1];l<=r?i>r&&(n-a)*(r-l)-(s-a)*(i-l)>0&&o++:i<=r&&(n-a)*(r-l)-(s-a)*(i-l)<0&&o--,a=n,l=i}return 0!==o}function o(t,e,n,i,s,o){if(0===n.length)return!1;if(!r(t,e,n[0],i,s,o))return!1;for(let e=1,a=n.length;e<a;++e)if(r(t,n[e-1],n[e],i,s,o))return!1;return!0}function a(t,e,n,i,s,r){if(0===n.length)return!1;for(let a=0,l=n.length;a<l;++a){const l=n[a];if(o(t,e,l,i,s,r))return!0;e=l[l.length-1]}return!1}},"57a3e61e9e5e6b9f"(t,e,n){function i(t,e,n,i){for(let i=0,s=n.length;i<s;++i)t[e++]=n[i];return e}function s(t,e,n,i){for(let s=0,r=n.length;s<r;++s){const r=n[s];for(let n=0;n<i;++n)t[e++]=r[n]}return e}function r(t,e,n,i,r){r=r||[];let o=0;for(let a=0,l=n.length;a<l;++a){const l=s(t,e,n[a],i);r[o++]=l,e=l}return r.length=o,r}function o(t,e,n,i,s){s=s||[];let o=0;for(let a=0,l=n.length;a<l;++a){const l=r(t,e,n[a],i,s[o]);0===l.length&&(l[0]=e),s[o++]=l,e=l[l.length-1]}return s.length=o,s}n.d(e,{KG:()=>r,_n:()=>i,d6:()=>o,z2:()=>s})},"19438bf90df98a67"(t,e,n){function i(t,e,n,i,s){s=void 0!==s?s:[];let r=0;for(let o=e;o<n;o+=i)s[r++]=t.slice(o,o+i);return s.length=r,s}function s(t,e,n,s,r){r=void 0!==r?r:[];let o=0;for(let a=0,l=n.length;a<l;++a){const l=n[a];r[o++]=i(t,e,l,s,r[o]),e=l}return r.length=o,r}function r(t,e,n,i,r){r=void 0!==r?r:[];let o=0;for(let a=0,l=n.length;a<l;++a){const l=n[a];r[o++]=1===l.length&&l[0]===e?[]:s(t,e,l,i,r[o]),e=l[l.length-1]}return r.length=o,r}n.d(e,{Dz:()=>r,cD:()=>s,n2:()=>i})},"45d344c42f8a6a23"(t,e,n){n.d(e,{J:()=>r,p:()=>o});var i=n("d16fcb46c8321e21"),s=n("2704b0ce1570df4d");function r(t,e,n,r,o,a,l){let h,d,f,c,u,g,_;const p=o[a+1],y=[];for(let i=0,s=n.length;i<s;++i){const s=n[i];for(c=t[s-r],g=t[s-r+1],h=e;h<s;h+=r)u=t[h],_=t[h+1],(p<=g&&_<=p||g<=p&&p<=_)&&(f=(p-g)/(_-g)*(u-c)+c,y.push(f)),c=u,g=_}let m=NaN,C=-1/0;for(y.sort(i.V_),c=y[0],h=1,d=y.length;h<d;++h){u=y[h];const i=Math.abs(u-c);i>C&&(f=(c+u)/2,(0,s.zb)(t,e,n,r,f,p)&&(m=f,C=i)),c=u}return isNaN(m)&&(m=o[a]),l?(l.push(m,p,C),l):[m,p,C]}function o(t,e,n,i,s){let o=[];for(let a=0,l=n.length;a<l;++a){const l=n[a];o=r(t,e,l,i,s,2*a,o),e=l[l.length-1]}return o}},"7debcdc4f77441f4"(t,e,n){n.d(e,{L8:()=>a,SH:()=>r,gr:()=>o});var i=n("d16fcb46c8321e21"),s=n("3d566b35ff94ab2c");function r(t,e,n,r,o,a,l){let h,d;const f=(n-e)/r;if(1===f)h=e;else if(2===f)h=e,d=o;else if(0!==f){let s=t[e],a=t[e+1],l=0;const f=[0];for(let i=e+r;i<n;i+=r){const e=t[i],n=t[i+1];
vendor: 8,774 bytes, line 1
1l+=Math.sqrt((e-s)*(e-s)+(n-a)*(n-a)),f.push(l),s=e,a=n}const c=o*l,u=(0,i.El)(f,c);u<0?(d=(c-f[-u-2])/(f[-u-1]-f[-u-2]),h=e+(-u-2)*r):h=e+u*r}l=l>1?l:2,a=a||new Array(l);for(let e=0;e<l;++e)a[e]=void 0===h?NaN:void 0===d?t[h+e]:(0,s.Cc)(t[h+e],t[h+r+e],d);return a}function o(t,e,n,i,r,o){if(n==e)return null;let a;if(r<t[e+i-1])return o?(a=t.slice(e,e+i),a[i-1]=r,a):null;if(t[n-1]<r)return o?(a=t.slice(n-i,n),a[i-1]=r,a):null;if(r==t[e+i-1])return t.slice(e,e+i);let l=e/i,h=n/i;for(;l<h;){const e=l+h>>1;r<t[(e+1)*i-1]?h=e:l=e+1}const d=t[l*i-1];if(r==d)return t.slice((l-1)*i,(l-1)*i+i);const f=(r-d)/(t[(l+1)*i-1]-d);a=[];for(let e=0;e<i-1;++e)a.push((0,s.Cc)(t[(l-1)*i+e],t[l*i+e],f));return a.push(r),a}function a(t,e,n,i,s,r,a){if(a)return o(t,e,n[n.length-1],i,s,r);let l;if(s<t[i-1])return r?(l=t.slice(0,i),l[i-1]=s,l):null;if(t[t.length-1]<s)return r?(l=t.slice(t.length-i),l[i-1]=s,l):null;for(let r=0,a=n.length;r<a;++r){const a=n[r];if(e!=a){if(s<t[e+i-1])return null;if(s<=t[a-1])return o(t,e,a,i,s,!1);e=a}}return null}},"55f1bd79b5dcd87c"(t,e,n){n.d(e,{HT:()=>h,Wp:()=>d,fB:()=>a,gp:()=>o,sj:()=>l});var i=n("f04b9a206f89df79"),s=n("2704b0ce1570df4d"),r=n("8c962a1a2a972891");function o(t,e,n,s,o,a){return a=a??(0,i.R8)((0,i.S5)(),t,e,n,s),!!(0,i.HY)(o,a)&&(a[0]>=o[0]&&a[2]<=o[2]||a[1]>=o[1]&&a[3]<=o[3]||(0,r.j)(t,e,n,s,function(t,e){return(0,i.Mx)(o,t,e)}))}function a(t,e,n,i,s){for(let r=0,a=n.length;r<a;++r){if(o(t,e,n[r],i,s))return!0;e=n[r]}return!1}function l(t,e,n,i,r){return!!(o(t,e,n,i,r)||(0,s.a_)(t,e,n,i,r[0],r[1])||(0,s.a_)(t,e,n,i,r[0],r[3])||(0,s.a_)(t,e,n,i,r[2],r[1])||(0,s.a_)(t,e,n,i,r[2],r[3]))}function h(t,e,n,i,r){if(!l(t,e,n[0],i,r))return!1;if(1===n.length)return!0;for(let e=1,a=n.length;e<a;++e)if((0,s.t7)(t,n[e-1],n[e],i,r)&&!o(t,n[e-1],n[e],i,r))return!1;return!0}function d(t,e,n,i,s){for(let r=0,o=n.length;r<o;++r){const o=n[r];if(h(t,e,o,i,s))return!0;e=o[o.length-1]}return!1}},"0e9f91805a359fdf"(t,e,n){function i(t,e,n,i){let s=t[e],r=t[e+1],o=0;for(let a=e+i;a<n;a+=i){const e=t[a],n=t[a+1];o+=Math.sqrt((e-s)*(e-s)+(n-r)*(n-r)),s=e,r=n}return o}n.d(e,{k:()=>i})},"4808ef1ba9374579"(t,e,n){function i(t,e,n,i){for(;e<n-i;){for(let s=0;s<i;++s){const r=t[e+s];t[e+s]=t[n-i+s],t[n-i+s]=r}e+=i,n-=i}}function s(t,e,n,i){let s=0,r=t[n-i],o=t[n-i+1];for(;e<n;e+=i){const n=t[e],i=t[e+1];s+=(n-r)*(i+o),r=n,o=i}return 0===s?void 0:s>0}function r(t,e,n,i,r){r=void 0!==r&&r;for(let o=0,a=n.length;o<a;++o){const a=n[o],l=s(t,e,a,i);if(0===o){if(r&&l||!r&&!l)return!1}else if(r&&!l||!r&&l)return!1;e=a}return!0}function o(t,e,n,i,s){for(let o=0,a=n.length;o<a;++o){const a=n[o];if(!r(t,e,a,i,s))return!1;a.length&&(e=a[a.length-1])}return!0}function a(t,e,n,r,o){o=void 0!==o&&o;for(let a=0,l=n.length;a<l;++a){const l=n[a],h=s(t,e,l,r);(0===a?o&&h||!o&&!h:o&&!h||!o&&h)&&i(t,e,l,r),e=l}return e}function l(t,e,n,i,s){for(let r=0,o=n.length;r<o;++r)e=a(t,e,n[r],i,s);return e}function h(t,e){const n=[];let i,r=0,o=0;for(let a=0,l=e.length;a<l;++a){const l=e[a],h=s(t,r,l,2);if(void 0===i&&(i=h),h===i)n.push(e.slice(o,a+1));else{if(0===n.length)continue;n[n.length-1].push(e[o])}o=a+1,r=l}return n}n.d(e,{yJ:()=>h,PA:()=>r,mb:()=>o,ug:()=>a,NK:()=>l})},"8c962a1a2a972891"(t,e,n){function i(t,e,n,i,s){let r;for(e+=i;e<n;e+=i)if(r=s(t.slice(e-i,e),t.slice(e,e+i)),r)return r;return!1}n.d(e,{j:()=>i})},"5f4e2fbb54132189"(t,e,n){n.d(e,{AL:()=>r,Hg:()=>l,P4:()=>s,n$:()=>o,sx:()=>h});var i=n("3d566b35ff94ab2c");function s(t,e,n,s,r,o,a){const l=(n-e)/s;if(l<3){for(;e<n;e+=s)o[a++]=t[e],o[a++]=t[e+1];return a}const h=new Array(l);h[0]=1,h[l-1]=1;const d=[e,n-s];let f=0;for(;d.length>0;){const n=d.pop(),o=d.pop();let a=0;const l=t[o],c=t[o+1],u=t[n],g=t[n+1];for(let e=o+s;e<n;e+=s){const n=t[e],s=t[e+1],r=(0,i.Q1)(n,s,l,c,u,g);r>a&&(f=e,a=r)}a>r&&(h[(f-e)/s]=1,o+s<f&&d.push(o,f),f+s<n&&d.push(f,n))}for(let n=0;n<l;++n)h[n]&&(o[a++]=t[e+n*s],o[a++]=t[e+n*s+1]);return a}function r(t,e,n,i,r,o,a,l){for(let h=0,d=n.length;h<d;++h){const d=n[h];a=s(t,e,d,i,r,o,a),l.push(a),e=d}return a}function o(t,e){return e*Math.round(t/e)}function a(t,e,n,i,s,r,a){if(e==n)return a;let l,h,d=o(t[e],s),f=o(t[e+1],s);e+=i,r[a++]=d,r[a++]=f;do{if(l=o(t[e],s),h=o(t[e+1],s),(e+=i)==n)return r[a++]=l,r[a++]=h,a}while(l==d&&h==f);for(;e<n;){const n=o(t[e],s),c=o(t[e+1],s);if(e+=i,n==l&&c==h)continue;const u=l-d,g=h-f,_=n-d,p=c-f;u*p==g*_&&(u<0&&_<u||u==_||u>0&&_>u)&&(g<0&&p<g||g==p||g>0&&p>g)?(l=n,h=c):(r[a++]=l,r[a++]=h,d=l,f=h,l=n,h=c)}return r[a++]=l,r[a++]=h,a}function l(t,e,n,i,s,r,o,l){for(let h=0,d=n.length;h<d;++h){const d=n[h];o=a(t,e,d,i,s,r,o),l.push(o),e=d}return o}function h(t,e,n,i,s,r,o,a){for(let h=0,d=n.length;h<d;++h){const d=n[h],f=[];o=l(t,e,d,i,s,r,o,f),a.push(f),e=d[d.length-1]}return o}},"1625ebaf0c993792"(t,e,n){function i(t,e,n,i,s,r,o){r=r||[],o=o||2;let a=0;for(let l=e;l<n;l+=i){const e=t[l],n=t[l+1];r[a++]=s[0]*e+s[2]*n+s[4],r[a++]=s[1]*e+s[3]*n+s[5];for(let e=2;e<o;e++)r[a++]=t[l+e]}return r&&r.length!=a&&(r.length=a),r}function s(t,e,n,i,s,r,o){o=o||[];const a=Math.cos(s),l=Math.sin(s),h=r[0],d=r[1];let f=0;for(let s=e;s<n;s+=i){const e=t[s]-h,n=t[s+1]-d;o[f++]=h+e*a-n*l,o[f++]=d+e*l+n*a;for(let e=s+2;e<s+i;++e)o[f++]=t[e]}return o&&o.length!=f&&(o.length=f),o}function r(t,e,n,i,s,r,o,a){a=a||[];const l=o[0],h=o[1];let d=0;for(let o=e;o<n;o+=i){const e=t[o]-l,n=t[o+1]-h;a[d++]=l+s*e,a[d++]=h+r*n;for(let e=o+2;e<o+i;++e)a[d++]=t[e]}return a&&a.length!=d&&(a.length=d),a}function o(t,e,n,i,s,r,o){o=o||[];let a=0;for(let l=e;l<n;l+=i){o[a++]=t[l]+s,o[a++]=t[l+1]+r;for(let e=l+2;e<l+i;++e)o[a++]=t[e]}return o&&o.length!=a&&(o.length=a),o}n.d(e,{Rc:()=>i,Tl:()=>o,e$:()=>s,hs:()=>r})},"3d566b35ff94ab2c"(t,e,n){function i(t,e,n){return Math.min(Math.max(t,e),n)}function s(t,e,n,i,s,o){const a=s-n,l=o-i;if(0!==a||0!==l){const r=((t-n)*a+(e-i)*l)/(a*a+l*l);r>1?(n=s,i=o):r>0&&(n+=a*r,i+=l*r)}return r(t,e,n,i)}function r(t,e,n,i){const s=n-t,r=i-e;return s*s+r*r}function o(t){const e=t.length;for(let n=0;n<e;n++){let i=n,s=Math.abs(t[n][n]);for(let r=n+1;r<e;r++){const e=Math.abs(t[r][n]);e>s&&(s=e,i=r)}if(0===s)return null;const r=t[i];t[i]=t[n],t[n]=r;for(let i=n+1;i<e;i++){const s=-t[i][n]/t[n][n];for(let r=n;r<e+1;r++)n==r?t[i][r]=0:t[i][r]+=s*t[n][r]}}const n=new Array(e);for(let i=e-1;i>=0;i--){n[i]=t[i][e]/t[i][i];for(let s=i-1;s>=0;s--)t[s][e]-=t[s][i]*n[i]}return n}function a(t){return 180*t/Math.PI}function l(t){return t*Math.PI/180}function h(t,e){const n=t%e;return n*e<0?n+e:n}function d(t,e,n){return t+n*(e-t)}function f(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}function c(t,e){return Math.floor(f(t,e))}function u(t,e){return Math.ceil(f(t,e))}function g(t,e,n){if(t>=e&&t<n)return t;const i=n-e;return((t-e)%i+i)%i+e}n.d(e,{Cc:()=>d,KU:()=>o,LV:()=>g,Mg:()=>f,Q1:()=>s,RI:()=>c,eh:()=>l,hG:()=>r,mk:()=>u,qE:()=>i,xP:()=>h,xW:()=>a})},"6645b25b4a24c208"(t,e,n){function i(t){for(const e in t)delete t[e]}function s(t){let e;for(e in t)return!1;return!e}n.d(e,{I:()=>i,p:()=>s})},e2122e3a756da83b(t,e,n){n.d(e,{Ig:()=>a.I,hB:()=>rt,O3:()=>nt,bF:()=>Q,Av:()=>it,wU:()=>Ct,HU:()=>st,RJ:()=>z,tI:()=>ot,Ad:()=>_t,SD:()=>yt,Jt:()=>tt,hO:()=>et,RG:()=>ht,FO:()=>at,Tf:()=>ut,te:()=>gt,JR:()=>pt,vN:()=>mt,pd:()=>dt,DI:()=>ft});var i=n("d2524782d298b597"),s=n("80d6e69a4431e843"),r=n("f04b9a206f89df79"),o=n("3d566b35ff94ab2c"),a=n("baa352f482b4e02b"),l=n("d82e06871dbbe88b");const h=6378137,d=Math.PI*h,f=[-d,-d,d,d],c=[-180,-85,180,85],u=h*Math.log(Math.tan(Math.PI/2));class g extends l.A{constructor(t){super({code:t,units:"m",extent:f,global:!0,worldExtent:c,getPointResolution:function(t,e){return t/Math.cosh(e[1]/h)}})}}const _=[new g("EPSG:3857"),new g("EPSG:102100"),new g("EPSG:102113"),new g("EPSG:900913"),new g("http://www.opengis.net/def/crs/EPSG/0/3857"),new g("http://www.opengis.net/gml/srs/epsg.xml#3857")];const p=[-180,-90,180,90],y=6378137*Math.PI/180;class m extends l.A{constructor(t,e){super({code:t,units:"degrees",extent:p,axisOrientation:e,global:!0,metersPerUnit:y,worldExtent:p})}}const C=[new m("CRS:84"),new m("EPSG:4326","neu"),new m("urn:ogc:def:crs:OGC:1.3:CRS84"),new m("urn:ogc:def:crs:OGC:2:84"),new m("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new m("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new m("http://www.opengis.net/def/crs/EPSG/0/4326","neu")];var b=n("81e03677df78e1ae"),v=n("81bbc3306032fb48");const M=.9996,x=.00669438,P=x*x,E=P*x,A=x/(1-x),G=Math.sqrt(1-x),R=(1-G)/(1+G),w=R*R,I=w*R,F=I*R,S=F*R,T=.9983242984503243,L=15*P/256+45*E/1024,N=35*E/3072,X=1.5*R-27/32*I+269/512*S,O=21/16*w-55/32*F,W=151/96*I-417/128*S,Y=1097/512*F,D=6378137;function q(t,e,n){const i=t-5e5,s=(n.north?e:e-1e7)/M/(D*T),r=s+X*Math.sin(2*s)+O*Math.sin(4*s)+W*Math.sin(6*s)+Y*Math.sin(8*s),a=Math.sin(r),l=a*
1a,h=Math.cos(r),d=a/h,f=d*d,c=f*f,u=1-x*l,g=Math.sqrt(1-x*l),_=A*h**2,p=_*_,y=i/(D/g*M),m=y*y,C=m*y,b=C*y,v=b*y,P=r-d/((1-x)/u)*(m/2-b/24*(5+3*f+10*_-4*p-9*A))+v*y/720*(61+90*f+298*_+45*c-252*A-3*p);let E=(y-C/6*(1+2*f+_)+v/120*(5-2*_+28*f-3*p+8*A+24*c))/h;return E=(0,o.LV)(E+(0,o.eh)(U(n.number)),-Math.PI,Math.PI),[(0,o.xW)(E),(0,o.xW)(P)]}function H(t,e,n){t=(0,o.LV)(t,-180,180),e<-80?e=-80:e>84&&(e=84);const i=(0,o.eh)(e),s=Math.sin(i),r=Math.cos(i),a=s/r,l=a*a,h=l*l,d=(0,o.eh)(t),f=U(n.number),c=(0,o.eh)(f),u=D/Math.sqrt(1-x*s**2),g=A*r**2,_=r*(0,o.LV)(d-c,-Math.PI,Math.PI),p=_*_,y=p*_,m=y*_,C=m*_,b=C*_,v=D*(T*i-.002514607064228144*Math.sin(2*i)+L*Math.sin(4*i)-N*Math.sin(6*i)),P=M*u*(_+y/6*(1-l+g)+C/120*(5-18*l+h+72*g-58*A))+5e5;let E=M*(v+u*a*(p/2+m/24*(5-l+9*g+4*g**2)+b/720*(61-58*l+h+600*g-330*A)));return n.north||(E+=1e7),[P,E]}function U(t){return 6*(t-1)-180+3}const j=[/^EPSG:(\d+)$/,/^urn:ogc:def:crs:EPSG::(\d+)$/,/^http:\/\/www\.opengis\.net\/def\/crs\/EPSG\/0\/(\d+)$/];function K(t){let e=0;for(const n of j){const i=t.match(n);if(i){e=parseInt(i[1]);break}}if(!e)return null;let n=0,i=!1;return e>32700&&e<32761?n=e-32700:e>32600&&e<32661&&(i=!0,n=e-32600),n?{number:n,north:i}:null}function $(t,e){return function(n,i,s,r){const o=n.length;s=s>1?s:2,r=r??s,i||(i=s>2?n.slice():new Array(o));for(let s=0;s<o;s+=r){const r=n[s],o=n[s+1],a=t(r,o,e);i[s]=a[0],i[s+1]=a[1]}return i}}function J(t,e,n){n=n||6371008.8;const i=(0,o.eh)(t[1]),s=(0,o.eh)(e[1]),r=(s-i)/2,a=(0,o.eh)(e[0]-t[0])/2,l=Math.sin(r)*Math.sin(r)+Math.sin(a)*Math.sin(a)*Math.cos(i)*Math.cos(s);return 2*n*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))}const k=[function(t){const e=K(t.getCode());return e?{forward:$(H,e),inverse:$(q,e)}:null}],B=[function(t){return K(t)?new l.A({code:t,units:"m"}):null}];let V=!0;function z(t){V=!(void 0===t||t)}function Z(t,e){if(void 0!==e)for(let n=0,i=t.length;n<i;++n)e[n]=t[n];else e=t.slice();return e}function Q(t){(0,b.WQ)(t.getCode(),t),(0,v.WQ)(t,t,Z)}function tt(t){if("string"!=typeof t)return t;const e=(0,b.Jt)(t);if(e)return e;for(const e of B){const n=e(t);if(n)return n}return null}function et(t,e,n,i){let s;const r=(t=tt(t)).getPointResolutionFunc();if(r){if(s=r(e,n),i&&i!==t.getUnits()){const e=t.getMetersPerUnit();e&&(s=s*e/a.I[i])}}else{const r=t.getUnits();if("degrees"==r&&!i||"degrees"==i)s=e;else{const o=at(t,tt("EPSG:4326"));if(o||"degrees"===r){let t=[n[0]-e/2,n[1],n[0]+e/2,n[1],n[0],n[1]-e/2,n[0],n[1]+e/2];t=o(t,t,2),s=(J(t.slice(0,2),t.slice(2,4))+J(t.slice(4,6),t.slice(6,8)))/2}else s=e*t.getMetersPerUnit();const l=i?a.I[i]:t.getMetersPerUnit();void 0!==l&&(s/=l)}}return s}function nt(t){!function(t){t.forEach(Q)}(t),t.forEach(function(e){t.forEach(function(t){e!==t&&(0,v.WQ)(e,t,Z)})})}function it(t,e){return t?"string"==typeof t?tt(t):t:tt(e)}function st(t){return function(e,n,i,s){const r=e.length;i=void 0!==i?i:2,s=s??i,n=void 0!==n?n:new Array(r);for(let o=0;o<r;o+=s){const r=t(e.slice(o,o+i)),a=r.length;for(let t=0,i=s;t<i;++t)n[o+t]=t>=a?e[o+t]:r[t]}return n}}function rt(t,e,n,i){const s=tt(t),r=tt(e);(0,v.WQ)(s,r,st(n)),(0,v.WQ)(r,s,st(i))}function ot(t,e){if(t===e)return!0;const n=t.getUnits()===e.getUnits();return(t.getCode()===e.getCode()||at(t,e)===Z)&&n}function at(t,e){const n=t.getCode(),i=e.getCode();let s=(0,v.Jt)(n,i);if(s)return s;let r=null,o=null;for(const n of k)r||(r=n(t)),o||(o=n(e));if(!r&&!o)return null;const a="EPSG:4326";if(o)if(r)s=lt(r.inverse,o.forward);else{const t=(0,v.Jt)(n,a);t&&(s=lt(t,o.forward))}else{const t=(0,v.Jt)(a,i);t&&(s=lt(r.inverse,t))}return s&&(Q(t),Q(e),(0,v.WQ)(t,e,s)),s}function lt(t,e){return function(n,i,s,r){return i=t(n,i,s,r),e(i,i,s,r)}}function ht(t,e){return at(tt(t),tt(e))}function dt(t,e,n){const i=ht(e,n);if(!i){const t=tt(e).getCode(),i=tt(n).getCode();throw new Error(`No transform available between ${t} and ${i}`)}return i(t,void 0,t.length)}function ft(t,e,n,i){const s=ht(e,n);return(0,r.NW)(t,s,void 0,i)}let ct=null;function ut(){return ct}function gt(t,e){return t}function _t(t,e){return V&&!(0,s.aI)(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(V=!1,(0,i.R8)("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t}function pt(t,e){return t}function yt(t,e){return t}function mt(t,e){return t}function Ct(t,e,n){return function(i){let a,l;if(t.canWrapX()){const e=t.getExtent(),h=(0,r.RG)(e);i=i.slice(0),l=(0,s.U$)(i,t,h),l&&(i[0]=i[0]-l*h),i[0]=(0,o.qE)(i[0],e[0],e[2]),i[1]=(0,o.qE)(i[1],e[1],e[3]),a=n(i)}else a=n(i);return l&&e.canWrapX()&&(a[0]+=l*(0,r.RG)(e.getExtent())),a}}var bt,vt,Mt;
1nt(_),nt(C),bt=_,vt=function(t,e,n,i){const s=t.length;n=n>1?n:2,i=i??n,void 0===e&&(e=n>2?t.slice():new Array(s));for(let n=0;n<s;n+=i){e[n]=d*t[n]/180;let i=h*Math.log(Math.tan(Math.PI*(+t[n+1]+90)/360));i>u?i=u:i<-u&&(i=-u),e[n+1]=i}return e},Mt=function(t,e,n,i){const s=t.length;n=n>1?n:2,i=i??n,void 0===e&&(e=n>2?t.slice():new Array(s));for(let n=0;n<s;n+=i)e[n]=180*t[n]/d,e[n+1]=360*Math.atan(Math.exp(t[n+1]/h))/Math.PI-90;return e},C.forEach(function(t){bt.forEach(function(e){(0,v.WQ)(t,e,vt),(0,v.WQ)(e,t,Mt)})})},d82e06871dbbe88b(t,e,n){var i=n("baa352f482b4e02b");n.d(e,["A",0,class{constructor(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}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||i.I[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}}])},baa352f482b4e02b(t,e,n){const i={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};n.d(e,["I",0,i])},"81e03677df78e1ae"(t,e,n){n.d(e,{Jt:()=>s,WQ:()=>r});let i={};function s(t){return i[t]||i[t.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null}function r(t,e){i[t]=e}},"81bbc3306032fb48"(t,e,n){n.d(e,{Jt:()=>r,WQ:()=>s});let i={};function s(t,e,n){const s=t.getCode(),r=e.getCode();s in i||(i[s]={}),i[s][r]=n}function r(t,e){return t in i&&e in i[t]?i[t][e]:null}},"15ac91b9ba4d3165"(t,e,n){var i=n("d16fcb46c8321e21"),s=n("f04b9a206f89df79"),r=n("cbd9e8260cc52116"),o=n("f3cc91f1d96f7e09"),a=n("45d344c42f8a6a23"),l=n("7debcdc4f77441f4"),h=n("4808ef1ba9374579"),d=n("5f4e2fbb54132189"),f=n("1625ebaf0c993792"),c=n("e2122e3a756da83b"),u=n("dd0f41ad601ae06a");const g=(0,u.vt)();class _{constructor(t,e,n,i,s,r){this.styleFunction,this.extent_,this.id_=r,this.type_=t,this.flatCoordinates_=e,this.flatInteriorPoints_=null,this.flatMidpoints_=null,this.ends_=n||null,this.properties_=s,this.squaredTolerance_,this.stride_=i,this.simplifiedGeometry_}get(t){return this.properties_[t]}getExtent(){return this.extent_||(this.extent_="Point"===this.type_?(0,s.dP)(this.flatCoordinates_):(0,s.Vy)(this.flatCoordinates_,0,this.flatCoordinates_.length,this.stride_)),this.extent_}getFlatInteriorPoint(){if(!this.flatInteriorPoints_){const t=(0,s.q1)(this.getExtent());this.flatInteriorPoints_=(0,a.J)(this.flatCoordinates_,0,this.ends_,this.stride_,t,0)}return this.flatInteriorPoints_}getFlatInteriorPoints(){if(!this.flatInteriorPoints_){const t=(0,h.yJ)(this.flatCoordinates_,this.ends_),e=(0,o.C)(this.flatCoordinates_,0,t,this.stride_);this.flatInteriorPoints_=(0,a.p)(this.flatCoordinates_,0,t,this.stride_,e)}return this.flatInteriorPoints_}getFlatMidpoint(){return this.flatMidpoints_||(this.flatMidpoints_=(0,l.SH)(this.flatCoordinates_,0,this.flatCoordinates_.length,this.stride_,.5)),this.flatMidpoints_}getFlatMidpoints(){if(!this.flatMidpoints_){this.flatMidpoints_=[];const t=this.flatCoordinates_;let e=0;const n=this.ends_;for(let s=0,r=n.length;s<r;++s){const r=n[s],o=(0,l.SH)(t,e,r,this.stride_,.5);(0,i.X$)(this.flatMidpoints_,o),e=r}}return this.flatMidpoints_}getId(){return this.id_}getOrientedFlatCoordinates(){return this.flatCoordinates_}getGeometry(){return this}getSimplifiedGeometry(t){return this}simplifyTransformed(t,e){return this}getProperties(){return this.properties_}getPropertiesInternal(){return this.properties_}getStride(){return this.stride_}getStyleFunction(){return this.styleFunction}getType(){return this.type_}transform(t){const e=(t=(0,c.Jt)(t)).getExtent(),n=t.getWorldExtent();if(e&&n){const t=(0,s.Oq)(n)/(0,s.Oq)(e);(0,u.Zz)(g,n[0],n[3],t,-t,0,0,0),(0,f.Rc)(this.flatCoordinates_,0,this.flatCoordinates_.length,this.stride_,g,this.flatCoordinates_)}}applyTransform(t){t(this.flatCoordinates_,this.flatCoordinates_,this.stride_)}
1clone(){return new _(this.type_,this.flatCoordinates_.slice(),this.ends_?.slice(),this.stride_,Object.assign({},this.properties_),this.id_)}getEnds(){return this.ends_}enableSimplifyTransformed(){return this.simplifyTransformed=(0,r.B4)((t,e)=>{if(t===this.squaredTolerance_)return this.simplifiedGeometry_;this.simplifiedGeometry_=this.clone(),e&&this.simplifiedGeometry_.applyTransform(e);const n=this.simplifiedGeometry_.getFlatCoordinates();let i;switch(this.type_){case"LineString":n.length=(0,d.P4)(n,0,this.simplifiedGeometry_.flatCoordinates_.length,this.simplifiedGeometry_.stride_,t,n,0),i=[n.length];break;case"MultiLineString":i=[],n.length=(0,d.AL)(n,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,t,n,0,i);break;case"Polygon":i=[],n.length=(0,d.Hg)(n,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,Math.sqrt(t),n,0,i)}return i&&(this.simplifiedGeometry_=new _(this.type_,n,i,this.stride_,this.properties_,this.id_)),this.squaredTolerance_=t,this.simplifiedGeometry_}),this}}_.prototype.getFlatCoordinates=_.prototype.getOrientedFlatCoordinates;const p=_;n.d(e,["Ay",0,p])},dd0f41ad601ae06a(t,e,n){n.d(e,{Bb:()=>a,T9:()=>h,Zz:()=>l,dI:()=>f,k3:()=>o,sH:()=>c,tI:()=>u,vt:()=>r});var i=n("4f737c88fdcd2e73");const s=[1,0,0,1,0,0];function r(){return s.slice(0)}function o(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 a(t,e){const n=e[0],i=e[1];return e[0]=t[0]*n+t[2]*i+t[4],e[1]=t[1]*n+t[3]*i+t[5],e}function l(t,e,n,i,s,r,o,a){const l=Math.sin(r),h=Math.cos(r);return t[0]=i*h,t[1]=s*l,t[2]=-i*l,t[3]=s*h,t[4]=o*i*h-a*i*l+e,t[5]=o*s*l+a*s*h+n,t}function h(t,e){const n=(s=e)[0]*s[3]-s[1]*s[2];var s;(0,i.v)(0!==n,"Transformation matrix cannot be inverted");const r=e[0],o=e[1],a=e[2],l=e[3],h=e[4],d=e[5];return t[0]=l/n,t[1]=-o/n,t[2]=-a/n,t[3]=r/n,t[4]=(a*d-l*h)/n,t[5]=-(r*d-o*h)/n,t}new Array(6);const d=[1e5,1e5,1e5,1e5,2,2];function f(t){return"matrix("+t.join(", ")+")"}function c(t){return t.substring(7,t.length-1).split(",").map(parseFloat)}function u(t,e){const n=c(t),i=c(e);for(let t=0;t<6;++t)if(0!==Math.round((n[t]-i[t])*d[t]))return!1;return!0}},dce55b8bb3b681d8(t,e,n){function i(){throw new Error("Unimplemented abstract method.")}n.d(e,{b0:()=>i,v6:()=>r});let s=0;function r(t){return t.ol_uid||(t.ol_uid=String(++s))}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.