vue-geojson-view-ts 1.3.21 → 1.3.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,28 @@
1
- (function(ye,X){typeof exports=="object"&&typeof module<"u"?X(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],X):(ye=typeof globalThis<"u"?globalThis:ye||self,X(ye.vueGeojsonViewTs={},ye.Vue))})(this,function(ye,X){"use strict";var ri=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zh(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Xh(r){if(r.__esModule)return r;var t=r.default;if(typeof t=="function"){var e=function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var n=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return r[i]}})}),e}var Vh={exports:{}};function Sg(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ya={exports:{}};const Rg=Xh(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Kh;function Qh(){return Kh||(Kh=1,function(r,t){(function(e,i){r.exports=i()})(ri,function(){var e=e||function(i,n){var s;if(typeof window<"u"&&window.crypto&&(s=window.crypto),typeof self<"u"&&self.crypto&&(s=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(s=globalThis.crypto),!s&&typeof window<"u"&&window.msCrypto&&(s=window.msCrypto),!s&&typeof ri<"u"&&ri.crypto&&(s=ri.crypto),!s&&typeof Sg=="function")try{s=Rg}catch{}var a=function(){if(s){if(typeof s.getRandomValues=="function")try{return s.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof s.randomBytes=="function")try{return s.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},h=Object.create||function(){function w(){}return function(E){var C;return w.prototype=E,C=new w,w.prototype=null,C}}(),c={},d=c.lib={},f=d.Base=function(){return{extend:function(w){var E=h(this);return w&&E.mixIn(w),(!E.hasOwnProperty("init")||this.init===E.init)&&(E.init=function(){E.$super.init.apply(this,arguments)}),E.init.prototype=E,E.$super=this,E},create:function(){var w=this.extend();return w.init.apply(w,arguments),w},init:function(){},mixIn:function(w){for(var E in w)w.hasOwnProperty(E)&&(this[E]=w[E]);w.hasOwnProperty("toString")&&(this.toString=w.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),p=d.WordArray=f.extend({init:function(w,E){w=this.words=w||[],E!=n?this.sigBytes=E:this.sigBytes=w.length*4},toString:function(w){return(w||y).stringify(this)},concat:function(w){var E=this.words,C=w.words,P=this.sigBytes,D=w.sigBytes;if(this.clamp(),P%4)for(var O=0;O<D;O++){var R=C[O>>>2]>>>24-O%4*8&255;E[P+O>>>2]|=R<<24-(P+O)%4*8}else for(var z=0;z<D;z+=4)E[P+z>>>2]=C[z>>>2];return this.sigBytes+=D,this},clamp:function(){var w=this.words,E=this.sigBytes;w[E>>>2]&=4294967295<<32-E%4*8,w.length=i.ceil(E/4)},clone:function(){var w=f.clone.call(this);return w.words=this.words.slice(0),w},random:function(w){for(var E=[],C=0;C<w;C+=4)E.push(a());return new p.init(E,w)}}),m=c.enc={},y=m.Hex={stringify:function(w){for(var E=w.words,C=w.sigBytes,P=[],D=0;D<C;D++){var O=E[D>>>2]>>>24-D%4*8&255;P.push((O>>>4).toString(16)),P.push((O&15).toString(16))}return P.join("")},parse:function(w){for(var E=w.length,C=[],P=0;P<E;P+=2)C[P>>>3]|=parseInt(w.substr(P,2),16)<<24-P%8*4;return new p.init(C,E/2)}},v=m.Latin1={stringify:function(w){for(var E=w.words,C=w.sigBytes,P=[],D=0;D<C;D++){var O=E[D>>>2]>>>24-D%4*8&255;P.push(String.fromCharCode(O))}return P.join("")},parse:function(w){for(var E=w.length,C=[],P=0;P<E;P++)C[P>>>2]|=(w.charCodeAt(P)&255)<<24-P%4*8;return new p.init(C,E)}},A=m.Utf8={stringify:function(w){try{return decodeURIComponent(escape(v.stringify(w)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(w){return v.parse(unescape(encodeURIComponent(w)))}},b=d.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=new p.init,this._nDataBytes=0},_append:function(w){typeof w=="string"&&(w=A.parse(w)),this._data.concat(w),this._nDataBytes+=w.sigBytes},_process:function(w){var E,C=this._data,P=C.words,D=C.sigBytes,O=this.blockSize,R=O*4,z=D/R;w?z=i.ceil(z):z=i.max((z|0)-this._minBufferSize,0);var j=z*O,U=i.min(j*4,D);if(j){for(var V=0;V<j;V+=O)this._doProcessBlock(P,V);E=P.splice(0,j),C.sigBytes-=U}return new p.init(E,U)},clone:function(){var w=f.clone.call(this);return w._data=this._data.clone(),w},_minBufferSize:0});d.Hasher=b.extend({cfg:f.extend(),init:function(w){this.cfg=this.cfg.extend(w),this.reset()},reset:function(){b.reset.call(this),this._doReset()},update:function(w){return this._append(w),this._process(),this},finalize:function(w){w&&this._append(w);var E=this._doFinalize();return E},blockSize:16,_createHelper:function(w){return function(E,C){return new w.init(C).finalize(E)}},_createHmacHelper:function(w){return function(E,C){return new M.HMAC.init(w,C).finalize(E)}}});var M=c.algo={};return c}(Math);return e})}(ya)),ya.exports}(function(r,t){(function(e,i){r.exports=i(Qh())})(ri,function(e){return function(){var i=e,n=i.lib,s=n.WordArray,a=i.enc;a.Base64={stringify:function(c){var d=c.words,f=c.sigBytes,p=this._map;c.clamp();for(var m=[],y=0;y<f;y+=3)for(var v=d[y>>>2]>>>24-y%4*8&255,A=d[y+1>>>2]>>>24-(y+1)%4*8&255,b=d[y+2>>>2]>>>24-(y+2)%4*8&255,M=v<<16|A<<8|b,w=0;w<4&&y+w*.75<f;w++)m.push(p.charAt(M>>>6*(3-w)&63));var E=p.charAt(64);if(E)for(;m.length%4;)m.push(E);return m.join("")},parse:function(c){var d=c.length,f=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var m=0;m<f.length;m++)p[f.charCodeAt(m)]=m}var y=f.charAt(64);if(y){var v=c.indexOf(y);v!==-1&&(d=v)}return h(c,d,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(c,d,f){for(var p=[],m=0,y=0;y<d;y++)if(y%4){var v=f[c.charCodeAt(y-1)]<<y%4*2,A=f[c.charCodeAt(y)]>>>6-y%4*2,b=v|A;p[m>>>2]|=b<<24-m%4*8,m++}return s.create(p,m)}}(),e.enc.Base64})})(Vh);var kg=Vh.exports;const va=Zh(kg);var qh={exports:{}};(function(r,t){(function(e,i){r.exports=i(Qh())})(ri,function(e){return e.enc.Utf8})})(qh);var Og=qh.exports;const Jh=Zh(Og),Fg=(r,t)=>{localStorage.setItem(r,va.stringify(Jh.parse(t)))},xs=r=>{const t=localStorage.getItem(r);return t?va.parse(t).toString(Jh):null},$h=r=>{const t=localStorage.getItem(r);return t?va.parse(t):null},As=r=>{localStorage.removeItem(r)};function zg(){const r=document.createElement("div");return r.className="loading-overlay",r.innerHTML="Recuperando Datos de Google Maps",r.style.position="fixed",r.style.top="0",r.style.left="0",r.style.width="100%",r.style.height="100%",r.style.backgroundColor="rgba(255, 255, 255)",r.style.display="flex",r.style.justifyContent="center",r.style.alignItems="center",r.style.color="#000",r.style.fontSize="24px",r.style.zIndex="999999",document.body.appendChild(r),r}function Bg(r){r&&r.remove()}const Ng=()=>{const t=window.location.href.split("?")[1],e=new URLSearchParams(t),i=Object.fromEntries(e.entries());if(i.coordinates){const n=zg();setTimeout(function(){Fg("coordinates",i.coordinates.replace("#/",""))},4e3),setTimeout(function(){window.close(),Bg(n)},5e3)}},Gg=async()=>{window.open("https://www.google.com/maps/?hl=es","Iniciar Sesion Ciudadania Digital","width=700,height=700,resizable=no"),As("coordinates"),As("closePopup");var r=!1;const t=setInterval(function(){let n=xs("coordinates"),s=$h("closePopup");(n||s)&&(clearInterval(t),r=!0)},1e3);await(async()=>{for(;!r;)await new Promise(n=>setTimeout(n,100));return!0})();let i=xs("coordinates");if(i){const n=JSON.parse(i);return[parseFloat(n.lat),parseFloat(n.long),parseFloat(n.z)]}},Ug=async r=>{window.open(`http://maps.google.com/?q=${r}`,"Iniciar Sesion Ciudadania Digital","width=700,height=700,resizable=no"),As("coordinates"),As("closePopup");var t=!1;const e=setInterval(function(){let s=xs("coordinates"),a=$h("closePopup");(s||a)&&(clearInterval(e),t=!0)},1e3);await(async()=>{for(;!t;)await new Promise(s=>setTimeout(s,100));return!0})();let n=xs("coordinates");if(n){const s=JSON.parse(n);return[parseFloat(s.lat),parseFloat(s.long),parseFloat(s.z)]}},ws="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLT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fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=";var Es={exports:{}};/* @preserve
1
+ (function(de,V){typeof exports=="object"&&typeof module<"u"?V(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],V):(de=typeof globalThis<"u"?globalThis:de||self,V(de.vueGeojsonViewTs={},de.Vue))})(this,function(de,V){"use strict";var Qe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ah(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function wh(r){if(r.__esModule)return r;var t=r.default;if(typeof t=="function"){var e=function i(){return this instanceof i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var n=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return r[i]}})}),e}var Eh={exports:{}};function ig(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var $o={exports:{}};const ng=wh(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Ch;function Lh(){return Ch||(Ch=1,function(r,t){(function(e,i){r.exports=i()})(Qe,function(){var e=e||function(i,n){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Qe<"u"&&Qe.crypto&&(o=Qe.crypto),!o&&typeof ig=="function")try{o=ng}catch{}var a=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},h=Object.create||function(){function w(){}return function(E){var C;return w.prototype=E,C=new w,w.prototype=null,C}}(),c={},d=c.lib={},f=d.Base=function(){return{extend:function(w){var E=h(this);return w&&E.mixIn(w),(!E.hasOwnProperty("init")||this.init===E.init)&&(E.init=function(){E.$super.init.apply(this,arguments)}),E.init.prototype=E,E.$super=this,E},create:function(){var w=this.extend();return w.init.apply(w,arguments),w},init:function(){},mixIn:function(w){for(var E in w)w.hasOwnProperty(E)&&(this[E]=w[E]);w.hasOwnProperty("toString")&&(this.toString=w.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),p=d.WordArray=f.extend({init:function(w,E){w=this.words=w||[],E!=n?this.sigBytes=E:this.sigBytes=w.length*4},toString:function(w){return(w||y).stringify(this)},concat:function(w){var E=this.words,C=w.words,P=this.sigBytes,D=w.sigBytes;if(this.clamp(),P%4)for(var k=0;k<D;k++){var R=C[k>>>2]>>>24-k%4*8&255;E[P+k>>>2]|=R<<24-(P+k)%4*8}else for(var F=0;F<D;F+=4)E[P+F>>>2]=C[F>>>2];return this.sigBytes+=D,this},clamp:function(){var w=this.words,E=this.sigBytes;w[E>>>2]&=4294967295<<32-E%4*8,w.length=i.ceil(E/4)},clone:function(){var w=f.clone.call(this);return w.words=this.words.slice(0),w},random:function(w){for(var E=[],C=0;C<w;C+=4)E.push(a());return new p.init(E,w)}}),_=c.enc={},y=_.Hex={stringify:function(w){for(var E=w.words,C=w.sigBytes,P=[],D=0;D<C;D++){var k=E[D>>>2]>>>24-D%4*8&255;P.push((k>>>4).toString(16)),P.push((k&15).toString(16))}return P.join("")},parse:function(w){for(var E=w.length,C=[],P=0;P<E;P+=2)C[P>>>3]|=parseInt(w.substr(P,2),16)<<24-P%8*4;return new p.init(C,E/2)}},v=_.Latin1={stringify:function(w){for(var E=w.words,C=w.sigBytes,P=[],D=0;D<C;D++){var k=E[D>>>2]>>>24-D%4*8&255;P.push(String.fromCharCode(k))}return P.join("")},parse:function(w){for(var E=w.length,C=[],P=0;P<E;P++)C[P>>>2]|=(w.charCodeAt(P)&255)<<24-P%4*8;return new p.init(C,E)}},A=_.Utf8={stringify:function(w){try{return decodeURIComponent(escape(v.stringify(w)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(w){return v.parse(unescape(encodeURIComponent(w)))}},b=d.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=new p.init,this._nDataBytes=0},_append:function(w){typeof w=="string"&&(w=A.parse(w)),this._data.concat(w),this._nDataBytes+=w.sigBytes},_process:function(w){var E,C=this._data,P=C.words,D=C.sigBytes,k=this.blockSize,R=k*4,F=D/R;w?F=i.ceil(F):F=i.max((F|0)-this._minBufferSize,0);var j=F*k,G=i.min(j*4,D);if(j){for(var Z=0;Z<j;Z+=k)this._doProcessBlock(P,Z);E=P.splice(0,j),C.sigBytes-=G}return new p.init(E,G)},clone:function(){var w=f.clone.call(this);return w._data=this._data.clone(),w},_minBufferSize:0});d.Hasher=b.extend({cfg:f.extend(),init:function(w){this.cfg=this.cfg.extend(w),this.reset()},reset:function(){b.reset.call(this),this._doReset()},update:function(w){return this._append(w),this._process(),this},finalize:function(w){w&&this._append(w);var E=this._doFinalize();return E},blockSize:16,_createHelper:function(w){return function(E,C){return new w.init(C).finalize(E)}},_createHmacHelper:function(w){return function(E,C){return new M.HMAC.init(w,C).finalize(E)}}});var M=c.algo={};return c}(Math);return e})}($o)),$o.exports}(function(r,t){(function(e,i){r.exports=i(Lh())})(Qe,function(e){return function(){var i=e,n=i.lib,o=n.WordArray,a=i.enc;a.Base64={stringify:function(c){var d=c.words,f=c.sigBytes,p=this._map;c.clamp();for(var _=[],y=0;y<f;y+=3)for(var v=d[y>>>2]>>>24-y%4*8&255,A=d[y+1>>>2]>>>24-(y+1)%4*8&255,b=d[y+2>>>2]>>>24-(y+2)%4*8&255,M=v<<16|A<<8|b,w=0;w<4&&y+w*.75<f;w++)_.push(p.charAt(M>>>6*(3-w)&63));var E=p.charAt(64);if(E)for(;_.length%4;)_.push(E);return _.join("")},parse:function(c){var d=c.length,f=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var _=0;_<f.length;_++)p[f.charCodeAt(_)]=_}var y=f.charAt(64);if(y){var v=c.indexOf(y);v!==-1&&(d=v)}return h(c,d,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(c,d,f){for(var p=[],_=0,y=0;y<d;y++)if(y%4){var v=f[c.charCodeAt(y-1)]<<y%4*2,A=f[c.charCodeAt(y)]>>>6-y%4*2,b=v|A;p[_>>>2]|=b<<24-_%4*8,_++}return o.create(p,_)}}(),e.enc.Base64})})(Eh);var rg=Eh.exports;const ta=Ah(rg);var bh={exports:{}};(function(r,t){(function(e,i){r.exports=i(Lh())})(Qe,function(e){return e.enc.Utf8})})(bh);var sg=bh.exports;const Th=Ah(sg),og=(r,t)=>{localStorage.setItem(r,ta.stringify(Th.parse(t)))},ns=r=>{const t=localStorage.getItem(r);return t?ta.parse(t).toString(Th):null},Mh=r=>{const t=localStorage.getItem(r);return t?ta.parse(t):null},rs=r=>{localStorage.removeItem(r)};function ag(){const r=document.createElement("div");return r.className="loading-overlay",r.innerHTML="Recuperando Datos de Google Maps",r.style.position="fixed",r.style.top="0",r.style.left="0",r.style.width="100%",r.style.height="100%",r.style.backgroundColor="rgba(255, 255, 255)",r.style.display="flex",r.style.justifyContent="center",r.style.alignItems="center",r.style.color="#000",r.style.fontSize="24px",r.style.zIndex="999999",document.body.appendChild(r),r}function lg(r){r&&r.remove()}const hg=()=>{const t=window.location.href.split("?")[1],e=new URLSearchParams(t),i=Object.fromEntries(e.entries());if(i.coordinates){const n=ag();setTimeout(function(){og("coordinates",i.coordinates.replace("#/",""))},4e3),setTimeout(function(){window.close(),lg(n)},5e3)}},cg=async()=>{window.open("https://www.google.com/maps/?hl=es","Iniciar Sesion Ciudadania Digital","width=700,height=700,resizable=no"),rs("coordinates"),rs("closePopup");var r=!1;const t=setInterval(function(){let n=ns("coordinates"),o=Mh("closePopup");(n||o)&&(clearInterval(t),r=!0)},1e3);await(async()=>{for(;!r;)await new Promise(n=>setTimeout(n,100));return!0})();let i=ns("coordinates");if(i){const n=JSON.parse(i);return[parseFloat(n.lat),parseFloat(n.long),parseFloat(n.z)]}},ug=async r=>{window.open(`http://maps.google.com/?q=${r}`,"Iniciar Sesion Ciudadania Digital","width=700,height=700,resizable=no"),rs("coordinates"),rs("closePopup");var t=!1;const e=setInterval(function(){let o=ns("coordinates"),a=Mh("closePopup");(o||a)&&(clearInterval(e),t=!0)},1e3);await(async()=>{for(;!t;)await new Promise(o=>setTimeout(o,100));return!0})();let n=ns("coordinates");if(n){const o=JSON.parse(n);return[parseFloat(o.lat),parseFloat(o.long),parseFloat(o.z)]}},ss="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1Q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x/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=";var os={exports:{}};/* @preserve
2
2
  * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
3
3
  * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
4
- */var tc;function ec(){return tc||(tc=1,function(r,t){(function(e,i){i(t)})(ri,function(e){var i="1.9.4";function n(o){var l,u,g,_;for(u=1,g=arguments.length;u<g;u++){_=arguments[u];for(l in _)o[l]=_[l]}return o}var s=Object.create||function(){function o(){}return function(l){return o.prototype=l,new o}}();function a(o,l){var u=Array.prototype.slice;if(o.bind)return o.bind.apply(o,u.call(arguments,1));var g=u.call(arguments,2);return function(){return o.apply(l,g.length?g.concat(u.call(arguments)):arguments)}}var h=0;function c(o){return"_leaflet_id"in o||(o._leaflet_id=++h),o._leaflet_id}function d(o,l,u){var g,_,x,T;return T=function(){g=!1,_&&(x.apply(u,_),_=!1)},x=function(){g?_=arguments:(o.apply(u,arguments),setTimeout(T,l),g=!0)},x}function f(o,l,u){var g=l[1],_=l[0],x=g-_;return o===g&&u?o:((o-_)%x+x)%x+_}function p(){return!1}function m(o,l){if(l===!1)return o;var u=Math.pow(10,l===void 0?6:l);return Math.round(o*u)/u}function y(o){return o.trim?o.trim():o.replace(/^\s+|\s+$/g,"")}function v(o){return y(o).split(/\s+/)}function A(o,l){Object.prototype.hasOwnProperty.call(o,"options")||(o.options=o.options?s(o.options):{});for(var u in l)o.options[u]=l[u];return o.options}function b(o,l,u){var g=[];for(var _ in o)g.push(encodeURIComponent(u?_.toUpperCase():_)+"="+encodeURIComponent(o[_]));return(!l||l.indexOf("?")===-1?"?":"&")+g.join("&")}var M=/\{ *([\w_ -]+) *\}/g;function w(o,l){return o.replace(M,function(u,g){var _=l[g];if(_===void 0)throw new Error("No value provided for variable "+u);return typeof _=="function"&&(_=_(l)),_})}var E=Array.isArray||function(o){return Object.prototype.toString.call(o)==="[object Array]"};function C(o,l){for(var u=0;u<o.length;u++)if(o[u]===l)return u;return-1}var P="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function D(o){return window["webkit"+o]||window["moz"+o]||window["ms"+o]}var O=0;function R(o){var l=+new Date,u=Math.max(0,16-(l-O));return O=l+u,window.setTimeout(o,u)}var z=window.requestAnimationFrame||D("RequestAnimationFrame")||R,j=window.cancelAnimationFrame||D("CancelAnimationFrame")||D("CancelRequestAnimationFrame")||function(o){window.clearTimeout(o)};function U(o,l,u){if(u&&z===R)o.call(l);else return z.call(window,a(o,l))}function V(o){o&&j.call(window,o)}var tt={__proto__:null,extend:n,create:s,bind:a,get lastId(){return h},stamp:c,throttle:d,wrapNum:f,falseFn:p,formatNum:m,trim:y,splitWords:v,setOptions:A,getParamString:b,template:w,isArray:E,indexOf:C,emptyImageUrl:P,requestFn:z,cancelFn:j,requestAnimFrame:U,cancelAnimFrame:V};function at(){}at.extend=function(o){var l=function(){A(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},u=l.__super__=this.prototype,g=s(u);g.constructor=l,l.prototype=g;for(var _ in this)Object.prototype.hasOwnProperty.call(this,_)&&_!=="prototype"&&_!=="__super__"&&(l[_]=this[_]);return o.statics&&n(l,o.statics),o.includes&&(W(o.includes),n.apply(null,[g].concat(o.includes))),n(g,o),delete g.statics,delete g.includes,g.options&&(g.options=u.options?s(u.options):{},n(g.options,o.options)),g._initHooks=[],g.callInitHooks=function(){if(!this._initHooksCalled){u.callInitHooks&&u.callInitHooks.call(this),this._initHooksCalled=!0;for(var x=0,T=g._initHooks.length;x<T;x++)g._initHooks[x].call(this)}},l},at.include=function(o){var l=this.prototype.options;return n(this.prototype,o),o.options&&(this.prototype.options=l,this.mergeOptions(o.options)),this},at.mergeOptions=function(o){return n(this.prototype.options,o),this},at.addInitHook=function(o){var l=Array.prototype.slice.call(arguments,1),u=typeof o=="function"?o:function(){this[o].apply(this,l)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(u),this};function W(o){if(!(typeof L>"u"||!L||!L.Mixin)){o=E(o)?o:[o];for(var l=0;l<o.length;l++)o[l]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var Y={on:function(o,l,u){if(typeof o=="object")for(var g in o)this._on(g,o[g],l);else{o=v(o);for(var _=0,x=o.length;_<x;_++)this._on(o[_],l,u)}return this},off:function(o,l,u){if(!arguments.length)delete this._events;else if(typeof o=="object")for(var g in o)this._off(g,o[g],l);else{o=v(o);for(var _=arguments.length===1,x=0,T=o.length;x<T;x++)_?this._off(o[x]):this._off(o[x],l,u)}return this},_on:function(o,l,u,g){if(typeof l!="function"){console.warn("wrong listener type: "+typeof l);return}if(this._listens(o,l,u)===!1){u===this&&(u=void 0);var _={fn:l,ctx:u};g&&(_.once=!0),this._events=this._events||{},this._events[o]=this._events[o]||[],this._events[o].push(_)}},_off:function(o,l,u){var g,_,x;if(this._events&&(g=this._events[o],!!g)){if(arguments.length===1){if(this._firingCount)for(_=0,x=g.length;_<x;_++)g[_].fn=p;delete this._events[o];return}if(typeof l!="function"){console.warn("wrong listener type: "+typeof l);return}var T=this._listens(o,l,u);if(T!==!1){var I=g[T];this._firingCount&&(I.fn=p,this._events[o]=g=g.slice()),g.splice(T,1)}}},fire:function(o,l,u){if(!this.listens(o,u))return this;var g=n({},l,{type:o,target:this,sourceTarget:l&&l.sourceTarget||this});if(this._events){var _=this._events[o];if(_){this._firingCount=this._firingCount+1||1;for(var x=0,T=_.length;x<T;x++){var I=_[x],S=I.fn;I.once&&this.off(o,S,I.ctx),S.call(I.ctx||this,g)}this._firingCount--}}return u&&this._propagateEvent(g),this},listens:function(o,l,u,g){typeof o!="string"&&console.warn('"string" type argument expected');var _=l;typeof l!="function"&&(g=!!l,_=void 0,u=void 0);var x=this._events&&this._events[o];if(x&&x.length&&this._listens(o,_,u)!==!1)return!0;if(g){for(var T in this._eventParents)if(this._eventParents[T].listens(o,l,u,g))return!0}return!1},_listens:function(o,l,u){if(!this._events)return!1;var g=this._events[o]||[];if(!l)return!!g.length;u===this&&(u=void 0);for(var _=0,x=g.length;_<x;_++)if(g[_].fn===l&&g[_].ctx===u)return _;return!1},once:function(o,l,u){if(typeof o=="object")for(var g in o)this._on(g,o[g],l,!0);else{o=v(o);for(var _=0,x=o.length;_<x;_++)this._on(o[_],l,u,!0)}return this},addEventParent:function(o){return this._eventParents=this._eventParents||{},this._eventParents[c(o)]=o,this},removeEventParent:function(o){return this._eventParents&&delete this._eventParents[c(o)],this},_propagateEvent:function(o){for(var l in this._eventParents)this._eventParents[l].fire(o.type,n({layer:o.target,propagatedFrom:o.target},o),!0)}};Y.addEventListener=Y.on,Y.removeEventListener=Y.clearAllEventListeners=Y.off,Y.addOneTimeEventListener=Y.once,Y.fireEvent=Y.fire,Y.hasEventListeners=Y.listens;var H=at.extend(Y);function B(o,l,u){this.x=u?Math.round(o):o,this.y=u?Math.round(l):l}var nt=Math.trunc||function(o){return o>0?Math.floor(o):Math.ceil(o)};B.prototype={clone:function(){return new B(this.x,this.y)},add:function(o){return this.clone()._add(Z(o))},_add:function(o){return this.x+=o.x,this.y+=o.y,this},subtract:function(o){return this.clone()._subtract(Z(o))},_subtract:function(o){return this.x-=o.x,this.y-=o.y,this},divideBy:function(o){return this.clone()._divideBy(o)},_divideBy:function(o){return this.x/=o,this.y/=o,this},multiplyBy:function(o){return this.clone()._multiplyBy(o)},_multiplyBy:function(o){return this.x*=o,this.y*=o,this},scaleBy:function(o){return new B(this.x*o.x,this.y*o.y)},unscaleBy:function(o){return new B(this.x/o.x,this.y/o.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=nt(this.x),this.y=nt(this.y),this},distanceTo:function(o){o=Z(o);var l=o.x-this.x,u=o.y-this.y;return Math.sqrt(l*l+u*u)},equals:function(o){return o=Z(o),o.x===this.x&&o.y===this.y},contains:function(o){return o=Z(o),Math.abs(o.x)<=Math.abs(this.x)&&Math.abs(o.y)<=Math.abs(this.y)},toString:function(){return"Point("+m(this.x)+", "+m(this.y)+")"}};function Z(o,l,u){return o instanceof B?o:E(o)?new B(o[0],o[1]):o==null?o:typeof o=="object"&&"x"in o&&"y"in o?new B(o.x,o.y):new B(o,l,u)}function rt(o,l){if(o)for(var u=l?[o,l]:o,g=0,_=u.length;g<_;g++)this.extend(u[g])}rt.prototype={extend:function(o){var l,u;if(!o)return this;if(o instanceof B||typeof o[0]=="number"||"x"in o)l=u=Z(o);else if(o=F(o),l=o.min,u=o.max,!l||!u)return this;return!this.min&&!this.max?(this.min=l.clone(),this.max=u.clone()):(this.min.x=Math.min(l.x,this.min.x),this.max.x=Math.max(u.x,this.max.x),this.min.y=Math.min(l.y,this.min.y),this.max.y=Math.max(u.y,this.max.y)),this},getCenter:function(o){return Z((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,o)},getBottomLeft:function(){return Z(this.min.x,this.max.y)},getTopRight:function(){return Z(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(o){var l,u;return typeof o[0]=="number"||o instanceof B?o=Z(o):o=F(o),o instanceof rt?(l=o.min,u=o.max):l=u=o,l.x>=this.min.x&&u.x<=this.max.x&&l.y>=this.min.y&&u.y<=this.max.y},intersects:function(o){o=F(o);var l=this.min,u=this.max,g=o.min,_=o.max,x=_.x>=l.x&&g.x<=u.x,T=_.y>=l.y&&g.y<=u.y;return x&&T},overlaps:function(o){o=F(o);var l=this.min,u=this.max,g=o.min,_=o.max,x=_.x>l.x&&g.x<u.x,T=_.y>l.y&&g.y<u.y;return x&&T},isValid:function(){return!!(this.min&&this.max)},pad:function(o){var l=this.min,u=this.max,g=Math.abs(l.x-u.x)*o,_=Math.abs(l.y-u.y)*o;return F(Z(l.x-g,l.y-_),Z(u.x+g,u.y+_))},equals:function(o){return o?(o=F(o),this.min.equals(o.getTopLeft())&&this.max.equals(o.getBottomRight())):!1}};function F(o,l){return!o||o instanceof rt?o:new rt(o,l)}function ft(o,l){if(o)for(var u=l?[o,l]:o,g=0,_=u.length;g<_;g++)this.extend(u[g])}ft.prototype={extend:function(o){var l=this._southWest,u=this._northEast,g,_;if(o instanceof et)g=o,_=o;else if(o instanceof ft){if(g=o._southWest,_=o._northEast,!g||!_)return this}else return o?this.extend(ct(o)||q(o)):this;return!l&&!u?(this._southWest=new et(g.lat,g.lng),this._northEast=new et(_.lat,_.lng)):(l.lat=Math.min(g.lat,l.lat),l.lng=Math.min(g.lng,l.lng),u.lat=Math.max(_.lat,u.lat),u.lng=Math.max(_.lng,u.lng)),this},pad:function(o){var l=this._southWest,u=this._northEast,g=Math.abs(l.lat-u.lat)*o,_=Math.abs(l.lng-u.lng)*o;return new ft(new et(l.lat-g,l.lng-_),new et(u.lat+g,u.lng+_))},getCenter:function(){return new et((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new et(this.getNorth(),this.getWest())},getSouthEast:function(){return new et(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(o){typeof o[0]=="number"||o instanceof et||"lat"in o?o=ct(o):o=q(o);var l=this._southWest,u=this._northEast,g,_;return o instanceof ft?(g=o.getSouthWest(),_=o.getNorthEast()):g=_=o,g.lat>=l.lat&&_.lat<=u.lat&&g.lng>=l.lng&&_.lng<=u.lng},intersects:function(o){o=q(o);var l=this._southWest,u=this._northEast,g=o.getSouthWest(),_=o.getNorthEast(),x=_.lat>=l.lat&&g.lat<=u.lat,T=_.lng>=l.lng&&g.lng<=u.lng;return x&&T},overlaps:function(o){o=q(o);var l=this._southWest,u=this._northEast,g=o.getSouthWest(),_=o.getNorthEast(),x=_.lat>l.lat&&g.lat<u.lat,T=_.lng>l.lng&&g.lng<u.lng;return x&&T},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(o,l){return o?(o=q(o),this._southWest.equals(o.getSouthWest(),l)&&this._northEast.equals(o.getNorthEast(),l)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function q(o,l){return o instanceof ft?o:new ft(o,l)}function et(o,l,u){if(isNaN(o)||isNaN(l))throw new Error("Invalid LatLng object: ("+o+", "+l+")");this.lat=+o,this.lng=+l,u!==void 0&&(this.alt=+u)}et.prototype={equals:function(o,l){if(!o)return!1;o=ct(o);var u=Math.max(Math.abs(this.lat-o.lat),Math.abs(this.lng-o.lng));return u<=(l===void 0?1e-9:l)},toString:function(o){return"LatLng("+m(this.lat,o)+", "+m(this.lng,o)+")"},distanceTo:function(o){return Xt.distance(this,ct(o))},wrap:function(){return Xt.wrapLatLng(this)},toBounds:function(o){var l=180*o/40075017,u=l/Math.cos(Math.PI/180*this.lat);return q([this.lat-l,this.lng-u],[this.lat+l,this.lng+u])},clone:function(){return new et(this.lat,this.lng,this.alt)}};function ct(o,l,u){return o instanceof et?o:E(o)&&typeof o[0]!="object"?o.length===3?new et(o[0],o[1],o[2]):o.length===2?new et(o[0],o[1]):null:o==null?o:typeof o=="object"&&"lat"in o?new et(o.lat,"lng"in o?o.lng:o.lon,o.alt):l===void 0?null:new et(o,l,u)}var Dt={latLngToPoint:function(o,l){var u=this.projection.project(o),g=this.scale(l);return this.transformation._transform(u,g)},pointToLatLng:function(o,l){var u=this.scale(l),g=this.transformation.untransform(o,u);return this.projection.unproject(g)},project:function(o){return this.projection.project(o)},unproject:function(o){return this.projection.unproject(o)},scale:function(o){return 256*Math.pow(2,o)},zoom:function(o){return Math.log(o/256)/Math.LN2},getProjectedBounds:function(o){if(this.infinite)return null;var l=this.projection.bounds,u=this.scale(o),g=this.transformation.transform(l.min,u),_=this.transformation.transform(l.max,u);return new rt(g,_)},infinite:!1,wrapLatLng:function(o){var l=this.wrapLng?f(o.lng,this.wrapLng,!0):o.lng,u=this.wrapLat?f(o.lat,this.wrapLat,!0):o.lat,g=o.alt;return new et(u,l,g)},wrapLatLngBounds:function(o){var l=o.getCenter(),u=this.wrapLatLng(l),g=l.lat-u.lat,_=l.lng-u.lng;if(g===0&&_===0)return o;var x=o.getSouthWest(),T=o.getNorthEast(),I=new et(x.lat-g,x.lng-_),S=new et(T.lat-g,T.lng-_);return new ft(I,S)}},Xt=n({},Dt,{wrapLng:[-180,180],R:6371e3,distance:function(o,l){var u=Math.PI/180,g=o.lat*u,_=l.lat*u,x=Math.sin((l.lat-o.lat)*u/2),T=Math.sin((l.lng-o.lng)*u/2),I=x*x+Math.cos(g)*Math.cos(_)*T*T,S=2*Math.atan2(Math.sqrt(I),Math.sqrt(1-I));return this.R*S}}),be=6378137,qe={R:be,MAX_LATITUDE:85.0511287798,project:function(o){var l=Math.PI/180,u=this.MAX_LATITUDE,g=Math.max(Math.min(u,o.lat),-u),_=Math.sin(g*l);return new B(this.R*o.lng*l,this.R*Math.log((1+_)/(1-_))/2)},unproject:function(o){var l=180/Math.PI;return new et((2*Math.atan(Math.exp(o.y/this.R))-Math.PI/2)*l,o.x*l/this.R)},bounds:function(){var o=be*Math.PI;return new rt([-o,-o],[o,o])}()};function Xi(o,l,u,g){if(E(o)){this._a=o[0],this._b=o[1],this._c=o[2],this._d=o[3];return}this._a=o,this._b=l,this._c=u,this._d=g}Xi.prototype={transform:function(o,l){return this._transform(o.clone(),l)},_transform:function(o,l){return l=l||1,o.x=l*(this._a*o.x+this._b),o.y=l*(this._c*o.y+this._d),o},untransform:function(o,l){return l=l||1,new B((o.x/l-this._b)/this._a,(o.y/l-this._d)/this._c)}};function Te(o,l,u,g){return new Xi(o,l,u,g)}var Vi=n({},Xt,{code:"EPSG:3857",projection:qe,transformation:function(){var o=.5/(Math.PI*qe.R);return Te(o,.5,-o,.5)}()}),Je=n({},Vi,{code:"EPSG:900913"});function Ki(o){return document.createElementNS("http://www.w3.org/2000/svg",o)}function Fe(o,l){var u="",g,_,x,T,I,S;for(g=0,x=o.length;g<x;g++){for(I=o[g],_=0,T=I.length;_<T;_++)S=I[_],u+=(_?"L":"M")+S.x+" "+S.y;u+=l?J.svg?"z":"x":""}return u||"M0 0"}var Qi=document.documentElement.style,Ai="ActiveXObject"in window,or=Ai&&!document.addEventListener,wi="msLaunchUri"in navigator&&!("documentMode"in document),wn=Nt("webkit"),Qt=Nt("android"),ae=Nt("android 2")||Nt("android 3"),Ce=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),ze=Qt&&Nt("Google")&&Ce<537&&!("AudioNode"in window),$e=!!window.opera,ti=!wi&&Nt("chrome"),Be=Nt("gecko")&&!wn&&!$e&&!Ai,qi=!ti&&Nt("safari"),En=Nt("phantom"),Vt="OTransition"in Qi,rs=navigator.platform.indexOf("Win")===0,Ko=Ai&&"transition"in Qi,ss="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!ae,os="MozPerspective"in Qi,Qo=!window.L_DISABLE_3D&&(Ko||ss||os)&&!Vt&&!En,Ei=typeof orientation<"u"||Nt("mobile"),qo=Ei&&wn,as=Ei&&ss,Ji=!window.PointerEvent&&window.MSPointerEvent,$i=!!(window.PointerEvent||Ji),tn="ontouchstart"in window||!!window.TouchEvent,Jo=!window.L_NO_TOUCH&&(tn||$i),$o=Ei&&$e,le=Ei&&Be,en=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,pe=function(){var o=!1;try{var l=Object.defineProperty({},"passive",{get:function(){o=!0}});window.addEventListener("testPassiveEventSupport",p,l),window.removeEventListener("testPassiveEventSupport",p,l)}catch{}return o}(),Ne=function(){return!!document.createElement("canvas").getContext}(),qt=!!(document.createElementNS&&Ki("svg").createSVGRect),ar=!!qt&&function(){var o=document.createElement("div");return o.innerHTML="<svg/>",(o.firstChild&&o.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),lr=!qt&&function(){try{var o=document.createElement("div");o.innerHTML='<v:shape adj="1"/>';var l=o.firstChild;return l.style.behavior="url(#default#VML)",l&&typeof l.adj=="object"}catch{return!1}}(),se=navigator.platform.indexOf("Mac")===0,me=navigator.platform.indexOf("Linux")===0;function Nt(o){return navigator.userAgent.toLowerCase().indexOf(o)>=0}var J={ie:Ai,ielt9:or,edge:wi,webkit:wn,android:Qt,android23:ae,androidStock:ze,opera:$e,chrome:ti,gecko:Be,safari:qi,phantom:En,opera12:Vt,win:rs,ie3d:Ko,webkit3d:ss,gecko3d:os,any3d:Qo,mobile:Ei,mobileWebkit:qo,mobileWebkit3d:as,msPointer:Ji,pointer:$i,touch:Jo,touchNative:tn,mobileOpera:$o,mobileGecko:le,retina:en,passiveEvents:pe,canvas:Ne,svg:qt,vml:lr,inlineSvg:ar,mac:se,linux:me},zf=J.msPointer?"MSPointerDown":"pointerdown",Bf=J.msPointer?"MSPointerMove":"pointermove",Nf=J.msPointer?"MSPointerUp":"pointerup",Gf=J.msPointer?"MSPointerCancel":"pointercancel",xh={touchstart:zf,touchmove:Bf,touchend:Nf,touchcancel:Gf},Uf={touchstart:uE,touchmove:ta,touchend:ta,touchcancel:ta},hr={},jf=!1;function oE(o,l,u){return l==="touchstart"&&cE(),Uf[l]?(u=Uf[l].bind(this,u),o.addEventListener(xh[l],u,!1),u):(console.warn("wrong event specified:",l),p)}function aE(o,l,u){if(!xh[l]){console.warn("wrong event specified:",l);return}o.removeEventListener(xh[l],u,!1)}function lE(o){hr[o.pointerId]=o}function hE(o){hr[o.pointerId]&&(hr[o.pointerId]=o)}function Hf(o){delete hr[o.pointerId]}function cE(){jf||(document.addEventListener(zf,lE,!0),document.addEventListener(Bf,hE,!0),document.addEventListener(Nf,Hf,!0),document.addEventListener(Gf,Hf,!0),jf=!0)}function ta(o,l){if(l.pointerType!==(l.MSPOINTER_TYPE_MOUSE||"mouse")){l.touches=[];for(var u in hr)l.touches.push(hr[u]);l.changedTouches=[l],o(l)}}function uE(o,l){l.MSPOINTER_TYPE_TOUCH&&l.pointerType===l.MSPOINTER_TYPE_TOUCH&&Jt(l),ta(o,l)}function dE(o){var l={},u,g;for(g in o)u=o[g],l[g]=u&&u.bind?u.bind(o):u;return o=l,l.type="dblclick",l.detail=2,l.isTrusted=!1,l._simulated=!0,l}var fE=200;function gE(o,l){o.addEventListener("dblclick",l);var u=0,g;function _(x){if(x.detail!==1){g=x.detail;return}if(!(x.pointerType==="mouse"||x.sourceCapabilities&&!x.sourceCapabilities.firesTouchEvents)){var T=Vf(x);if(!(T.some(function(S){return S instanceof HTMLLabelElement&&S.attributes.for})&&!T.some(function(S){return S instanceof HTMLInputElement||S instanceof HTMLSelectElement}))){var I=Date.now();I-u<=fE?(g++,g===2&&l(dE(x))):g=1,u=I}}}return o.addEventListener("click",_),{dblclick:l,simDblclick:_}}function pE(o,l){o.removeEventListener("dblclick",l.dblclick),o.removeEventListener("click",l.simDblclick)}var Ah=na(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ls=na(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Wf=ls==="webkitTransition"||ls==="OTransition"?ls+"End":"transitionend";function Yf(o){return typeof o=="string"?document.getElementById(o):o}function hs(o,l){var u=o.style[l]||o.currentStyle&&o.currentStyle[l];if((!u||u==="auto")&&document.defaultView){var g=document.defaultView.getComputedStyle(o,null);u=g?g[l]:null}return u==="auto"?null:u}function wt(o,l,u){var g=document.createElement(o);return g.className=l||"",u&&u.appendChild(g),g}function St(o){var l=o.parentNode;l&&l.removeChild(o)}function ea(o){for(;o.firstChild;)o.removeChild(o.firstChild)}function cr(o){var l=o.parentNode;l&&l.lastChild!==o&&l.appendChild(o)}function ur(o){var l=o.parentNode;l&&l.firstChild!==o&&l.insertBefore(o,l.firstChild)}function wh(o,l){if(o.classList!==void 0)return o.classList.contains(l);var u=ia(o);return u.length>0&&new RegExp("(^|\\s)"+l+"(\\s|$)").test(u)}function pt(o,l){if(o.classList!==void 0)for(var u=v(l),g=0,_=u.length;g<_;g++)o.classList.add(u[g]);else if(!wh(o,l)){var x=ia(o);Eh(o,(x?x+" ":"")+l)}}function Ft(o,l){o.classList!==void 0?o.classList.remove(l):Eh(o,y((" "+ia(o)+" ").replace(" "+l+" "," ")))}function Eh(o,l){o.className.baseVal===void 0?o.className=l:o.className.baseVal=l}function ia(o){return o.correspondingElement&&(o=o.correspondingElement),o.className.baseVal===void 0?o.className:o.className.baseVal}function Me(o,l){"opacity"in o.style?o.style.opacity=l:"filter"in o.style&&mE(o,l)}function mE(o,l){var u=!1,g="DXImageTransform.Microsoft.Alpha";try{u=o.filters.item(g)}catch{if(l===1)return}l=Math.round(l*100),u?(u.Enabled=l!==100,u.Opacity=l):o.style.filter+=" progid:"+g+"(opacity="+l+")"}function na(o){for(var l=document.documentElement.style,u=0;u<o.length;u++)if(o[u]in l)return o[u];return!1}function Cn(o,l,u){var g=l||new B(0,0);o.style[Ah]=(J.ie3d?"translate("+g.x+"px,"+g.y+"px)":"translate3d("+g.x+"px,"+g.y+"px,0)")+(u?" scale("+u+")":"")}function Gt(o,l){o._leaflet_pos=l,J.any3d?Cn(o,l):(o.style.left=l.x+"px",o.style.top=l.y+"px")}function Ln(o){return o._leaflet_pos||new B(0,0)}var cs,us,Ch;if("onselectstart"in document)cs=function(){dt(window,"selectstart",Jt)},us=function(){Pt(window,"selectstart",Jt)};else{var ds=na(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);cs=function(){if(ds){var o=document.documentElement.style;Ch=o[ds],o[ds]="none"}},us=function(){ds&&(document.documentElement.style[ds]=Ch,Ch=void 0)}}function Lh(){dt(window,"dragstart",Jt)}function bh(){Pt(window,"dragstart",Jt)}var ra,Th;function Mh(o){for(;o.tabIndex===-1;)o=o.parentNode;o.style&&(sa(),ra=o,Th=o.style.outlineStyle,o.style.outlineStyle="none",dt(window,"keydown",sa))}function sa(){ra&&(ra.style.outlineStyle=Th,ra=void 0,Th=void 0,Pt(window,"keydown",sa))}function Zf(o){do o=o.parentNode;while((!o.offsetWidth||!o.offsetHeight)&&o!==document.body);return o}function Ph(o){var l=o.getBoundingClientRect();return{x:l.width/o.offsetWidth||1,y:l.height/o.offsetHeight||1,boundingClientRect:l}}var _E={__proto__:null,TRANSFORM:Ah,TRANSITION:ls,TRANSITION_END:Wf,get:Yf,getStyle:hs,create:wt,remove:St,empty:ea,toFront:cr,toBack:ur,hasClass:wh,addClass:pt,removeClass:Ft,setClass:Eh,getClass:ia,setOpacity:Me,testProp:na,setTransform:Cn,setPosition:Gt,getPosition:Ln,get disableTextSelection(){return cs},get enableTextSelection(){return us},disableImageDrag:Lh,enableImageDrag:bh,preventOutline:Mh,restoreOutline:sa,getSizedParentNode:Zf,getScale:Ph};function dt(o,l,u,g){if(l&&typeof l=="object")for(var _ in l)Ih(o,_,l[_],u);else{l=v(l);for(var x=0,T=l.length;x<T;x++)Ih(o,l[x],u,g)}return this}var ei="_leaflet_events";function Pt(o,l,u,g){if(arguments.length===1)Xf(o),delete o[ei];else if(l&&typeof l=="object")for(var _ in l)Sh(o,_,l[_],u);else if(l=v(l),arguments.length===2)Xf(o,function(I){return C(l,I)!==-1});else for(var x=0,T=l.length;x<T;x++)Sh(o,l[x],u,g);return this}function Xf(o,l){for(var u in o[ei]){var g=u.split(/\d/)[0];(!l||l(g))&&Sh(o,g,null,null,u)}}var Dh={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Ih(o,l,u,g){var _=l+c(u)+(g?"_"+c(g):"");if(o[ei]&&o[ei][_])return this;var x=function(I){return u.call(g||o,I||window.event)},T=x;!J.touchNative&&J.pointer&&l.indexOf("touch")===0?x=oE(o,l,x):J.touch&&l==="dblclick"?x=gE(o,x):"addEventListener"in o?l==="touchstart"||l==="touchmove"||l==="wheel"||l==="mousewheel"?o.addEventListener(Dh[l]||l,x,J.passiveEvents?{passive:!1}:!1):l==="mouseenter"||l==="mouseleave"?(x=function(I){I=I||window.event,kh(o,I)&&T(I)},o.addEventListener(Dh[l],x,!1)):o.addEventListener(l,T,!1):o.attachEvent("on"+l,x),o[ei]=o[ei]||{},o[ei][_]=x}function Sh(o,l,u,g,_){_=_||l+c(u)+(g?"_"+c(g):"");var x=o[ei]&&o[ei][_];if(!x)return this;!J.touchNative&&J.pointer&&l.indexOf("touch")===0?aE(o,l,x):J.touch&&l==="dblclick"?pE(o,x):"removeEventListener"in o?o.removeEventListener(Dh[l]||l,x,!1):o.detachEvent("on"+l,x),o[ei][_]=null}function bn(o){return o.stopPropagation?o.stopPropagation():o.originalEvent?o.originalEvent._stopped=!0:o.cancelBubble=!0,this}function Rh(o){return Ih(o,"wheel",bn),this}function fs(o){return dt(o,"mousedown touchstart dblclick contextmenu",bn),o._leaflet_disable_click=!0,this}function Jt(o){return o.preventDefault?o.preventDefault():o.returnValue=!1,this}function Tn(o){return Jt(o),bn(o),this}function Vf(o){if(o.composedPath)return o.composedPath();for(var l=[],u=o.target;u;)l.push(u),u=u.parentNode;return l}function Kf(o,l){if(!l)return new B(o.clientX,o.clientY);var u=Ph(l),g=u.boundingClientRect;return new B((o.clientX-g.left)/u.x-l.clientLeft,(o.clientY-g.top)/u.y-l.clientTop)}var yE=J.linux&&J.chrome?window.devicePixelRatio:J.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Qf(o){return J.edge?o.wheelDeltaY/2:o.deltaY&&o.deltaMode===0?-o.deltaY/yE:o.deltaY&&o.deltaMode===1?-o.deltaY*20:o.deltaY&&o.deltaMode===2?-o.deltaY*60:o.deltaX||o.deltaZ?0:o.wheelDelta?(o.wheelDeltaY||o.wheelDelta)/2:o.detail&&Math.abs(o.detail)<32765?-o.detail*20:o.detail?o.detail/-32765*60:0}function kh(o,l){var u=l.relatedTarget;if(!u)return!0;try{for(;u&&u!==o;)u=u.parentNode}catch{return!1}return u!==o}var vE={__proto__:null,on:dt,off:Pt,stopPropagation:bn,disableScrollPropagation:Rh,disableClickPropagation:fs,preventDefault:Jt,stop:Tn,getPropagationPath:Vf,getMousePosition:Kf,getWheelDelta:Qf,isExternalTarget:kh,addListener:dt,removeListener:Pt},qf=H.extend({run:function(o,l,u,g){this.stop(),this._el=o,this._inProgress=!0,this._duration=u||.25,this._easeOutPower=1/Math.max(g||.5,.2),this._startPos=Ln(o),this._offset=l.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=U(this._animate,this),this._step()},_step:function(o){var l=+new Date-this._startTime,u=this._duration*1e3;l<u?this._runFrame(this._easeOut(l/u),o):(this._runFrame(1),this._complete())},_runFrame:function(o,l){var u=this._startPos.add(this._offset.multiplyBy(o));l&&u._round(),Gt(this._el,u),this.fire("step")},_complete:function(){V(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(o){return 1-Math.pow(1-o,this._easeOutPower)}}),xt=H.extend({options:{crs:Vi,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(o,l){l=A(this,l),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(o),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),l.maxBounds&&this.setMaxBounds(l.maxBounds),l.zoom!==void 0&&(this._zoom=this._limitZoom(l.zoom)),l.center&&l.zoom!==void 0&&this.setView(ct(l.center),l.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ls&&J.any3d&&!J.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),dt(this._proxy,Wf,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(o,l,u){if(l=l===void 0?this._zoom:this._limitZoom(l),o=this._limitCenter(ct(o),l,this.options.maxBounds),u=u||{},this._stop(),this._loaded&&!u.reset&&u!==!0){u.animate!==void 0&&(u.zoom=n({animate:u.animate},u.zoom),u.pan=n({animate:u.animate,duration:u.duration},u.pan));var g=this._zoom!==l?this._tryAnimatedZoom&&this._tryAnimatedZoom(o,l,u.zoom):this._tryAnimatedPan(o,u.pan);if(g)return clearTimeout(this._sizeTimer),this}return this._resetView(o,l,u.pan&&u.pan.noMoveStart),this},setZoom:function(o,l){return this._loaded?this.setView(this.getCenter(),o,{zoom:l}):(this._zoom=o,this)},zoomIn:function(o,l){return o=o||(J.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+o,l)},zoomOut:function(o,l){return o=o||(J.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-o,l)},setZoomAround:function(o,l,u){var g=this.getZoomScale(l),_=this.getSize().divideBy(2),x=o instanceof B?o:this.latLngToContainerPoint(o),T=x.subtract(_).multiplyBy(1-1/g),I=this.containerPointToLatLng(_.add(T));return this.setView(I,l,{zoom:u})},_getBoundsCenterZoom:function(o,l){l=l||{},o=o.getBounds?o.getBounds():q(o);var u=Z(l.paddingTopLeft||l.padding||[0,0]),g=Z(l.paddingBottomRight||l.padding||[0,0]),_=this.getBoundsZoom(o,!1,u.add(g));if(_=typeof l.maxZoom=="number"?Math.min(l.maxZoom,_):_,_===1/0)return{center:o.getCenter(),zoom:_};var x=g.subtract(u).divideBy(2),T=this.project(o.getSouthWest(),_),I=this.project(o.getNorthEast(),_),S=this.unproject(T.add(I).divideBy(2).add(x),_);return{center:S,zoom:_}},fitBounds:function(o,l){if(o=q(o),!o.isValid())throw new Error("Bounds are not valid.");var u=this._getBoundsCenterZoom(o,l);return this.setView(u.center,u.zoom,l)},fitWorld:function(o){return this.fitBounds([[-90,-180],[90,180]],o)},panTo:function(o,l){return this.setView(o,this._zoom,{pan:l})},panBy:function(o,l){if(o=Z(o).round(),l=l||{},!o.x&&!o.y)return this.fire("moveend");if(l.animate!==!0&&!this.getSize().contains(o))return this._resetView(this.unproject(this.project(this.getCenter()).add(o)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new qf,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),l.noMoveStart||this.fire("movestart"),l.animate!==!1){pt(this._mapPane,"leaflet-pan-anim");var u=this._getMapPanePos().subtract(o).round();this._panAnim.run(this._mapPane,u,l.duration||.25,l.easeLinearity)}else this._rawPanBy(o),this.fire("move").fire("moveend");return this},flyTo:function(o,l,u){if(u=u||{},u.animate===!1||!J.any3d)return this.setView(o,l,u);this._stop();var g=this.project(this.getCenter()),_=this.project(o),x=this.getSize(),T=this._zoom;o=ct(o),l=l===void 0?T:l;var I=Math.max(x.x,x.y),S=I*this.getZoomScale(T,l),G=_.distanceTo(g)||1,K=1.42,ot=K*K;function yt(Ut){var _a=Ut?-1:1,aC=Ut?S:I,lC=S*S-I*I+_a*ot*ot*G*G,hC=2*aC*ot*G,Yh=lC/hC,Ig=Math.sqrt(Yh*Yh+1)-Yh,cC=Ig<1e-9?-18:Math.log(Ig);return cC}function he(Ut){return(Math.exp(Ut)-Math.exp(-Ut))/2}function Kt(Ut){return(Math.exp(Ut)+Math.exp(-Ut))/2}function De(Ut){return he(Ut)/Kt(Ut)}var _e=yt(0);function _r(Ut){return I*(Kt(_e)/Kt(_e+K*Ut))}function nC(Ut){return I*(Kt(_e)*De(_e+K*Ut)-he(_e))/ot}function rC(Ut){return 1-Math.pow(1-Ut,1.5)}var sC=Date.now(),Pg=(yt(1)-_e)/K,oC=u.duration?1e3*u.duration:1e3*Pg*.8;function Dg(){var Ut=(Date.now()-sC)/oC,_a=rC(Ut)*Pg;Ut<=1?(this._flyToFrame=U(Dg,this),this._move(this.unproject(g.add(_.subtract(g).multiplyBy(nC(_a)/G)),T),this.getScaleZoom(I/_r(_a),T),{flyTo:!0})):this._move(o,l)._moveEnd(!0)}return this._moveStart(!0,u.noMoveStart),Dg.call(this),this},flyToBounds:function(o,l){var u=this._getBoundsCenterZoom(o,l);return this.flyTo(u.center,u.zoom,l)},setMaxBounds:function(o){return o=q(o),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),o.isValid()?(this.options.maxBounds=o,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(o){var l=this.options.minZoom;return this.options.minZoom=o,this._loaded&&l!==o&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(o):this},setMaxZoom:function(o){var l=this.options.maxZoom;return this.options.maxZoom=o,this._loaded&&l!==o&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(o):this},panInsideBounds:function(o,l){this._enforcingBounds=!0;var u=this.getCenter(),g=this._limitCenter(u,this._zoom,q(o));return u.equals(g)||this.panTo(g,l),this._enforcingBounds=!1,this},panInside:function(o,l){l=l||{};var u=Z(l.paddingTopLeft||l.padding||[0,0]),g=Z(l.paddingBottomRight||l.padding||[0,0]),_=this.project(this.getCenter()),x=this.project(o),T=this.getPixelBounds(),I=F([T.min.add(u),T.max.subtract(g)]),S=I.getSize();if(!I.contains(x)){this._enforcingBounds=!0;var G=x.subtract(I.getCenter()),K=I.extend(x).getSize().subtract(S);_.x+=G.x<0?-K.x:K.x,_.y+=G.y<0?-K.y:K.y,this.panTo(this.unproject(_),l),this._enforcingBounds=!1}return this},invalidateSize:function(o){if(!this._loaded)return this;o=n({animate:!1,pan:!0},o===!0?{animate:!0}:o);var l=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var u=this.getSize(),g=l.divideBy(2).round(),_=u.divideBy(2).round(),x=g.subtract(_);return!x.x&&!x.y?this:(o.animate&&o.pan?this.panBy(x):(o.pan&&this._rawPanBy(x),this.fire("move"),o.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:l,newSize:u}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(o){if(o=this._locateOptions=n({timeout:1e4,watch:!1},o),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var l=a(this._handleGeolocationResponse,this),u=a(this._handleGeolocationError,this);return o.watch?this._locationWatchId=navigator.geolocation.watchPosition(l,u,o):navigator.geolocation.getCurrentPosition(l,u,o),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(o){if(this._container._leaflet_id){var l=o.code,u=o.message||(l===1?"permission denied":l===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:l,message:"Geolocation error: "+u+"."})}},_handleGeolocationResponse:function(o){if(this._container._leaflet_id){var l=o.coords.latitude,u=o.coords.longitude,g=new et(l,u),_=g.toBounds(o.coords.accuracy*2),x=this._locateOptions;if(x.setView){var T=this.getBoundsZoom(_);this.setView(g,x.maxZoom?Math.min(T,x.maxZoom):T)}var I={latlng:g,bounds:_,timestamp:o.timestamp};for(var S in o.coords)typeof o.coords[S]=="number"&&(I[S]=o.coords[S]);this.fire("locationfound",I)}},addHandler:function(o,l){if(!l)return this;var u=this[o]=new l(this);return this._handlers.push(u),this.options[o]&&u.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),St(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(V(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var o;for(o in this._layers)this._layers[o].remove();for(o in this._panes)St(this._panes[o]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(o,l){var u="leaflet-pane"+(o?" leaflet-"+o.replace("Pane","")+"-pane":""),g=wt("div",u,l||this._mapPane);return o&&(this._panes[o]=g),g},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var o=this.getPixelBounds(),l=this.unproject(o.getBottomLeft()),u=this.unproject(o.getTopRight());return new ft(l,u)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(o,l,u){o=q(o),u=Z(u||[0,0]);var g=this.getZoom()||0,_=this.getMinZoom(),x=this.getMaxZoom(),T=o.getNorthWest(),I=o.getSouthEast(),S=this.getSize().subtract(u),G=F(this.project(I,g),this.project(T,g)).getSize(),K=J.any3d?this.options.zoomSnap:1,ot=S.x/G.x,yt=S.y/G.y,he=l?Math.max(ot,yt):Math.min(ot,yt);return g=this.getScaleZoom(he,g),K&&(g=Math.round(g/(K/100))*(K/100),g=l?Math.ceil(g/K)*K:Math.floor(g/K)*K),Math.max(_,Math.min(x,g))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new B(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(o,l){var u=this._getTopLeftPoint(o,l);return new rt(u,u.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(o){return this.options.crs.getProjectedBounds(o===void 0?this.getZoom():o)},getPane:function(o){return typeof o=="string"?this._panes[o]:o},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(o,l){var u=this.options.crs;return l=l===void 0?this._zoom:l,u.scale(o)/u.scale(l)},getScaleZoom:function(o,l){var u=this.options.crs;l=l===void 0?this._zoom:l;var g=u.zoom(o*u.scale(l));return isNaN(g)?1/0:g},project:function(o,l){return l=l===void 0?this._zoom:l,this.options.crs.latLngToPoint(ct(o),l)},unproject:function(o,l){return l=l===void 0?this._zoom:l,this.options.crs.pointToLatLng(Z(o),l)},layerPointToLatLng:function(o){var l=Z(o).add(this.getPixelOrigin());return this.unproject(l)},latLngToLayerPoint:function(o){var l=this.project(ct(o))._round();return l._subtract(this.getPixelOrigin())},wrapLatLng:function(o){return this.options.crs.wrapLatLng(ct(o))},wrapLatLngBounds:function(o){return this.options.crs.wrapLatLngBounds(q(o))},distance:function(o,l){return this.options.crs.distance(ct(o),ct(l))},containerPointToLayerPoint:function(o){return Z(o).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(o){return Z(o).add(this._getMapPanePos())},containerPointToLatLng:function(o){var l=this.containerPointToLayerPoint(Z(o));return this.layerPointToLatLng(l)},latLngToContainerPoint:function(o){return this.layerPointToContainerPoint(this.latLngToLayerPoint(ct(o)))},mouseEventToContainerPoint:function(o){return Kf(o,this._container)},mouseEventToLayerPoint:function(o){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(o))},mouseEventToLatLng:function(o){return this.layerPointToLatLng(this.mouseEventToLayerPoint(o))},_initContainer:function(o){var l=this._container=Yf(o);if(l){if(l._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");dt(l,"scroll",this._onScroll,this),this._containerId=c(l)},_initLayout:function(){var o=this._container;this._fadeAnimated=this.options.fadeAnimation&&J.any3d,pt(o,"leaflet-container"+(J.touch?" leaflet-touch":"")+(J.retina?" leaflet-retina":"")+(J.ielt9?" leaflet-oldie":"")+(J.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var l=hs(o,"position");l!=="absolute"&&l!=="relative"&&l!=="fixed"&&l!=="sticky"&&(o.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var o=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Gt(this._mapPane,new B(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(pt(o.markerPane,"leaflet-zoom-hide"),pt(o.shadowPane,"leaflet-zoom-hide"))},_resetView:function(o,l,u){Gt(this._mapPane,new B(0,0));var g=!this._loaded;this._loaded=!0,l=this._limitZoom(l),this.fire("viewprereset");var _=this._zoom!==l;this._moveStart(_,u)._move(o,l)._moveEnd(_),this.fire("viewreset"),g&&this.fire("load")},_moveStart:function(o,l){return o&&this.fire("zoomstart"),l||this.fire("movestart"),this},_move:function(o,l,u,g){l===void 0&&(l=this._zoom);var _=this._zoom!==l;return this._zoom=l,this._lastCenter=o,this._pixelOrigin=this._getNewPixelOrigin(o),g?u&&u.pinch&&this.fire("zoom",u):((_||u&&u.pinch)&&this.fire("zoom",u),this.fire("move",u)),this},_moveEnd:function(o){return o&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return V(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(o){Gt(this._mapPane,this._getMapPanePos().subtract(o))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(o){this._targets={},this._targets[c(this._container)]=this;var l=o?Pt:dt;l(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&l(window,"resize",this._onResize,this),J.any3d&&this.options.transform3DLimit&&(o?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){V(this._resizeRequest),this._resizeRequest=U(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var o=this._getMapPanePos();Math.max(Math.abs(o.x),Math.abs(o.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(o,l){for(var u=[],g,_=l==="mouseout"||l==="mouseover",x=o.target||o.srcElement,T=!1;x;){if(g=this._targets[c(x)],g&&(l==="click"||l==="preclick")&&this._draggableMoved(g)){T=!0;break}if(g&&g.listens(l,!0)&&(_&&!kh(x,o)||(u.push(g),_))||x===this._container)break;x=x.parentNode}return!u.length&&!T&&!_&&this.listens(l,!0)&&(u=[this]),u},_isClickDisabled:function(o){for(;o&&o!==this._container;){if(o._leaflet_disable_click)return!0;o=o.parentNode}},_handleDOMEvent:function(o){var l=o.target||o.srcElement;if(!(!this._loaded||l._leaflet_disable_events||o.type==="click"&&this._isClickDisabled(l))){var u=o.type;u==="mousedown"&&Mh(l),this._fireDOMEvent(o,u)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(o,l,u){if(o.type==="click"){var g=n({},o);g.type="preclick",this._fireDOMEvent(g,g.type,u)}var _=this._findEventTargets(o,l);if(u){for(var x=[],T=0;T<u.length;T++)u[T].listens(l,!0)&&x.push(u[T]);_=x.concat(_)}if(_.length){l==="contextmenu"&&Jt(o);var I=_[0],S={originalEvent:o};if(o.type!=="keypress"&&o.type!=="keydown"&&o.type!=="keyup"){var G=I.getLatLng&&(!I._radius||I._radius<=10);S.containerPoint=G?this.latLngToContainerPoint(I.getLatLng()):this.mouseEventToContainerPoint(o),S.layerPoint=this.containerPointToLayerPoint(S.containerPoint),S.latlng=G?I.getLatLng():this.layerPointToLatLng(S.layerPoint)}for(T=0;T<_.length;T++)if(_[T].fire(l,S,!0),S.originalEvent._stopped||_[T].options.bubblingMouseEvents===!1&&C(this._mouseEvents,l)!==-1)return}},_draggableMoved:function(o){return o=o.dragging&&o.dragging.enabled()?o:this,o.dragging&&o.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var o=0,l=this._handlers.length;o<l;o++)this._handlers[o].disable()},whenReady:function(o,l){return this._loaded?o.call(l||this,{target:this}):this.on("load",o,l),this},_getMapPanePos:function(){return Ln(this._mapPane)||new B(0,0)},_moved:function(){var o=this._getMapPanePos();return o&&!o.equals([0,0])},_getTopLeftPoint:function(o,l){var u=o&&l!==void 0?this._getNewPixelOrigin(o,l):this.getPixelOrigin();return u.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(o,l){var u=this.getSize()._divideBy(2);return this.project(o,l)._subtract(u)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(o,l,u){var g=this._getNewPixelOrigin(u,l);return this.project(o,l)._subtract(g)},_latLngBoundsToNewLayerBounds:function(o,l,u){var g=this._getNewPixelOrigin(u,l);return F([this.project(o.getSouthWest(),l)._subtract(g),this.project(o.getNorthWest(),l)._subtract(g),this.project(o.getSouthEast(),l)._subtract(g),this.project(o.getNorthEast(),l)._subtract(g)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(o){return this.latLngToLayerPoint(o).subtract(this._getCenterLayerPoint())},_limitCenter:function(o,l,u){if(!u)return o;var g=this.project(o,l),_=this.getSize().divideBy(2),x=new rt(g.subtract(_),g.add(_)),T=this._getBoundsOffset(x,u,l);return Math.abs(T.x)<=1&&Math.abs(T.y)<=1?o:this.unproject(g.add(T),l)},_limitOffset:function(o,l){if(!l)return o;var u=this.getPixelBounds(),g=new rt(u.min.add(o),u.max.add(o));return o.add(this._getBoundsOffset(g,l))},_getBoundsOffset:function(o,l,u){var g=F(this.project(l.getNorthEast(),u),this.project(l.getSouthWest(),u)),_=g.min.subtract(o.min),x=g.max.subtract(o.max),T=this._rebound(_.x,-x.x),I=this._rebound(_.y,-x.y);return new B(T,I)},_rebound:function(o,l){return o+l>0?Math.round(o-l)/2:Math.max(0,Math.ceil(o))-Math.max(0,Math.floor(l))},_limitZoom:function(o){var l=this.getMinZoom(),u=this.getMaxZoom(),g=J.any3d?this.options.zoomSnap:1;return g&&(o=Math.round(o/g)*g),Math.max(l,Math.min(u,o))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Ft(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(o,l){var u=this._getCenterOffset(o)._trunc();return(l&&l.animate)!==!0&&!this.getSize().contains(u)?!1:(this.panBy(u,l),!0)},_createAnimProxy:function(){var o=this._proxy=wt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(o),this.on("zoomanim",function(l){var u=Ah,g=this._proxy.style[u];Cn(this._proxy,this.project(l.center,l.zoom),this.getZoomScale(l.zoom,1)),g===this._proxy.style[u]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){St(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var o=this.getCenter(),l=this.getZoom();Cn(this._proxy,this.project(o,l),this.getZoomScale(l,1))},_catchTransitionEnd:function(o){this._animatingZoom&&o.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(o,l,u){if(this._animatingZoom)return!0;if(u=u||{},!this._zoomAnimated||u.animate===!1||this._nothingToAnimate()||Math.abs(l-this._zoom)>this.options.zoomAnimationThreshold)return!1;var g=this.getZoomScale(l),_=this._getCenterOffset(o)._divideBy(1-1/g);return u.animate!==!0&&!this.getSize().contains(_)?!1:(U(function(){this._moveStart(!0,u.noMoveStart||!1)._animateZoom(o,l,!0)},this),!0)},_animateZoom:function(o,l,u,g){this._mapPane&&(u&&(this._animatingZoom=!0,this._animateToCenter=o,this._animateToZoom=l,pt(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:o,zoom:l,noUpdate:g}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Ft(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function xE(o,l){return new xt(o,l)}var Ge=at.extend({options:{position:"topright"},initialize:function(o){A(this,o)},getPosition:function(){return this.options.position},setPosition:function(o){var l=this._map;return l&&l.removeControl(this),this.options.position=o,l&&l.addControl(this),this},getContainer:function(){return this._container},addTo:function(o){this.remove(),this._map=o;var l=this._container=this.onAdd(o),u=this.getPosition(),g=o._controlCorners[u];return pt(l,"leaflet-control"),u.indexOf("bottom")!==-1?g.insertBefore(l,g.firstChild):g.appendChild(l),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(St(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(o){this._map&&o&&o.screenX>0&&o.screenY>0&&this._map.getContainer().focus()}}),gs=function(o){return new Ge(o)};xt.include({addControl:function(o){return o.addTo(this),this},removeControl:function(o){return o.remove(),this},_initControlPos:function(){var o=this._controlCorners={},l="leaflet-",u=this._controlContainer=wt("div",l+"control-container",this._container);function g(_,x){var T=l+_+" "+l+x;o[_+x]=wt("div",T,u)}g("top","left"),g("top","right"),g("bottom","left"),g("bottom","right")},_clearControlPos:function(){for(var o in this._controlCorners)St(this._controlCorners[o]);St(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Jf=Ge.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(o,l,u,g){return u<g?-1:g<u?1:0}},initialize:function(o,l,u){A(this,u),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var g in o)this._addLayer(o[g],g);for(g in l)this._addLayer(l[g],g,!0)},onAdd:function(o){this._initLayout(),this._update(),this._map=o,o.on("zoomend",this._checkDisabledLayers,this);for(var l=0;l<this._layers.length;l++)this._layers[l].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(o){return Ge.prototype.addTo.call(this,o),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var o=0;o<this._layers.length;o++)this._layers[o].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(o,l){return this._addLayer(o,l),this._map?this._update():this},addOverlay:function(o,l){return this._addLayer(o,l,!0),this._map?this._update():this},removeLayer:function(o){o.off("add remove",this._onLayerChange,this);var l=this._getLayer(c(o));return l&&this._layers.splice(this._layers.indexOf(l),1),this._map?this._update():this},expand:function(){pt(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var o=this._map.getSize().y-(this._container.offsetTop+50);return o<this._section.clientHeight?(pt(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=o+"px"):Ft(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return Ft(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var o="leaflet-control-layers",l=this._container=wt("div",o),u=this.options.collapsed;l.setAttribute("aria-haspopup",!0),fs(l),Rh(l);var g=this._section=wt("section",o+"-list");u&&(this._map.on("click",this.collapse,this),dt(l,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var _=this._layersLink=wt("a",o+"-toggle",l);_.href="#",_.title="Layers",_.setAttribute("role","button"),dt(_,{keydown:function(x){x.keyCode===13&&this._expandSafely()},click:function(x){Jt(x),this._expandSafely()}},this),u||this.expand(),this._baseLayersList=wt("div",o+"-base",g),this._separator=wt("div",o+"-separator",g),this._overlaysList=wt("div",o+"-overlays",g),l.appendChild(g)},_getLayer:function(o){for(var l=0;l<this._layers.length;l++)if(this._layers[l]&&c(this._layers[l].layer)===o)return this._layers[l]},_addLayer:function(o,l,u){this._map&&o.on("add remove",this._onLayerChange,this),this._layers.push({layer:o,name:l,overlay:u}),this.options.sortLayers&&this._layers.sort(a(function(g,_){return this.options.sortFunction(g.layer,_.layer,g.name,_.name)},this)),this.options.autoZIndex&&o.setZIndex&&(this._lastZIndex++,o.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;ea(this._baseLayersList),ea(this._overlaysList),this._layerControlInputs=[];var o,l,u,g,_=0;for(u=0;u<this._layers.length;u++)g=this._layers[u],this._addItem(g),l=l||g.overlay,o=o||!g.overlay,_+=g.overlay?0:1;return this.options.hideSingleBase&&(o=o&&_>1,this._baseLayersList.style.display=o?"":"none"),this._separator.style.display=l&&o?"":"none",this},_onLayerChange:function(o){this._handlingClick||this._update();var l=this._getLayer(c(o.target)),u=l.overlay?o.type==="add"?"overlayadd":"overlayremove":o.type==="add"?"baselayerchange":null;u&&this._map.fire(u,l)},_createRadioElement:function(o,l){var u='<input type="radio" class="leaflet-control-layers-selector" name="'+o+'"'+(l?' checked="checked"':"")+"/>",g=document.createElement("div");return g.innerHTML=u,g.firstChild},_addItem:function(o){var l=document.createElement("label"),u=this._map.hasLayer(o.layer),g;o.overlay?(g=document.createElement("input"),g.type="checkbox",g.className="leaflet-control-layers-selector",g.defaultChecked=u):g=this._createRadioElement("leaflet-base-layers_"+c(this),u),this._layerControlInputs.push(g),g.layerId=c(o.layer),dt(g,"click",this._onInputClick,this);var _=document.createElement("span");_.innerHTML=" "+o.name;var x=document.createElement("span");l.appendChild(x),x.appendChild(g),x.appendChild(_);var T=o.overlay?this._overlaysList:this._baseLayersList;return T.appendChild(l),this._checkDisabledLayers(),l},_onInputClick:function(){if(!this._preventClick){var o=this._layerControlInputs,l,u,g=[],_=[];this._handlingClick=!0;for(var x=o.length-1;x>=0;x--)l=o[x],u=this._getLayer(l.layerId).layer,l.checked?g.push(u):l.checked||_.push(u);for(x=0;x<_.length;x++)this._map.hasLayer(_[x])&&this._map.removeLayer(_[x]);for(x=0;x<g.length;x++)this._map.hasLayer(g[x])||this._map.addLayer(g[x]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var o=this._layerControlInputs,l,u,g=this._map.getZoom(),_=o.length-1;_>=0;_--)l=o[_],u=this._getLayer(l.layerId).layer,l.disabled=u.options.minZoom!==void 0&&g<u.options.minZoom||u.options.maxZoom!==void 0&&g>u.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var o=this._section;this._preventClick=!0,dt(o,"click",Jt),this.expand();var l=this;setTimeout(function(){Pt(o,"click",Jt),l._preventClick=!1})}}),AE=function(o,l,u){return new Jf(o,l,u)},Oh=Ge.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(o){var l="leaflet-control-zoom",u=wt("div",l+" leaflet-bar"),g=this.options;return this._zoomInButton=this._createButton(g.zoomInText,g.zoomInTitle,l+"-in",u,this._zoomIn),this._zoomOutButton=this._createButton(g.zoomOutText,g.zoomOutTitle,l+"-out",u,this._zoomOut),this._updateDisabled(),o.on("zoomend zoomlevelschange",this._updateDisabled,this),u},onRemove:function(o){o.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(o){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(o.shiftKey?3:1))},_zoomOut:function(o){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(o.shiftKey?3:1))},_createButton:function(o,l,u,g,_){var x=wt("a",u,g);return x.innerHTML=o,x.href="#",x.title=l,x.setAttribute("role","button"),x.setAttribute("aria-label",l),fs(x),dt(x,"click",Tn),dt(x,"click",_,this),dt(x,"click",this._refocusOnMap,this),x},_updateDisabled:function(){var o=this._map,l="leaflet-disabled";Ft(this._zoomInButton,l),Ft(this._zoomOutButton,l),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||o._zoom===o.getMinZoom())&&(pt(this._zoomOutButton,l),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||o._zoom===o.getMaxZoom())&&(pt(this._zoomInButton,l),this._zoomInButton.setAttribute("aria-disabled","true"))}});xt.mergeOptions({zoomControl:!0}),xt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Oh,this.addControl(this.zoomControl))});var wE=function(o){return new Oh(o)},$f=Ge.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(o){var l="leaflet-control-scale",u=wt("div",l),g=this.options;return this._addScales(g,l+"-line",u),o.on(g.updateWhenIdle?"moveend":"move",this._update,this),o.whenReady(this._update,this),u},onRemove:function(o){o.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(o,l,u){o.metric&&(this._mScale=wt("div",l,u)),o.imperial&&(this._iScale=wt("div",l,u))},_update:function(){var o=this._map,l=o.getSize().y/2,u=o.distance(o.containerPointToLatLng([0,l]),o.containerPointToLatLng([this.options.maxWidth,l]));this._updateScales(u)},_updateScales:function(o){this.options.metric&&o&&this._updateMetric(o),this.options.imperial&&o&&this._updateImperial(o)},_updateMetric:function(o){var l=this._getRoundNum(o),u=l<1e3?l+" m":l/1e3+" km";this._updateScale(this._mScale,u,l/o)},_updateImperial:function(o){var l=o*3.2808399,u,g,_;l>5280?(u=l/5280,g=this._getRoundNum(u),this._updateScale(this._iScale,g+" mi",g/u)):(_=this._getRoundNum(l),this._updateScale(this._iScale,_+" ft",_/l))},_updateScale:function(o,l,u){o.style.width=Math.round(this.options.maxWidth*u)+"px",o.innerHTML=l},_getRoundNum:function(o){var l=Math.pow(10,(Math.floor(o)+"").length-1),u=o/l;return u=u>=10?10:u>=5?5:u>=3?3:u>=2?2:1,l*u}}),EE=function(o){return new $f(o)},CE='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',Fh=Ge.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(J.inlineSvg?CE+" ":"")+"Leaflet</a>"},initialize:function(o){A(this,o),this._attributions={}},onAdd:function(o){o.attributionControl=this,this._container=wt("div","leaflet-control-attribution"),fs(this._container);for(var l in o._layers)o._layers[l].getAttribution&&this.addAttribution(o._layers[l].getAttribution());return this._update(),o.on("layeradd",this._addAttribution,this),this._container},onRemove:function(o){o.off("layeradd",this._addAttribution,this)},_addAttribution:function(o){o.layer.getAttribution&&(this.addAttribution(o.layer.getAttribution()),o.layer.once("remove",function(){this.removeAttribution(o.layer.getAttribution())},this))},setPrefix:function(o){return this.options.prefix=o,this._update(),this},addAttribution:function(o){return o?(this._attributions[o]||(this._attributions[o]=0),this._attributions[o]++,this._update(),this):this},removeAttribution:function(o){return o?(this._attributions[o]&&(this._attributions[o]--,this._update()),this):this},_update:function(){if(this._map){var o=[];for(var l in this._attributions)this._attributions[l]&&o.push(l);var u=[];this.options.prefix&&u.push(this.options.prefix),o.length&&u.push(o.join(", ")),this._container.innerHTML=u.join(' <span aria-hidden="true">|</span> ')}}});xt.mergeOptions({attributionControl:!0}),xt.addInitHook(function(){this.options.attributionControl&&new Fh().addTo(this)});var LE=function(o){return new Fh(o)};Ge.Layers=Jf,Ge.Zoom=Oh,Ge.Scale=$f,Ge.Attribution=Fh,gs.layers=AE,gs.zoom=wE,gs.scale=EE,gs.attribution=LE;var ii=at.extend({initialize:function(o){this._map=o},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});ii.addTo=function(o,l){return o.addHandler(l,this),this};var bE={Events:Y},tg=J.touch?"touchstart mousedown":"mousedown",nn=H.extend({options:{clickTolerance:3},initialize:function(o,l,u,g){A(this,g),this._element=o,this._dragStartTarget=l||o,this._preventOutline=u},enable:function(){this._enabled||(dt(this._dragStartTarget,tg,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(nn._dragging===this&&this.finishDrag(!0),Pt(this._dragStartTarget,tg,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(o){if(this._enabled&&(this._moved=!1,!wh(this._element,"leaflet-zoom-anim"))){if(o.touches&&o.touches.length!==1){nn._dragging===this&&this.finishDrag();return}if(!(nn._dragging||o.shiftKey||o.which!==1&&o.button!==1&&!o.touches)&&(nn._dragging=this,this._preventOutline&&Mh(this._element),Lh(),cs(),!this._moving)){this.fire("down");var l=o.touches?o.touches[0]:o,u=Zf(this._element);this._startPoint=new B(l.clientX,l.clientY),this._startPos=Ln(this._element),this._parentScale=Ph(u);var g=o.type==="mousedown";dt(document,g?"mousemove":"touchmove",this._onMove,this),dt(document,g?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(o){if(this._enabled){if(o.touches&&o.touches.length>1){this._moved=!0;return}var l=o.touches&&o.touches.length===1?o.touches[0]:o,u=new B(l.clientX,l.clientY)._subtract(this._startPoint);!u.x&&!u.y||Math.abs(u.x)+Math.abs(u.y)<this.options.clickTolerance||(u.x/=this._parentScale.x,u.y/=this._parentScale.y,Jt(o),this._moved||(this.fire("dragstart"),this._moved=!0,pt(document.body,"leaflet-dragging"),this._lastTarget=o.target||o.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),pt(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(u),this._moving=!0,this._lastEvent=o,this._updatePosition())}},_updatePosition:function(){var o={originalEvent:this._lastEvent};this.fire("predrag",o),Gt(this._element,this._newPos),this.fire("drag",o)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(o){Ft(document.body,"leaflet-dragging"),this._lastTarget&&(Ft(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Pt(document,"mousemove touchmove",this._onMove,this),Pt(document,"mouseup touchend touchcancel",this._onUp,this),bh(),us();var l=this._moved&&this._moving;this._moving=!1,nn._dragging=!1,l&&this.fire("dragend",{noInertia:o,distance:this._newPos.distanceTo(this._startPos)})}});function eg(o,l,u){var g,_=[1,4,2,8],x,T,I,S,G,K,ot,yt;for(x=0,K=o.length;x<K;x++)o[x]._code=Mn(o[x],l);for(I=0;I<4;I++){for(ot=_[I],g=[],x=0,K=o.length,T=K-1;x<K;T=x++)S=o[x],G=o[T],S._code&ot?G._code&ot||(yt=oa(G,S,ot,l,u),yt._code=Mn(yt,l),g.push(yt)):(G._code&ot&&(yt=oa(G,S,ot,l,u),yt._code=Mn(yt,l),g.push(yt)),g.push(S));o=g}return o}function ig(o,l){var u,g,_,x,T,I,S,G,K;if(!o||o.length===0)throw new Error("latlngs not passed");Pe(o)||(console.warn("latlngs are not flat! Only the first ring will be used"),o=o[0]);var ot=ct([0,0]),yt=q(o),he=yt.getNorthWest().distanceTo(yt.getSouthWest())*yt.getNorthEast().distanceTo(yt.getNorthWest());he<1700&&(ot=zh(o));var Kt=o.length,De=[];for(u=0;u<Kt;u++){var _e=ct(o[u]);De.push(l.project(ct([_e.lat-ot.lat,_e.lng-ot.lng])))}for(I=S=G=0,u=0,g=Kt-1;u<Kt;g=u++)_=De[u],x=De[g],T=_.y*x.x-x.y*_.x,S+=(_.x+x.x)*T,G+=(_.y+x.y)*T,I+=T*3;I===0?K=De[0]:K=[S/I,G/I];var _r=l.unproject(Z(K));return ct([_r.lat+ot.lat,_r.lng+ot.lng])}function zh(o){for(var l=0,u=0,g=0,_=0;_<o.length;_++){var x=ct(o[_]);l+=x.lat,u+=x.lng,g++}return ct([l/g,u/g])}var TE={__proto__:null,clipPolygon:eg,polygonCenter:ig,centroid:zh};function ng(o,l){if(!l||!o.length)return o.slice();var u=l*l;return o=DE(o,u),o=PE(o,u),o}function rg(o,l,u){return Math.sqrt(ps(o,l,u,!0))}function ME(o,l,u){return ps(o,l,u)}function PE(o,l){var u=o.length,g=typeof Uint8Array!=void 0+""?Uint8Array:Array,_=new g(u);_[0]=_[u-1]=1,Bh(o,_,l,0,u-1);var x,T=[];for(x=0;x<u;x++)_[x]&&T.push(o[x]);return T}function Bh(o,l,u,g,_){var x=0,T,I,S;for(I=g+1;I<=_-1;I++)S=ps(o[I],o[g],o[_],!0),S>x&&(T=I,x=S);x>u&&(l[T]=1,Bh(o,l,u,g,T),Bh(o,l,u,T,_))}function DE(o,l){for(var u=[o[0]],g=1,_=0,x=o.length;g<x;g++)IE(o[g],o[_])>l&&(u.push(o[g]),_=g);return _<x-1&&u.push(o[x-1]),u}var sg;function og(o,l,u,g,_){var x=g?sg:Mn(o,u),T=Mn(l,u),I,S,G;for(sg=T;;){if(!(x|T))return[o,l];if(x&T)return!1;I=x||T,S=oa(o,l,I,u,_),G=Mn(S,u),I===x?(o=S,x=G):(l=S,T=G)}}function oa(o,l,u,g,_){var x=l.x-o.x,T=l.y-o.y,I=g.min,S=g.max,G,K;return u&8?(G=o.x+x*(S.y-o.y)/T,K=S.y):u&4?(G=o.x+x*(I.y-o.y)/T,K=I.y):u&2?(G=S.x,K=o.y+T*(S.x-o.x)/x):u&1&&(G=I.x,K=o.y+T*(I.x-o.x)/x),new B(G,K,_)}function Mn(o,l){var u=0;return o.x<l.min.x?u|=1:o.x>l.max.x&&(u|=2),o.y<l.min.y?u|=4:o.y>l.max.y&&(u|=8),u}function IE(o,l){var u=l.x-o.x,g=l.y-o.y;return u*u+g*g}function ps(o,l,u,g){var _=l.x,x=l.y,T=u.x-_,I=u.y-x,S=T*T+I*I,G;return S>0&&(G=((o.x-_)*T+(o.y-x)*I)/S,G>1?(_=u.x,x=u.y):G>0&&(_+=T*G,x+=I*G)),T=o.x-_,I=o.y-x,g?T*T+I*I:new B(_,x)}function Pe(o){return!E(o[0])||typeof o[0][0]!="object"&&typeof o[0][0]<"u"}function ag(o){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Pe(o)}function lg(o,l){var u,g,_,x,T,I,S,G;if(!o||o.length===0)throw new Error("latlngs not passed");Pe(o)||(console.warn("latlngs are not flat! Only the first ring will be used"),o=o[0]);var K=ct([0,0]),ot=q(o),yt=ot.getNorthWest().distanceTo(ot.getSouthWest())*ot.getNorthEast().distanceTo(ot.getNorthWest());yt<1700&&(K=zh(o));var he=o.length,Kt=[];for(u=0;u<he;u++){var De=ct(o[u]);Kt.push(l.project(ct([De.lat-K.lat,De.lng-K.lng])))}for(u=0,g=0;u<he-1;u++)g+=Kt[u].distanceTo(Kt[u+1])/2;if(g===0)G=Kt[0];else for(u=0,x=0;u<he-1;u++)if(T=Kt[u],I=Kt[u+1],_=T.distanceTo(I),x+=_,x>g){S=(x-g)/_,G=[I.x-S*(I.x-T.x),I.y-S*(I.y-T.y)];break}var _e=l.unproject(Z(G));return ct([_e.lat+K.lat,_e.lng+K.lng])}var SE={__proto__:null,simplify:ng,pointToSegmentDistance:rg,closestPointOnSegment:ME,clipSegment:og,_getEdgeIntersection:oa,_getBitCode:Mn,_sqClosestPointOnSegment:ps,isFlat:Pe,_flat:ag,polylineCenter:lg},Nh={project:function(o){return new B(o.lng,o.lat)},unproject:function(o){return new et(o.y,o.x)},bounds:new rt([-180,-90],[180,90])},Gh={R:6378137,R_MINOR:6356752314245179e-9,bounds:new rt([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(o){var l=Math.PI/180,u=this.R,g=o.lat*l,_=this.R_MINOR/u,x=Math.sqrt(1-_*_),T=x*Math.sin(g),I=Math.tan(Math.PI/4-g/2)/Math.pow((1-T)/(1+T),x/2);return g=-u*Math.log(Math.max(I,1e-10)),new B(o.lng*l*u,g)},unproject:function(o){for(var l=180/Math.PI,u=this.R,g=this.R_MINOR/u,_=Math.sqrt(1-g*g),x=Math.exp(-o.y/u),T=Math.PI/2-2*Math.atan(x),I=0,S=.1,G;I<15&&Math.abs(S)>1e-7;I++)G=_*Math.sin(T),G=Math.pow((1-G)/(1+G),_/2),S=Math.PI/2-2*Math.atan(x*G)-T,T+=S;return new et(T*l,o.x*l/u)}},RE={__proto__:null,LonLat:Nh,Mercator:Gh,SphericalMercator:qe},kE=n({},Xt,{code:"EPSG:3395",projection:Gh,transformation:function(){var o=.5/(Math.PI*Gh.R);return Te(o,.5,-o,.5)}()}),hg=n({},Xt,{code:"EPSG:4326",projection:Nh,transformation:Te(1/180,1,-1/180,.5)}),OE=n({},Dt,{projection:Nh,transformation:Te(1,0,-1,0),scale:function(o){return Math.pow(2,o)},zoom:function(o){return Math.log(o)/Math.LN2},distance:function(o,l){var u=l.lng-o.lng,g=l.lat-o.lat;return Math.sqrt(u*u+g*g)},infinite:!0});Dt.Earth=Xt,Dt.EPSG3395=kE,Dt.EPSG3857=Vi,Dt.EPSG900913=Je,Dt.EPSG4326=hg,Dt.Simple=OE;var Ue=H.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(o){return o.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(o){return o&&o.removeLayer(this),this},getPane:function(o){return this._map.getPane(o?this.options[o]||o:this.options.pane)},addInteractiveTarget:function(o){return this._map._targets[c(o)]=this,this},removeInteractiveTarget:function(o){return delete this._map._targets[c(o)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(o){var l=o.target;if(l.hasLayer(this)){if(this._map=l,this._zoomAnimated=l._zoomAnimated,this.getEvents){var u=this.getEvents();l.on(u,this),this.once("remove",function(){l.off(u,this)},this)}this.onAdd(l),this.fire("add"),l.fire("layeradd",{layer:this})}}});xt.include({addLayer:function(o){if(!o._layerAdd)throw new Error("The provided object is not a Layer.");var l=c(o);return this._layers[l]?this:(this._layers[l]=o,o._mapToAdd=this,o.beforeAdd&&o.beforeAdd(this),this.whenReady(o._layerAdd,o),this)},removeLayer:function(o){var l=c(o);return this._layers[l]?(this._loaded&&o.onRemove(this),delete this._layers[l],this._loaded&&(this.fire("layerremove",{layer:o}),o.fire("remove")),o._map=o._mapToAdd=null,this):this},hasLayer:function(o){return c(o)in this._layers},eachLayer:function(o,l){for(var u in this._layers)o.call(l,this._layers[u]);return this},_addLayers:function(o){o=o?E(o)?o:[o]:[];for(var l=0,u=o.length;l<u;l++)this.addLayer(o[l])},_addZoomLimit:function(o){(!isNaN(o.options.maxZoom)||!isNaN(o.options.minZoom))&&(this._zoomBoundLayers[c(o)]=o,this._updateZoomLevels())},_removeZoomLimit:function(o){var l=c(o);this._zoomBoundLayers[l]&&(delete this._zoomBoundLayers[l],this._updateZoomLevels())},_updateZoomLevels:function(){var o=1/0,l=-1/0,u=this._getZoomSpan();for(var g in this._zoomBoundLayers){var _=this._zoomBoundLayers[g].options;o=_.minZoom===void 0?o:Math.min(o,_.minZoom),l=_.maxZoom===void 0?l:Math.max(l,_.maxZoom)}this._layersMaxZoom=l===-1/0?void 0:l,this._layersMinZoom=o===1/0?void 0:o,u!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===void 0&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var dr=Ue.extend({initialize:function(o,l){A(this,l),this._layers={};var u,g;if(o)for(u=0,g=o.length;u<g;u++)this.addLayer(o[u])},addLayer:function(o){var l=this.getLayerId(o);return this._layers[l]=o,this._map&&this._map.addLayer(o),this},removeLayer:function(o){var l=o in this._layers?o:this.getLayerId(o);return this._map&&this._layers[l]&&this._map.removeLayer(this._layers[l]),delete this._layers[l],this},hasLayer:function(o){var l=typeof o=="number"?o:this.getLayerId(o);return l in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(o){var l=Array.prototype.slice.call(arguments,1),u,g;for(u in this._layers)g=this._layers[u],g[o]&&g[o].apply(g,l);return this},onAdd:function(o){this.eachLayer(o.addLayer,o)},onRemove:function(o){this.eachLayer(o.removeLayer,o)},eachLayer:function(o,l){for(var u in this._layers)o.call(l,this._layers[u]);return this},getLayer:function(o){return this._layers[o]},getLayers:function(){var o=[];return this.eachLayer(o.push,o),o},setZIndex:function(o){return this.invoke("setZIndex",o)},getLayerId:function(o){return c(o)}}),FE=function(o,l){return new dr(o,l)},Ci=dr.extend({addLayer:function(o){return this.hasLayer(o)?this:(o.addEventParent(this),dr.prototype.addLayer.call(this,o),this.fire("layeradd",{layer:o}))},removeLayer:function(o){return this.hasLayer(o)?(o in this._layers&&(o=this._layers[o]),o.removeEventParent(this),dr.prototype.removeLayer.call(this,o),this.fire("layerremove",{layer:o})):this},setStyle:function(o){return this.invoke("setStyle",o)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var o=new ft;for(var l in this._layers){var u=this._layers[l];o.extend(u.getBounds?u.getBounds():u.getLatLng())}return o}}),zE=function(o,l){return new Ci(o,l)},fr=at.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(o){A(this,o)},createIcon:function(o){return this._createIcon("icon",o)},createShadow:function(o){return this._createIcon("shadow",o)},_createIcon:function(o,l){var u=this._getIconUrl(o);if(!u){if(o==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var g=this._createImg(u,l&&l.tagName==="IMG"?l:null);return this._setIconStyles(g,o),(this.options.crossOrigin||this.options.crossOrigin==="")&&(g.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),g},_setIconStyles:function(o,l){var u=this.options,g=u[l+"Size"];typeof g=="number"&&(g=[g,g]);var _=Z(g),x=Z(l==="shadow"&&u.shadowAnchor||u.iconAnchor||_&&_.divideBy(2,!0));o.className="leaflet-marker-"+l+" "+(u.className||""),x&&(o.style.marginLeft=-x.x+"px",o.style.marginTop=-x.y+"px"),_&&(o.style.width=_.x+"px",o.style.height=_.y+"px")},_createImg:function(o,l){return l=l||document.createElement("img"),l.src=o,l},_getIconUrl:function(o){return J.retina&&this.options[o+"RetinaUrl"]||this.options[o+"Url"]}});function BE(o){return new fr(o)}var ms=fr.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(o){return typeof ms.imagePath!="string"&&(ms.imagePath=this._detectIconPath()),(this.options.imagePath||ms.imagePath)+fr.prototype._getIconUrl.call(this,o)},_stripUrl:function(o){var l=function(u,g,_){var x=g.exec(u);return x&&x[_]};return o=l(o,/^url\((['"])?(.+)\1\)$/,2),o&&l(o,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var o=wt("div","leaflet-default-icon-path",document.body),l=hs(o,"background-image")||hs(o,"backgroundImage");if(document.body.removeChild(o),l=this._stripUrl(l),l)return l;var u=document.querySelector('link[href$="leaflet.css"]');return u?u.href.substring(0,u.href.length-11-1):""}}),cg=ii.extend({initialize:function(o){this._marker=o},addHooks:function(){var o=this._marker._icon;this._draggable||(this._draggable=new nn(o,o,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),pt(o,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&Ft(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(o){var l=this._marker,u=l._map,g=this._marker.options.autoPanSpeed,_=this._marker.options.autoPanPadding,x=Ln(l._icon),T=u.getPixelBounds(),I=u.getPixelOrigin(),S=F(T.min._subtract(I).add(_),T.max._subtract(I).subtract(_));if(!S.contains(x)){var G=Z((Math.max(S.max.x,x.x)-S.max.x)/(T.max.x-S.max.x)-(Math.min(S.min.x,x.x)-S.min.x)/(T.min.x-S.min.x),(Math.max(S.max.y,x.y)-S.max.y)/(T.max.y-S.max.y)-(Math.min(S.min.y,x.y)-S.min.y)/(T.min.y-S.min.y)).multiplyBy(g);u.panBy(G,{animate:!1}),this._draggable._newPos._add(G),this._draggable._startPos._add(G),Gt(l._icon,this._draggable._newPos),this._onDrag(o),this._panRequest=U(this._adjustPan.bind(this,o))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(o){this._marker.options.autoPan&&(V(this._panRequest),this._panRequest=U(this._adjustPan.bind(this,o)))},_onDrag:function(o){var l=this._marker,u=l._shadow,g=Ln(l._icon),_=l._map.layerPointToLatLng(g);u&&Gt(u,g),l._latlng=_,o.latlng=_,o.oldLatLng=this._oldLatLng,l.fire("move",o).fire("drag",o)},_onDragEnd:function(o){V(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",o)}}),aa=Ue.extend({options:{icon:new ms,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(o,l){A(this,l),this._latlng=ct(o)},onAdd:function(o){this._zoomAnimated=this._zoomAnimated&&o.options.markerZoomAnimation,this._zoomAnimated&&o.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(o){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&o.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(o){var l=this._latlng;return this._latlng=ct(o),this.update(),this.fire("move",{oldLatLng:l,latlng:this._latlng})},setZIndexOffset:function(o){return this.options.zIndexOffset=o,this.update()},getIcon:function(){return this.options.icon},setIcon:function(o){return this.options.icon=o,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var o=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(o)}return this},_initIcon:function(){var o=this.options,l="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),u=o.icon.createIcon(this._icon),g=!1;u!==this._icon&&(this._icon&&this._removeIcon(),g=!0,o.title&&(u.title=o.title),u.tagName==="IMG"&&(u.alt=o.alt||"")),pt(u,l),o.keyboard&&(u.tabIndex="0",u.setAttribute("role","button")),this._icon=u,o.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&dt(u,"focus",this._panOnFocus,this);var _=o.icon.createShadow(this._shadow),x=!1;_!==this._shadow&&(this._removeShadow(),x=!0),_&&(pt(_,l),_.alt=""),this._shadow=_,o.opacity<1&&this._updateOpacity(),g&&this.getPane().appendChild(this._icon),this._initInteraction(),_&&x&&this.getPane(o.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Pt(this._icon,"focus",this._panOnFocus,this),St(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&St(this._shadow),this._shadow=null},_setPos:function(o){this._icon&&Gt(this._icon,o),this._shadow&&Gt(this._shadow,o),this._zIndex=o.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(o){this._icon&&(this._icon.style.zIndex=this._zIndex+o)},_animateZoom:function(o){var l=this._map._latLngToNewLayerPoint(this._latlng,o.zoom,o.center).round();this._setPos(l)},_initInteraction:function(){if(this.options.interactive&&(pt(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),cg)){var o=this.options.draggable;this.dragging&&(o=this.dragging.enabled(),this.dragging.disable()),this.dragging=new cg(this),o&&this.dragging.enable()}},setOpacity:function(o){return this.options.opacity=o,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var o=this.options.opacity;this._icon&&Me(this._icon,o),this._shadow&&Me(this._shadow,o)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var o=this._map;if(o){var l=this.options.icon.options,u=l.iconSize?Z(l.iconSize):Z(0,0),g=l.iconAnchor?Z(l.iconAnchor):Z(0,0);o.panInside(this._latlng,{paddingTopLeft:g,paddingBottomRight:u.subtract(g)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function NE(o,l){return new aa(o,l)}var rn=Ue.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(o){this._renderer=o.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(o){return A(this,o),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&o&&Object.prototype.hasOwnProperty.call(o,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),la=rn.extend({options:{fill:!0,radius:10},initialize:function(o,l){A(this,l),this._latlng=ct(o),this._radius=this.options.radius},setLatLng:function(o){var l=this._latlng;return this._latlng=ct(o),this.redraw(),this.fire("move",{oldLatLng:l,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(o){return this.options.radius=this._radius=o,this.redraw()},getRadius:function(){return this._radius},setStyle:function(o){var l=o&&o.radius||this._radius;return rn.prototype.setStyle.call(this,o),this.setRadius(l),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var o=this._radius,l=this._radiusY||o,u=this._clickTolerance(),g=[o+u,l+u];this._pxBounds=new rt(this._point.subtract(g),this._point.add(g))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(o){return o.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function GE(o,l){return new la(o,l)}var Uh=la.extend({initialize:function(o,l,u){if(typeof l=="number"&&(l=n({},u,{radius:l})),A(this,l),this._latlng=ct(o),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(o){return this._mRadius=o,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var o=[this._radius,this._radiusY||this._radius];return new ft(this._map.layerPointToLatLng(this._point.subtract(o)),this._map.layerPointToLatLng(this._point.add(o)))},setStyle:rn.prototype.setStyle,_project:function(){var o=this._latlng.lng,l=this._latlng.lat,u=this._map,g=u.options.crs;if(g.distance===Xt.distance){var _=Math.PI/180,x=this._mRadius/Xt.R/_,T=u.project([l+x,o]),I=u.project([l-x,o]),S=T.add(I).divideBy(2),G=u.unproject(S).lat,K=Math.acos((Math.cos(x*_)-Math.sin(l*_)*Math.sin(G*_))/(Math.cos(l*_)*Math.cos(G*_)))/_;(isNaN(K)||K===0)&&(K=x/Math.cos(Math.PI/180*l)),this._point=S.subtract(u.getPixelOrigin()),this._radius=isNaN(K)?0:S.x-u.project([G,o-K]).x,this._radiusY=S.y-T.y}else{var ot=g.unproject(g.project(this._latlng).subtract([this._mRadius,0]));this._point=u.latLngToLayerPoint(this._latlng),this._radius=this._point.x-u.latLngToLayerPoint(ot).x}this._updateBounds()}});function UE(o,l,u){return new Uh(o,l,u)}var Li=rn.extend({options:{smoothFactor:1,noClip:!1},initialize:function(o,l){A(this,l),this._setLatLngs(o)},getLatLngs:function(){return this._latlngs},setLatLngs:function(o){return this._setLatLngs(o),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(o){for(var l=1/0,u=null,g=ps,_,x,T=0,I=this._parts.length;T<I;T++)for(var S=this._parts[T],G=1,K=S.length;G<K;G++){_=S[G-1],x=S[G];var ot=g(o,_,x,!0);ot<l&&(l=ot,u=g(o,_,x))}return u&&(u.distance=Math.sqrt(l)),u},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return lg(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(o,l){return l=l||this._defaultShape(),o=ct(o),l.push(o),this._bounds.extend(o),this.redraw()},_setLatLngs:function(o){this._bounds=new ft,this._latlngs=this._convertLatLngs(o)},_defaultShape:function(){return Pe(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(o){for(var l=[],u=Pe(o),g=0,_=o.length;g<_;g++)u?(l[g]=ct(o[g]),this._bounds.extend(l[g])):l[g]=this._convertLatLngs(o[g]);return l},_project:function(){var o=new rt;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,o),this._bounds.isValid()&&o.isValid()&&(this._rawPxBounds=o,this._updateBounds())},_updateBounds:function(){var o=this._clickTolerance(),l=new B(o,o);this._rawPxBounds&&(this._pxBounds=new rt([this._rawPxBounds.min.subtract(l),this._rawPxBounds.max.add(l)]))},_projectLatlngs:function(o,l,u){var g=o[0]instanceof et,_=o.length,x,T;if(g){for(T=[],x=0;x<_;x++)T[x]=this._map.latLngToLayerPoint(o[x]),u.extend(T[x]);l.push(T)}else for(x=0;x<_;x++)this._projectLatlngs(o[x],l,u)},_clipPoints:function(){var o=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(o))){if(this.options.noClip){this._parts=this._rings;return}var l=this._parts,u,g,_,x,T,I,S;for(u=0,_=0,x=this._rings.length;u<x;u++)for(S=this._rings[u],g=0,T=S.length;g<T-1;g++)I=og(S[g],S[g+1],o,g,!0),I&&(l[_]=l[_]||[],l[_].push(I[0]),(I[1]!==S[g+1]||g===T-2)&&(l[_].push(I[1]),_++))}},_simplifyPoints:function(){for(var o=this._parts,l=this.options.smoothFactor,u=0,g=o.length;u<g;u++)o[u]=ng(o[u],l)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(o,l){var u,g,_,x,T,I,S=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(o))return!1;for(u=0,x=this._parts.length;u<x;u++)for(I=this._parts[u],g=0,T=I.length,_=T-1;g<T;_=g++)if(!(!l&&g===0)&&rg(o,I[_],I[g])<=S)return!0;return!1}});function jE(o,l){return new Li(o,l)}Li._flat=ag;var gr=Li.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return ig(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(o){var l=Li.prototype._convertLatLngs.call(this,o),u=l.length;return u>=2&&l[0]instanceof et&&l[0].equals(l[u-1])&&l.pop(),l},_setLatLngs:function(o){Li.prototype._setLatLngs.call(this,o),Pe(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Pe(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var o=this._renderer._bounds,l=this.options.weight,u=new B(l,l);if(o=new rt(o.min.subtract(u),o.max.add(u)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(o))){if(this.options.noClip){this._parts=this._rings;return}for(var g=0,_=this._rings.length,x;g<_;g++)x=eg(this._rings[g],o,!0),x.length&&this._parts.push(x)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(o){var l=!1,u,g,_,x,T,I,S,G;if(!this._pxBounds||!this._pxBounds.contains(o))return!1;for(x=0,S=this._parts.length;x<S;x++)for(u=this._parts[x],T=0,G=u.length,I=G-1;T<G;I=T++)g=u[T],_=u[I],g.y>o.y!=_.y>o.y&&o.x<(_.x-g.x)*(o.y-g.y)/(_.y-g.y)+g.x&&(l=!l);return l||Li.prototype._containsPoint.call(this,o,!0)}});function HE(o,l){return new gr(o,l)}var bi=Ci.extend({initialize:function(o,l){A(this,l),this._layers={},o&&this.addData(o)},addData:function(o){var l=E(o)?o:o.features,u,g,_;if(l){for(u=0,g=l.length;u<g;u++)_=l[u],(_.geometries||_.geometry||_.features||_.coordinates)&&this.addData(_);return this}var x=this.options;if(x.filter&&!x.filter(o))return this;var T=ha(o,x);return T?(T.feature=da(o),T.defaultOptions=T.options,this.resetStyle(T),x.onEachFeature&&x.onEachFeature(o,T),this.addLayer(T)):this},resetStyle:function(o){return o===void 0?this.eachLayer(this.resetStyle,this):(o.options=n({},o.defaultOptions),this._setLayerStyle(o,this.options.style),this)},setStyle:function(o){return this.eachLayer(function(l){this._setLayerStyle(l,o)},this)},_setLayerStyle:function(o,l){o.setStyle&&(typeof l=="function"&&(l=l(o.feature)),o.setStyle(l))}});function ha(o,l){var u=o.type==="Feature"?o.geometry:o,g=u?u.coordinates:null,_=[],x=l&&l.pointToLayer,T=l&&l.coordsToLatLng||jh,I,S,G,K;if(!g&&!u)return null;switch(u.type){case"Point":return I=T(g),ug(x,o,I,l);case"MultiPoint":for(G=0,K=g.length;G<K;G++)I=T(g[G]),_.push(ug(x,o,I,l));return new Ci(_);case"LineString":case"MultiLineString":return S=ca(g,u.type==="LineString"?0:1,T),new Li(S,l);case"Polygon":case"MultiPolygon":return S=ca(g,u.type==="Polygon"?1:2,T),new gr(S,l);case"GeometryCollection":for(G=0,K=u.geometries.length;G<K;G++){var ot=ha({geometry:u.geometries[G],type:"Feature",properties:o.properties},l);ot&&_.push(ot)}return new Ci(_);case"FeatureCollection":for(G=0,K=u.features.length;G<K;G++){var yt=ha(u.features[G],l);yt&&_.push(yt)}return new Ci(_);default:throw new Error("Invalid GeoJSON object.")}}function ug(o,l,u,g){return o?o(l,u):new aa(u,g&&g.markersInheritOptions&&g)}function jh(o){return new et(o[1],o[0],o[2])}function ca(o,l,u){for(var g=[],_=0,x=o.length,T;_<x;_++)T=l?ca(o[_],l-1,u):(u||jh)(o[_]),g.push(T);return g}function Hh(o,l){return o=ct(o),o.alt!==void 0?[m(o.lng,l),m(o.lat,l),m(o.alt,l)]:[m(o.lng,l),m(o.lat,l)]}function ua(o,l,u,g){for(var _=[],x=0,T=o.length;x<T;x++)_.push(l?ua(o[x],Pe(o[x])?0:l-1,u,g):Hh(o[x],g));return!l&&u&&_.length>0&&_.push(_[0].slice()),_}function pr(o,l){return o.feature?n({},o.feature,{geometry:l}):da(l)}function da(o){return o.type==="Feature"||o.type==="FeatureCollection"?o:{type:"Feature",properties:{},geometry:o}}var Wh={toGeoJSON:function(o){return pr(this,{type:"Point",coordinates:Hh(this.getLatLng(),o)})}};aa.include(Wh),Uh.include(Wh),la.include(Wh),Li.include({toGeoJSON:function(o){var l=!Pe(this._latlngs),u=ua(this._latlngs,l?1:0,!1,o);return pr(this,{type:(l?"Multi":"")+"LineString",coordinates:u})}}),gr.include({toGeoJSON:function(o){var l=!Pe(this._latlngs),u=l&&!Pe(this._latlngs[0]),g=ua(this._latlngs,u?2:l?1:0,!0,o);return l||(g=[g]),pr(this,{type:(u?"Multi":"")+"Polygon",coordinates:g})}}),dr.include({toMultiPoint:function(o){var l=[];return this.eachLayer(function(u){l.push(u.toGeoJSON(o).geometry.coordinates)}),pr(this,{type:"MultiPoint",coordinates:l})},toGeoJSON:function(o){var l=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(l==="MultiPoint")return this.toMultiPoint(o);var u=l==="GeometryCollection",g=[];return this.eachLayer(function(_){if(_.toGeoJSON){var x=_.toGeoJSON(o);if(u)g.push(x.geometry);else{var T=da(x);T.type==="FeatureCollection"?g.push.apply(g,T.features):g.push(T)}}}),u?pr(this,{geometries:g,type:"GeometryCollection"}):{type:"FeatureCollection",features:g}}});function dg(o,l){return new bi(o,l)}var WE=dg,fa=Ue.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(o,l,u){this._url=o,this._bounds=q(l),A(this,u)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(pt(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){St(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(o){return this.options.opacity=o,this._image&&this._updateOpacity(),this},setStyle:function(o){return o.opacity&&this.setOpacity(o.opacity),this},bringToFront:function(){return this._map&&cr(this._image),this},bringToBack:function(){return this._map&&ur(this._image),this},setUrl:function(o){return this._url=o,this._image&&(this._image.src=o),this},setBounds:function(o){return this._bounds=q(o),this._map&&this._reset(),this},getEvents:function(){var o={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(o.zoomanim=this._animateZoom),o},setZIndex:function(o){return this.options.zIndex=o,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var o=this._url.tagName==="IMG",l=this._image=o?this._url:wt("img");if(pt(l,"leaflet-image-layer"),this._zoomAnimated&&pt(l,"leaflet-zoom-animated"),this.options.className&&pt(l,this.options.className),l.onselectstart=p,l.onmousemove=p,l.onload=a(this.fire,this,"load"),l.onerror=a(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(l.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),o){this._url=l.src;return}l.src=this._url,l.alt=this.options.alt},_animateZoom:function(o){var l=this._map.getZoomScale(o.zoom),u=this._map._latLngBoundsToNewLayerBounds(this._bounds,o.zoom,o.center).min;Cn(this._image,u,l)},_reset:function(){var o=this._image,l=new rt(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),u=l.getSize();Gt(o,l.min),o.style.width=u.x+"px",o.style.height=u.y+"px"},_updateOpacity:function(){Me(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var o=this.options.errorOverlayUrl;o&&this._url!==o&&(this._url=o,this._image.src=o)},getCenter:function(){return this._bounds.getCenter()}}),YE=function(o,l,u){return new fa(o,l,u)},fg=fa.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var o=this._url.tagName==="VIDEO",l=this._image=o?this._url:wt("video");if(pt(l,"leaflet-image-layer"),this._zoomAnimated&&pt(l,"leaflet-zoom-animated"),this.options.className&&pt(l,this.options.className),l.onselectstart=p,l.onmousemove=p,l.onloadeddata=a(this.fire,this,"load"),o){for(var u=l.getElementsByTagName("source"),g=[],_=0;_<u.length;_++)g.push(u[_].src);this._url=u.length>0?g:[l.src];return}E(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(l.style,"objectFit")&&(l.style.objectFit="fill"),l.autoplay=!!this.options.autoplay,l.loop=!!this.options.loop,l.muted=!!this.options.muted,l.playsInline=!!this.options.playsInline;for(var x=0;x<this._url.length;x++){var T=wt("source");T.src=this._url[x],l.appendChild(T)}}});function ZE(o,l,u){return new fg(o,l,u)}var gg=fa.extend({_initImage:function(){var o=this._image=this._url;pt(o,"leaflet-image-layer"),this._zoomAnimated&&pt(o,"leaflet-zoom-animated"),this.options.className&&pt(o,this.options.className),o.onselectstart=p,o.onmousemove=p}});function XE(o,l,u){return new gg(o,l,u)}var ni=Ue.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(o,l){o&&(o instanceof et||E(o))?(this._latlng=ct(o),A(this,l)):(A(this,o),this._source=l),this.options.content&&(this._content=this.options.content)},openOn:function(o){return o=arguments.length?o:this._source._map,o.hasLayer(this)||o.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(o){return this._map?this.close():(arguments.length?this._source=o:o=this._source,this._prepareOpen(),this.openOn(o._map)),this},onAdd:function(o){this._zoomAnimated=o._zoomAnimated,this._container||this._initLayout(),o._fadeAnimated&&Me(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),o._fadeAnimated&&Me(this._container,1),this.bringToFront(),this.options.interactive&&(pt(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(o){o._fadeAnimated?(Me(this._container,0),this._removeTimeout=setTimeout(a(St,void 0,this._container),200)):St(this._container),this.options.interactive&&(Ft(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(o){return this._latlng=ct(o),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(o){return this._content=o,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var o={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(o.zoomanim=this._animateZoom),o},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&cr(this._container),this},bringToBack:function(){return this._map&&ur(this._container),this},_prepareOpen:function(o){var l=this._source;if(!l._map)return!1;if(l instanceof Ci){l=null;var u=this._source._layers;for(var g in u)if(u[g]._map){l=u[g];break}if(!l)return!1;this._source=l}if(!o)if(l.getCenter)o=l.getCenter();else if(l.getLatLng)o=l.getLatLng();else if(l.getBounds)o=l.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(o),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var o=this._contentNode,l=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof l=="string")o.innerHTML=l;else{for(;o.hasChildNodes();)o.removeChild(o.firstChild);o.appendChild(l)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var o=this._map.latLngToLayerPoint(this._latlng),l=Z(this.options.offset),u=this._getAnchor();this._zoomAnimated?Gt(this._container,o.add(u)):l=l.add(o).add(u);var g=this._containerBottom=-l.y,_=this._containerLeft=-Math.round(this._containerWidth/2)+l.x;this._container.style.bottom=g+"px",this._container.style.left=_+"px"}},_getAnchor:function(){return[0,0]}});xt.include({_initOverlay:function(o,l,u,g){var _=l;return _ instanceof o||(_=new o(g).setContent(l)),u&&_.setLatLng(u),_}}),Ue.include({_initOverlay:function(o,l,u,g){var _=u;return _ instanceof o?(A(_,g),_._source=this):(_=l&&!g?l:new o(g,this),_.setContent(u)),_}});var ga=ni.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(o){return o=arguments.length?o:this._source._map,!o.hasLayer(this)&&o._popup&&o._popup.options.autoClose&&o.removeLayer(o._popup),o._popup=this,ni.prototype.openOn.call(this,o)},onAdd:function(o){ni.prototype.onAdd.call(this,o),o.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof rn||this._source.on("preclick",bn))},onRemove:function(o){ni.prototype.onRemove.call(this,o),o.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof rn||this._source.off("preclick",bn))},getEvents:function(){var o=ni.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(o.preclick=this.close),this.options.keepInView&&(o.moveend=this._adjustPan),o},_initLayout:function(){var o="leaflet-popup",l=this._container=wt("div",o+" "+(this.options.className||"")+" leaflet-zoom-animated"),u=this._wrapper=wt("div",o+"-content-wrapper",l);if(this._contentNode=wt("div",o+"-content",u),fs(l),Rh(this._contentNode),dt(l,"contextmenu",bn),this._tipContainer=wt("div",o+"-tip-container",l),this._tip=wt("div",o+"-tip",this._tipContainer),this.options.closeButton){var g=this._closeButton=wt("a",o+"-close-button",l);g.setAttribute("role","button"),g.setAttribute("aria-label","Close popup"),g.href="#close",g.innerHTML='<span aria-hidden="true">&#215;</span>',dt(g,"click",function(_){Jt(_),this.close()},this)}},_updateLayout:function(){var o=this._contentNode,l=o.style;l.width="",l.whiteSpace="nowrap";var u=o.offsetWidth;u=Math.min(u,this.options.maxWidth),u=Math.max(u,this.options.minWidth),l.width=u+1+"px",l.whiteSpace="",l.height="";var g=o.offsetHeight,_=this.options.maxHeight,x="leaflet-popup-scrolled";_&&g>_?(l.height=_+"px",pt(o,x)):Ft(o,x),this._containerWidth=this._container.offsetWidth},_animateZoom:function(o){var l=this._map._latLngToNewLayerPoint(this._latlng,o.zoom,o.center),u=this._getAnchor();Gt(this._container,l.add(u))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var o=this._map,l=parseInt(hs(this._container,"marginBottom"),10)||0,u=this._container.offsetHeight+l,g=this._containerWidth,_=new B(this._containerLeft,-u-this._containerBottom);_._add(Ln(this._container));var x=o.layerPointToContainerPoint(_),T=Z(this.options.autoPanPadding),I=Z(this.options.autoPanPaddingTopLeft||T),S=Z(this.options.autoPanPaddingBottomRight||T),G=o.getSize(),K=0,ot=0;x.x+g+S.x>G.x&&(K=x.x+g-G.x+S.x),x.x-K-I.x<0&&(K=x.x-I.x),x.y+u+S.y>G.y&&(ot=x.y+u-G.y+S.y),x.y-ot-I.y<0&&(ot=x.y-I.y),(K||ot)&&(this.options.keepInView&&(this._autopanning=!0),o.fire("autopanstart").panBy([K,ot]))}},_getAnchor:function(){return Z(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),VE=function(o,l){return new ga(o,l)};xt.mergeOptions({closePopupOnClick:!0}),xt.include({openPopup:function(o,l,u){return this._initOverlay(ga,o,l,u).openOn(this),this},closePopup:function(o){return o=arguments.length?o:this._popup,o&&o.close(),this}}),Ue.include({bindPopup:function(o,l){return this._popup=this._initOverlay(ga,this._popup,o,l),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(o){return this._popup&&(this instanceof Ci||(this._popup._source=this),this._popup._prepareOpen(o||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(o){return this._popup&&this._popup.setContent(o),this},getPopup:function(){return this._popup},_openPopup:function(o){if(!(!this._popup||!this._map)){Tn(o);var l=o.layer||o.target;if(this._popup._source===l&&!(l instanceof rn)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(o.latlng);return}this._popup._source=l,this.openPopup(o.latlng)}},_movePopup:function(o){this._popup.setLatLng(o.latlng)},_onKeyPress:function(o){o.originalEvent.keyCode===13&&this._openPopup(o)}});var pa=ni.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(o){ni.prototype.onAdd.call(this,o),this.setOpacity(this.options.opacity),o.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(o){ni.prototype.onRemove.call(this,o),o.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var o=ni.prototype.getEvents.call(this);return this.options.permanent||(o.preclick=this.close),o},_initLayout:function(){var o="leaflet-tooltip",l=o+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=wt("div",l),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+c(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(o){var l,u,g=this._map,_=this._container,x=g.latLngToContainerPoint(g.getCenter()),T=g.layerPointToContainerPoint(o),I=this.options.direction,S=_.offsetWidth,G=_.offsetHeight,K=Z(this.options.offset),ot=this._getAnchor();I==="top"?(l=S/2,u=G):I==="bottom"?(l=S/2,u=0):I==="center"?(l=S/2,u=G/2):I==="right"?(l=0,u=G/2):I==="left"?(l=S,u=G/2):T.x<x.x?(I="right",l=0,u=G/2):(I="left",l=S+(K.x+ot.x)*2,u=G/2),o=o.subtract(Z(l,u,!0)).add(K).add(ot),Ft(_,"leaflet-tooltip-right"),Ft(_,"leaflet-tooltip-left"),Ft(_,"leaflet-tooltip-top"),Ft(_,"leaflet-tooltip-bottom"),pt(_,"leaflet-tooltip-"+I),Gt(_,o)},_updatePosition:function(){var o=this._map.latLngToLayerPoint(this._latlng);this._setPosition(o)},setOpacity:function(o){this.options.opacity=o,this._container&&Me(this._container,o)},_animateZoom:function(o){var l=this._map._latLngToNewLayerPoint(this._latlng,o.zoom,o.center);this._setPosition(l)},_getAnchor:function(){return Z(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),KE=function(o,l){return new pa(o,l)};xt.include({openTooltip:function(o,l,u){return this._initOverlay(pa,o,l,u).openOn(this),this},closeTooltip:function(o){return o.close(),this}}),Ue.include({bindTooltip:function(o,l){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(pa,this._tooltip,o,l),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(o){if(!(!o&&this._tooltipHandlersAdded)){var l=o?"off":"on",u={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?u.add=this._openTooltip:(u.mouseover=this._openTooltip,u.mouseout=this.closeTooltip,u.click=this._openTooltip,this._map?this._addFocusListeners():u.add=this._addFocusListeners),this._tooltip.options.sticky&&(u.mousemove=this._moveTooltip),this[l](u),this._tooltipHandlersAdded=!o}},openTooltip:function(o){return this._tooltip&&(this instanceof Ci||(this._tooltip._source=this),this._tooltip._prepareOpen(o)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(o){return this._tooltip&&this._tooltip.setContent(o),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(o){var l=typeof o.getElement=="function"&&o.getElement();l&&(dt(l,"focus",function(){this._tooltip._source=o,this.openTooltip()},this),dt(l,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(o){var l=typeof o.getElement=="function"&&o.getElement();l&&l.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(o){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var l=this;this._map.once("moveend",function(){l._openOnceFlag=!1,l._openTooltip(o)});return}this._tooltip._source=o.layer||o.target,this.openTooltip(this._tooltip.options.sticky?o.latlng:void 0)}},_moveTooltip:function(o){var l=o.latlng,u,g;this._tooltip.options.sticky&&o.originalEvent&&(u=this._map.mouseEventToContainerPoint(o.originalEvent),g=this._map.containerPointToLayerPoint(u),l=this._map.layerPointToLatLng(g)),this._tooltip.setLatLng(l)}});var pg=fr.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(o){var l=o&&o.tagName==="DIV"?o:document.createElement("div"),u=this.options;if(u.html instanceof Element?(ea(l),l.appendChild(u.html)):l.innerHTML=u.html!==!1?u.html:"",u.bgPos){var g=Z(u.bgPos);l.style.backgroundPosition=-g.x+"px "+-g.y+"px"}return this._setIconStyles(l,"icon"),l},createShadow:function(){return null}});function QE(o){return new pg(o)}fr.Default=ms;var _s=Ue.extend({options:{tileSize:256,opacity:1,updateWhenIdle:J.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(o){A(this,o)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(o){o._addZoomLimit(this)},onRemove:function(o){this._removeAllTiles(),St(this._container),o._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(cr(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ur(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(o){return this.options.opacity=o,this._updateOpacity(),this},setZIndex:function(o){return this.options.zIndex=o,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var o=this._clampZoom(this._map.getZoom());o!==this._tileZoom&&(this._tileZoom=o,this._updateLevels()),this._update()}return this},getEvents:function(){var o={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=d(this._onMoveEnd,this.options.updateInterval,this)),o.move=this._onMove),this._zoomAnimated&&(o.zoomanim=this._animateZoom),o},createTile:function(){return document.createElement("div")},getTileSize:function(){var o=this.options.tileSize;return o instanceof B?o:new B(o,o)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(o){for(var l=this.getPane().children,u=-o(-1/0,1/0),g=0,_=l.length,x;g<_;g++)x=l[g].style.zIndex,l[g]!==this._container&&x&&(u=o(u,+x));isFinite(u)&&(this.options.zIndex=u+o(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!J.ielt9){Me(this._container,this.options.opacity);var o=+new Date,l=!1,u=!1;for(var g in this._tiles){var _=this._tiles[g];if(!(!_.current||!_.loaded)){var x=Math.min(1,(o-_.loaded)/200);Me(_.el,x),x<1?l=!0:(_.active?u=!0:this._onOpaqueTile(_),_.active=!0)}}u&&!this._noPrune&&this._pruneTiles(),l&&(V(this._fadeFrame),this._fadeFrame=U(this._updateOpacity,this))}},_onOpaqueTile:p,_initContainer:function(){this._container||(this._container=wt("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var o=this._tileZoom,l=this.options.maxZoom;if(o!==void 0){for(var u in this._levels)u=Number(u),this._levels[u].el.children.length||u===o?(this._levels[u].el.style.zIndex=l-Math.abs(o-u),this._onUpdateLevel(u)):(St(this._levels[u].el),this._removeTilesAtZoom(u),this._onRemoveLevel(u),delete this._levels[u]);var g=this._levels[o],_=this._map;return g||(g=this._levels[o]={},g.el=wt("div","leaflet-tile-container leaflet-zoom-animated",this._container),g.el.style.zIndex=l,g.origin=_.project(_.unproject(_.getPixelOrigin()),o).round(),g.zoom=o,this._setZoomTransform(g,_.getCenter(),_.getZoom()),p(g.el.offsetWidth),this._onCreateLevel(g)),this._level=g,g}},_onUpdateLevel:p,_onRemoveLevel:p,_onCreateLevel:p,_pruneTiles:function(){if(this._map){var o,l,u=this._map.getZoom();if(u>this.options.maxZoom||u<this.options.minZoom){this._removeAllTiles();return}for(o in this._tiles)l=this._tiles[o],l.retain=l.current;for(o in this._tiles)if(l=this._tiles[o],l.current&&!l.active){var g=l.coords;this._retainParent(g.x,g.y,g.z,g.z-5)||this._retainChildren(g.x,g.y,g.z,g.z+2)}for(o in this._tiles)this._tiles[o].retain||this._removeTile(o)}},_removeTilesAtZoom:function(o){for(var l in this._tiles)this._tiles[l].coords.z===o&&this._removeTile(l)},_removeAllTiles:function(){for(var o in this._tiles)this._removeTile(o)},_invalidateAll:function(){for(var o in this._levels)St(this._levels[o].el),this._onRemoveLevel(Number(o)),delete this._levels[o];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(o,l,u,g){var _=Math.floor(o/2),x=Math.floor(l/2),T=u-1,I=new B(+_,+x);I.z=+T;var S=this._tileCoordsToKey(I),G=this._tiles[S];return G&&G.active?(G.retain=!0,!0):(G&&G.loaded&&(G.retain=!0),T>g?this._retainParent(_,x,T,g):!1)},_retainChildren:function(o,l,u,g){for(var _=2*o;_<2*o+2;_++)for(var x=2*l;x<2*l+2;x++){var T=new B(_,x);T.z=u+1;var I=this._tileCoordsToKey(T),S=this._tiles[I];if(S&&S.active){S.retain=!0;continue}else S&&S.loaded&&(S.retain=!0);u+1<g&&this._retainChildren(_,x,u+1,g)}},_resetView:function(o){var l=o&&(o.pinch||o.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),l,l)},_animateZoom:function(o){this._setView(o.center,o.zoom,!0,o.noUpdate)},_clampZoom:function(o){var l=this.options;return l.minNativeZoom!==void 0&&o<l.minNativeZoom?l.minNativeZoom:l.maxNativeZoom!==void 0&&l.maxNativeZoom<o?l.maxNativeZoom:o},_setView:function(o,l,u,g){var _=Math.round(l);this.options.maxZoom!==void 0&&_>this.options.maxZoom||this.options.minZoom!==void 0&&_<this.options.minZoom?_=void 0:_=this._clampZoom(_);var x=this.options.updateWhenZooming&&_!==this._tileZoom;(!g||x)&&(this._tileZoom=_,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),_!==void 0&&this._update(o),u||this._pruneTiles(),this._noPrune=!!u),this._setZoomTransforms(o,l)},_setZoomTransforms:function(o,l){for(var u in this._levels)this._setZoomTransform(this._levels[u],o,l)},_setZoomTransform:function(o,l,u){var g=this._map.getZoomScale(u,o.zoom),_=o.origin.multiplyBy(g).subtract(this._map._getNewPixelOrigin(l,u)).round();J.any3d?Cn(o.el,_,g):Gt(o.el,_)},_resetGrid:function(){var o=this._map,l=o.options.crs,u=this._tileSize=this.getTileSize(),g=this._tileZoom,_=this._map.getPixelWorldBounds(this._tileZoom);_&&(this._globalTileRange=this._pxBoundsToTileRange(_)),this._wrapX=l.wrapLng&&!this.options.noWrap&&[Math.floor(o.project([0,l.wrapLng[0]],g).x/u.x),Math.ceil(o.project([0,l.wrapLng[1]],g).x/u.y)],this._wrapY=l.wrapLat&&!this.options.noWrap&&[Math.floor(o.project([l.wrapLat[0],0],g).y/u.x),Math.ceil(o.project([l.wrapLat[1],0],g).y/u.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(o){var l=this._map,u=l._animatingZoom?Math.max(l._animateToZoom,l.getZoom()):l.getZoom(),g=l.getZoomScale(u,this._tileZoom),_=l.project(o,this._tileZoom).floor(),x=l.getSize().divideBy(g*2);return new rt(_.subtract(x),_.add(x))},_update:function(o){var l=this._map;if(l){var u=this._clampZoom(l.getZoom());if(o===void 0&&(o=l.getCenter()),this._tileZoom!==void 0){var g=this._getTiledPixelBounds(o),_=this._pxBoundsToTileRange(g),x=_.getCenter(),T=[],I=this.options.keepBuffer,S=new rt(_.getBottomLeft().subtract([I,-I]),_.getTopRight().add([I,-I]));if(!(isFinite(_.min.x)&&isFinite(_.min.y)&&isFinite(_.max.x)&&isFinite(_.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var G in this._tiles){var K=this._tiles[G].coords;(K.z!==this._tileZoom||!S.contains(new B(K.x,K.y)))&&(this._tiles[G].current=!1)}if(Math.abs(u-this._tileZoom)>1){this._setView(o,u);return}for(var ot=_.min.y;ot<=_.max.y;ot++)for(var yt=_.min.x;yt<=_.max.x;yt++){var he=new B(yt,ot);if(he.z=this._tileZoom,!!this._isValidTile(he)){var Kt=this._tiles[this._tileCoordsToKey(he)];Kt?Kt.current=!0:T.push(he)}}if(T.sort(function(_e,_r){return _e.distanceTo(x)-_r.distanceTo(x)}),T.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var De=document.createDocumentFragment();for(yt=0;yt<T.length;yt++)this._addTile(T[yt],De);this._level.el.appendChild(De)}}}},_isValidTile:function(o){var l=this._map.options.crs;if(!l.infinite){var u=this._globalTileRange;if(!l.wrapLng&&(o.x<u.min.x||o.x>u.max.x)||!l.wrapLat&&(o.y<u.min.y||o.y>u.max.y))return!1}if(!this.options.bounds)return!0;var g=this._tileCoordsToBounds(o);return q(this.options.bounds).overlaps(g)},_keyToBounds:function(o){return this._tileCoordsToBounds(this._keyToTileCoords(o))},_tileCoordsToNwSe:function(o){var l=this._map,u=this.getTileSize(),g=o.scaleBy(u),_=g.add(u),x=l.unproject(g,o.z),T=l.unproject(_,o.z);return[x,T]},_tileCoordsToBounds:function(o){var l=this._tileCoordsToNwSe(o),u=new ft(l[0],l[1]);return this.options.noWrap||(u=this._map.wrapLatLngBounds(u)),u},_tileCoordsToKey:function(o){return o.x+":"+o.y+":"+o.z},_keyToTileCoords:function(o){var l=o.split(":"),u=new B(+l[0],+l[1]);return u.z=+l[2],u},_removeTile:function(o){var l=this._tiles[o];l&&(St(l.el),delete this._tiles[o],this.fire("tileunload",{tile:l.el,coords:this._keyToTileCoords(o)}))},_initTile:function(o){pt(o,"leaflet-tile");var l=this.getTileSize();o.style.width=l.x+"px",o.style.height=l.y+"px",o.onselectstart=p,o.onmousemove=p,J.ielt9&&this.options.opacity<1&&Me(o,this.options.opacity)},_addTile:function(o,l){var u=this._getTilePos(o),g=this._tileCoordsToKey(o),_=this.createTile(this._wrapCoords(o),a(this._tileReady,this,o));this._initTile(_),this.createTile.length<2&&U(a(this._tileReady,this,o,null,_)),Gt(_,u),this._tiles[g]={el:_,coords:o,current:!0},l.appendChild(_),this.fire("tileloadstart",{tile:_,coords:o})},_tileReady:function(o,l,u){l&&this.fire("tileerror",{error:l,tile:u,coords:o});var g=this._tileCoordsToKey(o);u=this._tiles[g],u&&(u.loaded=+new Date,this._map._fadeAnimated?(Me(u.el,0),V(this._fadeFrame),this._fadeFrame=U(this._updateOpacity,this)):(u.active=!0,this._pruneTiles()),l||(pt(u.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:u.el,coords:o})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),J.ielt9||!this._map._fadeAnimated?U(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(o){return o.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(o){var l=new B(this._wrapX?f(o.x,this._wrapX):o.x,this._wrapY?f(o.y,this._wrapY):o.y);return l.z=o.z,l},_pxBoundsToTileRange:function(o){var l=this.getTileSize();return new rt(o.min.unscaleBy(l).floor(),o.max.unscaleBy(l).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var o in this._tiles)if(!this._tiles[o].loaded)return!1;return!0}});function qE(o){return new _s(o)}var mr=_s.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(o,l){this._url=o,l=A(this,l),l.detectRetina&&J.retina&&l.maxZoom>0?(l.tileSize=Math.floor(l.tileSize/2),l.zoomReverse?(l.zoomOffset--,l.minZoom=Math.min(l.maxZoom,l.minZoom+1)):(l.zoomOffset++,l.maxZoom=Math.max(l.minZoom,l.maxZoom-1)),l.minZoom=Math.max(0,l.minZoom)):l.zoomReverse?l.minZoom=Math.min(l.maxZoom,l.minZoom):l.maxZoom=Math.max(l.minZoom,l.maxZoom),typeof l.subdomains=="string"&&(l.subdomains=l.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(o,l){return this._url===o&&l===void 0&&(l=!0),this._url=o,l||this.redraw(),this},createTile:function(o,l){var u=document.createElement("img");return dt(u,"load",a(this._tileOnLoad,this,l,u)),dt(u,"error",a(this._tileOnError,this,l,u)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(u.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(u.referrerPolicy=this.options.referrerPolicy),u.alt="",u.src=this.getTileUrl(o),u},getTileUrl:function(o){var l={r:J.retina?"@2x":"",s:this._getSubdomain(o),x:o.x,y:o.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var u=this._globalTileRange.max.y-o.y;this.options.tms&&(l.y=u),l["-y"]=u}return w(this._url,n(l,this.options))},_tileOnLoad:function(o,l){J.ielt9?setTimeout(a(o,this,null,l),0):o(null,l)},_tileOnError:function(o,l,u){var g=this.options.errorTileUrl;g&&l.getAttribute("src")!==g&&(l.src=g),o(u,l)},_onTileRemove:function(o){o.tile.onload=null},_getZoomForUrl:function(){var o=this._tileZoom,l=this.options.maxZoom,u=this.options.zoomReverse,g=this.options.zoomOffset;return u&&(o=l-o),o+g},_getSubdomain:function(o){var l=Math.abs(o.x+o.y)%this.options.subdomains.length;return this.options.subdomains[l]},_abortLoading:function(){var o,l;for(o in this._tiles)if(this._tiles[o].coords.z!==this._tileZoom&&(l=this._tiles[o].el,l.onload=p,l.onerror=p,!l.complete)){l.src=P;var u=this._tiles[o].coords;St(l),delete this._tiles[o],this.fire("tileabort",{tile:l,coords:u})}},_removeTile:function(o){var l=this._tiles[o];if(l)return l.el.setAttribute("src",P),_s.prototype._removeTile.call(this,o)},_tileReady:function(o,l,u){if(!(!this._map||u&&u.getAttribute("src")===P))return _s.prototype._tileReady.call(this,o,l,u)}});function mg(o,l){return new mr(o,l)}var _g=mr.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(o,l){this._url=o;var u=n({},this.defaultWmsParams);for(var g in l)g in this.options||(u[g]=l[g]);l=A(this,l);var _=l.detectRetina&&J.retina?2:1,x=this.getTileSize();u.width=x.x*_,u.height=x.y*_,this.wmsParams=u},onAdd:function(o){this._crs=this.options.crs||o.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var l=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[l]=this._crs.code,mr.prototype.onAdd.call(this,o)},getTileUrl:function(o){var l=this._tileCoordsToNwSe(o),u=this._crs,g=F(u.project(l[0]),u.project(l[1])),_=g.min,x=g.max,T=(this._wmsVersion>=1.3&&this._crs===hg?[_.y,_.x,x.y,x.x]:[_.x,_.y,x.x,x.y]).join(","),I=mr.prototype.getTileUrl.call(this,o);return I+b(this.wmsParams,I,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+T},setParams:function(o,l){return n(this.wmsParams,o),l||this.redraw(),this}});function JE(o,l){return new _g(o,l)}mr.WMS=_g,mg.wms=JE;var Ti=Ue.extend({options:{padding:.1},initialize:function(o){A(this,o),c(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),pt(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var o={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(o.zoomanim=this._onAnimZoom),o},_onAnimZoom:function(o){this._updateTransform(o.center,o.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(o,l){var u=this._map.getZoomScale(l,this._zoom),g=this._map.getSize().multiplyBy(.5+this.options.padding),_=this._map.project(this._center,l),x=g.multiplyBy(-u).add(_).subtract(this._map._getNewPixelOrigin(o,l));J.any3d?Cn(this._container,x,u):Gt(this._container,x)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var o in this._layers)this._layers[o]._reset()},_onZoomEnd:function(){for(var o in this._layers)this._layers[o]._project()},_updatePaths:function(){for(var o in this._layers)this._layers[o]._update()},_update:function(){var o=this.options.padding,l=this._map.getSize(),u=this._map.containerPointToLayerPoint(l.multiplyBy(-o)).round();this._bounds=new rt(u,u.add(l.multiplyBy(1+o*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),yg=Ti.extend({options:{tolerance:0},getEvents:function(){var o=Ti.prototype.getEvents.call(this);return o.viewprereset=this._onViewPreReset,o},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Ti.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var o=this._container=document.createElement("canvas");dt(o,"mousemove",this._onMouseMove,this),dt(o,"click dblclick mousedown mouseup contextmenu",this._onClick,this),dt(o,"mouseout",this._handleMouseOut,this),o._leaflet_disable_events=!0,this._ctx=o.getContext("2d")},_destroyContainer:function(){V(this._redrawRequest),delete this._ctx,St(this._container),Pt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var o;this._redrawBounds=null;for(var l in this._layers)o=this._layers[l],o._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Ti.prototype._update.call(this);var o=this._bounds,l=this._container,u=o.getSize(),g=J.retina?2:1;Gt(l,o.min),l.width=g*u.x,l.height=g*u.y,l.style.width=u.x+"px",l.style.height=u.y+"px",J.retina&&this._ctx.scale(2,2),this._ctx.translate(-o.min.x,-o.min.y),this.fire("update")}},_reset:function(){Ti.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(o){this._updateDashArray(o),this._layers[c(o)]=o;var l=o._order={layer:o,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=l),this._drawLast=l,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(o){this._requestRedraw(o)},_removePath:function(o){var l=o._order,u=l.next,g=l.prev;u?u.prev=g:this._drawLast=g,g?g.next=u:this._drawFirst=u,delete o._order,delete this._layers[c(o)],this._requestRedraw(o)},_updatePath:function(o){this._extendRedrawBounds(o),o._project(),o._update(),this._requestRedraw(o)},_updateStyle:function(o){this._updateDashArray(o),this._requestRedraw(o)},_updateDashArray:function(o){if(typeof o.options.dashArray=="string"){var l=o.options.dashArray.split(/[, ]+/),u=[],g,_;for(_=0;_<l.length;_++){if(g=Number(l[_]),isNaN(g))return;u.push(g)}o.options._dashArray=u}else o.options._dashArray=o.options.dashArray},_requestRedraw:function(o){this._map&&(this._extendRedrawBounds(o),this._redrawRequest=this._redrawRequest||U(this._redraw,this))},_extendRedrawBounds:function(o){if(o._pxBounds){var l=(o.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new rt,this._redrawBounds.extend(o._pxBounds.min.subtract([l,l])),this._redrawBounds.extend(o._pxBounds.max.add([l,l]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var o=this._redrawBounds;if(o){var l=o.getSize();this._ctx.clearRect(o.min.x,o.min.y,l.x,l.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var o,l=this._redrawBounds;if(this._ctx.save(),l){var u=l.getSize();this._ctx.beginPath(),this._ctx.rect(l.min.x,l.min.y,u.x,u.y),this._ctx.clip()}this._drawing=!0;for(var g=this._drawFirst;g;g=g.next)o=g.layer,(!l||o._pxBounds&&o._pxBounds.intersects(l))&&o._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(o,l){if(this._drawing){var u,g,_,x,T=o._parts,I=T.length,S=this._ctx;if(I){for(S.beginPath(),u=0;u<I;u++){for(g=0,_=T[u].length;g<_;g++)x=T[u][g],S[g?"lineTo":"moveTo"](x.x,x.y);l&&S.closePath()}this._fillStroke(S,o)}}},_updateCircle:function(o){if(!(!this._drawing||o._empty())){var l=o._point,u=this._ctx,g=Math.max(Math.round(o._radius),1),_=(Math.max(Math.round(o._radiusY),1)||g)/g;_!==1&&(u.save(),u.scale(1,_)),u.beginPath(),u.arc(l.x,l.y/_,g,0,Math.PI*2,!1),_!==1&&u.restore(),this._fillStroke(u,o)}},_fillStroke:function(o,l){var u=l.options;u.fill&&(o.globalAlpha=u.fillOpacity,o.fillStyle=u.fillColor||u.color,o.fill(u.fillRule||"evenodd")),u.stroke&&u.weight!==0&&(o.setLineDash&&o.setLineDash(l.options&&l.options._dashArray||[]),o.globalAlpha=u.opacity,o.lineWidth=u.weight,o.strokeStyle=u.color,o.lineCap=u.lineCap,o.lineJoin=u.lineJoin,o.stroke())},_onClick:function(o){for(var l=this._map.mouseEventToLayerPoint(o),u,g,_=this._drawFirst;_;_=_.next)u=_.layer,u.options.interactive&&u._containsPoint(l)&&(!(o.type==="click"||o.type==="preclick")||!this._map._draggableMoved(u))&&(g=u);this._fireEvent(g?[g]:!1,o)},_onMouseMove:function(o){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var l=this._map.mouseEventToLayerPoint(o);this._handleMouseHover(o,l)}},_handleMouseOut:function(o){var l=this._hoveredLayer;l&&(Ft(this._container,"leaflet-interactive"),this._fireEvent([l],o,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(o,l){if(!this._mouseHoverThrottled){for(var u,g,_=this._drawFirst;_;_=_.next)u=_.layer,u.options.interactive&&u._containsPoint(l)&&(g=u);g!==this._hoveredLayer&&(this._handleMouseOut(o),g&&(pt(this._container,"leaflet-interactive"),this._fireEvent([g],o,"mouseover"),this._hoveredLayer=g)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,o),this._mouseHoverThrottled=!0,setTimeout(a(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(o,l,u){this._map._fireDOMEvent(l,u||l.type,o)},_bringToFront:function(o){var l=o._order;if(l){var u=l.next,g=l.prev;if(u)u.prev=g;else return;g?g.next=u:u&&(this._drawFirst=u),l.prev=this._drawLast,this._drawLast.next=l,l.next=null,this._drawLast=l,this._requestRedraw(o)}},_bringToBack:function(o){var l=o._order;if(l){var u=l.next,g=l.prev;if(g)g.next=u;else return;u?u.prev=g:g&&(this._drawLast=g),l.prev=null,l.next=this._drawFirst,this._drawFirst.prev=l,this._drawFirst=l,this._requestRedraw(o)}}});function vg(o){return J.canvas?new yg(o):null}var ys=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(o){return document.createElement("<lvml:"+o+' class="lvml">')}}catch{}return function(o){return document.createElement("<"+o+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),$E={_initContainer:function(){this._container=wt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ti.prototype._update.call(this),this.fire("update"))},_initPath:function(o){var l=o._container=ys("shape");pt(l,"leaflet-vml-shape "+(this.options.className||"")),l.coordsize="1 1",o._path=ys("path"),l.appendChild(o._path),this._updateStyle(o),this._layers[c(o)]=o},_addPath:function(o){var l=o._container;this._container.appendChild(l),o.options.interactive&&o.addInteractiveTarget(l)},_removePath:function(o){var l=o._container;St(l),o.removeInteractiveTarget(l),delete this._layers[c(o)]},_updateStyle:function(o){var l=o._stroke,u=o._fill,g=o.options,_=o._container;_.stroked=!!g.stroke,_.filled=!!g.fill,g.stroke?(l||(l=o._stroke=ys("stroke")),_.appendChild(l),l.weight=g.weight+"px",l.color=g.color,l.opacity=g.opacity,g.dashArray?l.dashStyle=E(g.dashArray)?g.dashArray.join(" "):g.dashArray.replace(/( *, *)/g," "):l.dashStyle="",l.endcap=g.lineCap.replace("butt","flat"),l.joinstyle=g.lineJoin):l&&(_.removeChild(l),o._stroke=null),g.fill?(u||(u=o._fill=ys("fill")),_.appendChild(u),u.color=g.fillColor||g.color,u.opacity=g.fillOpacity):u&&(_.removeChild(u),o._fill=null)},_updateCircle:function(o){var l=o._point.round(),u=Math.round(o._radius),g=Math.round(o._radiusY||u);this._setPath(o,o._empty()?"M0 0":"AL "+l.x+","+l.y+" "+u+","+g+" 0,"+65535*360)},_setPath:function(o,l){o._path.v=l},_bringToFront:function(o){cr(o._container)},_bringToBack:function(o){ur(o._container)}},ma=J.vml?ys:Ki,vs=Ti.extend({_initContainer:function(){this._container=ma("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ma("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){St(this._container),Pt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Ti.prototype._update.call(this);var o=this._bounds,l=o.getSize(),u=this._container;(!this._svgSize||!this._svgSize.equals(l))&&(this._svgSize=l,u.setAttribute("width",l.x),u.setAttribute("height",l.y)),Gt(u,o.min),u.setAttribute("viewBox",[o.min.x,o.min.y,l.x,l.y].join(" ")),this.fire("update")}},_initPath:function(o){var l=o._path=ma("path");o.options.className&&pt(l,o.options.className),o.options.interactive&&pt(l,"leaflet-interactive"),this._updateStyle(o),this._layers[c(o)]=o},_addPath:function(o){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(o._path),o.addInteractiveTarget(o._path)},_removePath:function(o){St(o._path),o.removeInteractiveTarget(o._path),delete this._layers[c(o)]},_updatePath:function(o){o._project(),o._update()},_updateStyle:function(o){var l=o._path,u=o.options;l&&(u.stroke?(l.setAttribute("stroke",u.color),l.setAttribute("stroke-opacity",u.opacity),l.setAttribute("stroke-width",u.weight),l.setAttribute("stroke-linecap",u.lineCap),l.setAttribute("stroke-linejoin",u.lineJoin),u.dashArray?l.setAttribute("stroke-dasharray",u.dashArray):l.removeAttribute("stroke-dasharray"),u.dashOffset?l.setAttribute("stroke-dashoffset",u.dashOffset):l.removeAttribute("stroke-dashoffset")):l.setAttribute("stroke","none"),u.fill?(l.setAttribute("fill",u.fillColor||u.color),l.setAttribute("fill-opacity",u.fillOpacity),l.setAttribute("fill-rule",u.fillRule||"evenodd")):l.setAttribute("fill","none"))},_updatePoly:function(o,l){this._setPath(o,Fe(o._parts,l))},_updateCircle:function(o){var l=o._point,u=Math.max(Math.round(o._radius),1),g=Math.max(Math.round(o._radiusY),1)||u,_="a"+u+","+g+" 0 1,0 ",x=o._empty()?"M0 0":"M"+(l.x-u)+","+l.y+_+u*2+",0 "+_+-u*2+",0 ";this._setPath(o,x)},_setPath:function(o,l){o._path.setAttribute("d",l)},_bringToFront:function(o){cr(o._path)},_bringToBack:function(o){ur(o._path)}});J.vml&&vs.include($E);function xg(o){return J.svg||J.vml?new vs(o):null}xt.include({getRenderer:function(o){var l=o.options.renderer||this._getPaneRenderer(o.options.pane)||this.options.renderer||this._renderer;return l||(l=this._renderer=this._createRenderer()),this.hasLayer(l)||this.addLayer(l),l},_getPaneRenderer:function(o){if(o==="overlayPane"||o===void 0)return!1;var l=this._paneRenderers[o];return l===void 0&&(l=this._createRenderer({pane:o}),this._paneRenderers[o]=l),l},_createRenderer:function(o){return this.options.preferCanvas&&vg(o)||xg(o)}});var Ag=gr.extend({initialize:function(o,l){gr.prototype.initialize.call(this,this._boundsToLatLngs(o),l)},setBounds:function(o){return this.setLatLngs(this._boundsToLatLngs(o))},_boundsToLatLngs:function(o){return o=q(o),[o.getSouthWest(),o.getNorthWest(),o.getNorthEast(),o.getSouthEast()]}});function tC(o,l){return new Ag(o,l)}vs.create=ma,vs.pointsToPath=Fe,bi.geometryToLayer=ha,bi.coordsToLatLng=jh,bi.coordsToLatLngs=ca,bi.latLngToCoords=Hh,bi.latLngsToCoords=ua,bi.getFeature=pr,bi.asFeature=da,xt.mergeOptions({boxZoom:!0});var wg=ii.extend({initialize:function(o){this._map=o,this._container=o._container,this._pane=o._panes.overlayPane,this._resetStateTimeout=0,o.on("unload",this._destroy,this)},addHooks:function(){dt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Pt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){St(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(o){if(!o.shiftKey||o.which!==1&&o.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),cs(),Lh(),this._startPoint=this._map.mouseEventToContainerPoint(o),dt(document,{contextmenu:Tn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(o){this._moved||(this._moved=!0,this._box=wt("div","leaflet-zoom-box",this._container),pt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(o);var l=new rt(this._point,this._startPoint),u=l.getSize();Gt(this._box,l.min),this._box.style.width=u.x+"px",this._box.style.height=u.y+"px"},_finish:function(){this._moved&&(St(this._box),Ft(this._container,"leaflet-crosshair")),us(),bh(),Pt(document,{contextmenu:Tn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(o){if(!(o.which!==1&&o.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var l=new ft(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(l).fire("boxzoomend",{boxZoomBounds:l})}},_onKeyDown:function(o){o.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});xt.addInitHook("addHandler","boxZoom",wg),xt.mergeOptions({doubleClickZoom:!0});var Eg=ii.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(o){var l=this._map,u=l.getZoom(),g=l.options.zoomDelta,_=o.originalEvent.shiftKey?u-g:u+g;l.options.doubleClickZoom==="center"?l.setZoom(_):l.setZoomAround(o.containerPoint,_)}});xt.addInitHook("addHandler","doubleClickZoom",Eg),xt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Cg=ii.extend({addHooks:function(){if(!this._draggable){var o=this._map;this._draggable=new nn(o._mapPane,o._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),o.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),o.on("zoomend",this._onZoomEnd,this),o.whenReady(this._onZoomEnd,this))}pt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Ft(this._map._container,"leaflet-grab"),Ft(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var o=this._map;if(o._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var l=q(this._map.options.maxBounds);this._offsetLimit=F(this._map.latLngToContainerPoint(l.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(l.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;o.fire("movestart").fire("dragstart"),o.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(o){if(this._map.options.inertia){var l=this._lastTime=+new Date,u=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(u),this._times.push(l),this._prunePositions(l)}this._map.fire("move",o).fire("drag",o)},_prunePositions:function(o){for(;this._positions.length>1&&o-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var o=this._map.getSize().divideBy(2),l=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=l.subtract(o).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(o,l){return o-(o-l)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var o=this._draggable._newPos.subtract(this._draggable._startPos),l=this._offsetLimit;o.x<l.min.x&&(o.x=this._viscousLimit(o.x,l.min.x)),o.y<l.min.y&&(o.y=this._viscousLimit(o.y,l.min.y)),o.x>l.max.x&&(o.x=this._viscousLimit(o.x,l.max.x)),o.y>l.max.y&&(o.y=this._viscousLimit(o.y,l.max.y)),this._draggable._newPos=this._draggable._startPos.add(o)}},_onPreDragWrap:function(){var o=this._worldWidth,l=Math.round(o/2),u=this._initialWorldOffset,g=this._draggable._newPos.x,_=(g-l+u)%o+l-u,x=(g+l+u)%o-l-u,T=Math.abs(_+u)<Math.abs(x+u)?_:x;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=T},_onDragEnd:function(o){var l=this._map,u=l.options,g=!u.inertia||o.noInertia||this._times.length<2;if(l.fire("dragend",o),g)l.fire("moveend");else{this._prunePositions(+new Date);var _=this._lastPos.subtract(this._positions[0]),x=(this._lastTime-this._times[0])/1e3,T=u.easeLinearity,I=_.multiplyBy(T/x),S=I.distanceTo([0,0]),G=Math.min(u.inertiaMaxSpeed,S),K=I.multiplyBy(G/S),ot=G/(u.inertiaDeceleration*T),yt=K.multiplyBy(-ot/2).round();!yt.x&&!yt.y?l.fire("moveend"):(yt=l._limitOffset(yt,l.options.maxBounds),U(function(){l.panBy(yt,{duration:ot,easeLinearity:T,noMoveStart:!0,animate:!0})}))}}});xt.addInitHook("addHandler","dragging",Cg),xt.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Lg=ii.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(o){this._map=o,this._setPanDelta(o.options.keyboardPanDelta),this._setZoomDelta(o.options.zoomDelta)},addHooks:function(){var o=this._map._container;o.tabIndex<=0&&(o.tabIndex="0"),dt(o,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Pt(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var o=document.body,l=document.documentElement,u=o.scrollTop||l.scrollTop,g=o.scrollLeft||l.scrollLeft;this._map._container.focus(),window.scrollTo(g,u)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(o){var l=this._panKeys={},u=this.keyCodes,g,_;for(g=0,_=u.left.length;g<_;g++)l[u.left[g]]=[-1*o,0];for(g=0,_=u.right.length;g<_;g++)l[u.right[g]]=[o,0];for(g=0,_=u.down.length;g<_;g++)l[u.down[g]]=[0,o];for(g=0,_=u.up.length;g<_;g++)l[u.up[g]]=[0,-1*o]},_setZoomDelta:function(o){var l=this._zoomKeys={},u=this.keyCodes,g,_;for(g=0,_=u.zoomIn.length;g<_;g++)l[u.zoomIn[g]]=o;for(g=0,_=u.zoomOut.length;g<_;g++)l[u.zoomOut[g]]=-o},_addHooks:function(){dt(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Pt(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(o){if(!(o.altKey||o.ctrlKey||o.metaKey)){var l=o.keyCode,u=this._map,g;if(l in this._panKeys){if(!u._panAnim||!u._panAnim._inProgress)if(g=this._panKeys[l],o.shiftKey&&(g=Z(g).multiplyBy(3)),u.options.maxBounds&&(g=u._limitOffset(Z(g),u.options.maxBounds)),u.options.worldCopyJump){var _=u.wrapLatLng(u.unproject(u.project(u.getCenter()).add(g)));u.panTo(_)}else u.panBy(g)}else if(l in this._zoomKeys)u.setZoom(u.getZoom()+(o.shiftKey?3:1)*this._zoomKeys[l]);else if(l===27&&u._popup&&u._popup.options.closeOnEscapeKey)u.closePopup();else return;Tn(o)}}});xt.addInitHook("addHandler","keyboard",Lg),xt.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var bg=ii.extend({addHooks:function(){dt(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Pt(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(o){var l=Qf(o),u=this._map.options.wheelDebounceTime;this._delta+=l,this._lastMousePos=this._map.mouseEventToContainerPoint(o),this._startTime||(this._startTime=+new Date);var g=Math.max(u-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),g),Tn(o)},_performZoom:function(){var o=this._map,l=o.getZoom(),u=this._map.options.zoomSnap||0;o._stop();var g=this._delta/(this._map.options.wheelPxPerZoomLevel*4),_=4*Math.log(2/(1+Math.exp(-Math.abs(g))))/Math.LN2,x=u?Math.ceil(_/u)*u:_,T=o._limitZoom(l+(this._delta>0?x:-x))-l;this._delta=0,this._startTime=null,T&&(o.options.scrollWheelZoom==="center"?o.setZoom(l+T):o.setZoomAround(this._lastMousePos,l+T))}});xt.addInitHook("addHandler","scrollWheelZoom",bg);var eC=600;xt.mergeOptions({tapHold:J.touchNative&&J.safari&&J.mobile,tapTolerance:15});var Tg=ii.extend({addHooks:function(){dt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Pt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(o){if(clearTimeout(this._holdTimeout),o.touches.length===1){var l=o.touches[0];this._startPos=this._newPos=new B(l.clientX,l.clientY),this._holdTimeout=setTimeout(a(function(){this._cancel(),this._isTapValid()&&(dt(document,"touchend",Jt),dt(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",l))},this),eC),dt(document,"touchend touchcancel contextmenu",this._cancel,this),dt(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function o(){Pt(document,"touchend",Jt),Pt(document,"touchend touchcancel",o)},_cancel:function(){clearTimeout(this._holdTimeout),Pt(document,"touchend touchcancel contextmenu",this._cancel,this),Pt(document,"touchmove",this._onMove,this)},_onMove:function(o){var l=o.touches[0];this._newPos=new B(l.clientX,l.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(o,l){var u=new MouseEvent(o,{bubbles:!0,cancelable:!0,view:window,screenX:l.screenX,screenY:l.screenY,clientX:l.clientX,clientY:l.clientY});u._simulated=!0,l.target.dispatchEvent(u)}});xt.addInitHook("addHandler","tapHold",Tg),xt.mergeOptions({touchZoom:J.touch,bounceAtZoomLimits:!0});var Mg=ii.extend({addHooks:function(){pt(this._map._container,"leaflet-touch-zoom"),dt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Ft(this._map._container,"leaflet-touch-zoom"),Pt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(o){var l=this._map;if(!(!o.touches||o.touches.length!==2||l._animatingZoom||this._zooming)){var u=l.mouseEventToContainerPoint(o.touches[0]),g=l.mouseEventToContainerPoint(o.touches[1]);this._centerPoint=l.getSize()._divideBy(2),this._startLatLng=l.containerPointToLatLng(this._centerPoint),l.options.touchZoom!=="center"&&(this._pinchStartLatLng=l.containerPointToLatLng(u.add(g)._divideBy(2))),this._startDist=u.distanceTo(g),this._startZoom=l.getZoom(),this._moved=!1,this._zooming=!0,l._stop(),dt(document,"touchmove",this._onTouchMove,this),dt(document,"touchend touchcancel",this._onTouchEnd,this),Jt(o)}},_onTouchMove:function(o){if(!(!o.touches||o.touches.length!==2||!this._zooming)){var l=this._map,u=l.mouseEventToContainerPoint(o.touches[0]),g=l.mouseEventToContainerPoint(o.touches[1]),_=u.distanceTo(g)/this._startDist;if(this._zoom=l.getScaleZoom(_,this._startZoom),!l.options.bounceAtZoomLimits&&(this._zoom<l.getMinZoom()&&_<1||this._zoom>l.getMaxZoom()&&_>1)&&(this._zoom=l._limitZoom(this._zoom)),l.options.touchZoom==="center"){if(this._center=this._startLatLng,_===1)return}else{var x=u._add(g)._divideBy(2)._subtract(this._centerPoint);if(_===1&&x.x===0&&x.y===0)return;this._center=l.unproject(l.project(this._pinchStartLatLng,this._zoom).subtract(x),this._zoom)}this._moved||(l._moveStart(!0,!1),this._moved=!0),V(this._animRequest);var T=a(l._move,l,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=U(T,this,!0),Jt(o)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,V(this._animRequest),Pt(document,"touchmove",this._onTouchMove,this),Pt(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});xt.addInitHook("addHandler","touchZoom",Mg),xt.BoxZoom=wg,xt.DoubleClickZoom=Eg,xt.Drag=Cg,xt.Keyboard=Lg,xt.ScrollWheelZoom=bg,xt.TapHold=Tg,xt.TouchZoom=Mg,e.Bounds=rt,e.Browser=J,e.CRS=Dt,e.Canvas=yg,e.Circle=Uh,e.CircleMarker=la,e.Class=at,e.Control=Ge,e.DivIcon=pg,e.DivOverlay=ni,e.DomEvent=vE,e.DomUtil=_E,e.Draggable=nn,e.Evented=H,e.FeatureGroup=Ci,e.GeoJSON=bi,e.GridLayer=_s,e.Handler=ii,e.Icon=fr,e.ImageOverlay=fa,e.LatLng=et,e.LatLngBounds=ft,e.Layer=Ue,e.LayerGroup=dr,e.LineUtil=SE,e.Map=xt,e.Marker=aa,e.Mixin=bE,e.Path=rn,e.Point=B,e.PolyUtil=TE,e.Polygon=gr,e.Polyline=Li,e.Popup=ga,e.PosAnimation=qf,e.Projection=RE,e.Rectangle=Ag,e.Renderer=Ti,e.SVG=vs,e.SVGOverlay=gg,e.TileLayer=mr,e.Tooltip=pa,e.Transformation=Xi,e.Util=tt,e.VideoOverlay=fg,e.bind=a,e.bounds=F,e.canvas=vg,e.circle=UE,e.circleMarker=GE,e.control=gs,e.divIcon=QE,e.extend=n,e.featureGroup=zE,e.geoJSON=dg,e.geoJson=WE,e.gridLayer=qE,e.icon=BE,e.imageOverlay=YE,e.latLng=ct,e.latLngBounds=q,e.layerGroup=FE,e.map=xE,e.marker=NE,e.point=Z,e.polygon=HE,e.polyline=jE,e.popup=VE,e.rectangle=tC,e.setOptions=A,e.stamp=c,e.svg=xg,e.svgOverlay=XE,e.tileLayer=mg,e.tooltip=KE,e.transformation=Te,e.version=i,e.videoOverlay=ZE;var iC=window.L;e.noConflict=function(){return window.L=iC,this},window.L=e})}(Es,Es.exports)),Es.exports}var Q=ec();const fC="";function ic(r,t,e){e===void 0&&(e={});var i={type:"Feature"};return(e.id===0||e.id)&&(i.id=e.id),e.bbox&&(i.bbox=e.bbox),i.properties=t||{},i.geometry=r,i}function jg(r,t,e){if(e===void 0&&(e={}),!r)throw new Error("coordinates is required");if(!Array.isArray(r))throw new Error("coordinates must be an Array");if(r.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!nc(r[0])||!nc(r[1]))throw new Error("coordinates must contain numbers");var i={type:"Point",coordinates:r};return ic(i,t,e)}function Hg(r,t,e){e===void 0&&(e={});for(var i=0,n=r;i<n.length;i++){var s=n[i];if(s.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var a=0;a<s[s.length-1].length;a++)if(s[s.length-1][a]!==s[0][a])throw new Error("First and last Position are not equivalent.")}var h={type:"Polygon",coordinates:r};return ic(h,t,e)}function nc(r){return!isNaN(r)&&r!==null&&!Array.isArray(r)}function Wg(r){if(!r)throw new Error("coord is required");if(!Array.isArray(r)){if(r.type==="Feature"&&r.geometry!==null&&r.geometry.type==="Point")return r.geometry.coordinates;if(r.type==="Point")return r.coordinates}if(Array.isArray(r)&&r.length>=2&&!Array.isArray(r[0])&&!Array.isArray(r[1]))return r;throw new Error("coord must be GeoJSON Point or an Array of numbers")}function Yg(r){return r.type==="Feature"?r.geometry:r}function Zg(r,t,e){if(e===void 0&&(e={}),!r)throw new Error("point is required");if(!t)throw new Error("polygon is required");var i=Wg(r),n=Yg(t),s=n.type,a=t.bbox,h=n.coordinates;if(a&&Xg(i,a)===!1)return!1;s==="Polygon"&&(h=[h]);for(var c=!1,d=0;d<h.length&&!c;d++)if(rc(i,h[d][0],e.ignoreBoundary)){for(var f=!1,p=1;p<h[d].length&&!f;)rc(i,h[d][p],!e.ignoreBoundary)&&(f=!0),p++;f||(c=!0)}return c}function rc(r,t,e){var i=!1;t[0][0]===t[t.length-1][0]&&t[0][1]===t[t.length-1][1]&&(t=t.slice(0,t.length-1));for(var n=0,s=t.length-1;n<t.length;s=n++){var a=t[n][0],h=t[n][1],c=t[s][0],d=t[s][1],f=r[1]*(a-c)+h*(c-r[0])+d*(r[0]-a)===0&&(a-r[0])*(c-r[0])<=0&&(h-r[1])*(d-r[1])<=0;if(f)return!e;var p=h>r[1]!=d>r[1]&&r[0]<(c-a)*(r[1]-h)/(d-h)+a;p&&(i=!i)}return i}function Xg(r,t){return t[0]<=r[0]&&t[1]<=r[1]&&t[2]>=r[0]&&t[3]>=r[1]}var sc={exports:{}};sc.exports=Cs,sc.exports.default=Cs;function Cs(r,t,e){e=e||2;var i=t&&t.length,n=i?t[0]*e:r.length,s=oc(r,0,n,e,!0),a=[];if(!s||s.next===s.prev)return a;var h,c,d,f,p,m,y;if(i&&(s=Jg(r,t,s,e)),r.length>80*e){h=d=r[0],c=f=r[1];for(var v=e;v<n;v+=e)p=r[v],m=r[v+1],p<h&&(h=p),m<c&&(c=m),p>d&&(d=p),m>f&&(f=m);y=Math.max(d-h,f-c),y=y!==0?32767/y:0}return yr(s,a,e,h,c,y,0),a}function oc(r,t,e,i,n){var s,a;if(n===wa(r,t,e,i)>0)for(s=t;s<e;s+=i)a=hc(s,r[s],r[s+1],a);else for(s=e-i;s>=t;s-=i)a=hc(s,r[s],r[s+1],a);return a&&Ls(a,a.next)&&(xr(a),a=a.next),a}function sn(r,t){if(!r)return r;t||(t=r);var e=r,i;do if(i=!1,!e.steiner&&(Ls(e,e.next)||It(e.prev,e,e.next)===0)){if(xr(e),e=t=e.prev,e===e.next)break;i=!0}else e=e.next;while(i||e!==t);return t}function yr(r,t,e,i,n,s,a){if(r){!a&&s&&np(r,i,n,s);for(var h=r,c,d;r.prev!==r.next;){if(c=r.prev,d=r.next,s?Kg(r,i,n,s):Vg(r)){t.push(c.i/e|0),t.push(r.i/e|0),t.push(d.i/e|0),xr(r),r=d.next,h=d.next;continue}if(r=d,r===h){a?a===1?(r=Qg(sn(r),t,e),yr(r,t,e,i,n,s,2)):a===2&&qg(r,t,e,i,n,s):yr(sn(r),t,e,i,n,s,1);break}}}}function Vg(r){var t=r.prev,e=r,i=r.next;if(It(t,e,i)>=0)return!1;for(var n=t.x,s=e.x,a=i.x,h=t.y,c=e.y,d=i.y,f=n<s?n<a?n:a:s<a?s:a,p=h<c?h<d?h:d:c<d?c:d,m=n>s?n>a?n:a:s>a?s:a,y=h>c?h>d?h:d:c>d?c:d,v=i.next;v!==t;){if(v.x>=f&&v.x<=m&&v.y>=p&&v.y<=y&&Pn(n,h,s,c,a,d,v.x,v.y)&&It(v.prev,v,v.next)>=0)return!1;v=v.next}return!0}function Kg(r,t,e,i){var n=r.prev,s=r,a=r.next;if(It(n,s,a)>=0)return!1;for(var h=n.x,c=s.x,d=a.x,f=n.y,p=s.y,m=a.y,y=h<c?h<d?h:d:c<d?c:d,v=f<p?f<m?f:m:p<m?p:m,A=h>c?h>d?h:d:c>d?c:d,b=f>p?f>m?f:m:p>m?p:m,M=xa(y,v,t,e,i),w=xa(A,b,t,e,i),E=r.prevZ,C=r.nextZ;E&&E.z>=M&&C&&C.z<=w;){if(E.x>=y&&E.x<=A&&E.y>=v&&E.y<=b&&E!==n&&E!==a&&Pn(h,f,c,p,d,m,E.x,E.y)&&It(E.prev,E,E.next)>=0||(E=E.prevZ,C.x>=y&&C.x<=A&&C.y>=v&&C.y<=b&&C!==n&&C!==a&&Pn(h,f,c,p,d,m,C.x,C.y)&&It(C.prev,C,C.next)>=0))return!1;C=C.nextZ}for(;E&&E.z>=M;){if(E.x>=y&&E.x<=A&&E.y>=v&&E.y<=b&&E!==n&&E!==a&&Pn(h,f,c,p,d,m,E.x,E.y)&&It(E.prev,E,E.next)>=0)return!1;E=E.prevZ}for(;C&&C.z<=w;){if(C.x>=y&&C.x<=A&&C.y>=v&&C.y<=b&&C!==n&&C!==a&&Pn(h,f,c,p,d,m,C.x,C.y)&&It(C.prev,C,C.next)>=0)return!1;C=C.nextZ}return!0}function Qg(r,t,e){var i=r;do{var n=i.prev,s=i.next.next;!Ls(n,s)&&ac(n,i,i.next,s)&&vr(n,s)&&vr(s,n)&&(t.push(n.i/e|0),t.push(i.i/e|0),t.push(s.i/e|0),xr(i),xr(i.next),i=r=s),i=i.next}while(i!==r);return sn(i)}function qg(r,t,e,i,n,s){var a=r;do{for(var h=a.next.next;h!==a.prev;){if(a.i!==h.i&&op(a,h)){var c=lc(a,h);a=sn(a,a.next),c=sn(c,c.next),yr(a,t,e,i,n,s,0),yr(c,t,e,i,n,s,0);return}h=h.next}a=a.next}while(a!==r)}function Jg(r,t,e,i){var n=[],s,a,h,c,d;for(s=0,a=t.length;s<a;s++)h=t[s]*i,c=s<a-1?t[s+1]*i:r.length,d=oc(r,h,c,i,!1),d===d.next&&(d.steiner=!0),n.push(sp(d));for(n.sort($g),s=0;s<n.length;s++)e=tp(n[s],e);return e}function $g(r,t){return r.x-t.x}function tp(r,t){var e=ep(r,t);if(!e)return t;var i=lc(e,r);return sn(i,i.next),sn(e,e.next)}function ep(r,t){var e=t,i=r.x,n=r.y,s=-1/0,a;do{if(n<=e.y&&n>=e.next.y&&e.next.y!==e.y){var h=e.x+(n-e.y)*(e.next.x-e.x)/(e.next.y-e.y);if(h<=i&&h>s&&(s=h,a=e.x<e.next.x?e:e.next,h===i))return a}e=e.next}while(e!==t);if(!a)return null;var c=a,d=a.x,f=a.y,p=1/0,m;e=a;do i>=e.x&&e.x>=d&&i!==e.x&&Pn(n<f?i:s,n,d,f,n<f?s:i,n,e.x,e.y)&&(m=Math.abs(n-e.y)/(i-e.x),vr(e,r)&&(m<p||m===p&&(e.x>a.x||e.x===a.x&&ip(a,e)))&&(a=e,p=m)),e=e.next;while(e!==c);return a}function ip(r,t){return It(r.prev,r,t.prev)<0&&It(t.next,r,r.next)<0}function np(r,t,e,i){var n=r;do n.z===0&&(n.z=xa(n.x,n.y,t,e,i)),n.prevZ=n.prev,n.nextZ=n.next,n=n.next;while(n!==r);n.prevZ.nextZ=null,n.prevZ=null,rp(n)}function rp(r){var t,e,i,n,s,a,h,c,d=1;do{for(e=r,r=null,s=null,a=0;e;){for(a++,i=e,h=0,t=0;t<d&&(h++,i=i.nextZ,!!i);t++);for(c=d;h>0||c>0&&i;)h!==0&&(c===0||!i||e.z<=i.z)?(n=e,e=e.nextZ,h--):(n=i,i=i.nextZ,c--),s?s.nextZ=n:r=n,n.prevZ=s,s=n;e=i}s.nextZ=null,d*=2}while(a>1);return r}function xa(r,t,e,i,n){return r=(r-e)*n|0,t=(t-i)*n|0,r=(r|r<<8)&16711935,r=(r|r<<4)&252645135,r=(r|r<<2)&858993459,r=(r|r<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,r|t<<1}function sp(r){var t=r,e=r;do(t.x<e.x||t.x===e.x&&t.y<e.y)&&(e=t),t=t.next;while(t!==r);return e}function Pn(r,t,e,i,n,s,a,h){return(n-a)*(t-h)>=(r-a)*(s-h)&&(r-a)*(i-h)>=(e-a)*(t-h)&&(e-a)*(s-h)>=(n-a)*(i-h)}function op(r,t){return r.next.i!==t.i&&r.prev.i!==t.i&&!ap(r,t)&&(vr(r,t)&&vr(t,r)&&lp(r,t)&&(It(r.prev,r,t.prev)||It(r,t.prev,t))||Ls(r,t)&&It(r.prev,r,r.next)>0&&It(t.prev,t,t.next)>0)}function It(r,t,e){return(t.y-r.y)*(e.x-t.x)-(t.x-r.x)*(e.y-t.y)}function Ls(r,t){return r.x===t.x&&r.y===t.y}function ac(r,t,e,i){var n=Ts(It(r,t,e)),s=Ts(It(r,t,i)),a=Ts(It(e,i,r)),h=Ts(It(e,i,t));return!!(n!==s&&a!==h||n===0&&bs(r,e,t)||s===0&&bs(r,i,t)||a===0&&bs(e,r,i)||h===0&&bs(e,t,i))}function bs(r,t,e){return t.x<=Math.max(r.x,e.x)&&t.x>=Math.min(r.x,e.x)&&t.y<=Math.max(r.y,e.y)&&t.y>=Math.min(r.y,e.y)}function Ts(r){return r>0?1:r<0?-1:0}function ap(r,t){var e=r;do{if(e.i!==r.i&&e.next.i!==r.i&&e.i!==t.i&&e.next.i!==t.i&&ac(e,e.next,r,t))return!0;e=e.next}while(e!==r);return!1}function vr(r,t){return It(r.prev,r,r.next)<0?It(r,t,r.next)>=0&&It(r,r.prev,t)>=0:It(r,t,r.prev)<0||It(r,r.next,t)<0}function lp(r,t){var e=r,i=!1,n=(r.x+t.x)/2,s=(r.y+t.y)/2;do e.y>s!=e.next.y>s&&e.next.y!==e.y&&n<(e.next.x-e.x)*(s-e.y)/(e.next.y-e.y)+e.x&&(i=!i),e=e.next;while(e!==r);return i}function lc(r,t){var e=new Aa(r.i,r.x,r.y),i=new Aa(t.i,t.x,t.y),n=r.next,s=t.prev;return r.next=t,t.prev=r,e.next=n,n.prev=e,i.next=e,e.prev=i,s.next=i,i.prev=s,i}function hc(r,t,e,i){var n=new Aa(r,t,e);return i?(n.next=i.next,n.prev=i,i.next.prev=n,i.next=n):(n.prev=n,n.next=n),n}function xr(r){r.next.prev=r.prev,r.prev.next=r.next,r.prevZ&&(r.prevZ.nextZ=r.nextZ),r.nextZ&&(r.nextZ.prevZ=r.prevZ)}function Aa(r,t,e){this.i=r,this.x=t,this.y=e,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}Cs.deviation=function(r,t,e,i){var n=t&&t.length,s=n?t[0]*e:r.length,a=Math.abs(wa(r,0,s,e));if(n)for(var h=0,c=t.length;h<c;h++){var d=t[h]*e,f=h<c-1?t[h+1]*e:r.length;a-=Math.abs(wa(r,d,f,e))}var p=0;for(h=0;h<i.length;h+=3){var m=i[h]*e,y=i[h+1]*e,v=i[h+2]*e;p+=Math.abs((r[m]-r[v])*(r[y+1]-r[m+1])-(r[m]-r[y])*(r[v+1]-r[m+1]))}return a===0&&p===0?0:Math.abs((p-a)/a)};function wa(r,t,e,i){for(var n=0,s=t,a=e-i;s<e;s+=i)n+=(r[a]-r[s])*(r[s+1]+r[a+1]),a=s;return n}Cs.flatten=function(r){for(var t=r[0][0].length,e={vertices:[],holes:[],dimensions:t},i=0,n=0;n<r.length;n++){for(var s=0;s<r[n].length;s++)for(var a=0;a<t;a++)e.vertices.push(r[n][s][a]);n>0&&(i+=r[n-1].length,e.holes.push(i))}return e};const gC="";var hp={exports:{}};const cc=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],si=(()=>{if(typeof document>"u")return!1;const r=cc[0],t={};for(const e of cc)if((e==null?void 0:e[1])in document){for(const[n,s]of e.entries())t[r[n]]=s;return t}return!1})(),uc={change:si.fullscreenchange,error:si.fullscreenerror};let ve={request(r=document.documentElement,t){return new Promise((e,i)=>{const n=()=>{ve.off("change",n),e()};ve.on("change",n);const s=r[si.requestFullscreen](t);s instanceof Promise&&s.then(n).catch(i)})},exit(){return new Promise((r,t)=>{if(!ve.isFullscreen){r();return}const e=()=>{ve.off("change",e),r()};ve.on("change",e);const i=document[si.exitFullscreen]();i instanceof Promise&&i.then(e).catch(t)})},toggle(r,t){return ve.isFullscreen?ve.exit():ve.request(r,t)},onchange(r){ve.on("change",r)},onerror(r){ve.on("error",r)},on(r,t){const e=uc[r];e&&document.addEventListener(e,t,!1)},off(r,t){const e=uc[r];e&&document.removeEventListener(e,t,!1)},raw:si};Object.defineProperties(ve,{isFullscreen:{get:()=>!!document[si.fullscreenElement]},element:{enumerable:!0,get:()=>document[si.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[si.fullscreenEnabled]}}),si||(ve={isEnabled:!1});const cp=Xh(Object.freeze(Object.defineProperty({__proto__:null,default:ve},Symbol.toStringTag,{value:"Module"})));/*!
4
+ */var Ph;function Dh(){return Ph||(Ph=1,function(r,t){(function(e,i){i(t)})(Qe,function(e){var i="1.9.4";function n(s){var l,u,g,m;for(u=1,g=arguments.length;u<g;u++){m=arguments[u];for(l in m)s[l]=m[l]}return s}var o=Object.create||function(){function s(){}return function(l){return s.prototype=l,new s}}();function a(s,l){var u=Array.prototype.slice;if(s.bind)return s.bind.apply(s,u.call(arguments,1));var g=u.call(arguments,2);return function(){return s.apply(l,g.length?g.concat(u.call(arguments)):arguments)}}var h=0;function c(s){return"_leaflet_id"in s||(s._leaflet_id=++h),s._leaflet_id}function d(s,l,u){var g,m,x,T;return T=function(){g=!1,m&&(x.apply(u,m),m=!1)},x=function(){g?m=arguments:(s.apply(u,arguments),setTimeout(T,l),g=!0)},x}function f(s,l,u){var g=l[1],m=l[0],x=g-m;return s===g&&u?s:((s-m)%x+x)%x+m}function p(){return!1}function _(s,l){if(l===!1)return s;var u=Math.pow(10,l===void 0?6:l);return Math.round(s*u)/u}function y(s){return s.trim?s.trim():s.replace(/^\s+|\s+$/g,"")}function v(s){return y(s).split(/\s+/)}function A(s,l){Object.prototype.hasOwnProperty.call(s,"options")||(s.options=s.options?o(s.options):{});for(var u in l)s.options[u]=l[u];return s.options}function b(s,l,u){var g=[];for(var m in s)g.push(encodeURIComponent(u?m.toUpperCase():m)+"="+encodeURIComponent(s[m]));return(!l||l.indexOf("?")===-1?"?":"&")+g.join("&")}var M=/\{ *([\w_ -]+) *\}/g;function w(s,l){return s.replace(M,function(u,g){var m=l[g];if(m===void 0)throw new Error("No value provided for variable "+u);return typeof m=="function"&&(m=m(l)),m})}var E=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"};function C(s,l){for(var u=0;u<s.length;u++)if(s[u]===l)return u;return-1}var P="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function D(s){return window["webkit"+s]||window["moz"+s]||window["ms"+s]}var k=0;function R(s){var l=+new Date,u=Math.max(0,16-(l-k));return k=l+u,window.setTimeout(s,u)}var F=window.requestAnimationFrame||D("RequestAnimationFrame")||R,j=window.cancelAnimationFrame||D("CancelAnimationFrame")||D("CancelRequestAnimationFrame")||function(s){window.clearTimeout(s)};function G(s,l,u){if(u&&F===R)s.call(l);else return F.call(window,a(s,l))}function Z(s){s&&j.call(window,s)}var $={__proto__:null,extend:n,create:o,bind:a,get lastId(){return h},stamp:c,throttle:d,wrapNum:f,falseFn:p,formatNum:_,trim:y,splitWords:v,setOptions:A,getParamString:b,template:w,isArray:E,indexOf:C,emptyImageUrl:P,requestFn:F,cancelFn:j,requestAnimFrame:G,cancelAnimFrame:Z};function ot(){}ot.extend=function(s){var l=function(){A(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},u=l.__super__=this.prototype,g=o(u);g.constructor=l,l.prototype=g;for(var m in this)Object.prototype.hasOwnProperty.call(this,m)&&m!=="prototype"&&m!=="__super__"&&(l[m]=this[m]);return s.statics&&n(l,s.statics),s.includes&&(Y(s.includes),n.apply(null,[g].concat(s.includes))),n(g,s),delete g.statics,delete g.includes,g.options&&(g.options=u.options?o(u.options):{},n(g.options,s.options)),g._initHooks=[],g.callInitHooks=function(){if(!this._initHooksCalled){u.callInitHooks&&u.callInitHooks.call(this),this._initHooksCalled=!0;for(var x=0,T=g._initHooks.length;x<T;x++)g._initHooks[x].call(this)}},l},ot.include=function(s){var l=this.prototype.options;return n(this.prototype,s),s.options&&(this.prototype.options=l,this.mergeOptions(s.options)),this},ot.mergeOptions=function(s){return n(this.prototype.options,s),this},ot.addInitHook=function(s){var l=Array.prototype.slice.call(arguments,1),u=typeof s=="function"?s:function(){this[s].apply(this,l)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(u),this};function Y(s){if(!(typeof L>"u"||!L||!L.Mixin)){s=E(s)?s:[s];for(var l=0;l<s.length;l++)s[l]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var X={on:function(s,l,u){if(typeof s=="object")for(var g in s)this._on(g,s[g],l);else{s=v(s);for(var m=0,x=s.length;m<x;m++)this._on(s[m],l,u)}return this},off:function(s,l,u){if(!arguments.length)delete this._events;else if(typeof s=="object")for(var g in s)this._off(g,s[g],l);else{s=v(s);for(var m=arguments.length===1,x=0,T=s.length;x<T;x++)m?this._off(s[x]):this._off(s[x],l,u)}return this},_on:function(s,l,u,g){if(typeof l!="function"){console.warn("wrong listener type: "+typeof l);return}if(this._listens(s,l,u)===!1){u===this&&(u=void 0);var m={fn:l,ctx:u};g&&(m.once=!0),this._events=this._events||{},this._events[s]=this._events[s]||[],this._events[s].push(m)}},_off:function(s,l,u){var g,m,x;if(this._events&&(g=this._events[s],!!g)){if(arguments.length===1){if(this._firingCount)for(m=0,x=g.length;m<x;m++)g[m].fn=p;delete this._events[s];return}if(typeof l!="function"){console.warn("wrong listener type: "+typeof l);return}var T=this._listens(s,l,u);if(T!==!1){var S=g[T];this._firingCount&&(S.fn=p,this._events[s]=g=g.slice()),g.splice(T,1)}}},fire:function(s,l,u){if(!this.listens(s,u))return this;var g=n({},l,{type:s,target:this,sourceTarget:l&&l.sourceTarget||this});if(this._events){var m=this._events[s];if(m){this._firingCount=this._firingCount+1||1;for(var x=0,T=m.length;x<T;x++){var S=m[x],I=S.fn;S.once&&this.off(s,I,S.ctx),I.call(S.ctx||this,g)}this._firingCount--}}return u&&this._propagateEvent(g),this},listens:function(s,l,u,g){typeof s!="string"&&console.warn('"string" type argument expected');var m=l;typeof l!="function"&&(g=!!l,m=void 0,u=void 0);var x=this._events&&this._events[s];if(x&&x.length&&this._listens(s,m,u)!==!1)return!0;if(g){for(var T in this._eventParents)if(this._eventParents[T].listens(s,l,u,g))return!0}return!1},_listens:function(s,l,u){if(!this._events)return!1;var g=this._events[s]||[];if(!l)return!!g.length;u===this&&(u=void 0);for(var m=0,x=g.length;m<x;m++)if(g[m].fn===l&&g[m].ctx===u)return m;return!1},once:function(s,l,u){if(typeof s=="object")for(var g in s)this._on(g,s[g],l,!0);else{s=v(s);for(var m=0,x=s.length;m<x;m++)this._on(s[m],l,u,!0)}return this},addEventParent:function(s){return this._eventParents=this._eventParents||{},this._eventParents[c(s)]=s,this},removeEventParent:function(s){return this._eventParents&&delete this._eventParents[c(s)],this},_propagateEvent:function(s){for(var l in this._eventParents)this._eventParents[l].fire(s.type,n({layer:s.target,propagatedFrom:s.target},s),!0)}};X.addEventListener=X.on,X.removeEventListener=X.clearAllEventListeners=X.off,X.addOneTimeEventListener=X.once,X.fireEvent=X.fire,X.hasEventListeners=X.listens;var U=ot.extend(X);function B(s,l,u){this.x=u?Math.round(s):s,this.y=u?Math.round(l):l}var et=Math.trunc||function(s){return s>0?Math.floor(s):Math.ceil(s)};B.prototype={clone:function(){return new B(this.x,this.y)},add:function(s){return this.clone()._add(W(s))},_add:function(s){return this.x+=s.x,this.y+=s.y,this},subtract:function(s){return this.clone()._subtract(W(s))},_subtract:function(s){return this.x-=s.x,this.y-=s.y,this},divideBy:function(s){return this.clone()._divideBy(s)},_divideBy:function(s){return this.x/=s,this.y/=s,this},multiplyBy:function(s){return this.clone()._multiplyBy(s)},_multiplyBy:function(s){return this.x*=s,this.y*=s,this},scaleBy:function(s){return new B(this.x*s.x,this.y*s.y)},unscaleBy:function(s){return new B(this.x/s.x,this.y/s.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=et(this.x),this.y=et(this.y),this},distanceTo:function(s){s=W(s);var l=s.x-this.x,u=s.y-this.y;return Math.sqrt(l*l+u*u)},equals:function(s){return s=W(s),s.x===this.x&&s.y===this.y},contains:function(s){return s=W(s),Math.abs(s.x)<=Math.abs(this.x)&&Math.abs(s.y)<=Math.abs(this.y)},toString:function(){return"Point("+_(this.x)+", "+_(this.y)+")"}};function W(s,l,u){return s instanceof B?s:E(s)?new B(s[0],s[1]):s==null?s:typeof s=="object"&&"x"in s&&"y"in s?new B(s.x,s.y):new B(s,l,u)}function it(s,l){if(s)for(var u=l?[s,l]:s,g=0,m=u.length;g<m;g++)this.extend(u[g])}it.prototype={extend:function(s){var l,u;if(!s)return this;if(s instanceof B||typeof s[0]=="number"||"x"in s)l=u=W(s);else if(s=z(s),l=s.min,u=s.max,!l||!u)return this;return!this.min&&!this.max?(this.min=l.clone(),this.max=u.clone()):(this.min.x=Math.min(l.x,this.min.x),this.max.x=Math.max(u.x,this.max.x),this.min.y=Math.min(l.y,this.min.y),this.max.y=Math.max(u.y,this.max.y)),this},getCenter:function(s){return W((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,s)},getBottomLeft:function(){return W(this.min.x,this.max.y)},getTopRight:function(){return W(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(s){var l,u;return typeof s[0]=="number"||s instanceof B?s=W(s):s=z(s),s instanceof it?(l=s.min,u=s.max):l=u=s,l.x>=this.min.x&&u.x<=this.max.x&&l.y>=this.min.y&&u.y<=this.max.y},intersects:function(s){s=z(s);var l=this.min,u=this.max,g=s.min,m=s.max,x=m.x>=l.x&&g.x<=u.x,T=m.y>=l.y&&g.y<=u.y;return x&&T},overlaps:function(s){s=z(s);var l=this.min,u=this.max,g=s.min,m=s.max,x=m.x>l.x&&g.x<u.x,T=m.y>l.y&&g.y<u.y;return x&&T},isValid:function(){return!!(this.min&&this.max)},pad:function(s){var l=this.min,u=this.max,g=Math.abs(l.x-u.x)*s,m=Math.abs(l.y-u.y)*s;return z(W(l.x-g,l.y-m),W(u.x+g,u.y+m))},equals:function(s){return s?(s=z(s),this.min.equals(s.getTopLeft())&&this.max.equals(s.getBottomRight())):!1}};function z(s,l){return!s||s instanceof it?s:new it(s,l)}function gt(s,l){if(s)for(var u=l?[s,l]:s,g=0,m=u.length;g<m;g++)this.extend(u[g])}gt.prototype={extend:function(s){var l=this._southWest,u=this._northEast,g,m;if(s instanceof q)g=s,m=s;else if(s instanceof gt){if(g=s._southWest,m=s._northEast,!g||!m)return this}else return s?this.extend(lt(s)||J(s)):this;return!l&&!u?(this._southWest=new q(g.lat,g.lng),this._northEast=new q(m.lat,m.lng)):(l.lat=Math.min(g.lat,l.lat),l.lng=Math.min(g.lng,l.lng),u.lat=Math.max(m.lat,u.lat),u.lng=Math.max(m.lng,u.lng)),this},pad:function(s){var l=this._southWest,u=this._northEast,g=Math.abs(l.lat-u.lat)*s,m=Math.abs(l.lng-u.lng)*s;return new gt(new q(l.lat-g,l.lng-m),new q(u.lat+g,u.lng+m))},getCenter:function(){return new q((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new q(this.getNorth(),this.getWest())},getSouthEast:function(){return new q(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(s){typeof s[0]=="number"||s instanceof q||"lat"in s?s=lt(s):s=J(s);var l=this._southWest,u=this._northEast,g,m;return s instanceof gt?(g=s.getSouthWest(),m=s.getNorthEast()):g=m=s,g.lat>=l.lat&&m.lat<=u.lat&&g.lng>=l.lng&&m.lng<=u.lng},intersects:function(s){s=J(s);var l=this._southWest,u=this._northEast,g=s.getSouthWest(),m=s.getNorthEast(),x=m.lat>=l.lat&&g.lat<=u.lat,T=m.lng>=l.lng&&g.lng<=u.lng;return x&&T},overlaps:function(s){s=J(s);var l=this._southWest,u=this._northEast,g=s.getSouthWest(),m=s.getNorthEast(),x=m.lat>l.lat&&g.lat<u.lat,T=m.lng>l.lng&&g.lng<u.lng;return x&&T},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(s,l){return s?(s=J(s),this._southWest.equals(s.getSouthWest(),l)&&this._northEast.equals(s.getNorthEast(),l)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function J(s,l){return s instanceof gt?s:new gt(s,l)}function q(s,l,u){if(isNaN(s)||isNaN(l))throw new Error("Invalid LatLng object: ("+s+", "+l+")");this.lat=+s,this.lng=+l,u!==void 0&&(this.alt=+u)}q.prototype={equals:function(s,l){if(!s)return!1;s=lt(s);var u=Math.max(Math.abs(this.lat-s.lat),Math.abs(this.lng-s.lng));return u<=(l===void 0?1e-9:l)},toString:function(s){return"LatLng("+_(this.lat,s)+", "+_(this.lng,s)+")"},distanceTo:function(s){return Tt.distance(this,lt(s))},wrap:function(){return Tt.wrapLatLng(this)},toBounds:function(s){var l=180*s/40075017,u=l/Math.cos(Math.PI/180*this.lat);return J([this.lat-l,this.lng-u],[this.lat+l,this.lng+u])},clone:function(){return new q(this.lat,this.lng,this.alt)}};function lt(s,l,u){return s instanceof q?s:E(s)&&typeof s[0]!="object"?s.length===3?new q(s[0],s[1],s[2]):s.length===2?new q(s[0],s[1]):null:s==null?s:typeof s=="object"&&"lat"in s?new q(s.lat,"lng"in s?s.lng:s.lon,s.alt):l===void 0?null:new q(s,l,u)}var Ft={latLngToPoint:function(s,l){var u=this.projection.project(s),g=this.scale(l);return this.transformation._transform(u,g)},pointToLatLng:function(s,l){var u=this.scale(l),g=this.transformation.untransform(s,u);return this.projection.unproject(g)},project:function(s){return this.projection.project(s)},unproject:function(s){return this.projection.unproject(s)},scale:function(s){return 256*Math.pow(2,s)},zoom:function(s){return Math.log(s/256)/Math.LN2},getProjectedBounds:function(s){if(this.infinite)return null;var l=this.projection.bounds,u=this.scale(s),g=this.transformation.transform(l.min,u),m=this.transformation.transform(l.max,u);return new it(g,m)},infinite:!1,wrapLatLng:function(s){var l=this.wrapLng?f(s.lng,this.wrapLng,!0):s.lng,u=this.wrapLat?f(s.lat,this.wrapLat,!0):s.lat,g=s.alt;return new q(u,l,g)},wrapLatLngBounds:function(s){var l=s.getCenter(),u=this.wrapLatLng(l),g=l.lat-u.lat,m=l.lng-u.lng;if(g===0&&m===0)return s;var x=s.getSouthWest(),T=s.getNorthEast(),S=new q(x.lat-g,x.lng-m),I=new q(T.lat-g,T.lng-m);return new gt(S,I)}},Tt=n({},Ft,{wrapLng:[-180,180],R:6371e3,distance:function(s,l){var u=Math.PI/180,g=s.lat*u,m=l.lat*u,x=Math.sin((l.lat-s.lat)*u/2),T=Math.sin((l.lng-s.lng)*u/2),S=x*x+Math.cos(g)*Math.cos(m)*T*T,I=2*Math.atan2(Math.sqrt(S),Math.sqrt(1-S));return this.R*I}}),ve=6378137,He={R:ve,MAX_LATITUDE:85.0511287798,project:function(s){var l=Math.PI/180,u=this.MAX_LATITUDE,g=Math.max(Math.min(u,s.lat),-u),m=Math.sin(g*l);return new B(this.R*s.lng*l,this.R*Math.log((1+m)/(1-m))/2)},unproject:function(s){var l=180/Math.PI;return new q((2*Math.atan(Math.exp(s.y/this.R))-Math.PI/2)*l,s.x*l/this.R)},bounds:function(){var s=ve*Math.PI;return new it([-s,-s],[s,s])}()};function ki(s,l,u,g){if(E(s)){this._a=s[0],this._b=s[1],this._c=s[2],this._d=s[3];return}this._a=s,this._b=l,this._c=u,this._d=g}ki.prototype={transform:function(s,l){return this._transform(s.clone(),l)},_transform:function(s,l){return l=l||1,s.x=l*(this._a*s.x+this._b),s.y=l*(this._c*s.y+this._d),s},untransform:function(s,l){return l=l||1,new B((s.x/l-this._b)/this._a,(s.y/l-this._d)/this._c)}};function xe(s,l,u,g){return new ki(s,l,u,g)}var Oi=n({},Tt,{code:"EPSG:3857",projection:He,transformation:function(){var s=.5/(Math.PI*He.R);return xe(s,.5,-s,.5)}()}),We=n({},Oi,{code:"EPSG:900913"});function Fi(s){return document.createElementNS("http://www.w3.org/2000/svg",s)}function Me(s,l){var u="",g,m,x,T,S,I;for(g=0,x=s.length;g<x;g++){for(S=s[g],m=0,T=S.length;m<T;m++)I=S[m],u+=(m?"L":"M")+I.x+" "+I.y;u+=l?tt.svg?"z":"x":""}return u||"M0 0"}var zi=document.documentElement.style,di="ActiveXObject"in window,Zn=di&&!document.addEventListener,fi="msLaunchUri"in navigator&&!("documentMode"in document),hn=zt("webkit"),Zt=zt("android"),ie=zt("android 2")||zt("android 3"),_e=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Pe=Zt&&zt("Google")&&_e<537&&!("AudioNode"in window),Ye=!!window.opera,Xe=!fi&&zt("chrome"),De=zt("gecko")&&!hn&&!Ye&&!di,Bi=!Xe&&zt("safari"),cn=zt("phantom"),Wt="OTransition"in zi,Ur=navigator.platform.indexOf("Win")===0,Do=di&&"transition"in zi,jr="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!ie,Hr="MozPerspective"in zi,So=!window.L_DISABLE_3D&&(Do||jr||Hr)&&!Wt&&!cn,gi=typeof orientation<"u"||zt("mobile"),Ro=gi&&hn,Wr=gi&&jr,Ni=!window.PointerEvent&&window.MSPointerEvent,Gi=!!(window.PointerEvent||Ni),Ui="ontouchstart"in window||!!window.TouchEvent,Io=!window.L_NO_TOUCH&&(Ui||Gi),ko=gi&&Ye,ne=gi&&De,ji=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,he=function(){var s=!1;try{var l=Object.defineProperty({},"passive",{get:function(){s=!0}});window.addEventListener("testPassiveEventSupport",p,l),window.removeEventListener("testPassiveEventSupport",p,l)}catch{}return s}(),Se=function(){return!!document.createElement("canvas").getContext}(),Vt=!!(document.createElementNS&&Fi("svg").createSVGRect),Vn=!!Vt&&function(){var s=document.createElement("div");return s.innerHTML="<svg/>",(s.firstChild&&s.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Kn=!Vt&&function(){try{var s=document.createElement("div");s.innerHTML='<v:shape adj="1"/>';var l=s.firstChild;return l.style.behavior="url(#default#VML)",l&&typeof l.adj=="object"}catch{return!1}}(),te=navigator.platform.indexOf("Mac")===0,ce=navigator.platform.indexOf("Linux")===0;function zt(s){return navigator.userAgent.toLowerCase().indexOf(s)>=0}var tt={ie:di,ielt9:Zn,edge:fi,webkit:hn,android:Zt,android23:ie,androidStock:Pe,opera:Ye,chrome:Xe,gecko:De,safari:Bi,phantom:cn,opera12:Wt,win:Ur,ie3d:Do,webkit3d:jr,gecko3d:Hr,any3d:So,mobile:gi,mobileWebkit:Ro,mobileWebkit3d:Wr,msPointer:Ni,pointer:Gi,touch:Io,touchNative:Ui,mobileOpera:ko,mobileGecko:ne,retina:ji,passiveEvents:he,canvas:Se,svg:Vt,vml:Kn,inlineSvg:Vn,mac:te,linux:ce},af=tt.msPointer?"MSPointerDown":"pointerdown",lf=tt.msPointer?"MSPointerMove":"pointermove",hf=tt.msPointer?"MSPointerUp":"pointerup",cf=tt.msPointer?"MSPointerCancel":"pointercancel",Kl={touchstart:af,touchmove:lf,touchend:hf,touchcancel:cf},uf={touchstart:P0,touchmove:Oo,touchend:Oo,touchcancel:Oo},Qn={},df=!1;function C0(s,l,u){return l==="touchstart"&&M0(),uf[l]?(u=uf[l].bind(this,u),s.addEventListener(Kl[l],u,!1),u):(console.warn("wrong event specified:",l),p)}function L0(s,l,u){if(!Kl[l]){console.warn("wrong event specified:",l);return}s.removeEventListener(Kl[l],u,!1)}function b0(s){Qn[s.pointerId]=s}function T0(s){Qn[s.pointerId]&&(Qn[s.pointerId]=s)}function ff(s){delete Qn[s.pointerId]}function M0(){df||(document.addEventListener(af,b0,!0),document.addEventListener(lf,T0,!0),document.addEventListener(hf,ff,!0),document.addEventListener(cf,ff,!0),df=!0)}function Oo(s,l){if(l.pointerType!==(l.MSPOINTER_TYPE_MOUSE||"mouse")){l.touches=[];for(var u in Qn)l.touches.push(Qn[u]);l.changedTouches=[l],s(l)}}function P0(s,l){l.MSPOINTER_TYPE_TOUCH&&l.pointerType===l.MSPOINTER_TYPE_TOUCH&&Kt(l),Oo(s,l)}function D0(s){var l={},u,g;for(g in s)u=s[g],l[g]=u&&u.bind?u.bind(s):u;return s=l,l.type="dblclick",l.detail=2,l.isTrusted=!1,l._simulated=!0,l}var S0=200;function R0(s,l){s.addEventListener("dblclick",l);var u=0,g;function m(x){if(x.detail!==1){g=x.detail;return}if(!(x.pointerType==="mouse"||x.sourceCapabilities&&!x.sourceCapabilities.firesTouchEvents)){var T=yf(x);if(!(T.some(function(I){return I instanceof HTMLLabelElement&&I.attributes.for})&&!T.some(function(I){return I instanceof HTMLInputElement||I instanceof HTMLSelectElement}))){var S=Date.now();S-u<=S0?(g++,g===2&&l(D0(x))):g=1,u=S}}}return s.addEventListener("click",m),{dblclick:l,simDblclick:m}}function I0(s,l){s.removeEventListener("dblclick",l.dblclick),s.removeEventListener("click",l.simDblclick)}var Ql=Bo(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Yr=Bo(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),gf=Yr==="webkitTransition"||Yr==="OTransition"?Yr+"End":"transitionend";function pf(s){return typeof s=="string"?document.getElementById(s):s}function Xr(s,l){var u=s.style[l]||s.currentStyle&&s.currentStyle[l];if((!u||u==="auto")&&document.defaultView){var g=document.defaultView.getComputedStyle(s,null);u=g?g[l]:null}return u==="auto"?null:u}function xt(s,l,u){var g=document.createElement(s);return g.className=l||"",u&&u.appendChild(g),g}function Dt(s){var l=s.parentNode;l&&l.removeChild(s)}function Fo(s){for(;s.firstChild;)s.removeChild(s.firstChild)}function qn(s){var l=s.parentNode;l&&l.lastChild!==s&&l.appendChild(s)}function Jn(s){var l=s.parentNode;l&&l.firstChild!==s&&l.insertBefore(s,l.firstChild)}function ql(s,l){if(s.classList!==void 0)return s.classList.contains(l);var u=zo(s);return u.length>0&&new RegExp("(^|\\s)"+l+"(\\s|$)").test(u)}function dt(s,l){if(s.classList!==void 0)for(var u=v(l),g=0,m=u.length;g<m;g++)s.classList.add(u[g]);else if(!ql(s,l)){var x=zo(s);Jl(s,(x?x+" ":"")+l)}}function It(s,l){s.classList!==void 0?s.classList.remove(l):Jl(s,y((" "+zo(s)+" ").replace(" "+l+" "," ")))}function Jl(s,l){s.className.baseVal===void 0?s.className=l:s.className.baseVal=l}function zo(s){return s.correspondingElement&&(s=s.correspondingElement),s.className.baseVal===void 0?s.className:s.className.baseVal}function Ae(s,l){"opacity"in s.style?s.style.opacity=l:"filter"in s.style&&k0(s,l)}function k0(s,l){var u=!1,g="DXImageTransform.Microsoft.Alpha";try{u=s.filters.item(g)}catch{if(l===1)return}l=Math.round(l*100),u?(u.Enabled=l!==100,u.Opacity=l):s.style.filter+=" progid:"+g+"(opacity="+l+")"}function Bo(s){for(var l=document.documentElement.style,u=0;u<s.length;u++)if(s[u]in l)return s[u];return!1}function un(s,l,u){var g=l||new B(0,0);s.style[Ql]=(tt.ie3d?"translate("+g.x+"px,"+g.y+"px)":"translate3d("+g.x+"px,"+g.y+"px,0)")+(u?" scale("+u+")":"")}function Bt(s,l){s._leaflet_pos=l,tt.any3d?un(s,l):(s.style.left=l.x+"px",s.style.top=l.y+"px")}function dn(s){return s._leaflet_pos||new B(0,0)}var Zr,Vr,$l;if("onselectstart"in document)Zr=function(){ct(window,"selectstart",Kt)},Vr=function(){Mt(window,"selectstart",Kt)};else{var Kr=Bo(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Zr=function(){if(Kr){var s=document.documentElement.style;$l=s[Kr],s[Kr]="none"}},Vr=function(){Kr&&(document.documentElement.style[Kr]=$l,$l=void 0)}}function th(){ct(window,"dragstart",Kt)}function eh(){Mt(window,"dragstart",Kt)}var No,ih;function nh(s){for(;s.tabIndex===-1;)s=s.parentNode;s.style&&(Go(),No=s,ih=s.style.outlineStyle,s.style.outlineStyle="none",ct(window,"keydown",Go))}function Go(){No&&(No.style.outlineStyle=ih,No=void 0,ih=void 0,Mt(window,"keydown",Go))}function mf(s){do s=s.parentNode;while((!s.offsetWidth||!s.offsetHeight)&&s!==document.body);return s}function rh(s){var l=s.getBoundingClientRect();return{x:l.width/s.offsetWidth||1,y:l.height/s.offsetHeight||1,boundingClientRect:l}}var O0={__proto__:null,TRANSFORM:Ql,TRANSITION:Yr,TRANSITION_END:gf,get:pf,getStyle:Xr,create:xt,remove:Dt,empty:Fo,toFront:qn,toBack:Jn,hasClass:ql,addClass:dt,removeClass:It,setClass:Jl,getClass:zo,setOpacity:Ae,testProp:Bo,setTransform:un,setPosition:Bt,getPosition:dn,get disableTextSelection(){return Zr},get enableTextSelection(){return Vr},disableImageDrag:th,enableImageDrag:eh,preventOutline:nh,restoreOutline:Go,getSizedParentNode:mf,getScale:rh};function ct(s,l,u,g){if(l&&typeof l=="object")for(var m in l)oh(s,m,l[m],u);else{l=v(l);for(var x=0,T=l.length;x<T;x++)oh(s,l[x],u,g)}return this}var Ze="_leaflet_events";function Mt(s,l,u,g){if(arguments.length===1)_f(s),delete s[Ze];else if(l&&typeof l=="object")for(var m in l)ah(s,m,l[m],u);else if(l=v(l),arguments.length===2)_f(s,function(S){return C(l,S)!==-1});else for(var x=0,T=l.length;x<T;x++)ah(s,l[x],u,g);return this}function _f(s,l){for(var u in s[Ze]){var g=u.split(/\d/)[0];(!l||l(g))&&ah(s,g,null,null,u)}}var sh={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function oh(s,l,u,g){var m=l+c(u)+(g?"_"+c(g):"");if(s[Ze]&&s[Ze][m])return this;var x=function(S){return u.call(g||s,S||window.event)},T=x;!tt.touchNative&&tt.pointer&&l.indexOf("touch")===0?x=C0(s,l,x):tt.touch&&l==="dblclick"?x=R0(s,x):"addEventListener"in s?l==="touchstart"||l==="touchmove"||l==="wheel"||l==="mousewheel"?s.addEventListener(sh[l]||l,x,tt.passiveEvents?{passive:!1}:!1):l==="mouseenter"||l==="mouseleave"?(x=function(S){S=S||window.event,hh(s,S)&&T(S)},s.addEventListener(sh[l],x,!1)):s.addEventListener(l,T,!1):s.attachEvent("on"+l,x),s[Ze]=s[Ze]||{},s[Ze][m]=x}function ah(s,l,u,g,m){m=m||l+c(u)+(g?"_"+c(g):"");var x=s[Ze]&&s[Ze][m];if(!x)return this;!tt.touchNative&&tt.pointer&&l.indexOf("touch")===0?L0(s,l,x):tt.touch&&l==="dblclick"?I0(s,x):"removeEventListener"in s?s.removeEventListener(sh[l]||l,x,!1):s.detachEvent("on"+l,x),s[Ze][m]=null}function fn(s){return s.stopPropagation?s.stopPropagation():s.originalEvent?s.originalEvent._stopped=!0:s.cancelBubble=!0,this}function lh(s){return oh(s,"wheel",fn),this}function Qr(s){return ct(s,"mousedown touchstart dblclick contextmenu",fn),s._leaflet_disable_click=!0,this}function Kt(s){return s.preventDefault?s.preventDefault():s.returnValue=!1,this}function gn(s){return Kt(s),fn(s),this}function yf(s){if(s.composedPath)return s.composedPath();for(var l=[],u=s.target;u;)l.push(u),u=u.parentNode;return l}function vf(s,l){if(!l)return new B(s.clientX,s.clientY);var u=rh(l),g=u.boundingClientRect;return new B((s.clientX-g.left)/u.x-l.clientLeft,(s.clientY-g.top)/u.y-l.clientTop)}var F0=tt.linux&&tt.chrome?window.devicePixelRatio:tt.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function xf(s){return tt.edge?s.wheelDeltaY/2:s.deltaY&&s.deltaMode===0?-s.deltaY/F0:s.deltaY&&s.deltaMode===1?-s.deltaY*20:s.deltaY&&s.deltaMode===2?-s.deltaY*60:s.deltaX||s.deltaZ?0:s.wheelDelta?(s.wheelDeltaY||s.wheelDelta)/2:s.detail&&Math.abs(s.detail)<32765?-s.detail*20:s.detail?s.detail/-32765*60:0}function hh(s,l){var u=l.relatedTarget;if(!u)return!0;try{for(;u&&u!==s;)u=u.parentNode}catch{return!1}return u!==s}var z0={__proto__:null,on:ct,off:Mt,stopPropagation:fn,disableScrollPropagation:lh,disableClickPropagation:Qr,preventDefault:Kt,stop:gn,getPropagationPath:yf,getMousePosition:vf,getWheelDelta:xf,isExternalTarget:hh,addListener:ct,removeListener:Mt},Af=U.extend({run:function(s,l,u,g){this.stop(),this._el=s,this._inProgress=!0,this._duration=u||.25,this._easeOutPower=1/Math.max(g||.5,.2),this._startPos=dn(s),this._offset=l.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=G(this._animate,this),this._step()},_step:function(s){var l=+new Date-this._startTime,u=this._duration*1e3;l<u?this._runFrame(this._easeOut(l/u),s):(this._runFrame(1),this._complete())},_runFrame:function(s,l){var u=this._startPos.add(this._offset.multiplyBy(s));l&&u._round(),Bt(this._el,u),this.fire("step")},_complete:function(){Z(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(s){return 1-Math.pow(1-s,this._easeOutPower)}}),vt=U.extend({options:{crs:Oi,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(s,l){l=A(this,l),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(s),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),l.maxBounds&&this.setMaxBounds(l.maxBounds),l.zoom!==void 0&&(this._zoom=this._limitZoom(l.zoom)),l.center&&l.zoom!==void 0&&this.setView(lt(l.center),l.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Yr&&tt.any3d&&!tt.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),ct(this._proxy,gf,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(s,l,u){if(l=l===void 0?this._zoom:this._limitZoom(l),s=this._limitCenter(lt(s),l,this.options.maxBounds),u=u||{},this._stop(),this._loaded&&!u.reset&&u!==!0){u.animate!==void 0&&(u.zoom=n({animate:u.animate},u.zoom),u.pan=n({animate:u.animate,duration:u.duration},u.pan));var g=this._zoom!==l?this._tryAnimatedZoom&&this._tryAnimatedZoom(s,l,u.zoom):this._tryAnimatedPan(s,u.pan);if(g)return clearTimeout(this._sizeTimer),this}return this._resetView(s,l,u.pan&&u.pan.noMoveStart),this},setZoom:function(s,l){return this._loaded?this.setView(this.getCenter(),s,{zoom:l}):(this._zoom=s,this)},zoomIn:function(s,l){return s=s||(tt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+s,l)},zoomOut:function(s,l){return s=s||(tt.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-s,l)},setZoomAround:function(s,l,u){var g=this.getZoomScale(l),m=this.getSize().divideBy(2),x=s instanceof B?s:this.latLngToContainerPoint(s),T=x.subtract(m).multiplyBy(1-1/g),S=this.containerPointToLatLng(m.add(T));return this.setView(S,l,{zoom:u})},_getBoundsCenterZoom:function(s,l){l=l||{},s=s.getBounds?s.getBounds():J(s);var u=W(l.paddingTopLeft||l.padding||[0,0]),g=W(l.paddingBottomRight||l.padding||[0,0]),m=this.getBoundsZoom(s,!1,u.add(g));if(m=typeof l.maxZoom=="number"?Math.min(l.maxZoom,m):m,m===1/0)return{center:s.getCenter(),zoom:m};var x=g.subtract(u).divideBy(2),T=this.project(s.getSouthWest(),m),S=this.project(s.getNorthEast(),m),I=this.unproject(T.add(S).divideBy(2).add(x),m);return{center:I,zoom:m}},fitBounds:function(s,l){if(s=J(s),!s.isValid())throw new Error("Bounds are not valid.");var u=this._getBoundsCenterZoom(s,l);return this.setView(u.center,u.zoom,l)},fitWorld:function(s){return this.fitBounds([[-90,-180],[90,180]],s)},panTo:function(s,l){return this.setView(s,this._zoom,{pan:l})},panBy:function(s,l){if(s=W(s).round(),l=l||{},!s.x&&!s.y)return this.fire("moveend");if(l.animate!==!0&&!this.getSize().contains(s))return this._resetView(this.unproject(this.project(this.getCenter()).add(s)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Af,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),l.noMoveStart||this.fire("movestart"),l.animate!==!1){dt(this._mapPane,"leaflet-pan-anim");var u=this._getMapPanePos().subtract(s).round();this._panAnim.run(this._mapPane,u,l.duration||.25,l.easeLinearity)}else this._rawPanBy(s),this.fire("move").fire("moveend");return this},flyTo:function(s,l,u){if(u=u||{},u.animate===!1||!tt.any3d)return this.setView(s,l,u);this._stop();var g=this.project(this.getCenter()),m=this.project(s),x=this.getSize(),T=this._zoom;s=lt(s),l=l===void 0?T:l;var S=Math.max(x.x,x.y),I=S*this.getZoomScale(T,l),N=m.distanceTo(g)||1,K=1.42,st=K*K;function pt(Nt){var Jo=Nt?-1:1,LE=Nt?I:S,bE=I*I-S*S+Jo*st*st*N*N,TE=2*LE*st*N,xh=bE/TE,eg=Math.sqrt(xh*xh+1)-xh,ME=eg<1e-9?-18:Math.log(eg);return ME}function re(Nt){return(Math.exp(Nt)-Math.exp(-Nt))/2}function Yt(Nt){return(Math.exp(Nt)+Math.exp(-Nt))/2}function Ee(Nt){return re(Nt)/Yt(Nt)}var ue=pt(0);function rr(Nt){return S*(Yt(ue)/Yt(ue+K*Nt))}function AE(Nt){return S*(Yt(ue)*Ee(ue+K*Nt)-re(ue))/st}function wE(Nt){return 1-Math.pow(1-Nt,1.5)}var EE=Date.now(),$f=(pt(1)-ue)/K,CE=u.duration?1e3*u.duration:1e3*$f*.8;function tg(){var Nt=(Date.now()-EE)/CE,Jo=wE(Nt)*$f;Nt<=1?(this._flyToFrame=G(tg,this),this._move(this.unproject(g.add(m.subtract(g).multiplyBy(AE(Jo)/N)),T),this.getScaleZoom(S/rr(Jo),T),{flyTo:!0})):this._move(s,l)._moveEnd(!0)}return this._moveStart(!0,u.noMoveStart),tg.call(this),this},flyToBounds:function(s,l){var u=this._getBoundsCenterZoom(s,l);return this.flyTo(u.center,u.zoom,l)},setMaxBounds:function(s){return s=J(s),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),s.isValid()?(this.options.maxBounds=s,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(s){var l=this.options.minZoom;return this.options.minZoom=s,this._loaded&&l!==s&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(s):this},setMaxZoom:function(s){var l=this.options.maxZoom;return this.options.maxZoom=s,this._loaded&&l!==s&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(s):this},panInsideBounds:function(s,l){this._enforcingBounds=!0;var u=this.getCenter(),g=this._limitCenter(u,this._zoom,J(s));return u.equals(g)||this.panTo(g,l),this._enforcingBounds=!1,this},panInside:function(s,l){l=l||{};var u=W(l.paddingTopLeft||l.padding||[0,0]),g=W(l.paddingBottomRight||l.padding||[0,0]),m=this.project(this.getCenter()),x=this.project(s),T=this.getPixelBounds(),S=z([T.min.add(u),T.max.subtract(g)]),I=S.getSize();if(!S.contains(x)){this._enforcingBounds=!0;var N=x.subtract(S.getCenter()),K=S.extend(x).getSize().subtract(I);m.x+=N.x<0?-K.x:K.x,m.y+=N.y<0?-K.y:K.y,this.panTo(this.unproject(m),l),this._enforcingBounds=!1}return this},invalidateSize:function(s){if(!this._loaded)return this;s=n({animate:!1,pan:!0},s===!0?{animate:!0}:s);var l=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var u=this.getSize(),g=l.divideBy(2).round(),m=u.divideBy(2).round(),x=g.subtract(m);return!x.x&&!x.y?this:(s.animate&&s.pan?this.panBy(x):(s.pan&&this._rawPanBy(x),this.fire("move"),s.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:l,newSize:u}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(s){if(s=this._locateOptions=n({timeout:1e4,watch:!1},s),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var l=a(this._handleGeolocationResponse,this),u=a(this._handleGeolocationError,this);return s.watch?this._locationWatchId=navigator.geolocation.watchPosition(l,u,s):navigator.geolocation.getCurrentPosition(l,u,s),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(s){if(this._container._leaflet_id){var l=s.code,u=s.message||(l===1?"permission denied":l===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:l,message:"Geolocation error: "+u+"."})}},_handleGeolocationResponse:function(s){if(this._container._leaflet_id){var l=s.coords.latitude,u=s.coords.longitude,g=new q(l,u),m=g.toBounds(s.coords.accuracy*2),x=this._locateOptions;if(x.setView){var T=this.getBoundsZoom(m);this.setView(g,x.maxZoom?Math.min(T,x.maxZoom):T)}var S={latlng:g,bounds:m,timestamp:s.timestamp};for(var I in s.coords)typeof s.coords[I]=="number"&&(S[I]=s.coords[I]);this.fire("locationfound",S)}},addHandler:function(s,l){if(!l)return this;var u=this[s]=new l(this);return this._handlers.push(u),this.options[s]&&u.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Dt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Z(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var s;for(s in this._layers)this._layers[s].remove();for(s in this._panes)Dt(this._panes[s]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(s,l){var u="leaflet-pane"+(s?" leaflet-"+s.replace("Pane","")+"-pane":""),g=xt("div",u,l||this._mapPane);return s&&(this._panes[s]=g),g},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var s=this.getPixelBounds(),l=this.unproject(s.getBottomLeft()),u=this.unproject(s.getTopRight());return new gt(l,u)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(s,l,u){s=J(s),u=W(u||[0,0]);var g=this.getZoom()||0,m=this.getMinZoom(),x=this.getMaxZoom(),T=s.getNorthWest(),S=s.getSouthEast(),I=this.getSize().subtract(u),N=z(this.project(S,g),this.project(T,g)).getSize(),K=tt.any3d?this.options.zoomSnap:1,st=I.x/N.x,pt=I.y/N.y,re=l?Math.max(st,pt):Math.min(st,pt);return g=this.getScaleZoom(re,g),K&&(g=Math.round(g/(K/100))*(K/100),g=l?Math.ceil(g/K)*K:Math.floor(g/K)*K),Math.max(m,Math.min(x,g))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new B(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(s,l){var u=this._getTopLeftPoint(s,l);return new it(u,u.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(s){return this.options.crs.getProjectedBounds(s===void 0?this.getZoom():s)},getPane:function(s){return typeof s=="string"?this._panes[s]:s},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(s,l){var u=this.options.crs;return l=l===void 0?this._zoom:l,u.scale(s)/u.scale(l)},getScaleZoom:function(s,l){var u=this.options.crs;l=l===void 0?this._zoom:l;var g=u.zoom(s*u.scale(l));return isNaN(g)?1/0:g},project:function(s,l){return l=l===void 0?this._zoom:l,this.options.crs.latLngToPoint(lt(s),l)},unproject:function(s,l){return l=l===void 0?this._zoom:l,this.options.crs.pointToLatLng(W(s),l)},layerPointToLatLng:function(s){var l=W(s).add(this.getPixelOrigin());return this.unproject(l)},latLngToLayerPoint:function(s){var l=this.project(lt(s))._round();return l._subtract(this.getPixelOrigin())},wrapLatLng:function(s){return this.options.crs.wrapLatLng(lt(s))},wrapLatLngBounds:function(s){return this.options.crs.wrapLatLngBounds(J(s))},distance:function(s,l){return this.options.crs.distance(lt(s),lt(l))},containerPointToLayerPoint:function(s){return W(s).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(s){return W(s).add(this._getMapPanePos())},containerPointToLatLng:function(s){var l=this.containerPointToLayerPoint(W(s));return this.layerPointToLatLng(l)},latLngToContainerPoint:function(s){return this.layerPointToContainerPoint(this.latLngToLayerPoint(lt(s)))},mouseEventToContainerPoint:function(s){return vf(s,this._container)},mouseEventToLayerPoint:function(s){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(s))},mouseEventToLatLng:function(s){return this.layerPointToLatLng(this.mouseEventToLayerPoint(s))},_initContainer:function(s){var l=this._container=pf(s);if(l){if(l._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");ct(l,"scroll",this._onScroll,this),this._containerId=c(l)},_initLayout:function(){var s=this._container;this._fadeAnimated=this.options.fadeAnimation&&tt.any3d,dt(s,"leaflet-container"+(tt.touch?" leaflet-touch":"")+(tt.retina?" leaflet-retina":"")+(tt.ielt9?" leaflet-oldie":"")+(tt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var l=Xr(s,"position");l!=="absolute"&&l!=="relative"&&l!=="fixed"&&l!=="sticky"&&(s.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var s=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Bt(this._mapPane,new B(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(dt(s.markerPane,"leaflet-zoom-hide"),dt(s.shadowPane,"leaflet-zoom-hide"))},_resetView:function(s,l,u){Bt(this._mapPane,new B(0,0));var g=!this._loaded;this._loaded=!0,l=this._limitZoom(l),this.fire("viewprereset");var m=this._zoom!==l;this._moveStart(m,u)._move(s,l)._moveEnd(m),this.fire("viewreset"),g&&this.fire("load")},_moveStart:function(s,l){return s&&this.fire("zoomstart"),l||this.fire("movestart"),this},_move:function(s,l,u,g){l===void 0&&(l=this._zoom);var m=this._zoom!==l;return this._zoom=l,this._lastCenter=s,this._pixelOrigin=this._getNewPixelOrigin(s),g?u&&u.pinch&&this.fire("zoom",u):((m||u&&u.pinch)&&this.fire("zoom",u),this.fire("move",u)),this},_moveEnd:function(s){return s&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return Z(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(s){Bt(this._mapPane,this._getMapPanePos().subtract(s))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(s){this._targets={},this._targets[c(this._container)]=this;var l=s?Mt:ct;l(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&l(window,"resize",this._onResize,this),tt.any3d&&this.options.transform3DLimit&&(s?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Z(this._resizeRequest),this._resizeRequest=G(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var s=this._getMapPanePos();Math.max(Math.abs(s.x),Math.abs(s.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(s,l){for(var u=[],g,m=l==="mouseout"||l==="mouseover",x=s.target||s.srcElement,T=!1;x;){if(g=this._targets[c(x)],g&&(l==="click"||l==="preclick")&&this._draggableMoved(g)){T=!0;break}if(g&&g.listens(l,!0)&&(m&&!hh(x,s)||(u.push(g),m))||x===this._container)break;x=x.parentNode}return!u.length&&!T&&!m&&this.listens(l,!0)&&(u=[this]),u},_isClickDisabled:function(s){for(;s&&s!==this._container;){if(s._leaflet_disable_click)return!0;s=s.parentNode}},_handleDOMEvent:function(s){var l=s.target||s.srcElement;if(!(!this._loaded||l._leaflet_disable_events||s.type==="click"&&this._isClickDisabled(l))){var u=s.type;u==="mousedown"&&nh(l),this._fireDOMEvent(s,u)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(s,l,u){if(s.type==="click"){var g=n({},s);g.type="preclick",this._fireDOMEvent(g,g.type,u)}var m=this._findEventTargets(s,l);if(u){for(var x=[],T=0;T<u.length;T++)u[T].listens(l,!0)&&x.push(u[T]);m=x.concat(m)}if(m.length){l==="contextmenu"&&Kt(s);var S=m[0],I={originalEvent:s};if(s.type!=="keypress"&&s.type!=="keydown"&&s.type!=="keyup"){var N=S.getLatLng&&(!S._radius||S._radius<=10);I.containerPoint=N?this.latLngToContainerPoint(S.getLatLng()):this.mouseEventToContainerPoint(s),I.layerPoint=this.containerPointToLayerPoint(I.containerPoint),I.latlng=N?S.getLatLng():this.layerPointToLatLng(I.layerPoint)}for(T=0;T<m.length;T++)if(m[T].fire(l,I,!0),I.originalEvent._stopped||m[T].options.bubblingMouseEvents===!1&&C(this._mouseEvents,l)!==-1)return}},_draggableMoved:function(s){return s=s.dragging&&s.dragging.enabled()?s:this,s.dragging&&s.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var s=0,l=this._handlers.length;s<l;s++)this._handlers[s].disable()},whenReady:function(s,l){return this._loaded?s.call(l||this,{target:this}):this.on("load",s,l),this},_getMapPanePos:function(){return dn(this._mapPane)||new B(0,0)},_moved:function(){var s=this._getMapPanePos();return s&&!s.equals([0,0])},_getTopLeftPoint:function(s,l){var u=s&&l!==void 0?this._getNewPixelOrigin(s,l):this.getPixelOrigin();return u.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(s,l){var u=this.getSize()._divideBy(2);return this.project(s,l)._subtract(u)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(s,l,u){var g=this._getNewPixelOrigin(u,l);return this.project(s,l)._subtract(g)},_latLngBoundsToNewLayerBounds:function(s,l,u){var g=this._getNewPixelOrigin(u,l);return z([this.project(s.getSouthWest(),l)._subtract(g),this.project(s.getNorthWest(),l)._subtract(g),this.project(s.getSouthEast(),l)._subtract(g),this.project(s.getNorthEast(),l)._subtract(g)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(s){return this.latLngToLayerPoint(s).subtract(this._getCenterLayerPoint())},_limitCenter:function(s,l,u){if(!u)return s;var g=this.project(s,l),m=this.getSize().divideBy(2),x=new it(g.subtract(m),g.add(m)),T=this._getBoundsOffset(x,u,l);return Math.abs(T.x)<=1&&Math.abs(T.y)<=1?s:this.unproject(g.add(T),l)},_limitOffset:function(s,l){if(!l)return s;var u=this.getPixelBounds(),g=new it(u.min.add(s),u.max.add(s));return s.add(this._getBoundsOffset(g,l))},_getBoundsOffset:function(s,l,u){var g=z(this.project(l.getNorthEast(),u),this.project(l.getSouthWest(),u)),m=g.min.subtract(s.min),x=g.max.subtract(s.max),T=this._rebound(m.x,-x.x),S=this._rebound(m.y,-x.y);return new B(T,S)},_rebound:function(s,l){return s+l>0?Math.round(s-l)/2:Math.max(0,Math.ceil(s))-Math.max(0,Math.floor(l))},_limitZoom:function(s){var l=this.getMinZoom(),u=this.getMaxZoom(),g=tt.any3d?this.options.zoomSnap:1;return g&&(s=Math.round(s/g)*g),Math.max(l,Math.min(u,s))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){It(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(s,l){var u=this._getCenterOffset(s)._trunc();return(l&&l.animate)!==!0&&!this.getSize().contains(u)?!1:(this.panBy(u,l),!0)},_createAnimProxy:function(){var s=this._proxy=xt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(s),this.on("zoomanim",function(l){var u=Ql,g=this._proxy.style[u];un(this._proxy,this.project(l.center,l.zoom),this.getZoomScale(l.zoom,1)),g===this._proxy.style[u]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Dt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var s=this.getCenter(),l=this.getZoom();un(this._proxy,this.project(s,l),this.getZoomScale(l,1))},_catchTransitionEnd:function(s){this._animatingZoom&&s.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(s,l,u){if(this._animatingZoom)return!0;if(u=u||{},!this._zoomAnimated||u.animate===!1||this._nothingToAnimate()||Math.abs(l-this._zoom)>this.options.zoomAnimationThreshold)return!1;var g=this.getZoomScale(l),m=this._getCenterOffset(s)._divideBy(1-1/g);return u.animate!==!0&&!this.getSize().contains(m)?!1:(G(function(){this._moveStart(!0,u.noMoveStart||!1)._animateZoom(s,l,!0)},this),!0)},_animateZoom:function(s,l,u,g){this._mapPane&&(u&&(this._animatingZoom=!0,this._animateToCenter=s,this._animateToZoom=l,dt(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:s,zoom:l,noUpdate:g}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&It(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function B0(s,l){return new vt(s,l)}var Re=ot.extend({options:{position:"topright"},initialize:function(s){A(this,s)},getPosition:function(){return this.options.position},setPosition:function(s){var l=this._map;return l&&l.removeControl(this),this.options.position=s,l&&l.addControl(this),this},getContainer:function(){return this._container},addTo:function(s){this.remove(),this._map=s;var l=this._container=this.onAdd(s),u=this.getPosition(),g=s._controlCorners[u];return dt(l,"leaflet-control"),u.indexOf("bottom")!==-1?g.insertBefore(l,g.firstChild):g.appendChild(l),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Dt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(s){this._map&&s&&s.screenX>0&&s.screenY>0&&this._map.getContainer().focus()}}),qr=function(s){return new Re(s)};vt.include({addControl:function(s){return s.addTo(this),this},removeControl:function(s){return s.remove(),this},_initControlPos:function(){var s=this._controlCorners={},l="leaflet-",u=this._controlContainer=xt("div",l+"control-container",this._container);function g(m,x){var T=l+m+" "+l+x;s[m+x]=xt("div",T,u)}g("top","left"),g("top","right"),g("bottom","left"),g("bottom","right")},_clearControlPos:function(){for(var s in this._controlCorners)Dt(this._controlCorners[s]);Dt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var wf=Re.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(s,l,u,g){return u<g?-1:g<u?1:0}},initialize:function(s,l,u){A(this,u),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var g in s)this._addLayer(s[g],g);for(g in l)this._addLayer(l[g],g,!0)},onAdd:function(s){this._initLayout(),this._update(),this._map=s,s.on("zoomend",this._checkDisabledLayers,this);for(var l=0;l<this._layers.length;l++)this._layers[l].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(s){return Re.prototype.addTo.call(this,s),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var s=0;s<this._layers.length;s++)this._layers[s].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(s,l){return this._addLayer(s,l),this._map?this._update():this},addOverlay:function(s,l){return this._addLayer(s,l,!0),this._map?this._update():this},removeLayer:function(s){s.off("add remove",this._onLayerChange,this);var l=this._getLayer(c(s));return l&&this._layers.splice(this._layers.indexOf(l),1),this._map?this._update():this},expand:function(){dt(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var s=this._map.getSize().y-(this._container.offsetTop+50);return s<this._section.clientHeight?(dt(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=s+"px"):It(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return It(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var s="leaflet-control-layers",l=this._container=xt("div",s),u=this.options.collapsed;l.setAttribute("aria-haspopup",!0),Qr(l),lh(l);var g=this._section=xt("section",s+"-list");u&&(this._map.on("click",this.collapse,this),ct(l,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var m=this._layersLink=xt("a",s+"-toggle",l);m.href="#",m.title="Layers",m.setAttribute("role","button"),ct(m,{keydown:function(x){x.keyCode===13&&this._expandSafely()},click:function(x){Kt(x),this._expandSafely()}},this),u||this.expand(),this._baseLayersList=xt("div",s+"-base",g),this._separator=xt("div",s+"-separator",g),this._overlaysList=xt("div",s+"-overlays",g),l.appendChild(g)},_getLayer:function(s){for(var l=0;l<this._layers.length;l++)if(this._layers[l]&&c(this._layers[l].layer)===s)return this._layers[l]},_addLayer:function(s,l,u){this._map&&s.on("add remove",this._onLayerChange,this),this._layers.push({layer:s,name:l,overlay:u}),this.options.sortLayers&&this._layers.sort(a(function(g,m){return this.options.sortFunction(g.layer,m.layer,g.name,m.name)},this)),this.options.autoZIndex&&s.setZIndex&&(this._lastZIndex++,s.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;Fo(this._baseLayersList),Fo(this._overlaysList),this._layerControlInputs=[];var s,l,u,g,m=0;for(u=0;u<this._layers.length;u++)g=this._layers[u],this._addItem(g),l=l||g.overlay,s=s||!g.overlay,m+=g.overlay?0:1;return this.options.hideSingleBase&&(s=s&&m>1,this._baseLayersList.style.display=s?"":"none"),this._separator.style.display=l&&s?"":"none",this},_onLayerChange:function(s){this._handlingClick||this._update();var l=this._getLayer(c(s.target)),u=l.overlay?s.type==="add"?"overlayadd":"overlayremove":s.type==="add"?"baselayerchange":null;u&&this._map.fire(u,l)},_createRadioElement:function(s,l){var u='<input type="radio" class="leaflet-control-layers-selector" name="'+s+'"'+(l?' checked="checked"':"")+"/>",g=document.createElement("div");return g.innerHTML=u,g.firstChild},_addItem:function(s){var l=document.createElement("label"),u=this._map.hasLayer(s.layer),g;s.overlay?(g=document.createElement("input"),g.type="checkbox",g.className="leaflet-control-layers-selector",g.defaultChecked=u):g=this._createRadioElement("leaflet-base-layers_"+c(this),u),this._layerControlInputs.push(g),g.layerId=c(s.layer),ct(g,"click",this._onInputClick,this);var m=document.createElement("span");m.innerHTML=" "+s.name;var x=document.createElement("span");l.appendChild(x),x.appendChild(g),x.appendChild(m);var T=s.overlay?this._overlaysList:this._baseLayersList;return T.appendChild(l),this._checkDisabledLayers(),l},_onInputClick:function(){if(!this._preventClick){var s=this._layerControlInputs,l,u,g=[],m=[];this._handlingClick=!0;for(var x=s.length-1;x>=0;x--)l=s[x],u=this._getLayer(l.layerId).layer,l.checked?g.push(u):l.checked||m.push(u);for(x=0;x<m.length;x++)this._map.hasLayer(m[x])&&this._map.removeLayer(m[x]);for(x=0;x<g.length;x++)this._map.hasLayer(g[x])||this._map.addLayer(g[x]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var s=this._layerControlInputs,l,u,g=this._map.getZoom(),m=s.length-1;m>=0;m--)l=s[m],u=this._getLayer(l.layerId).layer,l.disabled=u.options.minZoom!==void 0&&g<u.options.minZoom||u.options.maxZoom!==void 0&&g>u.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var s=this._section;this._preventClick=!0,ct(s,"click",Kt),this.expand();var l=this;setTimeout(function(){Mt(s,"click",Kt),l._preventClick=!1})}}),N0=function(s,l,u){return new wf(s,l,u)},ch=Re.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(s){var l="leaflet-control-zoom",u=xt("div",l+" leaflet-bar"),g=this.options;return this._zoomInButton=this._createButton(g.zoomInText,g.zoomInTitle,l+"-in",u,this._zoomIn),this._zoomOutButton=this._createButton(g.zoomOutText,g.zoomOutTitle,l+"-out",u,this._zoomOut),this._updateDisabled(),s.on("zoomend zoomlevelschange",this._updateDisabled,this),u},onRemove:function(s){s.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(s){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(s.shiftKey?3:1))},_zoomOut:function(s){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(s.shiftKey?3:1))},_createButton:function(s,l,u,g,m){var x=xt("a",u,g);return x.innerHTML=s,x.href="#",x.title=l,x.setAttribute("role","button"),x.setAttribute("aria-label",l),Qr(x),ct(x,"click",gn),ct(x,"click",m,this),ct(x,"click",this._refocusOnMap,this),x},_updateDisabled:function(){var s=this._map,l="leaflet-disabled";It(this._zoomInButton,l),It(this._zoomOutButton,l),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||s._zoom===s.getMinZoom())&&(dt(this._zoomOutButton,l),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||s._zoom===s.getMaxZoom())&&(dt(this._zoomInButton,l),this._zoomInButton.setAttribute("aria-disabled","true"))}});vt.mergeOptions({zoomControl:!0}),vt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ch,this.addControl(this.zoomControl))});var G0=function(s){return new ch(s)},Ef=Re.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(s){var l="leaflet-control-scale",u=xt("div",l),g=this.options;return this._addScales(g,l+"-line",u),s.on(g.updateWhenIdle?"moveend":"move",this._update,this),s.whenReady(this._update,this),u},onRemove:function(s){s.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(s,l,u){s.metric&&(this._mScale=xt("div",l,u)),s.imperial&&(this._iScale=xt("div",l,u))},_update:function(){var s=this._map,l=s.getSize().y/2,u=s.distance(s.containerPointToLatLng([0,l]),s.containerPointToLatLng([this.options.maxWidth,l]));this._updateScales(u)},_updateScales:function(s){this.options.metric&&s&&this._updateMetric(s),this.options.imperial&&s&&this._updateImperial(s)},_updateMetric:function(s){var l=this._getRoundNum(s),u=l<1e3?l+" m":l/1e3+" km";this._updateScale(this._mScale,u,l/s)},_updateImperial:function(s){var l=s*3.2808399,u,g,m;l>5280?(u=l/5280,g=this._getRoundNum(u),this._updateScale(this._iScale,g+" mi",g/u)):(m=this._getRoundNum(l),this._updateScale(this._iScale,m+" ft",m/l))},_updateScale:function(s,l,u){s.style.width=Math.round(this.options.maxWidth*u)+"px",s.innerHTML=l},_getRoundNum:function(s){var l=Math.pow(10,(Math.floor(s)+"").length-1),u=s/l;return u=u>=10?10:u>=5?5:u>=3?3:u>=2?2:1,l*u}}),U0=function(s){return new Ef(s)},j0='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',uh=Re.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(tt.inlineSvg?j0+" ":"")+"Leaflet</a>"},initialize:function(s){A(this,s),this._attributions={}},onAdd:function(s){s.attributionControl=this,this._container=xt("div","leaflet-control-attribution"),Qr(this._container);for(var l in s._layers)s._layers[l].getAttribution&&this.addAttribution(s._layers[l].getAttribution());return this._update(),s.on("layeradd",this._addAttribution,this),this._container},onRemove:function(s){s.off("layeradd",this._addAttribution,this)},_addAttribution:function(s){s.layer.getAttribution&&(this.addAttribution(s.layer.getAttribution()),s.layer.once("remove",function(){this.removeAttribution(s.layer.getAttribution())},this))},setPrefix:function(s){return this.options.prefix=s,this._update(),this},addAttribution:function(s){return s?(this._attributions[s]||(this._attributions[s]=0),this._attributions[s]++,this._update(),this):this},removeAttribution:function(s){return s?(this._attributions[s]&&(this._attributions[s]--,this._update()),this):this},_update:function(){if(this._map){var s=[];for(var l in this._attributions)this._attributions[l]&&s.push(l);var u=[];this.options.prefix&&u.push(this.options.prefix),s.length&&u.push(s.join(", ")),this._container.innerHTML=u.join(' <span aria-hidden="true">|</span> ')}}});vt.mergeOptions({attributionControl:!0}),vt.addInitHook(function(){this.options.attributionControl&&new uh().addTo(this)});var H0=function(s){return new uh(s)};Re.Layers=wf,Re.Zoom=ch,Re.Scale=Ef,Re.Attribution=uh,qr.layers=N0,qr.zoom=G0,qr.scale=U0,qr.attribution=H0;var Ve=ot.extend({initialize:function(s){this._map=s},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ve.addTo=function(s,l){return s.addHandler(l,this),this};var W0={Events:X},Cf=tt.touch?"touchstart mousedown":"mousedown",Hi=U.extend({options:{clickTolerance:3},initialize:function(s,l,u,g){A(this,g),this._element=s,this._dragStartTarget=l||s,this._preventOutline=u},enable:function(){this._enabled||(ct(this._dragStartTarget,Cf,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Hi._dragging===this&&this.finishDrag(!0),Mt(this._dragStartTarget,Cf,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(s){if(this._enabled&&(this._moved=!1,!ql(this._element,"leaflet-zoom-anim"))){if(s.touches&&s.touches.length!==1){Hi._dragging===this&&this.finishDrag();return}if(!(Hi._dragging||s.shiftKey||s.which!==1&&s.button!==1&&!s.touches)&&(Hi._dragging=this,this._preventOutline&&nh(this._element),th(),Zr(),!this._moving)){this.fire("down");var l=s.touches?s.touches[0]:s,u=mf(this._element);this._startPoint=new B(l.clientX,l.clientY),this._startPos=dn(this._element),this._parentScale=rh(u);var g=s.type==="mousedown";ct(document,g?"mousemove":"touchmove",this._onMove,this),ct(document,g?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(s){if(this._enabled){if(s.touches&&s.touches.length>1){this._moved=!0;return}var l=s.touches&&s.touches.length===1?s.touches[0]:s,u=new B(l.clientX,l.clientY)._subtract(this._startPoint);!u.x&&!u.y||Math.abs(u.x)+Math.abs(u.y)<this.options.clickTolerance||(u.x/=this._parentScale.x,u.y/=this._parentScale.y,Kt(s),this._moved||(this.fire("dragstart"),this._moved=!0,dt(document.body,"leaflet-dragging"),this._lastTarget=s.target||s.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),dt(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(u),this._moving=!0,this._lastEvent=s,this._updatePosition())}},_updatePosition:function(){var s={originalEvent:this._lastEvent};this.fire("predrag",s),Bt(this._element,this._newPos),this.fire("drag",s)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(s){It(document.body,"leaflet-dragging"),this._lastTarget&&(It(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Mt(document,"mousemove touchmove",this._onMove,this),Mt(document,"mouseup touchend touchcancel",this._onUp,this),eh(),Vr();var l=this._moved&&this._moving;this._moving=!1,Hi._dragging=!1,l&&this.fire("dragend",{noInertia:s,distance:this._newPos.distanceTo(this._startPos)})}});function Lf(s,l,u){var g,m=[1,4,2,8],x,T,S,I,N,K,st,pt;for(x=0,K=s.length;x<K;x++)s[x]._code=pn(s[x],l);for(S=0;S<4;S++){for(st=m[S],g=[],x=0,K=s.length,T=K-1;x<K;T=x++)I=s[x],N=s[T],I._code&st?N._code&st||(pt=Uo(N,I,st,l,u),pt._code=pn(pt,l),g.push(pt)):(N._code&st&&(pt=Uo(N,I,st,l,u),pt._code=pn(pt,l),g.push(pt)),g.push(I));s=g}return s}function bf(s,l){var u,g,m,x,T,S,I,N,K;if(!s||s.length===0)throw new Error("latlngs not passed");we(s)||(console.warn("latlngs are not flat! Only the first ring will be used"),s=s[0]);var st=lt([0,0]),pt=J(s),re=pt.getNorthWest().distanceTo(pt.getSouthWest())*pt.getNorthEast().distanceTo(pt.getNorthWest());re<1700&&(st=dh(s));var Yt=s.length,Ee=[];for(u=0;u<Yt;u++){var ue=lt(s[u]);Ee.push(l.project(lt([ue.lat-st.lat,ue.lng-st.lng])))}for(S=I=N=0,u=0,g=Yt-1;u<Yt;g=u++)m=Ee[u],x=Ee[g],T=m.y*x.x-x.y*m.x,I+=(m.x+x.x)*T,N+=(m.y+x.y)*T,S+=T*3;S===0?K=Ee[0]:K=[I/S,N/S];var rr=l.unproject(W(K));return lt([rr.lat+st.lat,rr.lng+st.lng])}function dh(s){for(var l=0,u=0,g=0,m=0;m<s.length;m++){var x=lt(s[m]);l+=x.lat,u+=x.lng,g++}return lt([l/g,u/g])}var Y0={__proto__:null,clipPolygon:Lf,polygonCenter:bf,centroid:dh};function Tf(s,l){if(!l||!s.length)return s.slice();var u=l*l;return s=V0(s,u),s=Z0(s,u),s}function Mf(s,l,u){return Math.sqrt(Jr(s,l,u,!0))}function X0(s,l,u){return Jr(s,l,u)}function Z0(s,l){var u=s.length,g=typeof Uint8Array!=void 0+""?Uint8Array:Array,m=new g(u);m[0]=m[u-1]=1,fh(s,m,l,0,u-1);var x,T=[];for(x=0;x<u;x++)m[x]&&T.push(s[x]);return T}function fh(s,l,u,g,m){var x=0,T,S,I;for(S=g+1;S<=m-1;S++)I=Jr(s[S],s[g],s[m],!0),I>x&&(T=S,x=I);x>u&&(l[T]=1,fh(s,l,u,g,T),fh(s,l,u,T,m))}function V0(s,l){for(var u=[s[0]],g=1,m=0,x=s.length;g<x;g++)K0(s[g],s[m])>l&&(u.push(s[g]),m=g);return m<x-1&&u.push(s[x-1]),u}var Pf;function Df(s,l,u,g,m){var x=g?Pf:pn(s,u),T=pn(l,u),S,I,N;for(Pf=T;;){if(!(x|T))return[s,l];if(x&T)return!1;S=x||T,I=Uo(s,l,S,u,m),N=pn(I,u),S===x?(s=I,x=N):(l=I,T=N)}}function Uo(s,l,u,g,m){var x=l.x-s.x,T=l.y-s.y,S=g.min,I=g.max,N,K;return u&8?(N=s.x+x*(I.y-s.y)/T,K=I.y):u&4?(N=s.x+x*(S.y-s.y)/T,K=S.y):u&2?(N=I.x,K=s.y+T*(I.x-s.x)/x):u&1&&(N=S.x,K=s.y+T*(S.x-s.x)/x),new B(N,K,m)}function pn(s,l){var u=0;return s.x<l.min.x?u|=1:s.x>l.max.x&&(u|=2),s.y<l.min.y?u|=4:s.y>l.max.y&&(u|=8),u}function K0(s,l){var u=l.x-s.x,g=l.y-s.y;return u*u+g*g}function Jr(s,l,u,g){var m=l.x,x=l.y,T=u.x-m,S=u.y-x,I=T*T+S*S,N;return I>0&&(N=((s.x-m)*T+(s.y-x)*S)/I,N>1?(m=u.x,x=u.y):N>0&&(m+=T*N,x+=S*N)),T=s.x-m,S=s.y-x,g?T*T+S*S:new B(m,x)}function we(s){return!E(s[0])||typeof s[0][0]!="object"&&typeof s[0][0]<"u"}function Sf(s){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),we(s)}function Rf(s,l){var u,g,m,x,T,S,I,N;if(!s||s.length===0)throw new Error("latlngs not passed");we(s)||(console.warn("latlngs are not flat! Only the first ring will be used"),s=s[0]);var K=lt([0,0]),st=J(s),pt=st.getNorthWest().distanceTo(st.getSouthWest())*st.getNorthEast().distanceTo(st.getNorthWest());pt<1700&&(K=dh(s));var re=s.length,Yt=[];for(u=0;u<re;u++){var Ee=lt(s[u]);Yt.push(l.project(lt([Ee.lat-K.lat,Ee.lng-K.lng])))}for(u=0,g=0;u<re-1;u++)g+=Yt[u].distanceTo(Yt[u+1])/2;if(g===0)N=Yt[0];else for(u=0,x=0;u<re-1;u++)if(T=Yt[u],S=Yt[u+1],m=T.distanceTo(S),x+=m,x>g){I=(x-g)/m,N=[S.x-I*(S.x-T.x),S.y-I*(S.y-T.y)];break}var ue=l.unproject(W(N));return lt([ue.lat+K.lat,ue.lng+K.lng])}var Q0={__proto__:null,simplify:Tf,pointToSegmentDistance:Mf,closestPointOnSegment:X0,clipSegment:Df,_getEdgeIntersection:Uo,_getBitCode:pn,_sqClosestPointOnSegment:Jr,isFlat:we,_flat:Sf,polylineCenter:Rf},gh={project:function(s){return new B(s.lng,s.lat)},unproject:function(s){return new q(s.y,s.x)},bounds:new it([-180,-90],[180,90])},ph={R:6378137,R_MINOR:6356752314245179e-9,bounds:new it([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(s){var l=Math.PI/180,u=this.R,g=s.lat*l,m=this.R_MINOR/u,x=Math.sqrt(1-m*m),T=x*Math.sin(g),S=Math.tan(Math.PI/4-g/2)/Math.pow((1-T)/(1+T),x/2);return g=-u*Math.log(Math.max(S,1e-10)),new B(s.lng*l*u,g)},unproject:function(s){for(var l=180/Math.PI,u=this.R,g=this.R_MINOR/u,m=Math.sqrt(1-g*g),x=Math.exp(-s.y/u),T=Math.PI/2-2*Math.atan(x),S=0,I=.1,N;S<15&&Math.abs(I)>1e-7;S++)N=m*Math.sin(T),N=Math.pow((1-N)/(1+N),m/2),I=Math.PI/2-2*Math.atan(x*N)-T,T+=I;return new q(T*l,s.x*l/u)}},q0={__proto__:null,LonLat:gh,Mercator:ph,SphericalMercator:He},J0=n({},Tt,{code:"EPSG:3395",projection:ph,transformation:function(){var s=.5/(Math.PI*ph.R);return xe(s,.5,-s,.5)}()}),If=n({},Tt,{code:"EPSG:4326",projection:gh,transformation:xe(1/180,1,-1/180,.5)}),$0=n({},Ft,{projection:gh,transformation:xe(1,0,-1,0),scale:function(s){return Math.pow(2,s)},zoom:function(s){return Math.log(s)/Math.LN2},distance:function(s,l){var u=l.lng-s.lng,g=l.lat-s.lat;return Math.sqrt(u*u+g*g)},infinite:!0});Ft.Earth=Tt,Ft.EPSG3395=J0,Ft.EPSG3857=Oi,Ft.EPSG900913=We,Ft.EPSG4326=If,Ft.Simple=$0;var Ie=U.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(s){return s.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(s){return s&&s.removeLayer(this),this},getPane:function(s){return this._map.getPane(s?this.options[s]||s:this.options.pane)},addInteractiveTarget:function(s){return this._map._targets[c(s)]=this,this},removeInteractiveTarget:function(s){return delete this._map._targets[c(s)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(s){var l=s.target;if(l.hasLayer(this)){if(this._map=l,this._zoomAnimated=l._zoomAnimated,this.getEvents){var u=this.getEvents();l.on(u,this),this.once("remove",function(){l.off(u,this)},this)}this.onAdd(l),this.fire("add"),l.fire("layeradd",{layer:this})}}});vt.include({addLayer:function(s){if(!s._layerAdd)throw new Error("The provided object is not a Layer.");var l=c(s);return this._layers[l]?this:(this._layers[l]=s,s._mapToAdd=this,s.beforeAdd&&s.beforeAdd(this),this.whenReady(s._layerAdd,s),this)},removeLayer:function(s){var l=c(s);return this._layers[l]?(this._loaded&&s.onRemove(this),delete this._layers[l],this._loaded&&(this.fire("layerremove",{layer:s}),s.fire("remove")),s._map=s._mapToAdd=null,this):this},hasLayer:function(s){return c(s)in this._layers},eachLayer:function(s,l){for(var u in this._layers)s.call(l,this._layers[u]);return this},_addLayers:function(s){s=s?E(s)?s:[s]:[];for(var l=0,u=s.length;l<u;l++)this.addLayer(s[l])},_addZoomLimit:function(s){(!isNaN(s.options.maxZoom)||!isNaN(s.options.minZoom))&&(this._zoomBoundLayers[c(s)]=s,this._updateZoomLevels())},_removeZoomLimit:function(s){var l=c(s);this._zoomBoundLayers[l]&&(delete this._zoomBoundLayers[l],this._updateZoomLevels())},_updateZoomLevels:function(){var s=1/0,l=-1/0,u=this._getZoomSpan();for(var g in this._zoomBoundLayers){var m=this._zoomBoundLayers[g].options;s=m.minZoom===void 0?s:Math.min(s,m.minZoom),l=m.maxZoom===void 0?l:Math.max(l,m.maxZoom)}this._layersMaxZoom=l===-1/0?void 0:l,this._layersMinZoom=s===1/0?void 0:s,u!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===void 0&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var $n=Ie.extend({initialize:function(s,l){A(this,l),this._layers={};var u,g;if(s)for(u=0,g=s.length;u<g;u++)this.addLayer(s[u])},addLayer:function(s){var l=this.getLayerId(s);return this._layers[l]=s,this._map&&this._map.addLayer(s),this},removeLayer:function(s){var l=s in this._layers?s:this.getLayerId(s);return this._map&&this._layers[l]&&this._map.removeLayer(this._layers[l]),delete this._layers[l],this},hasLayer:function(s){var l=typeof s=="number"?s:this.getLayerId(s);return l in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(s){var l=Array.prototype.slice.call(arguments,1),u,g;for(u in this._layers)g=this._layers[u],g[s]&&g[s].apply(g,l);return this},onAdd:function(s){this.eachLayer(s.addLayer,s)},onRemove:function(s){this.eachLayer(s.removeLayer,s)},eachLayer:function(s,l){for(var u in this._layers)s.call(l,this._layers[u]);return this},getLayer:function(s){return this._layers[s]},getLayers:function(){var s=[];return this.eachLayer(s.push,s),s},setZIndex:function(s){return this.invoke("setZIndex",s)},getLayerId:function(s){return c(s)}}),tE=function(s,l){return new $n(s,l)},pi=$n.extend({addLayer:function(s){return this.hasLayer(s)?this:(s.addEventParent(this),$n.prototype.addLayer.call(this,s),this.fire("layeradd",{layer:s}))},removeLayer:function(s){return this.hasLayer(s)?(s in this._layers&&(s=this._layers[s]),s.removeEventParent(this),$n.prototype.removeLayer.call(this,s),this.fire("layerremove",{layer:s})):this},setStyle:function(s){return this.invoke("setStyle",s)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var s=new gt;for(var l in this._layers){var u=this._layers[l];s.extend(u.getBounds?u.getBounds():u.getLatLng())}return s}}),eE=function(s,l){return new pi(s,l)},tr=ot.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(s){A(this,s)},createIcon:function(s){return this._createIcon("icon",s)},createShadow:function(s){return this._createIcon("shadow",s)},_createIcon:function(s,l){var u=this._getIconUrl(s);if(!u){if(s==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var g=this._createImg(u,l&&l.tagName==="IMG"?l:null);return this._setIconStyles(g,s),(this.options.crossOrigin||this.options.crossOrigin==="")&&(g.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),g},_setIconStyles:function(s,l){var u=this.options,g=u[l+"Size"];typeof g=="number"&&(g=[g,g]);var m=W(g),x=W(l==="shadow"&&u.shadowAnchor||u.iconAnchor||m&&m.divideBy(2,!0));s.className="leaflet-marker-"+l+" "+(u.className||""),x&&(s.style.marginLeft=-x.x+"px",s.style.marginTop=-x.y+"px"),m&&(s.style.width=m.x+"px",s.style.height=m.y+"px")},_createImg:function(s,l){return l=l||document.createElement("img"),l.src=s,l},_getIconUrl:function(s){return tt.retina&&this.options[s+"RetinaUrl"]||this.options[s+"Url"]}});function iE(s){return new tr(s)}var $r=tr.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(s){return typeof $r.imagePath!="string"&&($r.imagePath=this._detectIconPath()),(this.options.imagePath||$r.imagePath)+tr.prototype._getIconUrl.call(this,s)},_stripUrl:function(s){var l=function(u,g,m){var x=g.exec(u);return x&&x[m]};return s=l(s,/^url\((['"])?(.+)\1\)$/,2),s&&l(s,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var s=xt("div","leaflet-default-icon-path",document.body),l=Xr(s,"background-image")||Xr(s,"backgroundImage");if(document.body.removeChild(s),l=this._stripUrl(l),l)return l;var u=document.querySelector('link[href$="leaflet.css"]');return u?u.href.substring(0,u.href.length-11-1):""}}),kf=Ve.extend({initialize:function(s){this._marker=s},addHooks:function(){var s=this._marker._icon;this._draggable||(this._draggable=new Hi(s,s,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),dt(s,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&It(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(s){var l=this._marker,u=l._map,g=this._marker.options.autoPanSpeed,m=this._marker.options.autoPanPadding,x=dn(l._icon),T=u.getPixelBounds(),S=u.getPixelOrigin(),I=z(T.min._subtract(S).add(m),T.max._subtract(S).subtract(m));if(!I.contains(x)){var N=W((Math.max(I.max.x,x.x)-I.max.x)/(T.max.x-I.max.x)-(Math.min(I.min.x,x.x)-I.min.x)/(T.min.x-I.min.x),(Math.max(I.max.y,x.y)-I.max.y)/(T.max.y-I.max.y)-(Math.min(I.min.y,x.y)-I.min.y)/(T.min.y-I.min.y)).multiplyBy(g);u.panBy(N,{animate:!1}),this._draggable._newPos._add(N),this._draggable._startPos._add(N),Bt(l._icon,this._draggable._newPos),this._onDrag(s),this._panRequest=G(this._adjustPan.bind(this,s))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(s){this._marker.options.autoPan&&(Z(this._panRequest),this._panRequest=G(this._adjustPan.bind(this,s)))},_onDrag:function(s){var l=this._marker,u=l._shadow,g=dn(l._icon),m=l._map.layerPointToLatLng(g);u&&Bt(u,g),l._latlng=m,s.latlng=m,s.oldLatLng=this._oldLatLng,l.fire("move",s).fire("drag",s)},_onDragEnd:function(s){Z(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",s)}}),jo=Ie.extend({options:{icon:new $r,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(s,l){A(this,l),this._latlng=lt(s)},onAdd:function(s){this._zoomAnimated=this._zoomAnimated&&s.options.markerZoomAnimation,this._zoomAnimated&&s.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(s){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&s.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(s){var l=this._latlng;return this._latlng=lt(s),this.update(),this.fire("move",{oldLatLng:l,latlng:this._latlng})},setZIndexOffset:function(s){return this.options.zIndexOffset=s,this.update()},getIcon:function(){return this.options.icon},setIcon:function(s){return this.options.icon=s,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var s=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(s)}return this},_initIcon:function(){var s=this.options,l="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),u=s.icon.createIcon(this._icon),g=!1;u!==this._icon&&(this._icon&&this._removeIcon(),g=!0,s.title&&(u.title=s.title),u.tagName==="IMG"&&(u.alt=s.alt||"")),dt(u,l),s.keyboard&&(u.tabIndex="0",u.setAttribute("role","button")),this._icon=u,s.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&ct(u,"focus",this._panOnFocus,this);var m=s.icon.createShadow(this._shadow),x=!1;m!==this._shadow&&(this._removeShadow(),x=!0),m&&(dt(m,l),m.alt=""),this._shadow=m,s.opacity<1&&this._updateOpacity(),g&&this.getPane().appendChild(this._icon),this._initInteraction(),m&&x&&this.getPane(s.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Mt(this._icon,"focus",this._panOnFocus,this),Dt(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&Dt(this._shadow),this._shadow=null},_setPos:function(s){this._icon&&Bt(this._icon,s),this._shadow&&Bt(this._shadow,s),this._zIndex=s.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(s){this._icon&&(this._icon.style.zIndex=this._zIndex+s)},_animateZoom:function(s){var l=this._map._latLngToNewLayerPoint(this._latlng,s.zoom,s.center).round();this._setPos(l)},_initInteraction:function(){if(this.options.interactive&&(dt(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),kf)){var s=this.options.draggable;this.dragging&&(s=this.dragging.enabled(),this.dragging.disable()),this.dragging=new kf(this),s&&this.dragging.enable()}},setOpacity:function(s){return this.options.opacity=s,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var s=this.options.opacity;this._icon&&Ae(this._icon,s),this._shadow&&Ae(this._shadow,s)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var s=this._map;if(s){var l=this.options.icon.options,u=l.iconSize?W(l.iconSize):W(0,0),g=l.iconAnchor?W(l.iconAnchor):W(0,0);s.panInside(this._latlng,{paddingTopLeft:g,paddingBottomRight:u.subtract(g)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function nE(s,l){return new jo(s,l)}var Wi=Ie.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(s){this._renderer=s.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(s){return A(this,s),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&s&&Object.prototype.hasOwnProperty.call(s,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),Ho=Wi.extend({options:{fill:!0,radius:10},initialize:function(s,l){A(this,l),this._latlng=lt(s),this._radius=this.options.radius},setLatLng:function(s){var l=this._latlng;return this._latlng=lt(s),this.redraw(),this.fire("move",{oldLatLng:l,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(s){return this.options.radius=this._radius=s,this.redraw()},getRadius:function(){return this._radius},setStyle:function(s){var l=s&&s.radius||this._radius;return Wi.prototype.setStyle.call(this,s),this.setRadius(l),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var s=this._radius,l=this._radiusY||s,u=this._clickTolerance(),g=[s+u,l+u];this._pxBounds=new it(this._point.subtract(g),this._point.add(g))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(s){return s.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function rE(s,l){return new Ho(s,l)}var mh=Ho.extend({initialize:function(s,l,u){if(typeof l=="number"&&(l=n({},u,{radius:l})),A(this,l),this._latlng=lt(s),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(s){return this._mRadius=s,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var s=[this._radius,this._radiusY||this._radius];return new gt(this._map.layerPointToLatLng(this._point.subtract(s)),this._map.layerPointToLatLng(this._point.add(s)))},setStyle:Wi.prototype.setStyle,_project:function(){var s=this._latlng.lng,l=this._latlng.lat,u=this._map,g=u.options.crs;if(g.distance===Tt.distance){var m=Math.PI/180,x=this._mRadius/Tt.R/m,T=u.project([l+x,s]),S=u.project([l-x,s]),I=T.add(S).divideBy(2),N=u.unproject(I).lat,K=Math.acos((Math.cos(x*m)-Math.sin(l*m)*Math.sin(N*m))/(Math.cos(l*m)*Math.cos(N*m)))/m;(isNaN(K)||K===0)&&(K=x/Math.cos(Math.PI/180*l)),this._point=I.subtract(u.getPixelOrigin()),this._radius=isNaN(K)?0:I.x-u.project([N,s-K]).x,this._radiusY=I.y-T.y}else{var st=g.unproject(g.project(this._latlng).subtract([this._mRadius,0]));this._point=u.latLngToLayerPoint(this._latlng),this._radius=this._point.x-u.latLngToLayerPoint(st).x}this._updateBounds()}});function sE(s,l,u){return new mh(s,l,u)}var mi=Wi.extend({options:{smoothFactor:1,noClip:!1},initialize:function(s,l){A(this,l),this._setLatLngs(s)},getLatLngs:function(){return this._latlngs},setLatLngs:function(s){return this._setLatLngs(s),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(s){for(var l=1/0,u=null,g=Jr,m,x,T=0,S=this._parts.length;T<S;T++)for(var I=this._parts[T],N=1,K=I.length;N<K;N++){m=I[N-1],x=I[N];var st=g(s,m,x,!0);st<l&&(l=st,u=g(s,m,x))}return u&&(u.distance=Math.sqrt(l)),u},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Rf(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(s,l){return l=l||this._defaultShape(),s=lt(s),l.push(s),this._bounds.extend(s),this.redraw()},_setLatLngs:function(s){this._bounds=new gt,this._latlngs=this._convertLatLngs(s)},_defaultShape:function(){return we(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(s){for(var l=[],u=we(s),g=0,m=s.length;g<m;g++)u?(l[g]=lt(s[g]),this._bounds.extend(l[g])):l[g]=this._convertLatLngs(s[g]);return l},_project:function(){var s=new it;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,s),this._bounds.isValid()&&s.isValid()&&(this._rawPxBounds=s,this._updateBounds())},_updateBounds:function(){var s=this._clickTolerance(),l=new B(s,s);this._rawPxBounds&&(this._pxBounds=new it([this._rawPxBounds.min.subtract(l),this._rawPxBounds.max.add(l)]))},_projectLatlngs:function(s,l,u){var g=s[0]instanceof q,m=s.length,x,T;if(g){for(T=[],x=0;x<m;x++)T[x]=this._map.latLngToLayerPoint(s[x]),u.extend(T[x]);l.push(T)}else for(x=0;x<m;x++)this._projectLatlngs(s[x],l,u)},_clipPoints:function(){var s=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(s))){if(this.options.noClip){this._parts=this._rings;return}var l=this._parts,u,g,m,x,T,S,I;for(u=0,m=0,x=this._rings.length;u<x;u++)for(I=this._rings[u],g=0,T=I.length;g<T-1;g++)S=Df(I[g],I[g+1],s,g,!0),S&&(l[m]=l[m]||[],l[m].push(S[0]),(S[1]!==I[g+1]||g===T-2)&&(l[m].push(S[1]),m++))}},_simplifyPoints:function(){for(var s=this._parts,l=this.options.smoothFactor,u=0,g=s.length;u<g;u++)s[u]=Tf(s[u],l)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(s,l){var u,g,m,x,T,S,I=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(s))return!1;for(u=0,x=this._parts.length;u<x;u++)for(S=this._parts[u],g=0,T=S.length,m=T-1;g<T;m=g++)if(!(!l&&g===0)&&Mf(s,S[m],S[g])<=I)return!0;return!1}});function oE(s,l){return new mi(s,l)}mi._flat=Sf;var er=mi.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return bf(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(s){var l=mi.prototype._convertLatLngs.call(this,s),u=l.length;return u>=2&&l[0]instanceof q&&l[0].equals(l[u-1])&&l.pop(),l},_setLatLngs:function(s){mi.prototype._setLatLngs.call(this,s),we(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return we(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var s=this._renderer._bounds,l=this.options.weight,u=new B(l,l);if(s=new it(s.min.subtract(u),s.max.add(u)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(s))){if(this.options.noClip){this._parts=this._rings;return}for(var g=0,m=this._rings.length,x;g<m;g++)x=Lf(this._rings[g],s,!0),x.length&&this._parts.push(x)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(s){var l=!1,u,g,m,x,T,S,I,N;if(!this._pxBounds||!this._pxBounds.contains(s))return!1;for(x=0,I=this._parts.length;x<I;x++)for(u=this._parts[x],T=0,N=u.length,S=N-1;T<N;S=T++)g=u[T],m=u[S],g.y>s.y!=m.y>s.y&&s.x<(m.x-g.x)*(s.y-g.y)/(m.y-g.y)+g.x&&(l=!l);return l||mi.prototype._containsPoint.call(this,s,!0)}});function aE(s,l){return new er(s,l)}var _i=pi.extend({initialize:function(s,l){A(this,l),this._layers={},s&&this.addData(s)},addData:function(s){var l=E(s)?s:s.features,u,g,m;if(l){for(u=0,g=l.length;u<g;u++)m=l[u],(m.geometries||m.geometry||m.features||m.coordinates)&&this.addData(m);return this}var x=this.options;if(x.filter&&!x.filter(s))return this;var T=Wo(s,x);return T?(T.feature=Zo(s),T.defaultOptions=T.options,this.resetStyle(T),x.onEachFeature&&x.onEachFeature(s,T),this.addLayer(T)):this},resetStyle:function(s){return s===void 0?this.eachLayer(this.resetStyle,this):(s.options=n({},s.defaultOptions),this._setLayerStyle(s,this.options.style),this)},setStyle:function(s){return this.eachLayer(function(l){this._setLayerStyle(l,s)},this)},_setLayerStyle:function(s,l){s.setStyle&&(typeof l=="function"&&(l=l(s.feature)),s.setStyle(l))}});function Wo(s,l){var u=s.type==="Feature"?s.geometry:s,g=u?u.coordinates:null,m=[],x=l&&l.pointToLayer,T=l&&l.coordsToLatLng||_h,S,I,N,K;if(!g&&!u)return null;switch(u.type){case"Point":return S=T(g),Of(x,s,S,l);case"MultiPoint":for(N=0,K=g.length;N<K;N++)S=T(g[N]),m.push(Of(x,s,S,l));return new pi(m);case"LineString":case"MultiLineString":return I=Yo(g,u.type==="LineString"?0:1,T),new mi(I,l);case"Polygon":case"MultiPolygon":return I=Yo(g,u.type==="Polygon"?1:2,T),new er(I,l);case"GeometryCollection":for(N=0,K=u.geometries.length;N<K;N++){var st=Wo({geometry:u.geometries[N],type:"Feature",properties:s.properties},l);st&&m.push(st)}return new pi(m);case"FeatureCollection":for(N=0,K=u.features.length;N<K;N++){var pt=Wo(u.features[N],l);pt&&m.push(pt)}return new pi(m);default:throw new Error("Invalid GeoJSON object.")}}function Of(s,l,u,g){return s?s(l,u):new jo(u,g&&g.markersInheritOptions&&g)}function _h(s){return new q(s[1],s[0],s[2])}function Yo(s,l,u){for(var g=[],m=0,x=s.length,T;m<x;m++)T=l?Yo(s[m],l-1,u):(u||_h)(s[m]),g.push(T);return g}function yh(s,l){return s=lt(s),s.alt!==void 0?[_(s.lng,l),_(s.lat,l),_(s.alt,l)]:[_(s.lng,l),_(s.lat,l)]}function Xo(s,l,u,g){for(var m=[],x=0,T=s.length;x<T;x++)m.push(l?Xo(s[x],we(s[x])?0:l-1,u,g):yh(s[x],g));return!l&&u&&m.length>0&&m.push(m[0].slice()),m}function ir(s,l){return s.feature?n({},s.feature,{geometry:l}):Zo(l)}function Zo(s){return s.type==="Feature"||s.type==="FeatureCollection"?s:{type:"Feature",properties:{},geometry:s}}var vh={toGeoJSON:function(s){return ir(this,{type:"Point",coordinates:yh(this.getLatLng(),s)})}};jo.include(vh),mh.include(vh),Ho.include(vh),mi.include({toGeoJSON:function(s){var l=!we(this._latlngs),u=Xo(this._latlngs,l?1:0,!1,s);return ir(this,{type:(l?"Multi":"")+"LineString",coordinates:u})}}),er.include({toGeoJSON:function(s){var l=!we(this._latlngs),u=l&&!we(this._latlngs[0]),g=Xo(this._latlngs,u?2:l?1:0,!0,s);return l||(g=[g]),ir(this,{type:(u?"Multi":"")+"Polygon",coordinates:g})}}),$n.include({toMultiPoint:function(s){var l=[];return this.eachLayer(function(u){l.push(u.toGeoJSON(s).geometry.coordinates)}),ir(this,{type:"MultiPoint",coordinates:l})},toGeoJSON:function(s){var l=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(l==="MultiPoint")return this.toMultiPoint(s);var u=l==="GeometryCollection",g=[];return this.eachLayer(function(m){if(m.toGeoJSON){var x=m.toGeoJSON(s);if(u)g.push(x.geometry);else{var T=Zo(x);T.type==="FeatureCollection"?g.push.apply(g,T.features):g.push(T)}}}),u?ir(this,{geometries:g,type:"GeometryCollection"}):{type:"FeatureCollection",features:g}}});function Ff(s,l){return new _i(s,l)}var lE=Ff,Vo=Ie.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(s,l,u){this._url=s,this._bounds=J(l),A(this,u)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(dt(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Dt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(s){return this.options.opacity=s,this._image&&this._updateOpacity(),this},setStyle:function(s){return s.opacity&&this.setOpacity(s.opacity),this},bringToFront:function(){return this._map&&qn(this._image),this},bringToBack:function(){return this._map&&Jn(this._image),this},setUrl:function(s){return this._url=s,this._image&&(this._image.src=s),this},setBounds:function(s){return this._bounds=J(s),this._map&&this._reset(),this},getEvents:function(){var s={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(s.zoomanim=this._animateZoom),s},setZIndex:function(s){return this.options.zIndex=s,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var s=this._url.tagName==="IMG",l=this._image=s?this._url:xt("img");if(dt(l,"leaflet-image-layer"),this._zoomAnimated&&dt(l,"leaflet-zoom-animated"),this.options.className&&dt(l,this.options.className),l.onselectstart=p,l.onmousemove=p,l.onload=a(this.fire,this,"load"),l.onerror=a(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(l.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),s){this._url=l.src;return}l.src=this._url,l.alt=this.options.alt},_animateZoom:function(s){var l=this._map.getZoomScale(s.zoom),u=this._map._latLngBoundsToNewLayerBounds(this._bounds,s.zoom,s.center).min;un(this._image,u,l)},_reset:function(){var s=this._image,l=new it(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),u=l.getSize();Bt(s,l.min),s.style.width=u.x+"px",s.style.height=u.y+"px"},_updateOpacity:function(){Ae(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var s=this.options.errorOverlayUrl;s&&this._url!==s&&(this._url=s,this._image.src=s)},getCenter:function(){return this._bounds.getCenter()}}),hE=function(s,l,u){return new Vo(s,l,u)},zf=Vo.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var s=this._url.tagName==="VIDEO",l=this._image=s?this._url:xt("video");if(dt(l,"leaflet-image-layer"),this._zoomAnimated&&dt(l,"leaflet-zoom-animated"),this.options.className&&dt(l,this.options.className),l.onselectstart=p,l.onmousemove=p,l.onloadeddata=a(this.fire,this,"load"),s){for(var u=l.getElementsByTagName("source"),g=[],m=0;m<u.length;m++)g.push(u[m].src);this._url=u.length>0?g:[l.src];return}E(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(l.style,"objectFit")&&(l.style.objectFit="fill"),l.autoplay=!!this.options.autoplay,l.loop=!!this.options.loop,l.muted=!!this.options.muted,l.playsInline=!!this.options.playsInline;for(var x=0;x<this._url.length;x++){var T=xt("source");T.src=this._url[x],l.appendChild(T)}}});function cE(s,l,u){return new zf(s,l,u)}var Bf=Vo.extend({_initImage:function(){var s=this._image=this._url;dt(s,"leaflet-image-layer"),this._zoomAnimated&&dt(s,"leaflet-zoom-animated"),this.options.className&&dt(s,this.options.className),s.onselectstart=p,s.onmousemove=p}});function uE(s,l,u){return new Bf(s,l,u)}var Ke=Ie.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(s,l){s&&(s instanceof q||E(s))?(this._latlng=lt(s),A(this,l)):(A(this,s),this._source=l),this.options.content&&(this._content=this.options.content)},openOn:function(s){return s=arguments.length?s:this._source._map,s.hasLayer(this)||s.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(s){return this._map?this.close():(arguments.length?this._source=s:s=this._source,this._prepareOpen(),this.openOn(s._map)),this},onAdd:function(s){this._zoomAnimated=s._zoomAnimated,this._container||this._initLayout(),s._fadeAnimated&&Ae(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),s._fadeAnimated&&Ae(this._container,1),this.bringToFront(),this.options.interactive&&(dt(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(s){s._fadeAnimated?(Ae(this._container,0),this._removeTimeout=setTimeout(a(Dt,void 0,this._container),200)):Dt(this._container),this.options.interactive&&(It(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(s){return this._latlng=lt(s),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(s){return this._content=s,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var s={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(s.zoomanim=this._animateZoom),s},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&qn(this._container),this},bringToBack:function(){return this._map&&Jn(this._container),this},_prepareOpen:function(s){var l=this._source;if(!l._map)return!1;if(l instanceof pi){l=null;var u=this._source._layers;for(var g in u)if(u[g]._map){l=u[g];break}if(!l)return!1;this._source=l}if(!s)if(l.getCenter)s=l.getCenter();else if(l.getLatLng)s=l.getLatLng();else if(l.getBounds)s=l.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(s),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var s=this._contentNode,l=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof l=="string")s.innerHTML=l;else{for(;s.hasChildNodes();)s.removeChild(s.firstChild);s.appendChild(l)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var s=this._map.latLngToLayerPoint(this._latlng),l=W(this.options.offset),u=this._getAnchor();this._zoomAnimated?Bt(this._container,s.add(u)):l=l.add(s).add(u);var g=this._containerBottom=-l.y,m=this._containerLeft=-Math.round(this._containerWidth/2)+l.x;this._container.style.bottom=g+"px",this._container.style.left=m+"px"}},_getAnchor:function(){return[0,0]}});vt.include({_initOverlay:function(s,l,u,g){var m=l;return m instanceof s||(m=new s(g).setContent(l)),u&&m.setLatLng(u),m}}),Ie.include({_initOverlay:function(s,l,u,g){var m=u;return m instanceof s?(A(m,g),m._source=this):(m=l&&!g?l:new s(g,this),m.setContent(u)),m}});var Ko=Ke.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(s){return s=arguments.length?s:this._source._map,!s.hasLayer(this)&&s._popup&&s._popup.options.autoClose&&s.removeLayer(s._popup),s._popup=this,Ke.prototype.openOn.call(this,s)},onAdd:function(s){Ke.prototype.onAdd.call(this,s),s.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Wi||this._source.on("preclick",fn))},onRemove:function(s){Ke.prototype.onRemove.call(this,s),s.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Wi||this._source.off("preclick",fn))},getEvents:function(){var s=Ke.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(s.preclick=this.close),this.options.keepInView&&(s.moveend=this._adjustPan),s},_initLayout:function(){var s="leaflet-popup",l=this._container=xt("div",s+" "+(this.options.className||"")+" leaflet-zoom-animated"),u=this._wrapper=xt("div",s+"-content-wrapper",l);if(this._contentNode=xt("div",s+"-content",u),Qr(l),lh(this._contentNode),ct(l,"contextmenu",fn),this._tipContainer=xt("div",s+"-tip-container",l),this._tip=xt("div",s+"-tip",this._tipContainer),this.options.closeButton){var g=this._closeButton=xt("a",s+"-close-button",l);g.setAttribute("role","button"),g.setAttribute("aria-label","Close popup"),g.href="#close",g.innerHTML='<span aria-hidden="true">&#215;</span>',ct(g,"click",function(m){Kt(m),this.close()},this)}},_updateLayout:function(){var s=this._contentNode,l=s.style;l.width="",l.whiteSpace="nowrap";var u=s.offsetWidth;u=Math.min(u,this.options.maxWidth),u=Math.max(u,this.options.minWidth),l.width=u+1+"px",l.whiteSpace="",l.height="";var g=s.offsetHeight,m=this.options.maxHeight,x="leaflet-popup-scrolled";m&&g>m?(l.height=m+"px",dt(s,x)):It(s,x),this._containerWidth=this._container.offsetWidth},_animateZoom:function(s){var l=this._map._latLngToNewLayerPoint(this._latlng,s.zoom,s.center),u=this._getAnchor();Bt(this._container,l.add(u))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var s=this._map,l=parseInt(Xr(this._container,"marginBottom"),10)||0,u=this._container.offsetHeight+l,g=this._containerWidth,m=new B(this._containerLeft,-u-this._containerBottom);m._add(dn(this._container));var x=s.layerPointToContainerPoint(m),T=W(this.options.autoPanPadding),S=W(this.options.autoPanPaddingTopLeft||T),I=W(this.options.autoPanPaddingBottomRight||T),N=s.getSize(),K=0,st=0;x.x+g+I.x>N.x&&(K=x.x+g-N.x+I.x),x.x-K-S.x<0&&(K=x.x-S.x),x.y+u+I.y>N.y&&(st=x.y+u-N.y+I.y),x.y-st-S.y<0&&(st=x.y-S.y),(K||st)&&(this.options.keepInView&&(this._autopanning=!0),s.fire("autopanstart").panBy([K,st]))}},_getAnchor:function(){return W(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),dE=function(s,l){return new Ko(s,l)};vt.mergeOptions({closePopupOnClick:!0}),vt.include({openPopup:function(s,l,u){return this._initOverlay(Ko,s,l,u).openOn(this),this},closePopup:function(s){return s=arguments.length?s:this._popup,s&&s.close(),this}}),Ie.include({bindPopup:function(s,l){return this._popup=this._initOverlay(Ko,this._popup,s,l),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(s){return this._popup&&(this instanceof pi||(this._popup._source=this),this._popup._prepareOpen(s||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(s){return this._popup&&this._popup.setContent(s),this},getPopup:function(){return this._popup},_openPopup:function(s){if(!(!this._popup||!this._map)){gn(s);var l=s.layer||s.target;if(this._popup._source===l&&!(l instanceof Wi)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(s.latlng);return}this._popup._source=l,this.openPopup(s.latlng)}},_movePopup:function(s){this._popup.setLatLng(s.latlng)},_onKeyPress:function(s){s.originalEvent.keyCode===13&&this._openPopup(s)}});var Qo=Ke.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(s){Ke.prototype.onAdd.call(this,s),this.setOpacity(this.options.opacity),s.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(s){Ke.prototype.onRemove.call(this,s),s.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var s=Ke.prototype.getEvents.call(this);return this.options.permanent||(s.preclick=this.close),s},_initLayout:function(){var s="leaflet-tooltip",l=s+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=xt("div",l),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+c(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(s){var l,u,g=this._map,m=this._container,x=g.latLngToContainerPoint(g.getCenter()),T=g.layerPointToContainerPoint(s),S=this.options.direction,I=m.offsetWidth,N=m.offsetHeight,K=W(this.options.offset),st=this._getAnchor();S==="top"?(l=I/2,u=N):S==="bottom"?(l=I/2,u=0):S==="center"?(l=I/2,u=N/2):S==="right"?(l=0,u=N/2):S==="left"?(l=I,u=N/2):T.x<x.x?(S="right",l=0,u=N/2):(S="left",l=I+(K.x+st.x)*2,u=N/2),s=s.subtract(W(l,u,!0)).add(K).add(st),It(m,"leaflet-tooltip-right"),It(m,"leaflet-tooltip-left"),It(m,"leaflet-tooltip-top"),It(m,"leaflet-tooltip-bottom"),dt(m,"leaflet-tooltip-"+S),Bt(m,s)},_updatePosition:function(){var s=this._map.latLngToLayerPoint(this._latlng);this._setPosition(s)},setOpacity:function(s){this.options.opacity=s,this._container&&Ae(this._container,s)},_animateZoom:function(s){var l=this._map._latLngToNewLayerPoint(this._latlng,s.zoom,s.center);this._setPosition(l)},_getAnchor:function(){return W(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),fE=function(s,l){return new Qo(s,l)};vt.include({openTooltip:function(s,l,u){return this._initOverlay(Qo,s,l,u).openOn(this),this},closeTooltip:function(s){return s.close(),this}}),Ie.include({bindTooltip:function(s,l){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Qo,this._tooltip,s,l),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(s){if(!(!s&&this._tooltipHandlersAdded)){var l=s?"off":"on",u={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?u.add=this._openTooltip:(u.mouseover=this._openTooltip,u.mouseout=this.closeTooltip,u.click=this._openTooltip,this._map?this._addFocusListeners():u.add=this._addFocusListeners),this._tooltip.options.sticky&&(u.mousemove=this._moveTooltip),this[l](u),this._tooltipHandlersAdded=!s}},openTooltip:function(s){return this._tooltip&&(this instanceof pi||(this._tooltip._source=this),this._tooltip._prepareOpen(s)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(s){return this._tooltip&&this._tooltip.setContent(s),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(s){var l=typeof s.getElement=="function"&&s.getElement();l&&(ct(l,"focus",function(){this._tooltip._source=s,this.openTooltip()},this),ct(l,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(s){var l=typeof s.getElement=="function"&&s.getElement();l&&l.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(s){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var l=this;this._map.once("moveend",function(){l._openOnceFlag=!1,l._openTooltip(s)});return}this._tooltip._source=s.layer||s.target,this.openTooltip(this._tooltip.options.sticky?s.latlng:void 0)}},_moveTooltip:function(s){var l=s.latlng,u,g;this._tooltip.options.sticky&&s.originalEvent&&(u=this._map.mouseEventToContainerPoint(s.originalEvent),g=this._map.containerPointToLayerPoint(u),l=this._map.layerPointToLatLng(g)),this._tooltip.setLatLng(l)}});var Nf=tr.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(s){var l=s&&s.tagName==="DIV"?s:document.createElement("div"),u=this.options;if(u.html instanceof Element?(Fo(l),l.appendChild(u.html)):l.innerHTML=u.html!==!1?u.html:"",u.bgPos){var g=W(u.bgPos);l.style.backgroundPosition=-g.x+"px "+-g.y+"px"}return this._setIconStyles(l,"icon"),l},createShadow:function(){return null}});function gE(s){return new Nf(s)}tr.Default=$r;var ts=Ie.extend({options:{tileSize:256,opacity:1,updateWhenIdle:tt.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(s){A(this,s)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(s){s._addZoomLimit(this)},onRemove:function(s){this._removeAllTiles(),Dt(this._container),s._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(qn(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(Jn(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(s){return this.options.opacity=s,this._updateOpacity(),this},setZIndex:function(s){return this.options.zIndex=s,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var s=this._clampZoom(this._map.getZoom());s!==this._tileZoom&&(this._tileZoom=s,this._updateLevels()),this._update()}return this},getEvents:function(){var s={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=d(this._onMoveEnd,this.options.updateInterval,this)),s.move=this._onMove),this._zoomAnimated&&(s.zoomanim=this._animateZoom),s},createTile:function(){return document.createElement("div")},getTileSize:function(){var s=this.options.tileSize;return s instanceof B?s:new B(s,s)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(s){for(var l=this.getPane().children,u=-s(-1/0,1/0),g=0,m=l.length,x;g<m;g++)x=l[g].style.zIndex,l[g]!==this._container&&x&&(u=s(u,+x));isFinite(u)&&(this.options.zIndex=u+s(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!tt.ielt9){Ae(this._container,this.options.opacity);var s=+new Date,l=!1,u=!1;for(var g in this._tiles){var m=this._tiles[g];if(!(!m.current||!m.loaded)){var x=Math.min(1,(s-m.loaded)/200);Ae(m.el,x),x<1?l=!0:(m.active?u=!0:this._onOpaqueTile(m),m.active=!0)}}u&&!this._noPrune&&this._pruneTiles(),l&&(Z(this._fadeFrame),this._fadeFrame=G(this._updateOpacity,this))}},_onOpaqueTile:p,_initContainer:function(){this._container||(this._container=xt("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var s=this._tileZoom,l=this.options.maxZoom;if(s!==void 0){for(var u in this._levels)u=Number(u),this._levels[u].el.children.length||u===s?(this._levels[u].el.style.zIndex=l-Math.abs(s-u),this._onUpdateLevel(u)):(Dt(this._levels[u].el),this._removeTilesAtZoom(u),this._onRemoveLevel(u),delete this._levels[u]);var g=this._levels[s],m=this._map;return g||(g=this._levels[s]={},g.el=xt("div","leaflet-tile-container leaflet-zoom-animated",this._container),g.el.style.zIndex=l,g.origin=m.project(m.unproject(m.getPixelOrigin()),s).round(),g.zoom=s,this._setZoomTransform(g,m.getCenter(),m.getZoom()),p(g.el.offsetWidth),this._onCreateLevel(g)),this._level=g,g}},_onUpdateLevel:p,_onRemoveLevel:p,_onCreateLevel:p,_pruneTiles:function(){if(this._map){var s,l,u=this._map.getZoom();if(u>this.options.maxZoom||u<this.options.minZoom){this._removeAllTiles();return}for(s in this._tiles)l=this._tiles[s],l.retain=l.current;for(s in this._tiles)if(l=this._tiles[s],l.current&&!l.active){var g=l.coords;this._retainParent(g.x,g.y,g.z,g.z-5)||this._retainChildren(g.x,g.y,g.z,g.z+2)}for(s in this._tiles)this._tiles[s].retain||this._removeTile(s)}},_removeTilesAtZoom:function(s){for(var l in this._tiles)this._tiles[l].coords.z===s&&this._removeTile(l)},_removeAllTiles:function(){for(var s in this._tiles)this._removeTile(s)},_invalidateAll:function(){for(var s in this._levels)Dt(this._levels[s].el),this._onRemoveLevel(Number(s)),delete this._levels[s];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(s,l,u,g){var m=Math.floor(s/2),x=Math.floor(l/2),T=u-1,S=new B(+m,+x);S.z=+T;var I=this._tileCoordsToKey(S),N=this._tiles[I];return N&&N.active?(N.retain=!0,!0):(N&&N.loaded&&(N.retain=!0),T>g?this._retainParent(m,x,T,g):!1)},_retainChildren:function(s,l,u,g){for(var m=2*s;m<2*s+2;m++)for(var x=2*l;x<2*l+2;x++){var T=new B(m,x);T.z=u+1;var S=this._tileCoordsToKey(T),I=this._tiles[S];if(I&&I.active){I.retain=!0;continue}else I&&I.loaded&&(I.retain=!0);u+1<g&&this._retainChildren(m,x,u+1,g)}},_resetView:function(s){var l=s&&(s.pinch||s.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),l,l)},_animateZoom:function(s){this._setView(s.center,s.zoom,!0,s.noUpdate)},_clampZoom:function(s){var l=this.options;return l.minNativeZoom!==void 0&&s<l.minNativeZoom?l.minNativeZoom:l.maxNativeZoom!==void 0&&l.maxNativeZoom<s?l.maxNativeZoom:s},_setView:function(s,l,u,g){var m=Math.round(l);this.options.maxZoom!==void 0&&m>this.options.maxZoom||this.options.minZoom!==void 0&&m<this.options.minZoom?m=void 0:m=this._clampZoom(m);var x=this.options.updateWhenZooming&&m!==this._tileZoom;(!g||x)&&(this._tileZoom=m,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),m!==void 0&&this._update(s),u||this._pruneTiles(),this._noPrune=!!u),this._setZoomTransforms(s,l)},_setZoomTransforms:function(s,l){for(var u in this._levels)this._setZoomTransform(this._levels[u],s,l)},_setZoomTransform:function(s,l,u){var g=this._map.getZoomScale(u,s.zoom),m=s.origin.multiplyBy(g).subtract(this._map._getNewPixelOrigin(l,u)).round();tt.any3d?un(s.el,m,g):Bt(s.el,m)},_resetGrid:function(){var s=this._map,l=s.options.crs,u=this._tileSize=this.getTileSize(),g=this._tileZoom,m=this._map.getPixelWorldBounds(this._tileZoom);m&&(this._globalTileRange=this._pxBoundsToTileRange(m)),this._wrapX=l.wrapLng&&!this.options.noWrap&&[Math.floor(s.project([0,l.wrapLng[0]],g).x/u.x),Math.ceil(s.project([0,l.wrapLng[1]],g).x/u.y)],this._wrapY=l.wrapLat&&!this.options.noWrap&&[Math.floor(s.project([l.wrapLat[0],0],g).y/u.x),Math.ceil(s.project([l.wrapLat[1],0],g).y/u.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(s){var l=this._map,u=l._animatingZoom?Math.max(l._animateToZoom,l.getZoom()):l.getZoom(),g=l.getZoomScale(u,this._tileZoom),m=l.project(s,this._tileZoom).floor(),x=l.getSize().divideBy(g*2);return new it(m.subtract(x),m.add(x))},_update:function(s){var l=this._map;if(l){var u=this._clampZoom(l.getZoom());if(s===void 0&&(s=l.getCenter()),this._tileZoom!==void 0){var g=this._getTiledPixelBounds(s),m=this._pxBoundsToTileRange(g),x=m.getCenter(),T=[],S=this.options.keepBuffer,I=new it(m.getBottomLeft().subtract([S,-S]),m.getTopRight().add([S,-S]));if(!(isFinite(m.min.x)&&isFinite(m.min.y)&&isFinite(m.max.x)&&isFinite(m.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var N in this._tiles){var K=this._tiles[N].coords;(K.z!==this._tileZoom||!I.contains(new B(K.x,K.y)))&&(this._tiles[N].current=!1)}if(Math.abs(u-this._tileZoom)>1){this._setView(s,u);return}for(var st=m.min.y;st<=m.max.y;st++)for(var pt=m.min.x;pt<=m.max.x;pt++){var re=new B(pt,st);if(re.z=this._tileZoom,!!this._isValidTile(re)){var Yt=this._tiles[this._tileCoordsToKey(re)];Yt?Yt.current=!0:T.push(re)}}if(T.sort(function(ue,rr){return ue.distanceTo(x)-rr.distanceTo(x)}),T.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Ee=document.createDocumentFragment();for(pt=0;pt<T.length;pt++)this._addTile(T[pt],Ee);this._level.el.appendChild(Ee)}}}},_isValidTile:function(s){var l=this._map.options.crs;if(!l.infinite){var u=this._globalTileRange;if(!l.wrapLng&&(s.x<u.min.x||s.x>u.max.x)||!l.wrapLat&&(s.y<u.min.y||s.y>u.max.y))return!1}if(!this.options.bounds)return!0;var g=this._tileCoordsToBounds(s);return J(this.options.bounds).overlaps(g)},_keyToBounds:function(s){return this._tileCoordsToBounds(this._keyToTileCoords(s))},_tileCoordsToNwSe:function(s){var l=this._map,u=this.getTileSize(),g=s.scaleBy(u),m=g.add(u),x=l.unproject(g,s.z),T=l.unproject(m,s.z);return[x,T]},_tileCoordsToBounds:function(s){var l=this._tileCoordsToNwSe(s),u=new gt(l[0],l[1]);return this.options.noWrap||(u=this._map.wrapLatLngBounds(u)),u},_tileCoordsToKey:function(s){return s.x+":"+s.y+":"+s.z},_keyToTileCoords:function(s){var l=s.split(":"),u=new B(+l[0],+l[1]);return u.z=+l[2],u},_removeTile:function(s){var l=this._tiles[s];l&&(Dt(l.el),delete this._tiles[s],this.fire("tileunload",{tile:l.el,coords:this._keyToTileCoords(s)}))},_initTile:function(s){dt(s,"leaflet-tile");var l=this.getTileSize();s.style.width=l.x+"px",s.style.height=l.y+"px",s.onselectstart=p,s.onmousemove=p,tt.ielt9&&this.options.opacity<1&&Ae(s,this.options.opacity)},_addTile:function(s,l){var u=this._getTilePos(s),g=this._tileCoordsToKey(s),m=this.createTile(this._wrapCoords(s),a(this._tileReady,this,s));this._initTile(m),this.createTile.length<2&&G(a(this._tileReady,this,s,null,m)),Bt(m,u),this._tiles[g]={el:m,coords:s,current:!0},l.appendChild(m),this.fire("tileloadstart",{tile:m,coords:s})},_tileReady:function(s,l,u){l&&this.fire("tileerror",{error:l,tile:u,coords:s});var g=this._tileCoordsToKey(s);u=this._tiles[g],u&&(u.loaded=+new Date,this._map._fadeAnimated?(Ae(u.el,0),Z(this._fadeFrame),this._fadeFrame=G(this._updateOpacity,this)):(u.active=!0,this._pruneTiles()),l||(dt(u.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:u.el,coords:s})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tt.ielt9||!this._map._fadeAnimated?G(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(s){return s.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(s){var l=new B(this._wrapX?f(s.x,this._wrapX):s.x,this._wrapY?f(s.y,this._wrapY):s.y);return l.z=s.z,l},_pxBoundsToTileRange:function(s){var l=this.getTileSize();return new it(s.min.unscaleBy(l).floor(),s.max.unscaleBy(l).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var s in this._tiles)if(!this._tiles[s].loaded)return!1;return!0}});function pE(s){return new ts(s)}var nr=ts.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(s,l){this._url=s,l=A(this,l),l.detectRetina&&tt.retina&&l.maxZoom>0?(l.tileSize=Math.floor(l.tileSize/2),l.zoomReverse?(l.zoomOffset--,l.minZoom=Math.min(l.maxZoom,l.minZoom+1)):(l.zoomOffset++,l.maxZoom=Math.max(l.minZoom,l.maxZoom-1)),l.minZoom=Math.max(0,l.minZoom)):l.zoomReverse?l.minZoom=Math.min(l.maxZoom,l.minZoom):l.maxZoom=Math.max(l.minZoom,l.maxZoom),typeof l.subdomains=="string"&&(l.subdomains=l.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(s,l){return this._url===s&&l===void 0&&(l=!0),this._url=s,l||this.redraw(),this},createTile:function(s,l){var u=document.createElement("img");return ct(u,"load",a(this._tileOnLoad,this,l,u)),ct(u,"error",a(this._tileOnError,this,l,u)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(u.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(u.referrerPolicy=this.options.referrerPolicy),u.alt="",u.src=this.getTileUrl(s),u},getTileUrl:function(s){var l={r:tt.retina?"@2x":"",s:this._getSubdomain(s),x:s.x,y:s.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var u=this._globalTileRange.max.y-s.y;this.options.tms&&(l.y=u),l["-y"]=u}return w(this._url,n(l,this.options))},_tileOnLoad:function(s,l){tt.ielt9?setTimeout(a(s,this,null,l),0):s(null,l)},_tileOnError:function(s,l,u){var g=this.options.errorTileUrl;g&&l.getAttribute("src")!==g&&(l.src=g),s(u,l)},_onTileRemove:function(s){s.tile.onload=null},_getZoomForUrl:function(){var s=this._tileZoom,l=this.options.maxZoom,u=this.options.zoomReverse,g=this.options.zoomOffset;return u&&(s=l-s),s+g},_getSubdomain:function(s){var l=Math.abs(s.x+s.y)%this.options.subdomains.length;return this.options.subdomains[l]},_abortLoading:function(){var s,l;for(s in this._tiles)if(this._tiles[s].coords.z!==this._tileZoom&&(l=this._tiles[s].el,l.onload=p,l.onerror=p,!l.complete)){l.src=P;var u=this._tiles[s].coords;Dt(l),delete this._tiles[s],this.fire("tileabort",{tile:l,coords:u})}},_removeTile:function(s){var l=this._tiles[s];if(l)return l.el.setAttribute("src",P),ts.prototype._removeTile.call(this,s)},_tileReady:function(s,l,u){if(!(!this._map||u&&u.getAttribute("src")===P))return ts.prototype._tileReady.call(this,s,l,u)}});function Gf(s,l){return new nr(s,l)}var Uf=nr.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(s,l){this._url=s;var u=n({},this.defaultWmsParams);for(var g in l)g in this.options||(u[g]=l[g]);l=A(this,l);var m=l.detectRetina&&tt.retina?2:1,x=this.getTileSize();u.width=x.x*m,u.height=x.y*m,this.wmsParams=u},onAdd:function(s){this._crs=this.options.crs||s.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var l=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[l]=this._crs.code,nr.prototype.onAdd.call(this,s)},getTileUrl:function(s){var l=this._tileCoordsToNwSe(s),u=this._crs,g=z(u.project(l[0]),u.project(l[1])),m=g.min,x=g.max,T=(this._wmsVersion>=1.3&&this._crs===If?[m.y,m.x,x.y,x.x]:[m.x,m.y,x.x,x.y]).join(","),S=nr.prototype.getTileUrl.call(this,s);return S+b(this.wmsParams,S,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+T},setParams:function(s,l){return n(this.wmsParams,s),l||this.redraw(),this}});function mE(s,l){return new Uf(s,l)}nr.WMS=Uf,Gf.wms=mE;var yi=Ie.extend({options:{padding:.1},initialize:function(s){A(this,s),c(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),dt(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var s={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(s.zoomanim=this._onAnimZoom),s},_onAnimZoom:function(s){this._updateTransform(s.center,s.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(s,l){var u=this._map.getZoomScale(l,this._zoom),g=this._map.getSize().multiplyBy(.5+this.options.padding),m=this._map.project(this._center,l),x=g.multiplyBy(-u).add(m).subtract(this._map._getNewPixelOrigin(s,l));tt.any3d?un(this._container,x,u):Bt(this._container,x)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var s in this._layers)this._layers[s]._reset()},_onZoomEnd:function(){for(var s in this._layers)this._layers[s]._project()},_updatePaths:function(){for(var s in this._layers)this._layers[s]._update()},_update:function(){var s=this.options.padding,l=this._map.getSize(),u=this._map.containerPointToLayerPoint(l.multiplyBy(-s)).round();this._bounds=new it(u,u.add(l.multiplyBy(1+s*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),jf=yi.extend({options:{tolerance:0},getEvents:function(){var s=yi.prototype.getEvents.call(this);return s.viewprereset=this._onViewPreReset,s},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){yi.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var s=this._container=document.createElement("canvas");ct(s,"mousemove",this._onMouseMove,this),ct(s,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ct(s,"mouseout",this._handleMouseOut,this),s._leaflet_disable_events=!0,this._ctx=s.getContext("2d")},_destroyContainer:function(){Z(this._redrawRequest),delete this._ctx,Dt(this._container),Mt(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var s;this._redrawBounds=null;for(var l in this._layers)s=this._layers[l],s._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){yi.prototype._update.call(this);var s=this._bounds,l=this._container,u=s.getSize(),g=tt.retina?2:1;Bt(l,s.min),l.width=g*u.x,l.height=g*u.y,l.style.width=u.x+"px",l.style.height=u.y+"px",tt.retina&&this._ctx.scale(2,2),this._ctx.translate(-s.min.x,-s.min.y),this.fire("update")}},_reset:function(){yi.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(s){this._updateDashArray(s),this._layers[c(s)]=s;var l=s._order={layer:s,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=l),this._drawLast=l,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(s){this._requestRedraw(s)},_removePath:function(s){var l=s._order,u=l.next,g=l.prev;u?u.prev=g:this._drawLast=g,g?g.next=u:this._drawFirst=u,delete s._order,delete this._layers[c(s)],this._requestRedraw(s)},_updatePath:function(s){this._extendRedrawBounds(s),s._project(),s._update(),this._requestRedraw(s)},_updateStyle:function(s){this._updateDashArray(s),this._requestRedraw(s)},_updateDashArray:function(s){if(typeof s.options.dashArray=="string"){var l=s.options.dashArray.split(/[, ]+/),u=[],g,m;for(m=0;m<l.length;m++){if(g=Number(l[m]),isNaN(g))return;u.push(g)}s.options._dashArray=u}else s.options._dashArray=s.options.dashArray},_requestRedraw:function(s){this._map&&(this._extendRedrawBounds(s),this._redrawRequest=this._redrawRequest||G(this._redraw,this))},_extendRedrawBounds:function(s){if(s._pxBounds){var l=(s.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new it,this._redrawBounds.extend(s._pxBounds.min.subtract([l,l])),this._redrawBounds.extend(s._pxBounds.max.add([l,l]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var s=this._redrawBounds;if(s){var l=s.getSize();this._ctx.clearRect(s.min.x,s.min.y,l.x,l.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var s,l=this._redrawBounds;if(this._ctx.save(),l){var u=l.getSize();this._ctx.beginPath(),this._ctx.rect(l.min.x,l.min.y,u.x,u.y),this._ctx.clip()}this._drawing=!0;for(var g=this._drawFirst;g;g=g.next)s=g.layer,(!l||s._pxBounds&&s._pxBounds.intersects(l))&&s._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(s,l){if(this._drawing){var u,g,m,x,T=s._parts,S=T.length,I=this._ctx;if(S){for(I.beginPath(),u=0;u<S;u++){for(g=0,m=T[u].length;g<m;g++)x=T[u][g],I[g?"lineTo":"moveTo"](x.x,x.y);l&&I.closePath()}this._fillStroke(I,s)}}},_updateCircle:function(s){if(!(!this._drawing||s._empty())){var l=s._point,u=this._ctx,g=Math.max(Math.round(s._radius),1),m=(Math.max(Math.round(s._radiusY),1)||g)/g;m!==1&&(u.save(),u.scale(1,m)),u.beginPath(),u.arc(l.x,l.y/m,g,0,Math.PI*2,!1),m!==1&&u.restore(),this._fillStroke(u,s)}},_fillStroke:function(s,l){var u=l.options;u.fill&&(s.globalAlpha=u.fillOpacity,s.fillStyle=u.fillColor||u.color,s.fill(u.fillRule||"evenodd")),u.stroke&&u.weight!==0&&(s.setLineDash&&s.setLineDash(l.options&&l.options._dashArray||[]),s.globalAlpha=u.opacity,s.lineWidth=u.weight,s.strokeStyle=u.color,s.lineCap=u.lineCap,s.lineJoin=u.lineJoin,s.stroke())},_onClick:function(s){for(var l=this._map.mouseEventToLayerPoint(s),u,g,m=this._drawFirst;m;m=m.next)u=m.layer,u.options.interactive&&u._containsPoint(l)&&(!(s.type==="click"||s.type==="preclick")||!this._map._draggableMoved(u))&&(g=u);this._fireEvent(g?[g]:!1,s)},_onMouseMove:function(s){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var l=this._map.mouseEventToLayerPoint(s);this._handleMouseHover(s,l)}},_handleMouseOut:function(s){var l=this._hoveredLayer;l&&(It(this._container,"leaflet-interactive"),this._fireEvent([l],s,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(s,l){if(!this._mouseHoverThrottled){for(var u,g,m=this._drawFirst;m;m=m.next)u=m.layer,u.options.interactive&&u._containsPoint(l)&&(g=u);g!==this._hoveredLayer&&(this._handleMouseOut(s),g&&(dt(this._container,"leaflet-interactive"),this._fireEvent([g],s,"mouseover"),this._hoveredLayer=g)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,s),this._mouseHoverThrottled=!0,setTimeout(a(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(s,l,u){this._map._fireDOMEvent(l,u||l.type,s)},_bringToFront:function(s){var l=s._order;if(l){var u=l.next,g=l.prev;if(u)u.prev=g;else return;g?g.next=u:u&&(this._drawFirst=u),l.prev=this._drawLast,this._drawLast.next=l,l.next=null,this._drawLast=l,this._requestRedraw(s)}},_bringToBack:function(s){var l=s._order;if(l){var u=l.next,g=l.prev;if(g)g.next=u;else return;u?u.prev=g:g&&(this._drawLast=g),l.prev=null,l.next=this._drawFirst,this._drawFirst.prev=l,this._drawFirst=l,this._requestRedraw(s)}}});function Hf(s){return tt.canvas?new jf(s):null}var es=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(s){return document.createElement("<lvml:"+s+' class="lvml">')}}catch{}return function(s){return document.createElement("<"+s+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),_E={_initContainer:function(){this._container=xt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(yi.prototype._update.call(this),this.fire("update"))},_initPath:function(s){var l=s._container=es("shape");dt(l,"leaflet-vml-shape "+(this.options.className||"")),l.coordsize="1 1",s._path=es("path"),l.appendChild(s._path),this._updateStyle(s),this._layers[c(s)]=s},_addPath:function(s){var l=s._container;this._container.appendChild(l),s.options.interactive&&s.addInteractiveTarget(l)},_removePath:function(s){var l=s._container;Dt(l),s.removeInteractiveTarget(l),delete this._layers[c(s)]},_updateStyle:function(s){var l=s._stroke,u=s._fill,g=s.options,m=s._container;m.stroked=!!g.stroke,m.filled=!!g.fill,g.stroke?(l||(l=s._stroke=es("stroke")),m.appendChild(l),l.weight=g.weight+"px",l.color=g.color,l.opacity=g.opacity,g.dashArray?l.dashStyle=E(g.dashArray)?g.dashArray.join(" "):g.dashArray.replace(/( *, *)/g," "):l.dashStyle="",l.endcap=g.lineCap.replace("butt","flat"),l.joinstyle=g.lineJoin):l&&(m.removeChild(l),s._stroke=null),g.fill?(u||(u=s._fill=es("fill")),m.appendChild(u),u.color=g.fillColor||g.color,u.opacity=g.fillOpacity):u&&(m.removeChild(u),s._fill=null)},_updateCircle:function(s){var l=s._point.round(),u=Math.round(s._radius),g=Math.round(s._radiusY||u);this._setPath(s,s._empty()?"M0 0":"AL "+l.x+","+l.y+" "+u+","+g+" 0,"+65535*360)},_setPath:function(s,l){s._path.v=l},_bringToFront:function(s){qn(s._container)},_bringToBack:function(s){Jn(s._container)}},qo=tt.vml?es:Fi,is=yi.extend({_initContainer:function(){this._container=qo("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=qo("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Dt(this._container),Mt(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){yi.prototype._update.call(this);var s=this._bounds,l=s.getSize(),u=this._container;(!this._svgSize||!this._svgSize.equals(l))&&(this._svgSize=l,u.setAttribute("width",l.x),u.setAttribute("height",l.y)),Bt(u,s.min),u.setAttribute("viewBox",[s.min.x,s.min.y,l.x,l.y].join(" ")),this.fire("update")}},_initPath:function(s){var l=s._path=qo("path");s.options.className&&dt(l,s.options.className),s.options.interactive&&dt(l,"leaflet-interactive"),this._updateStyle(s),this._layers[c(s)]=s},_addPath:function(s){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(s._path),s.addInteractiveTarget(s._path)},_removePath:function(s){Dt(s._path),s.removeInteractiveTarget(s._path),delete this._layers[c(s)]},_updatePath:function(s){s._project(),s._update()},_updateStyle:function(s){var l=s._path,u=s.options;l&&(u.stroke?(l.setAttribute("stroke",u.color),l.setAttribute("stroke-opacity",u.opacity),l.setAttribute("stroke-width",u.weight),l.setAttribute("stroke-linecap",u.lineCap),l.setAttribute("stroke-linejoin",u.lineJoin),u.dashArray?l.setAttribute("stroke-dasharray",u.dashArray):l.removeAttribute("stroke-dasharray"),u.dashOffset?l.setAttribute("stroke-dashoffset",u.dashOffset):l.removeAttribute("stroke-dashoffset")):l.setAttribute("stroke","none"),u.fill?(l.setAttribute("fill",u.fillColor||u.color),l.setAttribute("fill-opacity",u.fillOpacity),l.setAttribute("fill-rule",u.fillRule||"evenodd")):l.setAttribute("fill","none"))},_updatePoly:function(s,l){this._setPath(s,Me(s._parts,l))},_updateCircle:function(s){var l=s._point,u=Math.max(Math.round(s._radius),1),g=Math.max(Math.round(s._radiusY),1)||u,m="a"+u+","+g+" 0 1,0 ",x=s._empty()?"M0 0":"M"+(l.x-u)+","+l.y+m+u*2+",0 "+m+-u*2+",0 ";this._setPath(s,x)},_setPath:function(s,l){s._path.setAttribute("d",l)},_bringToFront:function(s){qn(s._path)},_bringToBack:function(s){Jn(s._path)}});tt.vml&&is.include(_E);function Wf(s){return tt.svg||tt.vml?new is(s):null}vt.include({getRenderer:function(s){var l=s.options.renderer||this._getPaneRenderer(s.options.pane)||this.options.renderer||this._renderer;return l||(l=this._renderer=this._createRenderer()),this.hasLayer(l)||this.addLayer(l),l},_getPaneRenderer:function(s){if(s==="overlayPane"||s===void 0)return!1;var l=this._paneRenderers[s];return l===void 0&&(l=this._createRenderer({pane:s}),this._paneRenderers[s]=l),l},_createRenderer:function(s){return this.options.preferCanvas&&Hf(s)||Wf(s)}});var Yf=er.extend({initialize:function(s,l){er.prototype.initialize.call(this,this._boundsToLatLngs(s),l)},setBounds:function(s){return this.setLatLngs(this._boundsToLatLngs(s))},_boundsToLatLngs:function(s){return s=J(s),[s.getSouthWest(),s.getNorthWest(),s.getNorthEast(),s.getSouthEast()]}});function yE(s,l){return new Yf(s,l)}is.create=qo,is.pointsToPath=Me,_i.geometryToLayer=Wo,_i.coordsToLatLng=_h,_i.coordsToLatLngs=Yo,_i.latLngToCoords=yh,_i.latLngsToCoords=Xo,_i.getFeature=ir,_i.asFeature=Zo,vt.mergeOptions({boxZoom:!0});var Xf=Ve.extend({initialize:function(s){this._map=s,this._container=s._container,this._pane=s._panes.overlayPane,this._resetStateTimeout=0,s.on("unload",this._destroy,this)},addHooks:function(){ct(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Mt(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Dt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(s){if(!s.shiftKey||s.which!==1&&s.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Zr(),th(),this._startPoint=this._map.mouseEventToContainerPoint(s),ct(document,{contextmenu:gn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(s){this._moved||(this._moved=!0,this._box=xt("div","leaflet-zoom-box",this._container),dt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(s);var l=new it(this._point,this._startPoint),u=l.getSize();Bt(this._box,l.min),this._box.style.width=u.x+"px",this._box.style.height=u.y+"px"},_finish:function(){this._moved&&(Dt(this._box),It(this._container,"leaflet-crosshair")),Vr(),eh(),Mt(document,{contextmenu:gn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(s){if(!(s.which!==1&&s.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var l=new gt(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(l).fire("boxzoomend",{boxZoomBounds:l})}},_onKeyDown:function(s){s.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});vt.addInitHook("addHandler","boxZoom",Xf),vt.mergeOptions({doubleClickZoom:!0});var Zf=Ve.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(s){var l=this._map,u=l.getZoom(),g=l.options.zoomDelta,m=s.originalEvent.shiftKey?u-g:u+g;l.options.doubleClickZoom==="center"?l.setZoom(m):l.setZoomAround(s.containerPoint,m)}});vt.addInitHook("addHandler","doubleClickZoom",Zf),vt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Vf=Ve.extend({addHooks:function(){if(!this._draggable){var s=this._map;this._draggable=new Hi(s._mapPane,s._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),s.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),s.on("zoomend",this._onZoomEnd,this),s.whenReady(this._onZoomEnd,this))}dt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){It(this._map._container,"leaflet-grab"),It(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var s=this._map;if(s._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var l=J(this._map.options.maxBounds);this._offsetLimit=z(this._map.latLngToContainerPoint(l.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(l.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;s.fire("movestart").fire("dragstart"),s.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(s){if(this._map.options.inertia){var l=this._lastTime=+new Date,u=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(u),this._times.push(l),this._prunePositions(l)}this._map.fire("move",s).fire("drag",s)},_prunePositions:function(s){for(;this._positions.length>1&&s-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var s=this._map.getSize().divideBy(2),l=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=l.subtract(s).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(s,l){return s-(s-l)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var s=this._draggable._newPos.subtract(this._draggable._startPos),l=this._offsetLimit;s.x<l.min.x&&(s.x=this._viscousLimit(s.x,l.min.x)),s.y<l.min.y&&(s.y=this._viscousLimit(s.y,l.min.y)),s.x>l.max.x&&(s.x=this._viscousLimit(s.x,l.max.x)),s.y>l.max.y&&(s.y=this._viscousLimit(s.y,l.max.y)),this._draggable._newPos=this._draggable._startPos.add(s)}},_onPreDragWrap:function(){var s=this._worldWidth,l=Math.round(s/2),u=this._initialWorldOffset,g=this._draggable._newPos.x,m=(g-l+u)%s+l-u,x=(g+l+u)%s-l-u,T=Math.abs(m+u)<Math.abs(x+u)?m:x;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=T},_onDragEnd:function(s){var l=this._map,u=l.options,g=!u.inertia||s.noInertia||this._times.length<2;if(l.fire("dragend",s),g)l.fire("moveend");else{this._prunePositions(+new Date);var m=this._lastPos.subtract(this._positions[0]),x=(this._lastTime-this._times[0])/1e3,T=u.easeLinearity,S=m.multiplyBy(T/x),I=S.distanceTo([0,0]),N=Math.min(u.inertiaMaxSpeed,I),K=S.multiplyBy(N/I),st=N/(u.inertiaDeceleration*T),pt=K.multiplyBy(-st/2).round();!pt.x&&!pt.y?l.fire("moveend"):(pt=l._limitOffset(pt,l.options.maxBounds),G(function(){l.panBy(pt,{duration:st,easeLinearity:T,noMoveStart:!0,animate:!0})}))}}});vt.addInitHook("addHandler","dragging",Vf),vt.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Kf=Ve.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(s){this._map=s,this._setPanDelta(s.options.keyboardPanDelta),this._setZoomDelta(s.options.zoomDelta)},addHooks:function(){var s=this._map._container;s.tabIndex<=0&&(s.tabIndex="0"),ct(s,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Mt(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var s=document.body,l=document.documentElement,u=s.scrollTop||l.scrollTop,g=s.scrollLeft||l.scrollLeft;this._map._container.focus(),window.scrollTo(g,u)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(s){var l=this._panKeys={},u=this.keyCodes,g,m;for(g=0,m=u.left.length;g<m;g++)l[u.left[g]]=[-1*s,0];for(g=0,m=u.right.length;g<m;g++)l[u.right[g]]=[s,0];for(g=0,m=u.down.length;g<m;g++)l[u.down[g]]=[0,s];for(g=0,m=u.up.length;g<m;g++)l[u.up[g]]=[0,-1*s]},_setZoomDelta:function(s){var l=this._zoomKeys={},u=this.keyCodes,g,m;for(g=0,m=u.zoomIn.length;g<m;g++)l[u.zoomIn[g]]=s;for(g=0,m=u.zoomOut.length;g<m;g++)l[u.zoomOut[g]]=-s},_addHooks:function(){ct(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Mt(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(s){if(!(s.altKey||s.ctrlKey||s.metaKey)){var l=s.keyCode,u=this._map,g;if(l in this._panKeys){if(!u._panAnim||!u._panAnim._inProgress)if(g=this._panKeys[l],s.shiftKey&&(g=W(g).multiplyBy(3)),u.options.maxBounds&&(g=u._limitOffset(W(g),u.options.maxBounds)),u.options.worldCopyJump){var m=u.wrapLatLng(u.unproject(u.project(u.getCenter()).add(g)));u.panTo(m)}else u.panBy(g)}else if(l in this._zoomKeys)u.setZoom(u.getZoom()+(s.shiftKey?3:1)*this._zoomKeys[l]);else if(l===27&&u._popup&&u._popup.options.closeOnEscapeKey)u.closePopup();else return;gn(s)}}});vt.addInitHook("addHandler","keyboard",Kf),vt.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Qf=Ve.extend({addHooks:function(){ct(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Mt(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(s){var l=xf(s),u=this._map.options.wheelDebounceTime;this._delta+=l,this._lastMousePos=this._map.mouseEventToContainerPoint(s),this._startTime||(this._startTime=+new Date);var g=Math.max(u-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),g),gn(s)},_performZoom:function(){var s=this._map,l=s.getZoom(),u=this._map.options.zoomSnap||0;s._stop();var g=this._delta/(this._map.options.wheelPxPerZoomLevel*4),m=4*Math.log(2/(1+Math.exp(-Math.abs(g))))/Math.LN2,x=u?Math.ceil(m/u)*u:m,T=s._limitZoom(l+(this._delta>0?x:-x))-l;this._delta=0,this._startTime=null,T&&(s.options.scrollWheelZoom==="center"?s.setZoom(l+T):s.setZoomAround(this._lastMousePos,l+T))}});vt.addInitHook("addHandler","scrollWheelZoom",Qf);var vE=600;vt.mergeOptions({tapHold:tt.touchNative&&tt.safari&&tt.mobile,tapTolerance:15});var qf=Ve.extend({addHooks:function(){ct(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Mt(this._map._container,"touchstart",this._onDown,this)},_onDown:function(s){if(clearTimeout(this._holdTimeout),s.touches.length===1){var l=s.touches[0];this._startPos=this._newPos=new B(l.clientX,l.clientY),this._holdTimeout=setTimeout(a(function(){this._cancel(),this._isTapValid()&&(ct(document,"touchend",Kt),ct(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",l))},this),vE),ct(document,"touchend touchcancel contextmenu",this._cancel,this),ct(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function s(){Mt(document,"touchend",Kt),Mt(document,"touchend touchcancel",s)},_cancel:function(){clearTimeout(this._holdTimeout),Mt(document,"touchend touchcancel contextmenu",this._cancel,this),Mt(document,"touchmove",this._onMove,this)},_onMove:function(s){var l=s.touches[0];this._newPos=new B(l.clientX,l.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(s,l){var u=new MouseEvent(s,{bubbles:!0,cancelable:!0,view:window,screenX:l.screenX,screenY:l.screenY,clientX:l.clientX,clientY:l.clientY});u._simulated=!0,l.target.dispatchEvent(u)}});vt.addInitHook("addHandler","tapHold",qf),vt.mergeOptions({touchZoom:tt.touch,bounceAtZoomLimits:!0});var Jf=Ve.extend({addHooks:function(){dt(this._map._container,"leaflet-touch-zoom"),ct(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){It(this._map._container,"leaflet-touch-zoom"),Mt(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(s){var l=this._map;if(!(!s.touches||s.touches.length!==2||l._animatingZoom||this._zooming)){var u=l.mouseEventToContainerPoint(s.touches[0]),g=l.mouseEventToContainerPoint(s.touches[1]);this._centerPoint=l.getSize()._divideBy(2),this._startLatLng=l.containerPointToLatLng(this._centerPoint),l.options.touchZoom!=="center"&&(this._pinchStartLatLng=l.containerPointToLatLng(u.add(g)._divideBy(2))),this._startDist=u.distanceTo(g),this._startZoom=l.getZoom(),this._moved=!1,this._zooming=!0,l._stop(),ct(document,"touchmove",this._onTouchMove,this),ct(document,"touchend touchcancel",this._onTouchEnd,this),Kt(s)}},_onTouchMove:function(s){if(!(!s.touches||s.touches.length!==2||!this._zooming)){var l=this._map,u=l.mouseEventToContainerPoint(s.touches[0]),g=l.mouseEventToContainerPoint(s.touches[1]),m=u.distanceTo(g)/this._startDist;if(this._zoom=l.getScaleZoom(m,this._startZoom),!l.options.bounceAtZoomLimits&&(this._zoom<l.getMinZoom()&&m<1||this._zoom>l.getMaxZoom()&&m>1)&&(this._zoom=l._limitZoom(this._zoom)),l.options.touchZoom==="center"){if(this._center=this._startLatLng,m===1)return}else{var x=u._add(g)._divideBy(2)._subtract(this._centerPoint);if(m===1&&x.x===0&&x.y===0)return;this._center=l.unproject(l.project(this._pinchStartLatLng,this._zoom).subtract(x),this._zoom)}this._moved||(l._moveStart(!0,!1),this._moved=!0),Z(this._animRequest);var T=a(l._move,l,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=G(T,this,!0),Kt(s)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,Z(this._animRequest),Mt(document,"touchmove",this._onTouchMove,this),Mt(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});vt.addInitHook("addHandler","touchZoom",Jf),vt.BoxZoom=Xf,vt.DoubleClickZoom=Zf,vt.Drag=Vf,vt.Keyboard=Kf,vt.ScrollWheelZoom=Qf,vt.TapHold=qf,vt.TouchZoom=Jf,e.Bounds=it,e.Browser=tt,e.CRS=Ft,e.Canvas=jf,e.Circle=mh,e.CircleMarker=Ho,e.Class=ot,e.Control=Re,e.DivIcon=Nf,e.DivOverlay=Ke,e.DomEvent=z0,e.DomUtil=O0,e.Draggable=Hi,e.Evented=U,e.FeatureGroup=pi,e.GeoJSON=_i,e.GridLayer=ts,e.Handler=Ve,e.Icon=tr,e.ImageOverlay=Vo,e.LatLng=q,e.LatLngBounds=gt,e.Layer=Ie,e.LayerGroup=$n,e.LineUtil=Q0,e.Map=vt,e.Marker=jo,e.Mixin=W0,e.Path=Wi,e.Point=B,e.PolyUtil=Y0,e.Polygon=er,e.Polyline=mi,e.Popup=Ko,e.PosAnimation=Af,e.Projection=q0,e.Rectangle=Yf,e.Renderer=yi,e.SVG=is,e.SVGOverlay=Bf,e.TileLayer=nr,e.Tooltip=Qo,e.Transformation=ki,e.Util=$,e.VideoOverlay=zf,e.bind=a,e.bounds=z,e.canvas=Hf,e.circle=sE,e.circleMarker=rE,e.control=qr,e.divIcon=gE,e.extend=n,e.featureGroup=eE,e.geoJSON=Ff,e.geoJson=lE,e.gridLayer=pE,e.icon=iE,e.imageOverlay=hE,e.latLng=lt,e.latLngBounds=J,e.layerGroup=tE,e.map=B0,e.marker=nE,e.point=W,e.polygon=aE,e.polyline=oE,e.popup=dE,e.rectangle=yE,e.setOptions=A,e.stamp=c,e.svg=Wf,e.svgOverlay=uE,e.tileLayer=Gf,e.tooltip=fE,e.transformation=xe,e.version=i,e.videoOverlay=cE;var xE=window.L;e.noConflict=function(){return window.L=xE,this},window.L=e})}(os,os.exports)),os.exports}var Q=Dh();const SE="";function Sh(r,t,e){e===void 0&&(e={});var i={type:"Feature"};return(e.id===0||e.id)&&(i.id=e.id),e.bbox&&(i.bbox=e.bbox),i.properties=t||{},i.geometry=r,i}function dg(r,t,e){if(e===void 0&&(e={}),!r)throw new Error("coordinates is required");if(!Array.isArray(r))throw new Error("coordinates must be an Array");if(r.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!Rh(r[0])||!Rh(r[1]))throw new Error("coordinates must contain numbers");var i={type:"Point",coordinates:r};return Sh(i,t,e)}function fg(r,t,e){e===void 0&&(e={});for(var i=0,n=r;i<n.length;i++){var o=n[i];if(o.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var a=0;a<o[o.length-1].length;a++)if(o[o.length-1][a]!==o[0][a])throw new Error("First and last Position are not equivalent.")}var h={type:"Polygon",coordinates:r};return Sh(h,t,e)}function Rh(r){return!isNaN(r)&&r!==null&&!Array.isArray(r)}function gg(r){if(!r)throw new Error("coord is required");if(!Array.isArray(r)){if(r.type==="Feature"&&r.geometry!==null&&r.geometry.type==="Point")return r.geometry.coordinates;if(r.type==="Point")return r.coordinates}if(Array.isArray(r)&&r.length>=2&&!Array.isArray(r[0])&&!Array.isArray(r[1]))return r;throw new Error("coord must be GeoJSON Point or an Array of numbers")}function pg(r){return r.type==="Feature"?r.geometry:r}function mg(r,t,e,i,n){Ih(r,t,e||0,i||r.length-1,n||_g)}function Ih(r,t,e,i,n){for(;i>e;){if(i-e>600){var o=i-e+1,a=t-e+1,h=Math.log(o),c=.5*Math.exp(2*h/3),d=.5*Math.sqrt(h*c*(o-c)/o)*(a-o/2<0?-1:1),f=Math.max(e,Math.floor(t-a*c/o+d)),p=Math.min(i,Math.floor(t+(o-a)*c/o+d));Ih(r,t,f,p,n)}var _=r[t],y=e,v=i;for(sr(r,e,t),n(r[i],_)>0&&sr(r,e,i);y<v;){for(sr(r,y,v),y++,v--;n(r[y],_)<0;)y++;for(;n(r[v],_)>0;)v--}n(r[e],_)===0?sr(r,e,v):(v++,sr(r,v,i)),v<=t&&(e=v+1),t<=v&&(i=v-1)}}function sr(r,t,e){var i=r[t];r[t]=r[e],r[e]=i}function _g(r,t){return r<t?-1:r>t?1:0}let kh=class{constructor(t=9){this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(t){let e=this.data;const i=[];if(!ls(t,e))return i;const n=this.toBBox,o=[];for(;e;){for(let a=0;a<e.children.length;a++){const h=e.children[a],c=e.leaf?n(h):h;ls(t,c)&&(e.leaf?i.push(h):ia(t,c)?this._all(h,i):o.push(h))}e=o.pop()}return i}collides(t){let e=this.data;if(!ls(t,e))return!1;const i=[];for(;e;){for(let n=0;n<e.children.length;n++){const o=e.children[n],a=e.leaf?this.toBBox(o):o;if(ls(t,a)){if(e.leaf||ia(t,a))return!0;i.push(o)}}e=i.pop()}return!1}load(t){if(!(t&&t.length))return this;if(t.length<this._minEntries){for(let i=0;i<t.length;i++)this.insert(t[i]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(!this.data.children.length)this.data=e;else if(this.data.height===e.height)this._splitRoot(this.data,e);else{if(this.data.height<e.height){const i=this.data;this.data=e,e=i}this._insert(e,this.data.height-e.height-1,!0)}return this}insert(t){return t&&this._insert(t,this.data.height-1),this}clear(){return this.data=_n([]),this}remove(t,e){if(!t)return this;let i=this.data;const n=this.toBBox(t),o=[],a=[];let h,c,d;for(;i||o.length;){if(i||(i=o.pop(),c=o[o.length-1],h=a.pop(),d=!0),i.leaf){const f=yg(t,i.children,e);if(f!==-1)return i.children.splice(f,1),o.push(i),this._condense(o),this}!d&&!i.leaf&&ia(i,n)?(o.push(i),a.push(h),h=0,c=i,i=i.children[0]):c?(h++,i=c.children[h],d=!1):i=null}return this}toBBox(t){return t}compareMinX(t,e){return t.minX-e.minX}compareMinY(t,e){return t.minY-e.minY}toJSON(){return this.data}fromJSON(t){return this.data=t,this}_all(t,e){const i=[];for(;t;)t.leaf?e.push(...t.children):i.push(...t.children),t=i.pop();return e}_build(t,e,i,n){const o=i-e+1;let a=this._maxEntries,h;if(o<=a)return h=_n(t.slice(e,i+1)),mn(h,this.toBBox),h;n||(n=Math.ceil(Math.log(o)/Math.log(a)),a=Math.ceil(o/Math.pow(a,n-1))),h=_n([]),h.leaf=!1,h.height=n;const c=Math.ceil(o/a),d=c*Math.ceil(Math.sqrt(a));Oh(t,e,i,d,this.compareMinX);for(let f=e;f<=i;f+=d){const p=Math.min(f+d-1,i);Oh(t,f,p,c,this.compareMinY);for(let _=f;_<=p;_+=c){const y=Math.min(_+c-1,p);h.children.push(this._build(t,_,y,n-1))}}return mn(h,this.toBBox),h}_chooseSubtree(t,e,i,n){for(;n.push(e),!(e.leaf||n.length-1===i);){let o=1/0,a=1/0,h;for(let c=0;c<e.children.length;c++){const d=e.children[c],f=ea(d),p=Ag(t,d)-f;p<a?(a=p,o=f<o?f:o,h=d):p===a&&f<o&&(o=f,h=d)}e=h||e.children[0]}return e}_insert(t,e,i){const n=i?t:this.toBBox(t),o=[],a=this._chooseSubtree(n,this.data,e,o);for(a.children.push(t),ar(a,n);e>=0&&o[e].children.length>this._maxEntries;)this._split(o,e),e--;this._adjustParentBBoxes(n,o,e)}_split(t,e){const i=t[e],n=i.children.length,o=this._minEntries;this._chooseSplitAxis(i,o,n);const a=this._chooseSplitIndex(i,o,n),h=_n(i.children.splice(a,i.children.length-a));h.height=i.height,h.leaf=i.leaf,mn(i,this.toBBox),mn(h,this.toBBox),e?t[e-1].children.push(h):this._splitRoot(i,h)}_splitRoot(t,e){this.data=_n([t,e]),this.data.height=t.height+1,this.data.leaf=!1,mn(this.data,this.toBBox)}_chooseSplitIndex(t,e,i){let n,o=1/0,a=1/0;for(let h=e;h<=i-e;h++){const c=or(t,0,h,this.toBBox),d=or(t,h,i,this.toBBox),f=wg(c,d),p=ea(c)+ea(d);f<o?(o=f,n=h,a=p<a?p:a):f===o&&p<a&&(a=p,n=h)}return n||i-e}_chooseSplitAxis(t,e,i){const n=t.leaf?this.compareMinX:vg,o=t.leaf?this.compareMinY:xg,a=this._allDistMargin(t,e,i,n),h=this._allDistMargin(t,e,i,o);a<h&&t.children.sort(n)}_allDistMargin(t,e,i,n){t.children.sort(n);const o=this.toBBox,a=or(t,0,e,o),h=or(t,i-e,i,o);let c=as(a)+as(h);for(let d=e;d<i-e;d++){const f=t.children[d];ar(a,t.leaf?o(f):f),c+=as(a)}for(let d=i-e-1;d>=e;d--){const f=t.children[d];ar(h,t.leaf?o(f):f),c+=as(h)}return c}_adjustParentBBoxes(t,e,i){for(let n=i;n>=0;n--)ar(e[n],t)}_condense(t){for(let e=t.length-1,i;e>=0;e--)t[e].children.length===0?e>0?(i=t[e-1].children,i.splice(i.indexOf(t[e]),1)):this.clear():mn(t[e],this.toBBox)}};function yg(r,t,e){if(!e)return t.indexOf(r);for(let i=0;i<t.length;i++)if(e(r,t[i]))return i;return-1}function mn(r,t){or(r,0,r.children.length,t,r)}function or(r,t,e,i,n){n||(n=_n(null)),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let o=t;o<e;o++){const a=r.children[o];ar(n,r.leaf?i(a):a)}return n}function ar(r,t){return r.minX=Math.min(r.minX,t.minX),r.minY=Math.min(r.minY,t.minY),r.maxX=Math.max(r.maxX,t.maxX),r.maxY=Math.max(r.maxY,t.maxY),r}function vg(r,t){return r.minX-t.minX}function xg(r,t){return r.minY-t.minY}function ea(r){return(r.maxX-r.minX)*(r.maxY-r.minY)}function as(r){return r.maxX-r.minX+(r.maxY-r.minY)}function Ag(r,t){return(Math.max(t.maxX,r.maxX)-Math.min(t.minX,r.minX))*(Math.max(t.maxY,r.maxY)-Math.min(t.minY,r.minY))}function wg(r,t){const e=Math.max(r.minX,t.minX),i=Math.max(r.minY,t.minY),n=Math.min(r.maxX,t.maxX),o=Math.min(r.maxY,t.maxY);return Math.max(0,n-e)*Math.max(0,o-i)}function ia(r,t){return r.minX<=t.minX&&r.minY<=t.minY&&t.maxX<=r.maxX&&t.maxY<=r.maxY}function ls(r,t){return t.minX<=r.maxX&&t.minY<=r.maxY&&t.maxX>=r.minX&&t.maxY>=r.minY}function _n(r){return{children:r,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function Oh(r,t,e,i,n){const o=[t,e];for(;o.length;){if(e=o.pop(),t=o.pop(),e-t<=i)continue;const a=t+Math.ceil((e-t)/i/2)*i;mg(r,a,t,e,n),o.push(t,a,a,e)}}function Eg(r,t,e){if(e===void 0&&(e={}),!r)throw new Error("point is required");if(!t)throw new Error("polygon is required");var i=gg(r),n=pg(t),o=n.type,a=t.bbox,h=n.coordinates;if(a&&Cg(i,a)===!1)return!1;o==="Polygon"&&(h=[h]);for(var c=!1,d=0;d<h.length&&!c;d++)if(Fh(i,h[d][0],e.ignoreBoundary)){for(var f=!1,p=1;p<h[d].length&&!f;)Fh(i,h[d][p],!e.ignoreBoundary)&&(f=!0),p++;f||(c=!0)}return c}function Fh(r,t,e){var i=!1;t[0][0]===t[t.length-1][0]&&t[0][1]===t[t.length-1][1]&&(t=t.slice(0,t.length-1));for(var n=0,o=t.length-1;n<t.length;o=n++){var a=t[n][0],h=t[n][1],c=t[o][0],d=t[o][1],f=r[1]*(a-c)+h*(c-r[0])+d*(r[0]-a)===0&&(a-r[0])*(c-r[0])<=0&&(h-r[1])*(d-r[1])<=0;if(f)return!e;var p=h>r[1]!=d>r[1]&&r[0]<(c-a)*(r[1]-h)/(d-h)+a;p&&(i=!i)}return i}function Cg(r,t){return t[0]<=r[0]&&t[1]<=r[1]&&t[2]>=r[0]&&t[3]>=r[1]}var zh={exports:{}};zh.exports=hs,zh.exports.default=hs;function hs(r,t,e){e=e||2;var i=t&&t.length,n=i?t[0]*e:r.length,o=Bh(r,0,n,e,!0),a=[];if(!o||o.next===o.prev)return a;var h,c,d,f,p,_,y;if(i&&(o=Pg(r,t,o,e)),r.length>80*e){h=d=r[0],c=f=r[1];for(var v=e;v<n;v+=e)p=r[v],_=r[v+1],p<h&&(h=p),_<c&&(c=_),p>d&&(d=p),_>f&&(f=_);y=Math.max(d-h,f-c),y=y!==0?32767/y:0}return lr(o,a,e,h,c,y,0),a}function Bh(r,t,e,i,n){var o,a;if(n===sa(r,t,e,i)>0)for(o=t;o<e;o+=i)a=Uh(o,r[o],r[o+1],a);else for(o=e-i;o>=t;o-=i)a=Uh(o,r[o],r[o+1],a);return a&&cs(a,a.next)&&(cr(a),a=a.next),a}function Yi(r,t){if(!r)return r;t||(t=r);var e=r,i;do if(i=!1,!e.steiner&&(cs(e,e.next)||Pt(e.prev,e,e.next)===0)){if(cr(e),e=t=e.prev,e===e.next)break;i=!0}else e=e.next;while(i||e!==t);return t}function lr(r,t,e,i,n,o,a){if(r){!a&&o&&kg(r,i,n,o);for(var h=r,c,d;r.prev!==r.next;){if(c=r.prev,d=r.next,o?bg(r,i,n,o):Lg(r)){t.push(c.i/e|0),t.push(r.i/e|0),t.push(d.i/e|0),cr(r),r=d.next,h=d.next;continue}if(r=d,r===h){a?a===1?(r=Tg(Yi(r),t,e),lr(r,t,e,i,n,o,2)):a===2&&Mg(r,t,e,i,n,o):lr(Yi(r),t,e,i,n,o,1);break}}}}function Lg(r){var t=r.prev,e=r,i=r.next;if(Pt(t,e,i)>=0)return!1;for(var n=t.x,o=e.x,a=i.x,h=t.y,c=e.y,d=i.y,f=n<o?n<a?n:a:o<a?o:a,p=h<c?h<d?h:d:c<d?c:d,_=n>o?n>a?n:a:o>a?o:a,y=h>c?h>d?h:d:c>d?c:d,v=i.next;v!==t;){if(v.x>=f&&v.x<=_&&v.y>=p&&v.y<=y&&yn(n,h,o,c,a,d,v.x,v.y)&&Pt(v.prev,v,v.next)>=0)return!1;v=v.next}return!0}function bg(r,t,e,i){var n=r.prev,o=r,a=r.next;if(Pt(n,o,a)>=0)return!1;for(var h=n.x,c=o.x,d=a.x,f=n.y,p=o.y,_=a.y,y=h<c?h<d?h:d:c<d?c:d,v=f<p?f<_?f:_:p<_?p:_,A=h>c?h>d?h:d:c>d?c:d,b=f>p?f>_?f:_:p>_?p:_,M=na(y,v,t,e,i),w=na(A,b,t,e,i),E=r.prevZ,C=r.nextZ;E&&E.z>=M&&C&&C.z<=w;){if(E.x>=y&&E.x<=A&&E.y>=v&&E.y<=b&&E!==n&&E!==a&&yn(h,f,c,p,d,_,E.x,E.y)&&Pt(E.prev,E,E.next)>=0||(E=E.prevZ,C.x>=y&&C.x<=A&&C.y>=v&&C.y<=b&&C!==n&&C!==a&&yn(h,f,c,p,d,_,C.x,C.y)&&Pt(C.prev,C,C.next)>=0))return!1;C=C.nextZ}for(;E&&E.z>=M;){if(E.x>=y&&E.x<=A&&E.y>=v&&E.y<=b&&E!==n&&E!==a&&yn(h,f,c,p,d,_,E.x,E.y)&&Pt(E.prev,E,E.next)>=0)return!1;E=E.prevZ}for(;C&&C.z<=w;){if(C.x>=y&&C.x<=A&&C.y>=v&&C.y<=b&&C!==n&&C!==a&&yn(h,f,c,p,d,_,C.x,C.y)&&Pt(C.prev,C,C.next)>=0)return!1;C=C.nextZ}return!0}function Tg(r,t,e){var i=r;do{var n=i.prev,o=i.next.next;!cs(n,o)&&Nh(n,i,i.next,o)&&hr(n,o)&&hr(o,n)&&(t.push(n.i/e|0),t.push(i.i/e|0),t.push(o.i/e|0),cr(i),cr(i.next),i=r=o),i=i.next}while(i!==r);return Yi(i)}function Mg(r,t,e,i,n,o){var a=r;do{for(var h=a.next.next;h!==a.prev;){if(a.i!==h.i&&zg(a,h)){var c=Gh(a,h);a=Yi(a,a.next),c=Yi(c,c.next),lr(a,t,e,i,n,o,0),lr(c,t,e,i,n,o,0);return}h=h.next}a=a.next}while(a!==r)}function Pg(r,t,e,i){var n=[],o,a,h,c,d;for(o=0,a=t.length;o<a;o++)h=t[o]*i,c=o<a-1?t[o+1]*i:r.length,d=Bh(r,h,c,i,!1),d===d.next&&(d.steiner=!0),n.push(Fg(d));for(n.sort(Dg),o=0;o<n.length;o++)e=Sg(n[o],e);return e}function Dg(r,t){return r.x-t.x}function Sg(r,t){var e=Rg(r,t);if(!e)return t;var i=Gh(e,r);return Yi(i,i.next),Yi(e,e.next)}function Rg(r,t){var e=t,i=r.x,n=r.y,o=-1/0,a;do{if(n<=e.y&&n>=e.next.y&&e.next.y!==e.y){var h=e.x+(n-e.y)*(e.next.x-e.x)/(e.next.y-e.y);if(h<=i&&h>o&&(o=h,a=e.x<e.next.x?e:e.next,h===i))return a}e=e.next}while(e!==t);if(!a)return null;var c=a,d=a.x,f=a.y,p=1/0,_;e=a;do i>=e.x&&e.x>=d&&i!==e.x&&yn(n<f?i:o,n,d,f,n<f?o:i,n,e.x,e.y)&&(_=Math.abs(n-e.y)/(i-e.x),hr(e,r)&&(_<p||_===p&&(e.x>a.x||e.x===a.x&&Ig(a,e)))&&(a=e,p=_)),e=e.next;while(e!==c);return a}function Ig(r,t){return Pt(r.prev,r,t.prev)<0&&Pt(t.next,r,r.next)<0}function kg(r,t,e,i){var n=r;do n.z===0&&(n.z=na(n.x,n.y,t,e,i)),n.prevZ=n.prev,n.nextZ=n.next,n=n.next;while(n!==r);n.prevZ.nextZ=null,n.prevZ=null,Og(n)}function Og(r){var t,e,i,n,o,a,h,c,d=1;do{for(e=r,r=null,o=null,a=0;e;){for(a++,i=e,h=0,t=0;t<d&&(h++,i=i.nextZ,!!i);t++);for(c=d;h>0||c>0&&i;)h!==0&&(c===0||!i||e.z<=i.z)?(n=e,e=e.nextZ,h--):(n=i,i=i.nextZ,c--),o?o.nextZ=n:r=n,n.prevZ=o,o=n;e=i}o.nextZ=null,d*=2}while(a>1);return r}function na(r,t,e,i,n){return r=(r-e)*n|0,t=(t-i)*n|0,r=(r|r<<8)&16711935,r=(r|r<<4)&252645135,r=(r|r<<2)&858993459,r=(r|r<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,r|t<<1}function Fg(r){var t=r,e=r;do(t.x<e.x||t.x===e.x&&t.y<e.y)&&(e=t),t=t.next;while(t!==r);return e}function yn(r,t,e,i,n,o,a,h){return(n-a)*(t-h)>=(r-a)*(o-h)&&(r-a)*(i-h)>=(e-a)*(t-h)&&(e-a)*(o-h)>=(n-a)*(i-h)}function zg(r,t){return r.next.i!==t.i&&r.prev.i!==t.i&&!Bg(r,t)&&(hr(r,t)&&hr(t,r)&&Ng(r,t)&&(Pt(r.prev,r,t.prev)||Pt(r,t.prev,t))||cs(r,t)&&Pt(r.prev,r,r.next)>0&&Pt(t.prev,t,t.next)>0)}function Pt(r,t,e){return(t.y-r.y)*(e.x-t.x)-(t.x-r.x)*(e.y-t.y)}function cs(r,t){return r.x===t.x&&r.y===t.y}function Nh(r,t,e,i){var n=ds(Pt(r,t,e)),o=ds(Pt(r,t,i)),a=ds(Pt(e,i,r)),h=ds(Pt(e,i,t));return!!(n!==o&&a!==h||n===0&&us(r,e,t)||o===0&&us(r,i,t)||a===0&&us(e,r,i)||h===0&&us(e,t,i))}function us(r,t,e){return t.x<=Math.max(r.x,e.x)&&t.x>=Math.min(r.x,e.x)&&t.y<=Math.max(r.y,e.y)&&t.y>=Math.min(r.y,e.y)}function ds(r){return r>0?1:r<0?-1:0}function Bg(r,t){var e=r;do{if(e.i!==r.i&&e.next.i!==r.i&&e.i!==t.i&&e.next.i!==t.i&&Nh(e,e.next,r,t))return!0;e=e.next}while(e!==r);return!1}function hr(r,t){return Pt(r.prev,r,r.next)<0?Pt(r,t,r.next)>=0&&Pt(r,r.prev,t)>=0:Pt(r,t,r.prev)<0||Pt(r,r.next,t)<0}function Ng(r,t){var e=r,i=!1,n=(r.x+t.x)/2,o=(r.y+t.y)/2;do e.y>o!=e.next.y>o&&e.next.y!==e.y&&n<(e.next.x-e.x)*(o-e.y)/(e.next.y-e.y)+e.x&&(i=!i),e=e.next;while(e!==r);return i}function Gh(r,t){var e=new ra(r.i,r.x,r.y),i=new ra(t.i,t.x,t.y),n=r.next,o=t.prev;return r.next=t,t.prev=r,e.next=n,n.prev=e,i.next=e,e.prev=i,o.next=i,i.prev=o,i}function Uh(r,t,e,i){var n=new ra(r,t,e);return i?(n.next=i.next,n.prev=i,i.next.prev=n,i.next=n):(n.prev=n,n.next=n),n}function cr(r){r.next.prev=r.prev,r.prev.next=r.next,r.prevZ&&(r.prevZ.nextZ=r.nextZ),r.nextZ&&(r.nextZ.prevZ=r.prevZ)}function ra(r,t,e){this.i=r,this.x=t,this.y=e,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}hs.deviation=function(r,t,e,i){var n=t&&t.length,o=n?t[0]*e:r.length,a=Math.abs(sa(r,0,o,e));if(n)for(var h=0,c=t.length;h<c;h++){var d=t[h]*e,f=h<c-1?t[h+1]*e:r.length;a-=Math.abs(sa(r,d,f,e))}var p=0;for(h=0;h<i.length;h+=3){var _=i[h]*e,y=i[h+1]*e,v=i[h+2]*e;p+=Math.abs((r[_]-r[v])*(r[y+1]-r[_+1])-(r[_]-r[y])*(r[v+1]-r[_+1]))}return a===0&&p===0?0:Math.abs((p-a)/a)};function sa(r,t,e,i){for(var n=0,o=t,a=e-i;o<e;o+=i)n+=(r[a]-r[o])*(r[o+1]+r[a+1]),a=o;return n}hs.flatten=function(r){for(var t=r[0][0].length,e={vertices:[],holes:[],dimensions:t},i=0,n=0;n<r.length;n++){for(var o=0;o<r[n].length;o++)for(var a=0;a<t;a++)e.vertices.push(r[n][o][a]);n>0&&(i+=r[n-1].length,e.holes.push(i))}return e};const RE="";var Gg={exports:{}};const jh=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],qe=(()=>{if(typeof document>"u")return!1;const r=jh[0],t={};for(const e of jh)if((e==null?void 0:e[1])in document){for(const[n,o]of e.entries())t[r[n]]=o;return t}return!1})(),Hh={change:qe.fullscreenchange,error:qe.fullscreenerror};let fe={request(r=document.documentElement,t){return new Promise((e,i)=>{const n=()=>{fe.off("change",n),e()};fe.on("change",n);const o=r[qe.requestFullscreen](t);o instanceof Promise&&o.then(n).catch(i)})},exit(){return new Promise((r,t)=>{if(!fe.isFullscreen){r();return}const e=()=>{fe.off("change",e),r()};fe.on("change",e);const i=document[qe.exitFullscreen]();i instanceof Promise&&i.then(e).catch(t)})},toggle(r,t){return fe.isFullscreen?fe.exit():fe.request(r,t)},onchange(r){fe.on("change",r)},onerror(r){fe.on("error",r)},on(r,t){const e=Hh[r];e&&document.addEventListener(e,t,!1)},off(r,t){const e=Hh[r];e&&document.removeEventListener(e,t,!1)},raw:qe};Object.defineProperties(fe,{isFullscreen:{get:()=>!!document[qe.fullscreenElement]},element:{enumerable:!0,get:()=>document[qe.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>!!document[qe.fullscreenEnabled]}}),qe||(fe={isEnabled:!1});const Ug=wh(Object.freeze(Object.defineProperty({__proto__:null,default:fe},Symbol.toStringTag,{value:"Module"})));/*!
5
5
  * Based on package 'screenfull'
6
6
  * v5.2.0 - 2021-11-03
7
7
  * (c) Sindre Sorhus; MIT License
8
8
  * Added definition for using screenfull as an amd module
9
9
  * Must be placed before the definition of leaflet.fullscreen
10
10
  * as it is required by that
11
- */(function(r){(function(t,e){r.exports?r.exports.screenfull=e():t.screenfull=e()})(typeof self<"u"?self:ri,function(){var t=typeof window<"u"&&typeof window.document<"u"?window.document:{},e=function(){for(var s,a=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],h=0,c=a.length,d={};h<c;h++)if(s=a[h],s&&s[1]in t){for(h=0;h<s.length;h++)d[a[0][h]]=s[h];return d}return!1}(),i={change:e.fullscreenchange,error:e.fullscreenerror},n={request:function(s,a){return new Promise((function(h,c){var d=(function(){this.off("change",d),h()}).bind(this);this.on("change",d),s=s||t.documentElement;var f=s[e.requestFullscreen](a);f instanceof Promise&&f.then(d).catch(c)}).bind(this))},exit:function(){return new Promise((function(s,a){if(!this.isFullscreen){s();return}var h=(function(){this.off("change",h),s()}).bind(this);this.on("change",h);var c=t[e.exitFullscreen]();c instanceof Promise&&c.then(h).catch(a)}).bind(this))},toggle:function(s,a){return this.isFullscreen?this.exit():this.request(s,a)},onchange:function(s){this.on("change",s)},onerror:function(s){this.on("error",s)},on:function(s,a){var h=i[s];h&&t.addEventListener(h,a,!1)},off:function(s,a){var h=i[s];h&&t.removeEventListener(h,a,!1)},raw:e};return e?(Object.defineProperties(n,{isFullscreen:{get:function(){return!!t[e.fullscreenElement]}},element:{enumerable:!0,get:function(){return t[e.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!t[e.fullscreenEnabled]}}}),n):{isEnabled:!1}});/*!
11
+ */(function(r){(function(t,e){r.exports?r.exports.screenfull=e():t.screenfull=e()})(typeof self<"u"?self:Qe,function(){var t=typeof window<"u"&&typeof window.document<"u"?window.document:{},e=function(){for(var o,a=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],h=0,c=a.length,d={};h<c;h++)if(o=a[h],o&&o[1]in t){for(h=0;h<o.length;h++)d[a[0][h]]=o[h];return d}return!1}(),i={change:e.fullscreenchange,error:e.fullscreenerror},n={request:function(o,a){return new Promise((function(h,c){var d=(function(){this.off("change",d),h()}).bind(this);this.on("change",d),o=o||t.documentElement;var f=o[e.requestFullscreen](a);f instanceof Promise&&f.then(d).catch(c)}).bind(this))},exit:function(){return new Promise((function(o,a){if(!this.isFullscreen){o();return}var h=(function(){this.off("change",h),o()}).bind(this);this.on("change",h);var c=t[e.exitFullscreen]();c instanceof Promise&&c.then(h).catch(a)}).bind(this))},toggle:function(o,a){return this.isFullscreen?this.exit():this.request(o,a)},onchange:function(o){this.on("change",o)},onerror:function(o){this.on("error",o)},on:function(o,a){var h=i[o];h&&t.addEventListener(h,a,!1)},off:function(o,a){var h=i[o];h&&t.removeEventListener(h,a,!1)},raw:e};return e?(Object.defineProperties(n,{isFullscreen:{get:function(){return!!t[e.fullscreenElement]}},element:{enumerable:!0,get:function(){return t[e.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!t[e.fullscreenEnabled]}}}),n):{isEnabled:!1}});/*!
12
12
  * leaflet.fullscreen
13
- */(function(t,e){r.exports?r.exports=e(ec(),cp):e(t.L,t.screenfull)})(typeof self<"u"?self:ri,function(t,e){return t.Control.FullScreen=t.Control.extend({options:{position:"topleft",title:"Full Screen",titleCancel:"Exit Full Screen",forceSeparateButton:!1,forcePseudoFullscreen:!1,fullscreenElement:!1},_screenfull:e,onAdd:function(i){var n="leaflet-control-zoom-fullscreen",s,a="";return i.zoomControl&&!this.options.forceSeparateButton?s=i.zoomControl._container:s=t.DomUtil.create("div","leaflet-bar"),this.options.content?a=this.options.content:n+=" fullscreen-icon",this._createButton(this.options.title,n,a,s,this.toggleFullScreen,this),this._map.fullscreenControl=this,this._map.on("enterFullscreen exitFullscreen",this._toggleState,this),s},onRemove:function(){t.DomEvent.off(this.link,"click",t.DomEvent.stop).off(this.link,"click",this.toggleFullScreen,this),this._screenfull.isEnabled&&(t.DomEvent.off(this._container,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).off(this._container,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,this),t.DomEvent.off(document,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).off(document,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,this))},_createButton:function(i,n,s,a,h,c){return this.link=t.DomUtil.create("a",n,a),this.link.href="#",this.link.title=i,this.link.innerHTML=s,this.link.setAttribute("role","button"),this.link.setAttribute("aria-label",i),L.DomEvent.disableClickPropagation(a),t.DomEvent.on(this.link,"click",t.DomEvent.stop).on(this.link,"click",h,c),this._screenfull.isEnabled&&(t.DomEvent.on(a,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).on(a,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,c),t.DomEvent.on(document,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).on(document,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,c)),this.link},toggleFullScreen:function(){var i=this._map;i._exitFired=!1,i._isFullscreen?(this._screenfull.isEnabled&&!this.options.forcePseudoFullscreen?this._screenfull.exit():(t.DomUtil.removeClass(this.options.fullscreenElement?this.options.fullscreenElement:i._container,"leaflet-pseudo-fullscreen"),i.invalidateSize()),i.fire("exitFullscreen"),i._exitFired=!0,i._isFullscreen=!1):(this._screenfull.isEnabled&&!this.options.forcePseudoFullscreen?this._screenfull.request(this.options.fullscreenElement?this.options.fullscreenElement:i._container):(t.DomUtil.addClass(this.options.fullscreenElement?this.options.fullscreenElement:i._container,"leaflet-pseudo-fullscreen"),i.invalidateSize()),i.fire("enterFullscreen"),i._isFullscreen=!0)},_toggleState:function(){this.link.title=this._map._isFullscreen?this.options.title:this.options.titleCancel,this._map._isFullscreen?L.DomUtil.removeClass(this.link,"leaflet-fullscreen-on"):L.DomUtil.addClass(this.link,"leaflet-fullscreen-on")},_handleFullscreenChange:function(){var i=this._map;i.invalidateSize(),!this._screenfull.isFullscreen&&!i._exitFired&&(i.fire("exitFullscreen"),i._exitFired=!0,i._isFullscreen=!1)}}),t.Map.include({toggleFullscreen:function(){this.fullscreenControl.toggleFullScreen()}}),t.Map.addInitHook(function(){this.options.fullscreenControl&&this.addControl(t.control.fullscreen(this.options.fullscreenControlOptions))}),t.control.fullscreen=function(i){return new t.Control.FullScreen(i)},{leaflet:t,screenfull:e}})})(hp);const up=X.defineComponent({name:"CoordinatesVerifyPolygon",props:{dataPolygon:Object,iconMarker:Object,coordinatesMap:Array,checkPointInPolygon:Function},data(){return{markerIconDefault:{iconUrl:ws,iconSize:[25,41],iconAnchor:[12,41]}}},mounted(){this.verificarPuntoEnPoligono()},methods:{verificarPuntoEnPoligono(){var f;const r=this.iconMarker?this.iconMarker:this.markerIconDefault,t=(f=this.dataPolygon)==null?void 0:f.geometry.coordinates[0].map(p=>[p[1],p[0]]),e=JSON.parse(JSON.stringify(t)),i=[this.coordinatesMap?this.coordinatesMap[0]:0,this.coordinatesMap?this.coordinatesMap[1]:0],n=Q.map("maps",{fullscreenControl:!0}).setView([this.coordinatesMap?this.coordinatesMap[0]:0,this.coordinatesMap?this.coordinatesMap[1]:0],this.coordinatesMap?this.coordinatesMap[2]:0);Q.tileLayer("https://tile.openstreetmaps.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}).addTo(n),Q.polygon(e).addTo(n);const s=[this.coordinatesMap?this.coordinatesMap[0]:0,this.coordinatesMap?this.coordinatesMap[1]:0],a=Q.icon(r);Q.marker(s,{icon:a}).addTo(n);const h=jg(i),c=Hg([t]),d=Zg(h,c);this.checkPointInPolygon&&this.checkPointInPolygon(d)}}}),_C="",Ea=(r,t)=>{const e=r.__vccOpts||r;for(const[i,n]of t)e[i]=n;return e},dp={ref:"maps",id:"maps"};function fp(r,t,e,i,n,s){return X.openBlock(),X.createElementBlock("div",dp,null,512)}const gp=Ea(up,[["render",fp]]),Ca="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7N15eBXneTf+7zNz9nN0JLFIArGIHQzYxmCM931hEXiJZMdp2vStazeJYwNOmjRJ86ppf2nSxkCcvm7ttml2A0qMbcB7vO9gbINZDWIVaN919pnn9weQYgeQjjRz7nnm3J/r4rKvK2H09dGcee55VoAxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGNOIagDMMascffmR7ztTcki0zQKvIZZaOgeDaZZKDRoMMXxf0pZaApop/v7QgopBDoAQEK2H/+n1g4AmiY6tLTZk0l2tNdW16Ry91/FGLMLFwCMOVRNTY22dV5hqS9plkmhl0uBEYAcCYERkCgFUCyBYgEU4/ifSI6i9QJoP/GnDUA7BBohcUwA9ZCiQUij3vAYx6ZvijXV1NSYOcrFGMsCFwCMEbpzw8PFppGYYAqMlwLjBTBe4vg/ATEagIc64yBlAHlYAnUCqIPQ9gmgzoSo88Jb99tFX2mnDshYvuICgLEcuHndyiKvV5ugSTldSnmOFHK6BnGOBMZTZyPWDoEdwsR2U8gdQojtuiG2PbZkaSN1MMbcjgsAxixWtX5FuSYxRwrMkRCzBXA+gBHUuRRzDFJ8BGFuFhK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CDBShsAAAAIFmbSurAgQISAWx2AsOT/AwjT0tpu3Pd0AAAAAElFTkSuQmCC";(function(r,t,e){function i(n,s){for(;(n=n.parentElement)&&!n.classList.contains(s););return n}L.drawVersion="1.0.4",L.Draw={},L.drawLocal={draw:{toolbar:{actions:{title:"Cancel drawing",text:"Cancel"},finish:{title:"Finish drawing",text:"Finish"},undo:{title:"Delete last point drawn",text:"Delete last point"},buttons:{polyline:"Draw a polyline",polygon:"Draw a polygon",rectangle:"Draw a rectangle",circle:"Draw a circle",marker:"Draw a marker",circlemarker:"Draw a circlemarker"}},handlers:{circle:{tooltip:{start:"Click and drag to draw circle."},radius:"Radius"},circlemarker:{tooltip:{start:"Click map to place circle marker."}},marker:{tooltip:{start:"Click map to place marker."}},polygon:{tooltip:{start:"Click to start drawing shape.",cont:"Click to continue drawing shape.",end:"Click first point to close this shape."}},polyline:{error:"<strong>Error:</strong> shape edges cannot cross!",tooltip:{start:"Click to start drawing line.",cont:"Click to continue drawing line.",end:"Click last point to finish line."}},rectangle:{tooltip:{start:"Click and drag to draw rectangle."}},simpleshape:{tooltip:{end:"Release mouse to finish drawing."}}}},edit:{toolbar:{actions:{save:{title:"Save changes",text:"Save"},cancel:{title:"Cancel editing, discards all changes",text:"Cancel"},clearAll:{title:"Clear all layers",text:"Clear All"}},buttons:{edit:"Edit layers",editDisabled:"No layers to edit",remove:"Delete layers",removeDisabled:"No layers to delete"}},handlers:{edit:{tooltip:{text:"Drag handles or markers to edit features.",subtext:"Click cancel to undo changes."}},remove:{tooltip:{text:"Click on a feature to remove."}}}}},L.Draw.Event={},L.Draw.Event.CREATED="draw:created",L.Draw.Event.EDITED="draw:edited",L.Draw.Event.DELETED="draw:deleted",L.Draw.Event.DRAWSTART="draw:drawstart",L.Draw.Event.DRAWSTOP="draw:drawstop",L.Draw.Event.DRAWVERTEX="draw:drawvertex",L.Draw.Event.EDITSTART="draw:editstart",L.Draw.Event.EDITMOVE="draw:editmove",L.Draw.Event.EDITRESIZE="draw:editresize",L.Draw.Event.EDITVERTEX="draw:editvertex",L.Draw.Event.EDITSTOP="draw:editstop",L.Draw.Event.DELETESTART="draw:deletestart",L.Draw.Event.DELETESTOP="draw:deletestop",L.Draw.Event.TOOLBAROPENED="draw:toolbaropened",L.Draw.Event.TOOLBARCLOSED="draw:toolbarclosed",L.Draw.Event.MARKERCONTEXT="draw:markercontext",L.Draw=L.Draw||{},L.Draw.Feature=L.Handler.extend({initialize:function(n,s){this._map=n,this._container=n._container,this._overlayPane=n._panes.overlayPane,this._popupPane=n._panes.popupPane,s&&s.shapeOptions&&(s.shapeOptions=L.Util.extend({},this.options.shapeOptions,s.shapeOptions)),L.setOptions(this,s);var a=L.version.split(".");parseInt(a[0],10)===1&&parseInt(a[1],10)>=2?L.Draw.Feature.include(L.Evented.prototype):L.Draw.Feature.include(L.Mixin.Events)},enable:function(){this._enabled||(L.Handler.prototype.enable.call(this),this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DRAWSTART,{layerType:this.type}))},disable:function(){this._enabled&&(L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DRAWSTOP,{layerType:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var n=this._map;n&&(L.DomUtil.disableTextSelection(),n.getContainer().focus(),this._tooltip=new L.Draw.Tooltip(this._map),L.DomEvent.on(this._container,"keyup",this._cancelDrawing,this))},removeHooks:function(){this._map&&(L.DomUtil.enableTextSelection(),this._tooltip.dispose(),this._tooltip=null,L.DomEvent.off(this._container,"keyup",this._cancelDrawing,this))},setOptions:function(n){L.setOptions(this,n)},_fireCreatedEvent:function(n){this._map.fire(L.Draw.Event.CREATED,{layer:n,layerType:this.type})},_cancelDrawing:function(n){n.keyCode===27&&(this._map.fire("draw:canceled",{layerType:this.type}),this.disable())}}),L.Draw.Polyline=L.Draw.Feature.extend({statics:{TYPE:"polyline"},Poly:L.Polyline,options:{allowIntersection:!0,repeatMode:!1,drawError:{color:"#b00b00",timeout:2500},icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),guidelineDistance:20,maxGuideLineLength:4e3,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!1,clickable:!0},metric:!0,feet:!0,nautic:!1,showLength:!0,zIndexOffset:2e3,factor:1,maxPoints:0},initialize:function(n,s){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this.options.drawError.message=L.drawLocal.draw.handlers.polyline.error,s&&s.drawError&&(s.drawError=L.Util.extend({},this.options.drawError,s.drawError)),this.type=L.Draw.Polyline.TYPE,L.Draw.Feature.prototype.initialize.call(this,n,s)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._markers=[],this._markerGroup=new L.LayerGroup,this._map.addLayer(this._markerGroup),this._poly=new L.Polyline([],this.options.shapeOptions),this._tooltip.updateContent(this._getTooltipText()),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("mouseout",this._onMouseOut,this).on("mousemove",this._onMouseMove,this).on("mousedown",this._onMouseDown,this).on("mouseup",this._onMouseUp,this).addTo(this._map),this._map.on("mouseup",this._onMouseUp,this).on("mousemove",this._onMouseMove,this).on("zoomlevelschange",this._onZoomEnd,this).on("touchstart",this._onTouch,this).on("zoomend",this._onZoomEnd,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._clearHideErrorTimeout(),this._cleanUpShape(),this._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers,this._map.removeLayer(this._poly),delete this._poly,this._mouseMarker.off("mousedown",this._onMouseDown,this).off("mouseout",this._onMouseOut,this).off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._clearGuides(),this._map.off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this).off("zoomlevelschange",this._onZoomEnd,this).off("zoomend",this._onZoomEnd,this).off("touchstart",this._onTouch,this).off("click",this._onTouch,this)},deleteLastVertex:function(){if(!(this._markers.length<=1)){var n=this._markers.pop(),s=this._poly,a=s.getLatLngs(),h=a.splice(-1,1)[0];this._poly.setLatLngs(a),this._markerGroup.removeLayer(n),s.getLatLngs().length<2&&this._map.removeLayer(s),this._vertexChanged(h,!1)}},addVertex:function(n){if(this._markers.length>=2&&!this.options.allowIntersection&&this._poly.newLatLngIntersects(n))return void this._showErrorTooltip();this._errorShown&&this._hideErrorTooltip(),this._markers.push(this._createMarker(n)),this._poly.addLatLng(n),this._poly.getLatLngs().length===2&&this._map.addLayer(this._poly),this._vertexChanged(n,!0)},completeShape:function(){this._markers.length<=1||!this._shapeIsValid()||(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_finishShape:function(){var n=this._poly._defaultShape?this._poly._defaultShape():this._poly.getLatLngs(),s=this._poly.newLatLngIntersects(n[n.length-1]);if(!this.options.allowIntersection&&s||!this._shapeIsValid())return void this._showErrorTooltip();this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_shapeIsValid:function(){return!0},_onZoomEnd:function(){this._markers!==null&&this._updateGuide()},_onMouseMove:function(n){var s=this._map.mouseEventToLayerPoint(n.originalEvent),a=this._map.layerPointToLatLng(s);this._currentLatLng=a,this._updateTooltip(a),this._updateGuide(s),this._mouseMarker.setLatLng(a),L.DomEvent.preventDefault(n.originalEvent)},_vertexChanged:function(n,s){this._map.fire(L.Draw.Event.DRAWVERTEX,{layers:this._markerGroup}),this._updateFinishHandler(),this._updateRunningMeasure(n,s),this._clearGuides(),this._updateTooltip()},_onMouseDown:function(n){if(!this._clickHandled&&!this._touchHandled&&!this._disableMarkers){this._onMouseMove(n),this._clickHandled=!0,this._disableNewMarkers();var s=n.originalEvent,a=s.clientX,h=s.clientY;this._startPoint.call(this,a,h)}},_startPoint:function(n,s){this._mouseDownOrigin=L.point(n,s)},_onMouseUp:function(n){var s=n.originalEvent,a=s.clientX,h=s.clientY;this._endPoint.call(this,a,h,n),this._clickHandled=null},_endPoint:function(n,s,a){if(this._mouseDownOrigin){var h=L.point(n,s).distanceTo(this._mouseDownOrigin),c=this._calculateFinishDistance(a.latlng);this.options.maxPoints>1&&this.options.maxPoints==this._markers.length+1?(this.addVertex(a.latlng),this._finishShape()):c<10&&L.Browser.touch?this._finishShape():Math.abs(h)<9*(r.devicePixelRatio||1)&&this.addVertex(a.latlng),this._enableNewMarkers()}this._mouseDownOrigin=null},_onTouch:function(n){var s,a,h=n.originalEvent;!h.touches||!h.touches[0]||this._clickHandled||this._touchHandled||this._disableMarkers||(s=h.touches[0].clientX,a=h.touches[0].clientY,this._disableNewMarkers(),this._touchHandled=!0,this._startPoint.call(this,s,a),this._endPoint.call(this,s,a,n),this._touchHandled=null),this._clickHandled=null},_onMouseOut:function(){this._tooltip&&this._tooltip._onMouseOut.call(this._tooltip)},_calculateFinishDistance:function(n){var s;if(this._markers.length>0){var a;if(this.type===L.Draw.Polyline.TYPE)a=this._markers[this._markers.length-1];else{if(this.type!==L.Draw.Polygon.TYPE)return 1/0;a=this._markers[0]}var h=this._map.latLngToContainerPoint(a.getLatLng()),c=new L.Marker(n,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset}),d=this._map.latLngToContainerPoint(c.getLatLng());s=h.distanceTo(d)}else s=1/0;return s},_updateFinishHandler:function(){var n=this._markers.length;n>1&&this._markers[n-1].on("click",this._finishShape,this),n>2&&this._markers[n-2].off("click",this._finishShape,this)},_createMarker:function(n){var s=new L.Marker(n,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset});return this._markerGroup.addLayer(s),s},_updateGuide:function(n){var s=this._markers?this._markers.length:0;s>0&&(n=n||this._map.latLngToLayerPoint(this._currentLatLng),this._clearGuides(),this._drawGuide(this._map.latLngToLayerPoint(this._markers[s-1].getLatLng()),n))},_updateTooltip:function(n){var s=this._getTooltipText();n&&this._tooltip.updatePosition(n),this._errorShown||this._tooltip.updateContent(s)},_drawGuide:function(n,s){var a,h,c,d=Math.floor(Math.sqrt(Math.pow(s.x-n.x,2)+Math.pow(s.y-n.y,2))),f=this.options.guidelineDistance,p=this.options.maxGuideLineLength,m=d>p?d-p:f;for(this._guidesContainer||(this._guidesContainer=L.DomUtil.create("div","leaflet-draw-guides",this._overlayPane));m<d;m+=this.options.guidelineDistance)a=m/d,h={x:Math.floor(n.x*(1-a)+a*s.x),y:Math.floor(n.y*(1-a)+a*s.y)},c=L.DomUtil.create("div","leaflet-draw-guide-dash",this._guidesContainer),c.style.backgroundColor=this._errorShown?this.options.drawError.color:this.options.shapeOptions.color,L.DomUtil.setPosition(c,h)},_updateGuideColor:function(n){if(this._guidesContainer)for(var s=0,a=this._guidesContainer.childNodes.length;s<a;s++)this._guidesContainer.childNodes[s].style.backgroundColor=n},_clearGuides:function(){if(this._guidesContainer)for(;this._guidesContainer.firstChild;)this._guidesContainer.removeChild(this._guidesContainer.firstChild)},_getTooltipText:function(){var n,s,a=this.options.showLength;return this._markers.length===0?n={text:L.drawLocal.draw.handlers.polyline.tooltip.start}:(s=a?this._getMeasurementString():"",n=this._markers.length===1?{text:L.drawLocal.draw.handlers.polyline.tooltip.cont,subtext:s}:{text:L.drawLocal.draw.handlers.polyline.tooltip.end,subtext:s}),n},_updateRunningMeasure:function(n,s){var a,h,c=this._markers.length;this._markers.length===1?this._measurementRunningTotal=0:(a=c-(s?2:1),h=L.GeometryUtil.isVersion07x()?n.distanceTo(this._markers[a].getLatLng())*(this.options.factor||1):this._map.distance(n,this._markers[a].getLatLng())*(this.options.factor||1),this._measurementRunningTotal+=h*(s?1:-1))},_getMeasurementString:function(){var n,s=this._currentLatLng,a=this._markers[this._markers.length-1].getLatLng();return n=L.GeometryUtil.isVersion07x()?a&&s&&s.distanceTo?this._measurementRunningTotal+s.distanceTo(a)*(this.options.factor||1):this._measurementRunningTotal||0:a&&s?this._measurementRunningTotal+this._map.distance(s,a)*(this.options.factor||1):this._measurementRunningTotal||0,L.GeometryUtil.readableDistance(n,this.options.metric,this.options.feet,this.options.nautic,this.options.precision)},_showErrorTooltip:function(){this._errorShown=!0,this._tooltip.showAsError().updateContent({text:this.options.drawError.message}),this._updateGuideColor(this.options.drawError.color),this._poly.setStyle({color:this.options.drawError.color}),this._clearHideErrorTimeout(),this._hideErrorTimeout=setTimeout(L.Util.bind(this._hideErrorTooltip,this),this.options.drawError.timeout)},_hideErrorTooltip:function(){this._errorShown=!1,this._clearHideErrorTimeout(),this._tooltip.removeError().updateContent(this._getTooltipText()),this._updateGuideColor(this.options.shapeOptions.color),this._poly.setStyle({color:this.options.shapeOptions.color})},_clearHideErrorTimeout:function(){this._hideErrorTimeout&&(clearTimeout(this._hideErrorTimeout),this._hideErrorTimeout=null)},_disableNewMarkers:function(){this._disableMarkers=!0},_enableNewMarkers:function(){setTimeout((function(){this._disableMarkers=!1}).bind(this),50)},_cleanUpShape:function(){this._markers.length>1&&this._markers[this._markers.length-1].off("click",this._finishShape,this)},_fireCreatedEvent:function(){var n=new this.Poly(this._poly.getLatLngs(),this.options.shapeOptions);L.Draw.Feature.prototype._fireCreatedEvent.call(this,n)}}),L.Draw.Polygon=L.Draw.Polyline.extend({statics:{TYPE:"polygon"},Poly:L.Polygon,options:{showArea:!1,showLength:!1,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},metric:!0,feet:!0,nautic:!1,precision:{}},initialize:function(n,s){L.Draw.Polyline.prototype.initialize.call(this,n,s),this.type=L.Draw.Polygon.TYPE},_updateFinishHandler:function(){var n=this._markers.length;n===1&&this._markers[0].on("click",this._finishShape,this),n>2&&(this._markers[n-1].on("dblclick",this._finishShape,this),n>3&&this._markers[n-2].off("dblclick",this._finishShape,this))},_getTooltipText:function(){var n,s;return this._markers.length===0?n=L.drawLocal.draw.handlers.polygon.tooltip.start:this._markers.length<3?(n=L.drawLocal.draw.handlers.polygon.tooltip.cont,s=this._getMeasurementString()):(n=L.drawLocal.draw.handlers.polygon.tooltip.end,s=this._getMeasurementString()),{text:n,subtext:s}},_getMeasurementString:function(){var n=this._area,s="";return n||this.options.showLength?(this.options.showLength&&(s=L.Draw.Polyline.prototype._getMeasurementString.call(this)),n&&(s+="<br>"+L.GeometryUtil.readableArea(n,this.options.metric,this.options.precision)),s):null},_shapeIsValid:function(){return this._markers.length>=3},_vertexChanged:function(n,s){var a;!this.options.allowIntersection&&this.options.showArea&&(a=this._poly.getLatLngs(),this._area=L.GeometryUtil.geodesicArea(a)),L.Draw.Polyline.prototype._vertexChanged.call(this,n,s)},_cleanUpShape:function(){var n=this._markers.length;n>0&&(this._markers[0].off("click",this._finishShape,this),n>2&&this._markers[n-1].off("dblclick",this._finishShape,this))}}),L.SimpleShape={},L.Draw.SimpleShape=L.Draw.Feature.extend({options:{repeatMode:!1},initialize:function(n,s){this._endLabelText=L.drawLocal.draw.handlers.simpleshape.tooltip.end,L.Draw.Feature.prototype.initialize.call(this,n,s)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._mapDraggable=this._map.dragging.enabled(),this._mapDraggable&&this._map.dragging.disable(),this._container.style.cursor="crosshair",this._tooltip.updateContent({text:this._initialLabelText}),this._map.on("mousedown",this._onMouseDown,this).on("mousemove",this._onMouseMove,this).on("touchstart",this._onMouseDown,this).on("touchmove",this._onMouseMove,this),t.addEventListener("touchstart",L.DomEvent.preventDefault,{passive:!1}))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._mapDraggable&&this._map.dragging.enable(),this._container.style.cursor="",this._map.off("mousedown",this._onMouseDown,this).off("mousemove",this._onMouseMove,this).off("touchstart",this._onMouseDown,this).off("touchmove",this._onMouseMove,this),L.DomEvent.off(t,"mouseup",this._onMouseUp,this),L.DomEvent.off(t,"touchend",this._onMouseUp,this),t.removeEventListener("touchstart",L.DomEvent.preventDefault),this._shape&&(this._map.removeLayer(this._shape),delete this._shape)),this._isDrawing=!1},_getTooltipText:function(){return{text:this._endLabelText}},_onMouseDown:function(n){this._isDrawing=!0,this._startLatLng=n.latlng,L.DomEvent.on(t,"mouseup",this._onMouseUp,this).on(t,"touchend",this._onMouseUp,this).preventDefault(n.originalEvent)},_onMouseMove:function(n){var s=n.latlng;this._tooltip.updatePosition(s),this._isDrawing&&(this._tooltip.updateContent(this._getTooltipText()),this._drawShape(s))},_onMouseUp:function(){this._shape&&this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()}}),L.Draw.Rectangle=L.Draw.SimpleShape.extend({statics:{TYPE:"rectangle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showArea:!0,metric:!0},initialize:function(n,s){this.type=L.Draw.Rectangle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.rectangle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,n,s)},disable:function(){this._enabled&&(this._isCurrentlyTwoClickDrawing=!1,L.Draw.SimpleShape.prototype.disable.call(this))},_onMouseUp:function(n){if(!this._shape&&!this._isCurrentlyTwoClickDrawing)return void(this._isCurrentlyTwoClickDrawing=!0);this._isCurrentlyTwoClickDrawing&&!i(n.target,"leaflet-pane")||L.Draw.SimpleShape.prototype._onMouseUp.call(this)},_drawShape:function(n){this._shape?this._shape.setBounds(new L.LatLngBounds(this._startLatLng,n)):(this._shape=new L.Rectangle(new L.LatLngBounds(this._startLatLng,n),this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var n=new L.Rectangle(this._shape.getBounds(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,n)},_getTooltipText:function(){var n,s,a,h=L.Draw.SimpleShape.prototype._getTooltipText.call(this),c=this._shape,d=this.options.showArea;return c&&(n=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),s=L.GeometryUtil.geodesicArea(n),a=d?L.GeometryUtil.readableArea(s,this.options.metric):""),{text:h.text,subtext:a}}}),L.Draw.Marker=L.Draw.Feature.extend({statics:{TYPE:"marker"},options:{icon:new L.Icon.Default,repeatMode:!1,zIndexOffset:2e3},initialize:function(n,s){this.type=L.Draw.Marker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.marker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,n,s)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._tooltip.updateContent({text:this._initialLabelText}),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("click",this._onClick,this).addTo(this._map),this._map.on("mousemove",this._onMouseMove,this),this._map.on("click",this._onTouch,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._map.off("click",this._onClick,this).off("click",this._onTouch,this),this._marker&&(this._marker.off("click",this._onClick,this),this._map.removeLayer(this._marker),delete this._marker),this._mouseMarker.off("click",this._onClick,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._map.off("mousemove",this._onMouseMove,this))},_onMouseMove:function(n){var s=n.latlng;this._tooltip.updatePosition(s),this._mouseMarker.setLatLng(s),this._marker?(s=this._mouseMarker.getLatLng(),this._marker.setLatLng(s)):(this._marker=this._createMarker(s),this._marker.on("click",this._onClick,this),this._map.on("click",this._onClick,this).addLayer(this._marker))},_createMarker:function(n){return new L.Marker(n,{icon:this.options.icon,zIndexOffset:this.options.zIndexOffset})},_onClick:function(){this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_onTouch:function(n){this._onMouseMove(n),this._onClick()},_fireCreatedEvent:function(){var n=new L.Marker.Touch(this._marker.getLatLng(),{icon:this.options.icon});L.Draw.Feature.prototype._fireCreatedEvent.call(this,n)}}),L.Draw.CircleMarker=L.Draw.Marker.extend({statics:{TYPE:"circlemarker"},options:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0,zIndexOffset:2e3},initialize:function(n,s){this.type=L.Draw.CircleMarker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circlemarker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,n,s)},_fireCreatedEvent:function(){var n=new L.CircleMarker(this._marker.getLatLng(),this.options);L.Draw.Feature.prototype._fireCreatedEvent.call(this,n)},_createMarker:function(n){return new L.CircleMarker(n,this.options)}}),L.Draw.Circle=L.Draw.SimpleShape.extend({statics:{TYPE:"circle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showRadius:!0,metric:!0,feet:!0,nautic:!1},initialize:function(n,s){this.type=L.Draw.Circle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,n,s)},_drawShape:function(n){if(L.GeometryUtil.isVersion07x())var s=this._startLatLng.distanceTo(n);else var s=this._map.distance(this._startLatLng,n);this._shape?this._shape.setRadius(s):(this._shape=new L.Circle(this._startLatLng,s,this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var n=new L.Circle(this._startLatLng,this._shape.getRadius(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,n)},_onMouseMove:function(n){var s,a=n.latlng,h=this.options.showRadius,c=this.options.metric;if(this._tooltip.updatePosition(a),this._isDrawing){this._drawShape(a),s=this._shape.getRadius().toFixed(1);var d="";h&&(d=L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(s,c,this.options.feet,this.options.nautic)),this._tooltip.updateContent({text:this._endLabelText,subtext:d})}}}),L.Edit=L.Edit||{},L.Edit.Marker=L.Handler.extend({initialize:function(n,s){this._marker=n,L.setOptions(this,s)},addHooks:function(){var n=this._marker;n.dragging.enable(),n.on("dragend",this._onDragEnd,n),this._toggleMarkerHighlight()},removeHooks:function(){var n=this._marker;n.dragging.disable(),n.off("dragend",this._onDragEnd,n),this._toggleMarkerHighlight()},_onDragEnd:function(n){var s=n.target;s.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:s})},_toggleMarkerHighlight:function(){var n=this._marker._icon;n&&(n.style.display="none",L.DomUtil.hasClass(n,"leaflet-edit-marker-selected")?(L.DomUtil.removeClass(n,"leaflet-edit-marker-selected"),this._offsetMarker(n,-4)):(L.DomUtil.addClass(n,"leaflet-edit-marker-selected"),this._offsetMarker(n,4)),n.style.display="")},_offsetMarker:function(n,s){var a=parseInt(n.style.marginTop,10)-s,h=parseInt(n.style.marginLeft,10)-s;n.style.marginTop=a+"px",n.style.marginLeft=h+"px"}}),L.Marker.addInitHook(function(){L.Edit.Marker&&(this.editing=new L.Edit.Marker(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.Poly=L.Handler.extend({initialize:function(n){this.latlngs=[n._latlngs],n._holes&&(this.latlngs=this.latlngs.concat(n._holes)),this._poly=n,this._poly.on("revert-edited",this._updateLatLngs,this)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._poly._latlngs)?this._poly._latlngs:this._poly._latlngs[0]:this._poly._latlngs},_eachVertexHandler:function(n){for(var s=0;s<this._verticesHandlers.length;s++)n(this._verticesHandlers[s])},addHooks:function(){this._initHandlers(),this._eachVertexHandler(function(n){n.addHooks()})},removeHooks:function(){this._eachVertexHandler(function(n){n.removeHooks()})},updateMarkers:function(){this._eachVertexHandler(function(n){n.updateMarkers()})},_initHandlers:function(){this._verticesHandlers=[];for(var n=0;n<this.latlngs.length;n++)this._verticesHandlers.push(new L.Edit.PolyVerticesEdit(this._poly,this.latlngs[n],this._poly.options.poly))},_updateLatLngs:function(n){this.latlngs=[n.layer._latlngs],n.layer._holes&&(this.latlngs=this.latlngs.concat(n.layer._holes))}}),L.Edit.PolyVerticesEdit=L.Handler.extend({options:{icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),drawError:{color:"#b00b00",timeout:1e3}},initialize:function(n,s,a){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this._poly=n,a&&a.drawError&&(a.drawError=L.Util.extend({},this.options.drawError,a.drawError)),this._latlngs=s,L.setOptions(this,a)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._latlngs)?this._latlngs:this._latlngs[0]:this._latlngs},addHooks:function(){var n=this._poly,s=n._path;n instanceof L.Polygon||(n.options.fill=!1,n.options.editing&&(n.options.editing.fill=!1)),s&&n.options.editing&&n.options.editing.className&&(n.options.original.className&&n.options.original.className.split(" ").forEach(function(a){L.DomUtil.removeClass(s,a)}),n.options.editing.className.split(" ").forEach(function(a){L.DomUtil.addClass(s,a)})),n.setStyle(n.options.editing),this._poly._map&&(this._map=this._poly._map,this._markerGroup||this._initMarkers(),this._poly._map.addLayer(this._markerGroup))},removeHooks:function(){var n=this._poly,s=n._path;s&&n.options.editing&&n.options.editing.className&&(n.options.editing.className.split(" ").forEach(function(a){L.DomUtil.removeClass(s,a)}),n.options.original.className&&n.options.original.className.split(" ").forEach(function(a){L.DomUtil.addClass(s,a)})),n.setStyle(n.options.original),n._map&&(n._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers)},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._markers=[];var n,s,a,h,c=this._defaultShape();for(n=0,a=c.length;n<a;n++)h=this._createMarker(c[n],n),h.on("click",this._onMarkerClick,this),h.on("contextmenu",this._onContextMenu,this),this._markers.push(h);var d,f;for(n=0,s=a-1;n<a;s=n++)(n!==0||L.Polygon&&this._poly instanceof L.Polygon)&&(d=this._markers[s],f=this._markers[n],this._createMiddleMarker(d,f),this._updatePrevNext(d,f))},_createMarker:function(n,s){var a=new L.Marker.Touch(n,{draggable:!0,icon:this.options.icon});return a._origLatLng=n,a._index=s,a.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._fireEdit,this).on("touchmove",this._onTouchMove,this).on("touchend",this._fireEdit,this).on("MSPointerMove",this._onTouchMove,this).on("MSPointerUp",this._fireEdit,this),this._markerGroup.addLayer(a),a},_onMarkerDragStart:function(){this._poly.fire("editstart")},_spliceLatLngs:function(){var n=this._defaultShape(),s=[].splice.apply(n,arguments);return this._poly._convertLatLngs(n,!0),this._poly.redraw(),s},_removeMarker:function(n){var s=n._index;this._markerGroup.removeLayer(n),this._markers.splice(s,1),this._spliceLatLngs(s,1),this._updateIndexes(s,-1),n.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._fireEdit,this).off("touchmove",this._onMarkerDrag,this).off("touchend",this._fireEdit,this).off("click",this._onMarkerClick,this).off("MSPointerMove",this._onTouchMove,this).off("MSPointerUp",this._fireEdit,this)},_fireEdit:function(){this._poly.edited=!0,this._poly.fire("edit"),this._poly._map.fire(L.Draw.Event.EDITVERTEX,{layers:this._markerGroup,poly:this._poly})},_onMarkerDrag:function(n){var s=n.target,a=this._poly,h=L.LatLngUtil.cloneLatLng(s._origLatLng);if(L.extend(s._origLatLng,s._latlng),a.options.poly){var c=a._map._editTooltip;if(!a.options.poly.allowIntersection&&a.intersects()){L.extend(s._origLatLng,h),s.setLatLng(h);var d=a.options.color;a.setStyle({color:this.options.drawError.color}),c&&c.updateContent({text:L.drawLocal.draw.handlers.polyline.error}),setTimeout(function(){a.setStyle({color:d}),c&&c.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext})},1e3)}}s._middleLeft&&s._middleLeft.setLatLng(this._getMiddleLatLng(s._prev,s)),s._middleRight&&s._middleRight.setLatLng(this._getMiddleLatLng(s,s._next)),this._poly._bounds._southWest=L.latLng(1/0,1/0),this._poly._bounds._northEast=L.latLng(-1/0,-1/0);var f=this._poly.getLatLngs();this._poly._convertLatLngs(f,!0),this._poly.redraw(),this._poly.fire("editdrag")},_onMarkerClick:function(n){var s=L.Polygon&&this._poly instanceof L.Polygon?4:3,a=n.target;this._defaultShape().length<s||(this._removeMarker(a),this._updatePrevNext(a._prev,a._next),a._middleLeft&&this._markerGroup.removeLayer(a._middleLeft),a._middleRight&&this._markerGroup.removeLayer(a._middleRight),a._prev&&a._next?this._createMiddleMarker(a._prev,a._next):a._prev?a._next||(a._prev._middleRight=null):a._next._middleLeft=null,this._fireEdit())},_onContextMenu:function(n){var s=n.target;this._poly,this._poly._map.fire(L.Draw.Event.MARKERCONTEXT,{marker:s,layers:this._markerGroup,poly:this._poly}),L.DomEvent.stopPropagation},_onTouchMove:function(n){var s=this._map.mouseEventToLayerPoint(n.originalEvent.touches[0]),a=this._map.layerPointToLatLng(s),h=n.target;L.extend(h._origLatLng,a),h._middleLeft&&h._middleLeft.setLatLng(this._getMiddleLatLng(h._prev,h)),h._middleRight&&h._middleRight.setLatLng(this._getMiddleLatLng(h,h._next)),this._poly.redraw(),this.updateMarkers()},_updateIndexes:function(n,s){this._markerGroup.eachLayer(function(a){a._index>n&&(a._index+=s)})},_createMiddleMarker:function(n,s){var a,h,c,d=this._getMiddleLatLng(n,s),f=this._createMarker(d);f.setOpacity(.6),n._middleRight=s._middleLeft=f,h=function(){f.off("touchmove",h,this);var p=s._index;f._index=p,f.off("click",a,this).on("click",this._onMarkerClick,this),d.lat=f.getLatLng().lat,d.lng=f.getLatLng().lng,this._spliceLatLngs(p,0,d),this._markers.splice(p,0,f),f.setOpacity(1),this._updateIndexes(p,1),s._index++,this._updatePrevNext(n,f),this._updatePrevNext(f,s),this._poly.fire("editstart")},c=function(){f.off("dragstart",h,this),f.off("dragend",c,this),f.off("touchmove",h,this),this._createMiddleMarker(n,f),this._createMiddleMarker(f,s)},a=function(){h.call(this),c.call(this),this._fireEdit()},f.on("click",a,this).on("dragstart",h,this).on("dragend",c,this).on("touchmove",h,this),this._markerGroup.addLayer(f)},_updatePrevNext:function(n,s){n&&(n._next=s),s&&(s._prev=n)},_getMiddleLatLng:function(n,s){var a=this._poly._map,h=a.project(n.getLatLng()),c=a.project(s.getLatLng());return a.unproject(h._add(c)._divideBy(2))}}),L.Polyline.addInitHook(function(){this.editing||(L.Edit.Poly&&(this.editing=new L.Edit.Poly(this),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()}))}),L.Edit=L.Edit||{},L.Edit.SimpleShape=L.Handler.extend({options:{moveIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move"}),resizeIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize"}),touchMoveIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move leaflet-touch-icon"}),touchResizeIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize leaflet-touch-icon"})},initialize:function(n,s){L.Browser.touch&&(this.options.moveIcon=this.options.touchMoveIcon,this.options.resizeIcon=this.options.touchResizeIcon),this._shape=n,L.Util.setOptions(this,s)},addHooks:function(){var n=this._shape;this._shape._map&&(this._map=this._shape._map,n.setStyle(n.options.editing),n._map&&(this._map=n._map,this._markerGroup||this._initMarkers(),this._map.addLayer(this._markerGroup)))},removeHooks:function(){var n=this._shape;if(n.setStyle(n.options.original),n._map){this._unbindMarker(this._moveMarker);for(var s=0,a=this._resizeMarkers.length;s<a;s++)this._unbindMarker(this._resizeMarkers[s]);this._resizeMarkers=null,this._map.removeLayer(this._markerGroup),delete this._markerGroup}this._map=null},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._createMoveMarker(),this._createResizeMarker()},_createMoveMarker:function(){},_createResizeMarker:function(){},_createMarker:function(n,s){var a=new L.Marker.Touch(n,{draggable:!0,icon:s,zIndexOffset:10});return this._bindMarker(a),this._markerGroup.addLayer(a),a},_bindMarker:function(n){n.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._onMarkerDragEnd,this).on("touchstart",this._onTouchStart,this).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onTouchEnd,this).on("MSPointerUp",this._onTouchEnd,this)},_unbindMarker:function(n){n.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._onMarkerDragEnd,this).off("touchstart",this._onTouchStart,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onTouchEnd,this).off("MSPointerUp",this._onTouchEnd,this)},_onMarkerDragStart:function(n){n.target.setOpacity(0),this._shape.fire("editstart")},_fireEdit:function(){this._shape.edited=!0,this._shape.fire("edit")},_onMarkerDrag:function(n){var s=n.target,a=s.getLatLng();s===this._moveMarker?this._move(a):this._resize(a),this._shape.redraw(),this._shape.fire("editdrag")},_onMarkerDragEnd:function(n){n.target.setOpacity(1),this._fireEdit()},_onTouchStart:function(n){if(L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,n),typeof this._getCorners=="function"){var s=this._getCorners(),a=n.target,h=a._cornerIndex;a.setOpacity(0),this._oppositeCorner=s[(h+2)%4],this._toggleCornerMarkers(0,h)}this._shape.fire("editstart")},_onTouchMove:function(n){var s=this._map.mouseEventToLayerPoint(n.originalEvent.touches[0]),a=this._map.layerPointToLatLng(s);return n.target===this._moveMarker?this._move(a):this._resize(a),this._shape.redraw(),!1},_onTouchEnd:function(n){n.target.setOpacity(1),this.updateMarkers(),this._fireEdit()},_move:function(){},_resize:function(){}}),L.Edit=L.Edit||{},L.Edit.Rectangle=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var n=this._shape.getBounds(),s=n.getCenter();this._moveMarker=this._createMarker(s,this.options.moveIcon)},_createResizeMarker:function(){var n=this._getCorners();this._resizeMarkers=[];for(var s=0,a=n.length;s<a;s++)this._resizeMarkers.push(this._createMarker(n[s],this.options.resizeIcon)),this._resizeMarkers[s]._cornerIndex=s},_onMarkerDragStart:function(n){L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,n);var s=this._getCorners(),a=n.target,h=a._cornerIndex;this._oppositeCorner=s[(h+2)%4],this._toggleCornerMarkers(0,h)},_onMarkerDragEnd:function(n){var s,a,h=n.target;h===this._moveMarker&&(s=this._shape.getBounds(),a=s.getCenter(),h.setLatLng(a)),this._toggleCornerMarkers(1),this._repositionCornerMarkers(),L.Edit.SimpleShape.prototype._onMarkerDragEnd.call(this,n)},_move:function(n){for(var s,a=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),h=this._shape.getBounds(),c=h.getCenter(),d=[],f=0,p=a.length;f<p;f++)s=[a[f].lat-c.lat,a[f].lng-c.lng],d.push([n.lat+s[0],n.lng+s[1]]);this._shape.setLatLngs(d),this._repositionCornerMarkers(),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})},_resize:function(n){var s;this._shape.setBounds(L.latLngBounds(n,this._oppositeCorner)),s=this._shape.getBounds(),this._moveMarker.setLatLng(s.getCenter()),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})},_getCorners:function(){var n=this._shape.getBounds();return[n.getNorthWest(),n.getNorthEast(),n.getSouthEast(),n.getSouthWest()]},_toggleCornerMarkers:function(n){for(var s=0,a=this._resizeMarkers.length;s<a;s++)this._resizeMarkers[s].setOpacity(n)},_repositionCornerMarkers:function(){for(var n=this._getCorners(),s=0,a=this._resizeMarkers.length;s<a;s++)this._resizeMarkers[s].setLatLng(n[s])}}),L.Rectangle.addInitHook(function(){L.Edit.Rectangle&&(this.editing=new L.Edit.Rectangle(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.CircleMarker=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var n=this._shape.getLatLng();this._moveMarker=this._createMarker(n,this.options.moveIcon)},_createResizeMarker:function(){this._resizeMarkers=[]},_move:function(n){if(this._resizeMarkers.length){var s=this._getResizeMarkerPoint(n);this._resizeMarkers[0].setLatLng(s)}this._shape.setLatLng(n),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})}}),L.CircleMarker.addInitHook(function(){L.Edit.CircleMarker&&(this.editing=new L.Edit.CircleMarker(this),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()})}),L.Edit=L.Edit||{},L.Edit.Circle=L.Edit.CircleMarker.extend({_createResizeMarker:function(){var n=this._shape.getLatLng(),s=this._getResizeMarkerPoint(n);this._resizeMarkers=[],this._resizeMarkers.push(this._createMarker(s,this.options.resizeIcon))},_getResizeMarkerPoint:function(n){var s=this._shape._radius*Math.cos(Math.PI/4),a=this._map.project(n);return this._map.unproject([a.x+s,a.y-s])},_resize:function(n){var s=this._moveMarker.getLatLng();L.GeometryUtil.isVersion07x()?radius=s.distanceTo(n):radius=this._map.distance(s,n),this._shape.setRadius(radius),this._map.editTooltip&&this._map._editTooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.subtext+"<br />"+L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(radius,!0,this.options.feet,this.options.nautic)}),this._shape.setRadius(radius),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})}}),L.Circle.addInitHook(function(){L.Edit.Circle&&(this.editing=new L.Edit.Circle(this),this.options.editable&&this.editing.enable())}),L.Map.mergeOptions({touchExtend:!0}),L.Map.TouchExtend=L.Handler.extend({initialize:function(n){this._map=n,this._container=n._container,this._pane=n._panes.overlayPane},addHooks:function(){L.DomEvent.on(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.on(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.on(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.on(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.on(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.on(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.on(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.on(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.on(this._container,"touchleave",this._onTouchLeave,this))},removeHooks:function(){L.DomEvent.off(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.off(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.off(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.off(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.off(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.off(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.off(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.off(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.off(this._container,"touchleave",this._onTouchLeave,this))},_touchEvent:function(n,s){var a={};if(n.touches!==void 0){if(!n.touches.length)return;a=n.touches[0]}else if(n.pointerType!=="touch"||(a=n,!this._filterClick(n)))return;var h=this._map.mouseEventToContainerPoint(a),c=this._map.mouseEventToLayerPoint(a),d=this._map.layerPointToLatLng(c);this._map.fire(s,{latlng:d,layerPoint:c,containerPoint:h,pageX:a.pageX,pageY:a.pageY,originalEvent:n})},_filterClick:function(n){var s=n.timeStamp||n.originalEvent.timeStamp,a=L.DomEvent._lastClick&&s-L.DomEvent._lastClick;return a&&a>100&&a<500||n.target._simulatedClick&&!n._simulated?(L.DomEvent.stop(n),!1):(L.DomEvent._lastClick=s,!0)},_onTouchStart:function(n){this._map._loaded&&this._touchEvent(n,"touchstart")},_onTouchEnd:function(n){this._map._loaded&&this._touchEvent(n,"touchend")},_onTouchCancel:function(n){if(this._map._loaded){var s="touchcancel";this._detectIE()&&(s="pointercancel"),this._touchEvent(n,s)}},_onTouchLeave:function(n){this._map._loaded&&this._touchEvent(n,"touchleave")},_onTouchMove:function(n){this._map._loaded&&this._touchEvent(n,"touchmove")},_detectIE:function(){var n=r.navigator.userAgent,s=n.indexOf("MSIE ");if(s>0)return parseInt(n.substring(s+5,n.indexOf(".",s)),10);if(n.indexOf("Trident/")>0){var a=n.indexOf("rv:");return parseInt(n.substring(a+3,n.indexOf(".",a)),10)}var h=n.indexOf("Edge/");return h>0&&parseInt(n.substring(h+5,n.indexOf(".",h)),10)}}),L.Map.addInitHook("addHandler","touchExtend",L.Map.TouchExtend),L.Marker.Touch=L.Marker.extend({_initInteraction:function(){return this.addInteractiveTarget?L.Marker.prototype._initInteraction.apply(this):this._initInteractionLegacy()},_initInteractionLegacy:function(){if(this.options.clickable){var n=this._icon,s=["dblclick","mousedown","mouseover","mouseout","contextmenu","touchstart","touchend","touchmove"];this._detectIE?s.concat(["MSPointerDown","MSPointerUp","MSPointerMove","MSPointerCancel"]):s.concat(["touchcancel"]),L.DomUtil.addClass(n,"leaflet-clickable"),L.DomEvent.on(n,"click",this._onMouseClick,this),L.DomEvent.on(n,"keypress",this._onKeyPress,this);for(var a=0;a<s.length;a++)L.DomEvent.on(n,s[a],this._fireMouseEvent,this);L.Handler.MarkerDrag&&(this.dragging=new L.Handler.MarkerDrag(this),this.options.draggable&&this.dragging.enable())}},_detectIE:function(){var n=r.navigator.userAgent,s=n.indexOf("MSIE ");if(s>0)return parseInt(n.substring(s+5,n.indexOf(".",s)),10);if(n.indexOf("Trident/")>0){var a=n.indexOf("rv:");return parseInt(n.substring(a+3,n.indexOf(".",a)),10)}var h=n.indexOf("Edge/");return h>0&&parseInt(n.substring(h+5,n.indexOf(".",h)),10)}}),L.LatLngUtil={cloneLatLngs:function(n){for(var s=[],a=0,h=n.length;a<h;a++)Array.isArray(n[a])?s.push(L.LatLngUtil.cloneLatLngs(n[a])):s.push(this.cloneLatLng(n[a]));return s},cloneLatLng:function(n){return L.latLng(n.lat,n.lng)}},function(){var n={km:2,ha:2,m:0,mi:2,ac:2,yd:0,ft:0,nm:2};L.GeometryUtil=L.extend(L.GeometryUtil||{},{geodesicArea:function(s){var a,h,c=s.length,d=0,f=Math.PI/180;if(c>2){for(var p=0;p<c;p++)a=s[p],h=s[(p+1)%c],d+=(h.lng-a.lng)*f*(2+Math.sin(a.lat*f)+Math.sin(h.lat*f));d=6378137*d*6378137/2}return Math.abs(d)},formattedNumber:function(s,a){var h=parseFloat(s).toFixed(a),c=L.drawLocal.format&&L.drawLocal.format.numeric,d=c&&c.delimiters,f=d&&d.thousands,p=d&&d.decimal;if(f||p){var m=h.split(".");h=f?m[0].replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f):m[0],p=p||".",m.length>1&&(h=h+p+m[1])}return h},readableArea:function(s,a,f){var c,d,f=L.Util.extend({},n,f);return a?(d=["ha","m"],type=typeof a,type==="string"?d=[a]:type!=="boolean"&&(d=a),c=s>=1e6&&d.indexOf("km")!==-1?L.GeometryUtil.formattedNumber(1e-6*s,f.km)+" km²":s>=1e4&&d.indexOf("ha")!==-1?L.GeometryUtil.formattedNumber(1e-4*s,f.ha)+" ha":L.GeometryUtil.formattedNumber(s,f.m)+" m²"):(s/=.836127,c=s>=3097600?L.GeometryUtil.formattedNumber(s/3097600,f.mi)+" mi²":s>=4840?L.GeometryUtil.formattedNumber(s/4840,f.ac)+" acres":L.GeometryUtil.formattedNumber(s,f.yd)+" yd²"),c},readableDistance:function(s,a,h,c,p){var f,p=L.Util.extend({},n,p);switch(a?typeof a=="string"?a:"metric":h?"feet":c?"nauticalMile":"yards"){case"metric":f=s>1e3?L.GeometryUtil.formattedNumber(s/1e3,p.km)+" km":L.GeometryUtil.formattedNumber(s,p.m)+" m";break;case"feet":s*=3.28083,f=L.GeometryUtil.formattedNumber(s,p.ft)+" ft";break;case"nauticalMile":s*=.53996,f=L.GeometryUtil.formattedNumber(s/1e3,p.nm)+" nm";break;case"yards":default:s*=1.09361,f=s>1760?L.GeometryUtil.formattedNumber(s/1760,p.mi)+" miles":L.GeometryUtil.formattedNumber(s,p.yd)+" yd"}return f},isVersion07x:function(){var s=L.version.split(".");return parseInt(s[0],10)===0&&parseInt(s[1],10)===7}})}(),L.Util.extend(L.LineUtil,{segmentsIntersect:function(n,s,a,h){return this._checkCounterclockwise(n,a,h)!==this._checkCounterclockwise(s,a,h)&&this._checkCounterclockwise(n,s,a)!==this._checkCounterclockwise(n,s,h)},_checkCounterclockwise:function(n,s,a){return(a.y-n.y)*(s.x-n.x)>(s.y-n.y)*(a.x-n.x)}}),L.Polyline.include({intersects:function(){var n,s,a,h=this._getProjectedPoints(),c=h?h.length:0;if(this._tooFewPointsForIntersection())return!1;for(n=c-1;n>=3;n--)if(s=h[n-1],a=h[n],this._lineSegmentsIntersectsRange(s,a,n-2))return!0;return!1},newLatLngIntersects:function(n,s){return!!this._map&&this.newPointIntersects(this._map.latLngToLayerPoint(n),s)},newPointIntersects:function(n,s){var a=this._getProjectedPoints(),h=a?a.length:0,c=a?a[h-1]:null,d=h-2;return!this._tooFewPointsForIntersection(1)&&this._lineSegmentsIntersectsRange(c,n,d,s?1:0)},_tooFewPointsForIntersection:function(n){var s=this._getProjectedPoints(),a=s?s.length:0;return a+=n||0,!s||a<=3},_lineSegmentsIntersectsRange:function(n,s,a,h){var c,d,f=this._getProjectedPoints();h=h||0;for(var p=a;p>h;p--)if(c=f[p-1],d=f[p],L.LineUtil.segmentsIntersect(n,s,c,d))return!0;return!1},_getProjectedPoints:function(){if(!this._defaultShape)return this._originalPoints;for(var n=[],s=this._defaultShape(),a=0;a<s.length;a++)n.push(this._map.latLngToLayerPoint(s[a]));return n}}),L.Polygon.include({intersects:function(){var n,s,a,h,c=this._getProjectedPoints();return!this._tooFewPointsForIntersection()&&(!!L.Polyline.prototype.intersects.call(this)||(n=c.length,s=c[0],a=c[n-1],h=n-2,this._lineSegmentsIntersectsRange(a,s,h,1)))}}),L.Control.Draw=L.Control.extend({options:{position:"topleft",draw:{},edit:!1},initialize:function(n){if(L.version<"0.7")throw new Error("Leaflet.draw 0.2.3+ requires Leaflet 0.7.0+. Download latest from https://github.com/Leaflet/Leaflet/");L.Control.prototype.initialize.call(this,n);var s;this._toolbars={},L.DrawToolbar&&this.options.draw&&(s=new L.DrawToolbar(this.options.draw),this._toolbars[L.DrawToolbar.TYPE]=s,this._toolbars[L.DrawToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.EditToolbar&&this.options.edit&&(s=new L.EditToolbar(this.options.edit),this._toolbars[L.EditToolbar.TYPE]=s,this._toolbars[L.EditToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.toolbar=this},onAdd:function(n){var s,a=L.DomUtil.create("div","leaflet-draw"),h=!1;for(var c in this._toolbars)this._toolbars.hasOwnProperty(c)&&(s=this._toolbars[c].addToolbar(n))&&(h||(L.DomUtil.hasClass(s,"leaflet-draw-toolbar-top")||L.DomUtil.addClass(s.childNodes[0],"leaflet-draw-toolbar-top"),h=!0),a.appendChild(s));return a},onRemove:function(){for(var n in this._toolbars)this._toolbars.hasOwnProperty(n)&&this._toolbars[n].removeToolbar()},setDrawingOptions:function(n){for(var s in this._toolbars)this._toolbars[s]instanceof L.DrawToolbar&&this._toolbars[s].setOptions(n)},_toolbarEnabled:function(n){var s=n.target;for(var a in this._toolbars)this._toolbars[a]!==s&&this._toolbars[a].disable()}}),L.Map.mergeOptions({drawControlTooltips:!0,drawControl:!1}),L.Map.addInitHook(function(){this.options.drawControl&&(this.drawControl=new L.Control.Draw,this.addControl(this.drawControl))}),L.Toolbar=L.Class.extend({initialize:function(n){L.setOptions(this,n),this._modes={},this._actionButtons=[],this._activeMode=null;var s=L.version.split(".");parseInt(s[0],10)===1&&parseInt(s[1],10)>=2?L.Toolbar.include(L.Evented.prototype):L.Toolbar.include(L.Mixin.Events)},enabled:function(){return this._activeMode!==null},disable:function(){this.enabled()&&this._activeMode.handler.disable()},addToolbar:function(n){var s,a=L.DomUtil.create("div","leaflet-draw-section"),h=0,c=this._toolbarClass||"",d=this.getModeHandlers(n);for(this._toolbarContainer=L.DomUtil.create("div","leaflet-draw-toolbar leaflet-bar"),this._map=n,s=0;s<d.length;s++)d[s].enabled&&this._initModeHandler(d[s].handler,this._toolbarContainer,h++,c,d[s].title);if(h)return this._lastButtonIndex=--h,this._actionsContainer=L.DomUtil.create("ul","leaflet-draw-actions"),a.appendChild(this._toolbarContainer),a.appendChild(this._actionsContainer),a},removeToolbar:function(){for(var n in this._modes)this._modes.hasOwnProperty(n)&&(this._disposeButton(this._modes[n].button,this._modes[n].handler.enable,this._modes[n].handler),this._modes[n].handler.disable(),this._modes[n].handler.off("enabled",this._handlerActivated,this).off("disabled",this._handlerDeactivated,this));this._modes={};for(var s=0,a=this._actionButtons.length;s<a;s++)this._disposeButton(this._actionButtons[s].button,this._actionButtons[s].callback,this);this._actionButtons=[],this._actionsContainer=null},_initModeHandler:function(n,s,a,h,c){var d=n.type;this._modes[d]={},this._modes[d].handler=n,this._modes[d].button=this._createButton({type:d,title:c,className:h+"-"+d,container:s,callback:this._modes[d].handler.enable,context:this._modes[d].handler}),this._modes[d].buttonIndex=a,this._modes[d].handler.on("enabled",this._handlerActivated,this).on("disabled",this._handlerDeactivated,this)},_detectIOS:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!r.MSStream},_createButton:function(n){var s=L.DomUtil.create("a",n.className||"",n.container),a=L.DomUtil.create("span","sr-only",n.container);s.href="#",s.appendChild(a),n.title&&(s.title=n.title,a.innerHTML=n.title),n.text&&(s.innerHTML=n.text,a.innerHTML=n.text);var h=this._detectIOS()?"touchstart":"click";return L.DomEvent.on(s,"click",L.DomEvent.stopPropagation).on(s,"mousedown",L.DomEvent.stopPropagation).on(s,"dblclick",L.DomEvent.stopPropagation).on(s,"touchstart",L.DomEvent.stopPropagation).on(s,"click",L.DomEvent.preventDefault).on(s,h,n.callback,n.context),s},_disposeButton:function(n,s){var a=this._detectIOS()?"touchstart":"click";L.DomEvent.off(n,"click",L.DomEvent.stopPropagation).off(n,"mousedown",L.DomEvent.stopPropagation).off(n,"dblclick",L.DomEvent.stopPropagation).off(n,"touchstart",L.DomEvent.stopPropagation).off(n,"click",L.DomEvent.preventDefault).off(n,a,s)},_handlerActivated:function(n){this.disable(),this._activeMode=this._modes[n.handler],L.DomUtil.addClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._showActionsToolbar(),this.fire("enable")},_handlerDeactivated:function(){this._hideActionsToolbar(),L.DomUtil.removeClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._activeMode=null,this.fire("disable")},_createActions:function(n){var s,a,h,c,d=this._actionsContainer,f=this.getActions(n),p=f.length;for(a=0,h=this._actionButtons.length;a<h;a++)this._disposeButton(this._actionButtons[a].button,this._actionButtons[a].callback);for(this._actionButtons=[];d.firstChild;)d.removeChild(d.firstChild);for(var m=0;m<p;m++)"enabled"in f[m]&&!f[m].enabled||(s=L.DomUtil.create("li","",d),c=this._createButton({title:f[m].title,text:f[m].text,container:s,callback:f[m].callback,context:f[m].context}),this._actionButtons.push({button:c,callback:f[m].callback}))},_showActionsToolbar:function(){var n=this._activeMode.buttonIndex,s=this._lastButtonIndex,a=this._activeMode.button.offsetTop-1;this._createActions(this._activeMode.handler),this._actionsContainer.style.top=a+"px",n===0&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-top")),n===s&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-bottom")),this._actionsContainer.style.display="block",this._map.fire(L.Draw.Event.TOOLBAROPENED)},_hideActionsToolbar:function(){this._actionsContainer.style.display="none",L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-top"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-bottom"),this._map.fire(L.Draw.Event.TOOLBARCLOSED)}}),L.Draw=L.Draw||{},L.Draw.Tooltip=L.Class.extend({initialize:function(n){this._map=n,this._popupPane=n._panes.popupPane,this._visible=!1,this._container=n.options.drawControlTooltips?L.DomUtil.create("div","leaflet-draw-tooltip",this._popupPane):null,this._singleLineLabel=!1,this._map.on("mouseout",this._onMouseOut,this)},dispose:function(){this._map.off("mouseout",this._onMouseOut,this),this._container&&(this._popupPane.removeChild(this._container),this._container=null)},updateContent:function(n){return this._container?(n.subtext=n.subtext||"",n.subtext.length!==0||this._singleLineLabel?n.subtext.length>0&&this._singleLineLabel&&(L.DomUtil.removeClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!1):(L.DomUtil.addClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!0),this._container.innerHTML=(n.subtext.length>0?'<span class="leaflet-draw-tooltip-subtext">'+n.subtext+"</span><br />":"")+"<span>"+n.text+"</span>",n.text||n.subtext?(this._visible=!0,this._container.style.visibility="inherit"):(this._visible=!1,this._container.style.visibility="hidden"),this):this},updatePosition:function(n){var s=this._map.latLngToLayerPoint(n),a=this._container;return this._container&&(this._visible&&(a.style.visibility="inherit"),L.DomUtil.setPosition(a,s)),this},showAsError:function(){return this._container&&L.DomUtil.addClass(this._container,"leaflet-error-draw-tooltip"),this},removeError:function(){return this._container&&L.DomUtil.removeClass(this._container,"leaflet-error-draw-tooltip"),this},_onMouseOut:function(){this._container&&(this._container.style.visibility="hidden")}}),L.DrawToolbar=L.Toolbar.extend({statics:{TYPE:"draw"},options:{polyline:{},polygon:{},rectangle:{},circle:{},marker:{},circlemarker:{}},initialize:function(n){for(var s in this.options)this.options.hasOwnProperty(s)&&n[s]&&(n[s]=L.extend({},this.options[s],n[s]));this._toolbarClass="leaflet-draw-draw",L.Toolbar.prototype.initialize.call(this,n)},getModeHandlers:function(n){return[{enabled:this.options.polyline,handler:new L.Draw.Polyline(n,this.options.polyline),title:L.drawLocal.draw.toolbar.buttons.polyline},{enabled:this.options.polygon,handler:new L.Draw.Polygon(n,this.options.polygon),title:L.drawLocal.draw.toolbar.buttons.polygon},{enabled:this.options.rectangle,handler:new L.Draw.Rectangle(n,this.options.rectangle),title:L.drawLocal.draw.toolbar.buttons.rectangle},{enabled:this.options.circle,handler:new L.Draw.Circle(n,this.options.circle),title:L.drawLocal.draw.toolbar.buttons.circle},{enabled:this.options.marker,handler:new L.Draw.Marker(n,this.options.marker),title:L.drawLocal.draw.toolbar.buttons.marker},{enabled:this.options.circlemarker,handler:new L.Draw.CircleMarker(n,this.options.circlemarker),title:L.drawLocal.draw.toolbar.buttons.circlemarker}]},getActions:function(n){return[{enabled:n.completeShape,title:L.drawLocal.draw.toolbar.finish.title,text:L.drawLocal.draw.toolbar.finish.text,callback:n.completeShape,context:n},{enabled:n.deleteLastVertex,title:L.drawLocal.draw.toolbar.undo.title,text:L.drawLocal.draw.toolbar.undo.text,callback:n.deleteLastVertex,context:n},{title:L.drawLocal.draw.toolbar.actions.title,text:L.drawLocal.draw.toolbar.actions.text,callback:this.disable,context:this}]},setOptions:function(n){L.setOptions(this,n);for(var s in this._modes)this._modes.hasOwnProperty(s)&&n.hasOwnProperty(s)&&this._modes[s].handler.setOptions(n[s])}}),L.EditToolbar=L.Toolbar.extend({statics:{TYPE:"edit"},options:{edit:{selectedPathOptions:{dashArray:"10, 10",fill:!0,fillColor:"#fe57a1",fillOpacity:.1,maintainColor:!1}},remove:{},poly:null,featureGroup:null},initialize:function(n){n.edit&&(n.edit.selectedPathOptions===void 0&&(n.edit.selectedPathOptions=this.options.edit.selectedPathOptions),n.edit.selectedPathOptions=L.extend({},this.options.edit.selectedPathOptions,n.edit.selectedPathOptions)),n.remove&&(n.remove=L.extend({},this.options.remove,n.remove)),n.poly&&(n.poly=L.extend({},this.options.poly,n.poly)),this._toolbarClass="leaflet-draw-edit",L.Toolbar.prototype.initialize.call(this,n),this._selectedFeatureCount=0},getModeHandlers:function(n){var s=this.options.featureGroup;return[{enabled:this.options.edit,handler:new L.EditToolbar.Edit(n,{featureGroup:s,selectedPathOptions:this.options.edit.selectedPathOptions,poly:this.options.poly}),title:L.drawLocal.edit.toolbar.buttons.edit},{enabled:this.options.remove,handler:new L.EditToolbar.Delete(n,{featureGroup:s}),title:L.drawLocal.edit.toolbar.buttons.remove}]},getActions:function(n){var s=[{title:L.drawLocal.edit.toolbar.actions.save.title,text:L.drawLocal.edit.toolbar.actions.save.text,callback:this._save,context:this},{title:L.drawLocal.edit.toolbar.actions.cancel.title,text:L.drawLocal.edit.toolbar.actions.cancel.text,callback:this.disable,context:this}];return n.removeAllLayers&&s.push({title:L.drawLocal.edit.toolbar.actions.clearAll.title,text:L.drawLocal.edit.toolbar.actions.clearAll.text,callback:this._clearAllLayers,context:this}),s},addToolbar:function(n){var s=L.Toolbar.prototype.addToolbar.call(this,n);return this._checkDisabled(),this.options.featureGroup.on("layeradd layerremove",this._checkDisabled,this),s},removeToolbar:function(){this.options.featureGroup.off("layeradd layerremove",this._checkDisabled,this),L.Toolbar.prototype.removeToolbar.call(this)},disable:function(){this.enabled()&&(this._activeMode.handler.revertLayers(),L.Toolbar.prototype.disable.call(this))},_save:function(){this._activeMode.handler.save(),this._activeMode&&this._activeMode.handler.disable()},_clearAllLayers:function(){this._activeMode.handler.removeAllLayers(),this._activeMode&&this._activeMode.handler.disable()},_checkDisabled:function(){var n,s=this.options.featureGroup,a=s.getLayers().length!==0;this.options.edit&&(n=this._modes[L.EditToolbar.Edit.TYPE].button,a?L.DomUtil.removeClass(n,"leaflet-disabled"):L.DomUtil.addClass(n,"leaflet-disabled"),n.setAttribute("title",a?L.drawLocal.edit.toolbar.buttons.edit:L.drawLocal.edit.toolbar.buttons.editDisabled)),this.options.remove&&(n=this._modes[L.EditToolbar.Delete.TYPE].button,a?L.DomUtil.removeClass(n,"leaflet-disabled"):L.DomUtil.addClass(n,"leaflet-disabled"),n.setAttribute("title",a?L.drawLocal.edit.toolbar.buttons.remove:L.drawLocal.edit.toolbar.buttons.removeDisabled))}}),L.EditToolbar.Edit=L.Handler.extend({statics:{TYPE:"edit"},initialize:function(n,s){if(L.Handler.prototype.initialize.call(this,n),L.setOptions(this,s),this._featureGroup=s.featureGroup,!(this._featureGroup instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this._uneditedLayerProps={},this.type=L.EditToolbar.Edit.TYPE;var a=L.version.split(".");parseInt(a[0],10)===1&&parseInt(a[1],10)>=2?L.EditToolbar.Edit.include(L.Evented.prototype):L.EditToolbar.Edit.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.EDITSTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._featureGroup.on("layeradd",this._enableLayerEdit,this).on("layerremove",this._disableLayerEdit,this))},disable:function(){this._enabled&&(this._featureGroup.off("layeradd",this._enableLayerEdit,this).off("layerremove",this._disableLayerEdit,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.EDITSTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var n=this._map;n&&(n.getContainer().focus(),this._featureGroup.eachLayer(this._enableLayerEdit,this),this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}),n._editTooltip=this._tooltip,this._updateTooltip(),this._map.on("mousemove",this._onMouseMove,this).on("touchmove",this._onMouseMove,this).on("MSPointerMove",this._onMouseMove,this).on(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},removeHooks:function(){this._map&&(this._featureGroup.eachLayer(this._disableLayerEdit,this),this._uneditedLayerProps={},this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this).off("touchmove",this._onMouseMove,this).off("MSPointerMove",this._onMouseMove,this).off(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},revertLayers:function(){this._featureGroup.eachLayer(function(n){this._revertLayer(n)},this)},save:function(){var n=new L.LayerGroup;this._featureGroup.eachLayer(function(s){s.edited&&(n.addLayer(s),s.edited=!1)}),this._map.fire(L.Draw.Event.EDITED,{layers:n})},_backupLayer:function(n){var s=L.Util.stamp(n);this._uneditedLayerProps[s]||(n instanceof L.Polyline||n instanceof L.Polygon||n instanceof L.Rectangle?this._uneditedLayerProps[s]={latlngs:L.LatLngUtil.cloneLatLngs(n.getLatLngs())}:n instanceof L.Circle?this._uneditedLayerProps[s]={latlng:L.LatLngUtil.cloneLatLng(n.getLatLng()),radius:n.getRadius()}:(n instanceof L.Marker||n instanceof L.CircleMarker)&&(this._uneditedLayerProps[s]={latlng:L.LatLngUtil.cloneLatLng(n.getLatLng())}))},_getTooltipText:function(){return{text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}},_updateTooltip:function(){this._tooltip.updateContent(this._getTooltipText())},_revertLayer:function(n){var s=L.Util.stamp(n);n.edited=!1,this._uneditedLayerProps.hasOwnProperty(s)&&(n instanceof L.Polyline||n instanceof L.Polygon||n instanceof L.Rectangle?n.setLatLngs(this._uneditedLayerProps[s].latlngs):n instanceof L.Circle?(n.setLatLng(this._uneditedLayerProps[s].latlng),n.setRadius(this._uneditedLayerProps[s].radius)):(n instanceof L.Marker||n instanceof L.CircleMarker)&&n.setLatLng(this._uneditedLayerProps[s].latlng),n.fire("revert-edited",{layer:n}))},_enableLayerEdit:function(n){var s,a,h=n.layer||n.target||n;this._backupLayer(h),this.options.poly&&(a=L.Util.extend({},this.options.poly),h.options.poly=a),this.options.selectedPathOptions&&(s=L.Util.extend({},this.options.selectedPathOptions),s.maintainColor&&(s.color=h.options.color,s.fillColor=h.options.fillColor),h.options.original=L.extend({},h.options),h.options.editing=s),h instanceof L.Marker?(h.editing&&h.editing.enable(),h.dragging.enable(),h.on("dragend",this._onMarkerDragEnd).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onMarkerDragEnd,this).on("MSPointerUp",this._onMarkerDragEnd,this)):h.editing.enable()},_disableLayerEdit:function(n){var s=n.layer||n.target||n;s.edited=!1,s.editing&&s.editing.disable(),delete s.options.editing,delete s.options.original,this._selectedPathOptions&&(s instanceof L.Marker?this._toggleMarkerHighlight(s):(s.setStyle(s.options.previousOptions),delete s.options.previousOptions)),s instanceof L.Marker?(s.dragging.disable(),s.off("dragend",this._onMarkerDragEnd,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onMarkerDragEnd,this).off("MSPointerUp",this._onMarkerDragEnd,this)):s.editing.disable()},_onMouseMove:function(n){this._tooltip.updatePosition(n.latlng)},_onMarkerDragEnd:function(n){var s=n.target;s.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:s})},_onTouchMove:function(n){var s=n.originalEvent.changedTouches[0],a=this._map.mouseEventToLayerPoint(s),h=this._map.layerPointToLatLng(a);n.target.setLatLng(h)},_hasAvailableLayers:function(){return this._featureGroup.getLayers().length!==0}}),L.EditToolbar.Delete=L.Handler.extend({statics:{TYPE:"remove"},initialize:function(n,s){if(L.Handler.prototype.initialize.call(this,n),L.Util.setOptions(this,s),this._deletableLayers=this.options.featureGroup,!(this._deletableLayers instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this.type=L.EditToolbar.Delete.TYPE;var a=L.version.split(".");parseInt(a[0],10)===1&&parseInt(a[1],10)>=2?L.EditToolbar.Delete.include(L.Evented.prototype):L.EditToolbar.Delete.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DELETESTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._deletableLayers.on("layeradd",this._enableLayerDelete,this).on("layerremove",this._disableLayerDelete,this))},disable:function(){this._enabled&&(this._deletableLayers.off("layeradd",this._enableLayerDelete,this).off("layerremove",this._disableLayerDelete,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DELETESTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var n=this._map;n&&(n.getContainer().focus(),this._deletableLayers.eachLayer(this._enableLayerDelete,this),this._deletedLayers=new L.LayerGroup,this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.remove.tooltip.text}),this._map.on("mousemove",this._onMouseMove,this))},removeHooks:function(){this._map&&(this._deletableLayers.eachLayer(this._disableLayerDelete,this),this._deletedLayers=null,this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this))},revertLayers:function(){this._deletedLayers.eachLayer(function(n){this._deletableLayers.addLayer(n),n.fire("revert-deleted",{layer:n})},this)},save:function(){this._map.fire(L.Draw.Event.DELETED,{layers:this._deletedLayers})},removeAllLayers:function(){this._deletableLayers.eachLayer(function(n){this._removeLayer({layer:n})},this),this.save()},_enableLayerDelete:function(n){(n.layer||n.target||n).on("click",this._removeLayer,this)},_disableLayerDelete:function(n){var s=n.layer||n.target||n;s.off("click",this._removeLayer,this),this._deletedLayers.removeLayer(s)},_removeLayer:function(n){var s=n.layer||n.target||n;this._deletableLayers.removeLayer(s),this._deletedLayers.addLayer(s),s.fire("deleted")},_onMouseMove:function(n){this._tooltip.updatePosition(n.latlng)},_hasAvailableLayers:function(){return this._deletableLayers.getLayers().length!==0}})})(window,document);const yC="";var pp={draw:{toolbar:{actions:{title:"መሳል ተው",text:"ተው"},finish:{title:"መሳል ጨርስ",text:"ጨርስ"},undo:{title:"መጨረሻ የተሳለውን ነጥብ አጥፋ",text:"መጨረሻ የተሳለውን ነጥብ አጥፋ"},buttons:{polyline:"ፖሊላየን ሳል",polygon:"ፖሊጎን ሳል",rectangle:"አራት መአዘን ሳል",circle:"ክብ ሳል",marker:"ምልክት ሳል",circlemarker:"ክብ ምልክት ሳል"}},handlers:{circle:{tooltip:{start:"ክብ ለመሳል ተጭንው ይጎትቱ"},radius:"ራዲየስ"},circlemarker:{tooltip:{start:"ክብ ምልክት ለመሳል ካርታውን ይጫኑ ይጎትቱ"}},marker:{tooltip:{start:"ምልክት ለመሳል ካርታውን ይጫኑ ይጎትቱ"}},polygon:{tooltip:{start:"ቅርጽን ለመሳል ካርታውን ተጭነው ይጎትቱ",cont:"ቅርጽን መሳሎን ለመቀጠል ይጫኑ",end:"ቅርጽን ስሎ ለመጨረስ የመጀመሪያውን ነጥብ ይጫኑ"}},polyline:{error:"<strong>ስህተት:</strong> መስመሮች እርስ በእርስ መተላለፍ አይችሉም!",tooltip:{start:"መስመር ለመሳል ካርታውን ተጭነው ይጎትቱ",cont:"መስመር መሳሎን ለመቀጠል ይጫኑ",end:"መስመር ስሎ ለመጨረስ የመጨረሻውን ነጥብ ይጫኑ"}},rectangle:{tooltip:{start:"ዐራት መአዝን ለመሳል ካርታውን ይጫኑ ይጎትቱ"}},simpleshape:{tooltip:{end:"ስለው ለመጨረስ አይጤን ይልቀቁ"}}}},edit:{toolbar:{actions:{save:{title:"ለውጦቹን አኑር",text:"አኑር"},cancel:{title:"ማስተካከሉን ተው፣ ሁሉንም ለውጦች ሰርዝ",text:"ተው"},clearAll:{title:"ሁሉንም የካርታ ገጾች አጥፋ",text:"ሁሉንም አጥፋ"}},buttons:{edit:"የካርታ ገጽ አስተካክል",editDisabled:"የሚስተካከል የካርታ ገጽ የለም",remove:"የካርታ ገጽ ሰርዝ.",removeDisabled:"የሚሰረዝ የካርታ ገጽ የለም"}},handlers:{edit:{tooltip:{text:"ለማስተካከል ምልክቱን ወይም መያዣውን ይጎትቱ",subtext:"ለውጥጡን ለመተው ተው የሚለውን ይጫኑ"}},remove:{tooltip:{text:"ማጥፋት የፈለጉትን ይጫኑ"}}}}},mp={draw:{toolbar:{actions:{title:"Zrušit kreslení",text:"Zrušit"},finish:{title:"Dokončit kreslení",text:"Dokončit"},undo:{title:"Smazat poslední nakreslený bod",text:"Smazat poslední bod"},buttons:{polyline:"Nakreslit mnohoúhelník",polygon:"Nakreslit polygon",rectangle:"Nakreslit obdélník",circle:"Nakreslit kruh",marker:"Nakreslit značku",circlemarker:"Nakreslit kruhovou značku"}},handlers:{circle:{tooltip:{start:"Kliknout a táhnout pro nakreslení kruhu."},radius:"Poloměr"},circlemarker:{tooltip:{start:"Kliknout do mapy pro umístění kruhové značky."}},marker:{tooltip:{start:"Kliknout do mapy pro umístění značky."}},polygon:{tooltip:{start:"Kliknout pro začátek kreslení tvaru.",cont:"Kliknout pro pokračování v kreslení tvaru.",end:"Kliknout na pvní bod k uzavření tvaru."}},polyline:{error:"<strong>Chyba:</strong> hrany tvaru se nemohou protínat!",tooltip:{start:"Kliknout pro začátek kreslení úsečky.",cont:"Kliknout pro pokračování v kreslení úsečky.",end:"Kliknout na koncový bod k ukončení kreslení úsečky."}},rectangle:{tooltip:{start:"Kliknout a táhnout k nakreslení obdélníku."}},simpleshape:{tooltip:{end:"Pustit myš k dokončení kreslení."}}}},edit:{toolbar:{actions:{save:{title:"Uložit změny.",text:"Uložit"},cancel:{title:"Zrušit úpravu, zruší všechny změny.",text:"Zrušit"},clearAll:{title:"Vymazat všechny vrstvy.",text:"Vymazat vše"}},buttons:{edit:"Upravit vrstvy.",editDisabled:"Žádné vrstvy k úpravě.",remove:"Vymazat vrstvy.",removeDisabled:"Žádná vrstva k vymazání."}},handlers:{edit:{tooltip:{text:"Táhnout za úchopy pro editaci tvaru.",subtext:"Kliknutím na zrušit vrátite změny."}},remove:{tooltip:{text:"Kliknout na tvar pro smazání"}}}}},_p={draw:{toolbar:{actions:{title:"Zeichnung abbrechen",text:"Abbrechen"},finish:{title:"Zeichnung fertigstellen",text:"Fertigstellen"},undo:{title:"Lösche den zuletzt gezeichneten Punkt",text:"Letzter Punkt löschen"},buttons:{polyline:"Zeichne eine Linie",polygon:"Zeichne ein Polygon",rectangle:"Zeichne ein Rechteck",circle:"Zeichne einen Kreis",marker:"Zeichne einen Marker",circlemarker:"Zeichne einen Kreis-Marker"}},handlers:{circle:{tooltip:{start:"Klicken und ziehen um einen Kreis zu zeichnen."},radius:"Radius"},circlemarker:{tooltip:{start:"Karte anklicken um einen Kreis-Marker zu platzieren."}},marker:{tooltip:{start:"Karte anklicken um einen Marker zu platzieren."}},polygon:{tooltip:{start:"Klicken um mit dem Zeichnen einer Form zu beginnen.",cont:"Klicken um mit dem Zeichnen dieser Form fortzufahren.",end:"Erster Punkt anklicken um diese Form abzuschliessen."}},polyline:{error:"<strong>Fehler:</strong> Form-Ecken dürfen sich nicht überschneiden!",tooltip:{start:"Klicken um mit dem Zeichnen einer Linie zu beginnen.",cont:"Klicken um mit dem Zeichnen dieser Linie fortzufahren.",end:"Erster Punkt anklicken um diese Linie abzuschliessen."}},rectangle:{tooltip:{start:"Klicken und ziehen um ein Rechteck zu zeichnen."}},simpleshape:{tooltip:{end:"Maustaste loslassen um die Zeichnung fertigzustellen."}}}},edit:{toolbar:{actions:{save:{title:"Speichere Änderungen.",text:"Speichern"},cancel:{title:"Bearbeitung abbrechen, alle Änderungen verwerfen.",text:"Abbrechen"},clearAll:{title:"Alle Layer bereinigen.",text:"Alles bereinigen"}},buttons:{edit:"Layer bearbeiten.",editDisabled:"Keine Layer zum bearbeiten.",remove:"Layer löschen.",removeDisabled:"Keine Layer zum löschen."}},handlers:{edit:{tooltip:{text:"Ziehe den Griff oder den Marker um die Eigenschaft zu bearbeiten.",subtext:"Klicke abbrechen um Änderungen rückgängig zu machen."}},remove:{tooltip:{text:"Klicke auf eine Eigenschaft um diese zu entfernen."}}}}},dc={draw:{toolbar:{actions:{title:"Cancel drawing",text:"Cancel"},finish:{title:"Finish drawing",text:"Finish"},undo:{title:"Delete last point drawn",text:"Delete last point"},buttons:{polyline:"Draw a polyline",polygon:"Draw a polygon",rectangle:"Draw a rectangle",circle:"Draw a circle",marker:"Draw a marker",circlemarker:"Draw a circlemarker"}},handlers:{circle:{tooltip:{start:"Click and drag to draw circle."},radius:"Radius"},circlemarker:{tooltip:{start:"Click map to place circle marker."}},marker:{tooltip:{start:"Click map to place marker."}},polygon:{tooltip:{start:"Click to start drawing shape.",cont:"Click to continue drawing shape.",end:"Click first point to close this shape."}},polyline:{error:"<strong>Error:</strong> shape edges cannot cross!",tooltip:{start:"Click to start drawing line.",cont:"Click to continue drawing line.",end:"Click last point to finish line."}},rectangle:{tooltip:{start:"Click and drag to draw rectangle."}},simpleshape:{tooltip:{end:"Release mouse to finish drawing."}}}},edit:{toolbar:{actions:{save:{title:"Save changes.",text:"Save"},cancel:{title:"Cancel editing, discards all changes.",text:"Cancel"},clearAll:{title:"Clear all layers.",text:"Clear All"}},buttons:{edit:"Edit layers.",editDisabled:"No layers to edit.",remove:"Delete layers.",removeDisabled:"No layers to delete."}},handlers:{edit:{tooltip:{text:"Drag handles, or marker to edit feature.",subtext:"Click cancel to undo changes."}},remove:{tooltip:{text:"Click on a feature to remove"}}}}},yp={draw:{toolbar:{actions:{title:"Cancelar dibujo",text:"Cancelar"},finish:{title:"Terminar dibujo",text:"Terminar"},undo:{title:"Eliminar último punto dibujado",text:"Eliminar último punto"},buttons:{polyline:"Dibujar una polilínea",polygon:"Dibujar un polígono",rectangle:"Dibujar un rectángulo",circle:"Dibujar un círculo",marker:"Dibujar un marcador",circlemarker:"Dibujar un marcador circular"}},handlers:{circle:{tooltip:{start:"Haz click y arrastra para dibujar un círculo"},radius:"Radio"},circlemarker:{tooltip:{start:"Haz click en el mapa para situar el marcador circular"}},marker:{tooltip:{start:"Haz click en el mapa para situar el marcador"}},polygon:{tooltip:{start:"Haz click para empezar a dibujar la forma",cont:"Haz click para continuar dibujando la forma",end:"Haz click en el primer punto para cerrar la forma"}},polyline:{error:"<strong>Error:</strong> las líneas no deben cruzarse",tooltip:{start:"Haz click para empezar a dibujar la línea",cont:"Haz click para continuar dibujando la línea",end:"Haz click en el último punto para terminar la línea"}},rectangle:{tooltip:{start:"Haz click y arrastra para dibujar un rectángulo"}},simpleshape:{tooltip:{end:"Suelta el ratón para terminar de dibujar"}}}},edit:{toolbar:{actions:{save:{title:"Guardar los cambios",text:"Guardar"},cancel:{title:"Cancelar la edición, descarta todos los cambios",text:"Cancelar"},clearAll:{title:"Limpiar todas las capas",text:"Limpiar todo"}},buttons:{edit:"Editar capas",editDisabled:"No hay capas que editar",remove:"Eliminar capas",removeDisabled:"No hay capas que eliminar"}},handlers:{edit:{tooltip:{text:"Arrastra el marcador para editar la forma",subtext:"Haz click en cancelar para deshacer los cambios"}},remove:{tooltip:{text:"Haz click en una forma para eliminarla"}}}}},vp={draw:{toolbar:{actions:{title:"Peru piirustus",text:"Peru"},finish:{title:"Hyväksy piirustus",text:"Hyväksy"},undo:{title:"Poista viimeinen piirretty piste",text:"Poista viimeinen piste"},buttons:{polyline:"Piirrä murtoviiva",polygon:"Piirrä monikulmio",rectangle:"Piirrä suorakulmio",circle:"Piirrä ympyrä",marker:"Piirrä merkki",circlemarker:"Piirrä piirimerkki"}},handlers:{circle:{tooltip:{start:"Piirrä ympyrä pitämällä hiiri painettuna ja vetämällä."},radius:"Säde"},circlemarker:{tooltip:{start:"Aseta ympyrämerkki painamalla karttaa."}},marker:{tooltip:{start:"Aseta markkeri painamalla karttaa."}},polygon:{tooltip:{start:"Paina aloittaaksesi muodon piirtämisen.",cont:"Paina jatkaaksesi muodon piirtämistä.",end:"Sulje muoto painamalla ensimmäistä pistettä."}},polyline:{error:"<strong>Virhe:</strong> muodon reunaa ei voi ylittää!",tooltip:{start:"Paina aloittaaksesi viivan piirtämisen.",cont:"Paina jatkaaksesi viivan piirtämistä.",end:"Paina viimeistä pistettä päättäksesi viiva."}},rectangle:{tooltip:{start:"Piirrä suorakulmio pitämällä hiiri painettuna ja vetämällä."}},simpleshape:{tooltip:{end:"Vapauta hiiri päättääksesi piirtämisen."}}}},edit:{toolbar:{actions:{save:{title:"Hyväksy muutokset.",text:"Hyväksy"},cancel:{title:"Peru muokkaus, hylkää kaikki muutokset.",text:"Peru"},clearAll:{title:"Poista kaikki tasot.",text:"Poista kaikki"}},buttons:{edit:"Muokkaa tasoja.",editDisabled:"Ei muokattavia tasoja.",remove:"Poista tasot.",removeDisabled:"Ei poistettavia tasoja."}},handlers:{edit:{tooltip:{text:"Vedä pistettä tai markkeria muokataksesi piirrettyjä ominaisuuksia.",subtext:"Kumoa muutokset painamalla peruuta."}},remove:{tooltip:{text:"Paina piirrettyä ominaisuutta poistaaksesi"}}}}},xp={draw:{toolbar:{actions:{title:"Annuler le dessin",text:"Annuler"},finish:{title:"Terminer le dessin",text:"Terminer"},undo:{title:"Supprimer le dernier point tiré",text:"Supprimer le dernier point"},buttons:{polyline:"Dessinez une polyligne",polygon:"Dessinez un polygone",rectangle:"Dessinez un rectangle",circle:"Dessiner un cercle",marker:"Dessinez un marqueur",circlemarker:"Dessinez un marqueur circulaire"}},handlers:{circle:{tooltip:{start:"Cliquez et faites glisser pour dessiner le cercle."},radius:"Rayon"},circlemarker:{tooltip:{start:"Cliquez sur la carte pour placer le marqueur circulaire."}},marker:{tooltip:{start:"Cliquez sur la carte pour placer le marqueur."}},polygon:{tooltip:{start:"Cliquez pour commencer à dessiner.",cont:"Cliquez pour continuer à dessiner.",end:"Cliquez sur le premier point pour fermer cette forme."}},polyline:{error:"<strong>Erreur:</strong> les polyligne ne peuvent pas traverser!",tooltip:{start:"Cliquez pour commencer à dessiner.",cont:"Cliquez pour continuer à dessiner.",end:"Cliquez sur le dernier point pour fermer cette forme."}},rectangle:{tooltip:{start:"Cliquez et faites glisser pour dessiner le rectangle."}},simpleshape:{tooltip:{end:"Relâchez la souris pour terminer le dessin."}}}},edit:{toolbar:{actions:{save:{title:"Sauvegarder les modifications.",text:"Sauvegarder"},cancel:{title:"Annuler l'édition, rejette toutes les modifications.",text:"Annuler"},clearAll:{title:"Effacez toutes les collections.",text:"Tout effacer"}},buttons:{edit:"Modifier les collections.",editDisabled:"Pas de collections à éditer.",remove:"Supprimez les collections.",removeDisabled:"Pas de collections à supprimer."}},handlers:{edit:{tooltip:{text:"Sélectionnez les poignées ou le marqueur pour modifier l'entité.",subtext:"Cliquez sur annuler pour rétablir les modifications."}},remove:{tooltip:{text:"Cliquez sur une entité pour supprimer"}}}}},Ap={draw:{toolbar:{actions:{title:"Rajzolás elvetése",text:"Mégse"},finish:{title:"Rajzolás befejezése",text:"Befejezés"},undo:{title:"Legutóbbi pont törlése",text:"Legutóbbi pont törlése"},buttons:{polyline:"Útvonal rajzolása",polygon:"Sokszög rajzolása",rectangle:"Négyszög rajzolása",circle:"Kör rajzolása",marker:"Jelölő rajzolása",circlemarker:"Kör-jelölő rajzolása"}},handlers:{circle:{tooltip:{start:"Kattintson és tartsa nyomva a rajzoláshoz."},radius:"Sugár"},circlemarker:{tooltip:{start:"Kör-jelölő elhelyezéséhez kattintson a térképre."}},marker:{tooltip:{start:"Jelölő elhelyezéséhez kattintson a térképre."}},polygon:{tooltip:{start:"Alakzat rajzolásához kattintson a térképre.",cont:"Alakzat folytatásához kattintson a térképre.",end:"Alakzat befejezéséhez kattintson a kezdőpontra."}},polyline:{error:"<strong>Error:</strong> shape edges cannot cross!",tooltip:{start:"Útvonal rajzolásához kattintson a térképre.",cont:"Útvonal folytatásához kattintson a térképre.",end:"Útvonal befejezéséhez kattintson a végpontra."}},rectangle:{tooltip:{start:"Kattintson és tartsa nyomva négyszög rajzolásához."}},simpleshape:{tooltip:{end:"Ha elégedett az alakzattal, engedje fel az egér gombját."}}}},edit:{toolbar:{actions:{save:{title:"Változtatások elmentése.",text:"Mentés"},cancel:{title:"Változtatások elvetése.",text:"Mégse"},clearAll:{title:"Összes réteg törlése.",text:"Összes törlése"}},buttons:{edit:"Rétegek szerkesztése.",editDisabled:"Nem állnak rendelkezésre szerkeszthető rétegek.",remove:"Rétegek törlése.",removeDisabled:"Nem állnak rendelkezésre törölhető rétegek."}},handlers:{edit:{tooltip:{text:"Módosításhoz használja a jelölők, alakzatok kezelőit.",subtext:"Változások elvetéséhez kattintson a 'Mégse' gombra."}},remove:{tooltip:{text:"Kattintson a jelölőkre, alakzatokra az eltávolításukhoz."}}}}},wp={draw:{toolbar:{actions:{title:"Annulla disegno",text:"Annulla"},finish:{title:"Completa disegno",text:"Completa"},undo:{title:"Elimina l'ultimo punto disegnato",text:"Elimina l'ultimo punto"},buttons:{polyline:"Disegna una polilinea",polygon:"Disegna un poligono",rectangle:"Disegna un rettangolo",circle:"Disegna un cerchio",marker:"Disegna un marcatore",circlemarker:"Disegna un marker circolare"}},handlers:{circle:{tooltip:{start:"Clicca e trascina per disegnare un cerchio."},radius:"Raggio"},circlemarker:{tooltip:{start:"Clicca la mappa per posizionare un marcatore circolare."}},marker:{tooltip:{start:"Clicca la mappa per posizionare un marcatore."}},polygon:{tooltip:{start:"Clicca per iniziare a disegnare una figura.",cont:"Clicca per continuare a disegnare una figura.",end:"Clicca il primo punto per chiudere questa figura."}},polyline:{error:"<strong>Errore:</strong> i margini della figura non si possono incrociare!",tooltip:{start:"Clicca per iniziare a disegnare una linea.",cont:"Clicca per continuare a disegnare una linea",end:"Clicca l'ultimo punto per finire questa linea"}},rectangle:{tooltip:{start:"Clicca e trascina per disegnare un rettangolo."}},simpleshape:{tooltip:{end:"Rilascia il mouse per finire il disegno."}}}},edit:{toolbar:{actions:{save:{title:"Salva modifiche.",text:"Salva"},cancel:{title:"Annulla tutte le modifiche.",text:"Annulla"},clearAll:{title:"Pulisci tutti i livelli.",text:"Pulisci tutto"}},buttons:{edit:"Modifica i livelli.",editDisabled:"Nessun livello disponibile per la modifica.",remove:"Elimina livelli.",removeDisabled:"Nessun livello disponibile per l'eliminazione."}},handlers:{edit:{tooltip:{text:"Trascina le maniglie, o i marcatori per modificare l'elemento.",subtext:"Clicca annulla per annullare le modifiche."}},remove:{tooltip:{text:"Clicca un elemento per rimuoverlo"}}}}},Ep={draw:{toolbar:{actions:{title:"ხატვის გაუქმება",text:"გაუქმება"},finish:{title:"ხატვის დასრულება",text:"დასრულება"},undo:{title:"ბოლო დახატული წერტილის წაშლა",text:"ბოლო წერტილის წაშლა"},buttons:{polyline:"პოლილაინის დახაზვა",polygon:"პოლიგონის დახაზვა",rectangle:"მართკუთხედის დახაზვა",circle:"წრის დახაზვა",marker:"ადგილმდებარეობის დატანა",circlemarker:"ადგილმდებარეობის დატანა(წრის სახით)"}},handlers:{circle:{tooltip:{start:"დააწკაპუნეთ და გადაიტანეთ იმისათვის, რომ წრე დახაზოთ."},radius:"რადიუსი"},circlemarker:{tooltip:{start:"დააწკაპუნეთ რუკაზე ადგილმდებარეობის შესაქმნელად."}},marker:{tooltip:{start:"დააწკაპუნეთ რუკაზე ადგილმდებარეობის შესაქმნელად."}},polygon:{tooltip:{start:"დააწკაპუნეთ, კონტურის ხაზვის დაწყებისთვის.",cont:"დააწკაპუნეთ, კონტრუსი ხაზვის დასრულებისთვის.",end:"დააწკაპუნეთ პირველ წერტილზე, რათა დაასრულოთ კონტურის ხაზვა."}},polyline:{error:"<strong>შეცდომა:</strong> ხაზი ვერ გადაკვეთავს თავის თავს",tooltip:{start:"დააწკაპუნეთ, ხაზის ხაზვის დაწყებისთვის.",cont:"დააწკაპუნეთ, ხაზის ხაზვის დასრულებისთვის.",end:"დააწკაპუნეთ ბოლო წერტილზე, რათა დაასრულოთ ხაზის ხაზვა."}},rectangle:{tooltip:{start:"დააწკაპუნეთ და გადაიტანეთ იმისათვის, რომ მართკუთხედი დახაზოთ."}},simpleshape:{tooltip:{end:"გაათავისუფლეთ თაგვის ღილაკი ხაზვის დასასრულებლად."}}}},edit:{toolbar:{actions:{save:{title:"ცვლილებების შენახვა.",text:"შენახვა"},cancel:{title:"რედაქტირების გაუქმება, დააბრუნე ყველა ცვლილება.",text:"გაუქმება"},clearAll:{title:"ყველა რედაქტირებული ფენის გასუფთავება.",text:"გასუფთავება"}},buttons:{edit:"რედაქტირება.",editDisabled:"ფენები არ არის რედაქტირებისთვის.",remove:"წაშლა.",removeDisabled:"ფენები არ არის წაშლისთვის."}},handlers:{edit:{tooltip:{text:"გადაიტანეთ წვერები ან წერტილები ობიექტის რედაქტირებისთვის.",subtext:'დააჭირეთ "გაუქმება", საწყის მდგომარეობაში დასაბრუნებლად.'}},remove:{tooltip:{text:"დააწკაპუნეთ ობიექტზე წაშლისთვის"}}}}},Cp={draw:{toolbar:{actions:{title:"Tekening annuleren",text:"Annuleren"},finish:{title:"Tekening voltooien",text:"Voltooien"},undo:{title:"Laatst getekende punt verwijderen",text:"Verwijder laatst getekende punt"},buttons:{polyline:"Teken een polygonale lijn",polygon:"Teken een polygoon",rectangle:"Teken een rechthoek",circle:"Teken een cirkel",marker:"Plaats een marker",circlemarker:"Teken een cirkelmarkering"}},handlers:{circle:{tooltip:{start:"Klik en sleep om de cirkel te tekenen."},radius:"Radius"},circlemarker:{tooltip:{start:"Klik op de kaart om de cirkelmarkering te plaatsen."}},marker:{tooltip:{start:"Klik op de kaart om de markering te plaatsen."}},polygon:{tooltip:{start:"Klik om te beginnen met het tekenen van de polygoon.",cont:"Klik om door te gaan met het tekenen van de vorm.",end:"Klik op het eerste punt om dit polygoon te sluiten."}},polyline:{error:"<strong>Fout:</strong> vormranden kunnen niet kruisen!",tooltip:{start:"Klik om te beginnen met het tekenen van een lijn.",cont:"Klik om door te gaan met het tekenen van de lijn.",end:"Klik laatst getekende punt om deze lijn te voltooien."}},rectangle:{tooltip:{start:"Klik en sleep om een rechthoek te tekenen."}},simpleshape:{tooltip:{end:"Laat de muis los om de tekening te voltooien."}}}},edit:{toolbar:{actions:{save:{title:"Wijzigingen opslaan.",text:"Opslaan"},cancel:{title:"Annuleer bewerken en verwijder alle wijzigingen.",text:"Annuleren"},clearAll:{title:"Verwijder alle lagen.",text:"Verwijderd alles"}},buttons:{edit:"Lagen bewerken.",editDisabled:"Geen lagen om te bewerken.",remove:"Verwijder lagen.",removeDisabled:"Geen lagen om te verwijderen."}},handlers:{edit:{tooltip:{text:"Sleep hoeken om te schalen of middenpunt om te verplaatsen.",subtext:"Klik op annuleren om wijzigingen ongedaan te maken."}},remove:{tooltip:{text:"Klik op een vorm om die te verwijderen"}}}}},Lp={draw:{toolbar:{actions:{title:"Avbryt markering",text:"Avbryt"},finish:{title:"Ferdiggjør markering",text:"Ferdiggjør"},undo:{title:"Ta bort siste punkt",text:"Slett siste punkt"},buttons:{polyline:"Tegn flere linjer",polygon:"Tegn en mangekant",rectangle:"Tegn et rektangel",circle:"Tegn en sirkel",marker:"Sett et markeringspunkt",circlemarker:"Tegn et sirkelpunkt"}},handlers:{circle:{tooltip:{start:"Klikk og dra for å tegne en sirkel."},radius:"Radius"},circlemarker:{tooltip:{start:"Klikk på kartet for å plassere et sirkelpunkt."}},marker:{tooltip:{start:"Klikk på kartet for å markere et punkt."}},polygon:{tooltip:{start:"Klikk for å tegne et område.",cont:"Klikk for å fortsette tegningen.",end:"Klikk på det første punktet for å lukke området."}},polyline:{error:"<strong>Error:</strong> kantene kan ikke krysses!",tooltip:{start:"Klikk for å tegne en linje.",cont:"Klikk for å fortsette å tegne linjen.",end:"Kikk siste punkt for å ferdiggjøre linjen."}},rectangle:{tooltip:{start:"Klikk og dra for å tegne et rektangel."}},simpleshape:{tooltip:{end:"Slipp museknappen for å gjøre tegningen ferdig."}}}},edit:{toolbar:{actions:{save:{title:"Lagre endringer.",text:"Lagre"},cancel:{title:"Avbryt redigering og forkast endringer.",text:"Avbryt"},clearAll:{title:"Nullstill alle figurer.",text:"Nullstill alt."}},buttons:{edit:"Rediger figur.",editDisabled:"Ingen figur å redigere.",remove:"Slett figur.",removeDisabled:"Ingen figur å slette."}},handlers:{edit:{tooltip:{text:"Dra markør for å redigere.",subtext:"Klikk avbryt for å angre endringer."}},remove:{tooltip:{text:"Klikk for å ta bort"}}}}},bp={draw:{toolbar:{actions:{title:"Anuluj wyznaczanie",text:"Anuluj"},finish:{title:"Zakończ wyznaczanie",text:"Zakończ"},undo:{title:"Usuń ostatnio wyznaczony punkt",text:"Usuń ostatni punkt"},buttons:{polyline:"Wyznacz wzór",polygon:"Wyznacz wielokąt",rectangle:"Wyznacz prostokąt",circle:"Wyznacz koło",marker:"Umieść znacznik",circlemarker:"Umieść okrągły znacznik"}},handlers:{circle:{tooltip:{start:"Kliknij i przeciągnij, aby wyznaczyć koło."},radius:"Promień"},circlemarker:{tooltip:{start:"Kliknij na mapę, aby umieścić okrągły znacznik."}},marker:{tooltip:{start:"Kliknij na mapę, aby umieścić znacznik."}},polygon:{tooltip:{start:"Kliknij, aby rozpocząć wyznaczanie kształtu.",cont:"Kliknij, aby kontynuować wyznaczanie kształtu.",end:"Kliknij pierwszy punkt, aby zakończyć ten kształt."}},polyline:{error:"<strong>Błąd:</strong> odcinki nie mogą się przecinać!",tooltip:{start:"Kliknij, aby rozpocząć wyznaczanie lini.",cont:"Kliknij, aby kontynuować wyznaczanie lini.",end:"Kliknij ostatni punkt, aby ukończyć linię."}},rectangle:{tooltip:{start:"Kliknij i przeciągnij, aby wyznaczyć prostokąt."}},simpleshape:{tooltip:{end:"Zwolnij przycisk myszy, aby ukończyć wyznaczanie."}}}},edit:{toolbar:{actions:{save:{title:"Zapisz zmiany.",text:"Zapisz"},cancel:{title:"Anuluj edytowanie i odrzuć zmiany.",text:"Anuluj"},clearAll:{title:"Wyczyść wszystkie warstwy.",text:"Wyczyść wszystko"}},buttons:{edit:"Edytuj warstwy.",editDisabled:"Brak warstw do edycji.",remove:"Usuń warstwy.",removeDisabled:"Brak warstw do usunięcia."}},handlers:{edit:{tooltip:{text:"Przeciągnij uchwyt lub znacznik, aby edytować.",subtext:"Kliknij anuluj, aby odrzucić zmiany."}},remove:{tooltip:{text:"Kliknij obiekt, aby go usunąć."}}}}},Tp={draw:{toolbar:{actions:{title:"Cancelar desenho",text:"Cancelar"},finish:{title:"Terminar desenho",text:"Terminar"},undo:{title:"Eliminar último ponto desenhado",text:"Eliminar último ponto"},buttons:{polyline:"Desenhar uma polilinha",polygon:"Desenhar um polígono",rectangle:"Desenhar um retângulo",circle:"Desenhar um círculo",marker:"Desenhar un marcador",circlemarker:"Desenhar um marcador circular"}},handlers:{circle:{tooltip:{start:"Clique e arrastrar para desenhar o círculo."},radius:"Raio"},circlemarker:{tooltip:{start:"Clique no mapa para colocar o marcador circular."}},marker:{tooltip:{start:"Clique no mapa para colocar o marcador."}},polygon:{tooltip:{start:"Clique para começar a desenhar a figura.",cont:"Clique para continuar desenhando a figura.",end:"Clique no primeiro ponto para fechar esta figura."}},polyline:{error:"<strong>Erro:</strong> as bordas de uma forma não podem atravessar!",tooltip:{start:"Clique para começar a desenhar a linha.",cont:"Clique para continuar desenhando a linha.",end:"Clique no último ponto para terminar a linha."}},rectangle:{tooltip:{start:"Clique e arrastrar para desenhar o retângulo."}},simpleshape:{tooltip:{end:"Solte o mouse para terminar o desenho."}}}},edit:{toolbar:{actions:{save:{title:"Guardar alterações.",text:"Guardar"},cancel:{title:"Cancelar edição, descarta todas as alterações.",text:"Cancelar"},clearAll:{title:"Limpar todas as camadas.",text:"Limpar tudo"}},buttons:{edit:"Editar camadas.",editDisabled:"Nenhuma camada que editar.",remove:"Eliminar camadas.",removeDisabled:"Nenhuma camada que eliminar."}},handlers:{edit:{tooltip:{text:"Arraste os manipuladores ou marcadores para editar a figura.",subtext:"Clique em cancelar para desfazer as alterações."}},remove:{tooltip:{text:"Clique em uma figura para removê-la"}}}}},Mp={draw:{toolbar:{actions:{title:"Отменить рисование",text:"Отмена"},finish:{title:"Завершить рисование",text:"Завершить"},undo:{title:"Удалить последнюю нарисованную точку",text:"Удалить последнюю точку"},buttons:{polyline:"Нарисовать полилинию",polygon:"Нарисовать полигон",rectangle:"Нарисовать прямоугольник",circle:"Нарисовать круг",marker:"Нарисовать точку",circlemarker:"Нарисовать точку(в виде круга)"}},handlers:{circle:{tooltip:{start:"Кликните и перетащите для того, чтобы нарисовать круг."},radius:"Радиус"},circlemarker:{tooltip:{start:"Кликните на карту для установки точки."}},marker:{tooltip:{start:"Кликните на карту для установки точки."}},polygon:{tooltip:{start:"Кликните, чтобы начать рисовать контур.",cont:"Кликните, чтобы завершить рисовать контур.",end:"Кликните на первую точку, чтобы завершить рисование контура."}},polyline:{error:"<strong>Ошибка:</strong> линия не может самопересекаться!",tooltip:{start:"Кликните, чтобы начать рисовать линию.",cont:"Кликните, чтобы завершить рисование линии.",end:"Кликните на последнюю точку, чтобы завершить рисование линии."}},rectangle:{tooltip:{start:"Кликните и перетащите, чтобы нарисовать прямоугольник."}},simpleshape:{tooltip:{end:"Отпустите кнопку мыши для завершения рисования."}}}},edit:{toolbar:{actions:{save:{title:"Сохранить изменения.",text:"Сохранить"},cancel:{title:"Отменить редактирование, откатить все изменения.",text:"Отмена"},clearAll:{title:"Очистить все редактируемые слои.",text:"Очистить всё"}},buttons:{edit:"Редактировать.",editDisabled:"Нет слоёв для редактирования.",remove:"Удалить.",removeDisabled:"Нет слоёв для удаления."}},handlers:{edit:{tooltip:{text:"Перетащите вершины или точки для редактирования фигуры.",subtext:'Нажмите "Отмена", чтобы откатить изменения.'}},remove:{tooltip:{text:"Кликните на фигуру для удаления"}}}}},Pp={draw:{toolbar:{actions:{title:"Zrušiť kreslenie",text:"Zrušiť"},finish:{title:"Dokončiť kreslenie",text:"Dokončiť"},undo:{title:"Zmazať posledný nakreslený bod",text:"Zmazať posledný bod"},buttons:{polyline:"Nakresliť čiaru",polygon:"Nakresliť polygón",rectangle:"Nakresliť obdĺžnik",circle:"Nakresliť kruh",marker:"Nakresliť bod",circlemarker:"Nakresliť kruhový bod"}},handlers:{circle:{tooltip:{start:"Kliknite a potiahnite, aby ste nakreslili kruh."},radius:"Polomer"},circlemarker:{tooltip:{start:"Kliknite na mapu aby ste umiestnili kruhový bod."}},marker:{tooltip:{start:"Kliknite na mapu aby ste umiestnili bod."}},polygon:{tooltip:{start:"Kliknite, aby ste začali kresliť útvar.",cont:"Kliknite, aby ste nakreslili ďalší bod útvaru.",end:"Kliknite na prvý bod, aby ste uzavreli útvar."}},polyline:{error:"<strong>Chyba:</strong> čiary sa nesmú pretínať!",tooltip:{start:"Kliknite, aby ste začali kresliť čiaru.",cont:"Kliknite, aby ste nakreslili ďalší bod čiary.",end:"Kliknite posledný bod, aby ste dokončili čiaru."}},rectangle:{tooltip:{start:"Kliknite a potiahnite, aby ste nakreslili štvorec."}},simpleshape:{tooltip:{end:"Uvoľnením tlačidla myši ukončíte kreslenie."}}}},edit:{toolbar:{actions:{save:{title:"Uložiť zmeny.",text:"Uložiť"},cancel:{title:"Ukončiť úpravu, zrušiť všetky zmeny.",text:"Zrušiť"},clearAll:{title:"Zmazať všetky vrstvy.",text:"Zmazať všetko"}},buttons:{edit:"Upraviť vrstvy.",editDisabled:"Žiadne vrstvy pre úpravu",remove:"Zmazať vrstvy.",removeDisabled:"Žiadne vrstvy pre zmazanie."}},handlers:{edit:{tooltip:{text:"Potiahnutím vyznačených štvorčekov, alebo bodov upravíte útvar.",subtext:"Kliknite zrušiť, pre zrušenie zmien."}},remove:{tooltip:{text:"Kliknite na útvar pre jeho zmazanie."}}}}},Dp={draw:{toolbar:{actions:{title:"Скасувати креслення",text:"Скасувати"},finish:{title:"Завершити креслення",text:"Завершити"},undo:{title:"Видалити останню нанесену точку",text:"Видалити останню точку"},buttons:{polyline:"Накреслити криву",polygon:"Накреслити многокутник",rectangle:"Накреслити прямокутник",circle:"Накреслити коло",marker:"Розмістити маркер",circlemarker:"Розмістити маркер-коло"}},handlers:{circle:{tooltip:{start:"Натисніть і перетягуйте вказівник, щоб накреслити коло."},radius:"Радіус"},circlemarker:{tooltip:{start:"Натисніть на мапу, щоб розмістити маркер-коло."}},marker:{tooltip:{start:"Натисніть на мапу, щоб розмістити маркер."}},polygon:{tooltip:{start:"Натисніть, щоб накреслити фігуру.",cont:"Натисніть, щоб продовжити креслення фігури.",end:"Натисніть на першу точку, щоб замкнути цю фігуру."}},polyline:{error:"<strong>Помилка:</strong> сторони фігури не мають перетинатись!",tooltip:{start:"Натисніть, щоб накреслити лінію.",cont:"Натисніть, щоб продовжити креслення лінії.",end:"Натисніть на останню точку, щоб завершити лінію."}},rectangle:{tooltip:{start:"Натисніть і перетягуйте вказівник, щоб накреслити прямокутник."}},simpleshape:{tooltip:{end:"Відпустіть мишку, щоб завершити рисування."}}}},edit:{toolbar:{actions:{save:{title:"Зберегти зміни.",text:"Зберегти"},cancel:{title:"Припинити редагування, скасувати всі зміни.",text:"Скасувати"},clearAll:{title:"Очистити всі шари.",text:"Очистити все"}},buttons:{edit:"Редагувати шари.",editDisabled:"Немає шарів для редагування.",remove:"Видалити шари.",removeDisabled:"Немає шарів для видалення."}},handlers:{edit:{tooltip:{text:"Перетягуйте важелі або маркер для редагування фігури.",subtext:"Натисніть «Скасувати» для скасування змін."}},remove:{tooltip:{text:"Натисніть на фігуру для видалення"}}}}},Ip={draw:{toolbar:{actions:{title:"الغاء الرسم",text:"الغاء"},finish:{title:"انهاء الرسم",text:"انهاء"},undo:{title:"مسح اخر رسمة",text:"مسح اخر نقطة"},buttons:{polyline:"رسم خط",polygon:"رسم منطقة",rectangle:"رسم مستطيل",circle:"رسم دائرة",marker:"رسم علامة",circlemarker:"رسم علامة دائرة"}},handlers:{circle:{tooltip:{start:"اضغط واسحب لرسم دائرة"},radius:"القطر"},circlemarker:{tooltip:{start:"اضغط على الخريطة لرسم دائرة"}},marker:{tooltip:{start:"اضغط على الخريطة لرسم نقطة"}},polygon:{tooltip:{start:"اضغط لبدء رسم منطقة",cont:"اضغط لاستمرار رسم منطقة",end:"اضغط على اول نقطة لاكمال المنطقة"}},polyline:{error:"<strong>خطأ:</strong> لا يمكن تقاطع الخطوط",tooltip:{start:"اضغط لبدئ رسم الخط",cont:"اضغط لاستكمال رسم الخط",end:"اضغط على اخر نقطة للانهاء"}},rectangle:{tooltip:{start:"اضغط واسحب لرسم مستطيل"}},simpleshape:{tooltip:{end:"اترك الماوس للانهاء"}}}},edit:{toolbar:{actions:{save:{title:"حفظ التغييرات",text:"حفظ"},cancel:{title:"الغاء كل التعديلات",text:"الغاء"},clearAll:{title:"مسح كل الطبقات",text:"مسح الكل"}},buttons:{edit:"تعديل الطبقات",editDisabled:"لاتوجد طبقات للتعديل",remove:"مسح الطبقات",removeDisabled:"لا يوجد طبقات للمسح"}},handlers:{edit:{tooltip:{text:"اسحب للتعديل",subtext:"اضغط الغاء لمسح التعديلات"}},remove:{tooltip:{text:"اضغط على رسمة للمسح"}}}}},Sp={draw:{toolbar:{actions:{title:"取消绘制",text:"取消"},finish:{title:"结束绘制",text:"结束"},undo:{title:"删除最后一个绘制点",text:"删除最后一个点"},buttons:{polyline:"绘制折线",polygon:"绘制多边形",rectangle:"绘制矩形",circle:"绘制圆形",marker:"绘制标志物",circlemarker:"绘制圆形标志物"}},handlers:{circle:{tooltip:{start:"单击并拖拽绘制圆形"},radius:"半径"},circlemarker:{tooltip:{start:"单击地图放置圆形标志物"}},marker:{tooltip:{start:"单击地图放置标志物"}},polygon:{tooltip:{start:"单击地图绘制图形",cont:"继续单击绘制图形",end:"单击起始点结束绘制"}},polyline:{error:"<strong>错误:</strong> 图形边缘不能交叉!",tooltip:{start:"单击地图绘制折线",cont:"继续单击绘制下一段折线",end:"单击最后一个点结束绘制"}},rectangle:{tooltip:{start:"单击并拖拽绘制矩形"}},simpleshape:{tooltip:{end:"松开鼠标结束绘制"}}}},edit:{toolbar:{actions:{save:{title:"保存变更",text:"保存"},cancel:{title:"取消编辑,放弃所有变更",text:"取消"},clearAll:{title:"清除所有图形",text:"清除所有"}},buttons:{edit:"编辑图形",editDisabled:"无图形可编辑",remove:"删除图形",removeDisabled:"无图形可删除"}},handlers:{edit:{tooltip:{text:"拖拽线段或标志点以编辑图形",subtext:"点击<strong>取消</strong>按钮撤销变更"}},remove:{tooltip:{text:"单击图形以移除"}}}}},Rp={draw:{toolbar:{actions:{title:"Çizimi iptal et",text:"İptal"},finish:{title:"Çizimi Bitir",text:"Bitir"},undo:{title:"Çizilen son noktayı sil",text:"Son noktayı sil"},buttons:{polyline:"Çoklu çizgi çiz",polygon:"Çokgen çiz",rectangle:"Dikdörtgen çiz",circle:"Yuvarlak çiz",marker:"İşaretçi çiz",circlemarker:"Yuvarlak işaretçi çiz"}},handlers:{circle:{tooltip:{start:"Yuvarlak çizmek için tıklayın ve sürükleyin."},radius:"Çap"},circlemarker:{tooltip:{start:"Yuvarlak işaretçi yerleştirmek için haritaya tıklayın."}},marker:{tooltip:{start:"İşaretçi yerleştirmek için haritaya tıklayın."}},polygon:{tooltip:{start:"Şekil çizmeye başlamak için tıklayın.",cont:"Şekil çizmeye devam etmek için tıklayın.",end:"Bu şekli tamamlamak için ilk noktayı tıklayın."}},polyline:{error:"<strong>Hata:</strong> şekil kenarları kesişemez!",tooltip:{start:"Hat çizmeye başlamak için tıklayın.",cont:"Hat çizmeye devam etmek için tıklayın.",end:"Bu hattı tamamlamak için ilk noktayı tıklayın."}},rectangle:{tooltip:{start:"Dikdörtgen çizmek için tıklayın ve sürükleyin."}},simpleshape:{tooltip:{end:"Çizimi bitirmek için fareyi bırakın."}}}},edit:{toolbar:{actions:{save:{title:"Değişiklikleri kaydet.",text:"Kaydet"},cancel:{title:"Düzenlemeyi iptal et, tüm değişiklikleri çıkar.",text:"İptal"},clearAll:{title:"Tüm katmanları temizle.",text:"Hepsini temizle"}},buttons:{edit:"Katmanları düzenle.",editDisabled:"Düzenlenecek katman bulunamadı.",remove:"Katmanları sil.",removeDisabled:"Silinecek katman bulunamadı."}},handlers:{edit:{tooltip:{text:"Çizimi düzenlemek için köşeleri veya işaretçiyi sürükleyin.",subtext:"Değişiklikleri geri almak için iptale tıklayın."}},remove:{tooltip:{text:"Çizimi silmek için tıklayın"}}}}},kp={draw:{toolbar:{actions:{title:"Anulați desenul",text:"Anulare"},finish:{title:"Terminați desenul",text:"Termina"},undo:{title:"Șterge ultimul punct desenat",text:"Șterge ultimul punct"},buttons:{polyline:"Desenați o polilinie",polygon:"Desenați un poligon",rectangle:"Desenați un dreptunghi",circle:"Desenează un cerc",marker:"Desenați un marker",circlemarker:"Desenați un marcator de cerc"}},handlers:{circle:{tooltip:{start:"Dați clic și trageți pentru a desena cerc."},radius:"Rază"},circlemarker:{tooltip:{start:"Dați clic pe hartă pentru a plasa marcatorul cercului."}},marker:{tooltip:{start:"Dați clic pe hartă pentru a plasa marcatorul."}},polygon:{tooltip:{start:"Dați clic pentru a începe desenarea parcelei",cont:"Dați clic pentru a continua desenarea parcelei",end:"Dați clic pe primul punct pentru a închide această parcelei."}},polyline:{error:"<strong>Eroare:</strong> marginile formei nu se pot traversa!",tooltip:{start:"Daţi clic pentru a începe să desenezi o linie.",cont:"Daţi clic pentru a continua să desenezi linia.",end:"Dați clic pe ultimul punct pentru a ajunge la linia de sosire."}},rectangle:{tooltip:{start:"Dați clic și trageți pentru a desena dreptunghi."}},simpleshape:{tooltip:{end:"Eliberați mouse-ul pentru a termina desenul."}}}},edit:{toolbar:{actions:{save:{title:"Salvează modificările.",text:"Salvați"},cancel:{title:"Anulează editarea, anulează toate modificările.",text:"Anulare"},clearAll:{title:"Ștergeți toate straturile.",text:"Curata tot"}},buttons:{edit:"Editați straturi.",editDisabled:"Fără straturi de editat.",remove:"Ștergeți straturile.",removeDisabled:"Nu există straturi de șters."}},handlers:{edit:{tooltip:{text:"Trageți mânerele sau marcatorul pentru a edita caracteristica.",subtext:"Dați clic pe Anulare pentru a anula modificările."}},remove:{tooltip:{text:"Dați clic pe o caracteristică pentru a o elimina"}}}}},Op=function(r){var t=dc;switch(r.toLocaleLowerCase()){case"de":case"de-at":case"de-be":case"de-ch":case"de-de":case"de-li":case"de-lu":case"de-de.utf-8":case"german":t=_p;break;case"en":case"en-us":case"en-ca":case"en-gb":case"en-us.utf-8":case"english":t=dc;break;case"ar":case"ar-ae":case"ar-eg":case"arabic":t=Ip;break;case"fi":case"fi-fi":case"fi-fi.utf-8":case"finnish":t=vp;break;case"fr":case"fr-us":case"fr-ca":case"fr-us.utf-8":case"french":t=xp;break;case"es":case"es-us":case"es-ca":case"es-us.utf-8":case"spanish":t=yp;break;case"sk":case"sk-sk":case"sk-sk.utf-8":case"slovak":t=Pp;break;case"pl":case"pl-pl":case"pl-pl.utf-8":case"polish":t=bp;break;case"pt":case"pt-pt":case"pt-pt.utf-8":case"portuguese":t=Tp;break;case"uk":case"uk-ua":case"uk-ua.utf-8":case"ukrainian":t=Dp;break;case"cs":case"cs-cz":case"cs-cz.utf-8":case"czech":t=mp;break;case"ru":case"ru-ru":case"ru-ru.utf-8":case"russian":t=Mp;break;case"ka":case"ka-ka":case"ka-ka.utf-8":case"georgian":t=Ep;break;case"no":case"no-no":case"no-no.utf-8":case"norwegian":t=Lp;break;case"am":case"am-et":case"am-et.utf-8":case"amharic":t=pp;break;case"nl":case"nl-nl":case"nl-nl.utf-8":case"nl-be":case"nl-be.utf-8":case"dutch":case"belgian":case"flemish":t=Cp;break;case"it":case"it-it":case"it-ch":case"it-it.utf-8":case"it-ch.utf-8":case"italiano":case"italian":t=wp;break;case"hu":case"hu-HU":case"hu-hu":case"hu-HU.utf-8":case"hu-hu.utf-8":case"magyar":case"hungarian":t=Ap;break;case"zh":case"zh-cn":case"zh-cn.utf-8":case"chinese":t=Sp;break;case"tr":case"tr-tr":case"tr-tr.utf-8":case"turkish":t=Rp;break;case"ro":case"ro-ro":case"ro-RO":case"ro-ro.utf-8":case"romanian":t=kp;break;default:throw new Error("[language] not found")}try{L&&L.drawLocal&&(L.drawLocal=t)}catch{}return t};function fc(r,t){return function(){return r.apply(t,arguments)}}const{toString:Fp}=Object.prototype,{getPrototypeOf:Ta}=Object,Ms=(r=>t=>{const e=Fp.call(t);return r[e]||(r[e]=e.slice(8,-1).toLowerCase())})(Object.create(null)),je=r=>(r=r.toLowerCase(),t=>Ms(t)===r),Ps=r=>t=>typeof t===r,{isArray:Dn}=Array,Ar=Ps("undefined");function zp(r){return r!==null&&!Ar(r)&&r.constructor!==null&&!Ar(r.constructor)&&Le(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const gc=je("ArrayBuffer");function Bp(r){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(r):t=r&&r.buffer&&gc(r.buffer),t}const Np=Ps("string"),Le=Ps("function"),pc=Ps("number"),Ds=r=>r!==null&&typeof r=="object",Gp=r=>r===!0||r===!1,Is=r=>{if(Ms(r)!=="object")return!1;const t=Ta(r);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)},Up=je("Date"),jp=je("File"),Hp=je("Blob"),Wp=je("FileList"),Yp=r=>Ds(r)&&Le(r.pipe),Zp=r=>{let t;return r&&(typeof FormData=="function"&&r instanceof FormData||Le(r.append)&&((t=Ms(r))==="formdata"||t==="object"&&Le(r.toString)&&r.toString()==="[object FormData]"))},Xp=je("URLSearchParams"),Vp=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function wr(r,t,{allOwnKeys:e=!1}={}){if(r===null||typeof r>"u")return;let i,n;if(typeof r!="object"&&(r=[r]),Dn(r))for(i=0,n=r.length;i<n;i++)t.call(null,r[i],i,r);else{const s=e?Object.getOwnPropertyNames(r):Object.keys(r),a=s.length;let h;for(i=0;i<a;i++)h=s[i],t.call(null,r[h],h,r)}}function mc(r,t){t=t.toLowerCase();const e=Object.keys(r);let i=e.length,n;for(;i-- >0;)if(n=e[i],t===n.toLowerCase())return n;return null}const _c=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),yc=r=>!Ar(r)&&r!==_c;function Ma(){const{caseless:r}=yc(this)&&this||{},t={},e=(i,n)=>{const s=r&&mc(t,n)||n;Is(t[s])&&Is(i)?t[s]=Ma(t[s],i):Is(i)?t[s]=Ma({},i):Dn(i)?t[s]=i.slice():t[s]=i};for(let i=0,n=arguments.length;i<n;i++)arguments[i]&&wr(arguments[i],e);return t}const Kp=(r,t,e,{allOwnKeys:i}={})=>(wr(t,(n,s)=>{e&&Le(n)?r[s]=fc(n,e):r[s]=n},{allOwnKeys:i}),r),Qp=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),qp=(r,t,e,i)=>{r.prototype=Object.create(t.prototype,i),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:t.prototype}),e&&Object.assign(r.prototype,e)},Jp=(r,t,e,i)=>{let n,s,a;const h={};if(t=t||{},r==null)return t;do{for(n=Object.getOwnPropertyNames(r),s=n.length;s-- >0;)a=n[s],(!i||i(a,r,t))&&!h[a]&&(t[a]=r[a],h[a]=!0);r=e!==!1&&Ta(r)}while(r&&(!e||e(r,t))&&r!==Object.prototype);return t},$p=(r,t,e)=>{r=String(r),(e===void 0||e>r.length)&&(e=r.length),e-=t.length;const i=r.indexOf(t,e);return i!==-1&&i===e},tm=r=>{if(!r)return null;if(Dn(r))return r;let t=r.length;if(!pc(t))return null;const e=new Array(t);for(;t-- >0;)e[t]=r[t];return e},em=(r=>t=>r&&t instanceof r)(typeof Uint8Array<"u"&&Ta(Uint8Array)),im=(r,t)=>{const i=(r&&r[Symbol.iterator]).call(r);let n;for(;(n=i.next())&&!n.done;){const s=n.value;t.call(r,s[0],s[1])}},nm=(r,t)=>{let e;const i=[];for(;(e=r.exec(t))!==null;)i.push(e);return i},rm=je("HTMLFormElement"),sm=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,i,n){return i.toUpperCase()+n}),vc=(({hasOwnProperty:r})=>(t,e)=>r.call(t,e))(Object.prototype),om=je("RegExp"),xc=(r,t)=>{const e=Object.getOwnPropertyDescriptors(r),i={};wr(e,(n,s)=>{t(n,s,r)!==!1&&(i[s]=n)}),Object.defineProperties(r,i)},am=r=>{xc(r,(t,e)=>{if(Le(r)&&["arguments","caller","callee"].indexOf(e)!==-1)return!1;const i=r[e];if(Le(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+e+"'")})}})},lm=(r,t)=>{const e={},i=n=>{n.forEach(s=>{e[s]=!0})};return Dn(r)?i(r):i(String(r).split(t)),e},hm=()=>{},cm=(r,t)=>(r=+r,Number.isFinite(r)?r:t),Pa="abcdefghijklmnopqrstuvwxyz",Ac="0123456789",wc={DIGIT:Ac,ALPHA:Pa,ALPHA_DIGIT:Pa+Pa.toUpperCase()+Ac},um=(r=16,t=wc.ALPHA_DIGIT)=>{let e="";const{length:i}=t;for(;r--;)e+=t[Math.random()*i|0];return e};function dm(r){return!!(r&&Le(r.append)&&r[Symbol.toStringTag]==="FormData"&&r[Symbol.iterator])}const fm=r=>{const t=new Array(10),e=(i,n)=>{if(Ds(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[n]=i;const s=Dn(i)?[]:{};return wr(i,(a,h)=>{const c=e(a,n+1);!Ar(c)&&(s[h]=c)}),t[n]=void 0,s}}return i};return e(r,0)},gm=je("AsyncFunction"),k={isArray:Dn,isArrayBuffer:gc,isBuffer:zp,isFormData:Zp,isArrayBufferView:Bp,isString:Np,isNumber:pc,isBoolean:Gp,isObject:Ds,isPlainObject:Is,isUndefined:Ar,isDate:Up,isFile:jp,isBlob:Hp,isRegExp:om,isFunction:Le,isStream:Yp,isURLSearchParams:Xp,isTypedArray:em,isFileList:Wp,forEach:wr,merge:Ma,extend:Kp,trim:Vp,stripBOM:Qp,inherits:qp,toFlatObject:Jp,kindOf:Ms,kindOfTest:je,endsWith:$p,toArray:tm,forEachEntry:im,matchAll:nm,isHTMLForm:rm,hasOwnProperty:vc,hasOwnProp:vc,reduceDescriptors:xc,freezeMethods:am,toObjectSet:lm,toCamelCase:sm,noop:hm,toFiniteNumber:cm,findKey:mc,global:_c,isContextDefined:yc,ALPHABET:wc,generateString:um,isSpecCompliantForm:dm,toJSONObject:fm,isAsyncFn:gm,isThenable:r=>r&&(Ds(r)||Le(r))&&Le(r.then)&&Le(r.catch)};function At(r,t,e,i,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",t&&(this.code=t),e&&(this.config=e),i&&(this.request=i),n&&(this.response=n)}k.inherits(At,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:k.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ec=At.prototype,Cc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{Cc[r]={value:r}}),Object.defineProperties(At,Cc),Object.defineProperty(Ec,"isAxiosError",{value:!0}),At.from=(r,t,e,i,n,s)=>{const a=Object.create(Ec);return k.toFlatObject(r,a,function(c){return c!==Error.prototype},h=>h!=="isAxiosError"),At.call(a,r.message,t,e,i,n),a.cause=r,a.name=r.name,s&&Object.assign(a,s),a};const pm=null;function Da(r){return k.isPlainObject(r)||k.isArray(r)}function Lc(r){return k.endsWith(r,"[]")?r.slice(0,-2):r}function bc(r,t,e){return r?r.concat(t).map(function(n,s){return n=Lc(n),!e&&s?"["+n+"]":n}).join(e?".":""):t}function mm(r){return k.isArray(r)&&!r.some(Da)}const _m=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function Ss(r,t,e){if(!k.isObject(r))throw new TypeError("target must be an object");t=t||new FormData,e=k.toFlatObject(e,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,b){return!k.isUndefined(b[A])});const i=e.metaTokens,n=e.visitor||f,s=e.dots,a=e.indexes,c=(e.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(n))throw new TypeError("visitor must be a function");function d(v){if(v===null)return"";if(k.isDate(v))return v.toISOString();if(!c&&k.isBlob(v))throw new At("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(v)||k.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,A,b){let M=v;if(v&&!b&&typeof v=="object"){if(k.endsWith(A,"{}"))A=i?A:A.slice(0,-2),v=JSON.stringify(v);else if(k.isArray(v)&&mm(v)||(k.isFileList(v)||k.endsWith(A,"[]"))&&(M=k.toArray(v)))return A=Lc(A),M.forEach(function(E,C){!(k.isUndefined(E)||E===null)&&t.append(a===!0?bc([A],C,s):a===null?A:A+"[]",d(E))}),!1}return Da(v)?!0:(t.append(bc(b,A,s),d(v)),!1)}const p=[],m=Object.assign(_m,{defaultVisitor:f,convertValue:d,isVisitable:Da});function y(v,A){if(!k.isUndefined(v)){if(p.indexOf(v)!==-1)throw Error("Circular reference detected in "+A.join("."));p.push(v),k.forEach(v,function(M,w){(!(k.isUndefined(M)||M===null)&&n.call(t,M,k.isString(w)?w.trim():w,A,m))===!0&&y(M,A?A.concat(w):[w])}),p.pop()}}if(!k.isObject(r))throw new TypeError("data must be an object");return y(r),t}function Tc(r){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function Ia(r,t){this._pairs=[],r&&Ss(r,this,t)}const Mc=Ia.prototype;Mc.append=function(t,e){this._pairs.push([t,e])},Mc.toString=function(t){const e=t?function(i){return t.call(this,i,Tc)}:Tc;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function ym(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Pc(r,t,e){if(!t)return r;const i=e&&e.encode||ym,n=e&&e.serialize;let s;if(n?s=n(t,e):s=k.isURLSearchParams(t)?t.toString():new Ia(t,e).toString(i),s){const a=r.indexOf("#");a!==-1&&(r=r.slice(0,a)),r+=(r.indexOf("?")===-1?"?":"&")+s}return r}class vm{constructor(){this.handlers=[]}use(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){k.forEach(this.handlers,function(i){i!==null&&t(i)})}}const Dc=vm,Ic={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xm=typeof URLSearchParams<"u"?URLSearchParams:Ia,Am=typeof FormData<"u"?FormData:null,wm=typeof Blob<"u"?Blob:null,Em=(()=>{let r;return typeof navigator<"u"&&((r=navigator.product)==="ReactNative"||r==="NativeScript"||r==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Cm=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),He={isBrowser:!0,classes:{URLSearchParams:xm,FormData:Am,Blob:wm},isStandardBrowserEnv:Em,isStandardBrowserWebWorkerEnv:Cm,protocols:["http","https","file","blob","url","data"]};function Lm(r,t){return Ss(r,new He.classes.URLSearchParams,Object.assign({visitor:function(e,i,n,s){return He.isNode&&k.isBuffer(e)?(this.append(i,e.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function bm(r){return k.matchAll(/\w+|\[(\w*)]/g,r).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Tm(r){const t={},e=Object.keys(r);let i;const n=e.length;let s;for(i=0;i<n;i++)s=e[i],t[s]=r[s];return t}function Sc(r){function t(e,i,n,s){let a=e[s++];const h=Number.isFinite(+a),c=s>=e.length;return a=!a&&k.isArray(n)?n.length:a,c?(k.hasOwnProp(n,a)?n[a]=[n[a],i]:n[a]=i,!h):((!n[a]||!k.isObject(n[a]))&&(n[a]=[]),t(e,i,n[a],s)&&k.isArray(n[a])&&(n[a]=Tm(n[a])),!h)}if(k.isFormData(r)&&k.isFunction(r.entries)){const e={};return k.forEachEntry(r,(i,n)=>{t(bm(i),n,e,0)}),e}return null}const Mm={"Content-Type":void 0};function Pm(r,t,e){if(k.isString(r))try{return(t||JSON.parse)(r),k.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(e||JSON.stringify)(r)}const Rs={transitional:Ic,adapter:["xhr","http"],transformRequest:[function(t,e){const i=e.getContentType()||"",n=i.indexOf("application/json")>-1,s=k.isObject(t);if(s&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return n&&n?JSON.stringify(Sc(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let h;if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Lm(t,this.formSerializer).toString();if((h=k.isFileList(t))||i.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ss(h?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||n?(e.setContentType("application/json",!1),Pm(t)):t}],transformResponse:[function(t){const e=this.transitional||Rs.transitional,i=e&&e.forcedJSONParsing,n=this.responseType==="json";if(t&&k.isString(t)&&(i&&!this.responseType||n)){const a=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(h){if(a)throw h.name==="SyntaxError"?At.from(h,At.ERR_BAD_RESPONSE,this,null,this.response):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:He.classes.FormData,Blob:He.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};k.forEach(["delete","get","head"],function(t){Rs.headers[t]={}}),k.forEach(["post","put","patch"],function(t){Rs.headers[t]=k.merge(Mm)});const Sa=Rs,Dm=k.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Im=r=>{const t={};let e,i,n;return r&&r.split(`
14
- `).forEach(function(a){n=a.indexOf(":"),e=a.substring(0,n).trim().toLowerCase(),i=a.substring(n+1).trim(),!(!e||t[e]&&Dm[e])&&(e==="set-cookie"?t[e]?t[e].push(i):t[e]=[i]:t[e]=t[e]?t[e]+", "+i:i)}),t},Rc=Symbol("internals");function Er(r){return r&&String(r).trim().toLowerCase()}function ks(r){return r===!1||r==null?r:k.isArray(r)?r.map(ks):String(r)}function Sm(r){const t=Object.create(null),e=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=e.exec(r);)t[i[1]]=i[2];return t}const Rm=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function Ra(r,t,e,i,n){if(k.isFunction(i))return i.call(this,t,e);if(n&&(t=e),!!k.isString(t)){if(k.isString(i))return t.indexOf(i)!==-1;if(k.isRegExp(i))return i.test(t)}}function km(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,i)=>e.toUpperCase()+i)}function Om(r,t){const e=k.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(r,i+e,{value:function(n,s,a){return this[i].call(this,t,n,s,a)},configurable:!0})})}class Os{constructor(t){t&&this.set(t)}set(t,e,i){const n=this;function s(h,c,d){const f=Er(c);if(!f)throw new Error("header name must be a non-empty string");const p=k.findKey(n,f);(!p||n[p]===void 0||d===!0||d===void 0&&n[p]!==!1)&&(n[p||c]=ks(h))}const a=(h,c)=>k.forEach(h,(d,f)=>s(d,f,c));return k.isPlainObject(t)||t instanceof this.constructor?a(t,e):k.isString(t)&&(t=t.trim())&&!Rm(t)?a(Im(t),e):t!=null&&s(e,t,i),this}get(t,e){if(t=Er(t),t){const i=k.findKey(this,t);if(i){const n=this[i];if(!e)return n;if(e===!0)return Sm(n);if(k.isFunction(e))return e.call(this,n,i);if(k.isRegExp(e))return e.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Er(t),t){const i=k.findKey(this,t);return!!(i&&this[i]!==void 0&&(!e||Ra(this,this[i],i,e)))}return!1}delete(t,e){const i=this;let n=!1;function s(a){if(a=Er(a),a){const h=k.findKey(i,a);h&&(!e||Ra(i,i[h],h,e))&&(delete i[h],n=!0)}}return k.isArray(t)?t.forEach(s):s(t),n}clear(t){const e=Object.keys(this);let i=e.length,n=!1;for(;i--;){const s=e[i];(!t||Ra(this,this[s],s,t,!0))&&(delete this[s],n=!0)}return n}normalize(t){const e=this,i={};return k.forEach(this,(n,s)=>{const a=k.findKey(i,s);if(a){e[a]=ks(n),delete e[s];return}const h=t?km(s):String(s).trim();h!==s&&delete e[s],e[h]=ks(n),i[h]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return k.forEach(this,(i,n)=>{i!=null&&i!==!1&&(e[n]=t&&k.isArray(i)?i.join(", "):i)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join(`
15
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const i=new this(t);return e.forEach(n=>i.set(n)),i}static accessor(t){const i=(this[Rc]=this[Rc]={accessors:{}}).accessors,n=this.prototype;function s(a){const h=Er(a);i[h]||(Om(n,a),i[h]=!0)}return k.isArray(t)?t.forEach(s):s(t),this}}Os.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),k.freezeMethods(Os.prototype),k.freezeMethods(Os);const oi=Os;function ka(r,t){const e=this||Sa,i=t||e,n=oi.from(i.headers);let s=i.data;return k.forEach(r,function(h){s=h.call(e,s,n.normalize(),t?t.status:void 0)}),n.normalize(),s}function kc(r){return!!(r&&r.__CANCEL__)}function Cr(r,t,e){At.call(this,r??"canceled",At.ERR_CANCELED,t,e),this.name="CanceledError"}k.inherits(Cr,At,{__CANCEL__:!0});function Fm(r,t,e){const i=e.config.validateStatus;!e.status||!i||i(e.status)?r(e):t(new At("Request failed with status code "+e.status,[At.ERR_BAD_REQUEST,At.ERR_BAD_RESPONSE][Math.floor(e.status/100)-4],e.config,e.request,e))}const zm=He.isStandardBrowserEnv?function(){return{write:function(e,i,n,s,a,h){const c=[];c.push(e+"="+encodeURIComponent(i)),k.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),k.isString(s)&&c.push("path="+s),k.isString(a)&&c.push("domain="+a),h===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(e){const i=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Bm(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function Nm(r,t){return t?r.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):r}function Oc(r,t){return r&&!Bm(t)?Nm(r,t):t}const Gm=He.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let i;function n(s){let a=s;return t&&(e.setAttribute("href",a),a=e.href),e.setAttribute("href",a),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:e.pathname.charAt(0)==="/"?e.pathname:"/"+e.pathname}}return i=n(window.location.href),function(a){const h=k.isString(a)?n(a):a;return h.protocol===i.protocol&&h.host===i.host}}():function(){return function(){return!0}}();function Um(r){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return t&&t[1]||""}function jm(r,t){r=r||10;const e=new Array(r),i=new Array(r);let n=0,s=0,a;return t=t!==void 0?t:1e3,function(c){const d=Date.now(),f=i[s];a||(a=d),e[n]=c,i[n]=d;let p=s,m=0;for(;p!==n;)m+=e[p++],p=p%r;if(n=(n+1)%r,n===s&&(s=(s+1)%r),d-a<t)return;const y=f&&d-f;return y?Math.round(m*1e3/y):void 0}}function Fc(r,t){let e=0;const i=jm(50,250);return n=>{const s=n.loaded,a=n.lengthComputable?n.total:void 0,h=s-e,c=i(h),d=s<=a;e=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:h,rate:c||void 0,estimated:c&&a&&d?(a-s)/c:void 0,event:n};f[t?"download":"upload"]=!0,r(f)}}const Fs={http:pm,xhr:typeof XMLHttpRequest<"u"&&function(r){return new Promise(function(e,i){let n=r.data;const s=oi.from(r.headers).normalize(),a=r.responseType;let h;function c(){r.cancelToken&&r.cancelToken.unsubscribe(h),r.signal&&r.signal.removeEventListener("abort",h)}k.isFormData(n)&&(He.isStandardBrowserEnv||He.isStandardBrowserWebWorkerEnv?s.setContentType(!1):s.setContentType("multipart/form-data;",!1));let d=new XMLHttpRequest;if(r.auth){const y=r.auth.username||"",v=r.auth.password?unescape(encodeURIComponent(r.auth.password)):"";s.set("Authorization","Basic "+btoa(y+":"+v))}const f=Oc(r.baseURL,r.url);d.open(r.method.toUpperCase(),Pc(f,r.params,r.paramsSerializer),!0),d.timeout=r.timeout;function p(){if(!d)return;const y=oi.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),A={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:y,config:r,request:d};Fm(function(M){e(M),c()},function(M){i(M),c()},A),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(i(new At("Request aborted",At.ECONNABORTED,r,d)),d=null)},d.onerror=function(){i(new At("Network Error",At.ERR_NETWORK,r,d)),d=null},d.ontimeout=function(){let v=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const A=r.transitional||Ic;r.timeoutErrorMessage&&(v=r.timeoutErrorMessage),i(new At(v,A.clarifyTimeoutError?At.ETIMEDOUT:At.ECONNABORTED,r,d)),d=null},He.isStandardBrowserEnv){const y=(r.withCredentials||Gm(f))&&r.xsrfCookieName&&zm.read(r.xsrfCookieName);y&&s.set(r.xsrfHeaderName,y)}n===void 0&&s.setContentType(null),"setRequestHeader"in d&&k.forEach(s.toJSON(),function(v,A){d.setRequestHeader(A,v)}),k.isUndefined(r.withCredentials)||(d.withCredentials=!!r.withCredentials),a&&a!=="json"&&(d.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&d.addEventListener("progress",Fc(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Fc(r.onUploadProgress)),(r.cancelToken||r.signal)&&(h=y=>{d&&(i(!y||y.type?new Cr(null,r,d):y),d.abort(),d=null)},r.cancelToken&&r.cancelToken.subscribe(h),r.signal&&(r.signal.aborted?h():r.signal.addEventListener("abort",h)));const m=Um(f);if(m&&He.protocols.indexOf(m)===-1){i(new At("Unsupported protocol "+m+":",At.ERR_BAD_REQUEST,r));return}d.send(n||null)})}};k.forEach(Fs,(r,t)=>{if(r){try{Object.defineProperty(r,"name",{value:t})}catch{}Object.defineProperty(r,"adapterName",{value:t})}});const Hm={getAdapter:r=>{r=k.isArray(r)?r:[r];const{length:t}=r;let e,i;for(let n=0;n<t&&(e=r[n],!(i=k.isString(e)?Fs[e.toLowerCase()]:e));n++);if(!i)throw i===!1?new At(`Adapter ${e} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(k.hasOwnProp(Fs,e)?`Adapter '${e}' is not available in the build`:`Unknown adapter '${e}'`);if(!k.isFunction(i))throw new TypeError("adapter is not a function");return i},adapters:Fs};function Oa(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new Cr(null,r)}function zc(r){return Oa(r),r.headers=oi.from(r.headers),r.data=ka.call(r,r.transformRequest),["post","put","patch"].indexOf(r.method)!==-1&&r.headers.setContentType("application/x-www-form-urlencoded",!1),Hm.getAdapter(r.adapter||Sa.adapter)(r).then(function(i){return Oa(r),i.data=ka.call(r,r.transformResponse,i),i.headers=oi.from(i.headers),i},function(i){return kc(i)||(Oa(r),i&&i.response&&(i.response.data=ka.call(r,r.transformResponse,i.response),i.response.headers=oi.from(i.response.headers))),Promise.reject(i)})}const Bc=r=>r instanceof oi?r.toJSON():r;function In(r,t){t=t||{};const e={};function i(d,f,p){return k.isPlainObject(d)&&k.isPlainObject(f)?k.merge.call({caseless:p},d,f):k.isPlainObject(f)?k.merge({},f):k.isArray(f)?f.slice():f}function n(d,f,p){if(k.isUndefined(f)){if(!k.isUndefined(d))return i(void 0,d,p)}else return i(d,f,p)}function s(d,f){if(!k.isUndefined(f))return i(void 0,f)}function a(d,f){if(k.isUndefined(f)){if(!k.isUndefined(d))return i(void 0,d)}else return i(void 0,f)}function h(d,f,p){if(p in t)return i(d,f);if(p in r)return i(void 0,d)}const c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:h,headers:(d,f)=>n(Bc(d),Bc(f),!0)};return k.forEach(Object.keys(Object.assign({},r,t)),function(f){const p=c[f]||n,m=p(r[f],t[f],f);k.isUndefined(m)&&p!==h||(e[f]=m)}),e}const Nc="1.4.0",Fa={};["object","boolean","number","function","string","symbol"].forEach((r,t)=>{Fa[r]=function(i){return typeof i===r||"a"+(t<1?"n ":" ")+r}});const Gc={};Fa.transitional=function(t,e,i){function n(s,a){return"[Axios v"+Nc+"] Transitional option '"+s+"'"+a+(i?". "+i:"")}return(s,a,h)=>{if(t===!1)throw new At(n(a," has been removed"+(e?" in "+e:"")),At.ERR_DEPRECATED);return e&&!Gc[a]&&(Gc[a]=!0,console.warn(n(a," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(s,a,h):!0}};function Wm(r,t,e){if(typeof r!="object")throw new At("options must be an object",At.ERR_BAD_OPTION_VALUE);const i=Object.keys(r);let n=i.length;for(;n-- >0;){const s=i[n],a=t[s];if(a){const h=r[s],c=h===void 0||a(h,s,r);if(c!==!0)throw new At("option "+s+" must be "+c,At.ERR_BAD_OPTION_VALUE);continue}if(e!==!0)throw new At("Unknown option "+s,At.ERR_BAD_OPTION)}}const za={assertOptions:Wm,validators:Fa},Mi=za.validators;class zs{constructor(t){this.defaults=t,this.interceptors={request:new Dc,response:new Dc}}request(t,e){typeof t=="string"?(e=e||{},e.url=t):e=t||{},e=In(this.defaults,e);const{transitional:i,paramsSerializer:n,headers:s}=e;i!==void 0&&za.assertOptions(i,{silentJSONParsing:Mi.transitional(Mi.boolean),forcedJSONParsing:Mi.transitional(Mi.boolean),clarifyTimeoutError:Mi.transitional(Mi.boolean)},!1),n!=null&&(k.isFunction(n)?e.paramsSerializer={serialize:n}:za.assertOptions(n,{encode:Mi.function,serialize:Mi.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a;a=s&&k.merge(s.common,s[e.method]),a&&k.forEach(["delete","get","head","post","put","patch","common"],v=>{delete s[v]}),e.headers=oi.concat(a,s);const h=[];let c=!0;this.interceptors.request.forEach(function(A){typeof A.runWhen=="function"&&A.runWhen(e)===!1||(c=c&&A.synchronous,h.unshift(A.fulfilled,A.rejected))});const d=[];this.interceptors.response.forEach(function(A){d.push(A.fulfilled,A.rejected)});let f,p=0,m;if(!c){const v=[zc.bind(this),void 0];for(v.unshift.apply(v,h),v.push.apply(v,d),m=v.length,f=Promise.resolve(e);p<m;)f=f.then(v[p++],v[p++]);return f}m=h.length;let y=e;for(p=0;p<m;){const v=h[p++],A=h[p++];try{y=v(y)}catch(b){A.call(this,b);break}}try{f=zc.call(this,y)}catch(v){return Promise.reject(v)}for(p=0,m=d.length;p<m;)f=f.then(d[p++],d[p++]);return f}getUri(t){t=In(this.defaults,t);const e=Oc(t.baseURL,t.url);return Pc(e,t.params,t.paramsSerializer)}}k.forEach(["delete","get","head","options"],function(t){zs.prototype[t]=function(e,i){return this.request(In(i||{},{method:t,url:e,data:(i||{}).data}))}}),k.forEach(["post","put","patch"],function(t){function e(i){return function(s,a,h){return this.request(In(h||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}zs.prototype[t]=e(),zs.prototype[t+"Form"]=e(!0)});const Bs=zs;class Ba{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(s){e=s});const i=this;this.promise.then(n=>{if(!i._listeners)return;let s=i._listeners.length;for(;s-- >0;)i._listeners[s](n);i._listeners=null}),this.promise.then=n=>{let s;const a=new Promise(h=>{i.subscribe(h),s=h}).then(n);return a.cancel=function(){i.unsubscribe(s)},a},t(function(s,a,h){i.reason||(i.reason=new Cr(s,a,h),e(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);e!==-1&&this._listeners.splice(e,1)}static source(){let t;return{token:new Ba(function(n){t=n}),cancel:t}}}const Ym=Ba;function Zm(r){return function(e){return r.apply(null,e)}}function Xm(r){return k.isObject(r)&&r.isAxiosError===!0}const Na={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Na).forEach(([r,t])=>{Na[t]=r});const Vm=Na;function Uc(r){const t=new Bs(r),e=fc(Bs.prototype.request,t);return k.extend(e,Bs.prototype,t,{allOwnKeys:!0}),k.extend(e,t,null,{allOwnKeys:!0}),e.create=function(n){return Uc(In(r,n))},e}const jt=Uc(Sa);jt.Axios=Bs,jt.CanceledError=Cr,jt.CancelToken=Ym,jt.isCancel=kc,jt.VERSION=Nc,jt.toFormData=Ss,jt.AxiosError=At,jt.Cancel=jt.CanceledError,jt.all=function(t){return Promise.all(t)},jt.spread=Zm,jt.isAxiosError=Xm,jt.mergeConfig=In,jt.AxiosHeaders=oi,jt.formToJSON=r=>Sc(k.isHTMLForm(r)?new FormData(r):r),jt.HttpStatusCode=Vm,jt.default=jt;const jc=jt,Ns="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBVcGxvYWRlZCB0bzogU1ZHIFJlcG8sIHd3dy5zdmdyZXBvLmNvbSwgR2VuZXJhdG9yOiBTVkcgUmVwbyBNaXhlciBUb29scyAtLT4NCjxzdmcgZmlsbD0iIzAwMDAwMCIgaGVpZ2h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ggMTgsNCAxOCwxNy41ODYgIi8+DQo8cG9seWdvbiBzdHlsZT0iZmlsbDojM0Q5OTRGOyIgcG9pbnRzPSIxOCwyMy4yNDMgMTgsMzQuNjMyIDIzLjY5NSwyOC45MzggIi8+DQo8cG9seWdvbiBzdHlsZT0iZmlsbDojNDM5M0JGOyIgcG9pbnRzPSIxOCw0MC4yODkgMTgsNDcgMzUsNTAgMzUsMjMuMjg5ICIvPg0KPHBvbHlnb24gc3R5bGU9ImZpbGw6I0VGQ0U0QTsiIHBvaW50cz0iMTgsMTcuNTg2IDYuODg0LDYuNDcgMi4yNTYsNy40OTkgMTgsMjMuMjQzICIvPg0KPHBvbHlnb24gc3R5bGU9ImZpbGw6I0VGQ0U0QTsiIHBvaW50cz0iMTgsMzQuNjMyIDIuMDk5LDUwLjUzNCA5LjM3Miw0OC45MTcgMTgsNDAuMjg5ICIvPg0KPHBvbHlnb24gc3R5bGU9ImZpbGw6I0VGQ0U0QTsiIHBvaW50cz0iMzUsMjMuMjg5IDUzLDUuMjg5IDUzLDIgNDkuNDQ5LDMuMTg0IDM1LDE3LjYzMiAiLz4NCjxwb2x5Z29uIHN0eWxlPSJmaWxsOiNENkI0NDU7IiBwb2ludHM9IjI2LjUyMywyNi4xMDkgMTgsMTcuNTg2IDE4LDIzLjI0MyAyMy42OTUsMjguOTM4IDE4LDM0LjYzMiAxOCw0MC4yODkgMzUsMjMuMjg5IDM1LDE3LjYzMiANCgkiLz4NCjwvc3ZnPg==";Q.Edit.Circle=Q.Edit.CircleMarker.extend({_createResizeMarker:function(){var r=this._shape.getLatLng(),t=this._getResizeMarkerPoint(r);this._resizeMarkers=[],this._resizeMarkers.push(this._createMarker(t,this.options.resizeIcon))},_getResizeMarkerPoint:function(r){var t=this._shape._radius*Math.cos(Math.PI/4),e=this._map.project(r);return this._map.unproject([e.x+t,e.y-t])},_resize:function(r){var t=this._moveMarker.getLatLng(),e;Q.GeometryUtil.isVersion07x(),e=t.distanceTo(r),this._shape.setRadius(e)}});const Km=X.defineComponent({props:{configurationMap:{type:Object,required:!1},coordinatesMap:{type:[Array,Function],required:!1},dataPolygon:{type:[Array,Object],required:!1},isSatelite:{type:Boolean,required:!1},getCoodMarker:{type:Function,required:!1},getGeoJSON:{type:Function,required:!1},loadPolygon:{type:Boolean,required:!1}},data(){return{idMap:"",mapRender:null,markerRender:null,renderCoordinates:Array.isArray(this.coordinatesMap)?this.coordinatesMap:[],renderGeojson:this.dataPolygon,markerIcon:{iconUrl:ws,iconSize:[25,41],iconAnchor:[12,41]},layersFeatureGroup:null,featuresData:null,currentTileLayer:null,isSatelliteView:!1}},mounted(){this.makeid(10),this.renderMap()},methods:{createSatelliteControl(){const r=Q.Control.extend({onAdd:t=>{const e=Q.DomUtil.create("div","leaflet-control-draw leaflet-bar leaflet-control"),i=Q.DomUtil.create("a","leaflet-draw-draw-satellite",e);return i.href="#",i.title=this.isSatelliteView?"Vista Normal":"Vista Satélite",i.style.backgroundImage=this.isSatelliteView?`url(${Ns})`:`url(${Gs})`,i.style.backgroundPosition="center",i.style.backgroundRepeat="no-repeat",i.style.backgroundSize="20px 20px",Q.DomEvent.disableClickPropagation(i),Q.DomEvent.on(i,"click",this.toggleSatelliteView,this),e}});return new r({position:"topleft"})},toggleSatelliteView(){if(!this.mapRender||!this.currentTileLayer)return;this.isSatelliteView=!this.isSatelliteView,this.mapRender.removeLayer(this.currentTileLayer),this.isSatelliteView?this.currentTileLayer=Q.tileLayer("https://api.maptiler.com/maps/satellite/{z}/{x}/{y}.jpg?key=t8mWT2ozs1JWBqMZOnZr",{attribution:'&copy; <a href="https://www.maptiler.com/">MapTiler</a> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}):this.currentTileLayer=Q.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}),this.currentTileLayer.addTo(this.mapRender),document.querySelectorAll(".leaflet-draw-draw-satellite").forEach(t=>{const e=t;e.style.backgroundImage=this.isSatelliteView?`url(${Ns})`:`url(${Gs})`,e.title=this.isSatelliteView?"Vista Normal":"Vista Satélite"})},getLayersFeaturesInGeoJson(){const r=Q.geoJSON().addTo(this.mapRender);return this.featuresData.eachLayer(e=>{r.addLayer(e)}),[r.toGeoJSON()]},triggerSaveEdit(){var t,e,i;(i=(e=(t=(document.getElementsByClassName("leaflet-draw-actions leaflet-draw-actions-top")||document.getElementsByClassName("leaflet-draw-actions leaflet-draw-actions-top leaflet-draw-actions-bottom"))[0])==null?void 0:t.querySelector("li"))==null?void 0:e.querySelector("a"))==null||i.click()},makeid(r){let t="";const e="abcdefghijklmnopqrstuvwxyz",i=e.length;let n=0;for(;n<r;)t+=e.charAt(Math.floor(Math.random()*i)),n+=1;this.idMap=t},renderMap(){Op("es"),setTimeout(()=>{this.loadPolygon?this.viewMap():this.createMap()},500)},createMap(){var a,h,c,d,f,p,m,y,v,A,b,M;const r=this.configurationMap?this.configurationMap.iconMarker?this.configurationMap.iconMarker:this.markerIcon:this.markerIcon;window.type=!0;const t=Q.map(this.idMap,{fullscreenControl:!0}).setView([this.renderCoordinates?this.renderCoordinates[0]:0,this.renderCoordinates?this.renderCoordinates[1]:0],this.renderCoordinates?this.renderCoordinates[2]:0);if(this.mapRender=t,this.isSatelliteView=this.isSatelite||!1,this.isSatelliteView?this.currentTileLayer=Q.tileLayer("https://api.maptiler.com/maps/satellite/{z}/{x}/{y}.jpg?key=t8mWT2ozs1JWBqMZOnZr",{attribution:'&copy; <a href="https://www.maptiler.com/">MapTiler</a> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}):this.currentTileLayer=Q.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}),this.currentTileLayer.addTo(t),this.isSatelite!==void 0){const w=this.createSatelliteControl();t.addControl(w)}if(t.setZoom((a=this.configurationMap)==null?void 0:a.maxZoom),(h=this.configurationMap)!=null&&h.renderMarker){const w=Q.marker([this.renderCoordinates?this.renderCoordinates[0]:0,this.renderCoordinates?this.renderCoordinates[1]:0],{icon:Q.icon(r),draggable:(c=this.configurationMap)==null?void 0:c.dragMarker}).addTo(t);this.markerRender=w,this.getCoodMarker&&w.on("dragend",E=>{const C=E.target.getLatLng(),P=C.lat,D=C.lng;this.getCoodMarker&&this.getCoodMarker(P,D)})}const e=Q.featureGroup();this.featuresData=e;const i=e.addTo(t);let n={featureGroup:i,edit:!1,remove:(d=this.configurationMap)==null?void 0:d.editFigures.remove};(f=this.configurationMap)!=null&&f.editFigures.edit&&(n={featureGroup:i,...(p=this.configurationMap)==null?void 0:p.editFigures.edit,remove:(m=this.configurationMap)==null?void 0:m.editFigures.remove});const s=new Q.Control.Draw({position:"topleft",draw:{polygon:(y=this.configurationMap)==null?void 0:y.createFigures.polygon,circle:!1,rectangle:(v=this.configurationMap)!=null&&v.createFigures.rectangle?{shapeOptions:{color:"blue"}}:!1,marker:(A=this.configurationMap)!=null&&A.createFigures.marker?{icon:Q.icon(r)}:!1,polyline:(b=this.configurationMap)!=null&&b.createFigures.polyline?{shapeOptions:{color:"blue"}}:!1,circlemarker:(M=this.configurationMap)==null?void 0:M.createFigures.multipoint},edit:n});t.addControl(s),t.on("draw:created",w=>{var P,D,O,R,z,j,U,V,tt,at,W,Y,H,B,nt;const E=w.layer;i.addLayer(E);let C=E.toGeoJSON();w.layerType==="circlemarker"&&(C={type:"Feature",geometry:{type:"MultiPoint",coordinates:[C.geometry.coordinates]},properties:{...C.properties,pointType:"multipoint",style:{color:((O=(D=(P=this.configurationMap)==null?void 0:P.createFigures)==null?void 0:D.multipoint)==null?void 0:O.color)||"green",fillColor:((j=(z=(R=this.configurationMap)==null?void 0:R.createFigures)==null?void 0:z.multipoint)==null?void 0:j.fillColor)||"green",fillOpacity:((tt=(V=(U=this.configurationMap)==null?void 0:U.createFigures)==null?void 0:V.multipoint)==null?void 0:tt.fillOpacity)||.8,radius:((Y=(W=(at=this.configurationMap)==null?void 0:at.createFigures)==null?void 0:W.multipoint)==null?void 0:Y.radius)||6,weight:((nt=(B=(H=this.configurationMap)==null?void 0:H.createFigures)==null?void 0:B.multipoint)==null?void 0:nt.weight)||2}}}),this.getGeoJSON&&this.getGeoJSON([C])}),t.on("draw:edited",w=>{w.layers.eachLayer(C=>{const P=C.toGeoJSON();this.getGeoJSON&&this.getGeoJSON([P])})})},viewMap(){var c,d,f,p,m,y,v,A,b,M;const r=this.configurationMap?this.configurationMap.iconMarker?this.configurationMap.iconMarker:this.markerIcon:this.markerIcon;window.type=!0;const t=Q.map(this.idMap,{fullscreenControl:!0}).setView([this.renderCoordinates?this.renderCoordinates[0]:0,this.renderCoordinates?this.renderCoordinates[1]:0],this.renderCoordinates?this.renderCoordinates[2]:0);if(this.mapRender=t,this.isSatelliteView=this.isSatelite||!1,this.isSatelliteView?this.currentTileLayer=Q.tileLayer("https://api.maptiler.com/maps/satellite/{z}/{x}/{y}.jpg?key=t8mWT2ozs1JWBqMZOnZr",{attribution:'&copy; <a href="https://www.maptiler.com/">MapTiler</a> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}):this.currentTileLayer=Q.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}),this.currentTileLayer.addTo(t),this.isSatelite!==void 0){const w=this.createSatelliteControl();t.addControl(w)}t.setZoom((c=this.configurationMap)==null?void 0:c.maxZoom);const e=Q.featureGroup();this.featuresData=e;const i=e.addTo(t);let n={featureGroup:i,edit:!1,remove:(d=this.configurationMap)==null?void 0:d.editFigures.remove};(f=this.configurationMap)!=null&&f.editFigures.edit&&(n={featureGroup:i,...(p=this.configurationMap)==null?void 0:p.editFigures.edit,remove:(m=this.configurationMap)==null?void 0:m.editFigures.remove});const s=this,a=this.renderGeojson;if(a&&a.length){const w=[],E=Q.layerGroup().addTo(t);a.forEach(D=>{const O=this;if(D.type==="FeatureCollection")D.features.forEach(R=>{if(R.geometry.type==="Polygon"||R.geometry.type==="MultiPolygon"||R.geometry.type==="LineString"||R.geometry.type==="MultiLineString"||R.geometry.type==="Point"){if(R.geometry.type==="Point"){const z=R.geometry.coordinates;w.push({lat:z[1],lng:z[0],properties:R.properties||{},feature:R})}else Q.geoJson(R,{pointToLayer:this.getPointToLayer.bind(this),onEachFeature:function(z,j){if(i.addLayer(j),z.geometry.type==="Polygon"||z.geometry.type==="MultiPolygon"){var U=O.getPolygonTooltipContent(z);j.bindPopup(U,{maxHeight:360,maxWidth:320,className:"limit-popup"})}}});if(R.geometry.type==="LineString"&&Array.isArray(R.geometry.coordinates)){const z=R.geometry.coordinates,j=R.properties&&Array.isArray(R.properties.coordProperties)?R.properties.coordProperties:[];if(Array.isArray(j)&&j.length)for(let U=0;U<z.length;U++){let V='<div style="display:flex;align-items:center;justify-content:center;width:14px;height:14px;">',tt="";if(U<z.length-1&&j[U]&&j[U+1]&&j[U].fecha&&j[U+1].fecha&&new Date(j[U+1].fecha)>new Date(j[U].fecha)){const W=q=>q*Math.PI/180,Y=q=>q*180/Math.PI,H=W(z[U][1]),B=W(z[U+1][1]),nt=W(z[U+1][0]-z[U][0]),Z=Math.sin(nt)*Math.cos(B),rt=Math.cos(H)*Math.sin(B)-Math.sin(H)*Math.cos(B)*Math.cos(nt);let F=Math.atan2(Z,rt);F=Y(F),tt=`<svg width="10" height="10" viewBox="0 0 22 22" style="display:block;transform:rotate(${(F+360)%360}deg);"><polygon points="11,3 15,17 11,14 7,17" fill="#fff" stroke="#fff" stroke-width="1.5"/></svg>`}V+=`<div style="background:#2196F3;border-radius:50%;border:1px solid #fff;box-shadow:0 0 2px #000;padding:1px;width:8px;height:8px;display:flex;align-items:center;justify-content:center;">${tt}</div>`,V+="</div>",Q.marker([z[U][1],z[U][0]],{icon:Q.divIcon({className:"",html:V,iconSize:[14,14],iconAnchor:[7,7]}),zIndexOffset:-100}).addTo(i)}}}});else if(D.type==="Feature"&&(D.geometry.type==="Polygon"||D.geometry.type==="MultiPolygon"||D.geometry.type==="LineString"||D.geometry.type==="MultiLineString"||D.geometry.type==="Point")){if(D.geometry.type==="Point"){const R=D.geometry.coordinates;w.push({lat:R[1],lng:R[0],properties:D.properties||{},feature:D})}else Q.geoJson(D,{pointToLayer:this.getPointToLayer.bind(this),onEachFeature:function(R,z){if(i.addLayer(z),R.geometry.type==="Polygon"||R.geometry.type==="MultiPolygon"){var j=O.getPolygonTooltipContent(R);z.bindPopup(j,{maxHeight:360,maxWidth:320,className:"limit-popup"})}}});if(D.geometry.type==="LineString"&&Array.isArray(D.geometry.coordinates)){const R=D.geometry.coordinates,z=D.properties&&Array.isArray(D.properties.coordProperties)?D.properties.coordProperties:[];if(Array.isArray(z)&&z.length)for(let j=0;j<R.length;j++){let U='<div style="display:flex;align-items:center;justify-content:center;width:14px;height:14px;">',V="";if(j<R.length-1&&z[j]&&z[j+1]&&z[j].fecha&&z[j+1].fecha&&new Date(z[j+1].fecha)>new Date(z[j].fecha)){const at=ft=>ft*Math.PI/180,W=ft=>ft*180/Math.PI,Y=at(R[j][1]),H=at(R[j+1][1]),B=at(R[j+1][0]-R[j][0]),nt=Math.sin(B)*Math.cos(H),Z=Math.cos(Y)*Math.sin(H)-Math.sin(Y)*Math.cos(H)*Math.cos(B);let rt=Math.atan2(nt,Z);rt=W(rt),V=`<svg width="10" height="10" viewBox="0 0 22 22" style="display:block;transform:rotate(${(rt+360)%360}deg);"><polygon points="11,3 15,17 11,14 7,17" fill="#fff" stroke="#fff" stroke-width="1.5"/></svg>`}U+=`<div style="background:#2196F3;border-radius:50%;border:1px solid #fff;box-shadow:0 0 2px #000;padding:1.5px;width:8px;height:8px;display:flex;align-items:center;justify-content:center;">${V}</div>`,U+="</div>",Q.marker([R[j][1],R[j][0]],{icon:Q.divIcon({className:"",html:U,iconSize:[14,14],iconAnchor:[7,7]})}).addTo(i)}}}});const C=()=>{if(E.clearLayers(),!w.length)return;const D=(U,V)=>t.project([U,V],t.getZoom()),O=Math.max(30,80-t.getZoom()*2),R=w.slice(),z=new Array(R.length).fill(!1),j=[];for(let U=0;U<R.length;U++){if(z[U])continue;const V=R[U],tt=D(V.lat,V.lng),at=[V];z[U]=!0;for(let W=U+1;W<R.length;W++){if(z[W])continue;const Y=R[W],H=D(Y.lat,Y.lng);Math.sqrt(Math.pow(tt.x-H.x,2)+Math.pow(tt.y-H.y,2))<O&&(at.push(Y),z[W]=!0)}j.push(at)}j.forEach(U=>{const V=U.reduce((W,Y)=>W+Y.lat,0)/U.length,tt=U.reduce((W,Y)=>W+Y.lng,0)/U.length,at=W=>{const Y=W==null?void 0:W.tipo,H=50,B=50,nt=16,Z=41,rt=[Math.round(H/2-nt),Math.round(B/2-Z)],F=Q.icon({iconUrl:Ca,iconSize:[H,B],iconAnchor:[nt,Z],popupAnchor:rt}),ft=Q.icon({iconUrl:La,iconSize:[H,B],iconAnchor:[nt,Z],popupAnchor:rt}),q=Q.icon({iconUrl:ba,iconSize:[H,B],iconAnchor:[nt,Z],popupAnchor:rt});return Y===0?F:Y===1?ft:q};if(U.length===1){const W=U[0],Y=at(W.properties||{}),H=Q.marker([V,tt],{icon:Y,zIndexOffset:1e3}),B=W.feature||{},nt=s.getPopupContent(B);H.bindPopup(nt,{maxHeight:360,maxWidth:320,className:"limit-popup"}),E.addLayer(H)}else{const W=U[0],H=`<div style="position:relative;display:inline-block;"><img src="${at(W.properties||{}).options.iconUrl}" style="width:50px;height:50px;object-fit:cover;"/><div style="position:absolute;right:-2px;top:-2px;background:#2196F3;color:#fff;font-size:11px;font-weight:bold;border-radius:50%;padding:0;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;z-index:3;border:1.5px solid #fff;">${U.length}</div></div>`,B=Q.marker([V,tt],{icon:Q.divIcon({className:"",html:H,iconSize:[50,50],iconAnchor:[25,25],popupAnchor:[0,0]}),zIndexOffset:1e3}),nt=[];U.forEach(rt=>{const F=rt.feature||{},ft=s.getPopupContent(F)||"";nt.push(`<div style="padding:6px 0;">${ft}</div>`)});const Z=nt.join('<hr style="border:none;border-top:1px solid #ddd;margin:6px 0;"/>');B.bindPopup(`<div style="max-width:320px;">${Z}</div>`,{maxHeight:360,maxWidth:320,className:"limit-popup"}),E.addLayer(B)}})};C(),t.on("zoomend",()=>{C()});const P=i.getBounds();t.fitBounds(P)}const h=new Q.Control.Draw({position:"topleft",draw:{polygon:(y=this.configurationMap)==null?void 0:y.createFigures.polygon,circle:!1,rectangle:(v=this.configurationMap)!=null&&v.createFigures.rectangle?{shapeOptions:{color:"blue"}}:!1,marker:(A=this.configurationMap)!=null&&A.createFigures.marker?{icon:Q.icon(r)}:!1,polyline:(b=this.configurationMap)!=null&&b.createFigures.polyline?{shapeOptions:{color:"blue"}}:!1,circlemarker:(M=this.configurationMap)==null?void 0:M.createFigures.multipoint},edit:n});t.addControl(h),t.on("draw:created",w=>{var P,D,O,R,z,j,U,V,tt,at,W,Y,H,B,nt;const E=w.layer;i.addLayer(E);let C=E.toGeoJSON();w.layerType==="circlemarker"&&(C={type:"Feature",geometry:{type:"MultiPoint",coordinates:[C.geometry.coordinates]},properties:{...C.properties,pointType:"multipoint",style:{color:((O=(D=(P=this.configurationMap)==null?void 0:P.createFigures)==null?void 0:D.multipoint)==null?void 0:O.color)||"green",fillColor:((j=(z=(R=this.configurationMap)==null?void 0:R.createFigures)==null?void 0:z.multipoint)==null?void 0:j.fillColor)||"green",fillOpacity:((tt=(V=(U=this.configurationMap)==null?void 0:U.createFigures)==null?void 0:V.multipoint)==null?void 0:tt.fillOpacity)||.8,radius:((Y=(W=(at=this.configurationMap)==null?void 0:at.createFigures)==null?void 0:W.multipoint)==null?void 0:Y.radius)||6,weight:((nt=(B=(H=this.configurationMap)==null?void 0:H.createFigures)==null?void 0:B.multipoint)==null?void 0:nt.weight)||2}}}),this.getGeoJSON&&this.getGeoJSON(C)}),t.on("draw:edited",w=>{w.layers.eachLayer(C=>{const P=C.toGeoJSON();this.getGeoJSON&&this.getGeoJSON(P)})})},getPointToLayer(r,t){var i,n;if(((i=r.geometry)==null?void 0:i.type)==="Point"){const s=(n=r.properties)==null?void 0:n.tipo,a=Q.icon({iconUrl:Ca,iconSize:[50,50],iconAnchor:[16,41]}),h=Q.icon({iconUrl:La,iconSize:[50,50],iconAnchor:[16,41]});let d=Q.icon({iconUrl:ba,iconSize:[50,50],iconAnchor:[16,41]});return s===0?d=a:s===1&&(d=h),Q.marker(t,{icon:d})}return Q.marker(t)},async searchAddress(r){const t=await jc.get(location.protocol+"//nominatim.openstreetmap.org/search?",{params:{q:r,limit:1,format:"json"}});if(t.data.length===1){const e=parseFloat(t.data[0].lat),n={lng:parseFloat(t.data[0].lon),lat:e};return this.setCoordinates({...n,moveMarker:!0}),t.data[0]}return t.data},setCoordinates({lat:r,lng:t}){if(this.mapRender){const e=Q.latLng(r,t);this.mapRender.panTo(e,{animate:!0,duration:.5})}},getPopupContent(r){const t=r.properties||{},e=t.descripcion||"",i=t.fechaHoraLlegada||"",n=t.fotoId||"",s=f=>{const p=new Date(f);if(isNaN(p.getTime()))return f;const m=E=>E.toString().padStart(2,"0"),y=m(p.getUTCDate()),v=m(p.getUTCMonth()+1),A=p.getUTCFullYear(),b=m(p.getUTCHours()),M=m(p.getUTCMinutes()),w=m(p.getUTCSeconds());return`${y}/${v}/${A} ${b}:${M}:${w}`};let a="";i&&(a=s(i));const h=t.tipo,c=h===0?Ca:h===1?La:ba;let d='<div style="max-width:320px;">';return n&&(d+=`
13
+ */(function(t,e){r.exports?r.exports=e(Dh(),Ug):e(t.L,t.screenfull)})(typeof self<"u"?self:Qe,function(t,e){return t.Control.FullScreen=t.Control.extend({options:{position:"topleft",title:"Full Screen",titleCancel:"Exit Full Screen",forceSeparateButton:!1,forcePseudoFullscreen:!1,fullscreenElement:!1},_screenfull:e,onAdd:function(i){var n="leaflet-control-zoom-fullscreen",o,a="";return i.zoomControl&&!this.options.forceSeparateButton?o=i.zoomControl._container:o=t.DomUtil.create("div","leaflet-bar"),this.options.content?a=this.options.content:n+=" fullscreen-icon",this._createButton(this.options.title,n,a,o,this.toggleFullScreen,this),this._map.fullscreenControl=this,this._map.on("enterFullscreen exitFullscreen",this._toggleState,this),o},onRemove:function(){t.DomEvent.off(this.link,"click",t.DomEvent.stop).off(this.link,"click",this.toggleFullScreen,this),this._screenfull.isEnabled&&(t.DomEvent.off(this._container,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).off(this._container,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,this),t.DomEvent.off(document,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).off(document,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,this))},_createButton:function(i,n,o,a,h,c){return this.link=t.DomUtil.create("a",n,a),this.link.href="#",this.link.title=i,this.link.innerHTML=o,this.link.setAttribute("role","button"),this.link.setAttribute("aria-label",i),L.DomEvent.disableClickPropagation(a),t.DomEvent.on(this.link,"click",t.DomEvent.stop).on(this.link,"click",h,c),this._screenfull.isEnabled&&(t.DomEvent.on(a,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).on(a,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,c),t.DomEvent.on(document,this._screenfull.raw.fullscreenchange,t.DomEvent.stop).on(document,this._screenfull.raw.fullscreenchange,this._handleFullscreenChange,c)),this.link},toggleFullScreen:function(){var i=this._map;i._exitFired=!1,i._isFullscreen?(this._screenfull.isEnabled&&!this.options.forcePseudoFullscreen?this._screenfull.exit():(t.DomUtil.removeClass(this.options.fullscreenElement?this.options.fullscreenElement:i._container,"leaflet-pseudo-fullscreen"),i.invalidateSize()),i.fire("exitFullscreen"),i._exitFired=!0,i._isFullscreen=!1):(this._screenfull.isEnabled&&!this.options.forcePseudoFullscreen?this._screenfull.request(this.options.fullscreenElement?this.options.fullscreenElement:i._container):(t.DomUtil.addClass(this.options.fullscreenElement?this.options.fullscreenElement:i._container,"leaflet-pseudo-fullscreen"),i.invalidateSize()),i.fire("enterFullscreen"),i._isFullscreen=!0)},_toggleState:function(){this.link.title=this._map._isFullscreen?this.options.title:this.options.titleCancel,this._map._isFullscreen?L.DomUtil.removeClass(this.link,"leaflet-fullscreen-on"):L.DomUtil.addClass(this.link,"leaflet-fullscreen-on")},_handleFullscreenChange:function(){var i=this._map;i.invalidateSize(),!this._screenfull.isFullscreen&&!i._exitFired&&(i.fire("exitFullscreen"),i._exitFired=!0,i._isFullscreen=!1)}}),t.Map.include({toggleFullscreen:function(){this.fullscreenControl.toggleFullScreen()}}),t.Map.addInitHook(function(){this.options.fullscreenControl&&this.addControl(t.control.fullscreen(this.options.fullscreenControlOptions))}),t.control.fullscreen=function(i){return new t.Control.FullScreen(i)},{leaflet:t,screenfull:e}})})(Gg);const jg=V.defineComponent({name:"CoordinatesVerifyPolygon",props:{dataPolygon:Object,iconMarker:Object,coordinatesMap:Array,checkPointInPolygon:Function},data(){return{markerIconDefault:{iconUrl:ss,iconSize:[25,41],iconAnchor:[12,41]}}},mounted(){this.verificarPuntoEnPoligono()},methods:{verificarPuntoEnPoligono(){var f;const r=this.iconMarker?this.iconMarker:this.markerIconDefault,t=(f=this.dataPolygon)==null?void 0:f.geometry.coordinates[0].map(p=>[p[1],p[0]]),e=JSON.parse(JSON.stringify(t)),i=[this.coordinatesMap?this.coordinatesMap[0]:0,this.coordinatesMap?this.coordinatesMap[1]:0],n=Q.map("maps",{fullscreenControl:!0}).setView([this.coordinatesMap?this.coordinatesMap[0]:0,this.coordinatesMap?this.coordinatesMap[1]:0],this.coordinatesMap?this.coordinatesMap[2]:0);Q.tileLayer("https://tile.openstreetmaps.org/{z}/{x}/{y}.png",{maxZoom:19,attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}).addTo(n),Q.polygon(e).addTo(n);const o=[this.coordinatesMap?this.coordinatesMap[0]:0,this.coordinatesMap?this.coordinatesMap[1]:0],a=Q.icon(r);Q.marker(o,{icon:a}).addTo(n);const h=dg(i),c=fg([t]),d=Eg(h,c);this.checkPointInPolygon&&this.checkPointInPolygon(d)}}}),OE="",oa=(r,t)=>{const e=r.__vccOpts||r;for(const[i,n]of t)e[i]=n;return e},Hg={ref:"maps",id:"maps"};function Wg(r,t,e,i,n,o){return V.openBlock(),V.createElementBlock("div",Hg,null,512)}const Yg=oa(jg,[["render",Wg]]),aa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7N15eBXneTf+7zNz9nN0JLFIArGIHQzYxmCM931hEXiJZMdp2vStazeJYwNOmjRJ86ppf2nSxkCcvm7ttml2A0qMbcB7vO9gbINZDWIVaN919pnn9weQYgeQjjRz7nnm3J/r4rKvK2H09dGcee55VoAxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGOMMcYYY4wxxhhjjDHGGGNOIagDMMascffmR7ztTcki0zQKvIZZaOgeDaZZKDRoMMXxf0pZaApop/v7QgopBDoAQEK2H/+n1g4AmiY6tLTZk0l2tNdW16Ry91/FGLMLFwCMOVRNTY22dV5hqS9plkmhl0uBEYAcCYERkCgFUCyBYgEU4/ifSI6i9QJoP/GnDUA7BBohcUwA9ZCiQUij3vAYx6ZvijXV1NSYOcrFGMsCFwCMEbpzw8PFppGYYAqMlwLjBTBe4vg/ATEagIc64yBlAHlYAnUCqIPQ9gmgzoSo88Jb99tFX2mnDshYvuICgLEcuHndyiKvV5ugSTldSnmOFHK6BnGOBMZTZyPWDoEdwsR2U8gdQojtuiG2PbZkaSN1MMbcjgsAxixWtX5FuSYxRwrMkRCzBXA+gBHUuRRzDFJ8BGFuFhKbTYHNtZXL66lDMeYmXAAwNgiLn/xRQUD3XwIp50nIOQLaHECWUedyqWMANkspNmvCfCdupt9+ask3u6lDMaYqLgAYy8Itj/9riderXwQpLoWGyyBxIQAfda48ZUDI3cIUb0CIN4VhvLz65gcOU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7HmgZdzWHTMpaHTI0AQ51olj4q9dJVzcTZq/QEIH1AFACKbsGuymCkK9KySSYedt4t01SNADGuPAM6tdcxmvaHp4ytXo9YfgPACBgAA4YbDoTsKV+ePnzG3Va63fyFX4cPQI0DV+muq1v/hwi9vX7xjI2r9AQg3YAAAEI5UV7vbdn67LW3m+Uny2bHB7REglT/j7Yxpr+d8dPmfizdtaiFk/AMQdiAHAIAwpaxsW9P2cTMfkmH3ZRTMHgGMuTjny8dXtdxXkZXVRFD+YAjBVmhDBwwAAMIY1SOAxSTfyDS+MUg9AnSp/DeNsI9f8NZLv6whKH8wxPR+g8FEGCgmvHLYuBtEHrP+uiPDVd34qXDrR6qSfBoKBAnG+Q7biNRz1t01qYAAAGGNCT0AUP4g8si8/ciCqOjk3zFN2zUUjYI83gXOc6KsKResuwu1/gEl6MswrJhBB7gTADAP7My/lGa01BUuFkLMFEKPokDgSfhjm2Ki0n6/6oEJDtT6A2AOkAMAugCrMGwRq/6Ynp+aPnoO1+hvjPEaqbgHXJsvf98lH3Vc40/HJkfPWfVAhgPKHwDzAFnfX5BiAMKAjIxZ9nHXvjhVb256kDE6VYbvY+R9ayWh9zjnGdd0eayLkWiXFsBqHhP7aPFrd2Xn5i5vIwCAqYABMOzAogBDBh81akb0UXe8P76tue4y0e4+R3CeIe841TiI7U8WFJ5+vm4ZMpDWgcjlmrbcFpv2ZvazFxYUF//QglU/AOYEBgAA5odlZGRENTZGWWfcuzShrdZ5uOZ2jheaO8Gtc9KYaBCazWFLcO/e/tqldbFNTS6Hw6FW/FD8AJgYGAAADCmh6OGZq82cmXdQ/s/mSZN0WrJkyHr5w88FAAAgNIDpCwAAYQyEOADmBHMbAAAAAABENDCIgQfcCAAAAAAAAAAAQCDBShsAAAAIFmbSurAgQISAWx2AsOT/AwjT0tpu3Pd0AAAAAElFTkSuQmCC";(function(r,t,e){function i(n,o){for(;(n=n.parentElement)&&!n.classList.contains(o););return n}L.drawVersion="1.0.4",L.Draw={},L.drawLocal={draw:{toolbar:{actions:{title:"Cancel drawing",text:"Cancel"},finish:{title:"Finish drawing",text:"Finish"},undo:{title:"Delete last point drawn",text:"Delete last point"},buttons:{polyline:"Draw a polyline",polygon:"Draw a polygon",rectangle:"Draw a rectangle",circle:"Draw a circle",marker:"Draw a marker",circlemarker:"Draw a circlemarker"}},handlers:{circle:{tooltip:{start:"Click and drag to draw circle."},radius:"Radius"},circlemarker:{tooltip:{start:"Click map to place circle marker."}},marker:{tooltip:{start:"Click map to place marker."}},polygon:{tooltip:{start:"Click to start drawing shape.",cont:"Click to continue drawing shape.",end:"Click first point to close this shape."}},polyline:{error:"<strong>Error:</strong> shape edges cannot cross!",tooltip:{start:"Click to start drawing line.",cont:"Click to continue drawing line.",end:"Click last point to finish line."}},rectangle:{tooltip:{start:"Click and drag to draw rectangle."}},simpleshape:{tooltip:{end:"Release mouse to finish drawing."}}}},edit:{toolbar:{actions:{save:{title:"Save changes",text:"Save"},cancel:{title:"Cancel editing, discards all changes",text:"Cancel"},clearAll:{title:"Clear all layers",text:"Clear All"}},buttons:{edit:"Edit layers",editDisabled:"No layers to edit",remove:"Delete layers",removeDisabled:"No layers to delete"}},handlers:{edit:{tooltip:{text:"Drag handles or markers to edit features.",subtext:"Click cancel to undo changes."}},remove:{tooltip:{text:"Click on a feature to remove."}}}}},L.Draw.Event={},L.Draw.Event.CREATED="draw:created",L.Draw.Event.EDITED="draw:edited",L.Draw.Event.DELETED="draw:deleted",L.Draw.Event.DRAWSTART="draw:drawstart",L.Draw.Event.DRAWSTOP="draw:drawstop",L.Draw.Event.DRAWVERTEX="draw:drawvertex",L.Draw.Event.EDITSTART="draw:editstart",L.Draw.Event.EDITMOVE="draw:editmove",L.Draw.Event.EDITRESIZE="draw:editresize",L.Draw.Event.EDITVERTEX="draw:editvertex",L.Draw.Event.EDITSTOP="draw:editstop",L.Draw.Event.DELETESTART="draw:deletestart",L.Draw.Event.DELETESTOP="draw:deletestop",L.Draw.Event.TOOLBAROPENED="draw:toolbaropened",L.Draw.Event.TOOLBARCLOSED="draw:toolbarclosed",L.Draw.Event.MARKERCONTEXT="draw:markercontext",L.Draw=L.Draw||{},L.Draw.Feature=L.Handler.extend({initialize:function(n,o){this._map=n,this._container=n._container,this._overlayPane=n._panes.overlayPane,this._popupPane=n._panes.popupPane,o&&o.shapeOptions&&(o.shapeOptions=L.Util.extend({},this.options.shapeOptions,o.shapeOptions)),L.setOptions(this,o);var a=L.version.split(".");parseInt(a[0],10)===1&&parseInt(a[1],10)>=2?L.Draw.Feature.include(L.Evented.prototype):L.Draw.Feature.include(L.Mixin.Events)},enable:function(){this._enabled||(L.Handler.prototype.enable.call(this),this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DRAWSTART,{layerType:this.type}))},disable:function(){this._enabled&&(L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DRAWSTOP,{layerType:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var n=this._map;n&&(L.DomUtil.disableTextSelection(),n.getContainer().focus(),this._tooltip=new L.Draw.Tooltip(this._map),L.DomEvent.on(this._container,"keyup",this._cancelDrawing,this))},removeHooks:function(){this._map&&(L.DomUtil.enableTextSelection(),this._tooltip.dispose(),this._tooltip=null,L.DomEvent.off(this._container,"keyup",this._cancelDrawing,this))},setOptions:function(n){L.setOptions(this,n)},_fireCreatedEvent:function(n){this._map.fire(L.Draw.Event.CREATED,{layer:n,layerType:this.type})},_cancelDrawing:function(n){n.keyCode===27&&(this._map.fire("draw:canceled",{layerType:this.type}),this.disable())}}),L.Draw.Polyline=L.Draw.Feature.extend({statics:{TYPE:"polyline"},Poly:L.Polyline,options:{allowIntersection:!0,repeatMode:!1,drawError:{color:"#b00b00",timeout:2500},icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),guidelineDistance:20,maxGuideLineLength:4e3,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!1,clickable:!0},metric:!0,feet:!0,nautic:!1,showLength:!0,zIndexOffset:2e3,factor:1,maxPoints:0},initialize:function(n,o){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this.options.drawError.message=L.drawLocal.draw.handlers.polyline.error,o&&o.drawError&&(o.drawError=L.Util.extend({},this.options.drawError,o.drawError)),this.type=L.Draw.Polyline.TYPE,L.Draw.Feature.prototype.initialize.call(this,n,o)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._markers=[],this._markerGroup=new L.LayerGroup,this._map.addLayer(this._markerGroup),this._poly=new L.Polyline([],this.options.shapeOptions),this._tooltip.updateContent(this._getTooltipText()),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("mouseout",this._onMouseOut,this).on("mousemove",this._onMouseMove,this).on("mousedown",this._onMouseDown,this).on("mouseup",this._onMouseUp,this).addTo(this._map),this._map.on("mouseup",this._onMouseUp,this).on("mousemove",this._onMouseMove,this).on("zoomlevelschange",this._onZoomEnd,this).on("touchstart",this._onTouch,this).on("zoomend",this._onZoomEnd,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._clearHideErrorTimeout(),this._cleanUpShape(),this._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers,this._map.removeLayer(this._poly),delete this._poly,this._mouseMarker.off("mousedown",this._onMouseDown,this).off("mouseout",this._onMouseOut,this).off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._clearGuides(),this._map.off("mouseup",this._onMouseUp,this).off("mousemove",this._onMouseMove,this).off("zoomlevelschange",this._onZoomEnd,this).off("zoomend",this._onZoomEnd,this).off("touchstart",this._onTouch,this).off("click",this._onTouch,this)},deleteLastVertex:function(){if(!(this._markers.length<=1)){var n=this._markers.pop(),o=this._poly,a=o.getLatLngs(),h=a.splice(-1,1)[0];this._poly.setLatLngs(a),this._markerGroup.removeLayer(n),o.getLatLngs().length<2&&this._map.removeLayer(o),this._vertexChanged(h,!1)}},addVertex:function(n){if(this._markers.length>=2&&!this.options.allowIntersection&&this._poly.newLatLngIntersects(n))return void this._showErrorTooltip();this._errorShown&&this._hideErrorTooltip(),this._markers.push(this._createMarker(n)),this._poly.addLatLng(n),this._poly.getLatLngs().length===2&&this._map.addLayer(this._poly),this._vertexChanged(n,!0)},completeShape:function(){this._markers.length<=1||!this._shapeIsValid()||(this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable())},_finishShape:function(){var n=this._poly._defaultShape?this._poly._defaultShape():this._poly.getLatLngs(),o=this._poly.newLatLngIntersects(n[n.length-1]);if(!this.options.allowIntersection&&o||!this._shapeIsValid())return void this._showErrorTooltip();this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_shapeIsValid:function(){return!0},_onZoomEnd:function(){this._markers!==null&&this._updateGuide()},_onMouseMove:function(n){var o=this._map.mouseEventToLayerPoint(n.originalEvent),a=this._map.layerPointToLatLng(o);this._currentLatLng=a,this._updateTooltip(a),this._updateGuide(o),this._mouseMarker.setLatLng(a),L.DomEvent.preventDefault(n.originalEvent)},_vertexChanged:function(n,o){this._map.fire(L.Draw.Event.DRAWVERTEX,{layers:this._markerGroup}),this._updateFinishHandler(),this._updateRunningMeasure(n,o),this._clearGuides(),this._updateTooltip()},_onMouseDown:function(n){if(!this._clickHandled&&!this._touchHandled&&!this._disableMarkers){this._onMouseMove(n),this._clickHandled=!0,this._disableNewMarkers();var o=n.originalEvent,a=o.clientX,h=o.clientY;this._startPoint.call(this,a,h)}},_startPoint:function(n,o){this._mouseDownOrigin=L.point(n,o)},_onMouseUp:function(n){var o=n.originalEvent,a=o.clientX,h=o.clientY;this._endPoint.call(this,a,h,n),this._clickHandled=null},_endPoint:function(n,o,a){if(this._mouseDownOrigin){var h=L.point(n,o).distanceTo(this._mouseDownOrigin),c=this._calculateFinishDistance(a.latlng);this.options.maxPoints>1&&this.options.maxPoints==this._markers.length+1?(this.addVertex(a.latlng),this._finishShape()):c<10&&L.Browser.touch?this._finishShape():Math.abs(h)<9*(r.devicePixelRatio||1)&&this.addVertex(a.latlng),this._enableNewMarkers()}this._mouseDownOrigin=null},_onTouch:function(n){var o,a,h=n.originalEvent;!h.touches||!h.touches[0]||this._clickHandled||this._touchHandled||this._disableMarkers||(o=h.touches[0].clientX,a=h.touches[0].clientY,this._disableNewMarkers(),this._touchHandled=!0,this._startPoint.call(this,o,a),this._endPoint.call(this,o,a,n),this._touchHandled=null),this._clickHandled=null},_onMouseOut:function(){this._tooltip&&this._tooltip._onMouseOut.call(this._tooltip)},_calculateFinishDistance:function(n){var o;if(this._markers.length>0){var a;if(this.type===L.Draw.Polyline.TYPE)a=this._markers[this._markers.length-1];else{if(this.type!==L.Draw.Polygon.TYPE)return 1/0;a=this._markers[0]}var h=this._map.latLngToContainerPoint(a.getLatLng()),c=new L.Marker(n,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset}),d=this._map.latLngToContainerPoint(c.getLatLng());o=h.distanceTo(d)}else o=1/0;return o},_updateFinishHandler:function(){var n=this._markers.length;n>1&&this._markers[n-1].on("click",this._finishShape,this),n>2&&this._markers[n-2].off("click",this._finishShape,this)},_createMarker:function(n){var o=new L.Marker(n,{icon:this.options.icon,zIndexOffset:2*this.options.zIndexOffset});return this._markerGroup.addLayer(o),o},_updateGuide:function(n){var o=this._markers?this._markers.length:0;o>0&&(n=n||this._map.latLngToLayerPoint(this._currentLatLng),this._clearGuides(),this._drawGuide(this._map.latLngToLayerPoint(this._markers[o-1].getLatLng()),n))},_updateTooltip:function(n){var o=this._getTooltipText();n&&this._tooltip.updatePosition(n),this._errorShown||this._tooltip.updateContent(o)},_drawGuide:function(n,o){var a,h,c,d=Math.floor(Math.sqrt(Math.pow(o.x-n.x,2)+Math.pow(o.y-n.y,2))),f=this.options.guidelineDistance,p=this.options.maxGuideLineLength,_=d>p?d-p:f;for(this._guidesContainer||(this._guidesContainer=L.DomUtil.create("div","leaflet-draw-guides",this._overlayPane));_<d;_+=this.options.guidelineDistance)a=_/d,h={x:Math.floor(n.x*(1-a)+a*o.x),y:Math.floor(n.y*(1-a)+a*o.y)},c=L.DomUtil.create("div","leaflet-draw-guide-dash",this._guidesContainer),c.style.backgroundColor=this._errorShown?this.options.drawError.color:this.options.shapeOptions.color,L.DomUtil.setPosition(c,h)},_updateGuideColor:function(n){if(this._guidesContainer)for(var o=0,a=this._guidesContainer.childNodes.length;o<a;o++)this._guidesContainer.childNodes[o].style.backgroundColor=n},_clearGuides:function(){if(this._guidesContainer)for(;this._guidesContainer.firstChild;)this._guidesContainer.removeChild(this._guidesContainer.firstChild)},_getTooltipText:function(){var n,o,a=this.options.showLength;return this._markers.length===0?n={text:L.drawLocal.draw.handlers.polyline.tooltip.start}:(o=a?this._getMeasurementString():"",n=this._markers.length===1?{text:L.drawLocal.draw.handlers.polyline.tooltip.cont,subtext:o}:{text:L.drawLocal.draw.handlers.polyline.tooltip.end,subtext:o}),n},_updateRunningMeasure:function(n,o){var a,h,c=this._markers.length;this._markers.length===1?this._measurementRunningTotal=0:(a=c-(o?2:1),h=L.GeometryUtil.isVersion07x()?n.distanceTo(this._markers[a].getLatLng())*(this.options.factor||1):this._map.distance(n,this._markers[a].getLatLng())*(this.options.factor||1),this._measurementRunningTotal+=h*(o?1:-1))},_getMeasurementString:function(){var n,o=this._currentLatLng,a=this._markers[this._markers.length-1].getLatLng();return n=L.GeometryUtil.isVersion07x()?a&&o&&o.distanceTo?this._measurementRunningTotal+o.distanceTo(a)*(this.options.factor||1):this._measurementRunningTotal||0:a&&o?this._measurementRunningTotal+this._map.distance(o,a)*(this.options.factor||1):this._measurementRunningTotal||0,L.GeometryUtil.readableDistance(n,this.options.metric,this.options.feet,this.options.nautic,this.options.precision)},_showErrorTooltip:function(){this._errorShown=!0,this._tooltip.showAsError().updateContent({text:this.options.drawError.message}),this._updateGuideColor(this.options.drawError.color),this._poly.setStyle({color:this.options.drawError.color}),this._clearHideErrorTimeout(),this._hideErrorTimeout=setTimeout(L.Util.bind(this._hideErrorTooltip,this),this.options.drawError.timeout)},_hideErrorTooltip:function(){this._errorShown=!1,this._clearHideErrorTimeout(),this._tooltip.removeError().updateContent(this._getTooltipText()),this._updateGuideColor(this.options.shapeOptions.color),this._poly.setStyle({color:this.options.shapeOptions.color})},_clearHideErrorTimeout:function(){this._hideErrorTimeout&&(clearTimeout(this._hideErrorTimeout),this._hideErrorTimeout=null)},_disableNewMarkers:function(){this._disableMarkers=!0},_enableNewMarkers:function(){setTimeout((function(){this._disableMarkers=!1}).bind(this),50)},_cleanUpShape:function(){this._markers.length>1&&this._markers[this._markers.length-1].off("click",this._finishShape,this)},_fireCreatedEvent:function(){var n=new this.Poly(this._poly.getLatLngs(),this.options.shapeOptions);L.Draw.Feature.prototype._fireCreatedEvent.call(this,n)}}),L.Draw.Polygon=L.Draw.Polyline.extend({statics:{TYPE:"polygon"},Poly:L.Polygon,options:{showArea:!1,showLength:!1,shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},metric:!0,feet:!0,nautic:!1,precision:{}},initialize:function(n,o){L.Draw.Polyline.prototype.initialize.call(this,n,o),this.type=L.Draw.Polygon.TYPE},_updateFinishHandler:function(){var n=this._markers.length;n===1&&this._markers[0].on("click",this._finishShape,this),n>2&&(this._markers[n-1].on("dblclick",this._finishShape,this),n>3&&this._markers[n-2].off("dblclick",this._finishShape,this))},_getTooltipText:function(){var n,o;return this._markers.length===0?n=L.drawLocal.draw.handlers.polygon.tooltip.start:this._markers.length<3?(n=L.drawLocal.draw.handlers.polygon.tooltip.cont,o=this._getMeasurementString()):(n=L.drawLocal.draw.handlers.polygon.tooltip.end,o=this._getMeasurementString()),{text:n,subtext:o}},_getMeasurementString:function(){var n=this._area,o="";return n||this.options.showLength?(this.options.showLength&&(o=L.Draw.Polyline.prototype._getMeasurementString.call(this)),n&&(o+="<br>"+L.GeometryUtil.readableArea(n,this.options.metric,this.options.precision)),o):null},_shapeIsValid:function(){return this._markers.length>=3},_vertexChanged:function(n,o){var a;!this.options.allowIntersection&&this.options.showArea&&(a=this._poly.getLatLngs(),this._area=L.GeometryUtil.geodesicArea(a)),L.Draw.Polyline.prototype._vertexChanged.call(this,n,o)},_cleanUpShape:function(){var n=this._markers.length;n>0&&(this._markers[0].off("click",this._finishShape,this),n>2&&this._markers[n-1].off("dblclick",this._finishShape,this))}}),L.SimpleShape={},L.Draw.SimpleShape=L.Draw.Feature.extend({options:{repeatMode:!1},initialize:function(n,o){this._endLabelText=L.drawLocal.draw.handlers.simpleshape.tooltip.end,L.Draw.Feature.prototype.initialize.call(this,n,o)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._mapDraggable=this._map.dragging.enabled(),this._mapDraggable&&this._map.dragging.disable(),this._container.style.cursor="crosshair",this._tooltip.updateContent({text:this._initialLabelText}),this._map.on("mousedown",this._onMouseDown,this).on("mousemove",this._onMouseMove,this).on("touchstart",this._onMouseDown,this).on("touchmove",this._onMouseMove,this),t.addEventListener("touchstart",L.DomEvent.preventDefault,{passive:!1}))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._mapDraggable&&this._map.dragging.enable(),this._container.style.cursor="",this._map.off("mousedown",this._onMouseDown,this).off("mousemove",this._onMouseMove,this).off("touchstart",this._onMouseDown,this).off("touchmove",this._onMouseMove,this),L.DomEvent.off(t,"mouseup",this._onMouseUp,this),L.DomEvent.off(t,"touchend",this._onMouseUp,this),t.removeEventListener("touchstart",L.DomEvent.preventDefault),this._shape&&(this._map.removeLayer(this._shape),delete this._shape)),this._isDrawing=!1},_getTooltipText:function(){return{text:this._endLabelText}},_onMouseDown:function(n){this._isDrawing=!0,this._startLatLng=n.latlng,L.DomEvent.on(t,"mouseup",this._onMouseUp,this).on(t,"touchend",this._onMouseUp,this).preventDefault(n.originalEvent)},_onMouseMove:function(n){var o=n.latlng;this._tooltip.updatePosition(o),this._isDrawing&&(this._tooltip.updateContent(this._getTooltipText()),this._drawShape(o))},_onMouseUp:function(){this._shape&&this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()}}),L.Draw.Rectangle=L.Draw.SimpleShape.extend({statics:{TYPE:"rectangle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showArea:!0,metric:!0},initialize:function(n,o){this.type=L.Draw.Rectangle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.rectangle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,n,o)},disable:function(){this._enabled&&(this._isCurrentlyTwoClickDrawing=!1,L.Draw.SimpleShape.prototype.disable.call(this))},_onMouseUp:function(n){if(!this._shape&&!this._isCurrentlyTwoClickDrawing)return void(this._isCurrentlyTwoClickDrawing=!0);this._isCurrentlyTwoClickDrawing&&!i(n.target,"leaflet-pane")||L.Draw.SimpleShape.prototype._onMouseUp.call(this)},_drawShape:function(n){this._shape?this._shape.setBounds(new L.LatLngBounds(this._startLatLng,n)):(this._shape=new L.Rectangle(new L.LatLngBounds(this._startLatLng,n),this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var n=new L.Rectangle(this._shape.getBounds(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,n)},_getTooltipText:function(){var n,o,a,h=L.Draw.SimpleShape.prototype._getTooltipText.call(this),c=this._shape,d=this.options.showArea;return c&&(n=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),o=L.GeometryUtil.geodesicArea(n),a=d?L.GeometryUtil.readableArea(o,this.options.metric):""),{text:h.text,subtext:a}}}),L.Draw.Marker=L.Draw.Feature.extend({statics:{TYPE:"marker"},options:{icon:new L.Icon.Default,repeatMode:!1,zIndexOffset:2e3},initialize:function(n,o){this.type=L.Draw.Marker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.marker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,n,o)},addHooks:function(){L.Draw.Feature.prototype.addHooks.call(this),this._map&&(this._tooltip.updateContent({text:this._initialLabelText}),this._mouseMarker||(this._mouseMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"leaflet-mouse-marker",iconAnchor:[20,20],iconSize:[40,40]}),opacity:0,zIndexOffset:this.options.zIndexOffset})),this._mouseMarker.on("click",this._onClick,this).addTo(this._map),this._map.on("mousemove",this._onMouseMove,this),this._map.on("click",this._onTouch,this))},removeHooks:function(){L.Draw.Feature.prototype.removeHooks.call(this),this._map&&(this._map.off("click",this._onClick,this).off("click",this._onTouch,this),this._marker&&(this._marker.off("click",this._onClick,this),this._map.removeLayer(this._marker),delete this._marker),this._mouseMarker.off("click",this._onClick,this),this._map.removeLayer(this._mouseMarker),delete this._mouseMarker,this._map.off("mousemove",this._onMouseMove,this))},_onMouseMove:function(n){var o=n.latlng;this._tooltip.updatePosition(o),this._mouseMarker.setLatLng(o),this._marker?(o=this._mouseMarker.getLatLng(),this._marker.setLatLng(o)):(this._marker=this._createMarker(o),this._marker.on("click",this._onClick,this),this._map.on("click",this._onClick,this).addLayer(this._marker))},_createMarker:function(n){return new L.Marker(n,{icon:this.options.icon,zIndexOffset:this.options.zIndexOffset})},_onClick:function(){this._fireCreatedEvent(),this.disable(),this.options.repeatMode&&this.enable()},_onTouch:function(n){this._onMouseMove(n),this._onClick()},_fireCreatedEvent:function(){var n=new L.Marker.Touch(this._marker.getLatLng(),{icon:this.options.icon});L.Draw.Feature.prototype._fireCreatedEvent.call(this,n)}}),L.Draw.CircleMarker=L.Draw.Marker.extend({statics:{TYPE:"circlemarker"},options:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0,zIndexOffset:2e3},initialize:function(n,o){this.type=L.Draw.CircleMarker.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circlemarker.tooltip.start,L.Draw.Feature.prototype.initialize.call(this,n,o)},_fireCreatedEvent:function(){var n=new L.CircleMarker(this._marker.getLatLng(),this.options);L.Draw.Feature.prototype._fireCreatedEvent.call(this,n)},_createMarker:function(n){return new L.CircleMarker(n,this.options)}}),L.Draw.Circle=L.Draw.SimpleShape.extend({statics:{TYPE:"circle"},options:{shapeOptions:{stroke:!0,color:"#3388ff",weight:4,opacity:.5,fill:!0,fillColor:null,fillOpacity:.2,clickable:!0},showRadius:!0,metric:!0,feet:!0,nautic:!1},initialize:function(n,o){this.type=L.Draw.Circle.TYPE,this._initialLabelText=L.drawLocal.draw.handlers.circle.tooltip.start,L.Draw.SimpleShape.prototype.initialize.call(this,n,o)},_drawShape:function(n){if(L.GeometryUtil.isVersion07x())var o=this._startLatLng.distanceTo(n);else var o=this._map.distance(this._startLatLng,n);this._shape?this._shape.setRadius(o):(this._shape=new L.Circle(this._startLatLng,o,this.options.shapeOptions),this._map.addLayer(this._shape))},_fireCreatedEvent:function(){var n=new L.Circle(this._startLatLng,this._shape.getRadius(),this.options.shapeOptions);L.Draw.SimpleShape.prototype._fireCreatedEvent.call(this,n)},_onMouseMove:function(n){var o,a=n.latlng,h=this.options.showRadius,c=this.options.metric;if(this._tooltip.updatePosition(a),this._isDrawing){this._drawShape(a),o=this._shape.getRadius().toFixed(1);var d="";h&&(d=L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(o,c,this.options.feet,this.options.nautic)),this._tooltip.updateContent({text:this._endLabelText,subtext:d})}}}),L.Edit=L.Edit||{},L.Edit.Marker=L.Handler.extend({initialize:function(n,o){this._marker=n,L.setOptions(this,o)},addHooks:function(){var n=this._marker;n.dragging.enable(),n.on("dragend",this._onDragEnd,n),this._toggleMarkerHighlight()},removeHooks:function(){var n=this._marker;n.dragging.disable(),n.off("dragend",this._onDragEnd,n),this._toggleMarkerHighlight()},_onDragEnd:function(n){var o=n.target;o.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:o})},_toggleMarkerHighlight:function(){var n=this._marker._icon;n&&(n.style.display="none",L.DomUtil.hasClass(n,"leaflet-edit-marker-selected")?(L.DomUtil.removeClass(n,"leaflet-edit-marker-selected"),this._offsetMarker(n,-4)):(L.DomUtil.addClass(n,"leaflet-edit-marker-selected"),this._offsetMarker(n,4)),n.style.display="")},_offsetMarker:function(n,o){var a=parseInt(n.style.marginTop,10)-o,h=parseInt(n.style.marginLeft,10)-o;n.style.marginTop=a+"px",n.style.marginLeft=h+"px"}}),L.Marker.addInitHook(function(){L.Edit.Marker&&(this.editing=new L.Edit.Marker(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.Poly=L.Handler.extend({initialize:function(n){this.latlngs=[n._latlngs],n._holes&&(this.latlngs=this.latlngs.concat(n._holes)),this._poly=n,this._poly.on("revert-edited",this._updateLatLngs,this)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._poly._latlngs)?this._poly._latlngs:this._poly._latlngs[0]:this._poly._latlngs},_eachVertexHandler:function(n){for(var o=0;o<this._verticesHandlers.length;o++)n(this._verticesHandlers[o])},addHooks:function(){this._initHandlers(),this._eachVertexHandler(function(n){n.addHooks()})},removeHooks:function(){this._eachVertexHandler(function(n){n.removeHooks()})},updateMarkers:function(){this._eachVertexHandler(function(n){n.updateMarkers()})},_initHandlers:function(){this._verticesHandlers=[];for(var n=0;n<this.latlngs.length;n++)this._verticesHandlers.push(new L.Edit.PolyVerticesEdit(this._poly,this.latlngs[n],this._poly.options.poly))},_updateLatLngs:function(n){this.latlngs=[n.layer._latlngs],n.layer._holes&&(this.latlngs=this.latlngs.concat(n.layer._holes))}}),L.Edit.PolyVerticesEdit=L.Handler.extend({options:{icon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon"}),touchIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-touch-icon"}),drawError:{color:"#b00b00",timeout:1e3}},initialize:function(n,o,a){L.Browser.touch&&(this.options.icon=this.options.touchIcon),this._poly=n,a&&a.drawError&&(a.drawError=L.Util.extend({},this.options.drawError,a.drawError)),this._latlngs=o,L.setOptions(this,a)},_defaultShape:function(){return L.Polyline._flat?L.Polyline._flat(this._latlngs)?this._latlngs:this._latlngs[0]:this._latlngs},addHooks:function(){var n=this._poly,o=n._path;n instanceof L.Polygon||(n.options.fill=!1,n.options.editing&&(n.options.editing.fill=!1)),o&&n.options.editing&&n.options.editing.className&&(n.options.original.className&&n.options.original.className.split(" ").forEach(function(a){L.DomUtil.removeClass(o,a)}),n.options.editing.className.split(" ").forEach(function(a){L.DomUtil.addClass(o,a)})),n.setStyle(n.options.editing),this._poly._map&&(this._map=this._poly._map,this._markerGroup||this._initMarkers(),this._poly._map.addLayer(this._markerGroup))},removeHooks:function(){var n=this._poly,o=n._path;o&&n.options.editing&&n.options.editing.className&&(n.options.editing.className.split(" ").forEach(function(a){L.DomUtil.removeClass(o,a)}),n.options.original.className&&n.options.original.className.split(" ").forEach(function(a){L.DomUtil.addClass(o,a)})),n.setStyle(n.options.original),n._map&&(n._map.removeLayer(this._markerGroup),delete this._markerGroup,delete this._markers)},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._markers=[];var n,o,a,h,c=this._defaultShape();for(n=0,a=c.length;n<a;n++)h=this._createMarker(c[n],n),h.on("click",this._onMarkerClick,this),h.on("contextmenu",this._onContextMenu,this),this._markers.push(h);var d,f;for(n=0,o=a-1;n<a;o=n++)(n!==0||L.Polygon&&this._poly instanceof L.Polygon)&&(d=this._markers[o],f=this._markers[n],this._createMiddleMarker(d,f),this._updatePrevNext(d,f))},_createMarker:function(n,o){var a=new L.Marker.Touch(n,{draggable:!0,icon:this.options.icon});return a._origLatLng=n,a._index=o,a.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._fireEdit,this).on("touchmove",this._onTouchMove,this).on("touchend",this._fireEdit,this).on("MSPointerMove",this._onTouchMove,this).on("MSPointerUp",this._fireEdit,this),this._markerGroup.addLayer(a),a},_onMarkerDragStart:function(){this._poly.fire("editstart")},_spliceLatLngs:function(){var n=this._defaultShape(),o=[].splice.apply(n,arguments);return this._poly._convertLatLngs(n,!0),this._poly.redraw(),o},_removeMarker:function(n){var o=n._index;this._markerGroup.removeLayer(n),this._markers.splice(o,1),this._spliceLatLngs(o,1),this._updateIndexes(o,-1),n.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._fireEdit,this).off("touchmove",this._onMarkerDrag,this).off("touchend",this._fireEdit,this).off("click",this._onMarkerClick,this).off("MSPointerMove",this._onTouchMove,this).off("MSPointerUp",this._fireEdit,this)},_fireEdit:function(){this._poly.edited=!0,this._poly.fire("edit"),this._poly._map.fire(L.Draw.Event.EDITVERTEX,{layers:this._markerGroup,poly:this._poly})},_onMarkerDrag:function(n){var o=n.target,a=this._poly,h=L.LatLngUtil.cloneLatLng(o._origLatLng);if(L.extend(o._origLatLng,o._latlng),a.options.poly){var c=a._map._editTooltip;if(!a.options.poly.allowIntersection&&a.intersects()){L.extend(o._origLatLng,h),o.setLatLng(h);var d=a.options.color;a.setStyle({color:this.options.drawError.color}),c&&c.updateContent({text:L.drawLocal.draw.handlers.polyline.error}),setTimeout(function(){a.setStyle({color:d}),c&&c.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext})},1e3)}}o._middleLeft&&o._middleLeft.setLatLng(this._getMiddleLatLng(o._prev,o)),o._middleRight&&o._middleRight.setLatLng(this._getMiddleLatLng(o,o._next)),this._poly._bounds._southWest=L.latLng(1/0,1/0),this._poly._bounds._northEast=L.latLng(-1/0,-1/0);var f=this._poly.getLatLngs();this._poly._convertLatLngs(f,!0),this._poly.redraw(),this._poly.fire("editdrag")},_onMarkerClick:function(n){var o=L.Polygon&&this._poly instanceof L.Polygon?4:3,a=n.target;this._defaultShape().length<o||(this._removeMarker(a),this._updatePrevNext(a._prev,a._next),a._middleLeft&&this._markerGroup.removeLayer(a._middleLeft),a._middleRight&&this._markerGroup.removeLayer(a._middleRight),a._prev&&a._next?this._createMiddleMarker(a._prev,a._next):a._prev?a._next||(a._prev._middleRight=null):a._next._middleLeft=null,this._fireEdit())},_onContextMenu:function(n){var o=n.target;this._poly,this._poly._map.fire(L.Draw.Event.MARKERCONTEXT,{marker:o,layers:this._markerGroup,poly:this._poly}),L.DomEvent.stopPropagation},_onTouchMove:function(n){var o=this._map.mouseEventToLayerPoint(n.originalEvent.touches[0]),a=this._map.layerPointToLatLng(o),h=n.target;L.extend(h._origLatLng,a),h._middleLeft&&h._middleLeft.setLatLng(this._getMiddleLatLng(h._prev,h)),h._middleRight&&h._middleRight.setLatLng(this._getMiddleLatLng(h,h._next)),this._poly.redraw(),this.updateMarkers()},_updateIndexes:function(n,o){this._markerGroup.eachLayer(function(a){a._index>n&&(a._index+=o)})},_createMiddleMarker:function(n,o){var a,h,c,d=this._getMiddleLatLng(n,o),f=this._createMarker(d);f.setOpacity(.6),n._middleRight=o._middleLeft=f,h=function(){f.off("touchmove",h,this);var p=o._index;f._index=p,f.off("click",a,this).on("click",this._onMarkerClick,this),d.lat=f.getLatLng().lat,d.lng=f.getLatLng().lng,this._spliceLatLngs(p,0,d),this._markers.splice(p,0,f),f.setOpacity(1),this._updateIndexes(p,1),o._index++,this._updatePrevNext(n,f),this._updatePrevNext(f,o),this._poly.fire("editstart")},c=function(){f.off("dragstart",h,this),f.off("dragend",c,this),f.off("touchmove",h,this),this._createMiddleMarker(n,f),this._createMiddleMarker(f,o)},a=function(){h.call(this),c.call(this),this._fireEdit()},f.on("click",a,this).on("dragstart",h,this).on("dragend",c,this).on("touchmove",h,this),this._markerGroup.addLayer(f)},_updatePrevNext:function(n,o){n&&(n._next=o),o&&(o._prev=n)},_getMiddleLatLng:function(n,o){var a=this._poly._map,h=a.project(n.getLatLng()),c=a.project(o.getLatLng());return a.unproject(h._add(c)._divideBy(2))}}),L.Polyline.addInitHook(function(){this.editing||(L.Edit.Poly&&(this.editing=new L.Edit.Poly(this),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()}))}),L.Edit=L.Edit||{},L.Edit.SimpleShape=L.Handler.extend({options:{moveIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move"}),resizeIcon:new L.DivIcon({iconSize:new L.Point(8,8),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize"}),touchMoveIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-move leaflet-touch-icon"}),touchResizeIcon:new L.DivIcon({iconSize:new L.Point(20,20),className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize leaflet-touch-icon"})},initialize:function(n,o){L.Browser.touch&&(this.options.moveIcon=this.options.touchMoveIcon,this.options.resizeIcon=this.options.touchResizeIcon),this._shape=n,L.Util.setOptions(this,o)},addHooks:function(){var n=this._shape;this._shape._map&&(this._map=this._shape._map,n.setStyle(n.options.editing),n._map&&(this._map=n._map,this._markerGroup||this._initMarkers(),this._map.addLayer(this._markerGroup)))},removeHooks:function(){var n=this._shape;if(n.setStyle(n.options.original),n._map){this._unbindMarker(this._moveMarker);for(var o=0,a=this._resizeMarkers.length;o<a;o++)this._unbindMarker(this._resizeMarkers[o]);this._resizeMarkers=null,this._map.removeLayer(this._markerGroup),delete this._markerGroup}this._map=null},updateMarkers:function(){this._markerGroup.clearLayers(),this._initMarkers()},_initMarkers:function(){this._markerGroup||(this._markerGroup=new L.LayerGroup),this._createMoveMarker(),this._createResizeMarker()},_createMoveMarker:function(){},_createResizeMarker:function(){},_createMarker:function(n,o){var a=new L.Marker.Touch(n,{draggable:!0,icon:o,zIndexOffset:10});return this._bindMarker(a),this._markerGroup.addLayer(a),a},_bindMarker:function(n){n.on("dragstart",this._onMarkerDragStart,this).on("drag",this._onMarkerDrag,this).on("dragend",this._onMarkerDragEnd,this).on("touchstart",this._onTouchStart,this).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onTouchEnd,this).on("MSPointerUp",this._onTouchEnd,this)},_unbindMarker:function(n){n.off("dragstart",this._onMarkerDragStart,this).off("drag",this._onMarkerDrag,this).off("dragend",this._onMarkerDragEnd,this).off("touchstart",this._onTouchStart,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onTouchEnd,this).off("MSPointerUp",this._onTouchEnd,this)},_onMarkerDragStart:function(n){n.target.setOpacity(0),this._shape.fire("editstart")},_fireEdit:function(){this._shape.edited=!0,this._shape.fire("edit")},_onMarkerDrag:function(n){var o=n.target,a=o.getLatLng();o===this._moveMarker?this._move(a):this._resize(a),this._shape.redraw(),this._shape.fire("editdrag")},_onMarkerDragEnd:function(n){n.target.setOpacity(1),this._fireEdit()},_onTouchStart:function(n){if(L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,n),typeof this._getCorners=="function"){var o=this._getCorners(),a=n.target,h=a._cornerIndex;a.setOpacity(0),this._oppositeCorner=o[(h+2)%4],this._toggleCornerMarkers(0,h)}this._shape.fire("editstart")},_onTouchMove:function(n){var o=this._map.mouseEventToLayerPoint(n.originalEvent.touches[0]),a=this._map.layerPointToLatLng(o);return n.target===this._moveMarker?this._move(a):this._resize(a),this._shape.redraw(),!1},_onTouchEnd:function(n){n.target.setOpacity(1),this.updateMarkers(),this._fireEdit()},_move:function(){},_resize:function(){}}),L.Edit=L.Edit||{},L.Edit.Rectangle=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var n=this._shape.getBounds(),o=n.getCenter();this._moveMarker=this._createMarker(o,this.options.moveIcon)},_createResizeMarker:function(){var n=this._getCorners();this._resizeMarkers=[];for(var o=0,a=n.length;o<a;o++)this._resizeMarkers.push(this._createMarker(n[o],this.options.resizeIcon)),this._resizeMarkers[o]._cornerIndex=o},_onMarkerDragStart:function(n){L.Edit.SimpleShape.prototype._onMarkerDragStart.call(this,n);var o=this._getCorners(),a=n.target,h=a._cornerIndex;this._oppositeCorner=o[(h+2)%4],this._toggleCornerMarkers(0,h)},_onMarkerDragEnd:function(n){var o,a,h=n.target;h===this._moveMarker&&(o=this._shape.getBounds(),a=o.getCenter(),h.setLatLng(a)),this._toggleCornerMarkers(1),this._repositionCornerMarkers(),L.Edit.SimpleShape.prototype._onMarkerDragEnd.call(this,n)},_move:function(n){for(var o,a=this._shape._defaultShape?this._shape._defaultShape():this._shape.getLatLngs(),h=this._shape.getBounds(),c=h.getCenter(),d=[],f=0,p=a.length;f<p;f++)o=[a[f].lat-c.lat,a[f].lng-c.lng],d.push([n.lat+o[0],n.lng+o[1]]);this._shape.setLatLngs(d),this._repositionCornerMarkers(),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})},_resize:function(n){var o;this._shape.setBounds(L.latLngBounds(n,this._oppositeCorner)),o=this._shape.getBounds(),this._moveMarker.setLatLng(o.getCenter()),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})},_getCorners:function(){var n=this._shape.getBounds();return[n.getNorthWest(),n.getNorthEast(),n.getSouthEast(),n.getSouthWest()]},_toggleCornerMarkers:function(n){for(var o=0,a=this._resizeMarkers.length;o<a;o++)this._resizeMarkers[o].setOpacity(n)},_repositionCornerMarkers:function(){for(var n=this._getCorners(),o=0,a=this._resizeMarkers.length;o<a;o++)this._resizeMarkers[o].setLatLng(n[o])}}),L.Rectangle.addInitHook(function(){L.Edit.Rectangle&&(this.editing=new L.Edit.Rectangle(this),this.options.editable&&this.editing.enable())}),L.Edit=L.Edit||{},L.Edit.CircleMarker=L.Edit.SimpleShape.extend({_createMoveMarker:function(){var n=this._shape.getLatLng();this._moveMarker=this._createMarker(n,this.options.moveIcon)},_createResizeMarker:function(){this._resizeMarkers=[]},_move:function(n){if(this._resizeMarkers.length){var o=this._getResizeMarkerPoint(n);this._resizeMarkers[0].setLatLng(o)}this._shape.setLatLng(n),this._map.fire(L.Draw.Event.EDITMOVE,{layer:this._shape})}}),L.CircleMarker.addInitHook(function(){L.Edit.CircleMarker&&(this.editing=new L.Edit.CircleMarker(this),this.options.editable&&this.editing.enable()),this.on("add",function(){this.editing&&this.editing.enabled()&&this.editing.addHooks()}),this.on("remove",function(){this.editing&&this.editing.enabled()&&this.editing.removeHooks()})}),L.Edit=L.Edit||{},L.Edit.Circle=L.Edit.CircleMarker.extend({_createResizeMarker:function(){var n=this._shape.getLatLng(),o=this._getResizeMarkerPoint(n);this._resizeMarkers=[],this._resizeMarkers.push(this._createMarker(o,this.options.resizeIcon))},_getResizeMarkerPoint:function(n){var o=this._shape._radius*Math.cos(Math.PI/4),a=this._map.project(n);return this._map.unproject([a.x+o,a.y-o])},_resize:function(n){var o=this._moveMarker.getLatLng();L.GeometryUtil.isVersion07x()?radius=o.distanceTo(n):radius=this._map.distance(o,n),this._shape.setRadius(radius),this._map.editTooltip&&this._map._editTooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.subtext+"<br />"+L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.draw.handlers.circle.radius+": "+L.GeometryUtil.readableDistance(radius,!0,this.options.feet,this.options.nautic)}),this._shape.setRadius(radius),this._map.fire(L.Draw.Event.EDITRESIZE,{layer:this._shape})}}),L.Circle.addInitHook(function(){L.Edit.Circle&&(this.editing=new L.Edit.Circle(this),this.options.editable&&this.editing.enable())}),L.Map.mergeOptions({touchExtend:!0}),L.Map.TouchExtend=L.Handler.extend({initialize:function(n){this._map=n,this._container=n._container,this._pane=n._panes.overlayPane},addHooks:function(){L.DomEvent.on(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.on(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.on(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.on(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.on(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.on(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.on(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.on(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.on(this._container,"touchleave",this._onTouchLeave,this))},removeHooks:function(){L.DomEvent.off(this._container,"touchstart",this._onTouchStart,this),L.DomEvent.off(this._container,"touchend",this._onTouchEnd,this),L.DomEvent.off(this._container,"touchmove",this._onTouchMove,this),this._detectIE()?(L.DomEvent.off(this._container,"MSPointerDown",this._onTouchStart,this),L.DomEvent.off(this._container,"MSPointerUp",this._onTouchEnd,this),L.DomEvent.off(this._container,"MSPointerMove",this._onTouchMove,this),L.DomEvent.off(this._container,"MSPointerCancel",this._onTouchCancel,this)):(L.DomEvent.off(this._container,"touchcancel",this._onTouchCancel,this),L.DomEvent.off(this._container,"touchleave",this._onTouchLeave,this))},_touchEvent:function(n,o){var a={};if(n.touches!==void 0){if(!n.touches.length)return;a=n.touches[0]}else if(n.pointerType!=="touch"||(a=n,!this._filterClick(n)))return;var h=this._map.mouseEventToContainerPoint(a),c=this._map.mouseEventToLayerPoint(a),d=this._map.layerPointToLatLng(c);this._map.fire(o,{latlng:d,layerPoint:c,containerPoint:h,pageX:a.pageX,pageY:a.pageY,originalEvent:n})},_filterClick:function(n){var o=n.timeStamp||n.originalEvent.timeStamp,a=L.DomEvent._lastClick&&o-L.DomEvent._lastClick;return a&&a>100&&a<500||n.target._simulatedClick&&!n._simulated?(L.DomEvent.stop(n),!1):(L.DomEvent._lastClick=o,!0)},_onTouchStart:function(n){this._map._loaded&&this._touchEvent(n,"touchstart")},_onTouchEnd:function(n){this._map._loaded&&this._touchEvent(n,"touchend")},_onTouchCancel:function(n){if(this._map._loaded){var o="touchcancel";this._detectIE()&&(o="pointercancel"),this._touchEvent(n,o)}},_onTouchLeave:function(n){this._map._loaded&&this._touchEvent(n,"touchleave")},_onTouchMove:function(n){this._map._loaded&&this._touchEvent(n,"touchmove")},_detectIE:function(){var n=r.navigator.userAgent,o=n.indexOf("MSIE ");if(o>0)return parseInt(n.substring(o+5,n.indexOf(".",o)),10);if(n.indexOf("Trident/")>0){var a=n.indexOf("rv:");return parseInt(n.substring(a+3,n.indexOf(".",a)),10)}var h=n.indexOf("Edge/");return h>0&&parseInt(n.substring(h+5,n.indexOf(".",h)),10)}}),L.Map.addInitHook("addHandler","touchExtend",L.Map.TouchExtend),L.Marker.Touch=L.Marker.extend({_initInteraction:function(){return this.addInteractiveTarget?L.Marker.prototype._initInteraction.apply(this):this._initInteractionLegacy()},_initInteractionLegacy:function(){if(this.options.clickable){var n=this._icon,o=["dblclick","mousedown","mouseover","mouseout","contextmenu","touchstart","touchend","touchmove"];this._detectIE?o.concat(["MSPointerDown","MSPointerUp","MSPointerMove","MSPointerCancel"]):o.concat(["touchcancel"]),L.DomUtil.addClass(n,"leaflet-clickable"),L.DomEvent.on(n,"click",this._onMouseClick,this),L.DomEvent.on(n,"keypress",this._onKeyPress,this);for(var a=0;a<o.length;a++)L.DomEvent.on(n,o[a],this._fireMouseEvent,this);L.Handler.MarkerDrag&&(this.dragging=new L.Handler.MarkerDrag(this),this.options.draggable&&this.dragging.enable())}},_detectIE:function(){var n=r.navigator.userAgent,o=n.indexOf("MSIE ");if(o>0)return parseInt(n.substring(o+5,n.indexOf(".",o)),10);if(n.indexOf("Trident/")>0){var a=n.indexOf("rv:");return parseInt(n.substring(a+3,n.indexOf(".",a)),10)}var h=n.indexOf("Edge/");return h>0&&parseInt(n.substring(h+5,n.indexOf(".",h)),10)}}),L.LatLngUtil={cloneLatLngs:function(n){for(var o=[],a=0,h=n.length;a<h;a++)Array.isArray(n[a])?o.push(L.LatLngUtil.cloneLatLngs(n[a])):o.push(this.cloneLatLng(n[a]));return o},cloneLatLng:function(n){return L.latLng(n.lat,n.lng)}},function(){var n={km:2,ha:2,m:0,mi:2,ac:2,yd:0,ft:0,nm:2};L.GeometryUtil=L.extend(L.GeometryUtil||{},{geodesicArea:function(o){var a,h,c=o.length,d=0,f=Math.PI/180;if(c>2){for(var p=0;p<c;p++)a=o[p],h=o[(p+1)%c],d+=(h.lng-a.lng)*f*(2+Math.sin(a.lat*f)+Math.sin(h.lat*f));d=6378137*d*6378137/2}return Math.abs(d)},formattedNumber:function(o,a){var h=parseFloat(o).toFixed(a),c=L.drawLocal.format&&L.drawLocal.format.numeric,d=c&&c.delimiters,f=d&&d.thousands,p=d&&d.decimal;if(f||p){var _=h.split(".");h=f?_[0].replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f):_[0],p=p||".",_.length>1&&(h=h+p+_[1])}return h},readableArea:function(o,a,f){var c,d,f=L.Util.extend({},n,f);return a?(d=["ha","m"],type=typeof a,type==="string"?d=[a]:type!=="boolean"&&(d=a),c=o>=1e6&&d.indexOf("km")!==-1?L.GeometryUtil.formattedNumber(1e-6*o,f.km)+" km²":o>=1e4&&d.indexOf("ha")!==-1?L.GeometryUtil.formattedNumber(1e-4*o,f.ha)+" ha":L.GeometryUtil.formattedNumber(o,f.m)+" m²"):(o/=.836127,c=o>=3097600?L.GeometryUtil.formattedNumber(o/3097600,f.mi)+" mi²":o>=4840?L.GeometryUtil.formattedNumber(o/4840,f.ac)+" acres":L.GeometryUtil.formattedNumber(o,f.yd)+" yd²"),c},readableDistance:function(o,a,h,c,p){var f,p=L.Util.extend({},n,p);switch(a?typeof a=="string"?a:"metric":h?"feet":c?"nauticalMile":"yards"){case"metric":f=o>1e3?L.GeometryUtil.formattedNumber(o/1e3,p.km)+" km":L.GeometryUtil.formattedNumber(o,p.m)+" m";break;case"feet":o*=3.28083,f=L.GeometryUtil.formattedNumber(o,p.ft)+" ft";break;case"nauticalMile":o*=.53996,f=L.GeometryUtil.formattedNumber(o/1e3,p.nm)+" nm";break;case"yards":default:o*=1.09361,f=o>1760?L.GeometryUtil.formattedNumber(o/1760,p.mi)+" miles":L.GeometryUtil.formattedNumber(o,p.yd)+" yd"}return f},isVersion07x:function(){var o=L.version.split(".");return parseInt(o[0],10)===0&&parseInt(o[1],10)===7}})}(),L.Util.extend(L.LineUtil,{segmentsIntersect:function(n,o,a,h){return this._checkCounterclockwise(n,a,h)!==this._checkCounterclockwise(o,a,h)&&this._checkCounterclockwise(n,o,a)!==this._checkCounterclockwise(n,o,h)},_checkCounterclockwise:function(n,o,a){return(a.y-n.y)*(o.x-n.x)>(o.y-n.y)*(a.x-n.x)}}),L.Polyline.include({intersects:function(){var n,o,a,h=this._getProjectedPoints(),c=h?h.length:0;if(this._tooFewPointsForIntersection())return!1;for(n=c-1;n>=3;n--)if(o=h[n-1],a=h[n],this._lineSegmentsIntersectsRange(o,a,n-2))return!0;return!1},newLatLngIntersects:function(n,o){return!!this._map&&this.newPointIntersects(this._map.latLngToLayerPoint(n),o)},newPointIntersects:function(n,o){var a=this._getProjectedPoints(),h=a?a.length:0,c=a?a[h-1]:null,d=h-2;return!this._tooFewPointsForIntersection(1)&&this._lineSegmentsIntersectsRange(c,n,d,o?1:0)},_tooFewPointsForIntersection:function(n){var o=this._getProjectedPoints(),a=o?o.length:0;return a+=n||0,!o||a<=3},_lineSegmentsIntersectsRange:function(n,o,a,h){var c,d,f=this._getProjectedPoints();h=h||0;for(var p=a;p>h;p--)if(c=f[p-1],d=f[p],L.LineUtil.segmentsIntersect(n,o,c,d))return!0;return!1},_getProjectedPoints:function(){if(!this._defaultShape)return this._originalPoints;for(var n=[],o=this._defaultShape(),a=0;a<o.length;a++)n.push(this._map.latLngToLayerPoint(o[a]));return n}}),L.Polygon.include({intersects:function(){var n,o,a,h,c=this._getProjectedPoints();return!this._tooFewPointsForIntersection()&&(!!L.Polyline.prototype.intersects.call(this)||(n=c.length,o=c[0],a=c[n-1],h=n-2,this._lineSegmentsIntersectsRange(a,o,h,1)))}}),L.Control.Draw=L.Control.extend({options:{position:"topleft",draw:{},edit:!1},initialize:function(n){if(L.version<"0.7")throw new Error("Leaflet.draw 0.2.3+ requires Leaflet 0.7.0+. Download latest from https://github.com/Leaflet/Leaflet/");L.Control.prototype.initialize.call(this,n);var o;this._toolbars={},L.DrawToolbar&&this.options.draw&&(o=new L.DrawToolbar(this.options.draw),this._toolbars[L.DrawToolbar.TYPE]=o,this._toolbars[L.DrawToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.EditToolbar&&this.options.edit&&(o=new L.EditToolbar(this.options.edit),this._toolbars[L.EditToolbar.TYPE]=o,this._toolbars[L.EditToolbar.TYPE].on("enable",this._toolbarEnabled,this)),L.toolbar=this},onAdd:function(n){var o,a=L.DomUtil.create("div","leaflet-draw"),h=!1;for(var c in this._toolbars)this._toolbars.hasOwnProperty(c)&&(o=this._toolbars[c].addToolbar(n))&&(h||(L.DomUtil.hasClass(o,"leaflet-draw-toolbar-top")||L.DomUtil.addClass(o.childNodes[0],"leaflet-draw-toolbar-top"),h=!0),a.appendChild(o));return a},onRemove:function(){for(var n in this._toolbars)this._toolbars.hasOwnProperty(n)&&this._toolbars[n].removeToolbar()},setDrawingOptions:function(n){for(var o in this._toolbars)this._toolbars[o]instanceof L.DrawToolbar&&this._toolbars[o].setOptions(n)},_toolbarEnabled:function(n){var o=n.target;for(var a in this._toolbars)this._toolbars[a]!==o&&this._toolbars[a].disable()}}),L.Map.mergeOptions({drawControlTooltips:!0,drawControl:!1}),L.Map.addInitHook(function(){this.options.drawControl&&(this.drawControl=new L.Control.Draw,this.addControl(this.drawControl))}),L.Toolbar=L.Class.extend({initialize:function(n){L.setOptions(this,n),this._modes={},this._actionButtons=[],this._activeMode=null;var o=L.version.split(".");parseInt(o[0],10)===1&&parseInt(o[1],10)>=2?L.Toolbar.include(L.Evented.prototype):L.Toolbar.include(L.Mixin.Events)},enabled:function(){return this._activeMode!==null},disable:function(){this.enabled()&&this._activeMode.handler.disable()},addToolbar:function(n){var o,a=L.DomUtil.create("div","leaflet-draw-section"),h=0,c=this._toolbarClass||"",d=this.getModeHandlers(n);for(this._toolbarContainer=L.DomUtil.create("div","leaflet-draw-toolbar leaflet-bar"),this._map=n,o=0;o<d.length;o++)d[o].enabled&&this._initModeHandler(d[o].handler,this._toolbarContainer,h++,c,d[o].title);if(h)return this._lastButtonIndex=--h,this._actionsContainer=L.DomUtil.create("ul","leaflet-draw-actions"),a.appendChild(this._toolbarContainer),a.appendChild(this._actionsContainer),a},removeToolbar:function(){for(var n in this._modes)this._modes.hasOwnProperty(n)&&(this._disposeButton(this._modes[n].button,this._modes[n].handler.enable,this._modes[n].handler),this._modes[n].handler.disable(),this._modes[n].handler.off("enabled",this._handlerActivated,this).off("disabled",this._handlerDeactivated,this));this._modes={};for(var o=0,a=this._actionButtons.length;o<a;o++)this._disposeButton(this._actionButtons[o].button,this._actionButtons[o].callback,this);this._actionButtons=[],this._actionsContainer=null},_initModeHandler:function(n,o,a,h,c){var d=n.type;this._modes[d]={},this._modes[d].handler=n,this._modes[d].button=this._createButton({type:d,title:c,className:h+"-"+d,container:o,callback:this._modes[d].handler.enable,context:this._modes[d].handler}),this._modes[d].buttonIndex=a,this._modes[d].handler.on("enabled",this._handlerActivated,this).on("disabled",this._handlerDeactivated,this)},_detectIOS:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!r.MSStream},_createButton:function(n){var o=L.DomUtil.create("a",n.className||"",n.container),a=L.DomUtil.create("span","sr-only",n.container);o.href="#",o.appendChild(a),n.title&&(o.title=n.title,a.innerHTML=n.title),n.text&&(o.innerHTML=n.text,a.innerHTML=n.text);var h=this._detectIOS()?"touchstart":"click";return L.DomEvent.on(o,"click",L.DomEvent.stopPropagation).on(o,"mousedown",L.DomEvent.stopPropagation).on(o,"dblclick",L.DomEvent.stopPropagation).on(o,"touchstart",L.DomEvent.stopPropagation).on(o,"click",L.DomEvent.preventDefault).on(o,h,n.callback,n.context),o},_disposeButton:function(n,o){var a=this._detectIOS()?"touchstart":"click";L.DomEvent.off(n,"click",L.DomEvent.stopPropagation).off(n,"mousedown",L.DomEvent.stopPropagation).off(n,"dblclick",L.DomEvent.stopPropagation).off(n,"touchstart",L.DomEvent.stopPropagation).off(n,"click",L.DomEvent.preventDefault).off(n,a,o)},_handlerActivated:function(n){this.disable(),this._activeMode=this._modes[n.handler],L.DomUtil.addClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._showActionsToolbar(),this.fire("enable")},_handlerDeactivated:function(){this._hideActionsToolbar(),L.DomUtil.removeClass(this._activeMode.button,"leaflet-draw-toolbar-button-enabled"),this._activeMode=null,this.fire("disable")},_createActions:function(n){var o,a,h,c,d=this._actionsContainer,f=this.getActions(n),p=f.length;for(a=0,h=this._actionButtons.length;a<h;a++)this._disposeButton(this._actionButtons[a].button,this._actionButtons[a].callback);for(this._actionButtons=[];d.firstChild;)d.removeChild(d.firstChild);for(var _=0;_<p;_++)"enabled"in f[_]&&!f[_].enabled||(o=L.DomUtil.create("li","",d),c=this._createButton({title:f[_].title,text:f[_].text,container:o,callback:f[_].callback,context:f[_].context}),this._actionButtons.push({button:c,callback:f[_].callback}))},_showActionsToolbar:function(){var n=this._activeMode.buttonIndex,o=this._lastButtonIndex,a=this._activeMode.button.offsetTop-1;this._createActions(this._activeMode.handler),this._actionsContainer.style.top=a+"px",n===0&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-top")),n===o&&(L.DomUtil.addClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.addClass(this._actionsContainer,"leaflet-draw-actions-bottom")),this._actionsContainer.style.display="block",this._map.fire(L.Draw.Event.TOOLBAROPENED)},_hideActionsToolbar:function(){this._actionsContainer.style.display="none",L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-notop"),L.DomUtil.removeClass(this._toolbarContainer,"leaflet-draw-toolbar-nobottom"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-top"),L.DomUtil.removeClass(this._actionsContainer,"leaflet-draw-actions-bottom"),this._map.fire(L.Draw.Event.TOOLBARCLOSED)}}),L.Draw=L.Draw||{},L.Draw.Tooltip=L.Class.extend({initialize:function(n){this._map=n,this._popupPane=n._panes.popupPane,this._visible=!1,this._container=n.options.drawControlTooltips?L.DomUtil.create("div","leaflet-draw-tooltip",this._popupPane):null,this._singleLineLabel=!1,this._map.on("mouseout",this._onMouseOut,this)},dispose:function(){this._map.off("mouseout",this._onMouseOut,this),this._container&&(this._popupPane.removeChild(this._container),this._container=null)},updateContent:function(n){return this._container?(n.subtext=n.subtext||"",n.subtext.length!==0||this._singleLineLabel?n.subtext.length>0&&this._singleLineLabel&&(L.DomUtil.removeClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!1):(L.DomUtil.addClass(this._container,"leaflet-draw-tooltip-single"),this._singleLineLabel=!0),this._container.innerHTML=(n.subtext.length>0?'<span class="leaflet-draw-tooltip-subtext">'+n.subtext+"</span><br />":"")+"<span>"+n.text+"</span>",n.text||n.subtext?(this._visible=!0,this._container.style.visibility="inherit"):(this._visible=!1,this._container.style.visibility="hidden"),this):this},updatePosition:function(n){var o=this._map.latLngToLayerPoint(n),a=this._container;return this._container&&(this._visible&&(a.style.visibility="inherit"),L.DomUtil.setPosition(a,o)),this},showAsError:function(){return this._container&&L.DomUtil.addClass(this._container,"leaflet-error-draw-tooltip"),this},removeError:function(){return this._container&&L.DomUtil.removeClass(this._container,"leaflet-error-draw-tooltip"),this},_onMouseOut:function(){this._container&&(this._container.style.visibility="hidden")}}),L.DrawToolbar=L.Toolbar.extend({statics:{TYPE:"draw"},options:{polyline:{},polygon:{},rectangle:{},circle:{},marker:{},circlemarker:{}},initialize:function(n){for(var o in this.options)this.options.hasOwnProperty(o)&&n[o]&&(n[o]=L.extend({},this.options[o],n[o]));this._toolbarClass="leaflet-draw-draw",L.Toolbar.prototype.initialize.call(this,n)},getModeHandlers:function(n){return[{enabled:this.options.polyline,handler:new L.Draw.Polyline(n,this.options.polyline),title:L.drawLocal.draw.toolbar.buttons.polyline},{enabled:this.options.polygon,handler:new L.Draw.Polygon(n,this.options.polygon),title:L.drawLocal.draw.toolbar.buttons.polygon},{enabled:this.options.rectangle,handler:new L.Draw.Rectangle(n,this.options.rectangle),title:L.drawLocal.draw.toolbar.buttons.rectangle},{enabled:this.options.circle,handler:new L.Draw.Circle(n,this.options.circle),title:L.drawLocal.draw.toolbar.buttons.circle},{enabled:this.options.marker,handler:new L.Draw.Marker(n,this.options.marker),title:L.drawLocal.draw.toolbar.buttons.marker},{enabled:this.options.circlemarker,handler:new L.Draw.CircleMarker(n,this.options.circlemarker),title:L.drawLocal.draw.toolbar.buttons.circlemarker}]},getActions:function(n){return[{enabled:n.completeShape,title:L.drawLocal.draw.toolbar.finish.title,text:L.drawLocal.draw.toolbar.finish.text,callback:n.completeShape,context:n},{enabled:n.deleteLastVertex,title:L.drawLocal.draw.toolbar.undo.title,text:L.drawLocal.draw.toolbar.undo.text,callback:n.deleteLastVertex,context:n},{title:L.drawLocal.draw.toolbar.actions.title,text:L.drawLocal.draw.toolbar.actions.text,callback:this.disable,context:this}]},setOptions:function(n){L.setOptions(this,n);for(var o in this._modes)this._modes.hasOwnProperty(o)&&n.hasOwnProperty(o)&&this._modes[o].handler.setOptions(n[o])}}),L.EditToolbar=L.Toolbar.extend({statics:{TYPE:"edit"},options:{edit:{selectedPathOptions:{dashArray:"10, 10",fill:!0,fillColor:"#fe57a1",fillOpacity:.1,maintainColor:!1}},remove:{},poly:null,featureGroup:null},initialize:function(n){n.edit&&(n.edit.selectedPathOptions===void 0&&(n.edit.selectedPathOptions=this.options.edit.selectedPathOptions),n.edit.selectedPathOptions=L.extend({},this.options.edit.selectedPathOptions,n.edit.selectedPathOptions)),n.remove&&(n.remove=L.extend({},this.options.remove,n.remove)),n.poly&&(n.poly=L.extend({},this.options.poly,n.poly)),this._toolbarClass="leaflet-draw-edit",L.Toolbar.prototype.initialize.call(this,n),this._selectedFeatureCount=0},getModeHandlers:function(n){var o=this.options.featureGroup;return[{enabled:this.options.edit,handler:new L.EditToolbar.Edit(n,{featureGroup:o,selectedPathOptions:this.options.edit.selectedPathOptions,poly:this.options.poly}),title:L.drawLocal.edit.toolbar.buttons.edit},{enabled:this.options.remove,handler:new L.EditToolbar.Delete(n,{featureGroup:o}),title:L.drawLocal.edit.toolbar.buttons.remove}]},getActions:function(n){var o=[{title:L.drawLocal.edit.toolbar.actions.save.title,text:L.drawLocal.edit.toolbar.actions.save.text,callback:this._save,context:this},{title:L.drawLocal.edit.toolbar.actions.cancel.title,text:L.drawLocal.edit.toolbar.actions.cancel.text,callback:this.disable,context:this}];return n.removeAllLayers&&o.push({title:L.drawLocal.edit.toolbar.actions.clearAll.title,text:L.drawLocal.edit.toolbar.actions.clearAll.text,callback:this._clearAllLayers,context:this}),o},addToolbar:function(n){var o=L.Toolbar.prototype.addToolbar.call(this,n);return this._checkDisabled(),this.options.featureGroup.on("layeradd layerremove",this._checkDisabled,this),o},removeToolbar:function(){this.options.featureGroup.off("layeradd layerremove",this._checkDisabled,this),L.Toolbar.prototype.removeToolbar.call(this)},disable:function(){this.enabled()&&(this._activeMode.handler.revertLayers(),L.Toolbar.prototype.disable.call(this))},_save:function(){this._activeMode.handler.save(),this._activeMode&&this._activeMode.handler.disable()},_clearAllLayers:function(){this._activeMode.handler.removeAllLayers(),this._activeMode&&this._activeMode.handler.disable()},_checkDisabled:function(){var n,o=this.options.featureGroup,a=o.getLayers().length!==0;this.options.edit&&(n=this._modes[L.EditToolbar.Edit.TYPE].button,a?L.DomUtil.removeClass(n,"leaflet-disabled"):L.DomUtil.addClass(n,"leaflet-disabled"),n.setAttribute("title",a?L.drawLocal.edit.toolbar.buttons.edit:L.drawLocal.edit.toolbar.buttons.editDisabled)),this.options.remove&&(n=this._modes[L.EditToolbar.Delete.TYPE].button,a?L.DomUtil.removeClass(n,"leaflet-disabled"):L.DomUtil.addClass(n,"leaflet-disabled"),n.setAttribute("title",a?L.drawLocal.edit.toolbar.buttons.remove:L.drawLocal.edit.toolbar.buttons.removeDisabled))}}),L.EditToolbar.Edit=L.Handler.extend({statics:{TYPE:"edit"},initialize:function(n,o){if(L.Handler.prototype.initialize.call(this,n),L.setOptions(this,o),this._featureGroup=o.featureGroup,!(this._featureGroup instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this._uneditedLayerProps={},this.type=L.EditToolbar.Edit.TYPE;var a=L.version.split(".");parseInt(a[0],10)===1&&parseInt(a[1],10)>=2?L.EditToolbar.Edit.include(L.Evented.prototype):L.EditToolbar.Edit.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.EDITSTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._featureGroup.on("layeradd",this._enableLayerEdit,this).on("layerremove",this._disableLayerEdit,this))},disable:function(){this._enabled&&(this._featureGroup.off("layeradd",this._enableLayerEdit,this).off("layerremove",this._disableLayerEdit,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.EDITSTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var n=this._map;n&&(n.getContainer().focus(),this._featureGroup.eachLayer(this._enableLayerEdit,this),this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}),n._editTooltip=this._tooltip,this._updateTooltip(),this._map.on("mousemove",this._onMouseMove,this).on("touchmove",this._onMouseMove,this).on("MSPointerMove",this._onMouseMove,this).on(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},removeHooks:function(){this._map&&(this._featureGroup.eachLayer(this._disableLayerEdit,this),this._uneditedLayerProps={},this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this).off("touchmove",this._onMouseMove,this).off("MSPointerMove",this._onMouseMove,this).off(L.Draw.Event.EDITVERTEX,this._updateTooltip,this))},revertLayers:function(){this._featureGroup.eachLayer(function(n){this._revertLayer(n)},this)},save:function(){var n=new L.LayerGroup;this._featureGroup.eachLayer(function(o){o.edited&&(n.addLayer(o),o.edited=!1)}),this._map.fire(L.Draw.Event.EDITED,{layers:n})},_backupLayer:function(n){var o=L.Util.stamp(n);this._uneditedLayerProps[o]||(n instanceof L.Polyline||n instanceof L.Polygon||n instanceof L.Rectangle?this._uneditedLayerProps[o]={latlngs:L.LatLngUtil.cloneLatLngs(n.getLatLngs())}:n instanceof L.Circle?this._uneditedLayerProps[o]={latlng:L.LatLngUtil.cloneLatLng(n.getLatLng()),radius:n.getRadius()}:(n instanceof L.Marker||n instanceof L.CircleMarker)&&(this._uneditedLayerProps[o]={latlng:L.LatLngUtil.cloneLatLng(n.getLatLng())}))},_getTooltipText:function(){return{text:L.drawLocal.edit.handlers.edit.tooltip.text,subtext:L.drawLocal.edit.handlers.edit.tooltip.subtext}},_updateTooltip:function(){this._tooltip.updateContent(this._getTooltipText())},_revertLayer:function(n){var o=L.Util.stamp(n);n.edited=!1,this._uneditedLayerProps.hasOwnProperty(o)&&(n instanceof L.Polyline||n instanceof L.Polygon||n instanceof L.Rectangle?n.setLatLngs(this._uneditedLayerProps[o].latlngs):n instanceof L.Circle?(n.setLatLng(this._uneditedLayerProps[o].latlng),n.setRadius(this._uneditedLayerProps[o].radius)):(n instanceof L.Marker||n instanceof L.CircleMarker)&&n.setLatLng(this._uneditedLayerProps[o].latlng),n.fire("revert-edited",{layer:n}))},_enableLayerEdit:function(n){var o,a,h=n.layer||n.target||n;this._backupLayer(h),this.options.poly&&(a=L.Util.extend({},this.options.poly),h.options.poly=a),this.options.selectedPathOptions&&(o=L.Util.extend({},this.options.selectedPathOptions),o.maintainColor&&(o.color=h.options.color,o.fillColor=h.options.fillColor),h.options.original=L.extend({},h.options),h.options.editing=o),h instanceof L.Marker?(h.editing&&h.editing.enable(),h.dragging.enable(),h.on("dragend",this._onMarkerDragEnd).on("touchmove",this._onTouchMove,this).on("MSPointerMove",this._onTouchMove,this).on("touchend",this._onMarkerDragEnd,this).on("MSPointerUp",this._onMarkerDragEnd,this)):h.editing.enable()},_disableLayerEdit:function(n){var o=n.layer||n.target||n;o.edited=!1,o.editing&&o.editing.disable(),delete o.options.editing,delete o.options.original,this._selectedPathOptions&&(o instanceof L.Marker?this._toggleMarkerHighlight(o):(o.setStyle(o.options.previousOptions),delete o.options.previousOptions)),o instanceof L.Marker?(o.dragging.disable(),o.off("dragend",this._onMarkerDragEnd,this).off("touchmove",this._onTouchMove,this).off("MSPointerMove",this._onTouchMove,this).off("touchend",this._onMarkerDragEnd,this).off("MSPointerUp",this._onMarkerDragEnd,this)):o.editing.disable()},_onMouseMove:function(n){this._tooltip.updatePosition(n.latlng)},_onMarkerDragEnd:function(n){var o=n.target;o.edited=!0,this._map.fire(L.Draw.Event.EDITMOVE,{layer:o})},_onTouchMove:function(n){var o=n.originalEvent.changedTouches[0],a=this._map.mouseEventToLayerPoint(o),h=this._map.layerPointToLatLng(a);n.target.setLatLng(h)},_hasAvailableLayers:function(){return this._featureGroup.getLayers().length!==0}}),L.EditToolbar.Delete=L.Handler.extend({statics:{TYPE:"remove"},initialize:function(n,o){if(L.Handler.prototype.initialize.call(this,n),L.Util.setOptions(this,o),this._deletableLayers=this.options.featureGroup,!(this._deletableLayers instanceof L.FeatureGroup))throw new Error("options.featureGroup must be a L.FeatureGroup");this.type=L.EditToolbar.Delete.TYPE;var a=L.version.split(".");parseInt(a[0],10)===1&&parseInt(a[1],10)>=2?L.EditToolbar.Delete.include(L.Evented.prototype):L.EditToolbar.Delete.include(L.Mixin.Events)},enable:function(){!this._enabled&&this._hasAvailableLayers()&&(this.fire("enabled",{handler:this.type}),this._map.fire(L.Draw.Event.DELETESTART,{handler:this.type}),L.Handler.prototype.enable.call(this),this._deletableLayers.on("layeradd",this._enableLayerDelete,this).on("layerremove",this._disableLayerDelete,this))},disable:function(){this._enabled&&(this._deletableLayers.off("layeradd",this._enableLayerDelete,this).off("layerremove",this._disableLayerDelete,this),L.Handler.prototype.disable.call(this),this._map.fire(L.Draw.Event.DELETESTOP,{handler:this.type}),this.fire("disabled",{handler:this.type}))},addHooks:function(){var n=this._map;n&&(n.getContainer().focus(),this._deletableLayers.eachLayer(this._enableLayerDelete,this),this._deletedLayers=new L.LayerGroup,this._tooltip=new L.Draw.Tooltip(this._map),this._tooltip.updateContent({text:L.drawLocal.edit.handlers.remove.tooltip.text}),this._map.on("mousemove",this._onMouseMove,this))},removeHooks:function(){this._map&&(this._deletableLayers.eachLayer(this._disableLayerDelete,this),this._deletedLayers=null,this._tooltip.dispose(),this._tooltip=null,this._map.off("mousemove",this._onMouseMove,this))},revertLayers:function(){this._deletedLayers.eachLayer(function(n){this._deletableLayers.addLayer(n),n.fire("revert-deleted",{layer:n})},this)},save:function(){this._map.fire(L.Draw.Event.DELETED,{layers:this._deletedLayers})},removeAllLayers:function(){this._deletableLayers.eachLayer(function(n){this._removeLayer({layer:n})},this),this.save()},_enableLayerDelete:function(n){(n.layer||n.target||n).on("click",this._removeLayer,this)},_disableLayerDelete:function(n){var o=n.layer||n.target||n;o.off("click",this._removeLayer,this),this._deletedLayers.removeLayer(o)},_removeLayer:function(n){var o=n.layer||n.target||n;this._deletableLayers.removeLayer(o),this._deletedLayers.addLayer(o),o.fire("deleted")},_onMouseMove:function(n){this._tooltip.updatePosition(n.latlng)},_hasAvailableLayers:function(){return this._deletableLayers.getLayers().length!==0}})})(window,document);const FE="";var Xg={draw:{toolbar:{actions:{title:"መሳል ተው",text:"ተው"},finish:{title:"መሳል ጨርስ",text:"ጨርስ"},undo:{title:"መጨረሻ የተሳለውን ነጥብ አጥፋ",text:"መጨረሻ የተሳለውን ነጥብ አጥፋ"},buttons:{polyline:"ፖሊላየን ሳል",polygon:"ፖሊጎን ሳል",rectangle:"አራት መአዘን ሳል",circle:"ክብ ሳል",marker:"ምልክት ሳል",circlemarker:"ክብ ምልክት ሳል"}},handlers:{circle:{tooltip:{start:"ክብ ለመሳል ተጭንው ይጎትቱ"},radius:"ራዲየስ"},circlemarker:{tooltip:{start:"ክብ ምልክት ለመሳል ካርታውን ይጫኑ ይጎትቱ"}},marker:{tooltip:{start:"ምልክት ለመሳል ካርታውን ይጫኑ ይጎትቱ"}},polygon:{tooltip:{start:"ቅርጽን ለመሳል ካርታውን ተጭነው ይጎትቱ",cont:"ቅርጽን መሳሎን ለመቀጠል ይጫኑ",end:"ቅርጽን ስሎ ለመጨረስ የመጀመሪያውን ነጥብ ይጫኑ"}},polyline:{error:"<strong>ስህተት:</strong> መስመሮች እርስ በእርስ መተላለፍ አይችሉም!",tooltip:{start:"መስመር ለመሳል ካርታውን ተጭነው ይጎትቱ",cont:"መስመር መሳሎን ለመቀጠል ይጫኑ",end:"መስመር ስሎ ለመጨረስ የመጨረሻውን ነጥብ ይጫኑ"}},rectangle:{tooltip:{start:"ዐራት መአዝን ለመሳል ካርታውን ይጫኑ ይጎትቱ"}},simpleshape:{tooltip:{end:"ስለው ለመጨረስ አይጤን ይልቀቁ"}}}},edit:{toolbar:{actions:{save:{title:"ለውጦቹን አኑር",text:"አኑር"},cancel:{title:"ማስተካከሉን ተው፣ ሁሉንም ለውጦች ሰርዝ",text:"ተው"},clearAll:{title:"ሁሉንም የካርታ ገጾች አጥፋ",text:"ሁሉንም አጥፋ"}},buttons:{edit:"የካርታ ገጽ አስተካክል",editDisabled:"የሚስተካከል የካርታ ገጽ የለም",remove:"የካርታ ገጽ ሰርዝ.",removeDisabled:"የሚሰረዝ የካርታ ገጽ የለም"}},handlers:{edit:{tooltip:{text:"ለማስተካከል ምልክቱን ወይም መያዣውን ይጎትቱ",subtext:"ለውጥጡን ለመተው ተው የሚለውን ይጫኑ"}},remove:{tooltip:{text:"ማጥፋት የፈለጉትን ይጫኑ"}}}}},Zg={draw:{toolbar:{actions:{title:"Zrušit kreslení",text:"Zrušit"},finish:{title:"Dokončit kreslení",text:"Dokončit"},undo:{title:"Smazat poslední nakreslený bod",text:"Smazat poslední bod"},buttons:{polyline:"Nakreslit mnohoúhelník",polygon:"Nakreslit polygon",rectangle:"Nakreslit obdélník",circle:"Nakreslit kruh",marker:"Nakreslit značku",circlemarker:"Nakreslit kruhovou značku"}},handlers:{circle:{tooltip:{start:"Kliknout a táhnout pro nakreslení kruhu."},radius:"Poloměr"},circlemarker:{tooltip:{start:"Kliknout do mapy pro umístění kruhové značky."}},marker:{tooltip:{start:"Kliknout do mapy pro umístění značky."}},polygon:{tooltip:{start:"Kliknout pro začátek kreslení tvaru.",cont:"Kliknout pro pokračování v kreslení tvaru.",end:"Kliknout na pvní bod k uzavření tvaru."}},polyline:{error:"<strong>Chyba:</strong> hrany tvaru se nemohou protínat!",tooltip:{start:"Kliknout pro začátek kreslení úsečky.",cont:"Kliknout pro pokračování v kreslení úsečky.",end:"Kliknout na koncový bod k ukončení kreslení úsečky."}},rectangle:{tooltip:{start:"Kliknout a táhnout k nakreslení obdélníku."}},simpleshape:{tooltip:{end:"Pustit myš k dokončení kreslení."}}}},edit:{toolbar:{actions:{save:{title:"Uložit změny.",text:"Uložit"},cancel:{title:"Zrušit úpravu, zruší všechny změny.",text:"Zrušit"},clearAll:{title:"Vymazat všechny vrstvy.",text:"Vymazat vše"}},buttons:{edit:"Upravit vrstvy.",editDisabled:"Žádné vrstvy k úpravě.",remove:"Vymazat vrstvy.",removeDisabled:"Žádná vrstva k vymazání."}},handlers:{edit:{tooltip:{text:"Táhnout za úchopy pro editaci tvaru.",subtext:"Kliknutím na zrušit vrátite změny."}},remove:{tooltip:{text:"Kliknout na tvar pro smazání"}}}}},Vg={draw:{toolbar:{actions:{title:"Zeichnung abbrechen",text:"Abbrechen"},finish:{title:"Zeichnung fertigstellen",text:"Fertigstellen"},undo:{title:"Lösche den zuletzt gezeichneten Punkt",text:"Letzter Punkt löschen"},buttons:{polyline:"Zeichne eine Linie",polygon:"Zeichne ein Polygon",rectangle:"Zeichne ein Rechteck",circle:"Zeichne einen Kreis",marker:"Zeichne einen Marker",circlemarker:"Zeichne einen Kreis-Marker"}},handlers:{circle:{tooltip:{start:"Klicken und ziehen um einen Kreis zu zeichnen."},radius:"Radius"},circlemarker:{tooltip:{start:"Karte anklicken um einen Kreis-Marker zu platzieren."}},marker:{tooltip:{start:"Karte anklicken um einen Marker zu platzieren."}},polygon:{tooltip:{start:"Klicken um mit dem Zeichnen einer Form zu beginnen.",cont:"Klicken um mit dem Zeichnen dieser Form fortzufahren.",end:"Erster Punkt anklicken um diese Form abzuschliessen."}},polyline:{error:"<strong>Fehler:</strong> Form-Ecken dürfen sich nicht überschneiden!",tooltip:{start:"Klicken um mit dem Zeichnen einer Linie zu beginnen.",cont:"Klicken um mit dem Zeichnen dieser Linie fortzufahren.",end:"Erster Punkt anklicken um diese Linie abzuschliessen."}},rectangle:{tooltip:{start:"Klicken und ziehen um ein Rechteck zu zeichnen."}},simpleshape:{tooltip:{end:"Maustaste loslassen um die Zeichnung fertigzustellen."}}}},edit:{toolbar:{actions:{save:{title:"Speichere Änderungen.",text:"Speichern"},cancel:{title:"Bearbeitung abbrechen, alle Änderungen verwerfen.",text:"Abbrechen"},clearAll:{title:"Alle Layer bereinigen.",text:"Alles bereinigen"}},buttons:{edit:"Layer bearbeiten.",editDisabled:"Keine Layer zum bearbeiten.",remove:"Layer löschen.",removeDisabled:"Keine Layer zum löschen."}},handlers:{edit:{tooltip:{text:"Ziehe den Griff oder den Marker um die Eigenschaft zu bearbeiten.",subtext:"Klicke abbrechen um Änderungen rückgängig zu machen."}},remove:{tooltip:{text:"Klicke auf eine Eigenschaft um diese zu entfernen."}}}}},Wh={draw:{toolbar:{actions:{title:"Cancel drawing",text:"Cancel"},finish:{title:"Finish drawing",text:"Finish"},undo:{title:"Delete last point drawn",text:"Delete last point"},buttons:{polyline:"Draw a polyline",polygon:"Draw a polygon",rectangle:"Draw a rectangle",circle:"Draw a circle",marker:"Draw a marker",circlemarker:"Draw a circlemarker"}},handlers:{circle:{tooltip:{start:"Click and drag to draw circle."},radius:"Radius"},circlemarker:{tooltip:{start:"Click map to place circle marker."}},marker:{tooltip:{start:"Click map to place marker."}},polygon:{tooltip:{start:"Click to start drawing shape.",cont:"Click to continue drawing shape.",end:"Click first point to close this shape."}},polyline:{error:"<strong>Error:</strong> shape edges cannot cross!",tooltip:{start:"Click to start drawing line.",cont:"Click to continue drawing line.",end:"Click last point to finish line."}},rectangle:{tooltip:{start:"Click and drag to draw rectangle."}},simpleshape:{tooltip:{end:"Release mouse to finish drawing."}}}},edit:{toolbar:{actions:{save:{title:"Save changes.",text:"Save"},cancel:{title:"Cancel editing, discards all changes.",text:"Cancel"},clearAll:{title:"Clear all layers.",text:"Clear All"}},buttons:{edit:"Edit layers.",editDisabled:"No layers to edit.",remove:"Delete layers.",removeDisabled:"No layers to delete."}},handlers:{edit:{tooltip:{text:"Drag handles, or marker to edit feature.",subtext:"Click cancel to undo changes."}},remove:{tooltip:{text:"Click on a feature to remove"}}}}},Kg={draw:{toolbar:{actions:{title:"Cancelar dibujo",text:"Cancelar"},finish:{title:"Terminar dibujo",text:"Terminar"},undo:{title:"Eliminar último punto dibujado",text:"Eliminar último punto"},buttons:{polyline:"Dibujar una polilínea",polygon:"Dibujar un polígono",rectangle:"Dibujar un rectángulo",circle:"Dibujar un círculo",marker:"Dibujar un marcador",circlemarker:"Dibujar un marcador circular"}},handlers:{circle:{tooltip:{start:"Haz click y arrastra para dibujar un círculo"},radius:"Radio"},circlemarker:{tooltip:{start:"Haz click en el mapa para situar el marcador circular"}},marker:{tooltip:{start:"Haz click en el mapa para situar el marcador"}},polygon:{tooltip:{start:"Haz click para empezar a dibujar la forma",cont:"Haz click para continuar dibujando la forma",end:"Haz click en el primer punto para cerrar la forma"}},polyline:{error:"<strong>Error:</strong> las líneas no deben cruzarse",tooltip:{start:"Haz click para empezar a dibujar la línea",cont:"Haz click para continuar dibujando la línea",end:"Haz click en el último punto para terminar la línea"}},rectangle:{tooltip:{start:"Haz click y arrastra para dibujar un rectángulo"}},simpleshape:{tooltip:{end:"Suelta el ratón para terminar de dibujar"}}}},edit:{toolbar:{actions:{save:{title:"Guardar los cambios",text:"Guardar"},cancel:{title:"Cancelar la edición, descarta todos los cambios",text:"Cancelar"},clearAll:{title:"Limpiar todas las capas",text:"Limpiar todo"}},buttons:{edit:"Editar capas",editDisabled:"No hay capas que editar",remove:"Eliminar capas",removeDisabled:"No hay capas que eliminar"}},handlers:{edit:{tooltip:{text:"Arrastra el marcador para editar la forma",subtext:"Haz click en cancelar para deshacer los cambios"}},remove:{tooltip:{text:"Haz click en una forma para eliminarla"}}}}},Qg={draw:{toolbar:{actions:{title:"Peru piirustus",text:"Peru"},finish:{title:"Hyväksy piirustus",text:"Hyväksy"},undo:{title:"Poista viimeinen piirretty piste",text:"Poista viimeinen piste"},buttons:{polyline:"Piirrä murtoviiva",polygon:"Piirrä monikulmio",rectangle:"Piirrä suorakulmio",circle:"Piirrä ympyrä",marker:"Piirrä merkki",circlemarker:"Piirrä piirimerkki"}},handlers:{circle:{tooltip:{start:"Piirrä ympyrä pitämällä hiiri painettuna ja vetämällä."},radius:"Säde"},circlemarker:{tooltip:{start:"Aseta ympyrämerkki painamalla karttaa."}},marker:{tooltip:{start:"Aseta markkeri painamalla karttaa."}},polygon:{tooltip:{start:"Paina aloittaaksesi muodon piirtämisen.",cont:"Paina jatkaaksesi muodon piirtämistä.",end:"Sulje muoto painamalla ensimmäistä pistettä."}},polyline:{error:"<strong>Virhe:</strong> muodon reunaa ei voi ylittää!",tooltip:{start:"Paina aloittaaksesi viivan piirtämisen.",cont:"Paina jatkaaksesi viivan piirtämistä.",end:"Paina viimeistä pistettä päättäksesi viiva."}},rectangle:{tooltip:{start:"Piirrä suorakulmio pitämällä hiiri painettuna ja vetämällä."}},simpleshape:{tooltip:{end:"Vapauta hiiri päättääksesi piirtämisen."}}}},edit:{toolbar:{actions:{save:{title:"Hyväksy muutokset.",text:"Hyväksy"},cancel:{title:"Peru muokkaus, hylkää kaikki muutokset.",text:"Peru"},clearAll:{title:"Poista kaikki tasot.",text:"Poista kaikki"}},buttons:{edit:"Muokkaa tasoja.",editDisabled:"Ei muokattavia tasoja.",remove:"Poista tasot.",removeDisabled:"Ei poistettavia tasoja."}},handlers:{edit:{tooltip:{text:"Vedä pistettä tai markkeria muokataksesi piirrettyjä ominaisuuksia.",subtext:"Kumoa muutokset painamalla peruuta."}},remove:{tooltip:{text:"Paina piirrettyä ominaisuutta poistaaksesi"}}}}},qg={draw:{toolbar:{actions:{title:"Annuler le dessin",text:"Annuler"},finish:{title:"Terminer le dessin",text:"Terminer"},undo:{title:"Supprimer le dernier point tiré",text:"Supprimer le dernier point"},buttons:{polyline:"Dessinez une polyligne",polygon:"Dessinez un polygone",rectangle:"Dessinez un rectangle",circle:"Dessiner un cercle",marker:"Dessinez un marqueur",circlemarker:"Dessinez un marqueur circulaire"}},handlers:{circle:{tooltip:{start:"Cliquez et faites glisser pour dessiner le cercle."},radius:"Rayon"},circlemarker:{tooltip:{start:"Cliquez sur la carte pour placer le marqueur circulaire."}},marker:{tooltip:{start:"Cliquez sur la carte pour placer le marqueur."}},polygon:{tooltip:{start:"Cliquez pour commencer à dessiner.",cont:"Cliquez pour continuer à dessiner.",end:"Cliquez sur le premier point pour fermer cette forme."}},polyline:{error:"<strong>Erreur:</strong> les polyligne ne peuvent pas traverser!",tooltip:{start:"Cliquez pour commencer à dessiner.",cont:"Cliquez pour continuer à dessiner.",end:"Cliquez sur le dernier point pour fermer cette forme."}},rectangle:{tooltip:{start:"Cliquez et faites glisser pour dessiner le rectangle."}},simpleshape:{tooltip:{end:"Relâchez la souris pour terminer le dessin."}}}},edit:{toolbar:{actions:{save:{title:"Sauvegarder les modifications.",text:"Sauvegarder"},cancel:{title:"Annuler l'édition, rejette toutes les modifications.",text:"Annuler"},clearAll:{title:"Effacez toutes les collections.",text:"Tout effacer"}},buttons:{edit:"Modifier les collections.",editDisabled:"Pas de collections à éditer.",remove:"Supprimez les collections.",removeDisabled:"Pas de collections à supprimer."}},handlers:{edit:{tooltip:{text:"Sélectionnez les poignées ou le marqueur pour modifier l'entité.",subtext:"Cliquez sur annuler pour rétablir les modifications."}},remove:{tooltip:{text:"Cliquez sur une entité pour supprimer"}}}}},Jg={draw:{toolbar:{actions:{title:"Rajzolás elvetése",text:"Mégse"},finish:{title:"Rajzolás befejezése",text:"Befejezés"},undo:{title:"Legutóbbi pont törlése",text:"Legutóbbi pont törlése"},buttons:{polyline:"Útvonal rajzolása",polygon:"Sokszög rajzolása",rectangle:"Négyszög rajzolása",circle:"Kör rajzolása",marker:"Jelölő rajzolása",circlemarker:"Kör-jelölő rajzolása"}},handlers:{circle:{tooltip:{start:"Kattintson és tartsa nyomva a rajzoláshoz."},radius:"Sugár"},circlemarker:{tooltip:{start:"Kör-jelölő elhelyezéséhez kattintson a térképre."}},marker:{tooltip:{start:"Jelölő elhelyezéséhez kattintson a térképre."}},polygon:{tooltip:{start:"Alakzat rajzolásához kattintson a térképre.",cont:"Alakzat folytatásához kattintson a térképre.",end:"Alakzat befejezéséhez kattintson a kezdőpontra."}},polyline:{error:"<strong>Error:</strong> shape edges cannot cross!",tooltip:{start:"Útvonal rajzolásához kattintson a térképre.",cont:"Útvonal folytatásához kattintson a térképre.",end:"Útvonal befejezéséhez kattintson a végpontra."}},rectangle:{tooltip:{start:"Kattintson és tartsa nyomva négyszög rajzolásához."}},simpleshape:{tooltip:{end:"Ha elégedett az alakzattal, engedje fel az egér gombját."}}}},edit:{toolbar:{actions:{save:{title:"Változtatások elmentése.",text:"Mentés"},cancel:{title:"Változtatások elvetése.",text:"Mégse"},clearAll:{title:"Összes réteg törlése.",text:"Összes törlése"}},buttons:{edit:"Rétegek szerkesztése.",editDisabled:"Nem állnak rendelkezésre szerkeszthető rétegek.",remove:"Rétegek törlése.",removeDisabled:"Nem állnak rendelkezésre törölhető rétegek."}},handlers:{edit:{tooltip:{text:"Módosításhoz használja a jelölők, alakzatok kezelőit.",subtext:"Változások elvetéséhez kattintson a 'Mégse' gombra."}},remove:{tooltip:{text:"Kattintson a jelölőkre, alakzatokra az eltávolításukhoz."}}}}},$g={draw:{toolbar:{actions:{title:"Annulla disegno",text:"Annulla"},finish:{title:"Completa disegno",text:"Completa"},undo:{title:"Elimina l'ultimo punto disegnato",text:"Elimina l'ultimo punto"},buttons:{polyline:"Disegna una polilinea",polygon:"Disegna un poligono",rectangle:"Disegna un rettangolo",circle:"Disegna un cerchio",marker:"Disegna un marcatore",circlemarker:"Disegna un marker circolare"}},handlers:{circle:{tooltip:{start:"Clicca e trascina per disegnare un cerchio."},radius:"Raggio"},circlemarker:{tooltip:{start:"Clicca la mappa per posizionare un marcatore circolare."}},marker:{tooltip:{start:"Clicca la mappa per posizionare un marcatore."}},polygon:{tooltip:{start:"Clicca per iniziare a disegnare una figura.",cont:"Clicca per continuare a disegnare una figura.",end:"Clicca il primo punto per chiudere questa figura."}},polyline:{error:"<strong>Errore:</strong> i margini della figura non si possono incrociare!",tooltip:{start:"Clicca per iniziare a disegnare una linea.",cont:"Clicca per continuare a disegnare una linea",end:"Clicca l'ultimo punto per finire questa linea"}},rectangle:{tooltip:{start:"Clicca e trascina per disegnare un rettangolo."}},simpleshape:{tooltip:{end:"Rilascia il mouse per finire il disegno."}}}},edit:{toolbar:{actions:{save:{title:"Salva modifiche.",text:"Salva"},cancel:{title:"Annulla tutte le modifiche.",text:"Annulla"},clearAll:{title:"Pulisci tutti i livelli.",text:"Pulisci tutto"}},buttons:{edit:"Modifica i livelli.",editDisabled:"Nessun livello disponibile per la modifica.",remove:"Elimina livelli.",removeDisabled:"Nessun livello disponibile per l'eliminazione."}},handlers:{edit:{tooltip:{text:"Trascina le maniglie, o i marcatori per modificare l'elemento.",subtext:"Clicca annulla per annullare le modifiche."}},remove:{tooltip:{text:"Clicca un elemento per rimuoverlo"}}}}},tp={draw:{toolbar:{actions:{title:"ხატვის გაუქმება",text:"გაუქმება"},finish:{title:"ხატვის დასრულება",text:"დასრულება"},undo:{title:"ბოლო დახატული წერტილის წაშლა",text:"ბოლო წერტილის წაშლა"},buttons:{polyline:"პოლილაინის დახაზვა",polygon:"პოლიგონის დახაზვა",rectangle:"მართკუთხედის დახაზვა",circle:"წრის დახაზვა",marker:"ადგილმდებარეობის დატანა",circlemarker:"ადგილმდებარეობის დატანა(წრის სახით)"}},handlers:{circle:{tooltip:{start:"დააწკაპუნეთ და გადაიტანეთ იმისათვის, რომ წრე დახაზოთ."},radius:"რადიუსი"},circlemarker:{tooltip:{start:"დააწკაპუნეთ რუკაზე ადგილმდებარეობის შესაქმნელად."}},marker:{tooltip:{start:"დააწკაპუნეთ რუკაზე ადგილმდებარეობის შესაქმნელად."}},polygon:{tooltip:{start:"დააწკაპუნეთ, კონტურის ხაზვის დაწყებისთვის.",cont:"დააწკაპუნეთ, კონტრუსი ხაზვის დასრულებისთვის.",end:"დააწკაპუნეთ პირველ წერტილზე, რათა დაასრულოთ კონტურის ხაზვა."}},polyline:{error:"<strong>შეცდომა:</strong> ხაზი ვერ გადაკვეთავს თავის თავს",tooltip:{start:"დააწკაპუნეთ, ხაზის ხაზვის დაწყებისთვის.",cont:"დააწკაპუნეთ, ხაზის ხაზვის დასრულებისთვის.",end:"დააწკაპუნეთ ბოლო წერტილზე, რათა დაასრულოთ ხაზის ხაზვა."}},rectangle:{tooltip:{start:"დააწკაპუნეთ და გადაიტანეთ იმისათვის, რომ მართკუთხედი დახაზოთ."}},simpleshape:{tooltip:{end:"გაათავისუფლეთ თაგვის ღილაკი ხაზვის დასასრულებლად."}}}},edit:{toolbar:{actions:{save:{title:"ცვლილებების შენახვა.",text:"შენახვა"},cancel:{title:"რედაქტირების გაუქმება, დააბრუნე ყველა ცვლილება.",text:"გაუქმება"},clearAll:{title:"ყველა რედაქტირებული ფენის გასუფთავება.",text:"გასუფთავება"}},buttons:{edit:"რედაქტირება.",editDisabled:"ფენები არ არის რედაქტირებისთვის.",remove:"წაშლა.",removeDisabled:"ფენები არ არის წაშლისთვის."}},handlers:{edit:{tooltip:{text:"გადაიტანეთ წვერები ან წერტილები ობიექტის რედაქტირებისთვის.",subtext:'დააჭირეთ "გაუქმება", საწყის მდგომარეობაში დასაბრუნებლად.'}},remove:{tooltip:{text:"დააწკაპუნეთ ობიექტზე წაშლისთვის"}}}}},ep={draw:{toolbar:{actions:{title:"Tekening annuleren",text:"Annuleren"},finish:{title:"Tekening voltooien",text:"Voltooien"},undo:{title:"Laatst getekende punt verwijderen",text:"Verwijder laatst getekende punt"},buttons:{polyline:"Teken een polygonale lijn",polygon:"Teken een polygoon",rectangle:"Teken een rechthoek",circle:"Teken een cirkel",marker:"Plaats een marker",circlemarker:"Teken een cirkelmarkering"}},handlers:{circle:{tooltip:{start:"Klik en sleep om de cirkel te tekenen."},radius:"Radius"},circlemarker:{tooltip:{start:"Klik op de kaart om de cirkelmarkering te plaatsen."}},marker:{tooltip:{start:"Klik op de kaart om de markering te plaatsen."}},polygon:{tooltip:{start:"Klik om te beginnen met het tekenen van de polygoon.",cont:"Klik om door te gaan met het tekenen van de vorm.",end:"Klik op het eerste punt om dit polygoon te sluiten."}},polyline:{error:"<strong>Fout:</strong> vormranden kunnen niet kruisen!",tooltip:{start:"Klik om te beginnen met het tekenen van een lijn.",cont:"Klik om door te gaan met het tekenen van de lijn.",end:"Klik laatst getekende punt om deze lijn te voltooien."}},rectangle:{tooltip:{start:"Klik en sleep om een rechthoek te tekenen."}},simpleshape:{tooltip:{end:"Laat de muis los om de tekening te voltooien."}}}},edit:{toolbar:{actions:{save:{title:"Wijzigingen opslaan.",text:"Opslaan"},cancel:{title:"Annuleer bewerken en verwijder alle wijzigingen.",text:"Annuleren"},clearAll:{title:"Verwijder alle lagen.",text:"Verwijderd alles"}},buttons:{edit:"Lagen bewerken.",editDisabled:"Geen lagen om te bewerken.",remove:"Verwijder lagen.",removeDisabled:"Geen lagen om te verwijderen."}},handlers:{edit:{tooltip:{text:"Sleep hoeken om te schalen of middenpunt om te verplaatsen.",subtext:"Klik op annuleren om wijzigingen ongedaan te maken."}},remove:{tooltip:{text:"Klik op een vorm om die te verwijderen"}}}}},ip={draw:{toolbar:{actions:{title:"Avbryt markering",text:"Avbryt"},finish:{title:"Ferdiggjør markering",text:"Ferdiggjør"},undo:{title:"Ta bort siste punkt",text:"Slett siste punkt"},buttons:{polyline:"Tegn flere linjer",polygon:"Tegn en mangekant",rectangle:"Tegn et rektangel",circle:"Tegn en sirkel",marker:"Sett et markeringspunkt",circlemarker:"Tegn et sirkelpunkt"}},handlers:{circle:{tooltip:{start:"Klikk og dra for å tegne en sirkel."},radius:"Radius"},circlemarker:{tooltip:{start:"Klikk på kartet for å plassere et sirkelpunkt."}},marker:{tooltip:{start:"Klikk på kartet for å markere et punkt."}},polygon:{tooltip:{start:"Klikk for å tegne et område.",cont:"Klikk for å fortsette tegningen.",end:"Klikk på det første punktet for å lukke området."}},polyline:{error:"<strong>Error:</strong> kantene kan ikke krysses!",tooltip:{start:"Klikk for å tegne en linje.",cont:"Klikk for å fortsette å tegne linjen.",end:"Kikk siste punkt for å ferdiggjøre linjen."}},rectangle:{tooltip:{start:"Klikk og dra for å tegne et rektangel."}},simpleshape:{tooltip:{end:"Slipp museknappen for å gjøre tegningen ferdig."}}}},edit:{toolbar:{actions:{save:{title:"Lagre endringer.",text:"Lagre"},cancel:{title:"Avbryt redigering og forkast endringer.",text:"Avbryt"},clearAll:{title:"Nullstill alle figurer.",text:"Nullstill alt."}},buttons:{edit:"Rediger figur.",editDisabled:"Ingen figur å redigere.",remove:"Slett figur.",removeDisabled:"Ingen figur å slette."}},handlers:{edit:{tooltip:{text:"Dra markør for å redigere.",subtext:"Klikk avbryt for å angre endringer."}},remove:{tooltip:{text:"Klikk for å ta bort"}}}}},np={draw:{toolbar:{actions:{title:"Anuluj wyznaczanie",text:"Anuluj"},finish:{title:"Zakończ wyznaczanie",text:"Zakończ"},undo:{title:"Usuń ostatnio wyznaczony punkt",text:"Usuń ostatni punkt"},buttons:{polyline:"Wyznacz wzór",polygon:"Wyznacz wielokąt",rectangle:"Wyznacz prostokąt",circle:"Wyznacz koło",marker:"Umieść znacznik",circlemarker:"Umieść okrągły znacznik"}},handlers:{circle:{tooltip:{start:"Kliknij i przeciągnij, aby wyznaczyć koło."},radius:"Promień"},circlemarker:{tooltip:{start:"Kliknij na mapę, aby umieścić okrągły znacznik."}},marker:{tooltip:{start:"Kliknij na mapę, aby umieścić znacznik."}},polygon:{tooltip:{start:"Kliknij, aby rozpocząć wyznaczanie kształtu.",cont:"Kliknij, aby kontynuować wyznaczanie kształtu.",end:"Kliknij pierwszy punkt, aby zakończyć ten kształt."}},polyline:{error:"<strong>Błąd:</strong> odcinki nie mogą się przecinać!",tooltip:{start:"Kliknij, aby rozpocząć wyznaczanie lini.",cont:"Kliknij, aby kontynuować wyznaczanie lini.",end:"Kliknij ostatni punkt, aby ukończyć linię."}},rectangle:{tooltip:{start:"Kliknij i przeciągnij, aby wyznaczyć prostokąt."}},simpleshape:{tooltip:{end:"Zwolnij przycisk myszy, aby ukończyć wyznaczanie."}}}},edit:{toolbar:{actions:{save:{title:"Zapisz zmiany.",text:"Zapisz"},cancel:{title:"Anuluj edytowanie i odrzuć zmiany.",text:"Anuluj"},clearAll:{title:"Wyczyść wszystkie warstwy.",text:"Wyczyść wszystko"}},buttons:{edit:"Edytuj warstwy.",editDisabled:"Brak warstw do edycji.",remove:"Usuń warstwy.",removeDisabled:"Brak warstw do usunięcia."}},handlers:{edit:{tooltip:{text:"Przeciągnij uchwyt lub znacznik, aby edytować.",subtext:"Kliknij anuluj, aby odrzucić zmiany."}},remove:{tooltip:{text:"Kliknij obiekt, aby go usunąć."}}}}},rp={draw:{toolbar:{actions:{title:"Cancelar desenho",text:"Cancelar"},finish:{title:"Terminar desenho",text:"Terminar"},undo:{title:"Eliminar último ponto desenhado",text:"Eliminar último ponto"},buttons:{polyline:"Desenhar uma polilinha",polygon:"Desenhar um polígono",rectangle:"Desenhar um retângulo",circle:"Desenhar um círculo",marker:"Desenhar un marcador",circlemarker:"Desenhar um marcador circular"}},handlers:{circle:{tooltip:{start:"Clique e arrastrar para desenhar o círculo."},radius:"Raio"},circlemarker:{tooltip:{start:"Clique no mapa para colocar o marcador circular."}},marker:{tooltip:{start:"Clique no mapa para colocar o marcador."}},polygon:{tooltip:{start:"Clique para começar a desenhar a figura.",cont:"Clique para continuar desenhando a figura.",end:"Clique no primeiro ponto para fechar esta figura."}},polyline:{error:"<strong>Erro:</strong> as bordas de uma forma não podem atravessar!",tooltip:{start:"Clique para começar a desenhar a linha.",cont:"Clique para continuar desenhando a linha.",end:"Clique no último ponto para terminar a linha."}},rectangle:{tooltip:{start:"Clique e arrastrar para desenhar o retângulo."}},simpleshape:{tooltip:{end:"Solte o mouse para terminar o desenho."}}}},edit:{toolbar:{actions:{save:{title:"Guardar alterações.",text:"Guardar"},cancel:{title:"Cancelar edição, descarta todas as alterações.",text:"Cancelar"},clearAll:{title:"Limpar todas as camadas.",text:"Limpar tudo"}},buttons:{edit:"Editar camadas.",editDisabled:"Nenhuma camada que editar.",remove:"Eliminar camadas.",removeDisabled:"Nenhuma camada que eliminar."}},handlers:{edit:{tooltip:{text:"Arraste os manipuladores ou marcadores para editar a figura.",subtext:"Clique em cancelar para desfazer as alterações."}},remove:{tooltip:{text:"Clique em uma figura para removê-la"}}}}},sp={draw:{toolbar:{actions:{title:"Отменить рисование",text:"Отмена"},finish:{title:"Завершить рисование",text:"Завершить"},undo:{title:"Удалить последнюю нарисованную точку",text:"Удалить последнюю точку"},buttons:{polyline:"Нарисовать полилинию",polygon:"Нарисовать полигон",rectangle:"Нарисовать прямоугольник",circle:"Нарисовать круг",marker:"Нарисовать точку",circlemarker:"Нарисовать точку(в виде круга)"}},handlers:{circle:{tooltip:{start:"Кликните и перетащите для того, чтобы нарисовать круг."},radius:"Радиус"},circlemarker:{tooltip:{start:"Кликните на карту для установки точки."}},marker:{tooltip:{start:"Кликните на карту для установки точки."}},polygon:{tooltip:{start:"Кликните, чтобы начать рисовать контур.",cont:"Кликните, чтобы завершить рисовать контур.",end:"Кликните на первую точку, чтобы завершить рисование контура."}},polyline:{error:"<strong>Ошибка:</strong> линия не может самопересекаться!",tooltip:{start:"Кликните, чтобы начать рисовать линию.",cont:"Кликните, чтобы завершить рисование линии.",end:"Кликните на последнюю точку, чтобы завершить рисование линии."}},rectangle:{tooltip:{start:"Кликните и перетащите, чтобы нарисовать прямоугольник."}},simpleshape:{tooltip:{end:"Отпустите кнопку мыши для завершения рисования."}}}},edit:{toolbar:{actions:{save:{title:"Сохранить изменения.",text:"Сохранить"},cancel:{title:"Отменить редактирование, откатить все изменения.",text:"Отмена"},clearAll:{title:"Очистить все редактируемые слои.",text:"Очистить всё"}},buttons:{edit:"Редактировать.",editDisabled:"Нет слоёв для редактирования.",remove:"Удалить.",removeDisabled:"Нет слоёв для удаления."}},handlers:{edit:{tooltip:{text:"Перетащите вершины или точки для редактирования фигуры.",subtext:'Нажмите "Отмена", чтобы откатить изменения.'}},remove:{tooltip:{text:"Кликните на фигуру для удаления"}}}}},op={draw:{toolbar:{actions:{title:"Zrušiť kreslenie",text:"Zrušiť"},finish:{title:"Dokončiť kreslenie",text:"Dokončiť"},undo:{title:"Zmazať posledný nakreslený bod",text:"Zmazať posledný bod"},buttons:{polyline:"Nakresliť čiaru",polygon:"Nakresliť polygón",rectangle:"Nakresliť obdĺžnik",circle:"Nakresliť kruh",marker:"Nakresliť bod",circlemarker:"Nakresliť kruhový bod"}},handlers:{circle:{tooltip:{start:"Kliknite a potiahnite, aby ste nakreslili kruh."},radius:"Polomer"},circlemarker:{tooltip:{start:"Kliknite na mapu aby ste umiestnili kruhový bod."}},marker:{tooltip:{start:"Kliknite na mapu aby ste umiestnili bod."}},polygon:{tooltip:{start:"Kliknite, aby ste začali kresliť útvar.",cont:"Kliknite, aby ste nakreslili ďalší bod útvaru.",end:"Kliknite na prvý bod, aby ste uzavreli útvar."}},polyline:{error:"<strong>Chyba:</strong> čiary sa nesmú pretínať!",tooltip:{start:"Kliknite, aby ste začali kresliť čiaru.",cont:"Kliknite, aby ste nakreslili ďalší bod čiary.",end:"Kliknite posledný bod, aby ste dokončili čiaru."}},rectangle:{tooltip:{start:"Kliknite a potiahnite, aby ste nakreslili štvorec."}},simpleshape:{tooltip:{end:"Uvoľnením tlačidla myši ukončíte kreslenie."}}}},edit:{toolbar:{actions:{save:{title:"Uložiť zmeny.",text:"Uložiť"},cancel:{title:"Ukončiť úpravu, zrušiť všetky zmeny.",text:"Zrušiť"},clearAll:{title:"Zmazať všetky vrstvy.",text:"Zmazať všetko"}},buttons:{edit:"Upraviť vrstvy.",editDisabled:"Žiadne vrstvy pre úpravu",remove:"Zmazať vrstvy.",removeDisabled:"Žiadne vrstvy pre zmazanie."}},handlers:{edit:{tooltip:{text:"Potiahnutím vyznačených štvorčekov, alebo bodov upravíte útvar.",subtext:"Kliknite zrušiť, pre zrušenie zmien."}},remove:{tooltip:{text:"Kliknite na útvar pre jeho zmazanie."}}}}},ap={draw:{toolbar:{actions:{title:"Скасувати креслення",text:"Скасувати"},finish:{title:"Завершити креслення",text:"Завершити"},undo:{title:"Видалити останню нанесену точку",text:"Видалити останню точку"},buttons:{polyline:"Накреслити криву",polygon:"Накреслити многокутник",rectangle:"Накреслити прямокутник",circle:"Накреслити коло",marker:"Розмістити маркер",circlemarker:"Розмістити маркер-коло"}},handlers:{circle:{tooltip:{start:"Натисніть і перетягуйте вказівник, щоб накреслити коло."},radius:"Радіус"},circlemarker:{tooltip:{start:"Натисніть на мапу, щоб розмістити маркер-коло."}},marker:{tooltip:{start:"Натисніть на мапу, щоб розмістити маркер."}},polygon:{tooltip:{start:"Натисніть, щоб накреслити фігуру.",cont:"Натисніть, щоб продовжити креслення фігури.",end:"Натисніть на першу точку, щоб замкнути цю фігуру."}},polyline:{error:"<strong>Помилка:</strong> сторони фігури не мають перетинатись!",tooltip:{start:"Натисніть, щоб накреслити лінію.",cont:"Натисніть, щоб продовжити креслення лінії.",end:"Натисніть на останню точку, щоб завершити лінію."}},rectangle:{tooltip:{start:"Натисніть і перетягуйте вказівник, щоб накреслити прямокутник."}},simpleshape:{tooltip:{end:"Відпустіть мишку, щоб завершити рисування."}}}},edit:{toolbar:{actions:{save:{title:"Зберегти зміни.",text:"Зберегти"},cancel:{title:"Припинити редагування, скасувати всі зміни.",text:"Скасувати"},clearAll:{title:"Очистити всі шари.",text:"Очистити все"}},buttons:{edit:"Редагувати шари.",editDisabled:"Немає шарів для редагування.",remove:"Видалити шари.",removeDisabled:"Немає шарів для видалення."}},handlers:{edit:{tooltip:{text:"Перетягуйте важелі або маркер для редагування фігури.",subtext:"Натисніть «Скасувати» для скасування змін."}},remove:{tooltip:{text:"Натисніть на фігуру для видалення"}}}}},lp={draw:{toolbar:{actions:{title:"الغاء الرسم",text:"الغاء"},finish:{title:"انهاء الرسم",text:"انهاء"},undo:{title:"مسح اخر رسمة",text:"مسح اخر نقطة"},buttons:{polyline:"رسم خط",polygon:"رسم منطقة",rectangle:"رسم مستطيل",circle:"رسم دائرة",marker:"رسم علامة",circlemarker:"رسم علامة دائرة"}},handlers:{circle:{tooltip:{start:"اضغط واسحب لرسم دائرة"},radius:"القطر"},circlemarker:{tooltip:{start:"اضغط على الخريطة لرسم دائرة"}},marker:{tooltip:{start:"اضغط على الخريطة لرسم نقطة"}},polygon:{tooltip:{start:"اضغط لبدء رسم منطقة",cont:"اضغط لاستمرار رسم منطقة",end:"اضغط على اول نقطة لاكمال المنطقة"}},polyline:{error:"<strong>خطأ:</strong> لا يمكن تقاطع الخطوط",tooltip:{start:"اضغط لبدئ رسم الخط",cont:"اضغط لاستكمال رسم الخط",end:"اضغط على اخر نقطة للانهاء"}},rectangle:{tooltip:{start:"اضغط واسحب لرسم مستطيل"}},simpleshape:{tooltip:{end:"اترك الماوس للانهاء"}}}},edit:{toolbar:{actions:{save:{title:"حفظ التغييرات",text:"حفظ"},cancel:{title:"الغاء كل التعديلات",text:"الغاء"},clearAll:{title:"مسح كل الطبقات",text:"مسح الكل"}},buttons:{edit:"تعديل الطبقات",editDisabled:"لاتوجد طبقات للتعديل",remove:"مسح الطبقات",removeDisabled:"لا يوجد طبقات للمسح"}},handlers:{edit:{tooltip:{text:"اسحب للتعديل",subtext:"اضغط الغاء لمسح التعديلات"}},remove:{tooltip:{text:"اضغط على رسمة للمسح"}}}}},hp={draw:{toolbar:{actions:{title:"取消绘制",text:"取消"},finish:{title:"结束绘制",text:"结束"},undo:{title:"删除最后一个绘制点",text:"删除最后一个点"},buttons:{polyline:"绘制折线",polygon:"绘制多边形",rectangle:"绘制矩形",circle:"绘制圆形",marker:"绘制标志物",circlemarker:"绘制圆形标志物"}},handlers:{circle:{tooltip:{start:"单击并拖拽绘制圆形"},radius:"半径"},circlemarker:{tooltip:{start:"单击地图放置圆形标志物"}},marker:{tooltip:{start:"单击地图放置标志物"}},polygon:{tooltip:{start:"单击地图绘制图形",cont:"继续单击绘制图形",end:"单击起始点结束绘制"}},polyline:{error:"<strong>错误:</strong> 图形边缘不能交叉!",tooltip:{start:"单击地图绘制折线",cont:"继续单击绘制下一段折线",end:"单击最后一个点结束绘制"}},rectangle:{tooltip:{start:"单击并拖拽绘制矩形"}},simpleshape:{tooltip:{end:"松开鼠标结束绘制"}}}},edit:{toolbar:{actions:{save:{title:"保存变更",text:"保存"},cancel:{title:"取消编辑,放弃所有变更",text:"取消"},clearAll:{title:"清除所有图形",text:"清除所有"}},buttons:{edit:"编辑图形",editDisabled:"无图形可编辑",remove:"删除图形",removeDisabled:"无图形可删除"}},handlers:{edit:{tooltip:{text:"拖拽线段或标志点以编辑图形",subtext:"点击<strong>取消</strong>按钮撤销变更"}},remove:{tooltip:{text:"单击图形以移除"}}}}},cp={draw:{toolbar:{actions:{title:"Çizimi iptal et",text:"İptal"},finish:{title:"Çizimi Bitir",text:"Bitir"},undo:{title:"Çizilen son noktayı sil",text:"Son noktayı sil"},buttons:{polyline:"Çoklu çizgi çiz",polygon:"Çokgen çiz",rectangle:"Dikdörtgen çiz",circle:"Yuvarlak çiz",marker:"İşaretçi çiz",circlemarker:"Yuvarlak işaretçi çiz"}},handlers:{circle:{tooltip:{start:"Yuvarlak çizmek için tıklayın ve sürükleyin."},radius:"Çap"},circlemarker:{tooltip:{start:"Yuvarlak işaretçi yerleştirmek için haritaya tıklayın."}},marker:{tooltip:{start:"İşaretçi yerleştirmek için haritaya tıklayın."}},polygon:{tooltip:{start:"Şekil çizmeye başlamak için tıklayın.",cont:"Şekil çizmeye devam etmek için tıklayın.",end:"Bu şekli tamamlamak için ilk noktayı tıklayın."}},polyline:{error:"<strong>Hata:</strong> şekil kenarları kesişemez!",tooltip:{start:"Hat çizmeye başlamak için tıklayın.",cont:"Hat çizmeye devam etmek için tıklayın.",end:"Bu hattı tamamlamak için ilk noktayı tıklayın."}},rectangle:{tooltip:{start:"Dikdörtgen çizmek için tıklayın ve sürükleyin."}},simpleshape:{tooltip:{end:"Çizimi bitirmek için fareyi bırakın."}}}},edit:{toolbar:{actions:{save:{title:"Değişiklikleri kaydet.",text:"Kaydet"},cancel:{title:"Düzenlemeyi iptal et, tüm değişiklikleri çıkar.",text:"İptal"},clearAll:{title:"Tüm katmanları temizle.",text:"Hepsini temizle"}},buttons:{edit:"Katmanları düzenle.",editDisabled:"Düzenlenecek katman bulunamadı.",remove:"Katmanları sil.",removeDisabled:"Silinecek katman bulunamadı."}},handlers:{edit:{tooltip:{text:"Çizimi düzenlemek için köşeleri veya işaretçiyi sürükleyin.",subtext:"Değişiklikleri geri almak için iptale tıklayın."}},remove:{tooltip:{text:"Çizimi silmek için tıklayın"}}}}},up={draw:{toolbar:{actions:{title:"Anulați desenul",text:"Anulare"},finish:{title:"Terminați desenul",text:"Termina"},undo:{title:"Șterge ultimul punct desenat",text:"Șterge ultimul punct"},buttons:{polyline:"Desenați o polilinie",polygon:"Desenați un poligon",rectangle:"Desenați un dreptunghi",circle:"Desenează un cerc",marker:"Desenați un marker",circlemarker:"Desenați un marcator de cerc"}},handlers:{circle:{tooltip:{start:"Dați clic și trageți pentru a desena cerc."},radius:"Rază"},circlemarker:{tooltip:{start:"Dați clic pe hartă pentru a plasa marcatorul cercului."}},marker:{tooltip:{start:"Dați clic pe hartă pentru a plasa marcatorul."}},polygon:{tooltip:{start:"Dați clic pentru a începe desenarea parcelei",cont:"Dați clic pentru a continua desenarea parcelei",end:"Dați clic pe primul punct pentru a închide această parcelei."}},polyline:{error:"<strong>Eroare:</strong> marginile formei nu se pot traversa!",tooltip:{start:"Daţi clic pentru a începe să desenezi o linie.",cont:"Daţi clic pentru a continua să desenezi linia.",end:"Dați clic pe ultimul punct pentru a ajunge la linia de sosire."}},rectangle:{tooltip:{start:"Dați clic și trageți pentru a desena dreptunghi."}},simpleshape:{tooltip:{end:"Eliberați mouse-ul pentru a termina desenul."}}}},edit:{toolbar:{actions:{save:{title:"Salvează modificările.",text:"Salvați"},cancel:{title:"Anulează editarea, anulează toate modificările.",text:"Anulare"},clearAll:{title:"Ștergeți toate straturile.",text:"Curata tot"}},buttons:{edit:"Editați straturi.",editDisabled:"Fără straturi de editat.",remove:"Ștergeți straturile.",removeDisabled:"Nu există straturi de șters."}},handlers:{edit:{tooltip:{text:"Trageți mânerele sau marcatorul pentru a edita caracteristica.",subtext:"Dați clic pe Anulare pentru a anula modificările."}},remove:{tooltip:{text:"Dați clic pe o caracteristică pentru a o elimina"}}}}},dp=function(r){var t=Wh;switch(r.toLocaleLowerCase()){case"de":case"de-at":case"de-be":case"de-ch":case"de-de":case"de-li":case"de-lu":case"de-de.utf-8":case"german":t=Vg;break;case"en":case"en-us":case"en-ca":case"en-gb":case"en-us.utf-8":case"english":t=Wh;break;case"ar":case"ar-ae":case"ar-eg":case"arabic":t=lp;break;case"fi":case"fi-fi":case"fi-fi.utf-8":case"finnish":t=Qg;break;case"fr":case"fr-us":case"fr-ca":case"fr-us.utf-8":case"french":t=qg;break;case"es":case"es-us":case"es-ca":case"es-us.utf-8":case"spanish":t=Kg;break;case"sk":case"sk-sk":case"sk-sk.utf-8":case"slovak":t=op;break;case"pl":case"pl-pl":case"pl-pl.utf-8":case"polish":t=np;break;case"pt":case"pt-pt":case"pt-pt.utf-8":case"portuguese":t=rp;break;case"uk":case"uk-ua":case"uk-ua.utf-8":case"ukrainian":t=ap;break;case"cs":case"cs-cz":case"cs-cz.utf-8":case"czech":t=Zg;break;case"ru":case"ru-ru":case"ru-ru.utf-8":case"russian":t=sp;break;case"ka":case"ka-ka":case"ka-ka.utf-8":case"georgian":t=tp;break;case"no":case"no-no":case"no-no.utf-8":case"norwegian":t=ip;break;case"am":case"am-et":case"am-et.utf-8":case"amharic":t=Xg;break;case"nl":case"nl-nl":case"nl-nl.utf-8":case"nl-be":case"nl-be.utf-8":case"dutch":case"belgian":case"flemish":t=ep;break;case"it":case"it-it":case"it-ch":case"it-it.utf-8":case"it-ch.utf-8":case"italiano":case"italian":t=$g;break;case"hu":case"hu-HU":case"hu-hu":case"hu-HU.utf-8":case"hu-hu.utf-8":case"magyar":case"hungarian":t=Jg;break;case"zh":case"zh-cn":case"zh-cn.utf-8":case"chinese":t=hp;break;case"tr":case"tr-tr":case"tr-tr.utf-8":case"turkish":t=cp;break;case"ro":case"ro-ro":case"ro-RO":case"ro-ro.utf-8":case"romanian":t=up;break;default:throw new Error("[language] not found")}try{L&&L.drawLocal&&(L.drawLocal=t)}catch{}return t};function Yh(r,t){return function(){return r.apply(t,arguments)}}const{toString:fp}=Object.prototype,{getPrototypeOf:ca}=Object,fs=(r=>t=>{const e=fp.call(t);return r[e]||(r[e]=e.slice(8,-1).toLowerCase())})(Object.create(null)),ke=r=>(r=r.toLowerCase(),t=>fs(t)===r),gs=r=>t=>typeof t===r,{isArray:vn}=Array,ur=gs("undefined");function gp(r){return r!==null&&!ur(r)&&r.constructor!==null&&!ur(r.constructor)&&ye(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const Xh=ke("ArrayBuffer");function pp(r){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(r):t=r&&r.buffer&&Xh(r.buffer),t}const mp=gs("string"),ye=gs("function"),Zh=gs("number"),ps=r=>r!==null&&typeof r=="object",_p=r=>r===!0||r===!1,ms=r=>{if(fs(r)!=="object")return!1;const t=ca(r);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)},yp=ke("Date"),vp=ke("File"),xp=ke("Blob"),Ap=ke("FileList"),wp=r=>ps(r)&&ye(r.pipe),Ep=r=>{let t;return r&&(typeof FormData=="function"&&r instanceof FormData||ye(r.append)&&((t=fs(r))==="formdata"||t==="object"&&ye(r.toString)&&r.toString()==="[object FormData]"))},Cp=ke("URLSearchParams"),Lp=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function dr(r,t,{allOwnKeys:e=!1}={}){if(r===null||typeof r>"u")return;let i,n;if(typeof r!="object"&&(r=[r]),vn(r))for(i=0,n=r.length;i<n;i++)t.call(null,r[i],i,r);else{const o=e?Object.getOwnPropertyNames(r):Object.keys(r),a=o.length;let h;for(i=0;i<a;i++)h=o[i],t.call(null,r[h],h,r)}}function Vh(r,t){t=t.toLowerCase();const e=Object.keys(r);let i=e.length,n;for(;i-- >0;)if(n=e[i],t===n.toLowerCase())return n;return null}const Kh=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Qh=r=>!ur(r)&&r!==Kh;function ua(){const{caseless:r}=Qh(this)&&this||{},t={},e=(i,n)=>{const o=r&&Vh(t,n)||n;ms(t[o])&&ms(i)?t[o]=ua(t[o],i):ms(i)?t[o]=ua({},i):vn(i)?t[o]=i.slice():t[o]=i};for(let i=0,n=arguments.length;i<n;i++)arguments[i]&&dr(arguments[i],e);return t}const bp=(r,t,e,{allOwnKeys:i}={})=>(dr(t,(n,o)=>{e&&ye(n)?r[o]=Yh(n,e):r[o]=n},{allOwnKeys:i}),r),Tp=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),Mp=(r,t,e,i)=>{r.prototype=Object.create(t.prototype,i),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:t.prototype}),e&&Object.assign(r.prototype,e)},Pp=(r,t,e,i)=>{let n,o,a;const h={};if(t=t||{},r==null)return t;do{for(n=Object.getOwnPropertyNames(r),o=n.length;o-- >0;)a=n[o],(!i||i(a,r,t))&&!h[a]&&(t[a]=r[a],h[a]=!0);r=e!==!1&&ca(r)}while(r&&(!e||e(r,t))&&r!==Object.prototype);return t},Dp=(r,t,e)=>{r=String(r),(e===void 0||e>r.length)&&(e=r.length),e-=t.length;const i=r.indexOf(t,e);return i!==-1&&i===e},Sp=r=>{if(!r)return null;if(vn(r))return r;let t=r.length;if(!Zh(t))return null;const e=new Array(t);for(;t-- >0;)e[t]=r[t];return e},Rp=(r=>t=>r&&t instanceof r)(typeof Uint8Array<"u"&&ca(Uint8Array)),Ip=(r,t)=>{const i=(r&&r[Symbol.iterator]).call(r);let n;for(;(n=i.next())&&!n.done;){const o=n.value;t.call(r,o[0],o[1])}},kp=(r,t)=>{let e;const i=[];for(;(e=r.exec(t))!==null;)i.push(e);return i},Op=ke("HTMLFormElement"),Fp=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,i,n){return i.toUpperCase()+n}),qh=(({hasOwnProperty:r})=>(t,e)=>r.call(t,e))(Object.prototype),zp=ke("RegExp"),Jh=(r,t)=>{const e=Object.getOwnPropertyDescriptors(r),i={};dr(e,(n,o)=>{let a;(a=t(n,o,r))!==!1&&(i[o]=a||n)}),Object.defineProperties(r,i)},Bp=r=>{Jh(r,(t,e)=>{if(ye(r)&&["arguments","caller","callee"].indexOf(e)!==-1)return!1;const i=r[e];if(ye(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+e+"'")})}})},Np=(r,t)=>{const e={},i=n=>{n.forEach(o=>{e[o]=!0})};return vn(r)?i(r):i(String(r).split(t)),e},Gp=()=>{},Up=(r,t)=>(r=+r,Number.isFinite(r)?r:t),da="abcdefghijklmnopqrstuvwxyz",$h="0123456789",tc={DIGIT:$h,ALPHA:da,ALPHA_DIGIT:da+da.toUpperCase()+$h},jp=(r=16,t=tc.ALPHA_DIGIT)=>{let e="";const{length:i}=t;for(;r--;)e+=t[Math.random()*i|0];return e};function Hp(r){return!!(r&&ye(r.append)&&r[Symbol.toStringTag]==="FormData"&&r[Symbol.iterator])}const Wp=r=>{const t=new Array(10),e=(i,n)=>{if(ps(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[n]=i;const o=vn(i)?[]:{};return dr(i,(a,h)=>{const c=e(a,n+1);!ur(c)&&(o[h]=c)}),t[n]=void 0,o}}return i};return e(r,0)},Yp=ke("AsyncFunction"),O={isArray:vn,isArrayBuffer:Xh,isBuffer:gp,isFormData:Ep,isArrayBufferView:pp,isString:mp,isNumber:Zh,isBoolean:_p,isObject:ps,isPlainObject:ms,isUndefined:ur,isDate:yp,isFile:vp,isBlob:xp,isRegExp:zp,isFunction:ye,isStream:wp,isURLSearchParams:Cp,isTypedArray:Rp,isFileList:Ap,forEach:dr,merge:ua,extend:bp,trim:Lp,stripBOM:Tp,inherits:Mp,toFlatObject:Pp,kindOf:fs,kindOfTest:ke,endsWith:Dp,toArray:Sp,forEachEntry:Ip,matchAll:kp,isHTMLForm:Op,hasOwnProperty:qh,hasOwnProp:qh,reduceDescriptors:Jh,freezeMethods:Bp,toObjectSet:Np,toCamelCase:Fp,noop:Gp,toFiniteNumber:Up,findKey:Vh,global:Kh,isContextDefined:Qh,ALPHABET:tc,generateString:jp,isSpecCompliantForm:Hp,toJSONObject:Wp,isAsyncFn:Yp,isThenable:r=>r&&(ps(r)||ye(r))&&ye(r.then)&&ye(r.catch)};function yt(r,t,e,i,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",t&&(this.code=t),e&&(this.config=e),i&&(this.request=i),n&&(this.response=n)}O.inherits(yt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:O.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ec=yt.prototype,ic={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{ic[r]={value:r}}),Object.defineProperties(yt,ic),Object.defineProperty(ec,"isAxiosError",{value:!0}),yt.from=(r,t,e,i,n,o)=>{const a=Object.create(ec);return O.toFlatObject(r,a,function(c){return c!==Error.prototype},h=>h!=="isAxiosError"),yt.call(a,r.message,t,e,i,n),a.cause=r,a.name=r.name,o&&Object.assign(a,o),a};const Xp=null;function fa(r){return O.isPlainObject(r)||O.isArray(r)}function nc(r){return O.endsWith(r,"[]")?r.slice(0,-2):r}function rc(r,t,e){return r?r.concat(t).map(function(n,o){return n=nc(n),!e&&o?"["+n+"]":n}).join(e?".":""):t}function Zp(r){return O.isArray(r)&&!r.some(fa)}const Vp=O.toFlatObject(O,{},null,function(t){return/^is[A-Z]/.test(t)});function _s(r,t,e){if(!O.isObject(r))throw new TypeError("target must be an object");t=t||new FormData,e=O.toFlatObject(e,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,b){return!O.isUndefined(b[A])});const i=e.metaTokens,n=e.visitor||f,o=e.dots,a=e.indexes,c=(e.Blob||typeof Blob<"u"&&Blob)&&O.isSpecCompliantForm(t);if(!O.isFunction(n))throw new TypeError("visitor must be a function");function d(v){if(v===null)return"";if(O.isDate(v))return v.toISOString();if(!c&&O.isBlob(v))throw new yt("Blob is not supported. Use a Buffer instead.");return O.isArrayBuffer(v)||O.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function f(v,A,b){let M=v;if(v&&!b&&typeof v=="object"){if(O.endsWith(A,"{}"))A=i?A:A.slice(0,-2),v=JSON.stringify(v);else if(O.isArray(v)&&Zp(v)||(O.isFileList(v)||O.endsWith(A,"[]"))&&(M=O.toArray(v)))return A=nc(A),M.forEach(function(E,C){!(O.isUndefined(E)||E===null)&&t.append(a===!0?rc([A],C,o):a===null?A:A+"[]",d(E))}),!1}return fa(v)?!0:(t.append(rc(b,A,o),d(v)),!1)}const p=[],_=Object.assign(Vp,{defaultVisitor:f,convertValue:d,isVisitable:fa});function y(v,A){if(!O.isUndefined(v)){if(p.indexOf(v)!==-1)throw Error("Circular reference detected in "+A.join("."));p.push(v),O.forEach(v,function(M,w){(!(O.isUndefined(M)||M===null)&&n.call(t,M,O.isString(w)?w.trim():w,A,_))===!0&&y(M,A?A.concat(w):[w])}),p.pop()}}if(!O.isObject(r))throw new TypeError("data must be an object");return y(r),t}function sc(r){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function ga(r,t){this._pairs=[],r&&_s(r,this,t)}const oc=ga.prototype;oc.append=function(t,e){this._pairs.push([t,e])},oc.toString=function(t){const e=t?function(i){return t.call(this,i,sc)}:sc;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function Kp(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ac(r,t,e){if(!t)return r;const i=e&&e.encode||Kp,n=e&&e.serialize;let o;if(n?o=n(t,e):o=O.isURLSearchParams(t)?t.toString():new ga(t,e).toString(i),o){const a=r.indexOf("#");a!==-1&&(r=r.slice(0,a)),r+=(r.indexOf("?")===-1?"?":"&")+o}return r}class Qp{constructor(){this.handlers=[]}use(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){O.forEach(this.handlers,function(i){i!==null&&t(i)})}}const lc=Qp,hc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qp=typeof URLSearchParams<"u"?URLSearchParams:ga,Jp=typeof FormData<"u"?FormData:null,$p=typeof Blob<"u"?Blob:null,tm=(()=>{let r;return typeof navigator<"u"&&((r=navigator.product)==="ReactNative"||r==="NativeScript"||r==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),em=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Oe={isBrowser:!0,classes:{URLSearchParams:qp,FormData:Jp,Blob:$p},isStandardBrowserEnv:tm,isStandardBrowserWebWorkerEnv:em,protocols:["http","https","file","blob","url","data"]};function im(r,t){return _s(r,new Oe.classes.URLSearchParams,Object.assign({visitor:function(e,i,n,o){return Oe.isNode&&O.isBuffer(e)?(this.append(i,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function nm(r){return O.matchAll(/\w+|\[(\w*)]/g,r).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rm(r){const t={},e=Object.keys(r);let i;const n=e.length;let o;for(i=0;i<n;i++)o=e[i],t[o]=r[o];return t}function cc(r){function t(e,i,n,o){let a=e[o++];const h=Number.isFinite(+a),c=o>=e.length;return a=!a&&O.isArray(n)?n.length:a,c?(O.hasOwnProp(n,a)?n[a]=[n[a],i]:n[a]=i,!h):((!n[a]||!O.isObject(n[a]))&&(n[a]=[]),t(e,i,n[a],o)&&O.isArray(n[a])&&(n[a]=rm(n[a])),!h)}if(O.isFormData(r)&&O.isFunction(r.entries)){const e={};return O.forEachEntry(r,(i,n)=>{t(nm(i),n,e,0)}),e}return null}function sm(r,t,e){if(O.isString(r))try{return(t||JSON.parse)(r),O.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(e||JSON.stringify)(r)}const pa={transitional:hc,adapter:["xhr","http"],transformRequest:[function(t,e){const i=e.getContentType()||"",n=i.indexOf("application/json")>-1,o=O.isObject(t);if(o&&O.isHTMLForm(t)&&(t=new FormData(t)),O.isFormData(t))return n&&n?JSON.stringify(cc(t)):t;if(O.isArrayBuffer(t)||O.isBuffer(t)||O.isStream(t)||O.isFile(t)||O.isBlob(t))return t;if(O.isArrayBufferView(t))return t.buffer;if(O.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let h;if(o){if(i.indexOf("application/x-www-form-urlencoded")>-1)return im(t,this.formSerializer).toString();if((h=O.isFileList(t))||i.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return _s(h?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),sm(t)):t}],transformResponse:[function(t){const e=this.transitional||pa.transitional,i=e&&e.forcedJSONParsing,n=this.responseType==="json";if(t&&O.isString(t)&&(i&&!this.responseType||n)){const a=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(h){if(a)throw h.name==="SyntaxError"?yt.from(h,yt.ERR_BAD_RESPONSE,this,null,this.response):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Oe.classes.FormData,Blob:Oe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};O.forEach(["delete","get","head","post","put","patch"],r=>{pa.headers[r]={}});const ma=pa,om=O.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),am=r=>{const t={};let e,i,n;return r&&r.split(`
14
+ `).forEach(function(a){n=a.indexOf(":"),e=a.substring(0,n).trim().toLowerCase(),i=a.substring(n+1).trim(),!(!e||t[e]&&om[e])&&(e==="set-cookie"?t[e]?t[e].push(i):t[e]=[i]:t[e]=t[e]?t[e]+", "+i:i)}),t},uc=Symbol("internals");function fr(r){return r&&String(r).trim().toLowerCase()}function ys(r){return r===!1||r==null?r:O.isArray(r)?r.map(ys):String(r)}function lm(r){const t=Object.create(null),e=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=e.exec(r);)t[i[1]]=i[2];return t}const hm=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function _a(r,t,e,i,n){if(O.isFunction(i))return i.call(this,t,e);if(n&&(t=e),!!O.isString(t)){if(O.isString(i))return t.indexOf(i)!==-1;if(O.isRegExp(i))return i.test(t)}}function cm(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,i)=>e.toUpperCase()+i)}function um(r,t){const e=O.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(r,i+e,{value:function(n,o,a){return this[i].call(this,t,n,o,a)},configurable:!0})})}class vs{constructor(t){t&&this.set(t)}set(t,e,i){const n=this;function o(h,c,d){const f=fr(c);if(!f)throw new Error("header name must be a non-empty string");const p=O.findKey(n,f);(!p||n[p]===void 0||d===!0||d===void 0&&n[p]!==!1)&&(n[p||c]=ys(h))}const a=(h,c)=>O.forEach(h,(d,f)=>o(d,f,c));return O.isPlainObject(t)||t instanceof this.constructor?a(t,e):O.isString(t)&&(t=t.trim())&&!hm(t)?a(am(t),e):t!=null&&o(e,t,i),this}get(t,e){if(t=fr(t),t){const i=O.findKey(this,t);if(i){const n=this[i];if(!e)return n;if(e===!0)return lm(n);if(O.isFunction(e))return e.call(this,n,i);if(O.isRegExp(e))return e.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=fr(t),t){const i=O.findKey(this,t);return!!(i&&this[i]!==void 0&&(!e||_a(this,this[i],i,e)))}return!1}delete(t,e){const i=this;let n=!1;function o(a){if(a=fr(a),a){const h=O.findKey(i,a);h&&(!e||_a(i,i[h],h,e))&&(delete i[h],n=!0)}}return O.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let i=e.length,n=!1;for(;i--;){const o=e[i];(!t||_a(this,this[o],o,t,!0))&&(delete this[o],n=!0)}return n}normalize(t){const e=this,i={};return O.forEach(this,(n,o)=>{const a=O.findKey(i,o);if(a){e[a]=ys(n),delete e[o];return}const h=t?cm(o):String(o).trim();h!==o&&delete e[o],e[h]=ys(n),i[h]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return O.forEach(this,(i,n)=>{i!=null&&i!==!1&&(e[n]=t&&O.isArray(i)?i.join(", "):i)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join(`
15
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const i=new this(t);return e.forEach(n=>i.set(n)),i}static accessor(t){const i=(this[uc]=this[uc]={accessors:{}}).accessors,n=this.prototype;function o(a){const h=fr(a);i[h]||(um(n,a),i[h]=!0)}return O.isArray(t)?t.forEach(o):o(t),this}}vs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),O.reduceDescriptors(vs.prototype,({value:r},t)=>{let e=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(i){this[e]=i}}}),O.freezeMethods(vs);const Je=vs;function ya(r,t){const e=this||ma,i=t||e,n=Je.from(i.headers);let o=i.data;return O.forEach(r,function(h){o=h.call(e,o,n.normalize(),t?t.status:void 0)}),n.normalize(),o}function dc(r){return!!(r&&r.__CANCEL__)}function gr(r,t,e){yt.call(this,r??"canceled",yt.ERR_CANCELED,t,e),this.name="CanceledError"}O.inherits(gr,yt,{__CANCEL__:!0});function dm(r,t,e){const i=e.config.validateStatus;!e.status||!i||i(e.status)?r(e):t(new yt("Request failed with status code "+e.status,[yt.ERR_BAD_REQUEST,yt.ERR_BAD_RESPONSE][Math.floor(e.status/100)-4],e.config,e.request,e))}const fm=Oe.isStandardBrowserEnv?function(){return{write:function(e,i,n,o,a,h){const c=[];c.push(e+"="+encodeURIComponent(i)),O.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),O.isString(o)&&c.push("path="+o),O.isString(a)&&c.push("domain="+a),h===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(e){const i=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function gm(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function pm(r,t){return t?r.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):r}function fc(r,t){return r&&!gm(t)?pm(r,t):t}const mm=Oe.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let i;function n(o){let a=o;return t&&(e.setAttribute("href",a),a=e.href),e.setAttribute("href",a),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:e.pathname.charAt(0)==="/"?e.pathname:"/"+e.pathname}}return i=n(window.location.href),function(a){const h=O.isString(a)?n(a):a;return h.protocol===i.protocol&&h.host===i.host}}():function(){return function(){return!0}}();function _m(r){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return t&&t[1]||""}function ym(r,t){r=r||10;const e=new Array(r),i=new Array(r);let n=0,o=0,a;return t=t!==void 0?t:1e3,function(c){const d=Date.now(),f=i[o];a||(a=d),e[n]=c,i[n]=d;let p=o,_=0;for(;p!==n;)_+=e[p++],p=p%r;if(n=(n+1)%r,n===o&&(o=(o+1)%r),d-a<t)return;const y=f&&d-f;return y?Math.round(_*1e3/y):void 0}}function gc(r,t){let e=0;const i=ym(50,250);return n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,h=o-e,c=i(h),d=o<=a;e=o;const f={loaded:o,total:a,progress:a?o/a:void 0,bytes:h,rate:c||void 0,estimated:c&&a&&d?(a-o)/c:void 0,event:n};f[t?"download":"upload"]=!0,r(f)}}const va={http:Xp,xhr:typeof XMLHttpRequest<"u"&&function(r){return new Promise(function(e,i){let n=r.data;const o=Je.from(r.headers).normalize(),a=r.responseType;let h;function c(){r.cancelToken&&r.cancelToken.unsubscribe(h),r.signal&&r.signal.removeEventListener("abort",h)}let d;O.isFormData(n)&&(Oe.isStandardBrowserEnv||Oe.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.getContentType(/^\s*multipart\/form-data/)?O.isString(d=o.getContentType())&&o.setContentType(d.replace(/^\s*(multipart\/form-data);+/,"$1")):o.setContentType("multipart/form-data"));let f=new XMLHttpRequest;if(r.auth){const v=r.auth.username||"",A=r.auth.password?unescape(encodeURIComponent(r.auth.password)):"";o.set("Authorization","Basic "+btoa(v+":"+A))}const p=fc(r.baseURL,r.url);f.open(r.method.toUpperCase(),ac(p,r.params,r.paramsSerializer),!0),f.timeout=r.timeout;function _(){if(!f)return;const v=Je.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),b={data:!a||a==="text"||a==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:v,config:r,request:f};dm(function(w){e(w),c()},function(w){i(w),c()},b),f=null}if("onloadend"in f?f.onloadend=_:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(_)},f.onabort=function(){f&&(i(new yt("Request aborted",yt.ECONNABORTED,r,f)),f=null)},f.onerror=function(){i(new yt("Network Error",yt.ERR_NETWORK,r,f)),f=null},f.ontimeout=function(){let A=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const b=r.transitional||hc;r.timeoutErrorMessage&&(A=r.timeoutErrorMessage),i(new yt(A,b.clarifyTimeoutError?yt.ETIMEDOUT:yt.ECONNABORTED,r,f)),f=null},Oe.isStandardBrowserEnv){const v=(r.withCredentials||mm(p))&&r.xsrfCookieName&&fm.read(r.xsrfCookieName);v&&o.set(r.xsrfHeaderName,v)}n===void 0&&o.setContentType(null),"setRequestHeader"in f&&O.forEach(o.toJSON(),function(A,b){f.setRequestHeader(b,A)}),O.isUndefined(r.withCredentials)||(f.withCredentials=!!r.withCredentials),a&&a!=="json"&&(f.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&f.addEventListener("progress",gc(r.onDownloadProgress,!0)),typeof r.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",gc(r.onUploadProgress)),(r.cancelToken||r.signal)&&(h=v=>{f&&(i(!v||v.type?new gr(null,r,f):v),f.abort(),f=null)},r.cancelToken&&r.cancelToken.subscribe(h),r.signal&&(r.signal.aborted?h():r.signal.addEventListener("abort",h)));const y=_m(p);if(y&&Oe.protocols.indexOf(y)===-1){i(new yt("Unsupported protocol "+y+":",yt.ERR_BAD_REQUEST,r));return}f.send(n||null)})}};O.forEach(va,(r,t)=>{if(r){try{Object.defineProperty(r,"name",{value:t})}catch{}Object.defineProperty(r,"adapterName",{value:t})}});const pc=r=>`- ${r}`,vm=r=>O.isFunction(r)||r===null||r===!1,mc={getAdapter:r=>{r=O.isArray(r)?r:[r];const{length:t}=r;let e,i;const n={};for(let o=0;o<t;o++){e=r[o];let a;if(i=e,!vm(e)&&(i=va[(a=String(e)).toLowerCase()],i===void 0))throw new yt(`Unknown adapter '${a}'`);if(i)break;n[a||"#"+o]=i}if(!i){const o=Object.entries(n).map(([h,c])=>`adapter ${h} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since :
16
+ `+o.map(pc).join(`
17
+ `):" "+pc(o[0]):"as no adapter specified";throw new yt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i},adapters:va};function xa(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new gr(null,r)}function _c(r){return xa(r),r.headers=Je.from(r.headers),r.data=ya.call(r,r.transformRequest),["post","put","patch"].indexOf(r.method)!==-1&&r.headers.setContentType("application/x-www-form-urlencoded",!1),mc.getAdapter(r.adapter||ma.adapter)(r).then(function(i){return xa(r),i.data=ya.call(r,r.transformResponse,i),i.headers=Je.from(i.headers),i},function(i){return dc(i)||(xa(r),i&&i.response&&(i.response.data=ya.call(r,r.transformResponse,i.response),i.response.headers=Je.from(i.response.headers))),Promise.reject(i)})}const yc=r=>r instanceof Je?r.toJSON():r;function xn(r,t){t=t||{};const e={};function i(d,f,p){return O.isPlainObject(d)&&O.isPlainObject(f)?O.merge.call({caseless:p},d,f):O.isPlainObject(f)?O.merge({},f):O.isArray(f)?f.slice():f}function n(d,f,p){if(O.isUndefined(f)){if(!O.isUndefined(d))return i(void 0,d,p)}else return i(d,f,p)}function o(d,f){if(!O.isUndefined(f))return i(void 0,f)}function a(d,f){if(O.isUndefined(f)){if(!O.isUndefined(d))return i(void 0,d)}else return i(void 0,f)}function h(d,f,p){if(p in t)return i(d,f);if(p in r)return i(void 0,d)}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:h,headers:(d,f)=>n(yc(d),yc(f),!0)};return O.forEach(Object.keys(Object.assign({},r,t)),function(f){const p=c[f]||n,_=p(r[f],t[f],f);O.isUndefined(_)&&p!==h||(e[f]=_)}),e}const vc="1.5.1",Aa={};["object","boolean","number","function","string","symbol"].forEach((r,t)=>{Aa[r]=function(i){return typeof i===r||"a"+(t<1?"n ":" ")+r}});const xc={};Aa.transitional=function(t,e,i){function n(o,a){return"[Axios v"+vc+"] Transitional option '"+o+"'"+a+(i?". "+i:"")}return(o,a,h)=>{if(t===!1)throw new yt(n(a," has been removed"+(e?" in "+e:"")),yt.ERR_DEPRECATED);return e&&!xc[a]&&(xc[a]=!0,console.warn(n(a," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(o,a,h):!0}};function xm(r,t,e){if(typeof r!="object")throw new yt("options must be an object",yt.ERR_BAD_OPTION_VALUE);const i=Object.keys(r);let n=i.length;for(;n-- >0;){const o=i[n],a=t[o];if(a){const h=r[o],c=h===void 0||a(h,o,r);if(c!==!0)throw new yt("option "+o+" must be "+c,yt.ERR_BAD_OPTION_VALUE);continue}if(e!==!0)throw new yt("Unknown option "+o,yt.ERR_BAD_OPTION)}}const wa={assertOptions:xm,validators:Aa},vi=wa.validators;class xs{constructor(t){this.defaults=t,this.interceptors={request:new lc,response:new lc}}request(t,e){typeof t=="string"?(e=e||{},e.url=t):e=t||{},e=xn(this.defaults,e);const{transitional:i,paramsSerializer:n,headers:o}=e;i!==void 0&&wa.assertOptions(i,{silentJSONParsing:vi.transitional(vi.boolean),forcedJSONParsing:vi.transitional(vi.boolean),clarifyTimeoutError:vi.transitional(vi.boolean)},!1),n!=null&&(O.isFunction(n)?e.paramsSerializer={serialize:n}:wa.assertOptions(n,{encode:vi.function,serialize:vi.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a=o&&O.merge(o.common,o[e.method]);o&&O.forEach(["delete","get","head","post","put","patch","common"],v=>{delete o[v]}),e.headers=Je.concat(a,o);const h=[];let c=!0;this.interceptors.request.forEach(function(A){typeof A.runWhen=="function"&&A.runWhen(e)===!1||(c=c&&A.synchronous,h.unshift(A.fulfilled,A.rejected))});const d=[];this.interceptors.response.forEach(function(A){d.push(A.fulfilled,A.rejected)});let f,p=0,_;if(!c){const v=[_c.bind(this),void 0];for(v.unshift.apply(v,h),v.push.apply(v,d),_=v.length,f=Promise.resolve(e);p<_;)f=f.then(v[p++],v[p++]);return f}_=h.length;let y=e;for(p=0;p<_;){const v=h[p++],A=h[p++];try{y=v(y)}catch(b){A.call(this,b);break}}try{f=_c.call(this,y)}catch(v){return Promise.reject(v)}for(p=0,_=d.length;p<_;)f=f.then(d[p++],d[p++]);return f}getUri(t){t=xn(this.defaults,t);const e=fc(t.baseURL,t.url);return ac(e,t.params,t.paramsSerializer)}}O.forEach(["delete","get","head","options"],function(t){xs.prototype[t]=function(e,i){return this.request(xn(i||{},{method:t,url:e,data:(i||{}).data}))}}),O.forEach(["post","put","patch"],function(t){function e(i){return function(o,a,h){return this.request(xn(h||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}xs.prototype[t]=e(),xs.prototype[t+"Form"]=e(!0)});const As=xs;class Ea{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(o){e=o});const i=this;this.promise.then(n=>{if(!i._listeners)return;let o=i._listeners.length;for(;o-- >0;)i._listeners[o](n);i._listeners=null}),this.promise.then=n=>{let o;const a=new Promise(h=>{i.subscribe(h),o=h}).then(n);return a.cancel=function(){i.unsubscribe(o)},a},t(function(o,a,h){i.reason||(i.reason=new gr(o,a,h),e(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);e!==-1&&this._listeners.splice(e,1)}static source(){let t;return{token:new Ea(function(n){t=n}),cancel:t}}}const Am=Ea;function wm(r){return function(e){return r.apply(null,e)}}function Em(r){return O.isObject(r)&&r.isAxiosError===!0}const Ca={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ca).forEach(([r,t])=>{Ca[t]=r});const Cm=Ca;function Ac(r){const t=new As(r),e=Yh(As.prototype.request,t);return O.extend(e,As.prototype,t,{allOwnKeys:!0}),O.extend(e,t,null,{allOwnKeys:!0}),e.create=function(n){return Ac(xn(r,n))},e}const kt=Ac(ma);kt.Axios=As,kt.CanceledError=gr,kt.CancelToken=Am,kt.isCancel=dc,kt.VERSION=vc,kt.toFormData=_s,kt.AxiosError=yt,kt.Cancel=kt.CanceledError,kt.all=function(t){return Promise.all(t)},kt.spread=wm,kt.isAxiosError=Em,kt.mergeConfig=xn,kt.AxiosHeaders=Je,kt.formToJSON=r=>cc(O.isHTMLForm(r)?new FormData(r):r),kt.getAdapter=mc.getAdapter,kt.HttpStatusCode=Cm,kt.default=kt;const wc=kt,ws="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBVcGxvYWRlZCB0bzogU1ZHIFJlcG8sIHd3dy5zdmdyZXBvLmNvbSwgR2VuZXJhdG9yOiBTVkcgUmVwbyBNaXhlciBUb29scyAt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M9IjI2LjUyMywyNi4xMDkgMzUsMTcuNjMyIDM1LDggMTgsNCAxOCwxNy41ODYgIi8+DQo8cG9seWdvbiBzdHlsZT0iZmlsbDojM0Q5OTRGOyIgcG9pbnRzPSIxOCwyMy4yNDMgMTgsMzQuNjMyIDIzLjY5NSwyOC45MzggIi8+DQo8cG9seWdvbiBzdHlsZT0iZmlsbDojNDM5M0JGOyIgcG9pbnRzPSIxOCw0MC4yODkgMTgsNDcgMzUsNTAgMzUsMjMuMjg5ICIvPg0KPHBvbHlnb24gc3R5bGU9ImZpbGw6I0VGQ0U0QTsiIHBvaW50cz0iMTgsMTcuNTg2IDYuODg0LDYuNDcgMi4yNTYsNy40OTkgMTgsMjMuMjQzICIvPg0KPHBvbHlnb24gc3R5bGU9ImZpbGw6I0VGQ0U0QTsiIHBvaW50cz0iMTgsMzQuNjMyIDIuMDk5LDUwLjUzNCA5LjM3Miw0OC45MTcgMTgsNDAuMjg5ICIvPg0KPHBvbHlnb24gc3R5bGU9ImZpbGw6I0VGQ0U0QTsiIHBvaW50cz0iMzUsMjMuMjg5IDUzLDUuMjg5IDUzLDIgNDkuNDQ5LDMuMTg0IDM1LDE3LjYzMiAiLz4NCjxwb2x5Z29uIHN0eWxlPSJmaWxsOiNENkI0NDU7IiBwb2ludHM9IjI2LjUyMywyNi4xMDkgMTgsMTcuNTg2IDE4LDIzLjI0MyAyMy42OTUsMjguOTM4IDE4LDM0LjYzMiAxOCw0MC4yODkgMzUsMjMuMjg5IDM1LDE3LjYzMiANCgkiLz4NCjwvc3ZnPg==";Q.Edit.Circle=Q.Edit.CircleMarker.extend({_createResizeMarker:function(){var r=this._shape.getLatLng(),t=this._getResizeMarkerPoint(r);this._resizeMarkers=[],this._resizeMarkers.push(this._createMarker(t,this.options.resizeIcon))},_getResizeMarkerPoint:function(r){var t=this._shape._radius*Math.cos(Math.PI/4),e=this._map.project(r);return this._map.unproject([e.x+t,e.y-t])},_resize:function(r){var t=this._moveMarker.getLatLng(),e;Q.GeometryUtil.isVersion07x(),e=t.distanceTo(r),this._shape.setRadius(e)}});const Lm=V.defineComponent({props:{configurationMap:{type:Object,required:!1},coordinatesMap:{type:[Array,Function],required:!1},dataPolygon:{type:[Array,Object],required:!1},isSatelite:{type:Boolean,required:!1},getCoodMarker:{type:Function,required:!1},getGeoJSON:{type:Function,required:!1},loadPolygon:{type:Boolean,required:!1},markerCircleSize:{type:Number,required:!1,default:14},markerSvgSize:{type:Number,required:!1,default:10}},data(){return{idMap:"",mapRender:null,markerRender:null,renderCoordinates:Array.isArray(this.coordinatesMap)?this.coordinatesMap:[],renderGeojson:this.dataPolygon,markerIcon:{iconUrl:ss,iconSize:[25,41],iconAnchor:[12,41]},layersFeatureGroup:null,featuresData:null,currentTileLayer:null,isSatelliteView:!1}},mounted(){this.makeid(10),this.renderMap()},methods:{createSatelliteControl(){const r=Q.Control.extend({onAdd:t=>{const e=Q.DomUtil.create("div","leaflet-control-draw leaflet-bar leaflet-control"),i=Q.DomUtil.create("a","leaflet-draw-draw-satellite",e);return i.href="#",i.title=this.isSatelliteView?"Vista Normal":"Vista Satélite",i.style.backgroundImage=this.isSatelliteView?`url(${ws})`:`url(${Es})`,i.style.backgroundPosition="center",i.style.backgroundRepeat="no-repeat",i.style.backgroundSize="20px 20px",Q.DomEvent.disableClickPropagation(i),Q.DomEvent.on(i,"click",this.toggleSatelliteView,this),e}});return new r({position:"topleft"})},toggleSatelliteView(){if(!this.mapRender||!this.currentTileLayer)return;this.isSatelliteView=!this.isSatelliteView,this.mapRender.removeLayer(this.currentTileLayer),this.isSatelliteView?this.currentTileLayer=Q.tileLayer("https://api.maptiler.com/maps/satellite/{z}/{x}/{y}.jpg?key=t8mWT2ozs1JWBqMZOnZr",{attribution:'&copy; <a href="https://www.maptiler.com/">MapTiler</a> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}):this.currentTileLayer=Q.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}),this.currentTileLayer.addTo(this.mapRender),document.querySelectorAll(".leaflet-draw-draw-satellite").forEach(t=>{const e=t;e.style.backgroundImage=this.isSatelliteView?`url(${ws})`:`url(${Es})`,e.title=this.isSatelliteView?"Vista Normal":"Vista Satélite"})},getLayersFeaturesInGeoJson(){const r=Q.geoJSON().addTo(this.mapRender);return this.featuresData.eachLayer(e=>{r.addLayer(e)}),[r.toGeoJSON()]},triggerSaveEdit(){var t,e,i;(i=(e=(t=(document.getElementsByClassName("leaflet-draw-actions leaflet-draw-actions-top")||document.getElementsByClassName("leaflet-draw-actions leaflet-draw-actions-top leaflet-draw-actions-bottom"))[0])==null?void 0:t.querySelector("li"))==null?void 0:e.querySelector("a"))==null||i.click()},makeid(r){let t="";const e="abcdefghijklmnopqrstuvwxyz",i=e.length;let n=0;for(;n<r;)t+=e.charAt(Math.floor(Math.random()*i)),n+=1;this.idMap=t},renderMap(){dp("es"),setTimeout(()=>{this.loadPolygon?this.viewMap():this.createMap()},500)},createMap(){var a,h,c,d,f,p,_,y,v,A,b,M;const r=this.configurationMap?this.configurationMap.iconMarker?this.configurationMap.iconMarker:this.markerIcon:this.markerIcon;window.type=!0;const t=Q.map(this.idMap,{fullscreenControl:!0}).setView([this.renderCoordinates?this.renderCoordinates[0]:0,this.renderCoordinates?this.renderCoordinates[1]:0],this.renderCoordinates?this.renderCoordinates[2]:0);if(this.mapRender=t,this.isSatelliteView=this.isSatelite||!1,this.isSatelliteView?this.currentTileLayer=Q.tileLayer("https://api.maptiler.com/maps/satellite/{z}/{x}/{y}.jpg?key=t8mWT2ozs1JWBqMZOnZr",{attribution:'&copy; <a href="https://www.maptiler.com/">MapTiler</a> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}):this.currentTileLayer=Q.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}),this.currentTileLayer.addTo(t),this.isSatelite!==void 0){const w=this.createSatelliteControl();t.addControl(w)}if(t.setZoom((a=this.configurationMap)==null?void 0:a.maxZoom),(h=this.configurationMap)!=null&&h.renderMarker){const w=Q.marker([this.renderCoordinates?this.renderCoordinates[0]:0,this.renderCoordinates?this.renderCoordinates[1]:0],{icon:Q.icon(r),draggable:(c=this.configurationMap)==null?void 0:c.dragMarker}).addTo(t);this.markerRender=w,this.getCoodMarker&&w.on("dragend",E=>{const C=E.target.getLatLng(),P=C.lat,D=C.lng;this.getCoodMarker&&this.getCoodMarker(P,D)})}const e=Q.featureGroup();this.featuresData=e;const i=e.addTo(t);let n={featureGroup:i,edit:!1,remove:(d=this.configurationMap)==null?void 0:d.editFigures.remove};(f=this.configurationMap)!=null&&f.editFigures.edit&&(n={featureGroup:i,...(p=this.configurationMap)==null?void 0:p.editFigures.edit,remove:(_=this.configurationMap)==null?void 0:_.editFigures.remove});const o=new Q.Control.Draw({position:"topleft",draw:{polygon:(y=this.configurationMap)==null?void 0:y.createFigures.polygon,circle:!1,rectangle:(v=this.configurationMap)!=null&&v.createFigures.rectangle?{shapeOptions:{color:"blue"}}:!1,marker:(A=this.configurationMap)!=null&&A.createFigures.marker?{icon:Q.icon(r)}:!1,polyline:(b=this.configurationMap)!=null&&b.createFigures.polyline?{shapeOptions:{color:"blue"}}:!1,circlemarker:(M=this.configurationMap)==null?void 0:M.createFigures.multipoint},edit:n});t.addControl(o),t.on("draw:created",w=>{var P,D,k,R,F,j,G,Z,$,ot,Y,X,U,B,et;const E=w.layer;i.addLayer(E);let C=E.toGeoJSON();w.layerType==="circlemarker"&&(C={type:"Feature",geometry:{type:"MultiPoint",coordinates:[C.geometry.coordinates]},properties:{...C.properties,pointType:"multipoint",style:{color:((k=(D=(P=this.configurationMap)==null?void 0:P.createFigures)==null?void 0:D.multipoint)==null?void 0:k.color)||"green",fillColor:((j=(F=(R=this.configurationMap)==null?void 0:R.createFigures)==null?void 0:F.multipoint)==null?void 0:j.fillColor)||"green",fillOpacity:(($=(Z=(G=this.configurationMap)==null?void 0:G.createFigures)==null?void 0:Z.multipoint)==null?void 0:$.fillOpacity)||.8,radius:((X=(Y=(ot=this.configurationMap)==null?void 0:ot.createFigures)==null?void 0:Y.multipoint)==null?void 0:X.radius)||6,weight:((et=(B=(U=this.configurationMap)==null?void 0:U.createFigures)==null?void 0:B.multipoint)==null?void 0:et.weight)||2}}}),this.getGeoJSON&&this.getGeoJSON([C])}),t.on("draw:edited",w=>{w.layers.eachLayer(C=>{const P=C.toGeoJSON();this.getGeoJSON&&this.getGeoJSON([P])})})},viewMap(){var c,d,f,p,_,y,v,A,b,M;const r=this.configurationMap?this.configurationMap.iconMarker?this.configurationMap.iconMarker:this.markerIcon:this.markerIcon;window.type=!0;const t=Q.map(this.idMap,{fullscreenControl:!0}).setView([this.renderCoordinates?this.renderCoordinates[0]:0,this.renderCoordinates?this.renderCoordinates[1]:0],this.renderCoordinates?this.renderCoordinates[2]:0);if(this.mapRender=t,this.isSatelliteView=this.isSatelite||!1,this.isSatelliteView?this.currentTileLayer=Q.tileLayer("https://api.maptiler.com/maps/satellite/{z}/{x}/{y}.jpg?key=t8mWT2ozs1JWBqMZOnZr",{attribution:'&copy; <a href="https://www.maptiler.com/">MapTiler</a> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}):this.currentTileLayer=Q.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}),this.currentTileLayer.addTo(t),this.isSatelite!==void 0){const w=this.createSatelliteControl();t.addControl(w)}t.setZoom((c=this.configurationMap)==null?void 0:c.maxZoom);const e=Q.featureGroup();this.featuresData=e;const i=e.addTo(t);let n={featureGroup:i,edit:!1,remove:(d=this.configurationMap)==null?void 0:d.editFigures.remove};(f=this.configurationMap)!=null&&f.editFigures.edit&&(n={featureGroup:i,...(p=this.configurationMap)==null?void 0:p.editFigures.edit,remove:(_=this.configurationMap)==null?void 0:_.editFigures.remove});const o=this,a=this.renderGeojson;if(a&&a.length){const w=[],E=Q.layerGroup().addTo(t);a.forEach(D=>{const k=this;if(D.type==="FeatureCollection")D.features.forEach(R=>{if(R.geometry.type==="Polygon"||R.geometry.type==="MultiPolygon"||R.geometry.type==="LineString"||R.geometry.type==="MultiLineString"||R.geometry.type==="Point"){if(R.geometry.type==="Point"){const F=R.geometry.coordinates;w.push({lat:F[1],lng:F[0],properties:R.properties||{},feature:R})}else Q.geoJson(R,{pointToLayer:this.getPointToLayer.bind(this),onEachFeature:function(F,j){if(i.addLayer(j),F.geometry.type==="Polygon"||F.geometry.type==="MultiPolygon"){var G=k.getPolygonTooltipContent(F);j.bindPopup(G,{maxHeight:360,maxWidth:320,className:"limit-popup"})}}});if(R.geometry.type==="LineString"&&Array.isArray(R.geometry.coordinates)){const F=R.geometry.coordinates,j=R.properties&&Array.isArray(R.properties.coordProperties)?R.properties.coordProperties:[];if(Array.isArray(j)&&j.length)for(let G=0;G<F.length;G++){const Z=this.markerCircleSize||14,$=this.markerSvgSize||10;let ot=`<div style="display:flex;align-items:center;justify-content:center;width:${Z}px;height:${Z}px;">`,Y="";if(G<F.length-1&&j[G]&&j[G+1]&&j[G].fecha&&j[G+1].fecha&&new Date(j[G+1].fecha)>new Date(j[G].fecha)){const U=lt=>lt*Math.PI/180,B=lt=>lt*180/Math.PI,et=U(F[G][1]),W=U(F[G+1][1]),it=U(F[G+1][0]-F[G][0]),z=Math.sin(it)*Math.cos(W),gt=Math.cos(et)*Math.sin(W)-Math.sin(et)*Math.cos(W)*Math.cos(it);let J=Math.atan2(z,gt);J=B(J);const q=(J+360)%360;Y=`<svg width="${$}" height="${$}" viewBox="0 0 22 22" style="display:block;transform:rotate(${q}deg);"><polygon points="11,3 15,17 11,14 7,17" fill="#fff" stroke="#fff"/></svg>`}ot+=`<div style="background:#2196F3;border-radius:50%;border:1px solid #fff;box-shadow:0 0 2px #000;padding:1px;width:${Z-6}px;height:${Z-6}px;display:flex;align-items:center;justify-content:center;">${Y}</div>`,ot+="</div>",Q.marker([F[G][1],F[G][0]],{icon:Q.divIcon({className:"",html:ot,iconSize:[Z,Z],iconAnchor:[Z/2,Z/2]}),zIndexOffset:-100}).addTo(i)}}}});else if(D.type==="Feature"&&(D.geometry.type==="Polygon"||D.geometry.type==="MultiPolygon"||D.geometry.type==="LineString"||D.geometry.type==="MultiLineString"||D.geometry.type==="Point")){if(D.geometry.type==="Point"){const R=D.geometry.coordinates;w.push({lat:R[1],lng:R[0],properties:D.properties||{},feature:D})}else Q.geoJson(D,{pointToLayer:this.getPointToLayer.bind(this),onEachFeature:function(R,F){if(i.addLayer(F),R.geometry.type==="Polygon"||R.geometry.type==="MultiPolygon"){var j=k.getPolygonTooltipContent(R);F.bindPopup(j,{maxHeight:360,maxWidth:320,className:"limit-popup"})}}});if(D.geometry.type==="LineString"&&Array.isArray(D.geometry.coordinates)){const R=D.geometry.coordinates,F=D.properties&&Array.isArray(D.properties.coordProperties)?D.properties.coordProperties:[];if(Array.isArray(F)&&F.length)for(let j=0;j<R.length;j++){const G=this.markerCircleSize||14,Z=this.markerSvgSize||10;let $=`<div style="display:flex;align-items:center;justify-content:center;width:${G}px;height:${G}px;">`,ot="";if(j<R.length-1&&F[j]&&F[j+1]&&F[j].fecha&&F[j+1].fecha&&new Date(F[j+1].fecha)>new Date(F[j].fecha)){const X=q=>q*Math.PI/180,U=q=>q*180/Math.PI,B=X(R[j][1]),et=X(R[j+1][1]),W=X(R[j+1][0]-R[j][0]),it=Math.sin(W)*Math.cos(et),z=Math.cos(B)*Math.sin(et)-Math.sin(B)*Math.cos(et)*Math.cos(W);let gt=Math.atan2(it,z);gt=U(gt);const J=(gt+360)%360;ot=`<svg width="${Z}" height="${Z}" viewBox="0 0 22 22" style="display:block;transform:rotate(${J}deg);"><polygon points="11,3 15,17 11,14 7,17" fill="#fff" stroke="#fff"/></svg>`}$+=`<div style="background:#2196F3;border-radius:50%;border:1px solid #fff;box-shadow:0 0 2px #000;padding:1.5px;width:${G-6}px;height:${G-6}px;display:flex;align-items:center;justify-content:center;">${ot}</div>`,$+="</div>",Q.marker([R[j][1],R[j][0]],{icon:Q.divIcon({className:"",html:$,iconSize:[G,G],iconAnchor:[G/2,G/2]})}).addTo(i)}}}});const C=()=>{if(E.clearLayers(),!w.length)return;const D=(G,Z)=>t.project([G,Z],t.getZoom()),k=Math.max(30,80-t.getZoom()*2),R=w.slice(),F=new Array(R.length).fill(!1),j=[];for(let G=0;G<R.length;G++){if(F[G])continue;const Z=R[G],$=D(Z.lat,Z.lng),ot=[Z];F[G]=!0;for(let Y=G+1;Y<R.length;Y++){if(F[Y])continue;const X=R[Y],U=D(X.lat,X.lng);Math.sqrt(Math.pow($.x-U.x,2)+Math.pow($.y-U.y,2))<k&&(ot.push(X),F[Y]=!0)}j.push(ot)}j.forEach(G=>{const Z=G.reduce((Y,X)=>Y+X.lat,0)/G.length,$=G.reduce((Y,X)=>Y+X.lng,0)/G.length,ot=Y=>{const X=Y==null?void 0:Y.tipo,U=50,B=50,et=16,W=41,it=[Math.round(U/2-et),Math.round(B/2-W)],z=Q.icon({iconUrl:aa,iconSize:[U,B],iconAnchor:[et,W],popupAnchor:it}),gt=Q.icon({iconUrl:la,iconSize:[U,B],iconAnchor:[et,W],popupAnchor:it}),J=Q.icon({iconUrl:ha,iconSize:[U,B],iconAnchor:[et,W],popupAnchor:it});return X===0?z:X===1?gt:J};if(G.length===1){const Y=G[0],X=ot(Y.properties||{}),U=Q.marker([Z,$],{icon:X,zIndexOffset:1e3}),B=Y.feature||{},et=o.getPopupContent(B);U.bindPopup(et,{maxHeight:360,maxWidth:320,className:"limit-popup"}),E.addLayer(U)}else{const Y=G[0],U=`<div style="position:relative;display:inline-block;"><img src="${ot(Y.properties||{}).options.iconUrl}" style="width:50px;height:50px;object-fit:cover;"/><div style="position:absolute;right:-2px;top:-2px;background:#2196F3;color:#fff;font-size:11px;font-weight:bold;border-radius:50%;padding:0;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;z-index:3;border:1.5px solid #fff;">${G.length}</div></div>`,B=Q.marker([Z,$],{icon:Q.divIcon({className:"",html:U,iconSize:[50,50],iconAnchor:[25,25],popupAnchor:[0,0]}),zIndexOffset:1e3}),et=[];G.forEach(it=>{const z=it.feature||{},gt=o.getPopupContent(z)||"";et.push(`<div style="padding:6px 0;">${gt}</div>`)});const W=et.join('<hr style="border:none;border-top:1px solid #ddd;margin:6px 0;"/>');B.bindPopup(`<div style="max-width:320px;">${W}</div>`,{maxHeight:360,maxWidth:320,className:"limit-popup"}),E.addLayer(B)}})};C(),t.on("zoomend",()=>{C()});const P=i.getBounds();t.fitBounds(P)}const h=new Q.Control.Draw({position:"topleft",draw:{polygon:(y=this.configurationMap)==null?void 0:y.createFigures.polygon,circle:!1,rectangle:(v=this.configurationMap)!=null&&v.createFigures.rectangle?{shapeOptions:{color:"blue"}}:!1,marker:(A=this.configurationMap)!=null&&A.createFigures.marker?{icon:Q.icon(r)}:!1,polyline:(b=this.configurationMap)!=null&&b.createFigures.polyline?{shapeOptions:{color:"blue"}}:!1,circlemarker:(M=this.configurationMap)==null?void 0:M.createFigures.multipoint},edit:n});t.addControl(h),t.on("draw:created",w=>{var P,D,k,R,F,j,G,Z,$,ot,Y,X,U,B,et;const E=w.layer;i.addLayer(E);let C=E.toGeoJSON();w.layerType==="circlemarker"&&(C={type:"Feature",geometry:{type:"MultiPoint",coordinates:[C.geometry.coordinates]},properties:{...C.properties,pointType:"multipoint",style:{color:((k=(D=(P=this.configurationMap)==null?void 0:P.createFigures)==null?void 0:D.multipoint)==null?void 0:k.color)||"green",fillColor:((j=(F=(R=this.configurationMap)==null?void 0:R.createFigures)==null?void 0:F.multipoint)==null?void 0:j.fillColor)||"green",fillOpacity:(($=(Z=(G=this.configurationMap)==null?void 0:G.createFigures)==null?void 0:Z.multipoint)==null?void 0:$.fillOpacity)||.8,radius:((X=(Y=(ot=this.configurationMap)==null?void 0:ot.createFigures)==null?void 0:Y.multipoint)==null?void 0:X.radius)||6,weight:((et=(B=(U=this.configurationMap)==null?void 0:U.createFigures)==null?void 0:B.multipoint)==null?void 0:et.weight)||2}}}),this.getGeoJSON&&this.getGeoJSON(C)}),t.on("draw:edited",w=>{w.layers.eachLayer(C=>{const P=C.toGeoJSON();this.getGeoJSON&&this.getGeoJSON(P)})})},getPointToLayer(r,t){var i,n;if(((i=r.geometry)==null?void 0:i.type)==="Point"){const o=(n=r.properties)==null?void 0:n.tipo,a=Q.icon({iconUrl:aa,iconSize:[50,50],iconAnchor:[16,41]}),h=Q.icon({iconUrl:la,iconSize:[50,50],iconAnchor:[16,41]});let d=Q.icon({iconUrl:ha,iconSize:[50,50],iconAnchor:[16,41]});return o===0?d=a:o===1&&(d=h),Q.marker(t,{icon:d})}return Q.marker(t)},async searchAddress(r){const t=await wc.get(location.protocol+"//nominatim.openstreetmap.org/search?",{params:{q:r,limit:1,format:"json"}});if(t.data.length===1){const e=parseFloat(t.data[0].lat),n={lng:parseFloat(t.data[0].lon),lat:e};return this.setCoordinates({...n,moveMarker:!0}),t.data[0]}return t.data},setCoordinates({lat:r,lng:t}){if(this.mapRender){const e=Q.latLng(r,t);this.mapRender.panTo(e,{animate:!0,duration:.5})}},getPopupContent(r){const t=r.properties||{},e=t.descripcion||"",i=t.fechaHoraLlegada||"",n=t.fotoId||"",o=f=>{const p=new Date(f);if(isNaN(p.getTime()))return f;try{const _=new Intl.DateTimeFormat("es-BO",{timeZone:"America/La_Paz",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts(p),y=C=>{var P;return((P=_.find(D=>D.type===C))==null?void 0:P.value)||""},v=y("day"),A=y("month"),b=y("year"),M=y("hour"),w=y("minute"),E=y("second");return`${v}/${A}/${b} ${M}:${w}:${E}`}catch{const v=p.getTime()+-144e5,A=new Date(v),b=M=>M.toString().padStart(2,"0");return`${b(A.getUTCDate())}/${b(A.getUTCMonth()+1)}/${A.getUTCFullYear()} ${b(A.getUTCHours())}:${b(A.getUTCMinutes())}:${b(A.getUTCSeconds())}`}};let a="";i&&(a=o(i));const h=t.tipo,c=h===0?aa:h===1?la:ha;let d='<div style="max-width:320px;">';return n&&(d+=`
16
18
  <div style="display:flex;justify-content:center;margin-bottom:8px;">
17
19
  <img src="${n}" style="height:200px;width:200px;max-width:320px;object-fit:cover;border-radius:10px;box-shadow:0 4px 10px rgba(0,0,0,0.12);"/>
18
- </div>`),d+='<div style="display:flex;align-items:center;gap:8px;padding-top:6px;">',c&&(d+=`<img src="${c}" style="width:30px;height:30px;flex:0 0 15px;"/>`),a?d+=`<div style="font-size:14px;"><b>${e}:</b> ${a}</div>`:d+=`<div style="font-size:14px;">${e}</div>`,d+="</div>",d+="</div>",d},getPolygonTooltipContent(r){const t=r.properties||{};return`<div style="font-weight: bold; padding: 5px;">${t.descripcion||t.name||"Sin descripción"}</div>`}},watch:{coordinatesMap(r){if(this.renderCoordinates=Array.isArray(r)?r:[],this.mapRender&&this.markerRender&&this.renderCoordinates.length>=2){const t=this.renderCoordinates,e=Q.latLng([t[0],t[1]]);this.mapRender.setView([t[0],t[1]],t[2]),this.markerRender.setLatLng(e)}},dataPolygon(r){this.renderGeojson=r}}}),wC="",Qm=["id"];function qm(r,t,e,i,n,s){var a;return X.openBlock(),X.createElementBlock("div",{class:"map-container",style:X.normalizeStyle(`height:${(a=r.configurationMap)==null?void 0:a.height}`)},[X.createElementVNode("div",{id:r.idMap,style:{height:"100%"}},null,8,Qm)],4)}const Jm=Ea(Km,[["render",qm]]),$m=["id"],t_=X.defineComponent({__name:"MapSearchAddress",props:{configurationMap:{default:()=>({height:"250px",maxZoom:20,iconMarker:{iconUrl:ws,iconSize:[25,41],iconAnchor:[12,41],class:"",type:"image"},dragMarker:!0})},coordinatesMap:{default:()=>({lat:-19.0429,lng:-65.2554,zoom:12})},isSatelite:{type:Boolean}},emits:["updated:coordsMarker"],setup(r,{expose:t,emit:e}){const i=r,n=X.ref(),s=X.ref(i.coordinatesMap),a=X.ref(),h=X.ref(),c=X.ref(null),d=X.ref(!1);X.onMounted(async()=>{await f(10),await p()});const f=async w=>{let E="";const C="abcdefghijklmnopqrstuvwxyz",P=C.length;let D=0;for(;D<w;)E+=C.charAt(Math.floor(Math.random()*P)),D+=1;n.value=E},p=async()=>{await m()},m=async()=>{var C,P;const w=(C=i.configurationMap)==null?void 0:C.iconMarker,E=Q.map(n.value,{fullscreenControl:!0}).setView([s.value.lat,s.value.lng],s.value.zoom);if(E.invalidateSize(),a.value=E,d.value=i.isSatelite||!1,d.value?c.value=Q.tileLayer("https://api.maptiler.com/maps/satellite/{z}/{x}/{y}.jpg?key=t8mWT2ozs1JWBqMZOnZr",{attribution:'&copy; <a href="https://www.maptiler.com/">MapTiler</a> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}):c.value=Q.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:(P=i.configurationMap)==null?void 0:P.maxZoom,attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}),c.value.addTo(E),i.isSatelite!==void 0){const D=y();E.addControl(D)}if(w.type==="image"){const D=Q.marker([s.value.lat,s.value.lng],{icon:Q.icon({iconUrl:w.iconUrl,iconAnchor:w.iconAnchor,iconSize:w.iconSize,className:w.class}),draggable:i.configurationMap.dragMarker}).addTo(E);h.value=D,D.on("dragend",O=>{const R=O.target.getLatLng(),z=R.lat,j=R.lng;b({lat:z,lng:j})})}else if(w.type==="svg"){const D=Q.marker([s.value.lat,s.value.lng],{icon:Q.divIcon({html:w.iconUrl,iconAnchor:w.iconAnchor,iconSize:w.iconSize,className:w.class}),draggable:i.configurationMap.dragMarker}).addTo(E);h.value=D,D.on("dragend",O=>{const R=O.target.getLatLng(),z=R.lat,j=R.lng;b({lat:z,lng:j})})}},y=()=>{const w=Q.Control.extend({onAdd:E=>{const C=Q.DomUtil.create("div","leaflet-control-draw leaflet-bar leaflet-control"),P=Q.DomUtil.create("a","leaflet-draw-draw-satellite",C);return P.href="#",P.title=d.value?"Vista Normal":"Vista Satélite",P.style.backgroundImage=d.value?`url(${Ns})`:`url(${Gs})`,P.style.backgroundPosition="center",P.style.backgroundRepeat="no-repeat",P.style.backgroundSize="20px 20px",Q.DomEvent.disableClickPropagation(P),Q.DomEvent.on(P,"click",v),C}});return new w({position:"topleft"})},v=()=>{if(!a.value||!c.value)return;d.value=!d.value,a.value.removeLayer(c.value),d.value?c.value=Q.tileLayer("https://api.maptiler.com/maps/satellite/{z}/{x}/{y}.jpg?key=t8mWT2ozs1JWBqMZOnZr",{attribution:'&copy; <a href="https://www.maptiler.com/">MapTiler</a> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}):c.value=Q.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}),c.value.addTo(a.value),document.querySelectorAll(".leaflet-draw-draw-satellite").forEach(E=>{const C=E;C.style.backgroundImage=d.value?`url(${Ns})`:`url(${Gs})`,C.title=d.value?"Vista Normal":"Vista Satélite"})},A=async w=>{const E=await jc.get(location.protocol+"//nominatim.openstreetmap.org/search?",{params:{q:w,limit:1,format:"json"}});if(E.data.length===1){const C=parseFloat(E.data[0].lat),D={lng:parseFloat(E.data[0].lon),lat:C};return b({...D,moveMarker:!0}),E.data[0]}return E.data},b=({lat:w,lng:E,moveMarker:C=!1})=>{var P;e("updated:coordsMarker",{lat:w,lng:E}),C&&((P=h.value)==null||P.setLatLng({lat:w,lng:E})),M({lat:w,lng:E})},M=({lat:w,lng:E})=>{const C=Q.latLng(w,E);a.value.panTo(C,{animate:!0,duration:.5})};return t({searchAddress:A}),(w,E)=>{var C;return X.openBlock(),X.createElementBlock("div",{class:"map-container",style:X.normalizeStyle(`height:${(C=w.configurationMap)==null?void 0:C.height}`)},[X.createElementVNode("div",{id:n.value,style:{height:"100%"}},null,8,$m)],4)}}}),EC="";class e_{constructor(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}const ai=e_,Sn={PROPERTYCHANGE:"propertychange"};class i_{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}const Us=i_;function n_(r,t,e){let i,n;e=e||Pi;let s=0,a=r.length,h=!1;for(;s<a;)i=s+(a-s>>1),n=+e(r[i],t),n<0?s=i+1:(a=i,h=!n);return h?s:~s}function Pi(r,t){return r>t?1:r<t?-1:0}function Ga(r,t,e){if(r[0]<=t)return 0;const i=r.length;if(t<=r[i-1])return i-1;if(typeof e=="function"){for(let n=1;n<i;++n){const s=r[n];if(s===t)return n;if(s<t)return e(t,r[n-1],s)>0?n-1:n}return i-1}if(e>0){for(let n=1;n<i;++n)if(r[n]<t)return n-1;return i-1}if(e<0){for(let n=1;n<i;++n)if(r[n]<=t)return n;return i-1}for(let n=1;n<i;++n){if(r[n]==t)return n;if(r[n]<t)return r[n-1]-t<t-r[n]?n-1:n}return i-1}function r_(r,t,e){for(;t<e;){const i=r[t];r[t]=r[e],r[e]=i,++t,--e}}function We(r,t){const e=Array.isArray(t)?t:[t],i=e.length;for(let n=0;n<i;n++)r[r.length]=e[n]}function li(r,t){const e=r.length;if(e!==t.length)return!1;for(let i=0;i<e;i++)if(r[i]!==t[i])return!1;return!0}function s_(r,t,e){const i=t||Pi;return r.every(function(n,s){if(s===0)return!0;const a=i(r[s-1],n);return!(a>0||e&&a===0)})}function Lr(){return!0}function js(){return!1}function Rn(){}function Hc(r){let t=!1,e,i,n;return function(){const s=Array.prototype.slice.call(arguments);return(!t||this!==n||!li(s,i))&&(t=!0,n=this,i=s,e=r.apply(this,arguments)),e}}function kn(r){for(const t in r)delete r[t]}function on(r){let t;for(t in r)return!1;return!t}class o_ extends Us{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,e){if(!t||!e)return;const i=this.listeners_||(this.listeners_={}),n=i[t]||(i[t]=[]);n.includes(e)||n.push(e)}dispatchEvent(t){const e=typeof t=="string",i=e?t:t.type,n=this.listeners_&&this.listeners_[i];if(!n)return;const s=e?new ai(t):t;s.target||(s.target=this.eventTarget_||this);const a=this.dispatching_||(this.dispatching_={}),h=this.pendingRemovals_||(this.pendingRemovals_={});i in a||(a[i]=0,h[i]=0),++a[i];let c;for(let d=0,f=n.length;d<f;++d)if("handleEvent"in n[d]?c=n[d].handleEvent(s):c=n[d].call(this,s),c===!1||s.propagationStopped){c=!1;break}if(--a[i]===0){let d=h[i];for(delete h[i];d--;)this.removeEventListener(i,Rn);delete a[i]}return c}disposeInternal(){this.listeners_&&kn(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:!1}removeEventListener(t,e){if(!this.listeners_)return;const i=this.listeners_[t];if(!i)return;const n=i.indexOf(e);n!==-1&&(this.pendingRemovals_&&t in this.pendingRemovals_?(i[n]=Rn,++this.pendingRemovals_[t]):(i.splice(n,1),i.length===0&&delete this.listeners_[t]))}}const Hs=o_,ut={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 mt(r,t,e,i,n){if(i&&i!==r&&(e=e.bind(i)),n){const a=e;e=function(){r.removeEventListener(t,e),a.apply(this,arguments)}}const s={target:r,type:t,listener:e};return r.addEventListener(t,e),s}function Ws(r,t,e,i){return mt(r,t,e,i,!0)}function bt(r){r&&r.target&&(r.target.removeEventListener(r.type,r.listener),kn(r))}class Ys extends Hs{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(ut.CHANGE)}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const i=t.length,n=new Array(i);for(let s=0;s<i;++s)n[s]=mt(this,t[s],e);return n}return mt(this,t,e)}onceInternal(t,e){let i;if(Array.isArray(t)){const n=t.length;i=new Array(n);for(let s=0;s<n;++s)i[s]=Ws(this,t[s],e)}else i=Ws(this,t,e);return e.ol_key=i,i}unInternal(t,e){const i=e.ol_key;if(i)a_(i);else if(Array.isArray(t))for(let n=0,s=t.length;n<s;++n)this.removeEventListener(t[n],e);else this.removeEventListener(t,e)}}Ys.prototype.on,Ys.prototype.once,Ys.prototype.un;function a_(r){if(Array.isArray(r))for(let t=0,e=r.length;t<e;++t)bt(r[t]);else bt(r)}const Wc=Ys;function lt(){throw new Error("Unimplemented abstract method.")}let l_=0;function gt(r){return r.ol_uid||(r.ol_uid=String(++l_))}class Yc extends ai{constructor(t,e,i){super(t),this.key=e,this.oldValue=i}}class h_ extends Wc{constructor(t){super(),this.on,this.once,this.un,gt(this),this.values_=null,t!==void 0&&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 i;i=`change:${t}`,this.hasListener(i)&&this.dispatchEvent(new Yc(i,t,e)),i=Sn.PROPERTYCHANGE,this.hasListener(i)&&this.dispatchEvent(new Yc(i,t,e))}addChangeListener(t,e){this.addEventListener(`change:${t}`,e)}removeChangeListener(t,e){this.removeEventListener(`change:${t}`,e)}set(t,e,i){const n=this.values_||(this.values_={});if(i)n[t]=e;else{const s=n[t];n[t]=e,s!==e&&this.notify(t,s)}}setProperties(t,e){for(const i in t)this.set(i,t[i],e)}applyProperties(t){t.values_&&Object.assign(this.values_||(this.values_={}),t.values_)}unset(t,e){if(this.values_&&t in this.values_){const i=this.values_[t];delete this.values_[t],on(this.values_)&&(this.values_=null),e||this.notify(t,i)}}}const Ie=h_,Ht={ANIMATING:0,INTERACTING:1},Se={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},c_=42,Ua=256,br={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};class u_{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=t.extent!==void 0?t.extent:null,this.worldExtent_=t.worldExtent!==void 0?t.worldExtent:null,this.axisOrientation_=t.axisOrientation!==void 0?t.axisOrientation:"enu",this.global_=t.global!==void 0?t.global:!1,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_||br[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_}}const Zc=u_,Tr=6378137,On=Math.PI*Tr,d_=[-On,-On,On,On],f_=[-180,-85,180,85],Zs=Tr*Math.log(Math.tan(Math.PI/2));class Fn extends Zc{constructor(t){super({code:t,units:"m",extent:d_,global:!0,worldExtent:f_,getPointResolution:function(e,i){return e/Math.cosh(i[1]/Tr)}})}}const Xc=[new Fn("EPSG:3857"),new Fn("EPSG:102100"),new Fn("EPSG:102113"),new Fn("EPSG:900913"),new Fn("http://www.opengis.net/def/crs/EPSG/0/3857"),new Fn("http://www.opengis.net/gml/srs/epsg.xml#3857")];function g_(r,t,e){const i=r.length;e=e>1?e:2,t===void 0&&(e>2?t=r.slice():t=new Array(i));for(let n=0;n<i;n+=e){t[n]=On*r[n]/180;let s=Tr*Math.log(Math.tan(Math.PI*(+r[n+1]+90)/360));s>Zs?s=Zs:s<-Zs&&(s=-Zs),t[n+1]=s}return t}function p_(r,t,e){const i=r.length;e=e>1?e:2,t===void 0&&(e>2?t=r.slice():t=new Array(i));for(let n=0;n<i;n+=e)t[n]=180*r[n]/On,t[n+1]=360*Math.atan(Math.exp(r[n+1]/Tr))/Math.PI-90;return t}const m_=6378137,Vc=[-180,-90,180,90],__=Math.PI*m_/180;class an extends Zc{constructor(t,e){super({code:t,units:"degrees",extent:Vc,axisOrientation:e,global:!0,metersPerUnit:__,worldExtent:Vc})}}const Kc=[new an("CRS:84"),new an("EPSG:4326","neu"),new an("urn:ogc:def:crs:OGC:1.3:CRS84"),new an("urn:ogc:def:crs:OGC:2:84"),new an("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new an("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new an("http://www.opengis.net/def/crs/EPSG/0/4326","neu")];let ja={};function y_(r){return ja[r]||ja[r.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null}function v_(r,t){ja[r]=t}let zn={};function Xs(r,t,e){const i=r.getCode(),n=t.getCode();i in zn||(zn[i]={}),zn[i][n]=e}function x_(r,t){let e;return r in zn&&t in zn[r]&&(e=zn[r][t]),e}const Wt={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16};function Qc(r){const t=xe();for(let e=0,i=r.length;e<i;++e)Pr(t,r[e]);return t}function Vs(r,t,e){return e?(e[0]=r[0]-t,e[1]=r[1]-t,e[2]=r[2]+t,e[3]=r[3]+t,e):[r[0]-t,r[1]-t,r[2]+t,r[3]+t]}function qc(r,t){return t?(t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t):r.slice()}function ln(r,t,e){let i,n;return t<r[0]?i=r[0]-t:r[2]<t?i=t-r[2]:i=0,e<r[1]?n=r[1]-e:r[3]<e?n=e-r[3]:n=0,i*i+n*n}function Ks(r,t){return Ha(r,t[0],t[1])}function hn(r,t){return r[0]<=t[0]&&t[2]<=r[2]&&r[1]<=t[1]&&t[3]<=r[3]}function Ha(r,t,e){return r[0]<=t&&t<=r[2]&&r[1]<=e&&e<=r[3]}function Wa(r,t){const e=r[0],i=r[1],n=r[2],s=r[3],a=t[0],h=t[1];let c=Wt.UNKNOWN;return a<e?c=c|Wt.LEFT:a>n&&(c=c|Wt.RIGHT),h<i?c=c|Wt.BELOW:h>s&&(c=c|Wt.ABOVE),c===Wt.UNKNOWN&&(c=Wt.INTERSECTING),c}function xe(){return[1/0,1/0,-1/0,-1/0]}function Di(r,t,e,i,n){return n?(n[0]=r,n[1]=t,n[2]=e,n[3]=i,n):[r,t,e,i]}function Mr(r){return Di(1/0,1/0,-1/0,-1/0,r)}function Jc(r,t){const e=r[0],i=r[1];return Di(e,i,e,i,t)}function Ya(r,t,e,i,n){const s=Mr(n);return tu(s,r,t,e,i)}function Bn(r,t){return r[0]==t[0]&&r[2]==t[2]&&r[1]==t[1]&&r[3]==t[3]}function $c(r,t){return t[0]<r[0]&&(r[0]=t[0]),t[2]>r[2]&&(r[2]=t[2]),t[1]<r[1]&&(r[1]=t[1]),t[3]>r[3]&&(r[3]=t[3]),r}function Pr(r,t){t[0]<r[0]&&(r[0]=t[0]),t[0]>r[2]&&(r[2]=t[0]),t[1]<r[1]&&(r[1]=t[1]),t[1]>r[3]&&(r[3]=t[1])}function tu(r,t,e,i,n){for(;e<i;e+=n)A_(r,t[e],t[e+1]);return r}function A_(r,t,e){r[0]=Math.min(r[0],t),r[1]=Math.min(r[1],e),r[2]=Math.max(r[2],t),r[3]=Math.max(r[3],e)}function eu(r,t){let e;return e=t(Qs(r)),e||(e=t(qs(r)),e)||(e=t(Js(r)),e)||(e=t(cn(r)),e)?e:!1}function Za(r){let t=0;return $s(r)||(t=Tt(r)*Ae(r)),t}function Qs(r){return[r[0],r[1]]}function qs(r){return[r[2],r[1]]}function Ii(r){return[(r[0]+r[2])/2,(r[1]+r[3])/2]}function w_(r,t){let e;if(t==="bottom-left")e=Qs(r);else if(t==="bottom-right")e=qs(r);else if(t==="top-left")e=cn(r);else if(t==="top-right")e=Js(r);else throw new Error("Invalid corner");return e}function Xa(r,t,e,i,n){const[s,a,h,c,d,f,p,m]=Va(r,t,e,i);return Di(Math.min(s,h,d,p),Math.min(a,c,f,m),Math.max(s,h,d,p),Math.max(a,c,f,m),n)}function Va(r,t,e,i){const n=t*i[0]/2,s=t*i[1]/2,a=Math.cos(e),h=Math.sin(e),c=n*a,d=n*h,f=s*a,p=s*h,m=r[0],y=r[1];return[m-c+p,y-d-f,m-c-p,y-d+f,m+c-p,y+d+f,m+c+p,y+d-f,m-c+p,y-d-f]}function Ae(r){return r[3]-r[1]}function Dr(r,t,e){const i=e||xe();return ce(r,t)?(r[0]>t[0]?i[0]=r[0]:i[0]=t[0],r[1]>t[1]?i[1]=r[1]:i[1]=t[1],r[2]<t[2]?i[2]=r[2]:i[2]=t[2],r[3]<t[3]?i[3]=r[3]:i[3]=t[3]):Mr(i),i}function cn(r){return[r[0],r[3]]}function Js(r){return[r[2],r[3]]}function Tt(r){return r[2]-r[0]}function ce(r,t){return r[0]<=t[2]&&r[2]>=t[0]&&r[1]<=t[3]&&r[3]>=t[1]}function $s(r){return r[2]<r[0]||r[3]<r[1]}function E_(r,t){return t?(t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t):r}function C_(r,t,e){let i=!1;const n=Wa(r,t),s=Wa(r,e);if(n===Wt.INTERSECTING||s===Wt.INTERSECTING)i=!0;else{const a=r[0],h=r[1],c=r[2],d=r[3],f=t[0],p=t[1],m=e[0],y=e[1],v=(y-p)/(m-f);let A,b;s&Wt.ABOVE&&!(n&Wt.ABOVE)&&(A=m-(y-d)/v,i=A>=a&&A<=c),!i&&s&Wt.RIGHT&&!(n&Wt.RIGHT)&&(b=y-(m-c)*v,i=b>=h&&b<=d),!i&&s&Wt.BELOW&&!(n&Wt.BELOW)&&(A=m-(y-h)/v,i=A>=a&&A<=c),!i&&s&Wt.LEFT&&!(n&Wt.LEFT)&&(b=y-(m-a)*v,i=b>=h&&b<=d)}return i}function iu(r,t){const e=t.getExtent(),i=Ii(r);if(t.canWrapX()&&(i[0]<e[0]||i[0]>=e[2])){const n=Tt(e),a=Math.floor((i[0]-e[0])/n)*n;r[0]-=a,r[2]-=a}return r}function L_(r,t){if(t.canWrapX()){const e=t.getExtent();if(!isFinite(r[0])||!isFinite(r[2]))return[[e[0],r[1],e[2],r[3]]];iu(r,t);const i=Tt(e);if(Tt(r)>i)return[[e[0],r[1],e[2],r[3]]];if(r[0]<e[0])return[[r[0]+i,r[1],e[2],r[3]],[e[0],r[1],r[2],r[3]]];if(r[2]>e[2])return[[r[0],r[1],e[2],r[3]],[e[0],r[1],r[2]-i,r[3]]]}return[r]}function kt(r,t,e){return Math.min(Math.max(r,t),e)}function b_(r,t,e,i,n,s){const a=n-e,h=s-i;if(a!==0||h!==0){const c=((r-e)*a+(t-i)*h)/(a*a+h*h);c>1?(e=n,i=s):c>0&&(e+=a*c,i+=h*c)}return un(r,t,e,i)}function un(r,t,e,i){const n=e-r,s=i-t;return n*n+s*s}function T_(r){const t=r.length;for(let i=0;i<t;i++){let n=i,s=Math.abs(r[i][i]);for(let h=i+1;h<t;h++){const c=Math.abs(r[h][i]);c>s&&(s=c,n=h)}if(s===0)return null;const a=r[n];r[n]=r[i],r[i]=a;for(let h=i+1;h<t;h++){const c=-r[h][i]/r[i][i];for(let d=i;d<t+1;d++)i==d?r[h][d]=0:r[h][d]+=c*r[i][d]}}const e=new Array(t);for(let i=t-1;i>=0;i--){e[i]=r[i][t]/r[i][i];for(let n=i-1;n>=0;n--)r[n][t]-=r[n][i]*e[i]}return e}function to(r){return r*Math.PI/180}function Nn(r,t){const e=r%t;return e*t<0?e+t:e}function we(r,t,e){return r+e*(t-r)}function Ka(r,t){const e=Math.pow(10,t);return Math.round(r*e)/e}function eo(r,t){return Math.floor(Ka(r,t))}function io(r,t){return Math.ceil(Ka(r,t))}function M_(r,t){return r[0]+=+t[0],r[1]+=+t[1],r}function no(r,t){let e=!0;for(let i=r.length-1;i>=0;--i)if(r[i]!=t[i]){e=!1;break}return e}function Qa(r,t){const e=Math.cos(t),i=Math.sin(t),n=r[0]*e-r[1]*i,s=r[1]*e+r[0]*i;return r[0]=n,r[1]=s,r}function P_(r,t){return r[0]*=t,r[1]*=t,r}function nu(r,t){if(t.canWrapX()){const e=Tt(t.getExtent()),i=D_(r,t,e);i&&(r[0]-=i*e)}return r}function D_(r,t,e){const i=t.getExtent();let n=0;return t.canWrapX()&&(r[0]<i[0]||r[0]>i[2])&&(e=e||Tt(i),n=Math.floor((r[0]-i[0])/e)),n}const I_=63710088e-1;function ru(r,t,e){e=e||I_;const i=to(r[1]),n=to(t[1]),s=(n-i)/2,a=to(t[0]-r[0])/2,h=Math.sin(s)*Math.sin(s)+Math.sin(a)*Math.sin(a)*Math.cos(i)*Math.cos(n);return 2*e*Math.atan2(Math.sqrt(h),Math.sqrt(1-h))}const su={info:1,warn:2,error:3,none:4};let S_=su.info;function ou(...r){S_>su.warn||console.warn(...r)}let qa=!0;function au(r){qa=!(r===void 0?!0:r)}function Ja(r,t){if(t!==void 0){for(let e=0,i=r.length;e<i;++e)t[e]=r[e];t=t}else t=r.slice();return t}function lu(r,t){if(t!==void 0&&r!==t){for(let e=0,i=r.length;e<i;++e)t[e]=r[e];r=t}return r}function R_(r){v_(r.getCode(),r),Xs(r,r,Ja)}function k_(r){r.forEach(R_)}function zt(r){return typeof r=="string"?y_(r):r||null}function hu(r,t,e,i){r=zt(r);let n;const s=r.getPointResolutionFunc();if(s){if(n=s(t,e),i&&i!==r.getUnits()){const a=r.getMetersPerUnit();a&&(n=n*a/br[i])}}else{const a=r.getUnits();if(a=="degrees"&&!i||i=="degrees")n=t;else{const h=tl(r,zt("EPSG:4326"));if(h===lu&&a!=="degrees")n=t*r.getMetersPerUnit();else{let d=[e[0]-t/2,e[1],e[0]+t/2,e[1],e[0],e[1]-t/2,e[0],e[1]+t/2];d=h(d,d,2);const f=ru(d.slice(0,2),d.slice(2,4)),p=ru(d.slice(4,6),d.slice(6,8));n=(f+p)/2}const c=i?br[i]:r.getMetersPerUnit();c!==void 0&&(n/=c)}}return n}function cu(r){k_(r),r.forEach(function(t){r.forEach(function(e){t!==e&&Xs(t,e,Ja)})})}function O_(r,t,e,i){r.forEach(function(n){t.forEach(function(s){Xs(n,s,e),Xs(s,n,i)})})}function $a(r,t){return r?typeof r=="string"?zt(r):r:zt(t)}function uu(r,t){return au(),du(r,"EPSG:4326",t!==void 0?t:"EPSG:3857")}function dn(r,t){if(r===t)return!0;const e=r.getUnits()===t.getUnits();return(r.getCode()===t.getCode()||tl(r,t)===Ja)&&e}function tl(r,t){const e=r.getCode(),i=t.getCode();let n=x_(e,i);return n||(n=lu),n}function Ir(r,t){const e=zt(r),i=zt(t);return tl(e,i)}function du(r,t,e){return Ir(t,e)(r,void 0,r.length)}function el(r,t){return r}function hi(r,t){return qa&&!no(r,[0,0])&&r[0]>=-180&&r[0]<=180&&r[1]>=-90&&r[1]<=90&&(qa=!1,ou("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),r}function fu(r,t){return r}function fn(r,t){return r}function F_(){cu(Xc),cu(Kc),O_(Kc,Xc,g_,p_)}F_();function vt(r,t){if(!r)throw new Error(t)}function gu(r,t,e){return function(i,n,s,a,h){if(!i)return;if(!n&&!t)return i;const c=t?0:s[0]*n,d=t?0:s[1]*n,f=h?h[0]:0,p=h?h[1]:0;let m=r[0]+c/2+f,y=r[2]-c/2+f,v=r[1]+d/2+p,A=r[3]-d/2+p;m>y&&(m=(y+m)/2,y=m),v>A&&(v=(A+v)/2,A=v);let b=kt(i[0],m,y),M=kt(i[1],v,A);if(a&&e&&n){const w=30*n;b+=-w*Math.log(1+Math.max(0,m-i[0])/w)+w*Math.log(1+Math.max(0,i[0]-y)/w),M+=-w*Math.log(1+Math.max(0,v-i[1])/w)+w*Math.log(1+Math.max(0,i[1]-A)/w)}return[b,M]}}function z_(r){return r}function il(r,t,e,i){const n=Tt(t)/e[0],s=Ae(t)/e[1];return i?Math.min(r,Math.max(n,s)):Math.min(r,Math.min(n,s))}function nl(r,t,e){let i=Math.min(r,t);const n=50;return i*=Math.log(1+n*Math.max(0,r/t-1))/n+1,e&&(i=Math.max(i,e),i/=Math.log(1+n*Math.max(0,e/r-1))/n+1),kt(i,e/2,t*2)}function B_(r,t,e,i){return t=t!==void 0?t:!0,function(n,s,a,h){if(n!==void 0){const c=r[0],d=r[r.length-1],f=e?il(c,e,a,i):c;if(h)return t?nl(n,f,d):kt(n,d,f);const p=Math.min(f,n),m=Math.floor(Ga(r,p,s));return r[m]>f&&m<r.length-1?r[m+1]:r[m]}}}function N_(r,t,e,i,n,s){return i=i!==void 0?i:!0,e=e!==void 0?e:0,function(a,h,c,d){if(a!==void 0){const f=n?il(t,n,c,s):t;if(d)return i?nl(a,f,e):kt(a,e,f);const p=1e-9,m=Math.ceil(Math.log(t/f)/Math.log(r)-p),y=-h*(.5-p)+.5,v=Math.min(f,a),A=Math.floor(Math.log(t/v)/Math.log(r)+y),b=Math.max(m,A),M=t/Math.pow(r,b);return kt(M,e,f)}}}function pu(r,t,e,i,n){return e=e!==void 0?e:!0,function(s,a,h,c){if(s!==void 0){const d=i?il(r,i,h,n):r;return!e||!c?kt(s,t,d):nl(s,d,t)}}}function rl(r){if(r!==void 0)return 0}function mu(r){if(r!==void 0)return r}function G_(r){const t=2*Math.PI/r;return function(e,i){if(i)return e;if(e!==void 0)return e=Math.floor(e/t+.5)*t,e}}function U_(r){const t=r===void 0?to(5):r;return function(e,i){return i||e===void 0?e:Math.abs(e)<=t?0:e}}function _u(r){return Math.pow(r,3)}function Gn(r){return 1-_u(1-r)}function j_(r){return 3*r*r-2*r*r*r}function H_(r){return r}const Si=typeof navigator<"u"&&typeof navigator.userAgent<"u"?navigator.userAgent.toLowerCase():"",W_=Si.includes("firefox"),Y_=Si.includes("safari")&&!Si.includes("chrom")&&(Si.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(Si)),Z_=Si.includes("webkit")&&!Si.includes("edge"),yu=Si.includes("macintosh"),vu=typeof devicePixelRatio<"u"?devicePixelRatio:1,sl=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,xu=typeof Image<"u"&&Image.prototype.decode,Au=function(){let r=!1;try{const t=Object.defineProperty({},"passive",{get:function(){r=!0}});window.addEventListener("_",null,t),window.removeEventListener("_",null,t)}catch{}return r}(),X_=new Array(6);function Yt(){return[1,0,0,1,0,0]}function wu(r,t){const e=r[0],i=r[1],n=r[2],s=r[3],a=r[4],h=r[5],c=t[0],d=t[1],f=t[2],p=t[3],m=t[4],y=t[5];return r[0]=e*c+n*d,r[1]=i*c+s*d,r[2]=e*f+n*p,r[3]=i*f+s*p,r[4]=e*m+n*y+a,r[5]=i*m+s*y+h,r}function Eu(r,t,e,i,n,s,a){return r[0]=t,r[1]=e,r[2]=i,r[3]=n,r[4]=s,r[5]=a,r}function V_(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r}function Bt(r,t){const e=t[0],i=t[1];return t[0]=r[0]*e+r[2]*i+r[4],t[1]=r[1]*e+r[3]*i+r[5],t}function K_(r,t,e){return Eu(r,t,0,0,e,0,0)}function Q_(r,t,e){return wu(r,Eu(X_,1,0,0,1,t,e))}function Re(r,t,e,i,n,s,a,h){const c=Math.sin(s),d=Math.cos(s);return r[0]=i*d,r[1]=n*c,r[2]=-i*c,r[3]=n*d,r[4]=a*i*d-h*i*c+t,r[5]=a*n*c+h*n*d+e,r}function ro(r,t){const e=q_(t);vt(e!==0,"Transformation matrix cannot be inverted");const i=t[0],n=t[1],s=t[2],a=t[3],h=t[4],c=t[5];return r[0]=a/e,r[1]=-n/e,r[2]=-s/e,r[3]=i/e,r[4]=(s*c-a*h)/e,r[5]=-(i*c-n*h)/e,r}function q_(r){return r[0]*r[3]-r[1]*r[2]}let Cu;function Lu(r){const t="matrix("+r.join(", ")+")";if(sl)return t;const e=Cu||(Cu=document.createElement("div"));return e.style.transform=t,e.style.transform}function Ri(r,t,e,i,n,s){s=s||[];let a=0;for(let h=t;h<e;h+=i){const c=r[h],d=r[h+1];s[a++]=n[0]*c+n[2]*d+n[4],s[a++]=n[1]*c+n[3]*d+n[5]}return s&&s.length!=a&&(s.length=a),s}function bu(r,t,e,i,n,s,a){a=a||[];const h=Math.cos(n),c=Math.sin(n),d=s[0],f=s[1];let p=0;for(let m=t;m<e;m+=i){const y=r[m]-d,v=r[m+1]-f;a[p++]=d+y*h-v*c,a[p++]=f+y*c+v*h;for(let A=m+2;A<m+i;++A)a[p++]=r[A]}return a&&a.length!=p&&(a.length=p),a}function J_(r,t,e,i,n,s,a,h){h=h||[];const c=a[0],d=a[1];let f=0;for(let p=t;p<e;p+=i){const m=r[p]-c,y=r[p+1]-d;h[f++]=c+n*m,h[f++]=d+s*y;for(let v=p+2;v<p+i;++v)h[f++]=r[v]}return h&&h.length!=f&&(h.length=f),h}function $_(r,t,e,i,n,s,a){a=a||[];let h=0;for(let c=t;c<e;c+=i){a[h++]=r[c]+n,a[h++]=r[c+1]+s;for(let d=c+2;d<c+i;++d)a[h++]=r[d]}return a&&a.length!=h&&(a.length=h),a}const Tu=Yt();class ty extends Ie{constructor(){super(),this.extent_=xe(),this.extentRevision_=-1,this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=0,this.simplifyTransformedInternal=Hc((t,e,i)=>{if(!i)return this.getSimplifiedGeometry(e);const n=this.clone();return n.applyTransform(i),n.getSimplifiedGeometry(e)})}simplifyTransformed(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)}clone(){return lt()}closestPointXY(t,e,i,n){return lt()}containsXY(t,e){const i=this.getClosestPoint([t,e]);return i[0]===t&&i[1]===e}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 lt()}getExtent(t){if(this.extentRevision_!=this.getRevision()){const e=this.computeExtent(this.extent_);(isNaN(e[0])||isNaN(e[1]))&&Mr(e),this.extentRevision_=this.getRevision()}return E_(this.extent_,t)}rotate(t,e){lt()}scale(t,e,i){lt()}simplify(t){return this.getSimplifiedGeometry(t*t)}getSimplifiedGeometry(t){return lt()}getType(){return lt()}applyTransform(t){lt()}intersectsExtent(t){return lt()}translate(t,e){lt()}transform(t,e){const i=zt(t),n=i.getUnits()=="tile-pixels"?function(s,a,h){const c=i.getExtent(),d=i.getWorldExtent(),f=Ae(d)/Ae(c);return Re(Tu,d[0],d[3],f,-f,0,0,0),Ri(s,0,s.length,h,Tu,a),Ir(i,e)(s,a,h)}:Ir(i,e);return this.applyTransform(n),this}}const Mu=ty;class gn extends Mu{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(t){return Ya(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinates(){return lt()}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||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&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=Pu(t),this.layout=t,this.flatCoordinates=e}setCoordinates(t,e){lt()}setLayout(t,e,i){let n;if(t)n=Pu(t);else{for(let s=0;s<i;++s){if(e.length===0){this.layout="XY",this.stride=2;return}e=e[0]}n=e.length,t=pn(n)}this.layout=t,this.stride=n}applyTransform(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())}rotate(t,e){const i=this.getFlatCoordinates();if(i){const n=this.getStride();bu(i,0,i.length,n,t,e,i),this.changed()}}scale(t,e,i){e===void 0&&(e=t),i||(i=Ii(this.getExtent()));const n=this.getFlatCoordinates();if(n){const s=this.getStride();J_(n,0,n.length,s,t,e,i,n),this.changed()}}translate(t,e){const i=this.getFlatCoordinates();if(i){const n=this.getStride();$_(i,0,i.length,n,t,e,i),this.changed()}}}function pn(r){let t;return r==2?t="XY":r==3?t="XYZ":r==4&&(t="XYZM"),t}function Pu(r){let t;return r=="XY"?t=2:r=="XYZ"||r=="XYM"?t=3:r=="XYZM"&&(t=4),t}function ey(r,t,e){const i=r.getFlatCoordinates();if(!i)return null;const n=r.getStride();return Ri(i,0,i.length,n,t,e)}function Du(r,t,e,i,n,s,a){const h=r[t],c=r[t+1],d=r[e]-h,f=r[e+1]-c;let p;if(d===0&&f===0)p=t;else{const m=((n-h)*d+(s-c)*f)/(d*d+f*f);if(m>1)p=e;else if(m>0){for(let y=0;y<i;++y)a[y]=we(r[t+y],r[e+y],m);a.length=i;return}else p=t}for(let m=0;m<i;++m)a[m]=r[p+m];a.length=i}function ol(r,t,e,i,n){let s=r[t],a=r[t+1];for(t+=i;t<e;t+=i){const h=r[t],c=r[t+1],d=un(s,a,h,c);d>n&&(n=d),s=h,a=c}return n}function al(r,t,e,i,n){for(let s=0,a=e.length;s<a;++s){const h=e[s];n=ol(r,t,h,i,n),t=h}return n}function iy(r,t,e,i,n){for(let s=0,a=e.length;s<a;++s){const h=e[s];n=al(r,t,h,i,n),t=h[h.length-1]}return n}function ll(r,t,e,i,n,s,a,h,c,d,f){if(t==e)return d;let p,m;if(n===0){if(m=un(a,h,r[t],r[t+1]),m<d){for(p=0;p<i;++p)c[p]=r[t+p];return c.length=i,m}return d}f=f||[NaN,NaN];let y=t+i;for(;y<e;)if(Du(r,y-i,y,i,a,h,f),m=un(a,h,f[0],f[1]),m<d){for(d=m,p=0;p<i;++p)c[p]=f[p];c.length=i,y+=i}else y+=i*Math.max((Math.sqrt(m)-Math.sqrt(d))/n|0,1);if(s&&(Du(r,e-i,t,i,a,h,f),m=un(a,h,f[0],f[1]),m<d)){for(d=m,p=0;p<i;++p)c[p]=f[p];c.length=i}return d}function hl(r,t,e,i,n,s,a,h,c,d,f){f=f||[NaN,NaN];for(let p=0,m=e.length;p<m;++p){const y=e[p];d=ll(r,t,y,i,n,s,a,h,c,d,f),t=y}return d}function ny(r,t,e,i,n,s,a,h,c,d,f){f=f||[NaN,NaN];for(let p=0,m=e.length;p<m;++p){const y=e[p];d=hl(r,t,y,i,n,s,a,h,c,d,f),t=y[y.length-1]}return d}function ry(r,t,e,i){for(let n=0,s=e.length;n<s;++n)r[t++]=e[n];return t}function so(r,t,e,i){for(let n=0,s=e.length;n<s;++n){const a=e[n];for(let h=0;h<i;++h)r[t++]=a[h]}return t}function Sr(r,t,e,i,n){n=n||[];let s=0;for(let a=0,h=e.length;a<h;++a){const c=so(r,t,e[a],i);n[s++]=c,t=c}return n.length=s,n}function Iu(r,t,e,i,n){n=n||[];let s=0;for(let a=0,h=e.length;a<h;++a){const c=Sr(r,t,e[a],i,n[s]);c.length===0&&(c[0]=t),n[s++]=c,t=c[c.length-1]}return n.length=s,n}function oo(r,t,e,i,n,s,a){const h=(e-t)/i;if(h<3){for(;t<e;t+=i)s[a++]=r[t],s[a++]=r[t+1];return a}const c=new Array(h);c[0]=1,c[h-1]=1;const d=[t,e-i];let f=0;for(;d.length>0;){const p=d.pop(),m=d.pop();let y=0;const v=r[m],A=r[m+1],b=r[p],M=r[p+1];for(let w=m+i;w<p;w+=i){const E=r[w],C=r[w+1],P=b_(E,C,v,A,b,M);P>y&&(f=w,y=P)}y>n&&(c[(f-t)/i]=1,m+i<f&&d.push(m,f),f+i<p&&d.push(f,p))}for(let p=0;p<h;++p)c[p]&&(s[a++]=r[t+p*i],s[a++]=r[t+p*i+1]);return a}function Su(r,t,e,i,n,s,a,h){for(let c=0,d=e.length;c<d;++c){const f=e[c];a=oo(r,t,f,i,n,s,a),h.push(a),t=f}return a}function mn(r,t){return t*Math.round(r/t)}function sy(r,t,e,i,n,s,a){if(t==e)return a;let h=mn(r[t],n),c=mn(r[t+1],n);t+=i,s[a++]=h,s[a++]=c;let d,f;do if(d=mn(r[t],n),f=mn(r[t+1],n),t+=i,t==e)return s[a++]=d,s[a++]=f,a;while(d==h&&f==c);for(;t<e;){const p=mn(r[t],n),m=mn(r[t+1],n);if(t+=i,p==d&&m==f)continue;const y=d-h,v=f-c,A=p-h,b=m-c;if(y*b==v*A&&(y<0&&A<y||y==A||y>0&&A>y)&&(v<0&&b<v||v==b||v>0&&b>v)){d=p,f=m;continue}s[a++]=d,s[a++]=f,h=d,c=f,d=p,f=m}return s[a++]=d,s[a++]=f,a}function cl(r,t,e,i,n,s,a,h){for(let c=0,d=e.length;c<d;++c){const f=e[c];a=sy(r,t,f,i,n,s,a),h.push(a),t=f}return a}function oy(r,t,e,i,n,s,a,h){for(let c=0,d=e.length;c<d;++c){const f=e[c],p=[];a=cl(r,t,f,i,n,s,a,p),h.push(p),t=f[f.length-1]}return a}function ki(r,t,e,i,n){n=n!==void 0?n:[];let s=0;for(let a=t;a<e;a+=i)n[s++]=r.slice(a,a+i);return n.length=s,n}function Rr(r,t,e,i,n){n=n!==void 0?n:[];let s=0;for(let a=0,h=e.length;a<h;++a){const c=e[a];n[s++]=ki(r,t,c,i,n[s]),t=c}return n.length=s,n}function ul(r,t,e,i,n){n=n!==void 0?n:[];let s=0;for(let a=0,h=e.length;a<h;++a){const c=e[a];n[s++]=c.length===1&&c[0]===t?[]:Rr(r,t,c,i,n[s]),t=c[c.length-1]}return n.length=s,n}function Ru(r,t,e,i){let n=0,s=r[e-i],a=r[e-i+1];for(;t<e;t+=i){const h=r[t],c=r[t+1];n+=a*h-s*c,s=h,a=c}return n/2}function ku(r,t,e,i){let n=0;for(let s=0,a=e.length;s<a;++s){const h=e[s];n+=Ru(r,t,h,i),t=h}return n}function ay(r,t,e,i){let n=0;for(let s=0,a=e.length;s<a;++s){const h=e[s];n+=ku(r,t,h,i),t=h[h.length-1]}return n}class ao extends gn{constructor(t,e){super(),this.maxDelta_=-1,this.maxDeltaRevision_=-1,e!==void 0&&!Array.isArray(t[0])?this.setFlatCoordinates(e,t):this.setCoordinates(t,e)}clone(){return new ao(this.flatCoordinates.slice(),this.layout)}closestPointXY(t,e,i,n){return n<ln(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(ol(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),ll(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,i,n))}getArea(){return Ru(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinates(){return ki(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getSimplifiedGeometryInternal(t){const e=[];return e.length=oo(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,0),new ao(e,"XY")}getType(){return"LinearRing"}intersectsExtent(t){return!1}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=so(this.flatCoordinates,0,t,this.stride),this.changed()}}const Ou=ao;class dl extends gn{constructor(t,e){super(),this.setCoordinates(t,e)}clone(){const t=new dl(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,n){const s=this.flatCoordinates,a=un(t,e,s[0],s[1]);if(a<n){const h=this.stride;for(let c=0;c<h;++c)i[c]=s[c];return i.length=h,a}return n}getCoordinates(){return this.flatCoordinates.slice()}computeExtent(t){return Jc(this.flatCoordinates,t)}getType(){return"Point"}intersectsExtent(t){return Ha(t,this.flatCoordinates[0],this.flatCoordinates[1])}setCoordinates(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=ry(this.flatCoordinates,0,t,this.stride),this.changed()}}const lo=dl;function ly(r,t,e,i,n){return!eu(n,function(a){return!_n(r,t,e,i,a[0],a[1])})}function _n(r,t,e,i,n,s){let a=0,h=r[e-i],c=r[e-i+1];for(;t<e;t+=i){const d=r[t],f=r[t+1];c<=s?f>s&&(d-h)*(s-c)-(n-h)*(f-c)>0&&a++:f<=s&&(d-h)*(s-c)-(n-h)*(f-c)<0&&a--,h=d,c=f}return a!==0}function fl(r,t,e,i,n,s){if(e.length===0||!_n(r,t,e[0],i,n,s))return!1;for(let a=1,h=e.length;a<h;++a)if(_n(r,e[a-1],e[a],i,n,s))return!1;return!0}function hy(r,t,e,i,n,s){if(e.length===0)return!1;for(let a=0,h=e.length;a<h;++a){const c=e[a];if(fl(r,t,c,i,n,s))return!0;t=c[c.length-1]}return!1}function gl(r,t,e,i,n,s,a){let h,c,d,f,p,m,y;const v=n[s+1],A=[];for(let w=0,E=e.length;w<E;++w){const C=e[w];for(f=r[C-i],m=r[C-i+1],h=t;h<C;h+=i)p=r[h],y=r[h+1],(v<=m&&y<=v||m<=v&&v<=y)&&(d=(v-m)/(y-m)*(p-f)+f,A.push(d)),f=p,m=y}let b=NaN,M=-1/0;for(A.sort(Pi),f=A[0],h=1,c=A.length;h<c;++h){p=A[h];const w=Math.abs(p-f);w>M&&(d=(f+p)/2,fl(r,t,e,i,d,v)&&(b=d,M=w)),f=p}return isNaN(b)&&(b=n[s]),a?(a.push(b,v,M),a):[b,v,M]}function Fu(r,t,e,i,n){let s=[];for(let a=0,h=e.length;a<h;++a){const c=e[a];s=gl(r,t,c,i,n,2*a,s),t=c[c.length-1]}return s}function zu(r,t,e,i,n){let s;for(t+=i;t<e;t+=i)if(s=n(r.slice(t-i,t),r.slice(t,t+i)),s)return s;return!1}function ho(r,t,e,i,n){const s=tu(xe(),r,t,e,i);return ce(n,s)?hn(n,s)||s[0]>=n[0]&&s[2]<=n[2]||s[1]>=n[1]&&s[3]<=n[3]?!0:zu(r,t,e,i,function(a,h){return C_(n,a,h)}):!1}function cy(r,t,e,i,n){for(let s=0,a=e.length;s<a;++s){if(ho(r,t,e[s],i,n))return!0;t=e[s]}return!1}function Bu(r,t,e,i,n){return!!(ho(r,t,e,i,n)||_n(r,t,e,i,n[0],n[1])||_n(r,t,e,i,n[0],n[3])||_n(r,t,e,i,n[2],n[1])||_n(r,t,e,i,n[2],n[3]))}function Nu(r,t,e,i,n){if(!Bu(r,t,e[0],i,n))return!1;if(e.length===1)return!0;for(let s=1,a=e.length;s<a;++s)if(ly(r,e[s-1],e[s],i,n)&&!ho(r,e[s-1],e[s],i,n))return!1;return!0}function uy(r,t,e,i,n){for(let s=0,a=e.length;s<a;++s){const h=e[s];if(Nu(r,t,h,i,n))return!0;t=h[h.length-1]}return!1}function dy(r,t,e,i){for(;t<e-i;){for(let n=0;n<i;++n){const s=r[t+n];r[t+n]=r[e-i+n],r[e-i+n]=s}t+=i,e-=i}}function pl(r,t,e,i){let n=0,s=r[e-i],a=r[e-i+1];for(;t<e;t+=i){const h=r[t],c=r[t+1];n+=(h-s)*(c+a),s=h,a=c}return n===0?void 0:n>0}function ml(r,t,e,i,n){n=n!==void 0?n:!1;for(let s=0,a=e.length;s<a;++s){const h=e[s],c=pl(r,t,h,i);if(s===0){if(n&&c||!n&&!c)return!1}else if(n&&!c||!n&&c)return!1;t=h}return!0}function Gu(r,t,e,i,n){for(let s=0,a=e.length;s<a;++s){const h=e[s];if(!ml(r,t,h,i,n))return!1;h.length&&(t=h[h.length-1])}return!0}function co(r,t,e,i,n){n=n!==void 0?n:!1;for(let s=0,a=e.length;s<a;++s){const h=e[s],c=pl(r,t,h,i);(s===0?n&&c||!n&&!c:n&&!c||!n&&c)&&dy(r,t,h,i),t=h}return t}function _l(r,t,e,i,n){for(let s=0,a=e.length;s<a;++s)t=co(r,t,e[s],i,n);return t}function fy(r,t){const e=[];let i=0,n=0,s;for(let a=0,h=t.length;a<h;++a){const c=t[a],d=pl(r,i,c,2);if(s===void 0&&(s=d),d===s)e.push(t.slice(n,a+1));else{if(e.length===0)continue;e[e.length-1].push(t[n])}n=a+1,i=c}return e}class Oi extends gn{constructor(t,e,i){super(),this.ends_=[],this.flatInteriorPointRevision_=-1,this.flatInteriorPoint_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,e!==void 0&&i?(this.setFlatCoordinates(e,t),this.ends_=i):this.setCoordinates(t,e)}appendLinearRing(t){this.flatCoordinates?We(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const t=new Oi(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t}closestPointXY(t,e,i,n){return n<ln(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(al(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),hl(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,i,n))}containsXY(t,e){return fl(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)}getArea(){return ku(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)}getCoordinates(t){let e;return t!==void 0?(e=this.getOrientedFlatCoordinates().slice(),co(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,Rr(e,0,this.ends_,this.stride)}getEnds(){return this.ends_}getFlatInteriorPoint(){if(this.flatInteriorPointRevision_!=this.getRevision()){const t=Ii(this.getExtent());this.flatInteriorPoint_=gl(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_}getInteriorPoint(){return new lo(this.getFlatInteriorPoint(),"XYM")}getLinearRingCount(){return this.ends_.length}getLinearRing(t){return t<0||this.ends_.length<=t?null:new Ou(this.flatCoordinates.slice(t===0?0:this.ends_[t-1],this.ends_[t]),this.layout)}getLinearRings(){const t=this.layout,e=this.flatCoordinates,i=this.ends_,n=[];let s=0;for(let a=0,h=i.length;a<h;++a){const c=i[a],d=new Ou(e.slice(s,c),t);n.push(d),s=c}return n}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const t=this.flatCoordinates;ml(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=co(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(t){const e=[],i=[];return e.length=cl(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),e,0,i),new Oi(e,"XY",i)}getType(){return"Polygon"}intersectsExtent(t){return Nu(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);const i=Sr(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=i.length===0?0:i[i.length-1],this.changed()}}function Uu(r){if($s(r))throw new Error("Cannot create polygon from empty extent");const t=r[0],e=r[1],i=r[2],n=r[3],s=[t,e,t,n,i,n,i,e,t,e];return new Oi(s,"XY",[s.length])}const yl=0;class gy extends Ie{constructor(t){super(),this.on,this.once,this.un,t=Object.assign({},t),this.hints_=[0,0],this.animations_=[],this.updateAnimationKey_,this.projection_=$a(t.projection,"EPSG:3857"),this.viewportSize_=[100,100],this.targetCenter_=null,this.targetResolution_,this.targetRotation_,this.nextCenter_=null,this.nextResolution_,this.nextRotation_,this.cancelAnchor_=void 0,t.projection&&au(),t.center&&(t.center=hi(t.center,this.projection_)),t.extent&&(t.extent=fn(t.extent,this.projection_)),this.applyOptions_(t)}applyOptions_(t){const e=Object.assign({},t);for(const h in Se)delete e[h];this.setProperties(e,!0);const i=my(t);this.maxResolution_=i.maxResolution,this.minResolution_=i.minResolution,this.zoomFactor_=i.zoomFactor,this.resolutions_=t.resolutions,this.padding_=t.padding,this.minZoom_=i.minZoom;const n=py(t),s=i.constraint,a=_y(t);this.constraints_={center:n,resolution:s,rotation:a},this.setRotation(t.rotation!==void 0?t.rotation:0),this.setCenterInternal(t.center!==void 0?t.center:null),t.resolution!==void 0?this.setResolution(t.resolution):t.zoom!==void 0&&this.setZoom(t.zoom)}get padding(){return this.padding_}set padding(t){let e=this.padding_;this.padding_=t;const i=this.getCenterInternal();if(i){const n=t||[0,0,0,0];e=e||[0,0,0,0];const s=this.getResolution(),a=s/2*(n[3]-e[3]+e[1]-n[1]),h=s/2*(n[0]-e[0]+e[2]-n[2]);this.setCenterInternal([i[0]+a,i[1]-h])}}getUpdatedOptions_(t){const e=this.getProperties();return e.resolution!==void 0?e.resolution=this.getResolution():e.zoom=this.getZoom(),e.center=this.getCenterInternal(),e.rotation=this.getRotation(),Object.assign({},e,t)}animate(t){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);const e=new Array(arguments.length);for(let i=0;i<e.length;++i){let n=arguments[i];n.center&&(n=Object.assign({},n),n.center=hi(n.center,this.getProjection())),n.anchor&&(n=Object.assign({},n),n.anchor=hi(n.anchor,this.getProjection())),e[i]=n}this.animateInternal.apply(this,e)}animateInternal(t){let e=arguments.length,i;e>1&&typeof arguments[e-1]=="function"&&(i=arguments[e-1],--e);let n=0;for(;n<e&&!this.isDef();++n){const f=arguments[n];f.center&&this.setCenterInternal(f.center),f.zoom!==void 0?this.setZoom(f.zoom):f.resolution&&this.setResolution(f.resolution),f.rotation!==void 0&&this.setRotation(f.rotation)}if(n===e){i&&uo(i,!0);return}let s=Date.now(),a=this.targetCenter_.slice(),h=this.targetResolution_,c=this.targetRotation_;const d=[];for(;n<e;++n){const f=arguments[n],p={start:s,complete:!1,anchor:f.anchor,duration:f.duration!==void 0?f.duration:1e3,easing:f.easing||j_,callback:i};if(f.center&&(p.sourceCenter=a,p.targetCenter=f.center.slice(),a=p.targetCenter),f.zoom!==void 0?(p.sourceResolution=h,p.targetResolution=this.getResolutionForZoom(f.zoom),h=p.targetResolution):f.resolution&&(p.sourceResolution=h,p.targetResolution=f.resolution,h=p.targetResolution),f.rotation!==void 0){p.sourceRotation=c;const m=Nn(f.rotation-c+Math.PI,2*Math.PI)-Math.PI;p.targetRotation=c+m,c=p.targetRotation}yy(p)?p.complete=!0:s+=p.duration,d.push(p)}this.animations_.push(d),this.setHint(Ht.ANIMATING,1),this.updateAnimations_()}getAnimating(){return this.hints_[Ht.ANIMATING]>0}getInteracting(){return this.hints_[Ht.INTERACTING]>0}cancelAnimations(){this.setHint(Ht.ANIMATING,-this.hints_[Ht.ANIMATING]);let t;for(let e=0,i=this.animations_.length;e<i;++e){const n=this.animations_[e];if(n[0].callback&&uo(n[0].callback,!1),!t)for(let s=0,a=n.length;s<a;++s){const h=n[s];if(!h.complete){t=h.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=t,this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN}updateAnimations_(){if(this.updateAnimationKey_!==void 0&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),!this.getAnimating())return;const t=Date.now();let e=!1;for(let i=this.animations_.length-1;i>=0;--i){const n=this.animations_[i];let s=!0;for(let a=0,h=n.length;a<h;++a){const c=n[a];if(c.complete)continue;const d=t-c.start;let f=c.duration>0?d/c.duration:1;f>=1?(c.complete=!0,f=1):s=!1;const p=c.easing(f);if(c.sourceCenter){const m=c.sourceCenter[0],y=c.sourceCenter[1],v=c.targetCenter[0],A=c.targetCenter[1];this.nextCenter_=c.targetCenter;const b=m+p*(v-m),M=y+p*(A-y);this.targetCenter_=[b,M]}if(c.sourceResolution&&c.targetResolution){const m=p===1?c.targetResolution:c.sourceResolution+p*(c.targetResolution-c.sourceResolution);if(c.anchor){const y=this.getViewportSize_(this.getRotation()),v=this.constraints_.resolution(m,0,y,!0);this.targetCenter_=this.calculateCenterZoom(v,c.anchor)}this.nextResolution_=c.targetResolution,this.targetResolution_=m,this.applyTargetState_(!0)}if(c.sourceRotation!==void 0&&c.targetRotation!==void 0){const m=p===1?Nn(c.targetRotation+Math.PI,2*Math.PI)-Math.PI:c.sourceRotation+p*(c.targetRotation-c.sourceRotation);if(c.anchor){const y=this.constraints_.rotation(m,!0);this.targetCenter_=this.calculateCenterRotate(y,c.anchor)}this.nextRotation_=c.targetRotation,this.targetRotation_=m}if(this.applyTargetState_(!0),e=!0,!c.complete)break}if(s){this.animations_[i]=null,this.setHint(Ht.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const a=n[0].callback;a&&uo(a,!0)}}this.animations_=this.animations_.filter(Boolean),e&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,e){let i;const n=this.getCenterInternal();return n!==void 0&&(i=[n[0]-e[0],n[1]-e[1]],Qa(i,t-this.getRotation()),M_(i,e)),i}calculateCenterZoom(t,e){let i;const n=this.getCenterInternal(),s=this.getResolution();if(n!==void 0&&s!==void 0){const a=e[0]-t*(e[0]-n[0])/s,h=e[1]-t*(e[1]-n[1])/s;i=[a,h]}return i}getViewportSize_(t){const e=this.viewportSize_;if(t){const i=e[0],n=e[1];return[Math.abs(i*Math.cos(t))+Math.abs(n*Math.sin(t)),Math.abs(i*Math.sin(t))+Math.abs(n*Math.cos(t))]}return e}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t&&el(t,this.getProjection())}getCenterInternal(){return this.get(Se.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return t!==void 0?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){const e=this.calculateExtentInternal(t);return fu(e,this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const e=this.getCenterInternal();vt(e,"The view center is not defined");const i=this.getResolution();vt(i!==void 0,"The view resolution is not defined");const n=this.getRotation();return vt(n!==void 0,"The view rotation is not defined"),Xa(e,i,n,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(Se.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,e){return this.getResolutionForExtentInternal(fn(t,this.getProjection()),e)}getResolutionForExtentInternal(t,e){e=e||this.getViewportSizeMinusPadding_();const i=Tt(t)/e[0],n=Ae(t)/e[1];return Math.max(i,n)}getResolutionForValueFunction(t){t=t||2;const e=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,n=Math.log(e/i)/Math.log(t);return function(s){return e/Math.pow(t,s*n)}}getRotation(){return this.get(Se.ROTATION)}getValueForResolutionFunction(t){const e=Math.log(t||2),i=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,s=Math.log(i/n)/e;return function(a){return Math.log(i/a)/e/s}}getViewportSizeMinusPadding_(t){let e=this.getViewportSize_(t);const i=this.padding_;return i&&(e=[e[0]-i[1]-i[3],e[1]-i[0]-i[2]]),e}getState(){const t=this.getProjection(),e=this.getResolution(),i=this.getRotation();let n=this.getCenterInternal();const s=this.padding_;if(s){const a=this.getViewportSizeMinusPadding_();n=vl(n,this.getViewportSize_(),[a[0]/2+s[3],a[1]/2+s[0]],e,i)}return{center:n.slice(0),projection:t!==void 0?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const e=this.getResolution();return e!==void 0&&(t=this.getZoomForResolution(e)),t}getZoomForResolution(t){let e=this.minZoom_||0,i,n;if(this.resolutions_){const s=Ga(this.resolutions_,t,1);e=s,i=this.resolutions_[s],s==this.resolutions_.length-1?n=2:n=i/this.resolutions_[s+1]}else i=this.maxResolution_,n=this.zoomFactor_;return e+Math.log(i/t)/Math.log(n)}getResolutionForZoom(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const e=kt(Math.floor(t),0,this.resolutions_.length-2),i=this.resolutions_[e]/this.resolutions_[e+1];return this.resolutions_[e]/Math.pow(i,kt(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,e){let i;if(vt(Array.isArray(t)||typeof t.getSimplifiedGeometry=="function","Invalid extent or geometry provided as `geometry`"),Array.isArray(t)){vt(!$s(t),"Cannot fit empty extent provided as `geometry`");const n=fn(t,this.getProjection());i=Uu(n)}else if(t.getType()==="Circle"){const n=fn(t.getExtent(),this.getProjection());i=Uu(n),i.rotate(this.getRotation(),Ii(n))}else i=t;this.fitInternal(i,e)}rotatedExtentForGeometry(t){const e=this.getRotation(),i=Math.cos(e),n=Math.sin(-e),s=t.getFlatCoordinates(),a=t.getStride();let h=1/0,c=1/0,d=-1/0,f=-1/0;for(let p=0,m=s.length;p<m;p+=a){const y=s[p]*i-s[p+1]*n,v=s[p]*n+s[p+1]*i;h=Math.min(h,y),c=Math.min(c,v),d=Math.max(d,y),f=Math.max(f,v)}return[h,c,d,f]}fitInternal(t,e){e=e||{};let i=e.size;i||(i=this.getViewportSizeMinusPadding_());const n=e.padding!==void 0?e.padding:[0,0,0,0],s=e.nearest!==void 0?e.nearest:!1;let a;e.minResolution!==void 0?a=e.minResolution:e.maxZoom!==void 0?a=this.getResolutionForZoom(e.maxZoom):a=0;const h=this.rotatedExtentForGeometry(t);let c=this.getResolutionForExtentInternal(h,[i[0]-n[1]-n[3],i[1]-n[0]-n[2]]);c=isNaN(c)?a:Math.max(c,a),c=this.getConstrainedResolution(c,s?0:1);const d=this.getRotation(),f=Math.sin(d),p=Math.cos(d),m=Ii(h);m[0]+=(n[1]-n[3])/2*c,m[1]+=(n[0]-n[2])/2*c;const y=m[0]*p-m[1]*f,v=m[1]*p+m[0]*f,A=this.getConstrainedCenter([y,v],c),b=e.callback?e.callback:Rn;e.duration!==void 0?this.animateInternal({resolution:c,center:A,duration:e.duration,easing:e.easing},b):(this.targetResolution_=c,this.targetCenter_=A,this.applyTargetState_(!1,!0),uo(b,!0))}centerOn(t,e,i){this.centerOnInternal(hi(t,this.getProjection()),e,i)}centerOnInternal(t,e,i){this.setCenterInternal(vl(t,e,i,this.getResolution(),this.getRotation()))}calculateCenterShift(t,e,i,n){let s;const a=this.padding_;if(a&&t){const h=this.getViewportSizeMinusPadding_(-i),c=vl(t,n,[h[0]/2+a[3],h[1]/2+a[0]],e,i);s=[t[0]-c[0],t[1]-c[1]]}return s}isDef(){return!!this.getCenterInternal()&&this.getResolution()!==void 0}adjustCenter(t){const e=el(this.targetCenter_,this.getProjection());this.setCenter([e[0]+t[0],e[1]+t[1]])}adjustCenterInternal(t){const e=this.targetCenter_;this.setCenterInternal([e[0]+t[0],e[1]+t[1]])}adjustResolution(t,e){e=e&&hi(e,this.getProjection()),this.adjustResolutionInternal(t,e)}adjustResolutionInternal(t,e){const i=this.getAnimating()||this.getInteracting(),n=this.getViewportSize_(this.getRotation()),s=this.constraints_.resolution(this.targetResolution_*t,0,n,i);e&&(this.targetCenter_=this.calculateCenterZoom(s,e)),this.targetResolution_*=t,this.applyTargetState_()}adjustZoom(t,e){this.adjustResolution(Math.pow(this.zoomFactor_,-t),e)}adjustRotation(t,e){e&&(e=hi(e,this.getProjection())),this.adjustRotationInternal(t,e)}adjustRotationInternal(t,e){const i=this.getAnimating()||this.getInteracting(),n=this.constraints_.rotation(this.targetRotation_+t,i);e&&(this.targetCenter_=this.calculateCenterRotate(n,e)),this.targetRotation_+=t,this.applyTargetState_()}setCenter(t){this.setCenterInternal(t&&hi(t,this.getProjection()))}setCenterInternal(t){this.targetCenter_=t,this.applyTargetState_()}setHint(t,e){return this.hints_[t]+=e,this.changed(),this.hints_[t]}setResolution(t){this.targetResolution_=t,this.applyTargetState_()}setRotation(t){this.targetRotation_=t,this.applyTargetState_()}setZoom(t){this.setResolution(this.getResolutionForZoom(t))}applyTargetState_(t,e){const i=this.getAnimating()||this.getInteracting()||e,n=this.constraints_.rotation(this.targetRotation_,i),s=this.getViewportSize_(n),a=this.constraints_.resolution(this.targetResolution_,0,s,i),h=this.constraints_.center(this.targetCenter_,a,s,i,this.calculateCenterShift(this.targetCenter_,a,n,s));this.get(Se.ROTATION)!==n&&this.set(Se.ROTATION,n),this.get(Se.RESOLUTION)!==a&&(this.set(Se.RESOLUTION,a),this.set("zoom",this.getZoom(),!0)),(!h||!this.get(Se.CENTER)||!no(this.get(Se.CENTER),h))&&this.set(Se.CENTER,h),this.getAnimating()&&!t&&this.cancelAnimations(),this.cancelAnchor_=void 0}resolveConstraints(t,e,i){t=t!==void 0?t:200;const n=e||0,s=this.constraints_.rotation(this.targetRotation_),a=this.getViewportSize_(s),h=this.constraints_.resolution(this.targetResolution_,n,a),c=this.constraints_.center(this.targetCenter_,h,a,!1,this.calculateCenterShift(this.targetCenter_,h,s,a));if(t===0&&!this.cancelAnchor_){this.targetResolution_=h,this.targetRotation_=s,this.targetCenter_=c,this.applyTargetState_();return}i=i||(t===0?this.cancelAnchor_:void 0),this.cancelAnchor_=void 0,(this.getResolution()!==h||this.getRotation()!==s||!this.getCenterInternal()||!no(this.getCenterInternal(),c))&&(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:s,center:c,resolution:h,duration:t,easing:Gn,anchor:i}))}beginInteraction(){this.resolveConstraints(0),this.setHint(Ht.INTERACTING,1)}endInteraction(t,e,i){i=i&&hi(i,this.getProjection()),this.endInteractionInternal(t,e,i)}endInteractionInternal(t,e,i){this.getInteracting()&&(this.setHint(Ht.INTERACTING,-1),this.resolveConstraints(t,e,i))}getConstrainedCenter(t,e){const i=this.getViewportSize_(this.getRotation());return this.constraints_.center(t,e||this.getResolution(),i)}getConstrainedZoom(t,e){const i=this.getResolutionForZoom(t);return this.getZoomForResolution(this.getConstrainedResolution(i,e))}getConstrainedResolution(t,e){e=e||0;const i=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(t,e,i)}}function uo(r,t){setTimeout(function(){r(t)},0)}function py(r){if(r.extent!==void 0){const e=r.smoothExtentConstraint!==void 0?r.smoothExtentConstraint:!0;return gu(r.extent,r.constrainOnlyCenter,e)}const t=$a(r.projection,"EPSG:3857");if(r.multiWorld!==!0&&t.isGlobal()){const e=t.getExtent().slice();return e[0]=-1/0,e[2]=1/0,gu(e,!1,!1)}return z_}function my(r){let t,e,i,a=r.minZoom!==void 0?r.minZoom:yl,h=r.maxZoom!==void 0?r.maxZoom:28;const c=r.zoomFactor!==void 0?r.zoomFactor:2,d=r.multiWorld!==void 0?r.multiWorld:!1,f=r.smoothResolutionConstraint!==void 0?r.smoothResolutionConstraint:!0,p=r.showFullExtent!==void 0?r.showFullExtent:!1,m=$a(r.projection,"EPSG:3857"),y=m.getExtent();let v=r.constrainOnlyCenter,A=r.extent;if(!d&&!A&&m.isGlobal()&&(v=!1,A=y),r.resolutions!==void 0){const b=r.resolutions;e=b[a],i=b[h]!==void 0?b[h]:b[b.length-1],r.constrainResolution?t=B_(b,f,!v&&A,p):t=pu(e,i,f,!v&&A,p)}else{const M=(y?Math.max(Tt(y),Ae(y)):360*br.degrees/m.getMetersPerUnit())/Ua/Math.pow(2,yl),w=M/Math.pow(2,28-yl);e=r.maxResolution,e!==void 0?a=0:e=M/Math.pow(c,a),i=r.minResolution,i===void 0&&(r.maxZoom!==void 0?r.maxResolution!==void 0?i=e/Math.pow(c,h):i=M/Math.pow(c,h):i=w),h=a+Math.floor(Math.log(e/i)/Math.log(c)),i=e/Math.pow(c,h-a),r.constrainResolution?t=N_(c,e,i,f,!v&&A,p):t=pu(e,i,f,!v&&A,p)}return{constraint:t,maxResolution:e,minResolution:i,minZoom:a,zoomFactor:c}}function _y(r){if(r.enableRotation!==void 0?r.enableRotation:!0){const e=r.constrainRotation;return e===void 0||e===!0?U_():e===!1?mu:typeof e=="number"?G_(e):mu}return rl}function yy(r){return!(r.sourceCenter&&r.targetCenter&&!no(r.sourceCenter,r.targetCenter)||r.sourceResolution!==r.targetResolution||r.sourceRotation!==r.targetRotation)}function vl(r,t,e,i,n){const s=Math.cos(-n);let a=Math.sin(-n),h=r[0]*s-r[1]*a,c=r[1]*s+r[0]*a;h+=(t[0]/2-e[0])*i,c+=(e[1]-t[1]/2)*i,a=-a;const d=h*s-c*a,f=c*s+h*a;return[d,f]}const Ye=gy,ue={ADD:"add",REMOVE:"remove"},ju={LENGTH:"length"};class fo extends ai{constructor(t,e,i){super(t),this.element=e,this.index=i}}class vy extends Ie{constructor(t,e){if(super(),this.on,this.once,this.un,e=e||{},this.unique_=!!e.unique,this.array_=t||[],this.unique_)for(let i=0,n=this.array_.length;i<n;++i)this.assertUnique_(this.array_[i],i);this.updateLength_()}clear(){for(;this.getLength()>0;)this.pop()}extend(t){for(let e=0,i=t.length;e<i;++e)this.push(t[e]);return this}forEach(t){const e=this.array_;for(let i=0,n=e.length;i<n;++i)t(e[i],i,e)}getArray(){return this.array_}item(t){return this.array_[t]}getLength(){return this.get(ju.LENGTH)}insertAt(t,e){if(t<0||t>this.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new fo(ue.ADD,e,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const e=this.getLength();return this.insertAt(e,t),this.getLength()}remove(t){const e=this.array_;for(let i=0,n=e.length;i<n;++i)if(e[i]===t)return this.removeAt(i)}removeAt(t){if(t<0||t>=this.getLength())return;const e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new fo(ue.REMOVE,e,t)),e}setAt(t,e){const i=this.getLength();if(t>=i){this.insertAt(t,e);return}if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e,t);const n=this.array_[t];this.array_[t]=e,this.dispatchEvent(new fo(ue.REMOVE,n,t)),this.dispatchEvent(new fo(ue.ADD,e,t))}updateLength_(){this.set(ju.LENGTH,this.array_.length)}assertUnique_(t,e){for(let i=0,n=this.array_.length;i<n;++i)if(this.array_[i]===t&&i!==e)throw new Error("Duplicate item added to a unique collection")}}const Ze=vy,kr={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]},$t={name:"xyz",min:[0,0,0],channel:["X","Y","Z"],alias:["XYZ","ciexyz","cie1931"],whitepoint:{2:{A:[109.85,100,35.585],C:[98.074,100,118.232],D50:[96.422,100,82.521],D55:[95.682,100,92.149],D65:[95.045592705167,100,108.9057750759878],D75:[94.972,100,122.638],F2:[99.187,100,67.395],F7:[95.044,100,108.755],F11:[100.966,100,64.37],E:[100,100,100]},10:{A:[111.144,100,35.2],C:[97.285,100,116.145],D50:[96.72,100,81.427],D55:[95.799,100,90.926],D65:[94.811,100,107.304],D75:[94.416,100,120.641],F2:[103.28,100,69.026],F7:[95.792,100,107.687],F11:[103.866,100,65.627],E:[100,100,100]}}};$t.max=$t.whitepoint[2].D65,$t.rgb=function(r,t){t=t||$t.whitepoint[2].E;var e=r[0]/t[0],i=r[1]/t[1],n=r[2]/t[2],s,a,h;return s=e*3.240969941904521+i*-1.537383177570093+n*-.498610760293,a=e*-.96924363628087+i*1.87596750150772+n*.041555057407175,h=e*.055630079696993+i*-.20397695888897+n*1.056971514242878,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s=s*12.92,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a=a*12.92,h=h>.0031308?1.055*Math.pow(h,1/2.4)-.055:h=h*12.92,s=Math.min(Math.max(0,s),1),a=Math.min(Math.max(0,a),1),h=Math.min(Math.max(0,h),1),[s*255,a*255,h*255]},kr.xyz=function(r,t){var e=r[0]/255,i=r[1]/255,n=r[2]/255;e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var s=e*.41239079926595+i*.35758433938387+n*.18048078840183,a=e*.21263900587151+i*.71516867876775+n*.072192315360733,h=e*.019330818715591+i*.11919477979462+n*.95053215224966;return t=t||$t.whitepoint[2].E,[s*t[0],a*t[1],h*t[2]]};var xl={name:"luv",min:[0,-134,-140],max:[100,224,122],channel:["lightness","u","v"],alias:["LUV","cieluv","cie1976"],xyz:function(r,t,e){var i,n,s,a,h,c,d,f,p,m,y,v,A;if(s=r[0],a=r[1],h=r[2],s===0)return[0,0,0];var b=.0011070564598794539;return t=t||"D65",e=e||2,p=$t.whitepoint[e][t][0],m=$t.whitepoint[e][t][1],y=$t.whitepoint[e][t][2],v=4*p/(p+15*m+3*y),A=9*m/(p+15*m+3*y),i=a/(13*s)+v||0,n=h/(13*s)+A||0,d=s>8?m*Math.pow((s+16)/116,3):m*s*b,c=d*9*i/(4*n)||0,f=d*(12-3*i-20*n)/(4*n)||0,[c,d,f]}};$t.luv=function(r,t,e){var i,n,s,a,h,c,d,f,p,m,y,v,A,b=.008856451679035631,M=903.2962962962961;t=t||"D65",e=e||2,p=$t.whitepoint[e][t][0],m=$t.whitepoint[e][t][1],y=$t.whitepoint[e][t][2],v=4*p/(p+15*m+3*y),A=9*m/(p+15*m+3*y),c=r[0],d=r[1],f=r[2],i=4*c/(c+15*d+3*f)||0,n=9*d/(c+15*d+3*f)||0;var w=d/m;return s=w<=b?M*w:116*Math.pow(w,1/3)-16,a=13*s*(i-v),h=13*s*(n-A),[s,a,h]};var Hu={name:"lchuv",channel:["lightness","chroma","hue"],alias:["LCHuv","cielchuv"],min:[0,0,0],max:[100,100,360],luv:function(r){var t=r[0],e=r[1],i=r[2],n,s,a;return a=i/360*2*Math.PI,n=e*Math.cos(a),s=e*Math.sin(a),[t,n,s]},xyz:function(r){return xl.xyz(Hu.luv(r))}};xl.lchuv=function(r){var t=r[0],e=r[1],i=r[2],n=Math.sqrt(e*e+i*i),s=Math.atan2(i,e),a=s*360/2/Math.PI;return a<0&&(a+=360),[t,n,a]},$t.lchuv=function(r){return xl.lchuv($t.luv(r))};const Wu={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var Yu={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function xy(r){var f,p;var t,e=[],i=1,n;if(typeof r=="number")return{space:"rgb",values:[r>>>16,(r&65280)>>>8,r&255],alpha:1};if(typeof r=="number")return{space:"rgb",values:[r>>>16,(r&65280)>>>8,r&255],alpha:1};if(r=String(r).toLowerCase(),Wu[r])e=Wu[r].slice(),n="rgb";else if(r==="transparent")i=0,n="rgb",e=[0,0,0];else if(r[0]==="#"){var s=r.slice(1),a=s.length,h=a<=4;i=1,h?(e=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],a===4&&(i=parseInt(s[3]+s[3],16)/255)):(e=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],a===8&&(i=parseInt(s[6]+s[7],16)/255)),e[0]||(e[0]=0),e[1]||(e[1]=0),e[2]||(e[2]=0),n="rgb"}else if(t=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(r)){var c=t[1];n=c.replace(/a$/,"");var d=n==="cmyk"?4:n==="gray"?1:3;e=t[2].trim().split(/\s*[,\/]\s*|\s+/),n==="color"&&(n=e.shift()),e=e.map(function(m,y){if(m[m.length-1]==="%")return m=parseFloat(m)/100,y===3?m:n==="rgb"?m*255:n[0]==="h"||n[0]==="l"&&!y?m*100:n==="lab"?m*125:n==="lch"?y<2?m*150:m*360:n[0]==="o"&&!y?m:n==="oklab"?m*.4:n==="oklch"?y<2?m*.4:m*360:m;if(n[y]==="h"||y===2&&n[n.length-1]==="h"){if(Yu[m]!==void 0)return Yu[m];if(m.endsWith("deg"))return parseFloat(m);if(m.endsWith("turn"))return parseFloat(m)*360;if(m.endsWith("grad"))return parseFloat(m)*360/400;if(m.endsWith("rad"))return parseFloat(m)*180/Math.PI}return m==="none"?0:parseFloat(m)}),i=e.length>d?e.pop():1}else/[0-9](?:\s|\/|,)/.test(r)&&(e=r.match(/([0-9]+)/g).map(function(m){return parseFloat(m)}),n=((p=(f=r.match(/([a-z])/ig))==null?void 0:f.join(""))==null?void 0:p.toLowerCase())||"rgb");return{space:n,values:e,alpha:i}}var Al={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(r){var t=r[0]/360,e=r[1]/100,i=r[2]/100,n,s,a,h,c,d=0;if(e===0)return c=i*255,[c,c,c];for(s=i<.5?i*(1+e):i+e-i*e,n=2*i-s,h=[0,0,0];d<3;)a=t+1/3*-(d-1),a<0?a++:a>1&&a--,c=6*a<1?n+(s-n)*6*a:2*a<1?s:3*a<2?n+(s-n)*(2/3-a)*6:n,h[d++]=c*255;return h}};kr.hsl=function(r){var t=r[0]/255,e=r[1]/255,i=r[2]/255,n=Math.min(t,e,i),s=Math.max(t,e,i),a=s-n,h,c,d;return s===n?h=0:t===s?h=(e-i)/a:e===s?h=2+(i-t)/a:i===s&&(h=4+(t-e)/a),h=Math.min(h*60,360),h<0&&(h+=360),d=(n+s)/2,s===n?c=0:d<=.5?c=a/(s+n):c=a/(2-s-n),[h,c*100,d*100]};function Ay(r){Array.isArray(r)&&r.raw&&(r=String.raw(...arguments)),r instanceof Number&&(r=+r);var t,e=xy(r);if(!e.space)return[];const i=e.space[0]==="h"?Al.min:kr.min,n=e.space[0]==="h"?Al.max:kr.max;return t=Array(3),t[0]=Math.min(Math.max(e.values[0],i[0]),n[0]),t[1]=Math.min(Math.max(e.values[1],i[1]),n[1]),t[2]=Math.min(Math.max(e.values[2],i[2]),n[2]),e.space[0]==="h"&&(t=Al.rgb(t)),t.push(Math.min(Math.max(e.alpha,0),1)),t}function Zu(r){return typeof r=="string"?r:Ku(r)}const wy=1024,Or={};let wl=0;function Ey(r){if(r.length===4)return r;const t=r.slice();return t[3]=1,t}function Xu(r){const t=$t.lchuv(kr.xyz(r));return t[3]=r[3],t}function Cy(r){const t=$t.rgb(Hu.xyz(r));return t[3]=r[3],t}function El(r){if(Or.hasOwnProperty(r))return Or[r];if(wl>=wy){let e=0;for(const i in Or)e++&3||(delete Or[i],--wl)}const t=Ay(r);if(t.length!==4)throw new Error('Failed to parse "'+r+'" as color');for(const e of t)if(isNaN(e))throw new Error('Failed to parse "'+r+'" as color');return Vu(t),Or[r]=t,++wl,t}function Fr(r){return Array.isArray(r)?r:El(r)}function Vu(r){return r[0]=kt(r[0]+.5|0,0,255),r[1]=kt(r[1]+.5|0,0,255),r[2]=kt(r[2]+.5|0,0,255),r[3]=kt(r[3],0,1),r}function Ku(r){let t=r[0];t!=(t|0)&&(t=t+.5|0);let e=r[1];e!=(e|0)&&(e=e+.5|0);let i=r[2];i!=(i|0)&&(i=i+.5|0);const n=r[3]===void 0?1:Math.round(r[3]*100)/100;return"rgba("+t+","+e+","+i+","+n+")"}function Ly(r){try{return El(r),!0}catch{return!1}}class by{constructor(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let t=0;for(const e in this.cache_){const i=this.cache_[e];!(t++&3)&&!i.hasListener()&&(delete this.cache_[e],--this.cacheSize_)}}}get(t,e,i){const n=Qu(t,e,i);return n in this.cache_?this.cache_[n]:null}set(t,e,i,n){const s=Qu(t,e,i);this.cache_[s]=n,++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}}function Qu(r,t,e){const i=e?Zu(e):"null";return t+":"+r+":"+i}const go=new by,Ct={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"};class Ty extends Ie{constructor(t){super(),this.on,this.once,this.un,this.background_=t.background;const e=Object.assign({},t);typeof t.properties=="object"&&(delete e.properties,Object.assign(e,t.properties)),e[Ct.OPACITY]=t.opacity!==void 0?t.opacity:1,vt(typeof e[Ct.OPACITY]=="number","Layer opacity must be a number"),e[Ct.VISIBLE]=t.visible!==void 0?t.visible:!0,e[Ct.Z_INDEX]=t.zIndex,e[Ct.MAX_RESOLUTION]=t.maxResolution!==void 0?t.maxResolution:1/0,e[Ct.MIN_RESOLUTION]=t.minResolution!==void 0?t.minResolution:0,e[Ct.MIN_ZOOM]=t.minZoom!==void 0?t.minZoom:-1/0,e[Ct.MAX_ZOOM]=t.maxZoom!==void 0?t.maxZoom:1/0,this.className_=e.className!==void 0?e.className:"ol-layer",delete e.className,this.setProperties(e),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(t){const e=this.state_||{layer:this,managed:t===void 0?!0:t},i=this.getZIndex();return e.opacity=kt(Math.round(this.getOpacity()*100)/100,0,1),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=i===void 0&&!e.managed?1/0:i,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e}getLayersArray(t){return lt()}getLayerStatesArray(t){return lt()}getExtent(){return this.get(Ct.EXTENT)}getMaxResolution(){return this.get(Ct.MAX_RESOLUTION)}getMinResolution(){return this.get(Ct.MIN_RESOLUTION)}getMinZoom(){return this.get(Ct.MIN_ZOOM)}getMaxZoom(){return this.get(Ct.MAX_ZOOM)}getOpacity(){return this.get(Ct.OPACITY)}getSourceState(){return lt()}getVisible(){return this.get(Ct.VISIBLE)}getZIndex(){return this.get(Ct.Z_INDEX)}setBackground(t){this.background_=t,this.changed()}setExtent(t){this.set(Ct.EXTENT,t)}setMaxResolution(t){this.set(Ct.MAX_RESOLUTION,t)}setMinResolution(t){this.set(Ct.MIN_RESOLUTION,t)}setMaxZoom(t){this.set(Ct.MAX_ZOOM,t)}setMinZoom(t){this.set(Ct.MIN_ZOOM,t)}setOpacity(t){vt(typeof t=="number","Layer opacity must be a number"),this.set(Ct.OPACITY,t)}setVisible(t){this.set(Ct.VISIBLE,t)}setZIndex(t){this.set(Ct.Z_INDEX,t)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}const qu=Ty,te={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"};class My extends qu{constructor(t){const e=Object.assign({},t);delete e.source,super(e),this.on,this.once,this.un,this.mapPrecomposeKey_=null,this.mapRenderKey_=null,this.sourceChangeKey_=null,this.renderer_=null,this.sourceReady_=!1,this.rendered=!1,t.render&&(this.render=t.render),t.map&&this.setMap(t.map),this.addChangeListener(Ct.SOURCE,this.handleSourcePropertyChange_);const i=t.source?t.source:null;this.setSource(i)}getLayersArray(t){return t=t||[],t.push(this),t}getLayerStatesArray(t){return t=t||[],t.push(this.getLayerState()),t}getSource(){return this.get(Ct.SOURCE)||null}getRenderSource(){return this.getSource()}getSourceState(){const t=this.getSource();return t?t.getState():"undefined"}handleSourceChange_(){this.changed(),!(this.sourceReady_||this.getSource().getState()!=="ready")&&(this.sourceReady_=!0,this.dispatchEvent("sourceready"))}handleSourcePropertyChange_(){this.sourceChangeKey_&&(bt(this.sourceChangeKey_),this.sourceChangeKey_=null),this.sourceReady_=!1;const t=this.getSource();t&&(this.sourceChangeKey_=mt(t,ut.CHANGE,this.handleSourceChange_,this),t.getState()==="ready"&&(this.sourceReady_=!0,setTimeout(()=>{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return!this.renderer_||!this.rendered?null:this.renderer_.getData(t)}isVisible(t){let e;const i=this.getMapInternal();!t&&i&&(t=i.getView()),t instanceof Ye?e={viewState:t.getState(),extent:t.calculateExtent()}:e=t,!e.layerStatesArray&&i&&(e.layerStatesArray=i.getLayerGroup().getLayerStatesArray());let n;e.layerStatesArray?n=e.layerStatesArray.find(a=>a.layer===this):n=this.getLayerState();const s=this.getExtent();return Cl(n,e.viewState)&&(!s||ce(s,e.extent))}getAttributions(t){if(!this.isVisible(t))return[];let e;const i=this.getSource();if(i&&(e=i.getAttributions()),!e)return[];const n=t instanceof Ye?t.getViewStateAndExtent():t;let s=e(n);return Array.isArray(s)||(s=[s]),s}render(t,e){const i=this.getRenderer();return i.prepareFrame(t)?(this.rendered=!0,i.renderFrame(t,e)):null}unrender(){this.rendered=!1}setMapInternal(t){t||this.unrender(),this.set(Ct.MAP,t)}getMapInternal(){return this.get(Ct.MAP)}setMap(t){this.mapPrecomposeKey_&&(bt(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(bt(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=mt(t,te.PRECOMPOSE,function(e){const n=e.frameState.layerStatesArray,s=this.getLayerState(!1);vt(!n.some(function(a){return a.layer===s.layer}),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),n.push(s)},this),this.mapRenderKey_=mt(this,ut.CHANGE,t.render,t),this.changed())}setSource(t){this.set(Ct.SOURCE,t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}}function Cl(r,t){if(!r.visible)return!1;const e=t.resolution;if(e<r.minResolution||e>=r.maxResolution)return!1;const i=t.zoom;return i>r.minZoom&&i<=r.maxZoom}const po=My;class Py extends Us{constructor(t){super(),this.map_=t}dispatchRenderEvent(t,e){lt()}calculateMatrices2D(t){const e=t.viewState,i=t.coordinateToPixelTransform,n=t.pixelToCoordinateTransform;Re(i,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),ro(n,i)}forEachFeatureAtCoordinate(t,e,i,n,s,a,h,c){let d;const f=e.viewState;function p(C,P,D,O){return s.call(a,P,C?D:null,O)}const m=f.projection,y=nu(t.slice(),m),v=[[0,0]];if(m.canWrapX()&&n){const C=m.getExtent(),P=Tt(C);v.push([-P,0],[P,0])}const A=e.layerStatesArray,b=A.length,M=[],w=[];for(let C=0;C<v.length;C++)for(let P=b-1;P>=0;--P){const D=A[P],O=D.layer;if(O.hasRenderer()&&Cl(D,f)&&h.call(c,O)){const R=O.getRenderer(),z=O.getSource();if(R&&z){const j=z.getWrapX()?y:t,U=p.bind(null,D.managed);w[0]=j[0]+v[C][0],w[1]=j[1]+v[C][1],d=R.forEachFeatureAtCoordinate(w,e,i,U,M)}if(d)return d}}if(M.length===0)return;const E=1/M.length;return M.forEach((C,P)=>C.distanceSq+=P*E),M.sort((C,P)=>C.distanceSq-P.distanceSq),M.some(C=>d=C.callback(C.feature,C.layer,C.geometry)),d}hasFeatureAtCoordinate(t,e,i,n,s,a){return this.forEachFeatureAtCoordinate(t,e,i,n,Lr,this,s,a)!==void 0}getMap(){return this.map_}renderFrame(t){lt()}flushDeclutterItems(t){}scheduleExpireIconCache(t){go.canExpireCache()&&t.postRenderFunctions.push(Dy)}}function Dy(r,t){go.expire()}const Iy=Py;class Sy extends ai{constructor(t,e,i,n){super(t),this.inversePixelTransform=e,this.frameState=i,this.context=n}}const zr=Sy,mo="ol-hidden",Ry="ol-selectable",Br="ol-unselectable",Ju="ol-unsupported",_o="ol-control",$u="ol-collapsed",ky=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"),td=["style","variant","weight","size","lineHeight","family"],ed=function(r){const t=r.match(ky);if(!t)return null;const e={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let i=0,n=td.length;i<n;++i){const s=t[i+1];s!==void 0&&(e[td[i]]=s)}return e.families=e.family.split(/,\s?/),e};function ee(r,t,e,i){let n;return e&&e.length?n=e.shift():sl?n=new OffscreenCanvas(r||300,t||300):n=document.createElement("canvas"),r&&(n.width=r),t&&(n.height=t),n.getContext("2d",i)}function yo(r){const t=r.canvas;t.width=1,t.height=1,r.clearRect(0,0,1,1)}function Oy(r){let t=r.offsetWidth;const e=getComputedStyle(r);return t+=parseInt(e.marginLeft,10)+parseInt(e.marginRight,10),t}function Fy(r){let t=r.offsetHeight;const e=getComputedStyle(r);return t+=parseInt(e.marginTop,10)+parseInt(e.marginBottom,10),t}function vo(r,t){const e=t.parentNode;e&&e.replaceChild(r,t)}function xo(r){return r&&r.parentNode?r.parentNode.removeChild(r):null}function id(r){for(;r.lastChild;)r.removeChild(r.lastChild)}function zy(r,t){const e=r.childNodes;for(let i=0;;++i){const n=e[i],s=t[i];if(!n&&!s)break;if(n!==s){if(!n){r.appendChild(s);continue}if(!s){r.removeChild(n),--i;continue}r.insertBefore(s,n)}}}const nd="10px sans-serif",de="#000",Un="round",ci=[],ui=0,jn="round",Nr=10,Gr="#000",Ur="center",Ao="middle",yn=[0,0,0,0],jr=1,di=new Ie;let Hn=null,Ll;const bl={},By=function(){const t="32px ",e=["monospace","serif"],i=e.length,n="wmytzilWMYTZIL@#/&?$%10";let s,a;function h(d,f,p){let m=!0;for(let y=0;y<i;++y){const v=e[y];if(a=wo(d+" "+f+" "+t+v,n),p!=v){const A=wo(d+" "+f+" "+t+p+","+v,n);m=m&&A!=a}}return!!m}function c(){let d=!0;const f=di.getKeys();for(let p=0,m=f.length;p<m;++p){const y=f[p];di.get(y)<100&&(h.apply(this,y.split(`
19
- `))?(kn(bl),Hn=null,Ll=void 0,di.set(y,100)):(di.set(y,di.get(y)+1,!0),d=!1))}d&&(clearInterval(s),s=void 0)}return function(d){const f=ed(d);if(!f)return;const p=f.families;for(let m=0,y=p.length;m<y;++m){const v=p[m],A=f.style+`
20
+ </div>`),d+='<div style="display:flex;align-items:center;gap:8px;padding-top:6px;">',c&&(d+=`<img src="${c}" style="width:30px;height:30px;flex:0 0 15px;"/>`),a?d+=`<div style="font-size:14px;"><b>${e}:</b> ${a}</div>`:d+=`<div style="font-size:14px;">${e}</div>`,d+="</div>",d+="</div>",d},getPolygonTooltipContent(r){const t=r.properties||{};return`<div style="font-weight: bold; padding: 5px;">${t.descripcion||t.name||"Sin descripción"}</div>`}},watch:{coordinatesMap(r){if(this.renderCoordinates=Array.isArray(r)?r:[],this.mapRender&&this.markerRender&&this.renderCoordinates.length>=2){const t=this.renderCoordinates,e=Q.latLng([t[0],t[1]]);this.mapRender.setView([t[0],t[1]],t[2]),this.markerRender.setLatLng(e)}},dataPolygon(r){this.renderGeojson=r}}}),GE="",bm=["id"];function Tm(r,t,e,i,n,o){var a;return V.openBlock(),V.createElementBlock("div",{class:"map-container",style:V.normalizeStyle(`height:${(a=r.configurationMap)==null?void 0:a.height}`)},[V.createElementVNode("div",{id:r.idMap,style:{height:"100%"}},null,8,bm)],4)}const Mm=oa(Lm,[["render",Tm]]),Pm=["id"],Dm=V.defineComponent({__name:"MapSearchAddress",props:{configurationMap:{default:()=>({height:"250px",maxZoom:20,iconMarker:{iconUrl:ss,iconSize:[25,41],iconAnchor:[12,41],class:"",type:"image"},dragMarker:!0})},coordinatesMap:{default:()=>({lat:-19.0429,lng:-65.2554,zoom:12})},isSatelite:{type:Boolean}},emits:["updated:coordsMarker"],setup(r,{expose:t,emit:e}){const i=r,n=V.ref(),o=V.ref(i.coordinatesMap),a=V.ref(),h=V.ref(),c=V.ref(null),d=V.ref(!1);V.onMounted(async()=>{await f(10),await p()});const f=async w=>{let E="";const C="abcdefghijklmnopqrstuvwxyz",P=C.length;let D=0;for(;D<w;)E+=C.charAt(Math.floor(Math.random()*P)),D+=1;n.value=E},p=async()=>{await _()},_=async()=>{var C,P;const w=(C=i.configurationMap)==null?void 0:C.iconMarker,E=Q.map(n.value,{fullscreenControl:!0}).setView([o.value.lat,o.value.lng],o.value.zoom);if(E.invalidateSize(),a.value=E,d.value=i.isSatelite||!1,d.value?c.value=Q.tileLayer("https://api.maptiler.com/maps/satellite/{z}/{x}/{y}.jpg?key=t8mWT2ozs1JWBqMZOnZr",{attribution:'&copy; <a href="https://www.maptiler.com/">MapTiler</a> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}):c.value=Q.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:(P=i.configurationMap)==null?void 0:P.maxZoom,attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}),c.value.addTo(E),i.isSatelite!==void 0){const D=y();E.addControl(D)}if(w.type==="image"){const D=Q.marker([o.value.lat,o.value.lng],{icon:Q.icon({iconUrl:w.iconUrl,iconAnchor:w.iconAnchor,iconSize:w.iconSize,className:w.class}),draggable:i.configurationMap.dragMarker}).addTo(E);h.value=D,D.on("dragend",k=>{const R=k.target.getLatLng(),F=R.lat,j=R.lng;b({lat:F,lng:j})})}else if(w.type==="svg"){const D=Q.marker([o.value.lat,o.value.lng],{icon:Q.divIcon({html:w.iconUrl,iconAnchor:w.iconAnchor,iconSize:w.iconSize,className:w.class}),draggable:i.configurationMap.dragMarker}).addTo(E);h.value=D,D.on("dragend",k=>{const R=k.target.getLatLng(),F=R.lat,j=R.lng;b({lat:F,lng:j})})}},y=()=>{const w=Q.Control.extend({onAdd:E=>{const C=Q.DomUtil.create("div","leaflet-control-draw leaflet-bar leaflet-control"),P=Q.DomUtil.create("a","leaflet-draw-draw-satellite",C);return P.href="#",P.title=d.value?"Vista Normal":"Vista Satélite",P.style.backgroundImage=d.value?`url(${ws})`:`url(${Es})`,P.style.backgroundPosition="center",P.style.backgroundRepeat="no-repeat",P.style.backgroundSize="20px 20px",Q.DomEvent.disableClickPropagation(P),Q.DomEvent.on(P,"click",v),C}});return new w({position:"topleft"})},v=()=>{if(!a.value||!c.value)return;d.value=!d.value,a.value.removeLayer(c.value),d.value?c.value=Q.tileLayer("https://api.maptiler.com/maps/satellite/{z}/{x}/{y}.jpg?key=t8mWT2ozs1JWBqMZOnZr",{attribution:'&copy; <a href="https://www.maptiler.com/">MapTiler</a> &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}):c.value=Q.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'}),c.value.addTo(a.value),document.querySelectorAll(".leaflet-draw-draw-satellite").forEach(E=>{const C=E;C.style.backgroundImage=d.value?`url(${ws})`:`url(${Es})`,C.title=d.value?"Vista Normal":"Vista Satélite"})},A=async w=>{const E=await wc.get(location.protocol+"//nominatim.openstreetmap.org/search?",{params:{q:w,limit:1,format:"json"}});if(E.data.length===1){const C=parseFloat(E.data[0].lat),D={lng:parseFloat(E.data[0].lon),lat:C};return b({...D,moveMarker:!0}),E.data[0]}return E.data},b=({lat:w,lng:E,moveMarker:C=!1})=>{var P;e("updated:coordsMarker",{lat:w,lng:E}),C&&((P=h.value)==null||P.setLatLng({lat:w,lng:E})),M({lat:w,lng:E})},M=({lat:w,lng:E})=>{const C=Q.latLng(w,E);a.value.panTo(C,{animate:!0,duration:.5})};return t({searchAddress:A}),(w,E)=>{var C;return V.openBlock(),V.createElementBlock("div",{class:"map-container",style:V.normalizeStyle(`height:${(C=w.configurationMap)==null?void 0:C.height}`)},[V.createElementVNode("div",{id:n.value,style:{height:"100%"}},null,8,Pm)],4)}}}),UE="";class Sm{constructor(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}const $e=Sm,An={PROPERTYCHANGE:"propertychange"};class Rm{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}const Cs=Rm;function Im(r,t,e){let i,n;e=e||xi;let o=0,a=r.length,h=!1;for(;o<a;)i=o+(a-o>>1),n=+e(r[i],t),n<0?o=i+1:(a=i,h=!n);return h?o:~o}function xi(r,t){return r>t?1:r<t?-1:0}function La(r,t,e){if(r[0]<=t)return 0;const i=r.length;if(t<=r[i-1])return i-1;if(typeof e=="function"){for(let n=1;n<i;++n){const o=r[n];if(o===t)return n;if(o<t)return e(t,r[n-1],o)>0?n-1:n}return i-1}if(e>0){for(let n=1;n<i;++n)if(r[n]<t)return n-1;return i-1}if(e<0){for(let n=1;n<i;++n)if(r[n]<=t)return n;return i-1}for(let n=1;n<i;++n){if(r[n]==t)return n;if(r[n]<t)return r[n-1]-t<t-r[n]?n-1:n}return i-1}function km(r,t,e){for(;t<e;){const i=r[t];r[t]=r[e],r[e]=i,++t,--e}}function ti(r,t){const e=Array.isArray(t)?t:[t],i=e.length;for(let n=0;n<i;n++)r[r.length]=e[n]}function ei(r,t){const e=r.length;if(e!==t.length)return!1;for(let i=0;i<e;i++)if(r[i]!==t[i])return!1;return!0}function Om(r,t,e){const i=t||xi;return r.every(function(n,o){if(o===0)return!0;const a=i(r[o-1],n);return!(a>0||e&&a===0)})}function pr(){return!0}function Ls(){return!1}function wn(){}function Fm(r){let t=!1,e,i,n;return function(){const o=Array.prototype.slice.call(arguments);return(!t||this!==n||!ei(o,i))&&(t=!0,n=this,i=o,e=r.apply(this,arguments)),e}}function En(r){for(const t in r)delete r[t]}function Cn(r){let t;for(t in r)return!1;return!t}class zm extends Cs{constructor(t){super(),this.eventTarget_=t,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(t,e){if(!t||!e)return;const i=this.listeners_||(this.listeners_={}),n=i[t]||(i[t]=[]);n.includes(e)||n.push(e)}dispatchEvent(t){const e=typeof t=="string",i=e?t:t.type,n=this.listeners_&&this.listeners_[i];if(!n)return;const o=e?new $e(t):t;o.target||(o.target=this.eventTarget_||this);const a=this.dispatching_||(this.dispatching_={}),h=this.pendingRemovals_||(this.pendingRemovals_={});i in a||(a[i]=0,h[i]=0),++a[i];let c;for(let d=0,f=n.length;d<f;++d)if("handleEvent"in n[d]?c=n[d].handleEvent(o):c=n[d].call(this,o),c===!1||o.propagationStopped){c=!1;break}if(--a[i]===0){let d=h[i];for(delete h[i];d--;)this.removeEventListener(i,wn);delete a[i]}return c}disposeInternal(){this.listeners_&&En(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:!1}removeEventListener(t,e){const i=this.listeners_&&this.listeners_[t];if(i){const n=i.indexOf(e);n!==-1&&(this.pendingRemovals_&&t in this.pendingRemovals_?(i[n]=wn,++this.pendingRemovals_[t]):(i.splice(n,1),i.length===0&&delete this.listeners_[t]))}}}const bs=zm,ht={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 ft(r,t,e,i,n){if(i&&i!==r&&(e=e.bind(i)),n){const a=e;e=function(){r.removeEventListener(t,e),a.apply(this,arguments)}}const o={target:r,type:t,listener:e};return r.addEventListener(t,e),o}function Ts(r,t,e,i){return ft(r,t,e,i,!0)}function Et(r){r&&r.target&&(r.target.removeEventListener(r.type,r.listener),En(r))}class Ms extends bs{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(ht.CHANGE)}getRevision(){return this.revision_}onInternal(t,e){if(Array.isArray(t)){const i=t.length,n=new Array(i);for(let o=0;o<i;++o)n[o]=ft(this,t[o],e);return n}return ft(this,t,e)}onceInternal(t,e){let i;if(Array.isArray(t)){const n=t.length;i=new Array(n);for(let o=0;o<n;++o)i[o]=Ts(this,t[o],e)}else i=Ts(this,t,e);return e.ol_key=i,i}unInternal(t,e){const i=e.ol_key;if(i)Bm(i);else if(Array.isArray(t))for(let n=0,o=t.length;n<o;++n)this.removeEventListener(t[n],e);else this.removeEventListener(t,e)}}Ms.prototype.on,Ms.prototype.once,Ms.prototype.un;function Bm(r){if(Array.isArray(r))for(let t=0,e=r.length;t<e;++t)Et(r[t]);else Et(r)}const Ec=Ms;function at(){throw new Error("Unimplemented abstract method.")}let Nm=0;function ut(r){return r.ol_uid||(r.ol_uid=String(++Nm))}class Cc extends $e{constructor(t,e,i){super(t),this.key=e,this.oldValue=i}}class Gm extends Ec{constructor(t){super(),this.on,this.once,this.un,ut(this),this.values_=null,t!==void 0&&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 i;i=`change:${t}`,this.hasListener(i)&&this.dispatchEvent(new Cc(i,t,e)),i=An.PROPERTYCHANGE,this.hasListener(i)&&this.dispatchEvent(new Cc(i,t,e))}addChangeListener(t,e){this.addEventListener(`change:${t}`,e)}removeChangeListener(t,e){this.removeEventListener(`change:${t}`,e)}set(t,e,i){const n=this.values_||(this.values_={});if(i)n[t]=e;else{const o=n[t];n[t]=e,o!==e&&this.notify(t,o)}}setProperties(t,e){for(const i in t)this.set(i,t[i],e)}applyProperties(t){t.values_&&Object.assign(this.values_||(this.values_={}),t.values_)}unset(t,e){if(this.values_&&t in this.values_){const i=this.values_[t];delete this.values_[t],Cn(this.values_)&&(this.values_=null),e||this.notify(t,i)}}}const Ce=Gm,Ut={ANIMATING:0,INTERACTING:1},Le={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},Um=42,ba=256,mr={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};class jm{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=t.extent!==void 0?t.extent:null,this.worldExtent_=t.worldExtent!==void 0?t.worldExtent:null,this.axisOrientation_=t.axisOrientation!==void 0?t.axisOrientation:"enu",this.global_=t.global!==void 0?t.global:!1,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_||mr[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_}}const Lc=jm,_r=6378137,Ln=Math.PI*_r,Hm=[-Ln,-Ln,Ln,Ln],Wm=[-180,-85,180,85],Ps=_r*Math.log(Math.tan(Math.PI/2));class bn extends Lc{constructor(t){super({code:t,units:"m",extent:Hm,global:!0,worldExtent:Wm,getPointResolution:function(e,i){return e/Math.cosh(i[1]/_r)}})}}const bc=[new bn("EPSG:3857"),new bn("EPSG:102100"),new bn("EPSG:102113"),new bn("EPSG:900913"),new bn("http://www.opengis.net/def/crs/EPSG/0/3857"),new bn("http://www.opengis.net/gml/srs/epsg.xml#3857")];function Ym(r,t,e){const i=r.length;e=e>1?e:2,t===void 0&&(e>2?t=r.slice():t=new Array(i));for(let n=0;n<i;n+=e){t[n]=Ln*r[n]/180;let o=_r*Math.log(Math.tan(Math.PI*(+r[n+1]+90)/360));o>Ps?o=Ps:o<-Ps&&(o=-Ps),t[n+1]=o}return t}function Xm(r,t,e){const i=r.length;e=e>1?e:2,t===void 0&&(e>2?t=r.slice():t=new Array(i));for(let n=0;n<i;n+=e)t[n]=180*r[n]/Ln,t[n+1]=360*Math.atan(Math.exp(r[n+1]/_r))/Math.PI-90;return t}const Zm=6378137,Tc=[-180,-90,180,90],Vm=Math.PI*Zm/180;class Xi extends Lc{constructor(t,e){super({code:t,units:"degrees",extent:Tc,axisOrientation:e,global:!0,metersPerUnit:Vm,worldExtent:Tc})}}const Mc=[new Xi("CRS:84"),new Xi("EPSG:4326","neu"),new Xi("urn:ogc:def:crs:OGC:1.3:CRS84"),new Xi("urn:ogc:def:crs:OGC:2:84"),new Xi("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new Xi("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new Xi("http://www.opengis.net/def/crs/EPSG/0/4326","neu")];let Ta={};function Km(r){return Ta[r]||Ta[r.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null}function Qm(r,t){Ta[r]=t}let Tn={};function Ds(r,t,e){const i=r.getCode(),n=t.getCode();i in Tn||(Tn[i]={}),Tn[i][n]=e}function qm(r,t){let e;return r in Tn&&t in Tn[r]&&(e=Tn[r][t]),e}const jt={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16};function Pc(r){const t=ge();for(let e=0,i=r.length;e<i;++e)vr(t,r[e]);return t}function Ss(r,t,e){return e?(e[0]=r[0]-t,e[1]=r[1]-t,e[2]=r[2]+t,e[3]=r[3]+t,e):[r[0]-t,r[1]-t,r[2]+t,r[3]+t]}function Dc(r,t){return t?(t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t):r.slice()}function Zi(r,t,e){let i,n;return t<r[0]?i=r[0]-t:r[2]<t?i=t-r[2]:i=0,e<r[1]?n=r[1]-e:r[3]<e?n=e-r[3]:n=0,i*i+n*n}function Rs(r,t){return Ma(r,t[0],t[1])}function Vi(r,t){return r[0]<=t[0]&&t[2]<=r[2]&&r[1]<=t[1]&&t[3]<=r[3]}function Ma(r,t,e){return r[0]<=t&&t<=r[2]&&r[1]<=e&&e<=r[3]}function Pa(r,t){const e=r[0],i=r[1],n=r[2],o=r[3],a=t[0],h=t[1];let c=jt.UNKNOWN;return a<e?c=c|jt.LEFT:a>n&&(c=c|jt.RIGHT),h<i?c=c|jt.BELOW:h>o&&(c=c|jt.ABOVE),c===jt.UNKNOWN&&(c=jt.INTERSECTING),c}function ge(){return[1/0,1/0,-1/0,-1/0]}function Ai(r,t,e,i,n){return n?(n[0]=r,n[1]=t,n[2]=e,n[3]=i,n):[r,t,e,i]}function yr(r){return Ai(1/0,1/0,-1/0,-1/0,r)}function Jm(r,t){const e=r[0],i=r[1];return Ai(e,i,e,i,t)}function Sc(r,t,e,i,n){const o=yr(n);return Ic(o,r,t,e,i)}function Mn(r,t){return r[0]==t[0]&&r[2]==t[2]&&r[1]==t[1]&&r[3]==t[3]}function Rc(r,t){return t[0]<r[0]&&(r[0]=t[0]),t[2]>r[2]&&(r[2]=t[2]),t[1]<r[1]&&(r[1]=t[1]),t[3]>r[3]&&(r[3]=t[3]),r}function vr(r,t){t[0]<r[0]&&(r[0]=t[0]),t[0]>r[2]&&(r[2]=t[0]),t[1]<r[1]&&(r[1]=t[1]),t[1]>r[3]&&(r[3]=t[1])}function Ic(r,t,e,i,n){for(;e<i;e+=n)$m(r,t[e],t[e+1]);return r}function $m(r,t,e){r[0]=Math.min(r[0],t),r[1]=Math.min(r[1],e),r[2]=Math.max(r[2],t),r[3]=Math.max(r[3],e)}function kc(r,t){let e;return e=t(Is(r)),e||(e=t(ks(r)),e)||(e=t(Os(r)),e)||(e=t(Qi(r)),e)?e:!1}function Da(r){let t=0;return Fs(r)||(t=Lt(r)*Fe(r)),t}function Is(r){return[r[0],r[1]]}function ks(r){return[r[2],r[1]]}function Ki(r){return[(r[0]+r[2])/2,(r[1]+r[3])/2]}function t_(r,t){let e;if(t==="bottom-left")e=Is(r);else if(t==="bottom-right")e=ks(r);else if(t==="top-left")e=Qi(r);else if(t==="top-right")e=Os(r);else throw new Error("Invalid corner");return e}function Sa(r,t,e,i,n){const[o,a,h,c,d,f,p,_]=Ra(r,t,e,i);return Ai(Math.min(o,h,d,p),Math.min(a,c,f,_),Math.max(o,h,d,p),Math.max(a,c,f,_),n)}function Ra(r,t,e,i){const n=t*i[0]/2,o=t*i[1]/2,a=Math.cos(e),h=Math.sin(e),c=n*a,d=n*h,f=o*a,p=o*h,_=r[0],y=r[1];return[_-c+p,y-d-f,_-c-p,y-d+f,_+c-p,y+d+f,_+c+p,y+d-f,_-c+p,y-d-f]}function Fe(r){return r[3]-r[1]}function xr(r,t,e){const i=e||ge();return se(r,t)?(r[0]>t[0]?i[0]=r[0]:i[0]=t[0],r[1]>t[1]?i[1]=r[1]:i[1]=t[1],r[2]<t[2]?i[2]=r[2]:i[2]=t[2],r[3]<t[3]?i[3]=r[3]:i[3]=t[3]):yr(i),i}function Qi(r){return[r[0],r[3]]}function Os(r){return[r[2],r[3]]}function Lt(r){return r[2]-r[0]}function se(r,t){return r[0]<=t[2]&&r[2]>=t[0]&&r[1]<=t[3]&&r[3]>=t[1]}function Fs(r){return r[2]<r[0]||r[3]<r[1]}function e_(r,t){return t?(t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t):r}function i_(r,t,e){let i=!1;const n=Pa(r,t),o=Pa(r,e);if(n===jt.INTERSECTING||o===jt.INTERSECTING)i=!0;else{const a=r[0],h=r[1],c=r[2],d=r[3],f=t[0],p=t[1],_=e[0],y=e[1],v=(y-p)/(_-f);let A,b;o&jt.ABOVE&&!(n&jt.ABOVE)&&(A=_-(y-d)/v,i=A>=a&&A<=c),!i&&o&jt.RIGHT&&!(n&jt.RIGHT)&&(b=y-(_-c)*v,i=b>=h&&b<=d),!i&&o&jt.BELOW&&!(n&jt.BELOW)&&(A=_-(y-h)/v,i=A>=a&&A<=c),!i&&o&jt.LEFT&&!(n&jt.LEFT)&&(b=y-(_-a)*v,i=b>=h&&b<=d)}return i}function Oc(r,t){const e=t.getExtent(),i=Ki(r);if(t.canWrapX()&&(i[0]<e[0]||i[0]>=e[2])){const n=Lt(e),a=Math.floor((i[0]-e[0])/n)*n;r[0]-=a,r[2]-=a}return r}function n_(r,t){if(t.canWrapX()){const e=t.getExtent();if(!isFinite(r[0])||!isFinite(r[2]))return[[e[0],r[1],e[2],r[3]]];Oc(r,t);const i=Lt(e);if(Lt(r)>i)return[[e[0],r[1],e[2],r[3]]];if(r[0]<e[0])return[[r[0]+i,r[1],e[2],r[3]],[e[0],r[1],r[2],r[3]]];if(r[2]>e[2])return[[r[0],r[1],e[2],r[3]],[e[0],r[1],r[2]-i,r[3]]]}return[r]}function Rt(r,t,e){return Math.min(Math.max(r,t),e)}function r_(r,t,e,i,n,o){const a=n-e,h=o-i;if(a!==0||h!==0){const c=((r-e)*a+(t-i)*h)/(a*a+h*h);c>1?(e=n,i=o):c>0&&(e+=a*c,i+=h*c)}return qi(r,t,e,i)}function qi(r,t,e,i){const n=e-r,o=i-t;return n*n+o*o}function s_(r){const t=r.length;for(let i=0;i<t;i++){let n=i,o=Math.abs(r[i][i]);for(let h=i+1;h<t;h++){const c=Math.abs(r[h][i]);c>o&&(o=c,n=h)}if(o===0)return null;const a=r[n];r[n]=r[i],r[i]=a;for(let h=i+1;h<t;h++){const c=-r[h][i]/r[i][i];for(let d=i;d<t+1;d++)i==d?r[h][d]=0:r[h][d]+=c*r[i][d]}}const e=new Array(t);for(let i=t-1;i>=0;i--){e[i]=r[i][t]/r[i][i];for(let n=i-1;n>=0;n--)r[n][t]-=r[n][i]*e[i]}return e}function zs(r){return r*Math.PI/180}function Pn(r,t){const e=r%t;return e*t<0?e+t:e}function pe(r,t,e){return r+e*(t-r)}function Ia(r,t){const e=Math.pow(10,t);return Math.round(r*e)/e}function Bs(r,t){return Math.floor(Ia(r,t))}function Ns(r,t){return Math.ceil(Ia(r,t))}function o_(r,t){return r[0]+=+t[0],r[1]+=+t[1],r}function Gs(r,t){let e=!0;for(let i=r.length-1;i>=0;--i)if(r[i]!=t[i]){e=!1;break}return e}function ka(r,t){const e=Math.cos(t),i=Math.sin(t),n=r[0]*e-r[1]*i,o=r[1]*e+r[0]*i;return r[0]=n,r[1]=o,r}function a_(r,t){return r[0]*=t,r[1]*=t,r}function Fc(r,t){if(t.canWrapX()){const e=Lt(t.getExtent()),i=l_(r,t,e);i&&(r[0]-=i*e)}return r}function l_(r,t,e){const i=t.getExtent();let n=0;return t.canWrapX()&&(r[0]<i[0]||r[0]>i[2])&&(e=e||Lt(i),n=Math.floor((r[0]-i[0])/e)),n}const h_=63710088e-1;function zc(r,t,e){e=e||h_;const i=zs(r[1]),n=zs(t[1]),o=(n-i)/2,a=zs(t[0]-r[0])/2,h=Math.sin(o)*Math.sin(o)+Math.sin(a)*Math.sin(a)*Math.cos(i)*Math.cos(n);return 2*e*Math.atan2(Math.sqrt(h),Math.sqrt(1-h))}const Bc={info:1,warn:2,error:3,none:4};let c_=Bc.info;function Nc(...r){c_>Bc.warn||console.warn(...r)}let Oa=!0;function Gc(r){Oa=!(r===void 0?!0:r)}function Fa(r,t){if(t!==void 0){for(let e=0,i=r.length;e<i;++e)t[e]=r[e];t=t}else t=r.slice();return t}function Uc(r,t){if(t!==void 0&&r!==t){for(let e=0,i=r.length;e<i;++e)t[e]=r[e];r=t}return r}function u_(r){Qm(r.getCode(),r),Ds(r,r,Fa)}function d_(r){r.forEach(u_)}function Gt(r){return typeof r=="string"?Km(r):r||null}function jc(r,t,e,i){r=Gt(r);let n;const o=r.getPointResolutionFunc();if(o){if(n=o(t,e),i&&i!==r.getUnits()){const a=r.getMetersPerUnit();a&&(n=n*a/mr[i])}}else{const a=r.getUnits();if(a=="degrees"&&!i||i=="degrees")n=t;else{const h=Ba(r,Gt("EPSG:4326"));if(h===Uc&&a!=="degrees")n=t*r.getMetersPerUnit();else{let d=[e[0]-t/2,e[1],e[0]+t/2,e[1],e[0],e[1]-t/2,e[0],e[1]+t/2];d=h(d,d,2);const f=zc(d.slice(0,2),d.slice(2,4)),p=zc(d.slice(4,6),d.slice(6,8));n=(f+p)/2}const c=i?mr[i]:r.getMetersPerUnit();c!==void 0&&(n/=c)}}return n}function Hc(r){d_(r),r.forEach(function(t){r.forEach(function(e){t!==e&&Ds(t,e,Fa)})})}function f_(r,t,e,i){r.forEach(function(n){t.forEach(function(o){Ds(n,o,e),Ds(o,n,i)})})}function za(r,t){return r?typeof r=="string"?Gt(r):r:Gt(t)}function Wc(r,t){return Gc(),Yc(r,"EPSG:4326",t!==void 0?t:"EPSG:3857")}function Ji(r,t){if(r===t)return!0;const e=r.getUnits()===t.getUnits();return(r.getCode()===t.getCode()||Ba(r,t)===Fa)&&e}function Ba(r,t){const e=r.getCode(),i=t.getCode();let n=qm(e,i);return n||(n=Uc),n}function Us(r,t){const e=Gt(r),i=Gt(t);return Ba(e,i)}function Yc(r,t,e){return Us(t,e)(r,void 0,r.length)}function Na(r,t){return r}function ii(r,t){return Oa&&!Gs(r,[0,0])&&r[0]>=-180&&r[0]<=180&&r[1]>=-90&&r[1]<=90&&(Oa=!1,Nc("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),r}function Xc(r,t){return r}function $i(r,t){return r}function g_(){Hc(bc),Hc(Mc),f_(Mc,bc,Ym,Xm)}g_();function _t(r,t){if(!r)throw new Error(t)}function Zc(r,t,e){return function(i,n,o,a,h){if(!i)return;if(!n&&!t)return i;const c=t?0:o[0]*n,d=t?0:o[1]*n,f=h?h[0]:0,p=h?h[1]:0;let _=r[0]+c/2+f,y=r[2]-c/2+f,v=r[1]+d/2+p,A=r[3]-d/2+p;_>y&&(_=(y+_)/2,y=_),v>A&&(v=(A+v)/2,A=v);let b=Rt(i[0],_,y),M=Rt(i[1],v,A);if(a&&e&&n){const w=30*n;b+=-w*Math.log(1+Math.max(0,_-i[0])/w)+w*Math.log(1+Math.max(0,i[0]-y)/w),M+=-w*Math.log(1+Math.max(0,v-i[1])/w)+w*Math.log(1+Math.max(0,i[1]-A)/w)}return[b,M]}}function p_(r){return r}function Ga(r,t,e,i){const n=Lt(t)/e[0],o=Fe(t)/e[1];return i?Math.min(r,Math.max(n,o)):Math.min(r,Math.min(n,o))}function Ua(r,t,e){let i=Math.min(r,t);const n=50;return i*=Math.log(1+n*Math.max(0,r/t-1))/n+1,e&&(i=Math.max(i,e),i/=Math.log(1+n*Math.max(0,e/r-1))/n+1),Rt(i,e/2,t*2)}function m_(r,t,e,i){return t=t!==void 0?t:!0,function(n,o,a,h){if(n!==void 0){const c=r[0],d=r[r.length-1],f=e?Ga(c,e,a,i):c;if(h)return t?Ua(n,f,d):Rt(n,d,f);const p=Math.min(f,n),_=Math.floor(La(r,p,o));return r[_]>f&&_<r.length-1?r[_+1]:r[_]}}}function __(r,t,e,i,n,o){return i=i!==void 0?i:!0,e=e!==void 0?e:0,function(a,h,c,d){if(a!==void 0){const f=n?Ga(t,n,c,o):t;if(d)return i?Ua(a,f,e):Rt(a,e,f);const p=1e-9,_=Math.ceil(Math.log(t/f)/Math.log(r)-p),y=-h*(.5-p)+.5,v=Math.min(f,a),A=Math.floor(Math.log(t/v)/Math.log(r)+y),b=Math.max(_,A),M=t/Math.pow(r,b);return Rt(M,e,f)}}}function Vc(r,t,e,i,n){return e=e!==void 0?e:!0,function(o,a,h,c){if(o!==void 0){const d=i?Ga(r,i,h,n):r;return!e||!c?Rt(o,t,d):Ua(o,d,t)}}}function ja(r){if(r!==void 0)return 0}function Kc(r){if(r!==void 0)return r}function y_(r){const t=2*Math.PI/r;return function(e,i){if(i)return e;if(e!==void 0)return e=Math.floor(e/t+.5)*t,e}}function v_(r){return r=r||zs(5),function(t,e){if(e)return t;if(t!==void 0)return Math.abs(t)<=r?0:t}}function Qc(r){return Math.pow(r,3)}function Dn(r){return 1-Qc(1-r)}function x_(r){return 3*r*r-2*r*r*r}function A_(r){return r}const wi=typeof navigator<"u"&&typeof navigator.userAgent<"u"?navigator.userAgent.toLowerCase():"",w_=wi.includes("firefox"),E_=wi.includes("safari")&&!wi.includes("chrom")&&(wi.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(wi)),C_=wi.includes("webkit")&&!wi.includes("edge"),qc=wi.includes("macintosh"),Jc=typeof devicePixelRatio<"u"?devicePixelRatio:1,Ha=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,$c=typeof Image<"u"&&Image.prototype.decode,tu=function(){let r=!1;try{const t=Object.defineProperty({},"passive",{get:function(){r=!0}});window.addEventListener("_",null,t),window.removeEventListener("_",null,t)}catch{}return r}(),L_=new Array(6);function Xt(){return[1,0,0,1,0,0]}function eu(r,t){const e=r[0],i=r[1],n=r[2],o=r[3],a=r[4],h=r[5],c=t[0],d=t[1],f=t[2],p=t[3],_=t[4],y=t[5];return r[0]=e*c+n*d,r[1]=i*c+o*d,r[2]=e*f+n*p,r[3]=i*f+o*p,r[4]=e*_+n*y+a,r[5]=i*_+o*y+h,r}function iu(r,t,e,i,n,o,a){return r[0]=t,r[1]=e,r[2]=i,r[3]=n,r[4]=o,r[5]=a,r}function b_(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r}function Ot(r,t){const e=t[0],i=t[1];return t[0]=r[0]*e+r[2]*i+r[4],t[1]=r[1]*e+r[3]*i+r[5],t}function T_(r,t,e){return iu(r,t,0,0,e,0,0)}function M_(r,t,e){return eu(r,iu(L_,1,0,0,1,t,e))}function ze(r,t,e,i,n,o,a,h){const c=Math.sin(o),d=Math.cos(o);return r[0]=i*d,r[1]=n*c,r[2]=-i*c,r[3]=n*d,r[4]=a*i*d-h*i*c+t,r[5]=a*n*c+h*n*d+e,r}function js(r,t){const e=P_(t);_t(e!==0,"Transformation matrix cannot be inverted");const i=t[0],n=t[1],o=t[2],a=t[3],h=t[4],c=t[5];return r[0]=a/e,r[1]=-n/e,r[2]=-o/e,r[3]=i/e,r[4]=(o*c-a*h)/e,r[5]=-(i*c-n*h)/e,r}function P_(r){return r[0]*r[3]-r[1]*r[2]}let nu;function ru(r){const t="matrix("+r.join(", ")+")";if(Ha)return t;const e=nu||(nu=document.createElement("div"));return e.style.transform=t,e.style.transform}function tn(r,t,e,i,n,o){o=o||[];let a=0;for(let h=t;h<e;h+=i){const c=r[h],d=r[h+1];o[a++]=n[0]*c+n[2]*d+n[4],o[a++]=n[1]*c+n[3]*d+n[5]}return o&&o.length!=a&&(o.length=a),o}function su(r,t,e,i,n,o,a){a=a||[];const h=Math.cos(n),c=Math.sin(n),d=o[0],f=o[1];let p=0;for(let _=t;_<e;_+=i){const y=r[_]-d,v=r[_+1]-f;a[p++]=d+y*h-v*c,a[p++]=f+y*c+v*h;for(let A=_+2;A<_+i;++A)a[p++]=r[A]}return a&&a.length!=p&&(a.length=p),a}function D_(r,t,e,i,n,o,a,h){h=h||[];const c=a[0],d=a[1];let f=0;for(let p=t;p<e;p+=i){const _=r[p]-c,y=r[p+1]-d;h[f++]=c+n*_,h[f++]=d+o*y;for(let v=p+2;v<p+i;++v)h[f++]=r[v]}return h&&h.length!=f&&(h.length=f),h}function S_(r,t,e,i,n,o,a){a=a||[];let h=0;for(let c=t;c<e;c+=i){a[h++]=r[c]+n,a[h++]=r[c+1]+o;for(let d=c+2;d<c+i;++d)a[h++]=r[d]}return a&&a.length!=h&&(a.length=h),a}const ou=Xt();class R_ extends Ce{constructor(){super(),this.extent_=ge(),this.extentRevision_=-1,this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=0,this.simplifyTransformedInternal=Fm(function(t,e,i){if(!i)return this.getSimplifiedGeometry(e);const n=this.clone();return n.applyTransform(i),n.getSimplifiedGeometry(e)})}simplifyTransformed(t,e){return this.simplifyTransformedInternal(this.getRevision(),t,e)}clone(){return at()}closestPointXY(t,e,i,n){return at()}containsXY(t,e){const i=this.getClosestPoint([t,e]);return i[0]===t&&i[1]===e}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 at()}getExtent(t){if(this.extentRevision_!=this.getRevision()){const e=this.computeExtent(this.extent_);(isNaN(e[0])||isNaN(e[1]))&&yr(e),this.extentRevision_=this.getRevision()}return e_(this.extent_,t)}rotate(t,e){at()}scale(t,e,i){at()}simplify(t){return this.getSimplifiedGeometry(t*t)}getSimplifiedGeometry(t){return at()}getType(){return at()}applyTransform(t){at()}intersectsExtent(t){return at()}translate(t,e){at()}transform(t,e){const i=Gt(t),n=i.getUnits()=="tile-pixels"?function(o,a,h){const c=i.getExtent(),d=i.getWorldExtent(),f=Fe(d)/Fe(c);return ze(ou,d[0],d[3],f,-f,0,0,0),tn(o,0,o.length,h,ou,a),Us(i,e)(o,a,h)}:Us(i,e);return this.applyTransform(n),this}}const au=R_;class I_ extends au{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates=null}computeExtent(t){return Sc(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinates(){return at()}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||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&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=lu(t),this.layout=t,this.flatCoordinates=e}setCoordinates(t,e){at()}setLayout(t,e,i){let n;if(t)n=lu(t);else{for(let o=0;o<i;++o){if(e.length===0){this.layout="XY",this.stride=2;return}e=e[0]}n=e.length,t=k_(n)}this.layout=t,this.stride=n}applyTransform(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())}rotate(t,e){const i=this.getFlatCoordinates();if(i){const n=this.getStride();su(i,0,i.length,n,t,e,i),this.changed()}}scale(t,e,i){e===void 0&&(e=t),i||(i=Ki(this.getExtent()));const n=this.getFlatCoordinates();if(n){const o=this.getStride();D_(n,0,n.length,o,t,e,i,n),this.changed()}}translate(t,e){const i=this.getFlatCoordinates();if(i){const n=this.getStride();S_(i,0,i.length,n,t,e,i),this.changed()}}}function k_(r){let t;return r==2?t="XY":r==3?t="XYZ":r==4&&(t="XYZM"),t}function lu(r){let t;return r=="XY"?t=2:r=="XYZ"||r=="XYM"?t=3:r=="XYZM"&&(t=4),t}function O_(r,t,e){const i=r.getFlatCoordinates();if(!i)return null;const n=r.getStride();return tn(i,0,i.length,n,t,e)}const en=I_;function hu(r,t,e,i,n,o,a){const h=r[t],c=r[t+1],d=r[e]-h,f=r[e+1]-c;let p;if(d===0&&f===0)p=t;else{const _=((n-h)*d+(o-c)*f)/(d*d+f*f);if(_>1)p=e;else if(_>0){for(let y=0;y<i;++y)a[y]=pe(r[t+y],r[e+y],_);a.length=i;return}else p=t}for(let _=0;_<i;++_)a[_]=r[p+_];a.length=i}function Wa(r,t,e,i,n){let o=r[t],a=r[t+1];for(t+=i;t<e;t+=i){const h=r[t],c=r[t+1],d=qi(o,a,h,c);d>n&&(n=d),o=h,a=c}return n}function Ya(r,t,e,i,n){for(let o=0,a=e.length;o<a;++o){const h=e[o];n=Wa(r,t,h,i,n),t=h}return n}function F_(r,t,e,i,n){for(let o=0,a=e.length;o<a;++o){const h=e[o];n=Ya(r,t,h,i,n),t=h[h.length-1]}return n}function Xa(r,t,e,i,n,o,a,h,c,d,f){if(t==e)return d;let p,_;if(n===0){if(_=qi(a,h,r[t],r[t+1]),_<d){for(p=0;p<i;++p)c[p]=r[t+p];return c.length=i,_}return d}f=f||[NaN,NaN];let y=t+i;for(;y<e;)if(hu(r,y-i,y,i,a,h,f),_=qi(a,h,f[0],f[1]),_<d){for(d=_,p=0;p<i;++p)c[p]=f[p];c.length=i,y+=i}else y+=i*Math.max((Math.sqrt(_)-Math.sqrt(d))/n|0,1);if(o&&(hu(r,e-i,t,i,a,h,f),_=qi(a,h,f[0],f[1]),_<d)){for(d=_,p=0;p<i;++p)c[p]=f[p];c.length=i}return d}function Za(r,t,e,i,n,o,a,h,c,d,f){f=f||[NaN,NaN];for(let p=0,_=e.length;p<_;++p){const y=e[p];d=Xa(r,t,y,i,n,o,a,h,c,d,f),t=y}return d}function z_(r,t,e,i,n,o,a,h,c,d,f){f=f||[NaN,NaN];for(let p=0,_=e.length;p<_;++p){const y=e[p];d=Za(r,t,y,i,n,o,a,h,c,d,f),t=y[y.length-1]}return d}function B_(r,t,e,i){for(let n=0,o=e.length;n<o;++n)r[t++]=e[n];return t}function Hs(r,t,e,i){for(let n=0,o=e.length;n<o;++n){const a=e[n];for(let h=0;h<i;++h)r[t++]=a[h]}return t}function Va(r,t,e,i,n){n=n||[];let o=0;for(let a=0,h=e.length;a<h;++a){const c=Hs(r,t,e[a],i);n[o++]=c,t=c}return n.length=o,n}function N_(r,t,e,i,n){n=n||[];let o=0;for(let a=0,h=e.length;a<h;++a){const c=Va(r,t,e[a],i,n[o]);c.length===0&&(c[0]=t),n[o++]=c,t=c[c.length-1]}return n.length=o,n}function Ka(r,t,e,i,n,o,a){const h=(e-t)/i;if(h<3){for(;t<e;t+=i)o[a++]=r[t],o[a++]=r[t+1];return a}const c=new Array(h);c[0]=1,c[h-1]=1;const d=[t,e-i];let f=0;for(;d.length>0;){const p=d.pop(),_=d.pop();let y=0;const v=r[_],A=r[_+1],b=r[p],M=r[p+1];for(let w=_+i;w<p;w+=i){const E=r[w],C=r[w+1],P=r_(E,C,v,A,b,M);P>y&&(f=w,y=P)}y>n&&(c[(f-t)/i]=1,_+i<f&&d.push(_,f),f+i<p&&d.push(f,p))}for(let p=0;p<h;++p)c[p]&&(o[a++]=r[t+p*i],o[a++]=r[t+p*i+1]);return a}function G_(r,t,e,i,n,o,a,h){for(let c=0,d=e.length;c<d;++c){const f=e[c];a=Ka(r,t,f,i,n,o,a),h.push(a),t=f}return a}function nn(r,t){return t*Math.round(r/t)}function U_(r,t,e,i,n,o,a){if(t==e)return a;let h=nn(r[t],n),c=nn(r[t+1],n);t+=i,o[a++]=h,o[a++]=c;let d,f;do if(d=nn(r[t],n),f=nn(r[t+1],n),t+=i,t==e)return o[a++]=d,o[a++]=f,a;while(d==h&&f==c);for(;t<e;){const p=nn(r[t],n),_=nn(r[t+1],n);if(t+=i,p==d&&_==f)continue;const y=d-h,v=f-c,A=p-h,b=_-c;if(y*b==v*A&&(y<0&&A<y||y==A||y>0&&A>y)&&(v<0&&b<v||v==b||v>0&&b>v)){d=p,f=_;continue}o[a++]=d,o[a++]=f,h=d,c=f,d=p,f=_}return o[a++]=d,o[a++]=f,a}function cu(r,t,e,i,n,o,a,h){for(let c=0,d=e.length;c<d;++c){const f=e[c];a=U_(r,t,f,i,n,o,a),h.push(a),t=f}return a}function j_(r,t,e,i,n,o,a,h){for(let c=0,d=e.length;c<d;++c){const f=e[c],p=[];a=cu(r,t,f,i,n,o,a,p),h.push(p),t=f[f.length-1]}return a}function Ei(r,t,e,i,n){n=n!==void 0?n:[];let o=0;for(let a=t;a<e;a+=i)n[o++]=r.slice(a,a+i);return n.length=o,n}function Ar(r,t,e,i,n){n=n!==void 0?n:[];let o=0;for(let a=0,h=e.length;a<h;++a){const c=e[a];n[o++]=Ei(r,t,c,i,n[o]),t=c}return n.length=o,n}function Qa(r,t,e,i,n){n=n!==void 0?n:[];let o=0;for(let a=0,h=e.length;a<h;++a){const c=e[a];n[o++]=c.length===1&&c[0]===t?[]:Ar(r,t,c,i,n[o]),t=c[c.length-1]}return n.length=o,n}function uu(r,t,e,i){let n=0,o=r[e-i],a=r[e-i+1];for(;t<e;t+=i){const h=r[t],c=r[t+1];n+=a*h-o*c,o=h,a=c}return n/2}function du(r,t,e,i){let n=0;for(let o=0,a=e.length;o<a;++o){const h=e[o];n+=uu(r,t,h,i),t=h}return n}function H_(r,t,e,i){let n=0;for(let o=0,a=e.length;o<a;++o){const h=e[o];n+=du(r,t,h,i),t=h[h.length-1]}return n}class Ws extends en{constructor(t,e){super(),this.maxDelta_=-1,this.maxDeltaRevision_=-1,e!==void 0&&!Array.isArray(t[0])?this.setFlatCoordinates(e,t):this.setCoordinates(t,e)}clone(){return new Ws(this.flatCoordinates.slice(),this.layout)}closestPointXY(t,e,i,n){return n<Zi(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Wa(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Xa(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,e,i,n))}getArea(){return uu(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinates(){return Ei(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getSimplifiedGeometryInternal(t){const e=[];return e.length=Ka(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,0),new Ws(e,"XY")}getType(){return"LinearRing"}intersectsExtent(t){return!1}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Hs(this.flatCoordinates,0,t,this.stride),this.changed()}}const fu=Ws;class qa extends en{constructor(t,e){super(),this.setCoordinates(t,e)}clone(){const t=new qa(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,n){const o=this.flatCoordinates,a=qi(t,e,o[0],o[1]);if(a<n){const h=this.stride;for(let c=0;c<h;++c)i[c]=o[c];return i.length=h,a}return n}getCoordinates(){return this.flatCoordinates?this.flatCoordinates.slice():[]}computeExtent(t){return Jm(this.flatCoordinates,t)}getType(){return"Point"}intersectsExtent(t){return Ma(t,this.flatCoordinates[0],this.flatCoordinates[1])}setCoordinates(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=B_(this.flatCoordinates,0,t,this.stride),this.changed()}}const Ys=qa;function W_(r,t,e,i,n){return!kc(n,function(a){return!rn(r,t,e,i,a[0],a[1])})}function rn(r,t,e,i,n,o){let a=0,h=r[e-i],c=r[e-i+1];for(;t<e;t+=i){const d=r[t],f=r[t+1];c<=o?f>o&&(d-h)*(o-c)-(n-h)*(f-c)>0&&a++:f<=o&&(d-h)*(o-c)-(n-h)*(f-c)<0&&a--,h=d,c=f}return a!==0}function Ja(r,t,e,i,n,o){if(e.length===0||!rn(r,t,e[0],i,n,o))return!1;for(let a=1,h=e.length;a<h;++a)if(rn(r,e[a-1],e[a],i,n,o))return!1;return!0}function Y_(r,t,e,i,n,o){if(e.length===0)return!1;for(let a=0,h=e.length;a<h;++a){const c=e[a];if(Ja(r,t,c,i,n,o))return!0;t=c[c.length-1]}return!1}function gu(r,t,e,i,n,o,a){let h,c,d,f,p,_,y;const v=n[o+1],A=[];for(let w=0,E=e.length;w<E;++w){const C=e[w];for(f=r[C-i],_=r[C-i+1],h=t;h<C;h+=i)p=r[h],y=r[h+1],(v<=_&&y<=v||_<=v&&v<=y)&&(d=(v-_)/(y-_)*(p-f)+f,A.push(d)),f=p,_=y}let b=NaN,M=-1/0;for(A.sort(xi),f=A[0],h=1,c=A.length;h<c;++h){p=A[h];const w=Math.abs(p-f);w>M&&(d=(f+p)/2,Ja(r,t,e,i,d,v)&&(b=d,M=w)),f=p}return isNaN(b)&&(b=n[o]),a?(a.push(b,v,M),a):[b,v,M]}function X_(r,t,e,i,n){let o=[];for(let a=0,h=e.length;a<h;++a){const c=e[a];o=gu(r,t,c,i,n,2*a,o),t=c[c.length-1]}return o}function pu(r,t,e,i,n){let o;for(t+=i;t<e;t+=i)if(o=n(r.slice(t-i,t),r.slice(t,t+i)),o)return o;return!1}function Xs(r,t,e,i,n){const o=Ic(ge(),r,t,e,i);return se(n,o)?Vi(n,o)||o[0]>=n[0]&&o[2]<=n[2]||o[1]>=n[1]&&o[3]<=n[3]?!0:pu(r,t,e,i,function(a,h){return i_(n,a,h)}):!1}function Z_(r,t,e,i,n){for(let o=0,a=e.length;o<a;++o){if(Xs(r,t,e[o],i,n))return!0;t=e[o]}return!1}function mu(r,t,e,i,n){return!!(Xs(r,t,e,i,n)||rn(r,t,e,i,n[0],n[1])||rn(r,t,e,i,n[0],n[3])||rn(r,t,e,i,n[2],n[1])||rn(r,t,e,i,n[2],n[3]))}function _u(r,t,e,i,n){if(!mu(r,t,e[0],i,n))return!1;if(e.length===1)return!0;for(let o=1,a=e.length;o<a;++o)if(W_(r,e[o-1],e[o],i,n)&&!Xs(r,e[o-1],e[o],i,n))return!1;return!0}function V_(r,t,e,i,n){for(let o=0,a=e.length;o<a;++o){const h=e[o];if(_u(r,t,h,i,n))return!0;t=h[h.length-1]}return!1}function K_(r,t,e,i){for(;t<e-i;){for(let n=0;n<i;++n){const o=r[t+n];r[t+n]=r[e-i+n],r[e-i+n]=o}t+=i,e-=i}}function yu(r,t,e,i){let n=0,o=r[e-i],a=r[e-i+1];for(;t<e;t+=i){const h=r[t],c=r[t+1];n+=(h-o)*(c+a),o=h,a=c}return n===0?void 0:n>0}function vu(r,t,e,i,n){n=n!==void 0?n:!1;for(let o=0,a=e.length;o<a;++o){const h=e[o],c=yu(r,t,h,i);if(o===0){if(n&&c||!n&&!c)return!1}else if(n&&!c||!n&&c)return!1;t=h}return!0}function Q_(r,t,e,i,n){for(let o=0,a=e.length;o<a;++o){const h=e[o];if(!vu(r,t,h,i,n))return!1;h.length&&(t=h[h.length-1])}return!0}function $a(r,t,e,i,n){n=n!==void 0?n:!1;for(let o=0,a=e.length;o<a;++o){const h=e[o],c=yu(r,t,h,i);(o===0?n&&c||!n&&!c:n&&!c||!n&&c)&&K_(r,t,h,i),t=h}return t}function xu(r,t,e,i,n){for(let o=0,a=e.length;o<a;++o)t=$a(r,t,e[o],i,n);return t}class wr extends en{constructor(t,e,i){super(),this.ends_=[],this.flatInteriorPointRevision_=-1,this.flatInteriorPoint_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,e!==void 0&&i?(this.setFlatCoordinates(e,t),this.ends_=i):this.setCoordinates(t,e)}appendLinearRing(t){this.flatCoordinates?ti(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const t=new wr(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t}closestPointXY(t,e,i,n){return n<Zi(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Ya(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Za(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,i,n))}containsXY(t,e){return Ja(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)}getArea(){return du(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)}getCoordinates(t){let e;return t!==void 0?(e=this.getOrientedFlatCoordinates().slice(),$a(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,Ar(e,0,this.ends_,this.stride)}getEnds(){return this.ends_}getFlatInteriorPoint(){if(this.flatInteriorPointRevision_!=this.getRevision()){const t=Ki(this.getExtent());this.flatInteriorPoint_=gu(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_}getInteriorPoint(){return new Ys(this.getFlatInteriorPoint(),"XYM")}getLinearRingCount(){return this.ends_.length}getLinearRing(t){return t<0||this.ends_.length<=t?null:new fu(this.flatCoordinates.slice(t===0?0:this.ends_[t-1],this.ends_[t]),this.layout)}getLinearRings(){const t=this.layout,e=this.flatCoordinates,i=this.ends_,n=[];let o=0;for(let a=0,h=i.length;a<h;++a){const c=i[a],d=new fu(e.slice(o,c),t);n.push(d),o=c}return n}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const t=this.flatCoordinates;vu(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=$a(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(t){const e=[],i=[];return e.length=cu(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),e,0,i),new wr(e,"XY",i)}getType(){return"Polygon"}intersectsExtent(t){return _u(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);const i=Va(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=i.length===0?0:i[i.length-1],this.changed()}}const Zs=wr;function Au(r){if(Fs(r))throw new Error("Cannot create polygon from empty extent");const t=r[0],e=r[1],i=r[2],n=r[3],o=[t,e,t,n,i,n,i,e,t,e];return new wr(o,"XY",[o.length])}const tl=0;class q_ extends Ce{constructor(t){super(),this.on,this.once,this.un,t=Object.assign({},t),this.hints_=[0,0],this.animations_=[],this.updateAnimationKey_,this.projection_=za(t.projection,"EPSG:3857"),this.viewportSize_=[100,100],this.targetCenter_=null,this.targetResolution_,this.targetRotation_,this.nextCenter_=null,this.nextResolution_,this.nextRotation_,this.cancelAnchor_=void 0,t.projection&&Gc(),t.center&&(t.center=ii(t.center,this.projection_)),t.extent&&(t.extent=$i(t.extent,this.projection_)),this.applyOptions_(t)}applyOptions_(t){const e=Object.assign({},t);for(const h in Le)delete e[h];this.setProperties(e,!0);const i=$_(t);this.maxResolution_=i.maxResolution,this.minResolution_=i.minResolution,this.zoomFactor_=i.zoomFactor,this.resolutions_=t.resolutions,this.padding_=t.padding,this.minZoom_=i.minZoom;const n=J_(t),o=i.constraint,a=ty(t);this.constraints_={center:n,resolution:o,rotation:a},this.setRotation(t.rotation!==void 0?t.rotation:0),this.setCenterInternal(t.center!==void 0?t.center:null),t.resolution!==void 0?this.setResolution(t.resolution):t.zoom!==void 0&&this.setZoom(t.zoom)}get padding(){return this.padding_}set padding(t){let e=this.padding_;this.padding_=t;const i=this.getCenterInternal();if(i){const n=t||[0,0,0,0];e=e||[0,0,0,0];const o=this.getResolution(),a=o/2*(n[3]-e[3]+e[1]-n[1]),h=o/2*(n[0]-e[0]+e[2]-n[2]);this.setCenterInternal([i[0]+a,i[1]-h])}}getUpdatedOptions_(t){const e=this.getProperties();return e.resolution!==void 0?e.resolution=this.getResolution():e.zoom=this.getZoom(),e.center=this.getCenterInternal(),e.rotation=this.getRotation(),Object.assign({},e,t)}animate(t){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);const e=new Array(arguments.length);for(let i=0;i<e.length;++i){let n=arguments[i];n.center&&(n=Object.assign({},n),n.center=ii(n.center,this.getProjection())),n.anchor&&(n=Object.assign({},n),n.anchor=ii(n.anchor,this.getProjection())),e[i]=n}this.animateInternal.apply(this,e)}animateInternal(t){let e=arguments.length,i;e>1&&typeof arguments[e-1]=="function"&&(i=arguments[e-1],--e);let n=0;for(;n<e&&!this.isDef();++n){const f=arguments[n];f.center&&this.setCenterInternal(f.center),f.zoom!==void 0?this.setZoom(f.zoom):f.resolution&&this.setResolution(f.resolution),f.rotation!==void 0&&this.setRotation(f.rotation)}if(n===e){i&&Vs(i,!0);return}let o=Date.now(),a=this.targetCenter_.slice(),h=this.targetResolution_,c=this.targetRotation_;const d=[];for(;n<e;++n){const f=arguments[n],p={start:o,complete:!1,anchor:f.anchor,duration:f.duration!==void 0?f.duration:1e3,easing:f.easing||x_,callback:i};if(f.center&&(p.sourceCenter=a,p.targetCenter=f.center.slice(),a=p.targetCenter),f.zoom!==void 0?(p.sourceResolution=h,p.targetResolution=this.getResolutionForZoom(f.zoom),h=p.targetResolution):f.resolution&&(p.sourceResolution=h,p.targetResolution=f.resolution,h=p.targetResolution),f.rotation!==void 0){p.sourceRotation=c;const _=Pn(f.rotation-c+Math.PI,2*Math.PI)-Math.PI;p.targetRotation=c+_,c=p.targetRotation}ey(p)?p.complete=!0:o+=p.duration,d.push(p)}this.animations_.push(d),this.setHint(Ut.ANIMATING,1),this.updateAnimations_()}getAnimating(){return this.hints_[Ut.ANIMATING]>0}getInteracting(){return this.hints_[Ut.INTERACTING]>0}cancelAnimations(){this.setHint(Ut.ANIMATING,-this.hints_[Ut.ANIMATING]);let t;for(let e=0,i=this.animations_.length;e<i;++e){const n=this.animations_[e];if(n[0].callback&&Vs(n[0].callback,!1),!t)for(let o=0,a=n.length;o<a;++o){const h=n[o];if(!h.complete){t=h.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=t,this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN}updateAnimations_(){if(this.updateAnimationKey_!==void 0&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),!this.getAnimating())return;const t=Date.now();let e=!1;for(let i=this.animations_.length-1;i>=0;--i){const n=this.animations_[i];let o=!0;for(let a=0,h=n.length;a<h;++a){const c=n[a];if(c.complete)continue;const d=t-c.start;let f=c.duration>0?d/c.duration:1;f>=1?(c.complete=!0,f=1):o=!1;const p=c.easing(f);if(c.sourceCenter){const _=c.sourceCenter[0],y=c.sourceCenter[1],v=c.targetCenter[0],A=c.targetCenter[1];this.nextCenter_=c.targetCenter;const b=_+p*(v-_),M=y+p*(A-y);this.targetCenter_=[b,M]}if(c.sourceResolution&&c.targetResolution){const _=p===1?c.targetResolution:c.sourceResolution+p*(c.targetResolution-c.sourceResolution);if(c.anchor){const y=this.getViewportSize_(this.getRotation()),v=this.constraints_.resolution(_,0,y,!0);this.targetCenter_=this.calculateCenterZoom(v,c.anchor)}this.nextResolution_=c.targetResolution,this.targetResolution_=_,this.applyTargetState_(!0)}if(c.sourceRotation!==void 0&&c.targetRotation!==void 0){const _=p===1?Pn(c.targetRotation+Math.PI,2*Math.PI)-Math.PI:c.sourceRotation+p*(c.targetRotation-c.sourceRotation);if(c.anchor){const y=this.constraints_.rotation(_,!0);this.targetCenter_=this.calculateCenterRotate(y,c.anchor)}this.nextRotation_=c.targetRotation,this.targetRotation_=_}if(this.applyTargetState_(!0),e=!0,!c.complete)break}if(o){this.animations_[i]=null,this.setHint(Ut.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const a=n[0].callback;a&&Vs(a,!0)}}this.animations_=this.animations_.filter(Boolean),e&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(t,e){let i;const n=this.getCenterInternal();return n!==void 0&&(i=[n[0]-e[0],n[1]-e[1]],ka(i,t-this.getRotation()),o_(i,e)),i}calculateCenterZoom(t,e){let i;const n=this.getCenterInternal(),o=this.getResolution();if(n!==void 0&&o!==void 0){const a=e[0]-t*(e[0]-n[0])/o,h=e[1]-t*(e[1]-n[1])/o;i=[a,h]}return i}getViewportSize_(t){const e=this.viewportSize_;if(t){const i=e[0],n=e[1];return[Math.abs(i*Math.cos(t))+Math.abs(n*Math.sin(t)),Math.abs(i*Math.sin(t))+Math.abs(n*Math.cos(t))]}return e}setViewportSize(t){this.viewportSize_=Array.isArray(t)?t.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const t=this.getCenterInternal();return t&&Na(t,this.getProjection())}getCenterInternal(){return this.get(Le.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(t){return t!==void 0?(t[0]=this.hints_[0],t[1]=this.hints_[1],t):this.hints_.slice()}calculateExtent(t){const e=this.calculateExtentInternal(t);return Xc(e,this.getProjection())}calculateExtentInternal(t){t=t||this.getViewportSizeMinusPadding_();const e=this.getCenterInternal();_t(e,"The view center is not defined");const i=this.getResolution();_t(i!==void 0,"The view resolution is not defined");const n=this.getRotation();return _t(n!==void 0,"The view rotation is not defined"),Sa(e,i,n,t)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(t){this.applyOptions_(this.getUpdatedOptions_({maxZoom:t}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(t){this.applyOptions_(this.getUpdatedOptions_({minZoom:t}))}setConstrainResolution(t){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:t}))}getProjection(){return this.projection_}getResolution(){return this.get(Le.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(t,e){return this.getResolutionForExtentInternal($i(t,this.getProjection()),e)}getResolutionForExtentInternal(t,e){e=e||this.getViewportSizeMinusPadding_();const i=Lt(t)/e[0],n=Fe(t)/e[1];return Math.max(i,n)}getResolutionForValueFunction(t){t=t||2;const e=this.getConstrainedResolution(this.maxResolution_),i=this.minResolution_,n=Math.log(e/i)/Math.log(t);return function(o){return e/Math.pow(t,o*n)}}getRotation(){return this.get(Le.ROTATION)}getValueForResolutionFunction(t){const e=Math.log(t||2),i=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,o=Math.log(i/n)/e;return function(a){return Math.log(i/a)/e/o}}getViewportSizeMinusPadding_(t){let e=this.getViewportSize_(t);const i=this.padding_;return i&&(e=[e[0]-i[1]-i[3],e[1]-i[0]-i[2]]),e}getState(){const t=this.getProjection(),e=this.getResolution(),i=this.getRotation();let n=this.getCenterInternal();const o=this.padding_;if(o){const a=this.getViewportSizeMinusPadding_();n=el(n,this.getViewportSize_(),[a[0]/2+o[3],a[1]/2+o[0]],e,i)}return{center:n.slice(0),projection:t!==void 0?t:null,resolution:e,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:i,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let t;const e=this.getResolution();return e!==void 0&&(t=this.getZoomForResolution(e)),t}getZoomForResolution(t){let e=this.minZoom_||0,i,n;if(this.resolutions_){const o=La(this.resolutions_,t,1);e=o,i=this.resolutions_[o],o==this.resolutions_.length-1?n=2:n=i/this.resolutions_[o+1]}else i=this.maxResolution_,n=this.zoomFactor_;return e+Math.log(i/t)/Math.log(n)}getResolutionForZoom(t){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const e=Rt(Math.floor(t),0,this.resolutions_.length-2),i=this.resolutions_[e]/this.resolutions_[e+1];return this.resolutions_[e]/Math.pow(i,Rt(t-e,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,t-this.minZoom_)}fit(t,e){let i;if(_t(Array.isArray(t)||typeof t.getSimplifiedGeometry=="function","Invalid extent or geometry provided as `geometry`"),Array.isArray(t)){_t(!Fs(t),"Cannot fit empty extent provided as `geometry`");const n=$i(t,this.getProjection());i=Au(n)}else if(t.getType()==="Circle"){const n=$i(t.getExtent(),this.getProjection());i=Au(n),i.rotate(this.getRotation(),Ki(n))}else i=t;this.fitInternal(i,e)}rotatedExtentForGeometry(t){const e=this.getRotation(),i=Math.cos(e),n=Math.sin(-e),o=t.getFlatCoordinates(),a=t.getStride();let h=1/0,c=1/0,d=-1/0,f=-1/0;for(let p=0,_=o.length;p<_;p+=a){const y=o[p]*i-o[p+1]*n,v=o[p]*n+o[p+1]*i;h=Math.min(h,y),c=Math.min(c,v),d=Math.max(d,y),f=Math.max(f,v)}return[h,c,d,f]}fitInternal(t,e){e=e||{};let i=e.size;i||(i=this.getViewportSizeMinusPadding_());const n=e.padding!==void 0?e.padding:[0,0,0,0],o=e.nearest!==void 0?e.nearest:!1;let a;e.minResolution!==void 0?a=e.minResolution:e.maxZoom!==void 0?a=this.getResolutionForZoom(e.maxZoom):a=0;const h=this.rotatedExtentForGeometry(t);let c=this.getResolutionForExtentInternal(h,[i[0]-n[1]-n[3],i[1]-n[0]-n[2]]);c=isNaN(c)?a:Math.max(c,a),c=this.getConstrainedResolution(c,o?0:1);const d=this.getRotation(),f=Math.sin(d),p=Math.cos(d),_=Ki(h);_[0]+=(n[1]-n[3])/2*c,_[1]+=(n[0]-n[2])/2*c;const y=_[0]*p-_[1]*f,v=_[1]*p+_[0]*f,A=this.getConstrainedCenter([y,v],c),b=e.callback?e.callback:wn;e.duration!==void 0?this.animateInternal({resolution:c,center:A,duration:e.duration,easing:e.easing},b):(this.targetResolution_=c,this.targetCenter_=A,this.applyTargetState_(!1,!0),Vs(b,!0))}centerOn(t,e,i){this.centerOnInternal(ii(t,this.getProjection()),e,i)}centerOnInternal(t,e,i){this.setCenterInternal(el(t,e,i,this.getResolution(),this.getRotation()))}calculateCenterShift(t,e,i,n){let o;const a=this.padding_;if(a&&t){const h=this.getViewportSizeMinusPadding_(-i),c=el(t,n,[h[0]/2+a[3],h[1]/2+a[0]],e,i);o=[t[0]-c[0],t[1]-c[1]]}return o}isDef(){return!!this.getCenterInternal()&&this.getResolution()!==void 0}adjustCenter(t){const e=Na(this.targetCenter_,this.getProjection());this.setCenter([e[0]+t[0],e[1]+t[1]])}adjustCenterInternal(t){const e=this.targetCenter_;this.setCenterInternal([e[0]+t[0],e[1]+t[1]])}adjustResolution(t,e){e=e&&ii(e,this.getProjection()),this.adjustResolutionInternal(t,e)}adjustResolutionInternal(t,e){const i=this.getAnimating()||this.getInteracting(),n=this.getViewportSize_(this.getRotation()),o=this.constraints_.resolution(this.targetResolution_*t,0,n,i);e&&(this.targetCenter_=this.calculateCenterZoom(o,e)),this.targetResolution_*=t,this.applyTargetState_()}adjustZoom(t,e){this.adjustResolution(Math.pow(this.zoomFactor_,-t),e)}adjustRotation(t,e){e&&(e=ii(e,this.getProjection())),this.adjustRotationInternal(t,e)}adjustRotationInternal(t,e){const i=this.getAnimating()||this.getInteracting(),n=this.constraints_.rotation(this.targetRotation_+t,i);e&&(this.targetCenter_=this.calculateCenterRotate(n,e)),this.targetRotation_+=t,this.applyTargetState_()}setCenter(t){this.setCenterInternal(t&&ii(t,this.getProjection()))}setCenterInternal(t){this.targetCenter_=t,this.applyTargetState_()}setHint(t,e){return this.hints_[t]+=e,this.changed(),this.hints_[t]}setResolution(t){this.targetResolution_=t,this.applyTargetState_()}setRotation(t){this.targetRotation_=t,this.applyTargetState_()}setZoom(t){this.setResolution(this.getResolutionForZoom(t))}applyTargetState_(t,e){const i=this.getAnimating()||this.getInteracting()||e,n=this.constraints_.rotation(this.targetRotation_,i),o=this.getViewportSize_(n),a=this.constraints_.resolution(this.targetResolution_,0,o,i),h=this.constraints_.center(this.targetCenter_,a,o,i,this.calculateCenterShift(this.targetCenter_,a,n,o));this.get(Le.ROTATION)!==n&&this.set(Le.ROTATION,n),this.get(Le.RESOLUTION)!==a&&(this.set(Le.RESOLUTION,a),this.set("zoom",this.getZoom(),!0)),(!h||!this.get(Le.CENTER)||!Gs(this.get(Le.CENTER),h))&&this.set(Le.CENTER,h),this.getAnimating()&&!t&&this.cancelAnimations(),this.cancelAnchor_=void 0}resolveConstraints(t,e,i){t=t!==void 0?t:200;const n=e||0,o=this.constraints_.rotation(this.targetRotation_),a=this.getViewportSize_(o),h=this.constraints_.resolution(this.targetResolution_,n,a),c=this.constraints_.center(this.targetCenter_,h,a,!1,this.calculateCenterShift(this.targetCenter_,h,o,a));if(t===0&&!this.cancelAnchor_){this.targetResolution_=h,this.targetRotation_=o,this.targetCenter_=c,this.applyTargetState_();return}i=i||(t===0?this.cancelAnchor_:void 0),this.cancelAnchor_=void 0,(this.getResolution()!==h||this.getRotation()!==o||!this.getCenterInternal()||!Gs(this.getCenterInternal(),c))&&(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:o,center:c,resolution:h,duration:t,easing:Dn,anchor:i}))}beginInteraction(){this.resolveConstraints(0),this.setHint(Ut.INTERACTING,1)}endInteraction(t,e,i){i=i&&ii(i,this.getProjection()),this.endInteractionInternal(t,e,i)}endInteractionInternal(t,e,i){this.getInteracting()&&(this.setHint(Ut.INTERACTING,-1),this.resolveConstraints(t,e,i))}getConstrainedCenter(t,e){const i=this.getViewportSize_(this.getRotation());return this.constraints_.center(t,e||this.getResolution(),i)}getConstrainedZoom(t,e){const i=this.getResolutionForZoom(t);return this.getZoomForResolution(this.getConstrainedResolution(i,e))}getConstrainedResolution(t,e){e=e||0;const i=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(t,e,i)}}function Vs(r,t){setTimeout(function(){r(t)},0)}function J_(r){if(r.extent!==void 0){const e=r.smoothExtentConstraint!==void 0?r.smoothExtentConstraint:!0;return Zc(r.extent,r.constrainOnlyCenter,e)}const t=za(r.projection,"EPSG:3857");if(r.multiWorld!==!0&&t.isGlobal()){const e=t.getExtent().slice();return e[0]=-1/0,e[2]=1/0,Zc(e,!1,!1)}return p_}function $_(r){let t,e,i,a=r.minZoom!==void 0?r.minZoom:tl,h=r.maxZoom!==void 0?r.maxZoom:28;const c=r.zoomFactor!==void 0?r.zoomFactor:2,d=r.multiWorld!==void 0?r.multiWorld:!1,f=r.smoothResolutionConstraint!==void 0?r.smoothResolutionConstraint:!0,p=r.showFullExtent!==void 0?r.showFullExtent:!1,_=za(r.projection,"EPSG:3857"),y=_.getExtent();let v=r.constrainOnlyCenter,A=r.extent;if(!d&&!A&&_.isGlobal()&&(v=!1,A=y),r.resolutions!==void 0){const b=r.resolutions;e=b[a],i=b[h]!==void 0?b[h]:b[b.length-1],r.constrainResolution?t=m_(b,f,!v&&A,p):t=Vc(e,i,f,!v&&A,p)}else{const M=(y?Math.max(Lt(y),Fe(y)):360*mr.degrees/_.getMetersPerUnit())/ba/Math.pow(2,tl),w=M/Math.pow(2,28-tl);e=r.maxResolution,e!==void 0?a=0:e=M/Math.pow(c,a),i=r.minResolution,i===void 0&&(r.maxZoom!==void 0?r.maxResolution!==void 0?i=e/Math.pow(c,h):i=M/Math.pow(c,h):i=w),h=a+Math.floor(Math.log(e/i)/Math.log(c)),i=e/Math.pow(c,h-a),r.constrainResolution?t=__(c,e,i,f,!v&&A,p):t=Vc(e,i,f,!v&&A,p)}return{constraint:t,maxResolution:e,minResolution:i,minZoom:a,zoomFactor:c}}function ty(r){if(r.enableRotation!==void 0?r.enableRotation:!0){const e=r.constrainRotation;return e===void 0||e===!0?v_():e===!1?Kc:typeof e=="number"?y_(e):Kc}return ja}function ey(r){return!(r.sourceCenter&&r.targetCenter&&!Gs(r.sourceCenter,r.targetCenter)||r.sourceResolution!==r.targetResolution||r.sourceRotation!==r.targetRotation)}function el(r,t,e,i,n){const o=Math.cos(-n);let a=Math.sin(-n),h=r[0]*o-r[1]*a,c=r[1]*o+r[0]*a;h+=(t[0]/2-e[0])*i,c+=(e[1]-t[1]/2)*i,a=-a;const d=h*o-c*a,f=c*o+h*a;return[d,f]}const Be=q_,oe={ADD:"add",REMOVE:"remove"},wu={LENGTH:"length"};class Ks extends $e{constructor(t,e,i){super(t),this.element=e,this.index=i}}class iy extends Ce{constructor(t,e){if(super(),this.on,this.once,this.un,e=e||{},this.unique_=!!e.unique,this.array_=t||[],this.unique_)for(let i=0,n=this.array_.length;i<n;++i)this.assertUnique_(this.array_[i],i);this.updateLength_()}clear(){for(;this.getLength()>0;)this.pop()}extend(t){for(let e=0,i=t.length;e<i;++e)this.push(t[e]);return this}forEach(t){const e=this.array_;for(let i=0,n=e.length;i<n;++i)t(e[i],i,e)}getArray(){return this.array_}item(t){return this.array_[t]}getLength(){return this.get(wu.LENGTH)}insertAt(t,e){if(t<0||t>this.getLength())throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new Ks(oe.ADD,e,t))}pop(){return this.removeAt(this.getLength()-1)}push(t){this.unique_&&this.assertUnique_(t);const e=this.getLength();return this.insertAt(e,t),this.getLength()}remove(t){const e=this.array_;for(let i=0,n=e.length;i<n;++i)if(e[i]===t)return this.removeAt(i)}removeAt(t){if(t<0||t>=this.getLength())return;const e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new Ks(oe.REMOVE,e,t)),e}setAt(t,e){const i=this.getLength();if(t>=i){this.insertAt(t,e);return}if(t<0)throw new Error("Index out of bounds: "+t);this.unique_&&this.assertUnique_(e,t);const n=this.array_[t];this.array_[t]=e,this.dispatchEvent(new Ks(oe.REMOVE,n,t)),this.dispatchEvent(new Ks(oe.ADD,e,t))}updateLength_(){this.set(wu.LENGTH,this.array_.length)}assertUnique_(t,e){for(let i=0,n=this.array_.length;i<n;++i)if(this.array_[i]===t&&i!==e)throw new Error("Duplicate item added to a unique collection")}}const Ne=iy,ny=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,ry=/^([a-z]*)$|^hsla?\(.*\)$/i;function Eu(r){return typeof r=="string"?r:Lu(r)}function sy(r){const t=document.createElement("div");if(t.style.color=r,t.style.color!==""){document.body.appendChild(t);const e=getComputedStyle(t).color;return document.body.removeChild(t),e}return""}const oy=function(){const t={};let e=0;return function(i){let n;if(t.hasOwnProperty(i))n=t[i];else{if(e>=1024){let o=0;for(const a in t)o++&3||(delete t[a],--e)}n=ay(i),t[i]=n,++e}return n}}();function Er(r){return Array.isArray(r)?r:oy(r)}function ay(r){let t,e,i,n,o;if(ry.exec(r)&&(r=sy(r)),ny.exec(r)){const a=r.length-1;let h;a<=4?h=1:h=2;const c=a===4||a===8;t=parseInt(r.substr(1+0*h,h),16),e=parseInt(r.substr(1+1*h,h),16),i=parseInt(r.substr(1+2*h,h),16),c?n=parseInt(r.substr(1+3*h,h),16):n=255,h==1&&(t=(t<<4)+t,e=(e<<4)+e,i=(i<<4)+i,c&&(n=(n<<4)+n)),o=[t,e,i,n/255]}else if(r.startsWith("rgba("))o=r.slice(5,-1).split(",").map(Number),Cu(o);else if(r.startsWith("rgb("))o=r.slice(4,-1).split(",").map(Number),o.push(1),Cu(o);else throw new Error("Invalid color");return o}function Cu(r){return r[0]=Rt(r[0]+.5|0,0,255),r[1]=Rt(r[1]+.5|0,0,255),r[2]=Rt(r[2]+.5|0,0,255),r[3]=Rt(r[3],0,1),r}function Lu(r){let t=r[0];t!=(t|0)&&(t=t+.5|0);let e=r[1];e!=(e|0)&&(e=e+.5|0);let i=r[2];i!=(i|0)&&(i=i+.5|0);const n=r[3]===void 0?1:Math.round(r[3]*100)/100;return"rgba("+t+","+e+","+i+","+n+")"}class ly{constructor(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let t=0;for(const e in this.cache_){const i=this.cache_[e];!(t++&3)&&!i.hasListener()&&(delete this.cache_[e],--this.cacheSize_)}}}get(t,e,i){const n=bu(t,e,i);return n in this.cache_?this.cache_[n]:null}set(t,e,i,n){const o=bu(t,e,i);this.cache_[o]=n,++this.cacheSize_}setSize(t){this.maxCacheSize_=t,this.expire()}}function bu(r,t,e){const i=e?Eu(e):"null";return t+":"+r+":"+i}const Qs=new ly,At={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"};class hy extends Ce{constructor(t){super(),this.on,this.once,this.un,this.background_=t.background;const e=Object.assign({},t);typeof t.properties=="object"&&(delete e.properties,Object.assign(e,t.properties)),e[At.OPACITY]=t.opacity!==void 0?t.opacity:1,_t(typeof e[At.OPACITY]=="number","Layer opacity must be a number"),e[At.VISIBLE]=t.visible!==void 0?t.visible:!0,e[At.Z_INDEX]=t.zIndex,e[At.MAX_RESOLUTION]=t.maxResolution!==void 0?t.maxResolution:1/0,e[At.MIN_RESOLUTION]=t.minResolution!==void 0?t.minResolution:0,e[At.MIN_ZOOM]=t.minZoom!==void 0?t.minZoom:-1/0,e[At.MAX_ZOOM]=t.maxZoom!==void 0?t.maxZoom:1/0,this.className_=e.className!==void 0?e.className:"ol-layer",delete e.className,this.setProperties(e),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(t){const e=this.state_||{layer:this,managed:t===void 0?!0:t},i=this.getZIndex();return e.opacity=Rt(Math.round(this.getOpacity()*100)/100,0,1),e.visible=this.getVisible(),e.extent=this.getExtent(),e.zIndex=i===void 0&&!e.managed?1/0:i,e.maxResolution=this.getMaxResolution(),e.minResolution=Math.max(this.getMinResolution(),0),e.minZoom=this.getMinZoom(),e.maxZoom=this.getMaxZoom(),this.state_=e,e}getLayersArray(t){return at()}getLayerStatesArray(t){return at()}getExtent(){return this.get(At.EXTENT)}getMaxResolution(){return this.get(At.MAX_RESOLUTION)}getMinResolution(){return this.get(At.MIN_RESOLUTION)}getMinZoom(){return this.get(At.MIN_ZOOM)}getMaxZoom(){return this.get(At.MAX_ZOOM)}getOpacity(){return this.get(At.OPACITY)}getSourceState(){return at()}getVisible(){return this.get(At.VISIBLE)}getZIndex(){return this.get(At.Z_INDEX)}setBackground(t){this.background_=t,this.changed()}setExtent(t){this.set(At.EXTENT,t)}setMaxResolution(t){this.set(At.MAX_RESOLUTION,t)}setMinResolution(t){this.set(At.MIN_RESOLUTION,t)}setMaxZoom(t){this.set(At.MAX_ZOOM,t)}setMinZoom(t){this.set(At.MIN_ZOOM,t)}setOpacity(t){_t(typeof t=="number","Layer opacity must be a number"),this.set(At.OPACITY,t)}setVisible(t){this.set(At.VISIBLE,t)}setZIndex(t){this.set(At.Z_INDEX,t)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}const Tu=hy,Qt={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"};class cy extends Tu{constructor(t){const e=Object.assign({},t);delete e.source,super(e),this.on,this.once,this.un,this.mapPrecomposeKey_=null,this.mapRenderKey_=null,this.sourceChangeKey_=null,this.renderer_=null,this.sourceReady_=!1,this.rendered=!1,t.render&&(this.render=t.render),t.map&&this.setMap(t.map),this.addChangeListener(At.SOURCE,this.handleSourcePropertyChange_);const i=t.source?t.source:null;this.setSource(i)}getLayersArray(t){return t=t||[],t.push(this),t}getLayerStatesArray(t){return t=t||[],t.push(this.getLayerState()),t}getSource(){return this.get(At.SOURCE)||null}getRenderSource(){return this.getSource()}getSourceState(){const t=this.getSource();return t?t.getState():"undefined"}handleSourceChange_(){this.changed(),!(this.sourceReady_||this.getSource().getState()!=="ready")&&(this.sourceReady_=!0,this.dispatchEvent("sourceready"))}handleSourcePropertyChange_(){this.sourceChangeKey_&&(Et(this.sourceChangeKey_),this.sourceChangeKey_=null),this.sourceReady_=!1;const t=this.getSource();t&&(this.sourceChangeKey_=ft(t,ht.CHANGE,this.handleSourceChange_,this),t.getState()==="ready"&&(this.sourceReady_=!0,setTimeout(()=>{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(t){return this.renderer_?this.renderer_.getFeatures(t):Promise.resolve([])}getData(t){return!this.renderer_||!this.rendered?null:this.renderer_.getData(t)}isVisible(t){let e;const i=this.getMapInternal();!t&&i&&(t=i.getView()),t instanceof Be?e={viewState:t.getState(),extent:t.calculateExtent()}:e=t,!e.layerStatesArray&&i&&(e.layerStatesArray=i.getLayerGroup().getLayerStatesArray());let n;e.layerStatesArray?n=e.layerStatesArray.find(a=>a.layer===this):n=this.getLayerState();const o=this.getExtent();return il(n,e.viewState)&&(!o||se(o,e.extent))}getAttributions(t){if(!this.isVisible(t))return[];let e;const i=this.getSource();if(i&&(e=i.getAttributions()),!e)return[];const n=t instanceof Be?t.getViewStateAndExtent():t;let o=e(n);return Array.isArray(o)||(o=[o]),o}render(t,e){const i=this.getRenderer();return i.prepareFrame(t)?(this.rendered=!0,i.renderFrame(t,e)):null}unrender(){this.rendered=!1}setMapInternal(t){t||this.unrender(),this.set(At.MAP,t)}getMapInternal(){return this.get(At.MAP)}setMap(t){this.mapPrecomposeKey_&&(Et(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Et(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=ft(t,Qt.PRECOMPOSE,function(e){const n=e.frameState.layerStatesArray,o=this.getLayerState(!1);_t(!n.some(function(a){return a.layer===o.layer}),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),n.push(o)},this),this.mapRenderKey_=ft(this,ht.CHANGE,t.render,t),this.changed())}setSource(t){this.set(At.SOURCE,t)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}}function il(r,t){if(!r.visible)return!1;const e=t.resolution;if(e<r.minResolution||e>=r.maxResolution)return!1;const i=t.zoom;return i>r.minZoom&&i<=r.maxZoom}const qs=cy;class uy extends Cs{constructor(t){super(),this.map_=t}dispatchRenderEvent(t,e){at()}calculateMatrices2D(t){const e=t.viewState,i=t.coordinateToPixelTransform,n=t.pixelToCoordinateTransform;ze(i,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),js(n,i)}forEachFeatureAtCoordinate(t,e,i,n,o,a,h,c){let d;const f=e.viewState;function p(C,P,D,k){return o.call(a,P,C?D:null,k)}const _=f.projection,y=Fc(t.slice(),_),v=[[0,0]];if(_.canWrapX()&&n){const C=_.getExtent(),P=Lt(C);v.push([-P,0],[P,0])}const A=e.layerStatesArray,b=A.length,M=[],w=[];for(let C=0;C<v.length;C++)for(let P=b-1;P>=0;--P){const D=A[P],k=D.layer;if(k.hasRenderer()&&il(D,f)&&h.call(c,k)){const R=k.getRenderer(),F=k.getSource();if(R&&F){const j=F.getWrapX()?y:t,G=p.bind(null,D.managed);w[0]=j[0]+v[C][0],w[1]=j[1]+v[C][1],d=R.forEachFeatureAtCoordinate(w,e,i,G,M)}if(d)return d}}if(M.length===0)return;const E=1/M.length;return M.forEach((C,P)=>C.distanceSq+=P*E),M.sort((C,P)=>C.distanceSq-P.distanceSq),M.some(C=>d=C.callback(C.feature,C.layer,C.geometry)),d}hasFeatureAtCoordinate(t,e,i,n,o,a){return this.forEachFeatureAtCoordinate(t,e,i,n,pr,this,o,a)!==void 0}getMap(){return this.map_}renderFrame(t){at()}flushDeclutterItems(t){}scheduleExpireIconCache(t){Qs.canExpireCache()&&t.postRenderFunctions.push(dy)}}function dy(r,t){Qs.expire()}const fy=uy;class gy extends $e{constructor(t,e,i,n){super(t),this.inversePixelTransform=e,this.frameState=i,this.context=n}}const Cr=gy,Js="ol-hidden",py="ol-selectable",Lr="ol-unselectable",Mu="ol-unsupported",$s="ol-control",Pu="ol-collapsed",my=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"),Du=["style","variant","weight","size","lineHeight","family"],Su=function(r){const t=r.match(my);if(!t)return null;const e={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let i=0,n=Du.length;i<n;++i){const o=t[i+1];o!==void 0&&(e[Du[i]]=o)}return e.families=e.family.split(/,\s?/),e};function qt(r,t,e,i){let n;return e&&e.length?n=e.shift():Ha?n=new OffscreenCanvas(r||300,t||300):n=document.createElement("canvas"),r&&(n.width=r),t&&(n.height=t),n.getContext("2d",i)}function to(r){const t=r.canvas;t.width=1,t.height=1,r.clearRect(0,0,1,1)}function _y(r){let t=r.offsetWidth;const e=getComputedStyle(r);return t+=parseInt(e.marginLeft,10)+parseInt(e.marginRight,10),t}function yy(r){let t=r.offsetHeight;const e=getComputedStyle(r);return t+=parseInt(e.marginTop,10)+parseInt(e.marginBottom,10),t}function eo(r,t){const e=t.parentNode;e&&e.replaceChild(r,t)}function io(r){return r&&r.parentNode?r.parentNode.removeChild(r):null}function Ru(r){for(;r.lastChild;)r.removeChild(r.lastChild)}function vy(r,t){const e=r.childNodes;for(let i=0;;++i){const n=e[i],o=t[i];if(!n&&!o)break;if(n!==o){if(!n){r.appendChild(o);continue}if(!o){r.removeChild(n),--i;continue}r.insertBefore(o,n)}}}const Iu="10px sans-serif",ae="#000",Sn="round",ni=[],ri=0,Rn="round",br=10,Tr="#000",Mr="center",no="middle",sn=[0,0,0,0],Pr=1,si=new Ce;let In=null,nl;const rl={},xy=function(){const t="32px ",e=["monospace","serif"],i=e.length,n="wmytzilWMYTZIL@#/&?$%10";let o,a;function h(d,f,p){let _=!0;for(let y=0;y<i;++y){const v=e[y];if(a=ro(d+" "+f+" "+t+v,n),p!=v){const A=ro(d+" "+f+" "+t+p+","+v,n);_=_&&A!=a}}return!!_}function c(){let d=!0;const f=si.getKeys();for(let p=0,_=f.length;p<_;++p){const y=f[p];si.get(y)<100&&(h.apply(this,y.split(`
21
+ `))?(En(rl),In=null,nl=void 0,si.set(y,100)):(si.set(y,si.get(y)+1,!0),d=!1))}d&&(clearInterval(o),o=void 0)}return function(d){const f=Su(d);if(!f)return;const p=f.families;for(let _=0,y=p.length;_<y;++_){const v=p[_],A=f.style+`
20
22
  `+f.weight+`
21
- `+v;di.get(A)===void 0&&(di.set(A,100,!0),h(f.style,f.weight,v)||(di.set(A,0,!0),s===void 0&&(s=setInterval(c,32))))}}}(),Ny=function(){let r;return function(t){let e=bl[t];if(e==null){if(sl){const i=ed(t),n=rd(t,"Žg");e=(isNaN(Number(i.lineHeight))?1.2:Number(i.lineHeight))*(n.actualBoundingBoxAscent+n.actualBoundingBoxDescent)}else r||(r=document.createElement("div"),r.innerHTML="M",r.style.minHeight="0",r.style.maxHeight="none",r.style.height="auto",r.style.padding="0",r.style.border="none",r.style.position="absolute",r.style.display="block",r.style.left="-99999px"),r.style.font=t,document.body.appendChild(r),e=r.offsetHeight,document.body.removeChild(r);bl[t]=e}return e}}();function rd(r,t){return Hn||(Hn=ee(1,1)),r!=Ll&&(Hn.font=r,Ll=Hn.font),Hn.measureText(t)}function wo(r,t){return rd(r,t).width}function sd(r,t,e){if(t in e)return e[t];const i=t.split(`
22
- `).reduce((n,s)=>Math.max(n,wo(r,s)),0);return e[t]=i,i}function Gy(r,t){const e=[],i=[],n=[];let s=0,a=0,h=0,c=0;for(let d=0,f=t.length;d<=f;d+=2){const p=t[d];if(p===`
23
- `||d===f){s=Math.max(s,a),n.push(a),a=0,h+=c;continue}const m=t[d+1]||r.font,y=wo(m,p);e.push(y),a+=y;const v=Ny(m);i.push(v),c=Math.max(c,v)}return{width:s,height:h,widths:e,heights:i,lineWidths:n}}function Uy(r,t,e,i,n,s,a,h,c,d,f){r.save(),e!==1&&(r.globalAlpha*=e),t&&r.transform.apply(r,t),i.contextInstructions?(r.translate(c,d),r.scale(f[0],f[1]),jy(i,r)):f[0]<0||f[1]<0?(r.translate(c,d),r.scale(f[0],f[1]),r.drawImage(i,n,s,a,h,0,0,a,h)):r.drawImage(i,n,s,a,h,c,d,a*f[0],h*f[1]),r.restore()}function jy(r,t){const e=r.contextInstructions;for(let i=0,n=e.length;i<n;i+=2)Array.isArray(e[i+1])?t[e[i]].apply(t,e[i+1]):t[e[i]]=e[i+1]}class Hy extends Iy{constructor(t){super(t),this.fontChangeListenerKey_=mt(di,Sn.PROPERTYCHANGE,t.redrawText.bind(t)),this.element_=document.createElement("div");const e=this.element_.style;e.position="absolute",e.width="100%",e.height="100%",e.zIndex="0",this.element_.className=Br+" ol-layers";const i=t.getViewport();i.insertBefore(this.element_,i.firstChild||null),this.children_=[],this.renderedVisible_=!0,this.declutterLayers_=[]}dispatchRenderEvent(t,e){const i=this.getMap();if(i.hasListener(t)){const n=new zr(t,void 0,e);i.dispatchEvent(n)}}disposeInternal(){bt(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(t){if(!t){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(t),this.dispatchRenderEvent(te.PRECOMPOSE,t);const e=t.layerStatesArray.sort(function(a,h){return a.zIndex-h.zIndex}),i=t.viewState;this.children_.length=0;const n=this.declutterLayers_;n.length=0;let s=null;for(let a=0,h=e.length;a<h;++a){const c=e[a];t.layerIndex=a;const d=c.layer,f=d.getSourceState();if(!Cl(c,i)||f!="ready"&&f!="undefined"){d.unrender();continue}const p=d.render(t,s);p&&(p!==s&&(this.children_.push(p),s=p),"getDeclutter"in d&&n.push(d))}this.flushDeclutterItems(t),zy(this.element_,this.children_),this.dispatchRenderEvent(te.POSTCOMPOSE,t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)}flushDeclutterItems(t){const e=this.declutterLayers_;for(let i=e.length-1;i>=0;--i)e[i].renderDeclutter(t);e.length=0}}const Wy=Hy;class Fi extends ai{constructor(t,e){super(t),this.layer=e}}const Tl={LAYERS:"layers"};class Ml extends qu{constructor(t){t=t||{};const e=Object.assign({},t);delete e.layers;let i=t.layers;super(e),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(Tl.LAYERS,this.handleLayersChanged_),i?Array.isArray(i)?i=new Ze(i.slice(),{unique:!0}):vt(typeof i.getArray=="function","Expected `layers` to be an array or a `Collection`"):i=new Ze(void 0,{unique:!0}),this.setLayers(i)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(bt),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(mt(t,ue.ADD,this.handleLayersAdd_,this),mt(t,ue.REMOVE,this.handleLayersRemove_,this));for(const i in this.listenerKeys_)this.listenerKeys_[i].forEach(bt);kn(this.listenerKeys_);const e=t.getArray();for(let i=0,n=e.length;i<n;i++){const s=e[i];this.registerLayerListeners_(s),this.dispatchEvent(new Fi("addlayer",s))}this.changed()}registerLayerListeners_(t){const e=[mt(t,Sn.PROPERTYCHANGE,this.handleLayerChange_,this),mt(t,ut.CHANGE,this.handleLayerChange_,this)];t instanceof Ml&&e.push(mt(t,"addlayer",this.handleLayerGroupAdd_,this),mt(t,"removelayer",this.handleLayerGroupRemove_,this)),this.listenerKeys_[gt(t)]=e}handleLayerGroupAdd_(t){this.dispatchEvent(new Fi("addlayer",t.layer))}handleLayerGroupRemove_(t){this.dispatchEvent(new Fi("removelayer",t.layer))}handleLayersAdd_(t){const e=t.element;this.registerLayerListeners_(e),this.dispatchEvent(new Fi("addlayer",e)),this.changed()}handleLayersRemove_(t){const e=t.element,i=gt(e);this.listenerKeys_[i].forEach(bt),delete this.listenerKeys_[i],this.dispatchEvent(new Fi("removelayer",e)),this.changed()}getLayers(){return this.get(Tl.LAYERS)}setLayers(t){const e=this.getLayers();if(e){const i=e.getArray();for(let n=0,s=i.length;n<s;++n)this.dispatchEvent(new Fi("removelayer",i[n]))}this.set(Tl.LAYERS,t)}getLayersArray(t){return t=t!==void 0?t:[],this.getLayers().forEach(function(e){e.getLayersArray(t)}),t}getLayerStatesArray(t){const e=t!==void 0?t:[],i=e.length;this.getLayers().forEach(function(a){a.getLayerStatesArray(e)});const n=this.getLayerState();let s=n.zIndex;!t&&n.zIndex===void 0&&(s=0);for(let a=i,h=e.length;a<h;a++){const c=e[a];c.opacity*=n.opacity,c.visible=c.visible&&n.visible,c.maxResolution=Math.min(c.maxResolution,n.maxResolution),c.minResolution=Math.max(c.minResolution,n.minResolution),c.minZoom=Math.max(c.minZoom,n.minZoom),c.maxZoom=Math.min(c.maxZoom,n.maxZoom),n.extent!==void 0&&(c.extent!==void 0?c.extent=Dr(c.extent,n.extent):c.extent=n.extent),c.zIndex===void 0&&(c.zIndex=s)}return e}getSourceState(){return"ready"}}const Eo=Ml;class Yy extends ai{constructor(t,e,i){super(t),this.map=e,this.frameState=i!==void 0?i:null}}const Wn=Yy;class Zy extends Wn{constructor(t,e,i,n,s,a){super(t,e,s),this.originalEvent=i,this.pixel_=null,this.coordinate_=null,this.dragging=n!==void 0?n:!1,this.activePointers=a}get pixel(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_}set pixel(t){this.pixel_=t}get coordinate(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_}set coordinate(t){this.coordinate_=t}preventDefault(){super.preventDefault(),"preventDefault"in this.originalEvent&&this.originalEvent.preventDefault()}stopPropagation(){super.stopPropagation(),"stopPropagation"in this.originalEvent&&this.originalEvent.stopPropagation()}}const zi=Zy,Rt={SINGLECLICK:"singleclick",CLICK:ut.CLICK,DBLCLICK:ut.DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"},Pl={POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"};class Xy extends Hs{constructor(t,e){super(t),this.map_=t,this.clickTimeoutId_,this.emulateClicks_=!1,this.dragging_=!1,this.dragListenerKeys_=[],this.moveTolerance_=e===void 0?1:e,this.down_=null;const i=this.map_.getViewport();this.activePointers_=[],this.trackedTouches_={},this.element_=i,this.pointerdownListenerKey_=mt(i,Pl.POINTERDOWN,this.handlePointerDown_,this),this.originalPointerMoveEvent_,this.relayedListenerKey_=mt(i,Pl.POINTERMOVE,this.relayMoveEvent_,this),this.boundHandleTouchMove_=this.handleTouchMove_.bind(this),this.element_.addEventListener(ut.TOUCHMOVE,this.boundHandleTouchMove_,Au?{passive:!1}:!1)}emulateClick_(t){let e=new zi(Rt.CLICK,this.map_,t);this.dispatchEvent(e),this.clickTimeoutId_!==void 0?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,e=new zi(Rt.DBLCLICK,this.map_,t),this.dispatchEvent(e)):this.clickTimeoutId_=setTimeout(()=>{this.clickTimeoutId_=void 0;const i=new zi(Rt.SINGLECLICK,this.map_,t);this.dispatchEvent(i)},250)}updateActivePointers_(t){const e=t,i=e.pointerId;if(e.type==Rt.POINTERUP||e.type==Rt.POINTERCANCEL){delete this.trackedTouches_[i];for(const n in this.trackedTouches_)if(this.trackedTouches_[n].target!==e.target){delete this.trackedTouches_[n];break}}else(e.type==Rt.POINTERDOWN||e.type==Rt.POINTERMOVE)&&(this.trackedTouches_[i]=e);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const e=new zi(Rt.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(e),this.emulateClicks_&&!e.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),this.activePointers_.length===0&&(this.dragListenerKeys_.forEach(bt),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return t.button===0}handlePointerDown_(t){this.emulateClicks_=this.activePointers_.length===0,this.updateActivePointers_(t);const e=new zi(Rt.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);if(this.dispatchEvent(e),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),this.dragListenerKeys_.length===0){const i=this.map_.getOwnerDocument();this.dragListenerKeys_.push(mt(i,Rt.POINTERMOVE,this.handlePointerMove_,this),mt(i,Rt.POINTERUP,this.handlePointerUp_,this),mt(this.element_,Rt.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==i&&this.dragListenerKeys_.push(mt(this.element_.getRootNode(),Rt.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const e=new zi(Rt.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(e)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const e=!!(this.down_&&this.isMoving_(t));this.dispatchEvent(new zi(Rt.POINTERMOVE,this.map_,t,e))}handleTouchMove_(t){const e=this.originalPointerMoveEvent_;(!e||e.defaultPrevented)&&(typeof t.cancelable!="boolean"||t.cancelable===!0)&&t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(bt(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(ut.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(bt(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(bt),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const Vy=Xy,fi={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},Zt={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},Co=1/0;class Ky{constructor(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,kn(this.queuedElements_)}dequeue(){const t=this.elements_,e=this.priorities_,i=t[0];t.length==1?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));const n=this.keyFunction_(i);return delete this.queuedElements_[n],i}enqueue(t){vt(!(this.keyFunction_(t)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const e=this.priorityFunction_(t);return e!=Co?(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1}getCount(){return this.elements_.length}getLeftChildIndex_(t){return t*2+1}getRightChildIndex_(t){return t*2+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return this.elements_.length===0}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const e=this.elements_,i=this.priorities_,n=e.length,s=e[t],a=i[t],h=t;for(;t<n>>1;){const c=this.getLeftChildIndex_(t),d=this.getRightChildIndex_(t),f=d<n&&i[d]<i[c]?d:c;e[t]=e[f],i[t]=i[f],t=f}e[t]=s,i[t]=a,this.siftDown_(h,t)}siftDown_(t,e){const i=this.elements_,n=this.priorities_,s=i[e],a=n[e];for(;e>t;){const h=this.getParentIndex_(e);if(n[h]>a)i[e]=i[h],n[e]=n[h],e=h;else break}i[e]=s,n[e]=a}reprioritize(){const t=this.priorityFunction_,e=this.elements_,i=this.priorities_;let n=0;const s=e.length;let a,h,c;for(h=0;h<s;++h)a=e[h],c=t(a),c==Co?delete this.queuedElements_[this.keyFunction_(a)]:(i[n]=c,e[n++]=a);e.length=n,i.length=n,this.heapify_()}}const Qy=Ky,it={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};class qy extends Qy{constructor(t,e){super(function(i){return t.apply(null,i)},function(i){return i[0].getKey()}),this.boundHandleTileChange_=this.handleTileChange.bind(this),this.tileChangeCallback_=e,this.tilesLoading_=0,this.tilesLoadingKeys_={}}enqueue(t){const e=super.enqueue(t);return e&&t[0].addEventListener(ut.CHANGE,this.boundHandleTileChange_),e}getTilesLoading(){return this.tilesLoading_}handleTileChange(t){const e=t.target,i=e.getState();if(i===it.LOADED||i===it.ERROR||i===it.EMPTY){i!==it.ERROR&&e.removeEventListener(ut.CHANGE,this.boundHandleTileChange_);const n=e.getKey();n in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[n],--this.tilesLoading_),this.tileChangeCallback_()}}loadMoreTiles(t,e){let i=0,n,s,a;for(;this.tilesLoading_<t&&i<e&&this.getCount()>0;)s=this.dequeue()[0],a=s.getKey(),n=s.getState(),n===it.IDLE&&!(a in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[a]=!0,++this.tilesLoading_,++i,s.load())}}const Jy=qy;function $y(r,t,e,i,n){if(!r||!(e in r.wantedTiles)||!r.wantedTiles[e][t.getKey()])return Co;const s=r.viewState.center,a=i[0]-s[0],h=i[1]-s[1];return 65536*Math.log(n)+Math.sqrt(a*a+h*h)/n}class tv extends Ie{constructor(t){super();const e=t.element;e&&!t.target&&!e.style.pointerEvents&&(e.style.pointerEvents="auto"),this.element=e||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){xo(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&xo(this.element);for(let e=0,i=this.listenerKeys.length;e<i;++e)bt(this.listenerKeys[e]);this.listenerKeys.length=0,this.map_=t,t&&((this.target_?this.target_:t.getOverlayContainerStopEvent()).appendChild(this.element),this.render!==Rn&&this.listenerKeys.push(mt(t,fi.POSTRENDER,this.render,this)),t.render())}render(t){}setTarget(t){this.target_=typeof t=="string"?document.getElementById(t):t}}const Lo=tv;class ev extends Lo{constructor(t){t=t||{},super({element:document.createElement("div"),render:t.render,target:t.target}),this.ulElement_=document.createElement("ul"),this.collapsed_=t.collapsed!==void 0?t.collapsed:!0,this.userCollapsed_=this.collapsed_,this.overrideCollapsible_=t.collapsible!==void 0,this.collapsible_=t.collapsible!==void 0?t.collapsible:!0,this.collapsible_||(this.collapsed_=!1);const e=t.className!==void 0?t.className:"ol-attribution",i=t.tipLabel!==void 0?t.tipLabel:"Attributions",n=t.expandClassName!==void 0?t.expandClassName:e+"-expand",s=t.collapseLabel!==void 0?t.collapseLabel:"›",a=t.collapseClassName!==void 0?t.collapseClassName:e+"-collapse";typeof s=="string"?(this.collapseLabel_=document.createElement("span"),this.collapseLabel_.textContent=s,this.collapseLabel_.className=a):this.collapseLabel_=s;const h=t.label!==void 0?t.label:"i";typeof h=="string"?(this.label_=document.createElement("span"),this.label_.textContent=h,this.label_.className=n):this.label_=h;const c=this.collapsible_&&!this.collapsed_?this.collapseLabel_:this.label_;this.toggleButton_=document.createElement("button"),this.toggleButton_.setAttribute("type","button"),this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_)),this.toggleButton_.title=i,this.toggleButton_.appendChild(c),this.toggleButton_.addEventListener(ut.CLICK,this.handleClick_.bind(this),!1);const d=e+" "+Br+" "+_o+(this.collapsed_&&this.collapsible_?" "+$u:"")+(this.collapsible_?"":" ol-uncollapsible"),f=this.element;f.className=d,f.appendChild(this.toggleButton_),f.appendChild(this.ulElement_),this.renderedAttributions_=[],this.renderedVisible_=!0}collectSourceAttributions_(t){const e=Array.from(new Set(this.getMap().getAllLayers().flatMap(n=>n.getAttributions(t)))),i=!this.getMap().getAllLayers().some(n=>n.getSource()&&n.getSource().getAttributionsCollapsible()===!1);return this.overrideCollapsible_||this.setCollapsible(i),e}updateElement_(t){if(!t){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const e=this.collectSourceAttributions_(t),i=e.length>0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!li(e,this.renderedAttributions_)){id(this.ulElement_);for(let n=0,s=e.length;n<s;++n){const a=document.createElement("li");a.innerHTML=e[n],this.ulElement_.appendChild(a)}this.renderedAttributions_=e}}handleClick_(t){t.preventDefault(),this.handleToggle_(),this.userCollapsed_=this.collapsed_}handleToggle_(){this.element.classList.toggle($u),this.collapsed_?vo(this.collapseLabel_,this.label_):vo(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_,this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_))}getCollapsible(){return this.collapsible_}setCollapsible(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),this.userCollapsed_&&this.handleToggle_())}setCollapsed(t){this.userCollapsed_=t,!(!this.collapsible_||this.collapsed_===t)&&this.handleToggle_()}getCollapsed(){return this.collapsed_}render(t){this.updateElement_(t.frameState)}}const od=ev;class iv extends Lo{constructor(t){t=t||{},super({element:document.createElement("div"),render:t.render,target:t.target});const e=t.className!==void 0?t.className:"ol-rotate",i=t.label!==void 0?t.label:"⇧",n=t.compassClassName!==void 0?t.compassClassName:"ol-compass";this.label_=null,typeof i=="string"?(this.label_=document.createElement("span"),this.label_.className=n,this.label_.textContent=i):(this.label_=i,this.label_.classList.add(n));const s=t.tipLabel?t.tipLabel:"Reset rotation",a=document.createElement("button");a.className=e+"-reset",a.setAttribute("type","button"),a.title=s,a.appendChild(this.label_),a.addEventListener(ut.CLICK,this.handleClick_.bind(this),!1);const h=e+" "+Br+" "+_o,c=this.element;c.className=h,c.appendChild(a),this.callResetNorth_=t.resetNorth?t.resetNorth:void 0,this.duration_=t.duration!==void 0?t.duration:250,this.autoHide_=t.autoHide!==void 0?t.autoHide:!0,this.rotation_=void 0,this.autoHide_&&this.element.classList.add(mo)}handleClick_(t){t.preventDefault(),this.callResetNorth_!==void 0?this.callResetNorth_():this.resetNorth_()}resetNorth_(){const e=this.getMap().getView();if(!e)return;const i=e.getRotation();i!==void 0&&(this.duration_>0&&i%(2*Math.PI)!==0?e.animate({rotation:0,duration:this.duration_,easing:Gn}):e.setRotation(0))}render(t){const e=t.frameState;if(!e)return;const i=e.viewState.rotation;if(i!=this.rotation_){const n="rotate("+i+"rad)";if(this.autoHide_){const s=this.element.classList.contains(mo);!s&&i===0?this.element.classList.add(mo):s&&i!==0&&this.element.classList.remove(mo)}this.label_.style.transform=n}this.rotation_=i}}const nv=iv;class rv extends Lo{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const e=t.className!==void 0?t.className:"ol-zoom",i=t.delta!==void 0?t.delta:1,n=t.zoomInClassName!==void 0?t.zoomInClassName:e+"-in",s=t.zoomOutClassName!==void 0?t.zoomOutClassName:e+"-out",a=t.zoomInLabel!==void 0?t.zoomInLabel:"+",h=t.zoomOutLabel!==void 0?t.zoomOutLabel:"–",c=t.zoomInTipLabel!==void 0?t.zoomInTipLabel:"Zoom in",d=t.zoomOutTipLabel!==void 0?t.zoomOutTipLabel:"Zoom out",f=document.createElement("button");f.className=n,f.setAttribute("type","button"),f.title=c,f.appendChild(typeof a=="string"?document.createTextNode(a):a),f.addEventListener(ut.CLICK,this.handleClick_.bind(this,i),!1);const p=document.createElement("button");p.className=s,p.setAttribute("type","button"),p.title=d,p.appendChild(typeof h=="string"?document.createTextNode(h):h),p.addEventListener(ut.CLICK,this.handleClick_.bind(this,-i),!1);const m=e+" "+Br+" "+_o,y=this.element;y.className=m,y.appendChild(f),y.appendChild(p),this.duration_=t.duration!==void 0?t.duration:250}handleClick_(t,e){e.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const i=this.getMap().getView();if(!i)return;const n=i.getZoom();if(n!==void 0){const s=i.getConstrainedZoom(n+t);this.duration_>0?(i.getAnimating()&&i.cancelAnimations(),i.animate({zoom:s,duration:this.duration_,easing:Gn})):i.setZoom(s)}}}const sv=rv;function ad(r){r=r||{};const t=new Ze;return(r.zoom!==void 0?r.zoom:!0)&&t.push(new sv(r.zoomOptions)),(r.rotate!==void 0?r.rotate:!0)&&t.push(new nv(r.rotateOptions)),(r.attribution!==void 0?r.attribution:!0)&&t.push(new od(r.attributionOptions)),t}const ld={ACTIVE:"active"};class ov extends Ie{constructor(t){super(),this.on,this.once,this.un,t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(ld.ACTIVE)}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set(ld.ACTIVE,t)}setMap(t){this.map_=t}}function av(r,t,e){const i=r.getCenterInternal();if(i){const n=[i[0]+t[0],i[1]+t[1]];r.animateInternal({duration:e!==void 0?e:250,easing:H_,center:r.getConstrainedCenter(n)})}}function Dl(r,t,e,i){const n=r.getZoom();if(n===void 0)return;const s=r.getConstrainedZoom(n+t),a=r.getResolutionForZoom(s);r.getAnimating()&&r.cancelAnimations(),r.animate({resolution:a,anchor:e,duration:i!==void 0?i:250,easing:Gn})}const Hr=ov;class lv extends Hr{constructor(t){super(),t=t||{},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:250}handleEvent(t){let e=!1;if(t.type==Rt.DBLCLICK){const i=t.originalEvent,n=t.map,s=t.coordinate,a=i.shiftKey?-this.delta_:this.delta_,h=n.getView();Dl(h,a,s,this.duration_),i.preventDefault(),e=!0}return!e}}const hv=lv;class cv extends Hr{constructor(t){t=t||{},super(t),t.handleDownEvent&&(this.handleDownEvent=t.handleDownEvent),t.handleDragEvent&&(this.handleDragEvent=t.handleDragEvent),t.handleMoveEvent&&(this.handleMoveEvent=t.handleMoveEvent),t.handleUpEvent&&(this.handleUpEvent=t.handleUpEvent),t.stopDown&&(this.stopDown=t.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(t){return!1}handleDragEvent(t){}handleEvent(t){if(!t.originalEvent)return!0;let e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==Rt.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==Rt.POINTERUP){const i=this.handleUpEvent(t);this.handlingDownUpSequence=i&&this.targetPointers.length>0}}else if(t.type==Rt.POINTERDOWN){const i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==Rt.POINTERMOVE&&this.handleMoveEvent(t);return!e}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}}function Il(r){const t=r.length;let e=0,i=0;for(let n=0;n<t;n++)e+=r[n].clientX,i+=r[n].clientY;return{clientX:e/t,clientY:i/t}}const Wr=cv;function Sl(r){const t=arguments;return function(e){let i=!0;for(let n=0,s=t.length;n<s&&(i=i&&t[n](e),!!i);++n);return i}}const uv=function(r){const t=r.originalEvent;return t.altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey},dv=function(r){const t=r.map.getTargetElement(),e=r.map.getOwnerDocument().activeElement;return t.contains(e)},hd=function(r){return r.map.getTargetElement().hasAttribute("tabindex")?dv(r):!0},fv=Lr,cd=function(r){const t=r.originalEvent;return t.button==0&&!(Z_&&yu&&t.ctrlKey)},ud=function(r){const t=r.originalEvent;return!t.altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey},gv=function(r){const t=r.originalEvent;return yu?t.metaKey:t.ctrlKey},pv=function(r){const t=r.originalEvent;return!t.altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey},dd=function(r){const t=r.originalEvent,e=t.target.tagName;return e!=="INPUT"&&e!=="SELECT"&&e!=="TEXTAREA"&&!t.target.isContentEditable},Rl=function(r){const t=r.originalEvent;return vt(t!==void 0,"mapBrowserEvent must originate from a pointer event"),t.pointerType=="mouse"},mv=function(r){const t=r.originalEvent;return vt(t!==void 0,"mapBrowserEvent must originate from a pointer event"),t.isPrimary&&t.button===0};class _v extends Wr{constructor(t){super({stopDown:js}),t=t||{},this.kinetic_=t.kinetic,this.lastCentroid=null,this.lastPointersCount_,this.panning_=!1;const e=t.condition?t.condition:Sl(ud,mv);this.condition_=t.onFocusOnly?Sl(hd,e):e,this.noKinetic_=!1}handleDragEvent(t){const e=t.map;this.panning_||(this.panning_=!0,e.getView().beginInteraction());const i=this.targetPointers,n=e.getEventPixel(Il(i));if(i.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){const s=[this.lastCentroid[0]-n[0],n[1]-this.lastCentroid[1]],h=t.map.getView();P_(s,h.getResolution()),Qa(s,h.getRotation()),h.adjustCenterInternal(s)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=i.length,t.originalEvent.preventDefault()}handleUpEvent(t){const e=t.map,i=e.getView();if(this.targetPointers.length===0){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){const n=this.kinetic_.getDistance(),s=this.kinetic_.getAngle(),a=i.getCenterInternal(),h=e.getPixelFromCoordinateInternal(a),c=e.getCoordinateFromPixelInternal([h[0]-n*Math.cos(s),h[1]-n*Math.sin(s)]);i.animateInternal({center:i.getConstrainedCenter(c),duration:500,easing:Gn})}return this.panning_&&(this.panning_=!1,i.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0}handleDownEvent(t){if(this.targetPointers.length>0&&this.condition_(t)){const i=t.map.getView();return this.lastCentroid=null,i.getAnimating()&&i.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}const yv=_v;class vv extends Wr{constructor(t){t=t||{},super({stopDown:js}),this.condition_=t.condition?t.condition:uv,this.lastAngle_=void 0,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){if(!Rl(t))return;const e=t.map,i=e.getView();if(i.getConstraints().rotation===rl)return;const n=e.getSize(),s=t.pixel,a=Math.atan2(n[1]/2-s[1],s[0]-n[0]/2);if(this.lastAngle_!==void 0){const h=a-this.lastAngle_;i.adjustRotationInternal(-h)}this.lastAngle_=a}handleUpEvent(t){return Rl(t)?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){return Rl(t)&&cd(t)&&this.condition_(t)?(t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0):!1}}const xv=vv;class Av extends Us{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,e=this.endPixel_,i="px",n=this.element_.style;n.left=Math.min(t[0],e[0])+i,n.top=Math.min(t[1],e[1])+i,n.width=Math.abs(e[0]-t[0])+i,n.height=Math.abs(e[1]-t[1])+i}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new Oi([n])}getGeometry(){return this.geometry_}}const wv=Av,bo={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class kl extends ai{constructor(t,e,i){super(t),this.coordinate=e,this.mapBrowserEvent=i}}class Ev extends Wr{constructor(t){super(),this.on,this.once,this.un,t=t||{},this.box_=new wv(t.className||"ol-dragbox"),this.minArea_=t.minArea!==void 0?t.minArea:64,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition?t.condition:cd,this.boxEndCondition_=t.boxEndCondition?t.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(t,e,i){const n=i[0]-e[0],s=i[1]-e[1];return n*n+s*s>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new kl(bo.BOXDRAG,t.coordinate,t))}handleUpEvent(t){this.box_.setMap(null);const e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new kl(e?bo.BOXEND:bo.BOXCANCEL,t.coordinate,t)),!1}handleDownEvent(t){return this.condition_(t)?(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new kl(bo.BOXSTART,t.coordinate,t)),!0):!1}onBoxEnd(t){}}const Cv=Ev;class Lv extends Cv{constructor(t){t=t||{};const e=t.condition?t.condition:pv;super({condition:e,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=t.duration!==void 0?t.duration:200,this.out_=t.out!==void 0?t.out:!1}onBoxEnd(t){const i=this.getMap().getView();let n=this.getGeometry();if(this.out_){const s=i.rotatedExtentForGeometry(n),a=i.getResolutionForExtentInternal(s),h=i.getResolution()/a;n=n.clone(),n.scale(h*h)}i.fitInternal(n,{duration:this.duration_,easing:Gn})}}const bv=Lv,vn={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"};class Tv extends Hr{constructor(t){super(),t=t||{},this.defaultCondition_=function(e){return ud(e)&&dd(e)},this.condition_=t.condition!==void 0?t.condition:this.defaultCondition_,this.duration_=t.duration!==void 0?t.duration:100,this.pixelDelta_=t.pixelDelta!==void 0?t.pixelDelta:128}handleEvent(t){let e=!1;if(t.type==ut.KEYDOWN){const i=t.originalEvent,n=i.key;if(this.condition_(t)&&(n==vn.DOWN||n==vn.LEFT||n==vn.RIGHT||n==vn.UP)){const a=t.map.getView(),h=a.getResolution()*this.pixelDelta_;let c=0,d=0;n==vn.DOWN?d=-h:n==vn.LEFT?c=-h:n==vn.RIGHT?c=h:d=h;const f=[c,d];Qa(f,a.getRotation()),av(a,f,this.duration_),i.preventDefault(),e=!0}}return!e}}const Mv=Tv;class Pv extends Hr{constructor(t){super(),t=t||{},this.condition_=t.condition?t.condition:function(e){return!gv(e)&&dd(e)},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:100}handleEvent(t){let e=!1;if(t.type==ut.KEYDOWN||t.type==ut.KEYPRESS){const i=t.originalEvent,n=i.key;if(this.condition_(t)&&(n==="+"||n==="-")){const s=t.map,a=n==="+"?this.delta_:-this.delta_,h=s.getView();Dl(h,a,void 0,this.duration_),i.preventDefault(),e=!0}}return!e}}const Dv=Pv;class Iv{constructor(t,e,i){this.decay_=t,this.minVelocity_=e,this.delay_=i,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,e){this.points_.push(t,e,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]<t)return!1;let i=e-3;for(;i>0&&this.points_[i+2]>t;)i-=3;const n=this.points_[e+2]-this.points_[i+2];if(n<1e3/60)return!1;const s=this.points_[e]-this.points_[i],a=this.points_[e+1]-this.points_[i+1];return this.angle_=Math.atan2(a,s),this.initialVelocity_=Math.sqrt(s*s+a*a)/n,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}const Sv=Iv;class Rv extends Hr{constructor(t){t=t||{},super(t),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=t.maxDelta!==void 0?t.maxDelta:1,this.duration_=t.duration!==void 0?t.duration:250,this.timeout_=t.timeout!==void 0?t.timeout:80,this.useAnchor_=t.useAnchor!==void 0?t.useAnchor:!0,this.constrainResolution_=t.constrainResolution!==void 0?t.constrainResolution:!1;const e=t.condition?t.condition:fv;this.condition_=t.onFocusOnly?Sl(hd,e):e,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();if(!t)return;t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(t){if(!this.condition_(t)||t.type!==ut.WHEEL)return!0;const i=t.map,n=t.originalEvent;n.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate);let s;if(t.type==ut.WHEEL&&(s=n.deltaY,W_&&n.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(s/=vu),n.deltaMode===WheelEvent.DOM_DELTA_LINE&&(s*=40)),s===0)return!1;this.lastDelta_=s;const a=Date.now();this.startTime_===void 0&&(this.startTime_=a),(!this.mode_||a-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(s)<4?"trackpad":"wheel");const h=i.getView();if(this.mode_==="trackpad"&&!(h.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(h.getAnimating()&&h.cancelAnimations(),h.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),h.adjustZoom(-s/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=a,!1;this.totalDelta_+=s;const c=Math.max(this.timeout_-(a-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),c),!1}handleWheelZoom_(t){const e=t.getView();e.getAnimating()&&e.cancelAnimations();let i=-kt(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),Dl(e,i,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}}const kv=Rv;class Ov extends Wr{constructor(t){t=t||{};const e=t;e.stopDown||(e.stopDown=js),super(e),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=t.threshold!==void 0?t.threshold:.3,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){let e=0;const i=this.targetPointers[0],n=this.targetPointers[1],s=Math.atan2(n.clientY-i.clientY,n.clientX-i.clientX);if(this.lastAngle_!==void 0){const c=s-this.lastAngle_;this.rotationDelta_+=c,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=c}this.lastAngle_=s;const a=t.map,h=a.getView();h.getConstraints().rotation!==rl&&(this.anchor_=a.getCoordinateFromPixelInternal(a.getEventPixel(Il(this.targetPointers))),this.rotating_&&(a.render(),h.adjustRotationInternal(e,this.anchor_)))}handleUpEvent(t){return this.targetPointers.length<2?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}}const Fv=Ov;class zv extends Wr{constructor(t){t=t||{};const e=t;e.stopDown||(e.stopDown=js),super(e),this.anchor_=null,this.duration_=t.duration!==void 0?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let e=1;const i=this.targetPointers[0],n=this.targetPointers[1],s=i.clientX-n.clientX,a=i.clientY-n.clientY,h=Math.sqrt(s*s+a*a);this.lastDistance_!==void 0&&(e=this.lastDistance_/h),this.lastDistance_=h;const c=t.map,d=c.getView();e!=1&&(this.lastScaleDelta_=e),this.anchor_=c.getCoordinateFromPixelInternal(c.getEventPixel(Il(this.targetPointers))),c.render(),d.adjustResolutionInternal(e,this.anchor_)}handleUpEvent(t){if(this.targetPointers.length<2){const i=t.map.getView(),n=this.lastScaleDelta_>1?1:-1;return i.endInteraction(this.duration_,n),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}}const Bv=zv;function Nv(r){r=r||{};const t=new Ze,e=new Sv(-.005,.05,100);return(r.altShiftDragRotate!==void 0?r.altShiftDragRotate:!0)&&t.push(new xv),(r.doubleClickZoom!==void 0?r.doubleClickZoom:!0)&&t.push(new hv({delta:r.zoomDelta,duration:r.zoomDuration})),(r.dragPan!==void 0?r.dragPan:!0)&&t.push(new yv({onFocusOnly:r.onFocusOnly,kinetic:e})),(r.pinchRotate!==void 0?r.pinchRotate:!0)&&t.push(new Fv),(r.pinchZoom!==void 0?r.pinchZoom:!0)&&t.push(new Bv({duration:r.zoomDuration})),(r.keyboard!==void 0?r.keyboard:!0)&&(t.push(new Mv),t.push(new Dv({delta:r.zoomDelta,duration:r.zoomDuration}))),(r.mouseWheelZoom!==void 0?r.mouseWheelZoom:!0)&&t.push(new kv({onFocusOnly:r.onFocusOnly,duration:r.zoomDuration})),(r.shiftDragZoom!==void 0?r.shiftDragZoom:!0)&&t.push(new bv({duration:r.zoomDuration})),t}function fd(r){return r[0]>0&&r[1]>0}function Gv(r,t,e){return e===void 0&&(e=[0,0]),e[0]=r[0]*t+.5|0,e[1]=r[1]*t+.5|0,e}function Ee(r,t){return Array.isArray(r)?r:(t===void 0?t=[r,r]:(t[0]=r,t[1]=r),t)}function gd(r){if(r instanceof po){r.setMapInternal(null);return}r instanceof Eo&&r.getLayers().forEach(gd)}function pd(r,t){if(r instanceof po){r.setMapInternal(t);return}if(r instanceof Eo){const e=r.getLayers().getArray();for(let i=0,n=e.length;i<n;++i)pd(e[i],t)}}class Uv extends Ie{constructor(t){super(),t=t||{},this.on,this.once,this.un;const e=jv(t);this.renderComplete_,this.loaded_=!0,this.boundHandleBrowserEvent_=this.handleBrowserEvent.bind(this),this.maxTilesLoading_=t.maxTilesLoading!==void 0?t.maxTilesLoading:16,this.pixelRatio_=t.pixelRatio!==void 0?t.pixelRatio:vu,this.postRenderTimeoutHandle_,this.animationDelayKey_,this.animationDelay_=this.animationDelay_.bind(this),this.coordinateToPixelTransform_=Yt(),this.pixelToCoordinateTransform_=Yt(),this.frameIndex_=0,this.frameState_=null,this.previousExtent_=null,this.viewPropertyListenerKey_=null,this.viewChangeListenerKey_=null,this.layerGroupPropertyListenerKeys_=null,this.viewport_=document.createElement("div"),this.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),this.viewport_.style.position="relative",this.viewport_.style.overflow="hidden",this.viewport_.style.width="100%",this.viewport_.style.height="100%",this.overlayContainer_=document.createElement("div"),this.overlayContainer_.style.position="absolute",this.overlayContainer_.style.zIndex="0",this.overlayContainer_.style.width="100%",this.overlayContainer_.style.height="100%",this.overlayContainer_.style.pointerEvents="none",this.overlayContainer_.className="ol-overlaycontainer",this.viewport_.appendChild(this.overlayContainer_),this.overlayContainerStopEvent_=document.createElement("div"),this.overlayContainerStopEvent_.style.position="absolute",this.overlayContainerStopEvent_.style.zIndex="0",this.overlayContainerStopEvent_.style.width="100%",this.overlayContainerStopEvent_.style.height="100%",this.overlayContainerStopEvent_.style.pointerEvents="none",this.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",this.viewport_.appendChild(this.overlayContainerStopEvent_),this.mapBrowserEventHandler_=null,this.moveTolerance_=t.moveTolerance,this.keyboardEventTarget_=e.keyboardEventTarget,this.targetChangeHandlerKeys_=null,this.targetElement_=null,this.resizeObserver_=new ResizeObserver(()=>this.updateSize()),this.controls=e.controls||ad(),this.interactions=e.interactions||Nv({onFocusOnly:!0}),this.overlays_=e.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new Jy(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(Zt.LAYERGROUP,this.handleLayerGroupChanged_),this.addChangeListener(Zt.VIEW,this.handleViewChanged_),this.addChangeListener(Zt.SIZE,this.handleSizeChanged_),this.addChangeListener(Zt.TARGET,this.handleTargetChanged_),this.setProperties(e.values);const i=this;t.view&&!(t.view instanceof Ye)&&t.view.then(function(n){i.setView(new Ye(n))}),this.controls.addEventListener(ue.ADD,n=>{n.element.setMap(this)}),this.controls.addEventListener(ue.REMOVE,n=>{n.element.setMap(null)}),this.interactions.addEventListener(ue.ADD,n=>{n.element.setMap(this)}),this.interactions.addEventListener(ue.REMOVE,n=>{n.element.setMap(null)}),this.overlays_.addEventListener(ue.ADD,n=>{this.addOverlayInternal_(n.element)}),this.overlays_.addEventListener(ue.REMOVE,n=>{const s=n.element.getId();s!==void 0&&delete this.overlayIdIndex_[s.toString()],n.element.setMap(null)}),this.controls.forEach(n=>{n.setMap(this)}),this.interactions.forEach(n=>{n.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(t){this.getControls().push(t)}addInteraction(t){this.getInteractions().push(t)}addLayer(t){this.getLayerGroup().getLayers().push(t)}handleLayerAdd_(t){pd(t.layer,this)}addOverlay(t){this.getOverlays().push(t)}addOverlayInternal_(t){const e=t.getId();e!==void 0&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(t,e,i){if(!this.frameState_||!this.renderer_)return;const n=this.getCoordinateFromPixelInternal(t);i=i!==void 0?i:{};const s=i.hitTolerance!==void 0?i.hitTolerance:0,a=i.layerFilter!==void 0?i.layerFilter:Lr,h=i.checkWrapped!==!1;return this.renderer_.forEachFeatureAtCoordinate(n,this.frameState_,s,h,e,null,a,null)}getFeaturesAtPixel(t,e){const i=[];return this.forEachFeatureAtPixel(t,function(n){i.push(n)},e),i}getAllLayers(){const t=[];function e(i){i.forEach(function(n){n instanceof Eo?e(n.getLayers()):t.push(n)})}return e(this.getLayers()),t}hasFeatureAtPixel(t,e){if(!this.frameState_||!this.renderer_)return!1;const i=this.getCoordinateFromPixelInternal(t);e=e!==void 0?e:{};const n=e.layerFilter!==void 0?e.layerFilter:Lr,s=e.hitTolerance!==void 0?e.hitTolerance:0,a=e.checkWrapped!==!1;return this.renderer_.hasFeatureAtCoordinate(i,this.frameState_,s,a,n,null)}getEventCoordinate(t){return this.getCoordinateFromPixel(this.getEventPixel(t))}getEventCoordinateInternal(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))}getEventPixel(t){const i=this.viewport_.getBoundingClientRect(),n=this.getSize(),s=i.width/n[0],a=i.height/n[1],h="changedTouches"in t?t.changedTouches[0]:t;return[(h.clientX-i.left)/s,(h.clientY-i.top)/a]}getTarget(){return this.get(Zt.TARGET)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(t){return el(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())}getCoordinateFromPixelInternal(t){const e=this.frameState_;return e?Bt(e.pixelToCoordinateTransform,t.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(t){const e=this.overlayIdIndex_[t.toString()];return e!==void 0?e:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(Zt.LAYERGROUP)}setLayers(t){const e=this.getLayerGroup();if(t instanceof Ze){e.setLayers(t);return}const i=e.getLayers();i.clear(),i.extend(t)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,i=t.length;e<i;++e){const n=t[e];if(!n.visible)continue;const s=n.layer.getRenderer();if(s&&!s.ready)return!0;const a=n.layer.getSource();if(a&&a.loading)return!0}return!1}getPixelFromCoordinate(t){const e=hi(t,this.getView().getProjection());return this.getPixelFromCoordinateInternal(e)}getPixelFromCoordinateInternal(t){const e=this.frameState_;return e?Bt(e.coordinateToPixelTransform,t.slice(0,2)):null}getRenderer(){return this.renderer_}getSize(){return this.get(Zt.SIZE)}getView(){return this.get(Zt.VIEW)}getViewport(){return this.viewport_}getOverlayContainer(){return this.overlayContainer_}getOverlayContainerStopEvent(){return this.overlayContainerStopEvent_}getOwnerDocument(){const t=this.getTargetElement();return t?t.ownerDocument:document}getTilePriority(t,e,i,n){return $y(this.frameState_,t,e,i,n)}handleBrowserEvent(t,e){e=e||t.type;const i=new zi(e,this,t);this.handleMapBrowserEvent(i)}handleMapBrowserEvent(t){if(!this.frameState_)return;const e=t.originalEvent,i=e.type;if(i===Pl.POINTERDOWN||i===ut.WHEEL||i===ut.KEYDOWN){const n=this.getOwnerDocument(),s=this.viewport_.getRootNode?this.viewport_.getRootNode():n,a=e.target;if(this.overlayContainerStopEvent_.contains(a)||!(s===n?n.documentElement:s).contains(a))return}if(t.frameState=this.frameState_,this.dispatchEvent(t)!==!1){const n=this.getInteractions().getArray().slice();for(let s=n.length-1;s>=0;s--){const a=n[s];if(a.getMap()!==this||!a.getActive()||!this.getTargetElement())continue;if(!a.handleEvent(t)||t.propagationStopped)break}}}handlePostRender(){const t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){let n=this.maxTilesLoading_,s=n;if(t){const a=t.viewHints;if(a[Ht.ANIMATING]||a[Ht.INTERACTING]){const h=Date.now()-t.time>8;n=h?0:8,s=h?0:2}}e.getTilesLoading()<n&&(e.reprioritize(),e.loadMoreTiles(n,s))}t&&this.renderer_&&!t.animate&&(this.renderComplete_===!0?(this.hasListener(te.RENDERCOMPLETE)&&this.renderer_.dispatchRenderEvent(te.RENDERCOMPLETE,t),this.loaded_===!1&&(this.loaded_=!0,this.dispatchEvent(new Wn(fi.LOADEND,this,t)))):this.loaded_===!0&&(this.loaded_=!1,this.dispatchEvent(new Wn(fi.LOADSTART,this,t))));const i=this.postRenderFunctions_;for(let n=0,s=i.length;n<s;++n)i[n](this,t);i.length=0}handleSizeChanged_(){this.getView()&&!this.getView().getAnimating()&&this.getView().resolveConstraints(0),this.render()}handleTargetChanged_(){if(this.mapBrowserEventHandler_){for(let i=0,n=this.targetChangeHandlerKeys_.length;i<n;++i)bt(this.targetChangeHandlerKeys_[i]);this.targetChangeHandlerKeys_=null,this.viewport_.removeEventListener(ut.CONTEXTMENU,this.boundHandleBrowserEvent_),this.viewport_.removeEventListener(ut.WHEEL,this.boundHandleBrowserEvent_),this.mapBrowserEventHandler_.dispose(),this.mapBrowserEventHandler_=null,xo(this.viewport_)}if(this.targetElement_){this.resizeObserver_.unobserve(this.targetElement_);const i=this.targetElement_.getRootNode();i instanceof ShadowRoot&&this.resizeObserver_.unobserve(i.host),this.setSize(void 0)}const t=this.getTarget(),e=typeof t=="string"?document.getElementById(t):t;if(this.targetElement_=e,!e)this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderTimeoutHandle_=void 0,this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0);else{e.appendChild(this.viewport_),this.renderer_||(this.renderer_=new Wy(this)),this.mapBrowserEventHandler_=new Vy(this,this.moveTolerance_);for(const s in Rt)this.mapBrowserEventHandler_.addEventListener(Rt[s],this.handleMapBrowserEvent.bind(this));this.viewport_.addEventListener(ut.CONTEXTMENU,this.boundHandleBrowserEvent_,!1),this.viewport_.addEventListener(ut.WHEEL,this.boundHandleBrowserEvent_,Au?{passive:!1}:!1);const i=this.keyboardEventTarget_?this.keyboardEventTarget_:e;this.targetChangeHandlerKeys_=[mt(i,ut.KEYDOWN,this.handleBrowserEvent,this),mt(i,ut.KEYPRESS,this.handleBrowserEvent,this)];const n=e.getRootNode();n instanceof ShadowRoot&&this.resizeObserver_.observe(n.host),this.resizeObserver_.observe(e)}this.updateSize()}handleTileChange_(){this.render()}handleViewPropertyChanged_(){this.render()}handleViewChanged_(){this.viewPropertyListenerKey_&&(bt(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(bt(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);const t=this.getView();t&&(this.updateViewportSize_(this.getSize()),this.viewPropertyListenerKey_=mt(t,Sn.PROPERTYCHANGE,this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=mt(t,ut.CHANGE,this.handleViewPropertyChanged_,this),t.resolveConstraints(0)),this.render()}handleLayerGroupChanged_(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(bt),this.layerGroupPropertyListenerKeys_=null);const t=this.getLayerGroup();t&&(this.handleLayerAdd_(new Fi("addlayer",t)),this.layerGroupPropertyListenerKeys_=[mt(t,Sn.PROPERTYCHANGE,this.render,this),mt(t,ut.CHANGE,this.render,this),mt(t,"addlayer",this.handleLayerAdd_,this),mt(t,"removelayer",this.handleLayerRemove_,this)]),this.render()}isRendered(){return!!this.frameState_}animationDelay_(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}renderSync(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()}redrawText(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,i=t.length;e<i;++e){const n=t[e].layer;n.hasRenderer()&&n.getRenderer().handleFontsChanged()}}render(){this.renderer_&&this.animationDelayKey_===void 0&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))}flushDeclutterItems(){const t=this.frameState_;t&&this.renderer_.flushDeclutterItems(t)}removeControl(t){return this.getControls().remove(t)}removeInteraction(t){return this.getInteractions().remove(t)}removeLayer(t){return this.getLayerGroup().getLayers().remove(t)}handleLayerRemove_(t){gd(t.layer)}removeOverlay(t){return this.getOverlays().remove(t)}renderFrame_(t){const e=this.getSize(),i=this.getView(),n=this.frameState_;let s=null;if(e!==void 0&&fd(e)&&i&&i.isDef()){const a=i.getHints(this.frameState_?this.frameState_.viewHints:void 0),h=i.getState();if(s={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterTree:null,extent:Xa(h.center,h.resolution,h.rotation,e),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:e,tileQueue:this.tileQueue_,time:t,usedTiles:{},viewState:h,viewHints:a,wantedTiles:{},mapId:gt(this),renderTargets:{}},h.nextCenter&&h.nextResolution){const c=isNaN(h.nextRotation)?h.rotation:h.nextRotation;s.nextExtent=Xa(h.nextCenter,h.nextResolution,c,e)}}this.frameState_=s,this.renderer_.renderFrame(s),s&&(s.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,s.postRenderFunctions),n&&(!this.previousExtent_||!$s(this.previousExtent_)&&!Bn(s.extent,this.previousExtent_))&&(this.dispatchEvent(new Wn(fi.MOVESTART,this,n)),this.previousExtent_=Mr(this.previousExtent_)),this.previousExtent_&&!s.viewHints[Ht.ANIMATING]&&!s.viewHints[Ht.INTERACTING]&&!Bn(s.extent,this.previousExtent_)&&(this.dispatchEvent(new Wn(fi.MOVEEND,this,s)),qc(s.extent,this.previousExtent_))),this.dispatchEvent(new Wn(fi.POSTRENDER,this,s)),this.renderComplete_=this.hasListener(fi.LOADSTART)||this.hasListener(fi.LOADEND)||this.hasListener(te.RENDERCOMPLETE)?!this.tileQueue_.getTilesLoading()&&!this.tileQueue_.getCount()&&!this.getLoadingOrNotReady():void 0,this.postRenderTimeoutHandle_||(this.postRenderTimeoutHandle_=setTimeout(()=>{this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(t){const e=this.getLayerGroup();e&&this.handleLayerRemove_(new Fi("removelayer",e)),this.set(Zt.LAYERGROUP,t)}setSize(t){this.set(Zt.SIZE,t)}setTarget(t){this.set(Zt.TARGET,t)}setView(t){if(!t||t instanceof Ye){this.set(Zt.VIEW,t);return}this.set(Zt.VIEW,new Ye);const e=this;t.then(function(i){e.setView(new Ye(i))})}updateSize(){const t=this.getTargetElement();let e;if(t){const n=getComputedStyle(t),s=t.offsetWidth-parseFloat(n.borderLeftWidth)-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight)-parseFloat(n.borderRightWidth),a=t.offsetHeight-parseFloat(n.borderTopWidth)-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom)-parseFloat(n.borderBottomWidth);!isNaN(s)&&!isNaN(a)&&(e=[s,a],!fd(e)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&ou("No map visible because the map container's width or height are 0."))}const i=this.getSize();e&&(!i||!li(e,i))&&(this.setSize(e),this.updateViewportSize_(e))}updateViewportSize_(t){const e=this.getView();e&&e.setViewportSize(t)}}function jv(r){let t=null;r.keyboardEventTarget!==void 0&&(t=typeof r.keyboardEventTarget=="string"?document.getElementById(r.keyboardEventTarget):r.keyboardEventTarget);const e={},i=r.layers&&typeof r.layers.getLayers=="function"?r.layers:new Eo({layers:r.layers});e[Zt.LAYERGROUP]=i,e[Zt.TARGET]=r.target,e[Zt.VIEW]=r.view instanceof Ye?r.view:new Ye;let n;r.controls!==void 0&&(Array.isArray(r.controls)?n=new Ze(r.controls.slice()):(vt(typeof r.controls.getArray=="function","Expected `controls` to be an array or an `ol/Collection.js`"),n=r.controls));let s;r.interactions!==void 0&&(Array.isArray(r.interactions)?s=new Ze(r.interactions.slice()):(vt(typeof r.interactions.getArray=="function","Expected `interactions` to be an array or an `ol/Collection.js`"),s=r.interactions));let a;return r.overlays!==void 0?Array.isArray(r.overlays)?a=new Ze(r.overlays.slice()):(vt(typeof r.overlays.getArray=="function","Expected `overlays` to be an array or an `ol/Collection.js`"),a=r.overlays):a=new Ze,{controls:n,interactions:s,keyboardEventTarget:t,overlays:a,values:e}}const Hv=Uv;function Wv(r,t,e,i,n){md(r,t,e||0,i||r.length-1,n||Yv)}function md(r,t,e,i,n){for(;i>e;){if(i-e>600){var s=i-e+1,a=t-e+1,h=Math.log(s),c=.5*Math.exp(2*h/3),d=.5*Math.sqrt(h*c*(s-c)/s)*(a-s/2<0?-1:1),f=Math.max(e,Math.floor(t-a*c/s+d)),p=Math.min(i,Math.floor(t+(s-a)*c/s+d));md(r,t,f,p,n)}var m=r[t],y=e,v=i;for(Yr(r,e,t),n(r[i],m)>0&&Yr(r,e,i);y<v;){for(Yr(r,y,v),y++,v--;n(r[y],m)<0;)y++;for(;n(r[v],m)>0;)v--}n(r[e],m)===0?Yr(r,e,v):(v++,Yr(r,v,i)),v<=t&&(e=v+1),t<=v&&(i=v-1)}}function Yr(r,t,e){var i=r[t];r[t]=r[e],r[e]=i}function Yv(r,t){return r<t?-1:r>t?1:0}let _d=class{constructor(t=9){this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(t){let e=this.data;const i=[];if(!Mo(t,e))return i;const n=this.toBBox,s=[];for(;e;){for(let a=0;a<e.children.length;a++){const h=e.children[a],c=e.leaf?n(h):h;Mo(t,c)&&(e.leaf?i.push(h):Fl(t,c)?this._all(h,i):s.push(h))}e=s.pop()}return i}collides(t){let e=this.data;if(!Mo(t,e))return!1;const i=[];for(;e;){for(let n=0;n<e.children.length;n++){const s=e.children[n],a=e.leaf?this.toBBox(s):s;if(Mo(t,a)){if(e.leaf||Fl(t,a))return!0;i.push(s)}}e=i.pop()}return!1}load(t){if(!(t&&t.length))return this;if(t.length<this._minEntries){for(let i=0;i<t.length;i++)this.insert(t[i]);return this}let e=this._build(t.slice(),0,t.length-1,0);if(!this.data.children.length)this.data=e;else if(this.data.height===e.height)this._splitRoot(this.data,e);else{if(this.data.height<e.height){const i=this.data;this.data=e,e=i}this._insert(e,this.data.height-e.height-1,!0)}return this}insert(t){return t&&this._insert(t,this.data.height-1),this}clear(){return this.data=Zn([]),this}remove(t,e){if(!t)return this;let i=this.data;const n=this.toBBox(t),s=[],a=[];let h,c,d;for(;i||s.length;){if(i||(i=s.pop(),c=s[s.length-1],h=a.pop(),d=!0),i.leaf){const f=Zv(t,i.children,e);if(f!==-1)return i.children.splice(f,1),s.push(i),this._condense(s),this}!d&&!i.leaf&&Fl(i,n)?(s.push(i),a.push(h),h=0,c=i,i=i.children[0]):c?(h++,i=c.children[h],d=!1):i=null}return this}toBBox(t){return t}compareMinX(t,e){return t.minX-e.minX}compareMinY(t,e){return t.minY-e.minY}toJSON(){return this.data}fromJSON(t){return this.data=t,this}_all(t,e){const i=[];for(;t;)t.leaf?e.push(...t.children):i.push(...t.children),t=i.pop();return e}_build(t,e,i,n){const s=i-e+1;let a=this._maxEntries,h;if(s<=a)return h=Zn(t.slice(e,i+1)),Yn(h,this.toBBox),h;n||(n=Math.ceil(Math.log(s)/Math.log(a)),a=Math.ceil(s/Math.pow(a,n-1))),h=Zn([]),h.leaf=!1,h.height=n;const c=Math.ceil(s/a),d=c*Math.ceil(Math.sqrt(a));yd(t,e,i,d,this.compareMinX);for(let f=e;f<=i;f+=d){const p=Math.min(f+d-1,i);yd(t,f,p,c,this.compareMinY);for(let m=f;m<=p;m+=c){const y=Math.min(m+c-1,p);h.children.push(this._build(t,m,y,n-1))}}return Yn(h,this.toBBox),h}_chooseSubtree(t,e,i,n){for(;n.push(e),!(e.leaf||n.length-1===i);){let s=1/0,a=1/0,h;for(let c=0;c<e.children.length;c++){const d=e.children[c],f=Ol(d),p=Kv(t,d)-f;p<a?(a=p,s=f<s?f:s,h=d):p===a&&f<s&&(s=f,h=d)}e=h||e.children[0]}return e}_insert(t,e,i){const n=i?t:this.toBBox(t),s=[],a=this._chooseSubtree(n,this.data,e,s);for(a.children.push(t),Xr(a,n);e>=0&&s[e].children.length>this._maxEntries;)this._split(s,e),e--;this._adjustParentBBoxes(n,s,e)}_split(t,e){const i=t[e],n=i.children.length,s=this._minEntries;this._chooseSplitAxis(i,s,n);const a=this._chooseSplitIndex(i,s,n),h=Zn(i.children.splice(a,i.children.length-a));h.height=i.height,h.leaf=i.leaf,Yn(i,this.toBBox),Yn(h,this.toBBox),e?t[e-1].children.push(h):this._splitRoot(i,h)}_splitRoot(t,e){this.data=Zn([t,e]),this.data.height=t.height+1,this.data.leaf=!1,Yn(this.data,this.toBBox)}_chooseSplitIndex(t,e,i){let n,s=1/0,a=1/0;for(let h=e;h<=i-e;h++){const c=Zr(t,0,h,this.toBBox),d=Zr(t,h,i,this.toBBox),f=Qv(c,d),p=Ol(c)+Ol(d);f<s?(s=f,n=h,a=p<a?p:a):f===s&&p<a&&(a=p,n=h)}return n||i-e}_chooseSplitAxis(t,e,i){const n=t.leaf?this.compareMinX:Xv,s=t.leaf?this.compareMinY:Vv,a=this._allDistMargin(t,e,i,n),h=this._allDistMargin(t,e,i,s);a<h&&t.children.sort(n)}_allDistMargin(t,e,i,n){t.children.sort(n);const s=this.toBBox,a=Zr(t,0,e,s),h=Zr(t,i-e,i,s);let c=To(a)+To(h);for(let d=e;d<i-e;d++){const f=t.children[d];Xr(a,t.leaf?s(f):f),c+=To(a)}for(let d=i-e-1;d>=e;d--){const f=t.children[d];Xr(h,t.leaf?s(f):f),c+=To(h)}return c}_adjustParentBBoxes(t,e,i){for(let n=i;n>=0;n--)Xr(e[n],t)}_condense(t){for(let e=t.length-1,i;e>=0;e--)t[e].children.length===0?e>0?(i=t[e-1].children,i.splice(i.indexOf(t[e]),1)):this.clear():Yn(t[e],this.toBBox)}};function Zv(r,t,e){if(!e)return t.indexOf(r);for(let i=0;i<t.length;i++)if(e(r,t[i]))return i;return-1}function Yn(r,t){Zr(r,0,r.children.length,t,r)}function Zr(r,t,e,i,n){n||(n=Zn(null)),n.minX=1/0,n.minY=1/0,n.maxX=-1/0,n.maxY=-1/0;for(let s=t;s<e;s++){const a=r.children[s];Xr(n,r.leaf?i(a):a)}return n}function Xr(r,t){return r.minX=Math.min(r.minX,t.minX),r.minY=Math.min(r.minY,t.minY),r.maxX=Math.max(r.maxX,t.maxX),r.maxY=Math.max(r.maxY,t.maxY),r}function Xv(r,t){return r.minX-t.minX}function Vv(r,t){return r.minY-t.minY}function Ol(r){return(r.maxX-r.minX)*(r.maxY-r.minY)}function To(r){return r.maxX-r.minX+(r.maxY-r.minY)}function Kv(r,t){return(Math.max(t.maxX,r.maxX)-Math.min(t.minX,r.minX))*(Math.max(t.maxY,r.maxY)-Math.min(t.minY,r.minY))}function Qv(r,t){const e=Math.max(r.minX,t.minX),i=Math.max(r.minY,t.minY),n=Math.min(r.maxX,t.maxX),s=Math.min(r.maxY,t.maxY);return Math.max(0,n-e)*Math.max(0,s-i)}function Fl(r,t){return r.minX<=t.minX&&r.minY<=t.minY&&t.maxX<=r.maxX&&t.maxY<=r.maxY}function Mo(r,t){return t.minX<=r.maxX&&t.minY<=r.maxY&&t.maxX>=r.minX&&t.maxY>=r.minY}function Zn(r){return{children:r,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function yd(r,t,e,i,n){const s=[t,e];for(;s.length;){if(e=s.pop(),t=s.pop(),e-t<=i)continue;const a=t+Math.ceil((e-t)/i/2)*i;Wv(r,a,t,e,n),s.push(t,a,a,e)}}const Mt={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};class zl{constructor(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.scaleArray_=Ee(t.scale),this.displacement_=t.displacement,this.declutterMode_=t.declutterMode}clone(){const t=this.getScale();return new zl({opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return lt()}getImage(t){return lt()}getHitDetectionImage(){return lt()}getPixelRatio(t){return 1}getImageState(){return lt()}getImageSize(){return lt()}getOrigin(){return lt()}getSize(){return lt()}setDisplacement(t){this.displacement_=t}setOpacity(t){this.opacity_=t}setRotateWithView(t){this.rotateWithView_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=Ee(t)}listenImageChange(t){lt()}load(){lt()}unlistenImageChange(t){lt()}}const vd=zl;function Xe(r){return Array.isArray(r)?Ku(r):r}class Bl extends vd{constructor(t){const e=t.rotateWithView!==void 0?t.rotateWithView:!1;super({opacity:1,rotateWithView:e,rotation:t.rotation!==void 0?t.rotation:0,scale:t.scale!==void 0?t.scale:1,displacement:t.displacement!==void 0?t.displacement:[0,0],declutterMode:t.declutterMode}),this.canvases_,this.hitDetectionCanvas_=null,this.fill_=t.fill!==void 0?t.fill:null,this.origin_=[0,0],this.points_=t.points,this.radius_=t.radius!==void 0?t.radius:t.radius1,this.radius2_=t.radius2,this.angle_=t.angle!==void 0?t.angle:0,this.stroke_=t.stroke!==void 0?t.stroke:null,this.size_,this.renderOptions_,this.render()}clone(){const t=this.getScale(),e=new Bl({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}getAnchor(){const t=this.size_,e=this.getDisplacement(),i=this.getScaleArray();return[t[0]/2-e[0]/i[0],t[1]/2+e[1]/i[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(t){this.fill_=t,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.createHitDetectionCanvas_(this.renderOptions_)),this.hitDetectionCanvas_}getImage(t){let e=this.canvases_[t];if(!e){const i=this.renderOptions_,n=ee(i.size*t,i.size*t);this.draw_(i,n,t),e=n.canvas,this.canvases_[t]=e}return e}getPixelRatio(t){return t}getImageSize(){return this.size_}getImageState(){return Mt.LOADED}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius_}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t,this.render()}listenImageChange(t){}load(){}unlistenImageChange(t){}calculateLineJoinSize_(t,e,i){if(e===0||this.points_===1/0||t!=="bevel"&&t!=="miter")return e;let n=this.radius_,s=this.radius2_===void 0?n:this.radius2_;if(n<s){const D=n;n=s,s=D}const a=this.radius2_===void 0?this.points_:this.points_*2,h=2*Math.PI/a,c=s*Math.sin(h),d=Math.sqrt(s*s-c*c),f=n-d,p=Math.sqrt(c*c+f*f),m=p/c;if(t==="miter"&&m<=i)return m*e;const y=e/2/m,v=e/2*(f/p),b=Math.sqrt((n+y)*(n+y)+v*v)-n;if(this.radius2_===void 0||t==="bevel")return b*2;const M=n*Math.sin(h),w=Math.sqrt(n*n-M*M),E=s-w,P=Math.sqrt(M*M+E*E)/M;if(P<=i){const D=P*e/2-s-n;return 2*Math.max(b,D)}return b*2}createRenderOptions(){let t=Un,e=jn,i=0,n=null,s=0,a,h=0;this.stroke_&&(a=Xe(this.stroke_.getColor()??Gr),h=this.stroke_.getWidth()??jr,n=this.stroke_.getLineDash(),s=this.stroke_.getLineDashOffset()??0,e=this.stroke_.getLineJoin()??jn,t=this.stroke_.getLineCap()??Un,i=this.stroke_.getMiterLimit()??Nr);const c=this.calculateLineJoinSize_(e,h,i),d=Math.max(this.radius_,this.radius2_||0),f=Math.ceil(2*d+c);return{strokeStyle:a,strokeWidth:h,size:f,lineCap:t,lineDash:n,lineDashOffset:s,lineJoin:e,miterLimit:i}}render(){this.renderOptions_=this.createRenderOptions();const t=this.renderOptions_.size;this.canvases_={},this.hitDetectionCanvas_=null,this.size_=[t,t]}draw_(t,e,i){if(e.scale(i,i),e.translate(t.size/2,t.size/2),this.createPath_(e),this.fill_){let n=this.fill_.getColor();n===null&&(n=de),e.fillStyle=Xe(n),e.fill()}t.strokeStyle&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke())}createHitDetectionCanvas_(t){let e;if(this.fill_){let i=this.fill_.getColor(),n=0;typeof i=="string"&&(i=Fr(i)),i===null?n=1:Array.isArray(i)&&(n=i.length===4?i[3]:1),n===0&&(e=ee(t.size,t.size),this.drawHitDetectionCanvas_(t,e))}return e?e.canvas:this.getImage(1)}createPath_(t){let e=this.points_;const i=this.radius_;if(e===1/0)t.arc(0,0,i,0,2*Math.PI);else{const n=this.radius2_===void 0?i:this.radius2_;this.radius2_!==void 0&&(e*=2);const s=this.angle_-Math.PI/2,a=2*Math.PI/e;for(let h=0;h<e;h++){const c=s+h*a,d=h%2===0?i:n;t.lineTo(d*Math.cos(c),d*Math.sin(c))}t.closePath()}}drawHitDetectionCanvas_(t,e){e.translate(t.size/2,t.size/2),this.createPath_(e),e.fillStyle=de,e.fill(),t.strokeStyle&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke())}}const xd=Bl;class Nl extends xd{constructor(t){t=t||{radius:5},super({points:1/0,fill:t.fill,radius:t.radius,stroke:t.stroke,scale:t.scale!==void 0?t.scale:1,rotation:t.rotation!==void 0?t.rotation:0,rotateWithView:t.rotateWithView!==void 0?t.rotateWithView:!1,displacement:t.displacement!==void 0?t.displacement:[0,0],declutterMode:t.declutterMode})}clone(){const t=this.getScale(),e=new Nl({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}setRadius(t){this.radius_=t,this.render()}}const Ad=Nl;class Gl{constructor(t){t=t||{},this.color_=t.color!==void 0?t.color:null}clone(){const t=this.getColor();return new Gl({color:Array.isArray(t)?t.slice():t||void 0})}getColor(){return this.color_}setColor(t){this.color_=t}}const Po=Gl;class Ul{constructor(t){t=t||{},this.color_=t.color!==void 0?t.color:null,this.lineCap_=t.lineCap,this.lineDash_=t.lineDash!==void 0?t.lineDash:null,this.lineDashOffset_=t.lineDashOffset,this.lineJoin_=t.lineJoin,this.miterLimit_=t.miterLimit,this.width_=t.width}clone(){const t=this.getColor();return new Ul({color:Array.isArray(t)?t.slice():t||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})}getColor(){return this.color_}getLineCap(){return this.lineCap_}getLineDash(){return this.lineDash_}getLineDashOffset(){return this.lineDashOffset_}getLineJoin(){return this.lineJoin_}getMiterLimit(){return this.miterLimit_}getWidth(){return this.width_}setColor(t){this.color_=t}setLineCap(t){this.lineCap_=t}setLineDash(t){this.lineDash_=t}setLineDashOffset(t){this.lineDashOffset_=t}setLineJoin(t){this.lineJoin_=t}setMiterLimit(t){this.miterLimit_=t}setWidth(t){this.width_=t}}const Do=Ul;class Io{constructor(t){t=t||{},this.geometry_=null,this.geometryFunction_=wd,t.geometry!==void 0&&this.setGeometry(t.geometry),this.fill_=t.fill!==void 0?t.fill:null,this.image_=t.image!==void 0?t.image:null,this.renderer_=t.renderer!==void 0?t.renderer:null,this.hitDetectionRenderer_=t.hitDetectionRenderer!==void 0?t.hitDetectionRenderer:null,this.stroke_=t.stroke!==void 0?t.stroke:null,this.text_=t.text!==void 0?t.text:null,this.zIndex_=t.zIndex}clone(){let t=this.getGeometry();return t&&typeof t=="object"&&(t=t.clone()),new Io({geometry:t??void 0,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer()??void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})}getRenderer(){return this.renderer_}setRenderer(t){this.renderer_=t}setHitDetectionRenderer(t){this.hitDetectionRenderer_=t}getHitDetectionRenderer(){return this.hitDetectionRenderer_}getGeometry(){return this.geometry_}getGeometryFunction(){return this.geometryFunction_}getFill(){return this.fill_}setFill(t){this.fill_=t}getImage(){return this.image_}setImage(t){this.image_=t}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t}getText(){return this.text_}setText(t){this.text_=t}getZIndex(){return this.zIndex_}setGeometry(t){typeof t=="function"?this.geometryFunction_=t:typeof t=="string"?this.geometryFunction_=function(e){return e.get(t)}:t?t!==void 0&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=wd,this.geometry_=t}setZIndex(t){this.zIndex_=t}}function qv(r){let t;if(typeof r=="function")t=r;else{let e;Array.isArray(r)?e=r:(vt(typeof r.getZIndex=="function","Expected an `Style` or an array of `Style`"),e=[r]),t=function(){return e}}return t}let jl=null;function Jv(r,t){if(!jl){const e=new Po({color:"rgba(255,255,255,0.4)"}),i=new Do({color:"#3399CC",width:1.25});jl=[new Io({image:new Ad({fill:e,stroke:i,radius:5}),fill:e,stroke:i})]}return jl}function wd(r){return r.getGeometry()}const Xn=Io;function $v(r,t,e){const i=r;let n=!0,s=!1,a=!1;const h=[Ws(i,ut.LOAD,function(){a=!0,s||t()})];return i.src&&xu?(s=!0,i.decode().then(function(){n&&t()}).catch(function(c){n&&(a?t():e())})):h.push(Ws(i,ut.ERROR,e)),function(){n=!1,h.forEach(bt)}}function t0(r,t){return new Promise((e,i)=>{function n(){a(),e(r)}function s(){a(),i(new Error("Image load error"))}function a(){r.removeEventListener("load",n),r.removeEventListener("error",s)}r.addEventListener("load",n),r.addEventListener("error",s),t&&(r.src=t)})}function e0(r,t){return t&&(r.src=t),r.src&&xu?new Promise((e,i)=>r.decode().then(()=>e(r)).catch(n=>r.complete&&r.width?e(r):i(n))):t0(r)}let Vr=null;class i0 extends Hs{constructor(t,e,i,n,s){super(),this.hitDetectionImage_=null,this.image_=t,this.crossOrigin_=i,this.canvas_={},this.color_=s,this.imageState_=n===void 0?Mt.IDLE:n,this.size_=t&&t.width&&t.height?[t.width,t.height]:null,this.src_=e,this.tainted_}initializeImage_(){this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(this.tainted_===void 0&&this.imageState_===Mt.LOADED){Vr||(Vr=ee(1,1,void 0,{willReadFrequently:!0})),Vr.drawImage(this.image_,0,0);try{Vr.getImageData(0,0,1,1),this.tainted_=!1}catch{Vr=null,this.tainted_=!0}}return this.tainted_===!0}dispatchChangeEvent_(){this.dispatchEvent(ut.CHANGE)}handleImageError_(){this.imageState_=Mt.ERROR,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=Mt.LOADED,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(t){return this.image_||this.initializeImage_(),this.replaceColor_(t),this.canvas_[t]?this.canvas_[t]:this.image_}getPixelRatio(t){return this.replaceColor_(t),this.canvas_[t]?t:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const t=this.size_[0],e=this.size_[1],i=ee(t,e);i.fillRect(0,0,t,e),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===Mt.IDLE){this.image_||this.initializeImage_(),this.imageState_=Mt.LOADING;try{this.src_!==void 0&&(this.image_.src=this.src_)}catch{this.handleImageError_()}this.image_ instanceof HTMLImageElement&&e0(this.image_,this.src_).then(t=>{this.image_=t,this.handleImageLoad_()}).catch(this.handleImageError_.bind(this))}}replaceColor_(t){if(!this.color_||this.canvas_[t]||this.imageState_!==Mt.LOADED)return;const e=this.image_,i=document.createElement("canvas");i.width=Math.ceil(e.width*t),i.height=Math.ceil(e.height*t);const n=i.getContext("2d");n.scale(t,t),n.drawImage(e,0,0),n.globalCompositeOperation="multiply",n.fillStyle=Zu(this.color_),n.fillRect(0,0,i.width/t,i.height/t),n.globalCompositeOperation="destination-in",n.drawImage(e,0,0),this.canvas_[t]=i}}function n0(r,t,e,i,n){let s=t===void 0?void 0:go.get(t,e,n);return s||(s=new i0(r,r instanceof HTMLImageElement?r.src||void 0:t,e,i,n),go.set(t,e,n,s)),s}function Ed(r,t,e,i){return e!==void 0&&i!==void 0?[e/r,i/t]:e!==void 0?e/r:i!==void 0?i/t:1}class Hl extends vd{constructor(t){t=t||{};const e=t.opacity!==void 0?t.opacity:1,i=t.rotation!==void 0?t.rotation:0,n=t.scale!==void 0?t.scale:1,s=t.rotateWithView!==void 0?t.rotateWithView:!1;super({opacity:e,rotation:i,scale:n,displacement:t.displacement!==void 0?t.displacement:[0,0],rotateWithView:s,declutterMode:t.declutterMode}),this.anchor_=t.anchor!==void 0?t.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=t.anchorOrigin!==void 0?t.anchorOrigin:"top-left",this.anchorXUnits_=t.anchorXUnits!==void 0?t.anchorXUnits:"fraction",this.anchorYUnits_=t.anchorYUnits!==void 0?t.anchorYUnits:"fraction",this.crossOrigin_=t.crossOrigin!==void 0?t.crossOrigin:null;const a=t.img!==void 0?t.img:null;let h=t.src;vt(!(h!==void 0&&a),"`image` and `src` cannot be provided at the same time"),(h===void 0||h.length===0)&&a&&(h=a.src||gt(a)),vt(h!==void 0&&h.length>0,"A defined and non-empty `src` or `image` must be provided"),vt(!((t.width!==void 0||t.height!==void 0)&&t.scale!==void 0),"`width` or `height` cannot be provided together with `scale`");let c;if(t.src!==void 0?c=Mt.IDLE:a!==void 0&&(a instanceof HTMLImageElement?a.complete?c=a.src?Mt.LOADED:Mt.IDLE:c=Mt.LOADING:c=Mt.LOADED),this.color_=t.color!==void 0?Fr(t.color):null,this.iconImage_=n0(a,h,this.crossOrigin_,c,this.color_),this.offset_=t.offset!==void 0?t.offset:[0,0],this.offsetOrigin_=t.offsetOrigin!==void 0?t.offsetOrigin:"top-left",this.origin_=null,this.size_=t.size!==void 0?t.size:null,t.width!==void 0||t.height!==void 0){let d,f;if(t.size)[d,f]=t.size;else{const p=this.getImage(1);if(p.width&&p.height)d=p.width,f=p.height;else if(p instanceof HTMLImageElement){this.initialOptions_=t;const m=()=>{if(this.unlistenImageChange(m),!this.initialOptions_)return;const y=this.iconImage_.getSize();this.setScale(Ed(y[0],y[1],t.width,t.height))};this.listenImageChange(m);return}}d!==void 0&&this.setScale(Ed(d,f,t.width,t.height))}}clone(){let t,e,i;return this.initialOptions_?(e=this.initialOptions_.width,i=this.initialOptions_.height):(t=this.getScale(),t=Array.isArray(t)?t.slice():t),new Hl({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:t,width:e,height:i,size:this.size_!==null?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getAnchor(){let t=this.normalizedAnchor_;if(!t){t=this.anchor_;const n=this.getSize();if(this.anchorXUnits_=="fraction"||this.anchorYUnits_=="fraction"){if(!n)return null;t=this.anchor_.slice(),this.anchorXUnits_=="fraction"&&(t[0]*=n[0]),this.anchorYUnits_=="fraction"&&(t[1]*=n[1])}if(this.anchorOrigin_!="top-left"){if(!n)return null;t===this.anchor_&&(t=this.anchor_.slice()),(this.anchorOrigin_=="top-right"||this.anchorOrigin_=="bottom-right")&&(t[0]=-t[0]+n[0]),(this.anchorOrigin_=="bottom-left"||this.anchorOrigin_=="bottom-right")&&(t[1]=-t[1]+n[1])}this.normalizedAnchor_=t}const e=this.getDisplacement(),i=this.getScaleArray();return[t[0]-e[0]/i[0],t[1]+e[1]/i[1]]}setAnchor(t){this.anchor_=t,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(t){return this.iconImage_.getImage(t)}getPixelRatio(t){return this.iconImage_.getPixelRatio(t)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let t=this.offset_;if(this.offsetOrigin_!="top-left"){const e=this.getSize(),i=this.iconImage_.getSize();if(!e||!i)return null;t=t.slice(),(this.offsetOrigin_=="top-right"||this.offsetOrigin_=="bottom-right")&&(t[0]=i[0]-e[0]-t[0]),(this.offsetOrigin_=="bottom-left"||this.offsetOrigin_=="bottom-right")&&(t[1]=i[1]-e[1]-t[1])}return this.origin_=t,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){const t=this.getScaleArray();if(this.size_)return this.size_[0]*t[0];if(this.iconImage_.getImageState()==Mt.LOADED)return this.iconImage_.getSize()[0]*t[0]}getHeight(){const t=this.getScaleArray();if(this.size_)return this.size_[1]*t[1];if(this.iconImage_.getImageState()==Mt.LOADED)return this.iconImage_.getSize()[1]*t[1]}setScale(t){delete this.initialOptions_,super.setScale(t)}listenImageChange(t){this.iconImage_.addEventListener(ut.CHANGE,t)}load(){this.iconImage_.load()}unlistenImageChange(t){this.iconImage_.removeEventListener(ut.CHANGE,t)}}const Wl=Hl,r0="#333";class Yl{constructor(t){t=t||{},this.font_=t.font,this.rotation_=t.rotation,this.rotateWithView_=t.rotateWithView,this.scale_=t.scale,this.scaleArray_=Ee(t.scale!==void 0?t.scale:1),this.text_=t.text,this.textAlign_=t.textAlign,this.justify_=t.justify,this.repeat_=t.repeat,this.textBaseline_=t.textBaseline,this.fill_=t.fill!==void 0?t.fill:new Po({color:r0}),this.maxAngle_=t.maxAngle!==void 0?t.maxAngle:Math.PI/4,this.placement_=t.placement!==void 0?t.placement:"point",this.overflow_=!!t.overflow,this.stroke_=t.stroke!==void 0?t.stroke:null,this.offsetX_=t.offsetX!==void 0?t.offsetX:0,this.offsetY_=t.offsetY!==void 0?t.offsetY:0,this.backgroundFill_=t.backgroundFill?t.backgroundFill:null,this.backgroundStroke_=t.backgroundStroke?t.backgroundStroke:null,this.padding_=t.padding===void 0?null:t.padding}clone(){const t=this.getScale();return new Yl({font:this.getFont(),placement:this.getPlacement(),repeat:this.getRepeat(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,text:this.getText(),textAlign:this.getTextAlign(),justify:this.getJustify(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()||void 0})}getOverflow(){return this.overflow_}getFont(){return this.font_}getMaxAngle(){return this.maxAngle_}getPlacement(){return this.placement_}getRepeat(){return this.repeat_}getOffsetX(){return this.offsetX_}getOffsetY(){return this.offsetY_}getFill(){return this.fill_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getStroke(){return this.stroke_}getText(){return this.text_}getTextAlign(){return this.textAlign_}getJustify(){return this.justify_}getTextBaseline(){return this.textBaseline_}getBackgroundFill(){return this.backgroundFill_}getBackgroundStroke(){return this.backgroundStroke_}getPadding(){return this.padding_}setOverflow(t){this.overflow_=t}setFont(t){this.font_=t}setMaxAngle(t){this.maxAngle_=t}setOffsetX(t){this.offsetX_=t}setOffsetY(t){this.offsetY_=t}setPlacement(t){this.placement_=t}setRepeat(t){this.repeat_=t}setRotateWithView(t){this.rotateWithView_=t}setFill(t){this.fill_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=Ee(t!==void 0?t:1)}setStroke(t){this.stroke_=t}setText(t){this.text_=t}setTextAlign(t){this.textAlign_=t}setJustify(t){this.justify_=t}setTextBaseline(t){this.textBaseline_=t}setBackgroundFill(t){this.backgroundFill_=t}setBackgroundStroke(t){this.backgroundStroke_=t}setPadding(t){this.padding_=t}}const Cd=Yl;let Vn=0;const Kn=0,Ot=1<<Vn++,$=1<<Vn++,ke=1<<Vn++,ie=1<<Vn++,Bi=1<<Vn++,fe=Math.pow(2,Vn)-1,Ld={[Ot]:"boolean",[$]:"number",[ke]:"string",[ie]:"color",[Bi]:"number[]"},s0=Object.keys(Ld).map(Number).sort(Pi);function ne(r){const t=[];for(const e of s0)o0(r,e)&&t.push(Ld[e]);return t.length===0?"untyped":t.length<3?t.join(" or "):t.slice(0,-1).join(", ")+", or "+t[t.length-1]}function o0(r,t){return(r&t)===t}function Ve(r,t){return!!(r&t)}function So(r,t){return r===t}class Ni{constructor(t,e){this.type=t,this.value=e}}class a0{constructor(t,e,...i){this.type=t,this.operator=e,this.args=i}}function bd(){return{variables:new Set,properties:new Set,featureId:!1,style:{}}}function l0(r){switch(r){case"string":return ke;case"color":return ie;case"number":return $;case"boolean":return Ot;case"number[]":return Bi;default:throw new Error(`Unrecognized type hint: ${r}`)}}function Lt(r,t,e){switch(typeof r){case"boolean":return new Ni(Ot,r);case"number":return new Ni($,r);case"string":{let n=ke;return Ly(r)&&(n|=ie),So(n&e,Kn)||(n&=e),new Ni(n,r)}}if(!Array.isArray(r))throw new Error("Expression must be an array or a primitive value");if(r.length===0)throw new Error("Empty expression");if(typeof r[0]=="string")return v0(r,t,e);for(const n of r)if(typeof n!="number")throw new Error("Expected an array of numbers");let i=Bi;return(r.length===3||r.length===4)&&(i|=ie),e&&(i&=e),new Ni(i,r)}const N={Get:"get",Var:"var",Concat:"concat",GeometryType:"geometry-type",Any:"any",All:"all",Not:"!",Resolution:"resolution",Zoom:"zoom",Time:"time",Equal:"==",NotEqual:"!=",GreaterThan:">",GreaterThanOrEqualTo:">=",LessThan:"<",LessThanOrEqualTo:"<=",Multiply:"*",Divide:"/",Add:"+",Subtract:"-",Clamp:"clamp",Mod:"%",Pow:"^",Abs:"abs",Floor:"floor",Ceil:"ceil",Round:"round",Sin:"sin",Cos:"cos",Atan:"atan",Sqrt:"sqrt",Match:"match",Between:"between",Interpolate:"interpolate",Case:"case",In:"in",Number:"number",String:"string",Array:"array",Color:"color",Id:"id",Band:"band",Palette:"palette"},h0={[N.Get]:ht(([r,t])=>t!==void 0?l0(t.value):fe,_t(1,2),c0),[N.Var]:ht(([r])=>r.type,_t(1,1),u0),[N.Id]:ht($|ke,Kr,d0),[N.Concat]:ht(ke,_t(2,1/0),Et(fe)),[N.GeometryType]:ht(ke,Kr),[N.Resolution]:ht($,Kr),[N.Zoom]:ht($,Kr),[N.Time]:ht($,Kr),[N.Any]:ht(Ot,_t(2,1/0),Et(Ot)),[N.All]:ht(Ot,_t(2,1/0),Et(Ot)),[N.Not]:ht(Ot,_t(1,1),Et(Ot)),[N.Equal]:ht(Ot,_t(2,2),Et(fe),xn),[N.NotEqual]:ht(Ot,_t(2,2),Et(fe),xn),[N.GreaterThan]:ht(Ot,_t(2,2),Et(fe),xn),[N.GreaterThanOrEqualTo]:ht(Ot,_t(2,2),Et(fe),xn),[N.LessThan]:ht(Ot,_t(2,2),Et(fe),xn),[N.LessThanOrEqualTo]:ht(Ot,_t(2,2),Et(fe),xn),[N.Multiply]:ht(r=>{let t=$|ie;for(let e=0;e<r.length;e++)t&=r[e].type;return t},_t(2,1/0),Et($|ie),xn),[N.Divide]:ht($,_t(2,2),Et($)),[N.Add]:ht($,_t(2,1/0),Et($)),[N.Subtract]:ht($,_t(2,2),Et($)),[N.Clamp]:ht($,_t(3,3),Et($)),[N.Mod]:ht($,_t(2,2),Et($)),[N.Pow]:ht($,_t(2,2),Et($)),[N.Abs]:ht($,_t(1,1),Et($)),[N.Floor]:ht($,_t(1,1),Et($)),[N.Ceil]:ht($,_t(1,1),Et($)),[N.Round]:ht($,_t(1,1),Et($)),[N.Sin]:ht($,_t(1,1),Et($)),[N.Cos]:ht($,_t(1,1),Et($)),[N.Atan]:ht($,_t(1,2),Et($)),[N.Sqrt]:ht($,_t(1,1),Et($)),[N.Match]:ht(r=>{let t=fe;for(let e=2;e<r.length;e+=2)t&=r[e].type;return t&=r[r.length-1].type,t},_t(4,1/0),Td,g0),[N.Between]:ht(Ot,_t(3,3),Et($)),[N.Interpolate]:ht(r=>{let t=ie|$;for(let e=3;e<r.length;e+=2)t&=r[e].type;return t},_t(6,1/0),Td,p0),[N.Case]:ht(r=>{let t=fe;for(let e=1;e<r.length;e+=2)t&=r[e].type;return t&=r[r.length-1].type,t},_t(3,1/0),f0,m0),[N.In]:ht(Ot,_t(2,2),_0),[N.Number]:ht($,_t(1,1/0),Et(fe)),[N.String]:ht(ke,_t(1,1/0),Et(fe)),[N.Array]:ht(r=>r.length===3||r.length===4?Bi|ie:Bi,_t(1,1/0),Et($)),[N.Color]:ht(ie,_t(3,4),Et($)),[N.Band]:ht($,_t(1,3),Et($)),[N.Palette]:ht(ie,_t(2,2),y0)};function c0(r,t){const e=Lt(r[1],t);if(!(e instanceof Ni))throw new Error("Expected a literal argument for get operation");if(typeof e.value!="string")throw new Error("Expected a string argument for get operation");if(t.properties.add(e.value),r.length===3){const i=Lt(r[2],t);return[e,i]}return[e]}function u0(r,t,e,i){const n=r[1];if(typeof n!="string")throw new Error("Expected a string argument for var operation");if(t.variables.add(n),!("variables"in t.style)||t.style.variables[n]===void 0)return[new Ni(fe,n)];const s=t.style.variables[n],a=Lt(s,t);if(a.value=n,i&&!Ve(i,a.type))throw new Error(`The variable ${n} has type ${ne(a.type)} but the following type was expected: ${ne(i)}`);return[a]}function d0(r,t){t.featureId=!0}function Kr(r,t){const e=r[0];if(r.length!==1)throw new Error(`Expected no arguments for ${e} operation`);return[]}function _t(r,t){return function(e,i){const n=e[0],s=e.length-1;if(r===t){if(s!==r){const a=r===1?"":"s";throw new Error(`Expected ${r} argument${a} for ${n}, got ${s}`)}}else if(s<r||s>t){const a=t===1/0?`${r} or more`:`${r} to ${t}`;throw new Error(`Expected ${a} arguments for ${n}, got ${s}`)}}}function Et(r){return function(t,e){const i=t[0],n=t.length-1,s=new Array(n);for(let a=0;a<n;++a){const h=Lt(t[a+1],e);if(!Ve(r,h.type)){const c=ne(r),d=ne(h.type);throw new Error(`Unexpected type for argument ${a} of ${i} operation, got ${c} but expected ${d}`)}h.type&=r,s[a]=h}return s}}function xn(r,t,e){const i=r[0],n=r.length-1;let s=fe;for(let h=0;h<e.length;++h)s&=e[h].type;if(s===Kn)throw new Error(`No common type could be found for arguments of ${i} operation`);const a=new Array(n);for(let h=0;h<n;++h)a[h]=Lt(r[h+1],t,s);return a}function f0(r,t){const e=r[0],i=r.length-1;if(i%2===0)throw new Error(`An odd amount of arguments was expected for operation ${e}, got ${JSON.stringify(i)} instead`)}function Td(r,t){const e=r[0],i=r.length-1;if(i%2===1)throw new Error(`An even amount of arguments was expected for operation ${e}, got ${JSON.stringify(i)} instead`)}function g0(r,t,e,i){const n=r.length-1;let a=Lt(r[1],t).type;const h=Lt(r[r.length-1],t);let c=i!==void 0?i&h.type:h.type;const d=new Array(n-2);for(let p=0;p<n-2;p+=2){const m=Lt(r[p+2],t),y=Lt(r[p+3],t);a&=m.type,c&=y.type,d[p]=m,d[p+1]=y}const f=ke|$|Ot;if(!Ve(f,a))throw new Error(`Expected an input of type ${ne(f)} for the interpolate operation, got ${ne(a)} instead`);if(So(c,Kn))throw new Error("Could not find a common output type for the following match operation: "+JSON.stringify(r));for(let p=0;p<n-2;p+=2){const m=Lt(r[p+2],t,a),y=Lt(r[p+3],t,c);d[p]=m,d[p+1]=y}return[Lt(r[1],t,a),...d,Lt(r[r.length-1],t,c)]}function p0(r,t,e,i){const n=r[1];let s;switch(n[0]){case"linear":s=1;break;case"exponential":if(s=n[1],typeof s!="number")throw new Error(`Expected a number base for exponential interpolation, got ${JSON.stringify(s)} instead`);break;default:s=null}if(!s)throw new Error(`Invalid interpolation type: ${JSON.stringify(n)}`);s=Lt(s,t);let a=Lt(r[2],t);if(!Ve($,a.type))throw new Error(`Expected an input of type number for the interpolate operation, got ${ne(a.type)} instead`);a=Lt(r[2],t,$);const h=new Array(r.length-3);for(let c=0;c<h.length;c+=2){let d=Lt(r[c+3],t);if(!Ve($,d.type))throw new Error(`Expected all stop input values in the interpolate operation to be of type number, got ${ne(d.type)} at position ${c+2} instead`);let f=Lt(r[c+4],t);if(!Ve($|ie,f.type))throw new Error(`Expected all stop output values in the interpolate operation to be a number or color, got ${ne(f.type)} at position ${c+3} instead`);d=Lt(r[c+3],t,$),f=Lt(r[c+4],t,$|ie),h[c]=d,h[c+1]=f}return[s,a,...h]}function m0(r,t,e,i){const n=Lt(r[r.length-1],t);let s=i!==void 0?i&n.type:n.type;const a=new Array(r.length-1);for(let h=0;h<a.length-1;h+=2){const c=Lt(r[h+1],t),d=Lt(r[h+2],t);if(!Ve(Ot,c.type))throw new Error(`Expected all conditions in the case operation to be of type boolean, got ${ne(c.type)} at position ${h} instead`);s&=d.type,a[h]=c,a[h+1]=d}if(So(s,Kn))throw new Error("Could not find a common output type for the following case operation: "+JSON.stringify(r));for(let h=0;h<a.length-1;h+=2)a[h+1]=Lt(r[h+2],t,s);return a[a.length-1]=Lt(r[r.length-1],t,s),a}function _0(r,t){let e=r[2];if(!Array.isArray(e))throw new Error('The "in" operator was provided a literal value which was not an array as second argument.');if(typeof e[0]=="string"){if(e[0]!=="literal")throw new Error('For the "in" operator, a string array should be wrapped in a "literal" operator to disambiguate from expressions.');if(!Array.isArray(e[1]))throw new Error('The "in" operator was provided a literal value which was not an array as second argument.');e=e[1]}let i=ke|$;const n=new Array(e.length);for(let a=0;a<n.length;a++){const h=Lt(e[a],t);i&=h.type,n[a]=h}if(So(i,Kn))throw new Error("Could not find a common type for the following in operation: "+JSON.stringify(r));return[Lt(r[1],t,i),...n]}function y0(r,t){const e=Lt(r[1],t,$);if(e.type!==$)throw new Error(`The first argument of palette must be an number, got ${ne(e.type)} instead`);const i=r[2];if(!Array.isArray(i))throw new Error("The second argument of palette must be an array");const n=new Array(i.length);for(let s=0;s<n.length;s++){const a=Lt(i[s],t,ie);if(!(a instanceof Ni))throw new Error(`The palette color at index ${s} must be a literal value`);if(!Ve(a.type,ie))throw new Error(`The palette color at index ${s} should be of type color, got ${ne(a.type)} instead`);n[s]=a}return[e,...n]}function ht(r,...t){return function(e,i,n){const s=e[0];let a=[];for(let c=0;c<t.length;c++)a=t[c](e,i,a,n)||a;let h=typeof r=="function"?r(a):r;if(n!==void 0){if(!Ve(h,n))throw new Error(`The following expression was expected to return ${ne(n)}, but returns ${ne(h)} instead: ${JSON.stringify(e)}`);h&=n}if(h===Kn)throw new Error(`No matching type was found for the following expression: ${JSON.stringify(e)}`);return new a0(h,s,...a)}}function v0(r,t,e){const i=r[0],n=h0[i];if(!n)throw new Error(`Unknown operator: ${i}`);return n(r,t,e)}function Md(){return{variables:{},properties:{},resolution:NaN,featureId:null}}function Gi(r,t,e){const i=Lt(r,e);if(!Ve(t,i.type)){const n=ne(t),s=ne(i.type);throw new Error(`Expected expression to be of type ${n}, got ${s}`)}return gi(i)}function gi(r,t){if(r instanceof Ni){if(r.type===ie&&typeof r.value=="string"){const i=El(r.value);return function(){return i}}return function(){return r.value}}const e=r.operator;switch(e){case N.Number:case N.String:return x0(r);case N.Get:case N.Var:return A0(r);case N.Id:return i=>i.featureId;case N.Concat:{const i=r.args.map(n=>gi(n));return n=>"".concat(...i.map(s=>s(n).toString()))}case N.Resolution:return i=>i.resolution;case N.Any:case N.All:case N.Not:return E0(r);case N.Equal:case N.NotEqual:case N.LessThan:case N.LessThanOrEqualTo:case N.GreaterThan:case N.GreaterThanOrEqualTo:return w0(r);case N.Multiply:case N.Divide:case N.Add:case N.Subtract:case N.Clamp:case N.Mod:case N.Pow:case N.Abs:case N.Floor:case N.Ceil:case N.Round:case N.Sin:case N.Cos:case N.Atan:case N.Sqrt:return C0(r);case N.Match:return L0(r);case N.Interpolate:return b0(r);default:throw new Error(`Unsupported operator ${e}`)}}function x0(r,t){const e=r.operator,i=r.args.length,n=new Array(i);for(let s=0;s<i;++s)n[s]=gi(r.args[s]);switch(e){case N.Number:case N.String:return s=>{for(let a=0;a<i;++a){const h=n[a](s);if(typeof h===e)return h}throw new Error(`Expected one of the values to be a ${e}`)};default:throw new Error(`Unsupported assertion operator ${e}`)}}function A0(r,t){const i=r.args[0].value;switch(r.operator){case N.Get:return n=>n.properties[i];case N.Var:return n=>n.variables[i];default:throw new Error(`Unsupported accessor operator ${r.operator}`)}}function w0(r,t){const e=r.operator,i=gi(r.args[0]),n=gi(r.args[1]);switch(e){case N.Equal:return s=>i(s)===n(s);case N.NotEqual:return s=>i(s)!==n(s);case N.LessThan:return s=>i(s)<n(s);case N.LessThanOrEqualTo:return s=>i(s)<=n(s);case N.GreaterThan:return s=>i(s)>n(s);case N.GreaterThanOrEqualTo:return s=>i(s)>=n(s);default:throw new Error(`Unsupported comparison operator ${e}`)}}function E0(r,t){const e=r.operator,i=r.args.length,n=new Array(i);for(let s=0;s<i;++s)n[s]=gi(r.args[s]);switch(e){case N.Any:return s=>{for(let a=0;a<i;++a)if(n[a](s))return!0;return!1};case N.All:return s=>{for(let a=0;a<i;++a)if(!n[a](s))return!1;return!0};case N.Not:return s=>!n[0](s);default:throw new Error(`Unsupported logical operator ${e}`)}}function C0(r,t){const e=r.operator,i=r.args.length,n=new Array(i);for(let s=0;s<i;++s)n[s]=gi(r.args[s]);switch(e){case N.Multiply:return s=>{let a=1;for(let h=0;h<i;++h)a*=n[h](s);return a};case N.Divide:return s=>n[0](s)/n[1](s);case N.Add:return s=>{let a=0;for(let h=0;h<i;++h)a+=n[h](s);return a};case N.Subtract:return s=>n[0](s)-n[1](s);case N.Clamp:return s=>{const a=n[0](s),h=n[1](s);if(a<h)return h;const c=n[2](s);return a>c?c:a};case N.Mod:return s=>n[0](s)%n[1](s);case N.Pow:return s=>Math.pow(n[0](s),n[1](s));case N.Abs:return s=>Math.abs(n[0](s));case N.Floor:return s=>Math.floor(n[0](s));case N.Ceil:return s=>Math.ceil(n[0](s));case N.Round:return s=>Math.round(n[0](s));case N.Sin:return s=>Math.sin(n[0](s));case N.Cos:return s=>Math.cos(n[0](s));case N.Atan:return i===2?s=>Math.atan2(n[0](s),n[1](s)):s=>Math.atan(n[0](s));case N.Sqrt:return s=>Math.sqrt(n[0](s));default:throw new Error(`Unsupported numeric operator ${e}`)}}function L0(r,t){const e=r.args.length,i=new Array(e);for(let n=0;n<e;++n)i[n]=gi(r.args[n]);return n=>{const s=i[0](n);for(let a=1;a<e;a+=2)if(s===i[a](n))return i[a+1](n);return i[e-1](n)}}function b0(r,t){const e=r.args.length,i=new Array(e);for(let n=0;n<e;++n)i[n]=gi(r.args[n]);return n=>{const s=i[0](n),a=i[1](n);let h,c;for(let d=2;d<e;d+=2){const f=i[d](n);let p=i[d+1](n);const m=Array.isArray(p);if(m&&(p=Ey(p)),f>=a)return d===2?p:m?T0(s,a,h,c,f,p):Qr(s,a,h,c,f,p);h=f,c=p}return c}}function Qr(r,t,e,i,n,s){const a=n-e;if(a===0)return i;const h=t-e,c=r===1?h/a:(Math.pow(r,h)-1)/(Math.pow(r,a)-1);return i+c*(s-i)}function T0(r,t,e,i,n,s){if(n-e===0)return i;const h=Xu(i),c=Xu(s);let d=c[2]-h[2];d>180?d-=360:d<-180&&(d+=360);const f=[Qr(r,t,e,h[0],n,c[0]),Qr(r,t,e,h[1],n,c[1]),h[2]+Qr(r,t,e,0,n,d),Qr(r,t,e,i[3],n,s[3])];return Vu(Cy(f))}function M0(r){return!0}function P0(r){const t=bd(),e=D0(r,t),i=Md();return function(n,s){if(i.properties=n.getPropertiesInternal(),i.resolution=s,t.featureId){const a=n.getId();a!==void 0?i.featureId=a:i.featureId=null}return e(i)}}function Pd(r){const t=bd(),e=r.length,i=new Array(e);for(let a=0;a<e;++a)i[a]=Zl(r[a],t);const n=Md(),s=new Array(e);return function(a,h){if(n.properties=a.getPropertiesInternal(),n.resolution=h,t.featureId){const d=a.getId();d!==void 0?n.featureId=d:n.featureId=null}let c=0;for(let d=0;d<e;++d){const f=i[d](n);f&&(s[c]=f,c+=1)}return s.length=c,s}}function D0(r,t){const e=r.length,i=new Array(e);for(let n=0;n<e;++n){const s=r[n],a="filter"in s?Gi(s.filter,Ot,t):M0;let h;if(Array.isArray(s.style)){const c=s.style.length;h=new Array(c);for(let d=0;d<c;++d)h[d]=Zl(s.style[d],t)}else h=[Zl(s.style,t)];i[n]={filter:a,styles:h}}return function(n){const s=[];let a=!1;for(let h=0;h<e;++h){const c=i[h].filter;if(c(n)&&!(r[h].else&&a)){a=!0;for(const d of i[h].styles){const f=d(n);f&&s.push(f)}}}return s}}function Zl(r,t){const e=qr(r,"",t),i=Jr(r,"",t),n=I0(r,t),s=S0(r,t),a=ge(r,"z-index",t);if(!e&&!i&&!n&&!s&&!on(r))throw new Error("No fill, stroke, point, or text symbolizer properties in style: "+JSON.stringify(r));const h=new Xn;return function(c){let d=!0;if(e){const f=e(c);f&&(d=!1),h.setFill(f)}if(i){const f=i(c);f&&(d=!1),h.setStroke(f)}if(n){const f=n(c);f&&(d=!1),h.setText(f)}if(s){const f=s(c);f&&(d=!1),h.setImage(f)}return a&&h.setZIndex(a(c)),d?null:h}}function qr(r,t,e){const i=Dd(r,t+"fill-color",e);if(!i)return null;const n=new Po;return function(s){const a=i(s);return a==="none"?null:(n.setColor(a),n)}}function Jr(r,t,e){const i=ge(r,t+"stroke-width",e),n=Dd(r,t+"stroke-color",e);if(!i&&!n)return null;const s=Ui(r,t+"stroke-line-cap",e),a=Ui(r,t+"stroke-line-join",e),h=Id(r,t+"stroke-line-dash",e),c=ge(r,t+"stroke-line-dash-offset",e),d=ge(r,t+"stroke-miter-limit",e),f=new Do;return function(p){if(n){const m=n(p);if(m==="none")return null;f.setColor(m)}if(i&&f.setWidth(i(p)),s){const m=s(p);if(m!=="butt"&&m!=="round"&&m!=="square")throw new Error("Expected butt, round, or square line cap");f.setLineCap(m)}if(a){const m=a(p);if(m!=="bevel"&&m!=="round"&&m!=="miter")throw new Error("Expected bevel, round, or miter line join");f.setLineJoin(m)}return h&&f.setLineDash(h(p)),c&&f.setLineDashOffset(c(p)),d&&f.setMiterLimit(d(p)),f}}function I0(r,t){const e="text-",i=Ui(r,e+"value",t);if(!i)return null;const n=qr(r,e,t),s=qr(r,e+"background-",t),a=Jr(r,e,t),h=Jr(r,e+"background-",t),c=Ui(r,e+"font",t),d=ge(r,e+"max-angle",t),f=ge(r,e+"offset-x",t),p=ge(r,e+"offset-y",t),m=$r(r,e+"overflow",t),y=Ui(r,e+"placement",t),v=ge(r,e+"repeat",t),A=ko(r,e+"scale",t),b=$r(r,e+"rotate-with-view",t),M=ge(r,e+"rotation",t),w=Ui(r,e+"align",t),E=Ui(r,e+"justify",t),C=Ui(r,e+"baseline",t),P=Id(r,e+"padding",t),D=new Cd({});return function(O){if(D.setText(i(O)),n&&D.setFill(n(O)),s&&D.setBackgroundFill(s(O)),a&&D.setStroke(a(O)),h&&D.setBackgroundStroke(h(O)),c&&D.setFont(c(O)),d&&D.setMaxAngle(d(O)),f&&D.setOffsetX(f(O)),p&&D.setOffsetY(p(O)),m&&D.setOverflow(m(O)),y){const R=y(O);if(R!=="point"&&R!=="line")throw new Error("Expected point or line for text-placement");D.setPlacement(R)}if(v&&D.setRepeat(v(O)),A&&D.setScale(A(O)),b&&D.setRotateWithView(b(O)),M&&D.setRotation(M(O)),w){const R=w(O);if(R!=="left"&&R!=="center"&&R!=="right"&&R!=="end"&&R!=="start")throw new Error("Expected left, right, center, start, or end for text-align");D.setTextAlign(R)}if(E){const R=E(O);if(R!=="left"&&R!=="right"&&R!=="center")throw new Error("Expected left, right, or center for text-justify");D.setJustify(R)}if(C){const R=C(O);if(R!=="bottom"&&R!=="top"&&R!=="middle"&&R!=="alphabetic"&&R!=="hanging")throw new Error("Expected bottom, top, middle, alphabetic, or hanging for text-baseline");D.setTextBaseline(R)}return P&&D.setPadding(P(O)),D}}function S0(r,t){return"icon-src"in r?R0(r,t):"shape-points"in r?k0(r,t):"circle-radius"in r?O0(r,t):null}function R0(r,t){const e="icon-",i=e+"src",n=kd(r[i],i),s=Ro(r,e+"anchor",t),a=ko(r,e+"scale",t),h=ge(r,e+"opacity",t),c=Ro(r,e+"displacement",t),d=ge(r,e+"rotation",t),f=$r(r,e+"rotate-with-view",t),p=Sd(r,e+"anchor-origin"),m=Rd(r,e+"anchor-x-units"),y=Rd(r,e+"anchor-y-units"),v=N0(r,e+"color"),A=z0(r,e+"cross-origin"),b=B0(r,e+"offset"),M=Sd(r,e+"offset-origin"),w=Qn(r,e+"width"),E=Qn(r,e+"height"),C=F0(r,e+"size"),P=Xl(r,e+"declutter"),D=new Wl({src:n,anchorOrigin:p,anchorXUnits:m,anchorYUnits:y,color:v,crossOrigin:A,offset:b,offsetOrigin:M,height:E,width:w,size:C,declutterMode:P});return function(O){return h&&D.setOpacity(h(O)),c&&D.setDisplacement(c(O)),d&&D.setRotation(d(O)),f&&D.setRotateWithView(f(O)),a&&D.setScale(a(O)),s&&D.setAnchor(s(O)),D}}function k0(r,t){const e="shape-",i=e+"points",n=Od(r[i],i),s=qr(r,e,t),a=Jr(r,e,t),h=ko(r,e+"scale",t),c=Ro(r,e+"displacement",t),d=ge(r,e+"rotation",t),f=$r(r,e+"rotate-with-view",t),p=Qn(r,e+"radius"),m=Qn(r,e+"radius1"),y=Qn(r,e+"radius2"),v=Qn(r,e+"angle"),A=Xl(r,e+"declutter-mode"),b=new xd({points:n,radius:p,radius1:m,radius2:y,angle:v,declutterMode:A});return function(M){return s&&b.setFill(s(M)),a&&b.setStroke(a(M)),c&&b.setDisplacement(c(M)),d&&b.setRotation(d(M)),f&&b.setRotateWithView(f(M)),h&&b.setScale(h(M)),b}}function O0(r,t){const e="circle-",i=qr(r,e,t),n=Jr(r,e,t),s=ge(r,e+"radius",t),a=ko(r,e+"scale",t),h=Ro(r,e+"displacement",t),c=ge(r,e+"rotation",t),d=$r(r,e+"rotate-with-view",t),f=Xl(r,e+"declutter-mode"),p=new Ad({radius:5,declutterMode:f});return function(m){return s&&p.setRadius(s(m)),i&&p.setFill(i(m)),n&&p.setStroke(n(m)),h&&p.setDisplacement(h(m)),c&&p.setRotation(c(m)),d&&p.setRotateWithView(d(m)),a&&p.setScale(a(m)),p}}function ge(r,t,e){if(!(t in r))return;const i=Gi(r[t],$,e);return function(n){return Od(i(n),t)}}function Ui(r,t,e){if(!(t in r))return null;const i=Gi(r[t],ke,e);return function(n){return kd(i(n),t)}}function $r(r,t,e){if(!(t in r))return null;const i=Gi(r[t],Ot,e);return function(n){const s=i(n);if(typeof s!="boolean")throw new Error(`Expected a boolean for ${t}`);return s}}function Dd(r,t,e){if(!(t in r))return null;const i=Gi(r[t],ie|ke,e);return function(n){return Fd(i(n),t)}}function Id(r,t,e){if(!(t in r))return null;const i=Gi(r[t],Bi,e);return function(n){return ts(i(n),t)}}function Ro(r,t,e){if(!(t in r))return null;const i=Gi(r[t],Bi,e);return function(n){const s=ts(i(n),t);if(s.length!==2)throw new Error(`Expected two numbers for ${t}`);return s}}function ko(r,t,e){if(!(t in r))return null;const i=Gi(r[t],Bi|$,e);return function(n){return G0(i(n),t)}}function Qn(r,t){const e=r[t];if(e!==void 0){if(typeof e!="number")throw new Error(`Expected a number for ${t}`);return e}}function F0(r,t){const e=r[t];if(e!==void 0){if(typeof e=="number")return Ee(e);if(!Array.isArray(e))throw new Error(`Expected a number or size array for ${t}`);if(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number")throw new Error(`Expected a number or size array for ${t}`);return e}}function z0(r,t){const e=r[t];if(e!==void 0){if(typeof e!="string")throw new Error(`Expected a string for ${t}`);return e}}function Sd(r,t){const e=r[t];if(e!==void 0){if(e!=="bottom-left"&&e!=="bottom-right"&&e!=="top-left"&&e!=="top-right")throw new Error(`Expected bottom-left, bottom-right, top-left, or top-right for ${t}`);return e}}function Rd(r,t){const e=r[t];if(e!==void 0){if(e!=="pixels"&&e!=="fraction")throw new Error(`Expected pixels or fraction for ${t}`);return e}}function B0(r,t){const e=r[t];if(e!==void 0)return ts(e,t)}function Xl(r,t){const e=r[t];if(e!==void 0){if(typeof e!="string")throw new Error(`Expected a string for ${t}`);if(e!=="declutter"&&e!=="obstacle"&&e!=="none")throw new Error(`Expected declutter, obstacle, or none for ${t}`);return e}}function N0(r,t){const e=r[t];if(e!==void 0)return Fd(e,t)}function ts(r,t){if(!Array.isArray(r))throw new Error(`Expected an array for ${t}`);const e=r.length;for(let i=0;i<e;++i)if(typeof r[i]!="number")throw new Error(`Expected an array of numbers for ${t}`);return r}function kd(r,t){if(typeof r!="string")throw new Error(`Expected a string for ${t}`);return r}function Od(r,t){if(typeof r!="number")throw new Error(`Expected a number for ${t}`);return r}function Fd(r,t){if(typeof r=="string")return r;const e=ts(r,t),i=e.length;if(i<3||i>4)throw new Error(`Expected a color with 3 or 4 values for ${t}`);return e}function G0(r,t){if(typeof r=="number")return r;const e=ts(r,t);if(e.length!==2)throw new Error(`Expected an array of two numbers for ${t}`);return e}const zd={RENDER_ORDER:"renderOrder"};class U0 extends po{constructor(t){t=t||{};const e=Object.assign({},t);delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,super(e),this.declutter_=t.declutter!==void 0?t.declutter:!1,this.renderBuffer_=t.renderBuffer!==void 0?t.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(t.style),this.updateWhileAnimating_=t.updateWhileAnimating!==void 0?t.updateWhileAnimating:!1,this.updateWhileInteracting_=t.updateWhileInteracting!==void 0?t.updateWhileInteracting:!1}getDeclutter(){return this.declutter_}getFeatures(t){return super.getFeatures(t)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(zd.RENDER_ORDER)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(t){t.declutterTree||(t.declutterTree=new _d(9)),this.getRenderer().renderDeclutter(t)}setRenderOrder(t){this.set(zd.RENDER_ORDER,t)}setStyle(t){this.style_=j0(t),this.styleFunction_=t===null?void 0:qv(this.style_),this.changed()}}function j0(r){if(r===void 0)return Jv;if(!r)return null;if(typeof r=="function"||r instanceof Xn)return r;if(!Array.isArray(r))return Pd([r]);if(r.length===0)return[];const t=r.length,e=r[0];if(e instanceof Xn){const n=new Array(t);for(let s=0;s<t;++s){const a=r[s];if(!(a instanceof Xn))throw new Error("Expected a list of style instances");n[s]=a}return n}if("style"in e){const n=new Array(t);for(let s=0;s<t;++s){const a=r[s];if(!("style"in a))throw new Error("Expected a list of rules with a style property");n[s]=a}return P0(n)}return Pd(r)}const Vl=U0,oe={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVEFEATURE:"removefeature",FEATURESLOADSTART:"featuresloadstart",FEATURESLOADEND:"featuresloadend",FEATURESLOADERROR:"featuresloaderror"},Kl=34962,Ql=34963,H0=35040,W0=35044,ql=35048,Y0=5121,Z0=5123,X0=5125,Bd=5126,Nd=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function V0(r,t){t=Object.assign({preserveDrawingBuffer:!0,antialias:!Y_},t);const e=Nd.length;for(let i=0;i<e;++i)try{const n=r.getContext(Nd[i],t);if(n)return n}catch{}return null}const K0={STATIC_DRAW:W0,STREAM_DRAW:H0,DYNAMIC_DRAW:ql};class Q0{constructor(t,e){this.array_=null,this.type_=t,vt(t===Kl||t===Ql,"A `WebGLArrayBuffer` must either be of type `ELEMENT_ARRAY_BUFFER` or `ARRAY_BUFFER`"),this.usage_=e!==void 0?e:K0.STATIC_DRAW}ofSize(t){return this.array_=new(Jl(this.type_))(t),this}fromArray(t){return this.array_=Jl(this.type_).from(t),this}fromArrayBuffer(t){return this.array_=new(Jl(this.type_))(t),this}getType(){return this.type_}getArray(){return this.array_}getUsage(){return this.usage_}getSize(){return this.array_?this.array_.length:0}}function Jl(r){switch(r){case Kl:return Float32Array;case Ql:return Uint32Array;default:return Float32Array}}const Gd=Q0;class q0 extends Wc{constructor(t){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=t,this.declutterExecutorGroup=null}getFeatures(t){return lt()}getData(t){return null}prepareFrame(t){return lt()}renderFrame(t,e){return lt()}loadedTileCallback(t,e,i){t[e]||(t[e]={}),t[e][i.tileCoord.toString()]=i}createLoadedTileFinder(t,e,i){return(n,s)=>{const a=this.loadedTileCallback.bind(this,i,n);return t.forEachLoadedTile(e,n,s,a)}}forEachFeatureAtCoordinate(t,e,i,n,s){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(t){const e=t.target;(e.getState()===Mt.LOADED||e.getState()===Mt.ERROR)&&this.renderIfReadyAndVisible()}loadImage(t){let e=t.getState();return e!=Mt.LOADED&&e!=Mt.ERROR&&t.addEventListener(ut.CHANGE,this.boundHandleImageChange_),e==Mt.IDLE&&(t.load(),e=t.getState()),e==Mt.LOADED}renderIfReadyAndVisible(){const t=this.getLayer();t&&t.getVisible()&&t.getSourceState()==="ready"&&t.changed()}disposeInternal(){delete this.layer_,super.disposeInternal()}}const Ud=q0,Oo={LOST:"webglcontextlost",RESTORED:"webglcontextrestored"},J0=`
23
+ `+v;si.get(A)===void 0&&(si.set(A,100,!0),h(f.style,f.weight,v)||(si.set(A,0,!0),o===void 0&&(o=setInterval(c,32))))}}}(),Ay=function(){let r;return function(t){let e=rl[t];if(e==null){if(Ha){const i=Su(t),n=ku(t,"Žg");e=(isNaN(Number(i.lineHeight))?1.2:Number(i.lineHeight))*(n.actualBoundingBoxAscent+n.actualBoundingBoxDescent)}else r||(r=document.createElement("div"),r.innerHTML="M",r.style.minHeight="0",r.style.maxHeight="none",r.style.height="auto",r.style.padding="0",r.style.border="none",r.style.position="absolute",r.style.display="block",r.style.left="-99999px"),r.style.font=t,document.body.appendChild(r),e=r.offsetHeight,document.body.removeChild(r);rl[t]=e}return e}}();function ku(r,t){return In||(In=qt(1,1)),r!=nl&&(In.font=r,nl=In.font),In.measureText(t)}function ro(r,t){return ku(r,t).width}function Ou(r,t,e){if(t in e)return e[t];const i=t.split(`
24
+ `).reduce((n,o)=>Math.max(n,ro(r,o)),0);return e[t]=i,i}function wy(r,t){const e=[],i=[],n=[];let o=0,a=0,h=0,c=0;for(let d=0,f=t.length;d<=f;d+=2){const p=t[d];if(p===`
25
+ `||d===f){o=Math.max(o,a),n.push(a),a=0,h+=c;continue}const _=t[d+1]||r.font,y=ro(_,p);e.push(y),a+=y;const v=Ay(_);i.push(v),c=Math.max(c,v)}return{width:o,height:h,widths:e,heights:i,lineWidths:n}}function Ey(r,t,e,i,n,o,a,h,c,d,f){r.save(),e!==1&&(r.globalAlpha*=e),t&&r.transform.apply(r,t),i.contextInstructions?(r.translate(c,d),r.scale(f[0],f[1]),Cy(i,r)):f[0]<0||f[1]<0?(r.translate(c,d),r.scale(f[0],f[1]),r.drawImage(i,n,o,a,h,0,0,a,h)):r.drawImage(i,n,o,a,h,c,d,a*f[0],h*f[1]),r.restore()}function Cy(r,t){const e=r.contextInstructions;for(let i=0,n=e.length;i<n;i+=2)Array.isArray(e[i+1])?t[e[i]].apply(t,e[i+1]):t[e[i]]=e[i+1]}class Ly extends fy{constructor(t){super(t),this.fontChangeListenerKey_=ft(si,An.PROPERTYCHANGE,t.redrawText.bind(t)),this.element_=document.createElement("div");const e=this.element_.style;e.position="absolute",e.width="100%",e.height="100%",e.zIndex="0",this.element_.className=Lr+" ol-layers";const i=t.getViewport();i.insertBefore(this.element_,i.firstChild||null),this.children_=[],this.renderedVisible_=!0,this.declutterLayers_=[]}dispatchRenderEvent(t,e){const i=this.getMap();if(i.hasListener(t)){const n=new Cr(t,void 0,e);i.dispatchEvent(n)}}disposeInternal(){Et(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(t){if(!t){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(t),this.dispatchRenderEvent(Qt.PRECOMPOSE,t);const e=t.layerStatesArray.sort(function(a,h){return a.zIndex-h.zIndex}),i=t.viewState;this.children_.length=0;const n=this.declutterLayers_;n.length=0;let o=null;for(let a=0,h=e.length;a<h;++a){const c=e[a];t.layerIndex=a;const d=c.layer,f=d.getSourceState();if(!il(c,i)||f!="ready"&&f!="undefined"){d.unrender();continue}const p=d.render(t,o);p&&(p!==o&&(this.children_.push(p),o=p),"getDeclutter"in d&&n.push(d))}this.flushDeclutterItems(t),vy(this.element_,this.children_),this.dispatchRenderEvent(Qt.POSTCOMPOSE,t),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(t)}flushDeclutterItems(t){const e=this.declutterLayers_;for(let i=e.length-1;i>=0;--i)e[i].renderDeclutter(t);e.length=0}}const by=Ly;class Ci extends $e{constructor(t,e){super(t),this.layer=e}}const sl={LAYERS:"layers"};class ol extends Tu{constructor(t){t=t||{};const e=Object.assign({},t);delete e.layers;let i=t.layers;super(e),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(sl.LAYERS,this.handleLayersChanged_),i?Array.isArray(i)?i=new Ne(i.slice(),{unique:!0}):_t(typeof i.getArray=="function","Expected `layers` to be an array or a `Collection`"):i=new Ne(void 0,{unique:!0}),this.setLayers(i)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(Et),this.layersListenerKeys_.length=0;const t=this.getLayers();this.layersListenerKeys_.push(ft(t,oe.ADD,this.handleLayersAdd_,this),ft(t,oe.REMOVE,this.handleLayersRemove_,this));for(const i in this.listenerKeys_)this.listenerKeys_[i].forEach(Et);En(this.listenerKeys_);const e=t.getArray();for(let i=0,n=e.length;i<n;i++){const o=e[i];this.registerLayerListeners_(o),this.dispatchEvent(new Ci("addlayer",o))}this.changed()}registerLayerListeners_(t){const e=[ft(t,An.PROPERTYCHANGE,this.handleLayerChange_,this),ft(t,ht.CHANGE,this.handleLayerChange_,this)];t instanceof ol&&e.push(ft(t,"addlayer",this.handleLayerGroupAdd_,this),ft(t,"removelayer",this.handleLayerGroupRemove_,this)),this.listenerKeys_[ut(t)]=e}handleLayerGroupAdd_(t){this.dispatchEvent(new Ci("addlayer",t.layer))}handleLayerGroupRemove_(t){this.dispatchEvent(new Ci("removelayer",t.layer))}handleLayersAdd_(t){const e=t.element;this.registerLayerListeners_(e),this.dispatchEvent(new Ci("addlayer",e)),this.changed()}handleLayersRemove_(t){const e=t.element,i=ut(e);this.listenerKeys_[i].forEach(Et),delete this.listenerKeys_[i],this.dispatchEvent(new Ci("removelayer",e)),this.changed()}getLayers(){return this.get(sl.LAYERS)}setLayers(t){const e=this.getLayers();if(e){const i=e.getArray();for(let n=0,o=i.length;n<o;++n)this.dispatchEvent(new Ci("removelayer",i[n]))}this.set(sl.LAYERS,t)}getLayersArray(t){return t=t!==void 0?t:[],this.getLayers().forEach(function(e){e.getLayersArray(t)}),t}getLayerStatesArray(t){const e=t!==void 0?t:[],i=e.length;this.getLayers().forEach(function(a){a.getLayerStatesArray(e)});const n=this.getLayerState();let o=n.zIndex;!t&&n.zIndex===void 0&&(o=0);for(let a=i,h=e.length;a<h;a++){const c=e[a];c.opacity*=n.opacity,c.visible=c.visible&&n.visible,c.maxResolution=Math.min(c.maxResolution,n.maxResolution),c.minResolution=Math.max(c.minResolution,n.minResolution),c.minZoom=Math.max(c.minZoom,n.minZoom),c.maxZoom=Math.min(c.maxZoom,n.maxZoom),n.extent!==void 0&&(c.extent!==void 0?c.extent=xr(c.extent,n.extent):c.extent=n.extent),c.zIndex===void 0&&(c.zIndex=o)}return e}getSourceState(){return"ready"}}const so=ol;class Ty extends $e{constructor(t,e,i){super(t),this.map=e,this.frameState=i!==void 0?i:null}}const kn=Ty;class My extends kn{constructor(t,e,i,n,o,a){super(t,e,o),this.originalEvent=i,this.pixel_=null,this.coordinate_=null,this.dragging=n!==void 0?n:!1,this.activePointers=a}get pixel(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_}set pixel(t){this.pixel_=t}get coordinate(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_}set coordinate(t){this.coordinate_=t}preventDefault(){super.preventDefault(),"preventDefault"in this.originalEvent&&this.originalEvent.preventDefault()}stopPropagation(){super.stopPropagation(),"stopPropagation"in this.originalEvent&&this.originalEvent.stopPropagation()}}const Li=My,St={SINGLECLICK:"singleclick",CLICK:ht.CLICK,DBLCLICK:ht.DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"},al={POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"};class Py extends bs{constructor(t,e){super(t),this.map_=t,this.clickTimeoutId_,this.emulateClicks_=!1,this.dragging_=!1,this.dragListenerKeys_=[],this.moveTolerance_=e===void 0?1:e,this.down_=null;const i=this.map_.getViewport();this.activePointers_=[],this.trackedTouches_={},this.element_=i,this.pointerdownListenerKey_=ft(i,al.POINTERDOWN,this.handlePointerDown_,this),this.originalPointerMoveEvent_,this.relayedListenerKey_=ft(i,al.POINTERMOVE,this.relayMoveEvent_,this),this.boundHandleTouchMove_=this.handleTouchMove_.bind(this),this.element_.addEventListener(ht.TOUCHMOVE,this.boundHandleTouchMove_,tu?{passive:!1}:!1)}emulateClick_(t){let e=new Li(St.CLICK,this.map_,t);this.dispatchEvent(e),this.clickTimeoutId_!==void 0?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,e=new Li(St.DBLCLICK,this.map_,t),this.dispatchEvent(e)):this.clickTimeoutId_=setTimeout(()=>{this.clickTimeoutId_=void 0;const i=new Li(St.SINGLECLICK,this.map_,t);this.dispatchEvent(i)},250)}updateActivePointers_(t){const e=t,i=e.pointerId;if(e.type==St.POINTERUP||e.type==St.POINTERCANCEL){delete this.trackedTouches_[i];for(const n in this.trackedTouches_)if(this.trackedTouches_[n].target!==e.target){delete this.trackedTouches_[n];break}}else(e.type==St.POINTERDOWN||e.type==St.POINTERMOVE)&&(this.trackedTouches_[i]=e);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(t){this.updateActivePointers_(t);const e=new Li(St.POINTERUP,this.map_,t,void 0,void 0,this.activePointers_);this.dispatchEvent(e),this.emulateClicks_&&!e.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(t)&&this.emulateClick_(this.down_),this.activePointers_.length===0&&(this.dragListenerKeys_.forEach(Et),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(t){return t.button===0}handlePointerDown_(t){this.emulateClicks_=this.activePointers_.length===0,this.updateActivePointers_(t);const e=new Li(St.POINTERDOWN,this.map_,t,void 0,void 0,this.activePointers_);if(this.dispatchEvent(e),this.down_=new PointerEvent(t.type,t),Object.defineProperty(this.down_,"target",{writable:!1,value:t.target}),this.dragListenerKeys_.length===0){const i=this.map_.getOwnerDocument();this.dragListenerKeys_.push(ft(i,St.POINTERMOVE,this.handlePointerMove_,this),ft(i,St.POINTERUP,this.handlePointerUp_,this),ft(this.element_,St.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==i&&this.dragListenerKeys_.push(ft(this.element_.getRootNode(),St.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(t){if(this.isMoving_(t)){this.updateActivePointers_(t),this.dragging_=!0;const e=new Li(St.POINTERDRAG,this.map_,t,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(e)}}relayMoveEvent_(t){this.originalPointerMoveEvent_=t;const e=!!(this.down_&&this.isMoving_(t));this.dispatchEvent(new Li(St.POINTERMOVE,this.map_,t,e))}handleTouchMove_(t){const e=this.originalPointerMoveEvent_;(!e||e.defaultPrevented)&&(typeof t.cancelable!="boolean"||t.cancelable===!0)&&t.preventDefault()}isMoving_(t){return this.dragging_||Math.abs(t.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(t.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(Et(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(ht.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(Et(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(Et),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const Dy=Py,oi={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},Ht={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},oo=1/0;class Sy{constructor(t,e){this.priorityFunction_=t,this.keyFunction_=e,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,En(this.queuedElements_)}dequeue(){const t=this.elements_,e=this.priorities_,i=t[0];t.length==1?(t.length=0,e.length=0):(t[0]=t.pop(),e[0]=e.pop(),this.siftUp_(0));const n=this.keyFunction_(i);return delete this.queuedElements_[n],i}enqueue(t){_t(!(this.keyFunction_(t)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const e=this.priorityFunction_(t);return e!=oo?(this.elements_.push(t),this.priorities_.push(e),this.queuedElements_[this.keyFunction_(t)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1}getCount(){return this.elements_.length}getLeftChildIndex_(t){return t*2+1}getRightChildIndex_(t){return t*2+2}getParentIndex_(t){return t-1>>1}heapify_(){let t;for(t=(this.elements_.length>>1)-1;t>=0;t--)this.siftUp_(t)}isEmpty(){return this.elements_.length===0}isKeyQueued(t){return t in this.queuedElements_}isQueued(t){return this.isKeyQueued(this.keyFunction_(t))}siftUp_(t){const e=this.elements_,i=this.priorities_,n=e.length,o=e[t],a=i[t],h=t;for(;t<n>>1;){const c=this.getLeftChildIndex_(t),d=this.getRightChildIndex_(t),f=d<n&&i[d]<i[c]?d:c;e[t]=e[f],i[t]=i[f],t=f}e[t]=o,i[t]=a,this.siftDown_(h,t)}siftDown_(t,e){const i=this.elements_,n=this.priorities_,o=i[e],a=n[e];for(;e>t;){const h=this.getParentIndex_(e);if(n[h]>a)i[e]=i[h],n[e]=n[h],e=h;else break}i[e]=o,n[e]=a}reprioritize(){const t=this.priorityFunction_,e=this.elements_,i=this.priorities_;let n=0;const o=e.length;let a,h,c;for(h=0;h<o;++h)a=e[h],c=t(a),c==oo?delete this.queuedElements_[this.keyFunction_(a)]:(i[n]=c,e[n++]=a);e.length=n,i.length=n,this.heapify_()}}const Ry=Sy,nt={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};class Iy extends Ry{constructor(t,e){super(function(i){return t.apply(null,i)},function(i){return i[0].getKey()}),this.boundHandleTileChange_=this.handleTileChange.bind(this),this.tileChangeCallback_=e,this.tilesLoading_=0,this.tilesLoadingKeys_={}}enqueue(t){const e=super.enqueue(t);return e&&t[0].addEventListener(ht.CHANGE,this.boundHandleTileChange_),e}getTilesLoading(){return this.tilesLoading_}handleTileChange(t){const e=t.target,i=e.getState();if(i===nt.LOADED||i===nt.ERROR||i===nt.EMPTY){i!==nt.ERROR&&e.removeEventListener(ht.CHANGE,this.boundHandleTileChange_);const n=e.getKey();n in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[n],--this.tilesLoading_),this.tileChangeCallback_()}}loadMoreTiles(t,e){let i=0,n,o,a;for(;this.tilesLoading_<t&&i<e&&this.getCount()>0;)o=this.dequeue()[0],a=o.getKey(),n=o.getState(),n===nt.IDLE&&!(a in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[a]=!0,++this.tilesLoading_,++i,o.load())}}const ky=Iy;function Oy(r,t,e,i,n){if(!r||!(e in r.wantedTiles)||!r.wantedTiles[e][t.getKey()])return oo;const o=r.viewState.center,a=i[0]-o[0],h=i[1]-o[1];return 65536*Math.log(n)+Math.sqrt(a*a+h*h)/n}class Fy extends Ce{constructor(t){super();const e=t.element;e&&!t.target&&!e.style.pointerEvents&&(e.style.pointerEvents="auto"),this.element=e||null,this.target_=null,this.map_=null,this.listenerKeys=[],t.render&&(this.render=t.render),t.target&&this.setTarget(t.target)}disposeInternal(){io(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(t){this.map_&&io(this.element);for(let e=0,i=this.listenerKeys.length;e<i;++e)Et(this.listenerKeys[e]);this.listenerKeys.length=0,this.map_=t,t&&((this.target_?this.target_:t.getOverlayContainerStopEvent()).appendChild(this.element),this.render!==wn&&this.listenerKeys.push(ft(t,oi.POSTRENDER,this.render,this)),t.render())}render(t){}setTarget(t){this.target_=typeof t=="string"?document.getElementById(t):t}}const ao=Fy;class zy extends ao{constructor(t){t=t||{},super({element:document.createElement("div"),render:t.render,target:t.target}),this.ulElement_=document.createElement("ul"),this.collapsed_=t.collapsed!==void 0?t.collapsed:!0,this.userCollapsed_=this.collapsed_,this.overrideCollapsible_=t.collapsible!==void 0,this.collapsible_=t.collapsible!==void 0?t.collapsible:!0,this.collapsible_||(this.collapsed_=!1);const e=t.className!==void 0?t.className:"ol-attribution",i=t.tipLabel!==void 0?t.tipLabel:"Attributions",n=t.expandClassName!==void 0?t.expandClassName:e+"-expand",o=t.collapseLabel!==void 0?t.collapseLabel:"›",a=t.collapseClassName!==void 0?t.collapseClassName:e+"-collapse";typeof o=="string"?(this.collapseLabel_=document.createElement("span"),this.collapseLabel_.textContent=o,this.collapseLabel_.className=a):this.collapseLabel_=o;const h=t.label!==void 0?t.label:"i";typeof h=="string"?(this.label_=document.createElement("span"),this.label_.textContent=h,this.label_.className=n):this.label_=h;const c=this.collapsible_&&!this.collapsed_?this.collapseLabel_:this.label_;this.toggleButton_=document.createElement("button"),this.toggleButton_.setAttribute("type","button"),this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_)),this.toggleButton_.title=i,this.toggleButton_.appendChild(c),this.toggleButton_.addEventListener(ht.CLICK,this.handleClick_.bind(this),!1);const d=e+" "+Lr+" "+$s+(this.collapsed_&&this.collapsible_?" "+Pu:"")+(this.collapsible_?"":" ol-uncollapsible"),f=this.element;f.className=d,f.appendChild(this.toggleButton_),f.appendChild(this.ulElement_),this.renderedAttributions_=[],this.renderedVisible_=!0}collectSourceAttributions_(t){const e=Array.from(new Set(this.getMap().getAllLayers().flatMap(n=>n.getAttributions(t)))),i=!this.getMap().getAllLayers().some(n=>n.getSource()&&n.getSource().getAttributionsCollapsible()===!1);return this.overrideCollapsible_||this.setCollapsible(i),e}updateElement_(t){if(!t){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const e=this.collectSourceAttributions_(t),i=e.length>0;if(this.renderedVisible_!=i&&(this.element.style.display=i?"":"none",this.renderedVisible_=i),!ei(e,this.renderedAttributions_)){Ru(this.ulElement_);for(let n=0,o=e.length;n<o;++n){const a=document.createElement("li");a.innerHTML=e[n],this.ulElement_.appendChild(a)}this.renderedAttributions_=e}}handleClick_(t){t.preventDefault(),this.handleToggle_(),this.userCollapsed_=this.collapsed_}handleToggle_(){this.element.classList.toggle(Pu),this.collapsed_?eo(this.collapseLabel_,this.label_):eo(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_,this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_))}getCollapsible(){return this.collapsible_}setCollapsible(t){this.collapsible_!==t&&(this.collapsible_=t,this.element.classList.toggle("ol-uncollapsible"),this.userCollapsed_&&this.handleToggle_())}setCollapsed(t){this.userCollapsed_=t,!(!this.collapsible_||this.collapsed_===t)&&this.handleToggle_()}getCollapsed(){return this.collapsed_}render(t){this.updateElement_(t.frameState)}}const Fu=zy;class By extends ao{constructor(t){t=t||{},super({element:document.createElement("div"),render:t.render,target:t.target});const e=t.className!==void 0?t.className:"ol-rotate",i=t.label!==void 0?t.label:"⇧",n=t.compassClassName!==void 0?t.compassClassName:"ol-compass";this.label_=null,typeof i=="string"?(this.label_=document.createElement("span"),this.label_.className=n,this.label_.textContent=i):(this.label_=i,this.label_.classList.add(n));const o=t.tipLabel?t.tipLabel:"Reset rotation",a=document.createElement("button");a.className=e+"-reset",a.setAttribute("type","button"),a.title=o,a.appendChild(this.label_),a.addEventListener(ht.CLICK,this.handleClick_.bind(this),!1);const h=e+" "+Lr+" "+$s,c=this.element;c.className=h,c.appendChild(a),this.callResetNorth_=t.resetNorth?t.resetNorth:void 0,this.duration_=t.duration!==void 0?t.duration:250,this.autoHide_=t.autoHide!==void 0?t.autoHide:!0,this.rotation_=void 0,this.autoHide_&&this.element.classList.add(Js)}handleClick_(t){t.preventDefault(),this.callResetNorth_!==void 0?this.callResetNorth_():this.resetNorth_()}resetNorth_(){const e=this.getMap().getView();if(!e)return;const i=e.getRotation();i!==void 0&&(this.duration_>0&&i%(2*Math.PI)!==0?e.animate({rotation:0,duration:this.duration_,easing:Dn}):e.setRotation(0))}render(t){const e=t.frameState;if(!e)return;const i=e.viewState.rotation;if(i!=this.rotation_){const n="rotate("+i+"rad)";if(this.autoHide_){const o=this.element.classList.contains(Js);!o&&i===0?this.element.classList.add(Js):o&&i!==0&&this.element.classList.remove(Js)}this.label_.style.transform=n}this.rotation_=i}}const Ny=By;class Gy extends ao{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target});const e=t.className!==void 0?t.className:"ol-zoom",i=t.delta!==void 0?t.delta:1,n=t.zoomInClassName!==void 0?t.zoomInClassName:e+"-in",o=t.zoomOutClassName!==void 0?t.zoomOutClassName:e+"-out",a=t.zoomInLabel!==void 0?t.zoomInLabel:"+",h=t.zoomOutLabel!==void 0?t.zoomOutLabel:"–",c=t.zoomInTipLabel!==void 0?t.zoomInTipLabel:"Zoom in",d=t.zoomOutTipLabel!==void 0?t.zoomOutTipLabel:"Zoom out",f=document.createElement("button");f.className=n,f.setAttribute("type","button"),f.title=c,f.appendChild(typeof a=="string"?document.createTextNode(a):a),f.addEventListener(ht.CLICK,this.handleClick_.bind(this,i),!1);const p=document.createElement("button");p.className=o,p.setAttribute("type","button"),p.title=d,p.appendChild(typeof h=="string"?document.createTextNode(h):h),p.addEventListener(ht.CLICK,this.handleClick_.bind(this,-i),!1);const _=e+" "+Lr+" "+$s,y=this.element;y.className=_,y.appendChild(f),y.appendChild(p),this.duration_=t.duration!==void 0?t.duration:250}handleClick_(t,e){e.preventDefault(),this.zoomByDelta_(t)}zoomByDelta_(t){const i=this.getMap().getView();if(!i)return;const n=i.getZoom();if(n!==void 0){const o=i.getConstrainedZoom(n+t);this.duration_>0?(i.getAnimating()&&i.cancelAnimations(),i.animate({zoom:o,duration:this.duration_,easing:Dn})):i.setZoom(o)}}}const Uy=Gy;function zu(r){r=r||{};const t=new Ne;return(r.zoom!==void 0?r.zoom:!0)&&t.push(new Uy(r.zoomOptions)),(r.rotate!==void 0?r.rotate:!0)&&t.push(new Ny(r.rotateOptions)),(r.attribution!==void 0?r.attribution:!0)&&t.push(new Fu(r.attributionOptions)),t}const Bu={ACTIVE:"active"};class jy extends Ce{constructor(t){super(),this.on,this.once,this.un,t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(Bu.ACTIVE)}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set(Bu.ACTIVE,t)}setMap(t){this.map_=t}}function Hy(r,t,e){const i=r.getCenterInternal();if(i){const n=[i[0]+t[0],i[1]+t[1]];r.animateInternal({duration:e!==void 0?e:250,easing:A_,center:r.getConstrainedCenter(n)})}}function ll(r,t,e,i){const n=r.getZoom();if(n===void 0)return;const o=r.getConstrainedZoom(n+t),a=r.getResolutionForZoom(o);r.getAnimating()&&r.cancelAnimations(),r.animate({resolution:a,anchor:e,duration:i!==void 0?i:250,easing:Dn})}const Dr=jy;class Wy extends Dr{constructor(t){super(),t=t||{},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:250}handleEvent(t){let e=!1;if(t.type==St.DBLCLICK){const i=t.originalEvent,n=t.map,o=t.coordinate,a=i.shiftKey?-this.delta_:this.delta_,h=n.getView();ll(h,a,o,this.duration_),i.preventDefault(),e=!0}return!e}}const Yy=Wy;class Xy extends Dr{constructor(t){t=t||{},super(t),t.handleDownEvent&&(this.handleDownEvent=t.handleDownEvent),t.handleDragEvent&&(this.handleDragEvent=t.handleDragEvent),t.handleMoveEvent&&(this.handleMoveEvent=t.handleMoveEvent),t.handleUpEvent&&(this.handleUpEvent=t.handleUpEvent),t.stopDown&&(this.stopDown=t.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(t){return!1}handleDragEvent(t){}handleEvent(t){if(!t.originalEvent)return!0;let e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==St.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==St.POINTERUP){const i=this.handleUpEvent(t);this.handlingDownUpSequence=i&&this.targetPointers.length>0}}else if(t.type==St.POINTERDOWN){const i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==St.POINTERMOVE&&this.handleMoveEvent(t);return!e}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}}function hl(r){const t=r.length;let e=0,i=0;for(let n=0;n<t;n++)e+=r[n].clientX,i+=r[n].clientY;return{clientX:e/t,clientY:i/t}}const Sr=Xy;function cl(r){const t=arguments;return function(e){let i=!0;for(let n=0,o=t.length;n<o&&(i=i&&t[n](e),!!i);++n);return i}}const Zy=function(r){const t=r.originalEvent;return t.altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey},Vy=function(r){const t=r.map.getTargetElement(),e=r.map.getOwnerDocument().activeElement;return t.contains(e)},Nu=function(r){return r.map.getTargetElement().hasAttribute("tabindex")?Vy(r):!0},Ky=pr,Gu=function(r){const t=r.originalEvent;return t.button==0&&!(C_&&qc&&t.ctrlKey)},Uu=function(r){const t=r.originalEvent;return!t.altKey&&!(t.metaKey||t.ctrlKey)&&!t.shiftKey},Qy=function(r){const t=r.originalEvent;return qc?t.metaKey:t.ctrlKey},qy=function(r){const t=r.originalEvent;return!t.altKey&&!(t.metaKey||t.ctrlKey)&&t.shiftKey},ju=function(r){const t=r.originalEvent,e=t.target.tagName;return e!=="INPUT"&&e!=="SELECT"&&e!=="TEXTAREA"&&!t.target.isContentEditable},ul=function(r){const t=r.originalEvent;return _t(t!==void 0,"mapBrowserEvent must originate from a pointer event"),t.pointerType=="mouse"},Jy=function(r){const t=r.originalEvent;return _t(t!==void 0,"mapBrowserEvent must originate from a pointer event"),t.isPrimary&&t.button===0};class $y extends Sr{constructor(t){super({stopDown:Ls}),t=t||{},this.kinetic_=t.kinetic,this.lastCentroid=null,this.lastPointersCount_,this.panning_=!1;const e=t.condition?t.condition:cl(Uu,Jy);this.condition_=t.onFocusOnly?cl(Nu,e):e,this.noKinetic_=!1}handleDragEvent(t){const e=t.map;this.panning_||(this.panning_=!0,e.getView().beginInteraction());const i=this.targetPointers,n=e.getEventPixel(hl(i));if(i.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){const o=[this.lastCentroid[0]-n[0],n[1]-this.lastCentroid[1]],h=t.map.getView();a_(o,h.getResolution()),ka(o,h.getRotation()),h.adjustCenterInternal(o)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=i.length,t.originalEvent.preventDefault()}handleUpEvent(t){const e=t.map,i=e.getView();if(this.targetPointers.length===0){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){const n=this.kinetic_.getDistance(),o=this.kinetic_.getAngle(),a=i.getCenterInternal(),h=e.getPixelFromCoordinateInternal(a),c=e.getCoordinateFromPixelInternal([h[0]-n*Math.cos(o),h[1]-n*Math.sin(o)]);i.animateInternal({center:i.getConstrainedCenter(c),duration:500,easing:Dn})}return this.panning_&&(this.panning_=!1,i.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0}handleDownEvent(t){if(this.targetPointers.length>0&&this.condition_(t)){const i=t.map.getView();return this.lastCentroid=null,i.getAnimating()&&i.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}const tv=$y;class ev extends Sr{constructor(t){t=t||{},super({stopDown:Ls}),this.condition_=t.condition?t.condition:Zy,this.lastAngle_=void 0,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){if(!ul(t))return;const e=t.map,i=e.getView();if(i.getConstraints().rotation===ja)return;const n=e.getSize(),o=t.pixel,a=Math.atan2(n[1]/2-o[1],o[0]-n[0]/2);if(this.lastAngle_!==void 0){const h=a-this.lastAngle_;i.adjustRotationInternal(-h)}this.lastAngle_=a}handleUpEvent(t){return ul(t)?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){return ul(t)&&Gu(t)&&this.condition_(t)?(t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0):!1}}const iv=ev;class nv extends Cs{constructor(t){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+t,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const t=this.startPixel_,e=this.endPixel_,i="px",n=this.element_.style;n.left=Math.min(t[0],e[0])+i,n.top=Math.min(t[1],e[1])+i,n.width=Math.abs(e[0]-t[0])+i,n.height=Math.abs(e[1]-t[1])+i}setMap(t){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const e=this.element_.style;e.left="inherit",e.top="inherit",e.width="inherit",e.height="inherit"}this.map_=t,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(t,e){this.startPixel_=t,this.endPixel_=e,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const t=this.startPixel_,e=this.endPixel_,n=[t,[t[0],e[1]],e,[e[0],t[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);n[4]=n[0].slice(),this.geometry_?this.geometry_.setCoordinates([n]):this.geometry_=new Zs([n])}getGeometry(){return this.geometry_}}const rv=nv,lo={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class dl extends $e{constructor(t,e,i){super(t),this.coordinate=e,this.mapBrowserEvent=i}}class sv extends Sr{constructor(t){super(),this.on,this.once,this.un,t=t||{},this.box_=new rv(t.className||"ol-dragbox"),this.minArea_=t.minArea!==void 0?t.minArea:64,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition?t.condition:Gu,this.boxEndCondition_=t.boxEndCondition?t.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(t,e,i){const n=i[0]-e[0],o=i[1]-e[1];return n*n+o*o>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new dl(lo.BOXDRAG,t.coordinate,t))}handleUpEvent(t){this.box_.setMap(null);const e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new dl(e?lo.BOXEND:lo.BOXCANCEL,t.coordinate,t)),!1}handleDownEvent(t){return this.condition_(t)?(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new dl(lo.BOXSTART,t.coordinate,t)),!0):!1}onBoxEnd(t){}}const ov=sv;class av extends ov{constructor(t){t=t||{};const e=t.condition?t.condition:qy;super({condition:e,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=t.duration!==void 0?t.duration:200,this.out_=t.out!==void 0?t.out:!1}onBoxEnd(t){const i=this.getMap().getView();let n=this.getGeometry();if(this.out_){const o=i.rotatedExtentForGeometry(n),a=i.getResolutionForExtentInternal(o),h=i.getResolution()/a;n=n.clone(),n.scale(h*h)}i.fitInternal(n,{duration:this.duration_,easing:Dn})}}const lv=av,on={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"};class hv extends Dr{constructor(t){super(),t=t||{},this.defaultCondition_=function(e){return Uu(e)&&ju(e)},this.condition_=t.condition!==void 0?t.condition:this.defaultCondition_,this.duration_=t.duration!==void 0?t.duration:100,this.pixelDelta_=t.pixelDelta!==void 0?t.pixelDelta:128}handleEvent(t){let e=!1;if(t.type==ht.KEYDOWN){const i=t.originalEvent,n=i.key;if(this.condition_(t)&&(n==on.DOWN||n==on.LEFT||n==on.RIGHT||n==on.UP)){const a=t.map.getView(),h=a.getResolution()*this.pixelDelta_;let c=0,d=0;n==on.DOWN?d=-h:n==on.LEFT?c=-h:n==on.RIGHT?c=h:d=h;const f=[c,d];ka(f,a.getRotation()),Hy(a,f,this.duration_),i.preventDefault(),e=!0}}return!e}}const cv=hv;class uv extends Dr{constructor(t){super(),t=t||{},this.condition_=t.condition?t.condition:function(e){return!Qy(e)&&ju(e)},this.delta_=t.delta?t.delta:1,this.duration_=t.duration!==void 0?t.duration:100}handleEvent(t){let e=!1;if(t.type==ht.KEYDOWN||t.type==ht.KEYPRESS){const i=t.originalEvent,n=i.key;if(this.condition_(t)&&(n==="+"||n==="-")){const o=t.map,a=n==="+"?this.delta_:-this.delta_,h=o.getView();ll(h,a,void 0,this.duration_),i.preventDefault(),e=!0}}return!e}}const dv=uv;class fv{constructor(t,e,i){this.decay_=t,this.minVelocity_=e,this.delay_=i,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(t,e){this.points_.push(t,e,Date.now())}end(){if(this.points_.length<6)return!1;const t=Date.now()-this.delay_,e=this.points_.length-3;if(this.points_[e+2]<t)return!1;let i=e-3;for(;i>0&&this.points_[i+2]>t;)i-=3;const n=this.points_[e+2]-this.points_[i+2];if(n<1e3/60)return!1;const o=this.points_[e]-this.points_[i],a=this.points_[e+1]-this.points_[i+1];return this.angle_=Math.atan2(a,o),this.initialVelocity_=Math.sqrt(o*o+a*a)/n,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}const gv=fv;class pv extends Dr{constructor(t){t=t||{},super(t),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=t.maxDelta!==void 0?t.maxDelta:1,this.duration_=t.duration!==void 0?t.duration:250,this.timeout_=t.timeout!==void 0?t.timeout:80,this.useAnchor_=t.useAnchor!==void 0?t.useAnchor:!0,this.constrainResolution_=t.constrainResolution!==void 0?t.constrainResolution:!1;const e=t.condition?t.condition:Ky;this.condition_=t.onFocusOnly?cl(Nu,e):e,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const t=this.getMap();if(!t)return;t.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(t){if(!this.condition_(t)||t.type!==ht.WHEEL)return!0;const i=t.map,n=t.originalEvent;n.preventDefault(),this.useAnchor_&&(this.lastAnchor_=t.coordinate);let o;if(t.type==ht.WHEEL&&(o=n.deltaY,w_&&n.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(o/=Jc),n.deltaMode===WheelEvent.DOM_DELTA_LINE&&(o*=40)),o===0)return!1;this.lastDelta_=o;const a=Date.now();this.startTime_===void 0&&(this.startTime_=a),(!this.mode_||a-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(o)<4?"trackpad":"wheel");const h=i.getView();if(this.mode_==="trackpad"&&!(h.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(h.getAnimating()&&h.cancelAnimations(),h.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),h.adjustZoom(-o/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=a,!1;this.totalDelta_+=o;const c=Math.max(this.timeout_-(a-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,i),c),!1}handleWheelZoom_(t){const e=t.getView();e.getAnimating()&&e.cancelAnimations();let i=-Rt(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),ll(e,i,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}}const mv=pv;class _v extends Sr{constructor(t){t=t||{};const e=t;e.stopDown||(e.stopDown=Ls),super(e),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=t.threshold!==void 0?t.threshold:.3,this.duration_=t.duration!==void 0?t.duration:250}handleDragEvent(t){let e=0;const i=this.targetPointers[0],n=this.targetPointers[1],o=Math.atan2(n.clientY-i.clientY,n.clientX-i.clientX);if(this.lastAngle_!==void 0){const c=o-this.lastAngle_;this.rotationDelta_+=c,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=c}this.lastAngle_=o;const a=t.map,h=a.getView();h.getConstraints().rotation!==ja&&(this.anchor_=a.getCoordinateFromPixelInternal(a.getEventPixel(hl(this.targetPointers))),this.rotating_&&(a.render(),h.adjustRotationInternal(e,this.anchor_)))}handleUpEvent(t){return this.targetPointers.length<2?(t.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}}const yv=_v;class vv extends Sr{constructor(t){t=t||{};const e=t;e.stopDown||(e.stopDown=Ls),super(e),this.anchor_=null,this.duration_=t.duration!==void 0?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let e=1;const i=this.targetPointers[0],n=this.targetPointers[1],o=i.clientX-n.clientX,a=i.clientY-n.clientY,h=Math.sqrt(o*o+a*a);this.lastDistance_!==void 0&&(e=this.lastDistance_/h),this.lastDistance_=h;const c=t.map,d=c.getView();e!=1&&(this.lastScaleDelta_=e),this.anchor_=c.getCoordinateFromPixelInternal(c.getEventPixel(hl(this.targetPointers))),c.render(),d.adjustResolutionInternal(e,this.anchor_)}handleUpEvent(t){if(this.targetPointers.length<2){const i=t.map.getView(),n=this.lastScaleDelta_>1?1:-1;return i.endInteraction(this.duration_,n),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){const e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}}const xv=vv;function Av(r){r=r||{};const t=new Ne,e=new gv(-.005,.05,100);return(r.altShiftDragRotate!==void 0?r.altShiftDragRotate:!0)&&t.push(new iv),(r.doubleClickZoom!==void 0?r.doubleClickZoom:!0)&&t.push(new Yy({delta:r.zoomDelta,duration:r.zoomDuration})),(r.dragPan!==void 0?r.dragPan:!0)&&t.push(new tv({onFocusOnly:r.onFocusOnly,kinetic:e})),(r.pinchRotate!==void 0?r.pinchRotate:!0)&&t.push(new yv),(r.pinchZoom!==void 0?r.pinchZoom:!0)&&t.push(new xv({duration:r.zoomDuration})),(r.keyboard!==void 0?r.keyboard:!0)&&(t.push(new cv),t.push(new dv({delta:r.zoomDelta,duration:r.zoomDuration}))),(r.mouseWheelZoom!==void 0?r.mouseWheelZoom:!0)&&t.push(new mv({onFocusOnly:r.onFocusOnly,duration:r.zoomDuration})),(r.shiftDragZoom!==void 0?r.shiftDragZoom:!0)&&t.push(new lv({duration:r.zoomDuration})),t}function Hu(r){return r[0]>0&&r[1]>0}function wv(r,t,e){return e===void 0&&(e=[0,0]),e[0]=r[0]*t+.5|0,e[1]=r[1]*t+.5|0,e}function me(r,t){return Array.isArray(r)?r:(t===void 0?t=[r,r]:(t[0]=r,t[1]=r),t)}function Wu(r){if(r instanceof qs){r.setMapInternal(null);return}r instanceof so&&r.getLayers().forEach(Wu)}function Yu(r,t){if(r instanceof qs){r.setMapInternal(t);return}if(r instanceof so){const e=r.getLayers().getArray();for(let i=0,n=e.length;i<n;++i)Yu(e[i],t)}}class Ev extends Ce{constructor(t){super(),t=t||{},this.on,this.once,this.un;const e=Cv(t);this.renderComplete_,this.loaded_=!0,this.boundHandleBrowserEvent_=this.handleBrowserEvent.bind(this),this.maxTilesLoading_=t.maxTilesLoading!==void 0?t.maxTilesLoading:16,this.pixelRatio_=t.pixelRatio!==void 0?t.pixelRatio:Jc,this.postRenderTimeoutHandle_,this.animationDelayKey_,this.animationDelay_=this.animationDelay_.bind(this),this.coordinateToPixelTransform_=Xt(),this.pixelToCoordinateTransform_=Xt(),this.frameIndex_=0,this.frameState_=null,this.previousExtent_=null,this.viewPropertyListenerKey_=null,this.viewChangeListenerKey_=null,this.layerGroupPropertyListenerKeys_=null,this.viewport_=document.createElement("div"),this.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),this.viewport_.style.position="relative",this.viewport_.style.overflow="hidden",this.viewport_.style.width="100%",this.viewport_.style.height="100%",this.overlayContainer_=document.createElement("div"),this.overlayContainer_.style.position="absolute",this.overlayContainer_.style.zIndex="0",this.overlayContainer_.style.width="100%",this.overlayContainer_.style.height="100%",this.overlayContainer_.style.pointerEvents="none",this.overlayContainer_.className="ol-overlaycontainer",this.viewport_.appendChild(this.overlayContainer_),this.overlayContainerStopEvent_=document.createElement("div"),this.overlayContainerStopEvent_.style.position="absolute",this.overlayContainerStopEvent_.style.zIndex="0",this.overlayContainerStopEvent_.style.width="100%",this.overlayContainerStopEvent_.style.height="100%",this.overlayContainerStopEvent_.style.pointerEvents="none",this.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",this.viewport_.appendChild(this.overlayContainerStopEvent_),this.mapBrowserEventHandler_=null,this.moveTolerance_=t.moveTolerance,this.keyboardEventTarget_=e.keyboardEventTarget,this.targetChangeHandlerKeys_=null,this.targetElement_=null,this.resizeObserver_=new ResizeObserver(()=>this.updateSize()),this.controls=e.controls||zu(),this.interactions=e.interactions||Av({onFocusOnly:!0}),this.overlays_=e.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new ky(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(Ht.LAYERGROUP,this.handleLayerGroupChanged_),this.addChangeListener(Ht.VIEW,this.handleViewChanged_),this.addChangeListener(Ht.SIZE,this.handleSizeChanged_),this.addChangeListener(Ht.TARGET,this.handleTargetChanged_),this.setProperties(e.values);const i=this;t.view&&!(t.view instanceof Be)&&t.view.then(function(n){i.setView(new Be(n))}),this.controls.addEventListener(oe.ADD,n=>{n.element.setMap(this)}),this.controls.addEventListener(oe.REMOVE,n=>{n.element.setMap(null)}),this.interactions.addEventListener(oe.ADD,n=>{n.element.setMap(this)}),this.interactions.addEventListener(oe.REMOVE,n=>{n.element.setMap(null)}),this.overlays_.addEventListener(oe.ADD,n=>{this.addOverlayInternal_(n.element)}),this.overlays_.addEventListener(oe.REMOVE,n=>{const o=n.element.getId();o!==void 0&&delete this.overlayIdIndex_[o.toString()],n.element.setMap(null)}),this.controls.forEach(n=>{n.setMap(this)}),this.interactions.forEach(n=>{n.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(t){this.getControls().push(t)}addInteraction(t){this.getInteractions().push(t)}addLayer(t){this.getLayerGroup().getLayers().push(t)}handleLayerAdd_(t){Yu(t.layer,this)}addOverlay(t){this.getOverlays().push(t)}addOverlayInternal_(t){const e=t.getId();e!==void 0&&(this.overlayIdIndex_[e.toString()]=t),t.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(t,e,i){if(!this.frameState_||!this.renderer_)return;const n=this.getCoordinateFromPixelInternal(t);i=i!==void 0?i:{};const o=i.hitTolerance!==void 0?i.hitTolerance:0,a=i.layerFilter!==void 0?i.layerFilter:pr,h=i.checkWrapped!==!1;return this.renderer_.forEachFeatureAtCoordinate(n,this.frameState_,o,h,e,null,a,null)}getFeaturesAtPixel(t,e){const i=[];return this.forEachFeatureAtPixel(t,function(n){i.push(n)},e),i}getAllLayers(){const t=[];function e(i){i.forEach(function(n){n instanceof so?e(n.getLayers()):t.push(n)})}return e(this.getLayers()),t}hasFeatureAtPixel(t,e){if(!this.frameState_||!this.renderer_)return!1;const i=this.getCoordinateFromPixelInternal(t);e=e!==void 0?e:{};const n=e.layerFilter!==void 0?e.layerFilter:pr,o=e.hitTolerance!==void 0?e.hitTolerance:0,a=e.checkWrapped!==!1;return this.renderer_.hasFeatureAtCoordinate(i,this.frameState_,o,a,n,null)}getEventCoordinate(t){return this.getCoordinateFromPixel(this.getEventPixel(t))}getEventCoordinateInternal(t){return this.getCoordinateFromPixelInternal(this.getEventPixel(t))}getEventPixel(t){const i=this.viewport_.getBoundingClientRect(),n=this.getSize(),o=i.width/n[0],a=i.height/n[1],h="changedTouches"in t?t.changedTouches[0]:t;return[(h.clientX-i.left)/o,(h.clientY-i.top)/a]}getTarget(){return this.get(Ht.TARGET)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(t){return Na(this.getCoordinateFromPixelInternal(t),this.getView().getProjection())}getCoordinateFromPixelInternal(t){const e=this.frameState_;return e?Ot(e.pixelToCoordinateTransform,t.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(t){const e=this.overlayIdIndex_[t.toString()];return e!==void 0?e:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(Ht.LAYERGROUP)}setLayers(t){const e=this.getLayerGroup();if(t instanceof Ne){e.setLayers(t);return}const i=e.getLayers();i.clear(),i.extend(t)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,i=t.length;e<i;++e){const n=t[e];if(!n.visible)continue;const o=n.layer.getRenderer();if(o&&!o.ready)return!0;const a=n.layer.getSource();if(a&&a.loading)return!0}return!1}getPixelFromCoordinate(t){const e=ii(t,this.getView().getProjection());return this.getPixelFromCoordinateInternal(e)}getPixelFromCoordinateInternal(t){const e=this.frameState_;return e?Ot(e.coordinateToPixelTransform,t.slice(0,2)):null}getRenderer(){return this.renderer_}getSize(){return this.get(Ht.SIZE)}getView(){return this.get(Ht.VIEW)}getViewport(){return this.viewport_}getOverlayContainer(){return this.overlayContainer_}getOverlayContainerStopEvent(){return this.overlayContainerStopEvent_}getOwnerDocument(){const t=this.getTargetElement();return t?t.ownerDocument:document}getTilePriority(t,e,i,n){return Oy(this.frameState_,t,e,i,n)}handleBrowserEvent(t,e){e=e||t.type;const i=new Li(e,this,t);this.handleMapBrowserEvent(i)}handleMapBrowserEvent(t){if(!this.frameState_)return;const e=t.originalEvent,i=e.type;if(i===al.POINTERDOWN||i===ht.WHEEL||i===ht.KEYDOWN){const n=this.getOwnerDocument(),o=this.viewport_.getRootNode?this.viewport_.getRootNode():n,a=e.target;if(this.overlayContainerStopEvent_.contains(a)||!(o===n?n.documentElement:o).contains(a))return}if(t.frameState=this.frameState_,this.dispatchEvent(t)!==!1){const n=this.getInteractions().getArray().slice();for(let o=n.length-1;o>=0;o--){const a=n[o];if(a.getMap()!==this||!a.getActive()||!this.getTargetElement())continue;if(!a.handleEvent(t)||t.propagationStopped)break}}}handlePostRender(){const t=this.frameState_,e=this.tileQueue_;if(!e.isEmpty()){let n=this.maxTilesLoading_,o=n;if(t){const a=t.viewHints;if(a[Ut.ANIMATING]||a[Ut.INTERACTING]){const h=Date.now()-t.time>8;n=h?0:8,o=h?0:2}}e.getTilesLoading()<n&&(e.reprioritize(),e.loadMoreTiles(n,o))}t&&this.renderer_&&!t.animate&&(this.renderComplete_===!0?(this.hasListener(Qt.RENDERCOMPLETE)&&this.renderer_.dispatchRenderEvent(Qt.RENDERCOMPLETE,t),this.loaded_===!1&&(this.loaded_=!0,this.dispatchEvent(new kn(oi.LOADEND,this,t)))):this.loaded_===!0&&(this.loaded_=!1,this.dispatchEvent(new kn(oi.LOADSTART,this,t))));const i=this.postRenderFunctions_;for(let n=0,o=i.length;n<o;++n)i[n](this,t);i.length=0}handleSizeChanged_(){this.getView()&&!this.getView().getAnimating()&&this.getView().resolveConstraints(0),this.render()}handleTargetChanged_(){if(this.mapBrowserEventHandler_){for(let i=0,n=this.targetChangeHandlerKeys_.length;i<n;++i)Et(this.targetChangeHandlerKeys_[i]);this.targetChangeHandlerKeys_=null,this.viewport_.removeEventListener(ht.CONTEXTMENU,this.boundHandleBrowserEvent_),this.viewport_.removeEventListener(ht.WHEEL,this.boundHandleBrowserEvent_),this.mapBrowserEventHandler_.dispose(),this.mapBrowserEventHandler_=null,io(this.viewport_)}if(this.targetElement_){this.resizeObserver_.unobserve(this.targetElement_);const i=this.targetElement_.getRootNode();i instanceof ShadowRoot&&this.resizeObserver_.unobserve(i.host),this.setSize(void 0)}const t=this.getTarget(),e=typeof t=="string"?document.getElementById(t):t;if(this.targetElement_=e,!e)this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderTimeoutHandle_=void 0,this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0);else{e.appendChild(this.viewport_),this.renderer_||(this.renderer_=new by(this)),this.mapBrowserEventHandler_=new Dy(this,this.moveTolerance_);for(const o in St)this.mapBrowserEventHandler_.addEventListener(St[o],this.handleMapBrowserEvent.bind(this));this.viewport_.addEventListener(ht.CONTEXTMENU,this.boundHandleBrowserEvent_,!1),this.viewport_.addEventListener(ht.WHEEL,this.boundHandleBrowserEvent_,tu?{passive:!1}:!1);const i=this.keyboardEventTarget_?this.keyboardEventTarget_:e;this.targetChangeHandlerKeys_=[ft(i,ht.KEYDOWN,this.handleBrowserEvent,this),ft(i,ht.KEYPRESS,this.handleBrowserEvent,this)];const n=e.getRootNode();n instanceof ShadowRoot&&this.resizeObserver_.observe(n.host),this.resizeObserver_.observe(e)}this.updateSize()}handleTileChange_(){this.render()}handleViewPropertyChanged_(){this.render()}handleViewChanged_(){this.viewPropertyListenerKey_&&(Et(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(Et(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);const t=this.getView();t&&(this.updateViewportSize_(),this.viewPropertyListenerKey_=ft(t,An.PROPERTYCHANGE,this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=ft(t,ht.CHANGE,this.handleViewPropertyChanged_,this),t.resolveConstraints(0)),this.render()}handleLayerGroupChanged_(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(Et),this.layerGroupPropertyListenerKeys_=null);const t=this.getLayerGroup();t&&(this.handleLayerAdd_(new Ci("addlayer",t)),this.layerGroupPropertyListenerKeys_=[ft(t,An.PROPERTYCHANGE,this.render,this),ft(t,ht.CHANGE,this.render,this),ft(t,"addlayer",this.handleLayerAdd_,this),ft(t,"removelayer",this.handleLayerRemove_,this)]),this.render()}isRendered(){return!!this.frameState_}animationDelay_(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}renderSync(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()}redrawText(){const t=this.getLayerGroup().getLayerStatesArray();for(let e=0,i=t.length;e<i;++e){const n=t[e].layer;n.hasRenderer()&&n.getRenderer().handleFontsChanged()}}render(){this.renderer_&&this.animationDelayKey_===void 0&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))}flushDeclutterItems(){const t=this.frameState_;t&&this.renderer_.flushDeclutterItems(t)}removeControl(t){return this.getControls().remove(t)}removeInteraction(t){return this.getInteractions().remove(t)}removeLayer(t){return this.getLayerGroup().getLayers().remove(t)}handleLayerRemove_(t){Wu(t.layer)}removeOverlay(t){return this.getOverlays().remove(t)}renderFrame_(t){const e=this.getSize(),i=this.getView(),n=this.frameState_;let o=null;if(e!==void 0&&Hu(e)&&i&&i.isDef()){const a=i.getHints(this.frameState_?this.frameState_.viewHints:void 0),h=i.getState();if(o={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterTree:null,extent:Sa(h.center,h.resolution,h.rotation,e),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:e,tileQueue:this.tileQueue_,time:t,usedTiles:{},viewState:h,viewHints:a,wantedTiles:{},mapId:ut(this),renderTargets:{}},h.nextCenter&&h.nextResolution){const c=isNaN(h.nextRotation)?h.rotation:h.nextRotation;o.nextExtent=Sa(h.nextCenter,h.nextResolution,c,e)}}this.frameState_=o,this.renderer_.renderFrame(o),o&&(o.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,o.postRenderFunctions),n&&(!this.previousExtent_||!Fs(this.previousExtent_)&&!Mn(o.extent,this.previousExtent_))&&(this.dispatchEvent(new kn(oi.MOVESTART,this,n)),this.previousExtent_=yr(this.previousExtent_)),this.previousExtent_&&!o.viewHints[Ut.ANIMATING]&&!o.viewHints[Ut.INTERACTING]&&!Mn(o.extent,this.previousExtent_)&&(this.dispatchEvent(new kn(oi.MOVEEND,this,o)),Dc(o.extent,this.previousExtent_))),this.dispatchEvent(new kn(oi.POSTRENDER,this,o)),this.renderComplete_=this.hasListener(oi.LOADSTART)||this.hasListener(oi.LOADEND)||this.hasListener(Qt.RENDERCOMPLETE)?!this.tileQueue_.getTilesLoading()&&!this.tileQueue_.getCount()&&!this.getLoadingOrNotReady():void 0,this.postRenderTimeoutHandle_||(this.postRenderTimeoutHandle_=setTimeout(()=>{this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(t){const e=this.getLayerGroup();e&&this.handleLayerRemove_(new Ci("removelayer",e)),this.set(Ht.LAYERGROUP,t)}setSize(t){this.set(Ht.SIZE,t)}setTarget(t){this.set(Ht.TARGET,t)}setView(t){if(!t||t instanceof Be){this.set(Ht.VIEW,t);return}this.set(Ht.VIEW,new Be);const e=this;t.then(function(i){e.setView(new Be(i))})}updateSize(){const t=this.getTargetElement();let e;if(t){const n=getComputedStyle(t),o=t.offsetWidth-parseFloat(n.borderLeftWidth)-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight)-parseFloat(n.borderRightWidth),a=t.offsetHeight-parseFloat(n.borderTopWidth)-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom)-parseFloat(n.borderBottomWidth);!isNaN(o)&&!isNaN(a)&&(e=[o,a],!Hu(e)&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)&&Nc("No map visible because the map container's width or height are 0."))}const i=this.getSize();e&&(!i||!ei(e,i))&&(this.setSize(e),this.updateViewportSize_())}updateViewportSize_(){const t=this.getView();if(t){let e;const i=getComputedStyle(this.viewport_);i.width&&i.height&&(e=[parseInt(i.width,10),parseInt(i.height,10)]),t.setViewportSize(e)}}}function Cv(r){let t=null;r.keyboardEventTarget!==void 0&&(t=typeof r.keyboardEventTarget=="string"?document.getElementById(r.keyboardEventTarget):r.keyboardEventTarget);const e={},i=r.layers&&typeof r.layers.getLayers=="function"?r.layers:new so({layers:r.layers});e[Ht.LAYERGROUP]=i,e[Ht.TARGET]=r.target,e[Ht.VIEW]=r.view instanceof Be?r.view:new Be;let n;r.controls!==void 0&&(Array.isArray(r.controls)?n=new Ne(r.controls.slice()):(_t(typeof r.controls.getArray=="function","Expected `controls` to be an array or an `ol/Collection.js`"),n=r.controls));let o;r.interactions!==void 0&&(Array.isArray(r.interactions)?o=new Ne(r.interactions.slice()):(_t(typeof r.interactions.getArray=="function","Expected `interactions` to be an array or an `ol/Collection.js`"),o=r.interactions));let a;return r.overlays!==void 0?Array.isArray(r.overlays)?a=new Ne(r.overlays.slice()):(_t(typeof r.overlays.getArray=="function","Expected `overlays` to be an array or an `ol/Collection.js`"),a=r.overlays):a=new Ne,{controls:n,interactions:o,keyboardEventTarget:t,overlays:a,values:e}}const Lv=Ev,bt={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};class fl{constructor(t){this.opacity_=t.opacity,this.rotateWithView_=t.rotateWithView,this.rotation_=t.rotation,this.scale_=t.scale,this.scaleArray_=me(t.scale),this.displacement_=t.displacement,this.declutterMode_=t.declutterMode}clone(){const t=this.getScale();return new fl({opacity:this.getOpacity(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return at()}getImage(t){return at()}getHitDetectionImage(){return at()}getPixelRatio(t){return 1}getImageState(){return at()}getImageSize(){return at()}getOrigin(){return at()}getSize(){return at()}setDisplacement(t){this.displacement_=t}setOpacity(t){this.opacity_=t}setRotateWithView(t){this.rotateWithView_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=me(t)}listenImageChange(t){at()}load(){at()}unlistenImageChange(t){at()}}const Xu=fl;function Ge(r){return Array.isArray(r)?Lu(r):r}class gl extends Xu{constructor(t){const e=t.rotateWithView!==void 0?t.rotateWithView:!1;super({opacity:1,rotateWithView:e,rotation:t.rotation!==void 0?t.rotation:0,scale:t.scale!==void 0?t.scale:1,displacement:t.displacement!==void 0?t.displacement:[0,0],declutterMode:t.declutterMode}),this.canvas_=void 0,this.hitDetectionCanvas_=null,this.fill_=t.fill!==void 0?t.fill:null,this.origin_=[0,0],this.points_=t.points,this.radius_=t.radius!==void 0?t.radius:t.radius1,this.radius2_=t.radius2,this.angle_=t.angle!==void 0?t.angle:0,this.stroke_=t.stroke!==void 0?t.stroke:null,this.size_=null,this.renderOptions_=null,this.render()}clone(){const t=this.getScale(),e=new gl({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}getAnchor(){const t=this.size_;if(!t)return null;const e=this.getDisplacement(),i=this.getScaleArray();return[t[0]/2-e[0]/i[0],t[1]/2+e[1]/i[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(t){this.fill_=t,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||this.createHitDetectionCanvas_(this.renderOptions_),this.hitDetectionCanvas_}getImage(t){let e=this.canvas_[t];if(!e){const i=this.renderOptions_,n=qt(i.size*t,i.size*t);this.draw_(i,n,t),e=n.canvas,this.canvas_[t]=e}return e}getPixelRatio(t){return t}getImageSize(){return this.size_}getImageState(){return bt.LOADED}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius_}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t,this.render()}listenImageChange(t){}load(){}unlistenImageChange(t){}calculateLineJoinSize_(t,e,i){if(e===0||this.points_===1/0||t!=="bevel"&&t!=="miter")return e;let n=this.radius_,o=this.radius2_===void 0?n:this.radius2_;if(n<o){const D=n;n=o,o=D}const a=this.radius2_===void 0?this.points_:this.points_*2,h=2*Math.PI/a,c=o*Math.sin(h),d=Math.sqrt(o*o-c*c),f=n-d,p=Math.sqrt(c*c+f*f),_=p/c;if(t==="miter"&&_<=i)return _*e;const y=e/2/_,v=e/2*(f/p),b=Math.sqrt((n+y)*(n+y)+v*v)-n;if(this.radius2_===void 0||t==="bevel")return b*2;const M=n*Math.sin(h),w=Math.sqrt(n*n-M*M),E=o-w,P=Math.sqrt(M*M+E*E)/M;if(P<=i){const D=P*e/2-o-n;return 2*Math.max(b,D)}return b*2}createRenderOptions(){let t=Sn,e=Rn,i=0,n=null,o=0,a,h=0;this.stroke_&&(a=this.stroke_.getColor(),a===null&&(a=Tr),a=Ge(a),h=this.stroke_.getWidth(),h===void 0&&(h=Pr),n=this.stroke_.getLineDash(),o=this.stroke_.getLineDashOffset(),e=this.stroke_.getLineJoin(),e===void 0&&(e=Rn),t=this.stroke_.getLineCap(),t===void 0&&(t=Sn),i=this.stroke_.getMiterLimit(),i===void 0&&(i=br));const c=this.calculateLineJoinSize_(e,h,i),d=Math.max(this.radius_,this.radius2_||0),f=Math.ceil(2*d+c);return{strokeStyle:a,strokeWidth:h,size:f,lineCap:t,lineDash:n,lineDashOffset:o,lineJoin:e,miterLimit:i}}render(){this.renderOptions_=this.createRenderOptions();const t=this.renderOptions_.size;this.canvas_={},this.size_=[t,t]}draw_(t,e,i){if(e.scale(i,i),e.translate(t.size/2,t.size/2),this.createPath_(e),this.fill_){let n=this.fill_.getColor();n===null&&(n=ae),e.fillStyle=Ge(n),e.fill()}this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke())}createHitDetectionCanvas_(t){if(this.fill_){let e=this.fill_.getColor(),i=0;if(typeof e=="string"&&(e=Er(e)),e===null?i=1:Array.isArray(e)&&(i=e.length===4?e[3]:1),i===0){const n=qt(t.size,t.size);this.hitDetectionCanvas_=n.canvas,this.drawHitDetectionCanvas_(t,n)}}this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.getImage(1))}createPath_(t){let e=this.points_;const i=this.radius_;if(e===1/0)t.arc(0,0,i,0,2*Math.PI);else{const n=this.radius2_===void 0?i:this.radius2_;this.radius2_!==void 0&&(e*=2);const o=this.angle_-Math.PI/2,a=2*Math.PI/e;for(let h=0;h<e;h++){const c=o+h*a,d=h%2===0?i:n;t.lineTo(d*Math.cos(c),d*Math.sin(c))}t.closePath()}}drawHitDetectionCanvas_(t,e){e.translate(t.size/2,t.size/2),this.createPath_(e),e.fillStyle=ae,e.fill(),this.stroke_&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.strokeWidth,t.lineDash&&(e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset),e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke())}}const Zu=gl;class pl extends Zu{constructor(t){t=t||{radius:5},super({points:1/0,fill:t.fill,radius:t.radius,stroke:t.stroke,scale:t.scale!==void 0?t.scale:1,rotation:t.rotation!==void 0?t.rotation:0,rotateWithView:t.rotateWithView!==void 0?t.rotateWithView:!1,displacement:t.displacement!==void 0?t.displacement:[0,0],declutterMode:t.declutterMode})}clone(){const t=this.getScale(),e=new pl({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,radius:this.getRadius(),scale:Array.isArray(t)?t.slice():t,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return e.setOpacity(this.getOpacity()),e}setRadius(t){this.radius_=t,this.render()}}const Vu=pl;class ml{constructor(t){t=t||{},this.color_=t.color!==void 0?t.color:null}clone(){const t=this.getColor();return new ml({color:Array.isArray(t)?t.slice():t||void 0})}getColor(){return this.color_}setColor(t){this.color_=t}}const ho=ml;class _l{constructor(t){t=t||{},this.color_=t.color!==void 0?t.color:null,this.lineCap_=t.lineCap,this.lineDash_=t.lineDash!==void 0?t.lineDash:null,this.lineDashOffset_=t.lineDashOffset,this.lineJoin_=t.lineJoin,this.miterLimit_=t.miterLimit,this.width_=t.width}clone(){const t=this.getColor();return new _l({color:Array.isArray(t)?t.slice():t||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})}getColor(){return this.color_}getLineCap(){return this.lineCap_}getLineDash(){return this.lineDash_}getLineDashOffset(){return this.lineDashOffset_}getLineJoin(){return this.lineJoin_}getMiterLimit(){return this.miterLimit_}getWidth(){return this.width_}setColor(t){this.color_=t}setLineCap(t){this.lineCap_=t}setLineDash(t){this.lineDash_=t}setLineDashOffset(t){this.lineDashOffset_=t}setLineJoin(t){this.lineJoin_=t}setMiterLimit(t){this.miterLimit_=t}setWidth(t){this.width_=t}}const co=_l;class uo{constructor(t){t=t||{},this.geometry_=null,this.geometryFunction_=Ku,t.geometry!==void 0&&this.setGeometry(t.geometry),this.fill_=t.fill!==void 0?t.fill:null,this.image_=t.image!==void 0?t.image:null,this.renderer_=t.renderer!==void 0?t.renderer:null,this.hitDetectionRenderer_=t.hitDetectionRenderer!==void 0?t.hitDetectionRenderer:null,this.stroke_=t.stroke!==void 0?t.stroke:null,this.text_=t.text!==void 0?t.text:null,this.zIndex_=t.zIndex}clone(){let t=this.getGeometry();return t&&typeof t=="object"&&(t=t.clone()),new uo({geometry:t,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer(),stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})}getRenderer(){return this.renderer_}setRenderer(t){this.renderer_=t}setHitDetectionRenderer(t){this.hitDetectionRenderer_=t}getHitDetectionRenderer(){return this.hitDetectionRenderer_}getGeometry(){return this.geometry_}getGeometryFunction(){return this.geometryFunction_}getFill(){return this.fill_}setFill(t){this.fill_=t}getImage(){return this.image_}setImage(t){this.image_=t}getStroke(){return this.stroke_}setStroke(t){this.stroke_=t}getText(){return this.text_}setText(t){this.text_=t}getZIndex(){return this.zIndex_}setGeometry(t){typeof t=="function"?this.geometryFunction_=t:typeof t=="string"?this.geometryFunction_=function(e){return e.get(t)}:t?t!==void 0&&(this.geometryFunction_=function(){return t}):this.geometryFunction_=Ku,this.geometry_=t}setZIndex(t){this.zIndex_=t}}function bv(r){let t;if(typeof r=="function")t=r;else{let e;Array.isArray(r)?e=r:(_t(typeof r.getZIndex=="function","Expected an `Style` or an array of `Style`"),e=[r]),t=function(){return e}}return t}let yl=null;function Tv(r,t){if(!yl){const e=new ho({color:"rgba(255,255,255,0.4)"}),i=new co({color:"#3399CC",width:1.25});yl=[new uo({image:new Vu({fill:e,stroke:i,radius:5}),fill:e,stroke:i})]}return yl}function Ku(r){return r.getGeometry()}const On=uo;function Mv(r,t,e){const i=r;let n=!0,o=!1,a=!1;const h=[Ts(i,ht.LOAD,function(){a=!0,o||t()})];return i.src&&$c?(o=!0,i.decode().then(function(){n&&t()}).catch(function(c){n&&(a?t():e())})):h.push(Ts(i,ht.ERROR,e)),function(){n=!1,h.forEach(Et)}}function Pv(r,t){return new Promise((e,i)=>{function n(){a(),e(r)}function o(){a(),i(new Error("Image load error"))}function a(){r.removeEventListener("load",n),r.removeEventListener("error",o)}r.addEventListener("load",n),r.addEventListener("error",o),t&&(r.src=t)})}function Dv(r,t){return t&&(r.src=t),$c?new Promise((e,i)=>r.decode().then(()=>e(r),i)):Pv(r)}let Rr=null;class Sv extends bs{constructor(t,e,i,n,o){super(),this.hitDetectionImage_=null,this.image_=t,this.crossOrigin_=i,this.canvas_={},this.color_=o,this.imageState_=n===void 0?bt.IDLE:n,this.size_=t&&t.width&&t.height?[t.width,t.height]:null,this.src_=e,this.tainted_}initializeImage_(){this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(this.tainted_===void 0&&this.imageState_===bt.LOADED){Rr||(Rr=qt(1,1,void 0,{willReadFrequently:!0})),Rr.drawImage(this.image_,0,0);try{Rr.getImageData(0,0,1,1),this.tainted_=!1}catch{Rr=null,this.tainted_=!0}}return this.tainted_===!0}dispatchChangeEvent_(){this.dispatchEvent(ht.CHANGE)}handleImageError_(){this.imageState_=bt.ERROR,this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=bt.LOADED,this.size_=[this.image_.width,this.image_.height],this.dispatchChangeEvent_()}getImage(t){return this.image_||this.initializeImage_(),this.replaceColor_(t),this.canvas_[t]?this.canvas_[t]:this.image_}getPixelRatio(t){return this.replaceColor_(t),this.canvas_[t]?t:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const t=this.size_[0],e=this.size_[1],i=qt(t,e);i.fillRect(0,0,t,e),this.hitDetectionImage_=i.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===bt.IDLE){this.image_||this.initializeImage_(),this.imageState_=bt.LOADING;try{this.src_!==void 0&&(this.image_.src=this.src_)}catch{this.handleImageError_()}this.image_ instanceof HTMLImageElement&&Dv(this.image_,this.src_).then(t=>{this.image_=t,this.handleImageLoad_()}).catch(this.handleImageError_.bind(this))}}replaceColor_(t){if(!this.color_||this.canvas_[t]||this.imageState_!==bt.LOADED)return;const e=this.image_,i=document.createElement("canvas");i.width=Math.ceil(e.width*t),i.height=Math.ceil(e.height*t);const n=i.getContext("2d");n.scale(t,t),n.drawImage(e,0,0),n.globalCompositeOperation="multiply",n.fillStyle=Eu(this.color_),n.fillRect(0,0,i.width/t,i.height/t),n.globalCompositeOperation="destination-in",n.drawImage(e,0,0),this.canvas_[t]=i}}function Rv(r,t,e,i,n){let o=t===void 0?void 0:Qs.get(t,e,n);return o||(o=new Sv(r,r instanceof HTMLImageElement?r.src||void 0:t,e,i,n),Qs.set(t,e,n,o)),o}function Qu(r,t,e,i){return e!==void 0&&i!==void 0?[e/r,i/t]:e!==void 0?e/r:i!==void 0?i/t:1}class vl extends Xu{constructor(t){t=t||{};const e=t.opacity!==void 0?t.opacity:1,i=t.rotation!==void 0?t.rotation:0,n=t.scale!==void 0?t.scale:1,o=t.rotateWithView!==void 0?t.rotateWithView:!1;super({opacity:e,rotation:i,scale:n,displacement:t.displacement!==void 0?t.displacement:[0,0],rotateWithView:o,declutterMode:t.declutterMode}),this.anchor_=t.anchor!==void 0?t.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=t.anchorOrigin!==void 0?t.anchorOrigin:"top-left",this.anchorXUnits_=t.anchorXUnits!==void 0?t.anchorXUnits:"fraction",this.anchorYUnits_=t.anchorYUnits!==void 0?t.anchorYUnits:"fraction",this.crossOrigin_=t.crossOrigin!==void 0?t.crossOrigin:null;const a=t.img!==void 0?t.img:null;let h=t.src;_t(!(h!==void 0&&a),"`image` and `src` cannot be provided at the same time"),(h===void 0||h.length===0)&&a&&(h=a.src||ut(a)),_t(h!==void 0&&h.length>0,"A defined and non-empty `src` or `image` must be provided"),_t(!((t.width!==void 0||t.height!==void 0)&&t.scale!==void 0),"`width` or `height` cannot be provided together with `scale`");let c;if(t.src!==void 0?c=bt.IDLE:a!==void 0&&(a instanceof HTMLImageElement?a.complete?c=a.src?bt.LOADED:bt.IDLE:c=bt.LOADING:c=bt.LOADED),this.color_=t.color!==void 0?Er(t.color):null,this.iconImage_=Rv(a,h,this.crossOrigin_,c,this.color_),this.offset_=t.offset!==void 0?t.offset:[0,0],this.offsetOrigin_=t.offsetOrigin!==void 0?t.offsetOrigin:"top-left",this.origin_=null,this.size_=t.size!==void 0?t.size:null,t.width!==void 0||t.height!==void 0){let d,f;if(t.size)[d,f]=t.size;else{const p=this.getImage(1);if(p.width&&p.height)d=p.width,f=p.height;else if(p instanceof HTMLImageElement){this.initialOptions_=t;const _=()=>{if(this.unlistenImageChange(_),!this.initialOptions_)return;const y=this.iconImage_.getSize();this.setScale(Qu(y[0],y[1],t.width,t.height))};this.listenImageChange(_);return}}d!==void 0&&this.setScale(Qu(d,f,t.width,t.height))}}clone(){let t,e,i;return this.initialOptions_?(e=this.initialOptions_.width,i=this.initialOptions_.height):(t=this.getScale(),t=Array.isArray(t)?t.slice():t),new vl({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:t,width:e,height:i,size:this.size_!==null?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getAnchor(){let t=this.normalizedAnchor_;if(!t){t=this.anchor_;const n=this.getSize();if(this.anchorXUnits_=="fraction"||this.anchorYUnits_=="fraction"){if(!n)return null;t=this.anchor_.slice(),this.anchorXUnits_=="fraction"&&(t[0]*=n[0]),this.anchorYUnits_=="fraction"&&(t[1]*=n[1])}if(this.anchorOrigin_!="top-left"){if(!n)return null;t===this.anchor_&&(t=this.anchor_.slice()),(this.anchorOrigin_=="top-right"||this.anchorOrigin_=="bottom-right")&&(t[0]=-t[0]+n[0]),(this.anchorOrigin_=="bottom-left"||this.anchorOrigin_=="bottom-right")&&(t[1]=-t[1]+n[1])}this.normalizedAnchor_=t}const e=this.getDisplacement(),i=this.getScaleArray();return[t[0]-e[0]/i[0],t[1]+e[1]/i[1]]}setAnchor(t){this.anchor_=t,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(t){return this.iconImage_.getImage(t)}getPixelRatio(t){return this.iconImage_.getPixelRatio(t)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let t=this.offset_;if(this.offsetOrigin_!="top-left"){const e=this.getSize(),i=this.iconImage_.getSize();if(!e||!i)return null;t=t.slice(),(this.offsetOrigin_=="top-right"||this.offsetOrigin_=="bottom-right")&&(t[0]=i[0]-e[0]-t[0]),(this.offsetOrigin_=="bottom-left"||this.offsetOrigin_=="bottom-right")&&(t[1]=i[1]-e[1]-t[1])}return this.origin_=t,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){const t=this.getScaleArray();if(this.size_)return this.size_[0]*t[0];if(this.iconImage_.getImageState()==bt.LOADED)return this.iconImage_.getSize()[0]*t[0]}getHeight(){const t=this.getScaleArray();if(this.size_)return this.size_[1]*t[1];if(this.iconImage_.getImageState()==bt.LOADED)return this.iconImage_.getSize()[1]*t[1]}setScale(t){delete this.initialOptions_,super.setScale(t)}listenImageChange(t){this.iconImage_.addEventListener(ht.CHANGE,t)}load(){this.iconImage_.load()}unlistenImageChange(t){this.iconImage_.removeEventListener(ht.CHANGE,t)}}const xl=vl,Iv="#333";class Al{constructor(t){t=t||{},this.font_=t.font,this.rotation_=t.rotation,this.rotateWithView_=t.rotateWithView,this.scale_=t.scale,this.scaleArray_=me(t.scale!==void 0?t.scale:1),this.text_=t.text,this.textAlign_=t.textAlign,this.justify_=t.justify,this.repeat_=t.repeat,this.textBaseline_=t.textBaseline,this.fill_=t.fill!==void 0?t.fill:new ho({color:Iv}),this.maxAngle_=t.maxAngle!==void 0?t.maxAngle:Math.PI/4,this.placement_=t.placement!==void 0?t.placement:"point",this.overflow_=!!t.overflow,this.stroke_=t.stroke!==void 0?t.stroke:null,this.offsetX_=t.offsetX!==void 0?t.offsetX:0,this.offsetY_=t.offsetY!==void 0?t.offsetY:0,this.backgroundFill_=t.backgroundFill?t.backgroundFill:null,this.backgroundStroke_=t.backgroundStroke?t.backgroundStroke:null,this.padding_=t.padding===void 0?null:t.padding}clone(){const t=this.getScale();return new Al({font:this.getFont(),placement:this.getPlacement(),repeat:this.getRepeat(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(t)?t.slice():t,text:this.getText(),textAlign:this.getTextAlign(),justify:this.getJustify(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()||void 0})}getOverflow(){return this.overflow_}getFont(){return this.font_}getMaxAngle(){return this.maxAngle_}getPlacement(){return this.placement_}getRepeat(){return this.repeat_}getOffsetX(){return this.offsetX_}getOffsetY(){return this.offsetY_}getFill(){return this.fill_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getStroke(){return this.stroke_}getText(){return this.text_}getTextAlign(){return this.textAlign_}getJustify(){return this.justify_}getTextBaseline(){return this.textBaseline_}getBackgroundFill(){return this.backgroundFill_}getBackgroundStroke(){return this.backgroundStroke_}getPadding(){return this.padding_}setOverflow(t){this.overflow_=t}setFont(t){this.font_=t}setMaxAngle(t){this.maxAngle_=t}setOffsetX(t){this.offsetX_=t}setOffsetY(t){this.offsetY_=t}setPlacement(t){this.placement_=t}setRepeat(t){this.repeat_=t}setRotateWithView(t){this.rotateWithView_=t}setFill(t){this.fill_=t}setRotation(t){this.rotation_=t}setScale(t){this.scale_=t,this.scaleArray_=me(t!==void 0?t:1)}setStroke(t){this.stroke_=t}setText(t){this.text_=t}setTextAlign(t){this.textAlign_=t}setJustify(t){this.justify_=t}setTextBaseline(t){this.textBaseline_=t}setBackgroundFill(t){this.backgroundFill_=t}setBackgroundStroke(t){this.backgroundStroke_=t}setPadding(t){this.padding_=t}}const qu=Al;let Fn=0;const Jt=1<<Fn++,mt=1<<Fn++,zn=1<<Fn++,wl=1<<Fn++,Ir=1<<Fn++,be=Math.pow(2,Fn)-1,Ju={[Jt]:"boolean",[mt]:"number",[zn]:"string",[wl]:"color",[Ir]:"number[]"},kv=Object.keys(Ju).map(Number).sort(xi);function fo(r){const t=[];for(const e of kv)Ov(r,e)&&t.push(Ju[e]);return t.length===0?"untyped":t.length<3?t.join(" or "):t.slice(0,-1).join(", ")+", or "+t[t.length-1]}function Ov(r,t){return(r&t)===t}function $u(r,t){return!!(r&t)}class bi{constructor(t,e){this.type=t,this.value=e}}class Fv{constructor(t,e,...i){this.type=t,this.operator=e,this.args=i}}function td(){return{variables:new Set,properties:new Set}}function go(r,t){switch(typeof r){case"boolean":return new bi(Jt,r);case"number":return new bi(mt,r);case"string":return new bi(zn,r)}if(!Array.isArray(r))throw new Error("Expression must be an array or a primitive value");if(r.length===0)throw new Error("Empty expression");if(typeof r[0]=="string")return Uv(r,t);for(const i of r)if(typeof i!="number")throw new Error("Expected an array of numbers");let e=Ir;return(r.length===3||r.length===4)&&(e|=wl),new bi(e,r)}const H={Number:"number",String:"string",Get:"get",Var:"var",Any:"any",All:"all",Not:"!",Resolution:"resolution",Equal:"==",NotEqual:"!=",GreaterThan:">",GreaterThanOrEqualTo:">=",LessThan:"<",LessThanOrEqualTo:"<=",Multiply:"*",Divide:"/",Add:"+",Subtract:"-",Clamp:"clamp",Mod:"%",Pow:"^",Abs:"abs",Floor:"floor",Ceil:"ceil",Round:"round",Sin:"sin",Cos:"cos",Atan:"atan",Sqrt:"sqrt",Match:"match"},zv={[H.Number]:wt(Ct(1,1/0,be),mt),[H.String]:wt(Ct(1,1/0,be),zn),[H.Get]:wt(Bv,be),[H.Var]:wt(Nv,be),[H.Resolution]:wt(Gv,mt),[H.Any]:wt(Ct(2,1/0,Jt),Jt),[H.All]:wt(Ct(2,1/0,Jt),Jt),[H.Not]:wt(Ct(1,1,Jt),Jt),[H.Equal]:wt(Ct(2,2,be),Jt),[H.NotEqual]:wt(Ct(2,2,be),Jt),[H.GreaterThan]:wt(Ct(2,2,be),Jt),[H.GreaterThanOrEqualTo]:wt(Ct(2,2,be),Jt),[H.LessThan]:wt(Ct(2,2,be),Jt),[H.LessThanOrEqualTo]:wt(Ct(2,2,be),Jt),[H.Multiply]:wt(Ct(2,1/0,mt),mt),[H.Divide]:wt(Ct(2,2,mt),mt),[H.Add]:wt(Ct(2,1/0,mt),mt),[H.Subtract]:wt(Ct(2,2,mt),mt),[H.Clamp]:wt(Ct(3,3,mt),mt),[H.Mod]:wt(Ct(2,2,mt),mt),[H.Pow]:wt(Ct(2,2,mt),mt),[H.Abs]:wt(Ct(1,1,mt),mt),[H.Floor]:wt(Ct(1,1,mt),mt),[H.Ceil]:wt(Ct(1,1,mt),mt),[H.Round]:wt(Ct(1,1,mt),mt),[H.Sin]:wt(Ct(1,1,mt),mt),[H.Cos]:wt(Ct(1,1,mt),mt),[H.Atan]:wt(Ct(1,2,mt),mt),[H.Sqrt]:wt(Ct(1,1,mt),mt),[H.Match]:wt(Ct(4,1/0,zn|mt),be)};function Bv(r,t){if(r.length!==2)throw new Error("Expected 1 argument for get operation");const e=go(r[1],t);if(!(e instanceof bi))throw new Error("Expected a literal argument for get operation");if(typeof e.value!="string")throw new Error("Expected a string argument for get operation");return t.properties.add(e.value),[e]}function Nv(r,t){if(r.length!==2)throw new Error("Expected 1 argument for var operation");const e=go(r[1],t);if(!(e instanceof bi))throw new Error("Expected a literal argument for var operation");if(typeof e.value!="string")throw new Error("Expected a string argument for get operation");return t.variables.add(e.value),[e]}function Gv(r,t){const e=r[0];if(r.length!==1)throw new Error(`Expected no arguments for ${e} operation`);return[]}function Ct(r,t,e){return function(i,n){const o=i[0],a=i.length-1;if(r===t){if(a!==r){const c=r===1?"":"s";throw new Error(`Expected ${r} argument${c} for operation ${o}, got ${a}`)}}else if(a<r||a>t)throw new Error(`Expected ${r} to ${t} arguments for operation ${o}, got ${a}`);const h=new Array(a);for(let c=0;c<a;++c){const d=go(i[c+1],n);if(!$u(e,d.type)){const f=fo(e),p=fo(d.type);throw new Error(`Unexpected type for argument ${c} of ${o} operation : got ${f} but expected ${p}`)}h[c]=d}return h}}function wt(r,t){return function(e,i){const n=e[0],o=r(e,i);return new Fv(t,n,...o)}}function Uv(r,t){const e=r[0],i=zv[e];if(!i)throw new Error(`Unknown operator: ${e}`);return i(r,t)}function ed(){return{variables:{},properties:{},resolution:NaN}}function Ti(r,t,e){const i=go(r,e);if(!$u(t,i.type)){const n=fo(t),o=fo(i.type);throw new Error(`Expected expression to be of type ${n}, got ${o}`)}return an(i)}function an(r,t){if(r instanceof bi)return function(){return r.value};const e=r.operator;switch(e){case H.Number:case H.String:return jv(r);case H.Get:case H.Var:return Hv(r);case H.Resolution:return i=>i.resolution;case H.Any:case H.All:case H.Not:return Yv(r);case H.Equal:case H.NotEqual:case H.LessThan:case H.LessThanOrEqualTo:case H.GreaterThan:case H.GreaterThanOrEqualTo:return Wv(r);case H.Multiply:case H.Divide:case H.Add:case H.Subtract:case H.Clamp:case H.Mod:case H.Pow:case H.Abs:case H.Floor:case H.Ceil:case H.Round:case H.Sin:case H.Cos:case H.Atan:case H.Sqrt:return Xv(r);case H.Match:return Zv(r);default:throw new Error(`Unsupported operator ${e}`)}}function jv(r,t){const e=r.operator,i=r.args.length,n=new Array(i);for(let o=0;o<i;++o)n[o]=an(r.args[o]);switch(e){case H.Number:case H.String:return o=>{for(let a=0;a<i;++a){const h=n[a](o);if(typeof h===e)return h}throw new Error(`Expected one of the values to be a ${e}`)};default:throw new Error(`Unsupported assertion operator ${e}`)}}function Hv(r,t){const e=r.args[0];if(!(e instanceof bi))throw new Error("Expected literal name");const i=e.value;if(typeof i!="string")throw new Error("Expected string name");switch(r.operator){case H.Get:return n=>n.properties[i];case H.Var:return n=>n.variables[i];default:throw new Error(`Unsupported accessor operator ${r.operator}`)}}function Wv(r,t){const e=r.operator,i=an(r.args[0]),n=an(r.args[1]);switch(e){case H.Equal:return o=>i(o)===n(o);case H.NotEqual:return o=>i(o)!==n(o);case H.LessThan:return o=>i(o)<n(o);case H.LessThanOrEqualTo:return o=>i(o)<=n(o);case H.GreaterThan:return o=>i(o)>n(o);case H.GreaterThanOrEqualTo:return o=>i(o)>=n(o);default:throw new Error(`Unsupported comparison operator ${e}`)}}function Yv(r,t){const e=r.operator,i=r.args.length,n=new Array(i);for(let o=0;o<i;++o)n[o]=an(r.args[o]);switch(e){case H.Any:return o=>{for(let a=0;a<i;++a)if(n[a](o))return!0;return!1};case H.All:return o=>{for(let a=0;a<i;++a)if(!n[a](o))return!1;return!0};case H.Not:return o=>!n[0](o);default:throw new Error(`Unsupported logical operator ${e}`)}}function Xv(r,t){const e=r.operator,i=r.args.length,n=new Array(i);for(let o=0;o<i;++o)n[o]=an(r.args[o]);switch(e){case H.Multiply:return o=>{let a=1;for(let h=0;h<i;++h)a*=n[h](o);return a};case H.Divide:return o=>n[0](o)/n[1](o);case H.Add:return o=>{let a=0;for(let h=0;h<i;++h)a+=n[h](o);return a};case H.Subtract:return o=>n[0](o)-n[1](o);case H.Clamp:return o=>{const a=n[0](o),h=n[1](o);if(a<h)return h;const c=n[2](o);return a>c?c:a};case H.Mod:return o=>n[0](o)%n[1](o);case H.Pow:return o=>Math.pow(n[0](o),n[1](o));case H.Abs:return o=>Math.abs(n[0](o));case H.Floor:return o=>Math.floor(n[0](o));case H.Ceil:return o=>Math.ceil(n[0](o));case H.Round:return o=>Math.round(n[0](o));case H.Sin:return o=>Math.sin(n[0](o));case H.Cos:return o=>Math.cos(n[0](o));case H.Atan:return i===2?o=>Math.atan2(n[0](o),n[1](o)):o=>Math.atan(n[0](o));case H.Sqrt:return o=>Math.sqrt(n[0](o));default:throw new Error(`Unsupported numeric operator ${e}`)}}function Zv(r,t){const e=r.args.length,i=new Array(e);for(let n=0;n<e;++n)i[n]=an(r.args[n]);return n=>{const o=i[0](n);for(let a=1;a<e;a+=2)if(o===i[a](n))return i[a+1](n);return i[e-1](n)}}function Vv(r){return!0}function Kv(r){const t=td(),e=Qv(r,t),i=ed();return function(n,o){return i.properties=n.getPropertiesInternal(),i.resolution=o,e(i)}}function id(r){const t=td(),e=r.length,i=new Array(e);for(let a=0;a<e;++a)i[a]=El(r[a],t);const n=ed(),o=new Array(e);return function(a,h){n.properties=a.getPropertiesInternal(),n.resolution=h;for(let c=0;c<e;++c)o[c]=i[c](n);return o}}function Qv(r,t){const e=r.length,i=new Array(e);for(let n=0;n<e;++n){const o=r[n],a="filter"in o?Ti(o.filter,Jt,t):Vv;let h;if(Array.isArray(o.style)){const c=o.style.length;h=new Array(c);for(let d=0;d<c;++d)h[d]=El(o.style[d],t)}else h=[El(o.style,t)];i[n]={filter:a,styles:h}}return function(n){const o=[];let a=!1;for(let h=0;h<e;++h){const c=i[h].filter;if(c(n)&&!(r[h].else&&a)){a=!0;for(const d of i[h].styles){const f=d(n);f&&o.push(f)}}}return o}}function El(r,t){const e=kr(r,"",t),i=Or(r,"",t),n=qv(r,t),o=Jv(r,t),a=le(r,"z-index",t),h=new On;return function(c){let d=!0;if(e){const f=e(c);f&&(d=!1),h.setFill(f)}if(i){const f=i(c);f&&(d=!1),h.setStroke(f)}if(n){const f=n(c);f&&(d=!1),h.setText(f)}if(o){const f=o(c);f&&(d=!1),h.setImage(f)}return a&&h.setZIndex(a(c)),d?null:h}}function kr(r,t,e){const i=nd(r,t+"fill-color",e);if(!i)return null;const n=new ho;return function(o){const a=i(o);return a==="none"?null:(n.setColor(a),n)}}function Or(r,t,e){const i=le(r,t+"stroke-width",e),n=nd(r,t+"stroke-color",e);if(!i&&!n)return null;const o=Mi(r,t+"stroke-line-cap",e),a=Mi(r,t+"stroke-line-join",e),h=rd(r,t+"stroke-line-dash",e),c=le(r,t+"stroke-line-dash-offset",e),d=le(r,t+"stroke-miter-limit",e),f=new co;return function(p){if(n){const _=n(p);if(_==="none")return null;f.setColor(_)}if(i&&f.setWidth(i(p)),o){const _=o(p);if(_!=="butt"&&_!=="round"&&_!=="square")throw new Error("Expected butt, round, or square line cap");f.setLineCap(_)}if(a){const _=a(p);if(_!=="bevel"&&_!=="round"&&_!=="miter")throw new Error("Expected bevel, round, or miter line join");f.setLineJoin(_)}return h&&f.setLineDash(h(p)),c&&f.setLineDashOffset(c(p)),d&&f.setMiterLimit(d(p)),f}}function qv(r,t){const e="text-",i=Mi(r,e+"value",t);if(!i)return null;const n=kr(r,e,t),o=kr(r,e+"background-",t),a=Or(r,e,t),h=Or(r,e+"background-",t),c=Mi(r,e+"font",t),d=le(r,e+"max-angle",t),f=le(r,e+"offset-x",t),p=le(r,e+"offset-y",t),_=Fr(r,e+"overflow",t),y=Mi(r,e+"placement",t),v=le(r,e+"repeat",t),A=mo(r,e+"scale",t),b=Fr(r,e+"rotate-with-view",t),M=le(r,e+"rotation",t),w=Mi(r,e+"align",t),E=Mi(r,e+"justify",t),C=Mi(r,e+"baseline",t),P=rd(r,e+"padding",t),D=new qu({});return function(k){if(D.setText(i(k)),n&&D.setFill(n(k)),o&&D.setBackgroundFill(o(k)),a&&D.setStroke(a(k)),h&&D.setBackgroundStroke(h(k)),c&&D.setFont(c(k)),d&&D.setMaxAngle(d(k)),f&&D.setOffsetX(f(k)),p&&D.setOffsetY(p(k)),_&&D.setOverflow(_(k)),y){const R=y(k);if(R!=="point"&&R!=="line")throw new Error("Expected point or line for text-placement");D.setPlacement(R)}if(v&&D.setRepeat(v(k)),A&&D.setScale(A(k)),b&&D.setRotateWithView(b(k)),M&&D.setRotation(M(k)),w){const R=w(k);if(R!=="left"&&R!=="center"&&R!=="right"&&R!=="end"&&R!=="start")throw new Error("Expected left, right, center, start, or end for text-align");D.setTextAlign(R)}if(E){const R=E(k);if(R!=="left"&&R!=="right"&&R!=="center")throw new Error("Expected left, right, or center for text-justify");D.setJustify(R)}if(C){const R=C(k);if(R!=="bottom"&&R!=="top"&&R!=="middle"&&R!=="alphabetic"&&R!=="hanging")throw new Error("Expected bottom, top, middle, alphabetic, or hanging for text-baseline");D.setTextBaseline(R)}return P&&D.setPadding(P(k)),D}}function Jv(r,t){return"icon-src"in r?$v(r,t):"shape-points"in r?tx(r,t):"circle-radius"in r?ex(r,t):null}function $v(r,t){const e="icon-",i=e+"src",n=ad(r[i],i),o=po(r,e+"anchor",t),a=mo(r,e+"scale",t),h=le(r,e+"opacity",t),c=po(r,e+"displacement",t),d=le(r,e+"rotation",t),f=Fr(r,e+"rotate-with-view",t),p=sd(r,e+"anchor-origin"),_=od(r,e+"anchor-x-units"),y=od(r,e+"anchor-y-units"),v=sx(r,e+"color"),A=nx(r,e+"cross-origin"),b=rx(r,e+"offset"),M=sd(r,e+"offset-origin"),w=Bn(r,e+"width"),E=Bn(r,e+"height"),C=ix(r,e+"size"),P=Cl(r,e+"declutter"),D=new xl({src:n,anchorOrigin:p,anchorXUnits:_,anchorYUnits:y,color:v,crossOrigin:A,offset:b,offsetOrigin:M,height:E,width:w,size:C,declutterMode:P});return function(k){return h&&D.setOpacity(h(k)),c&&D.setDisplacement(c(k)),d&&D.setRotation(d(k)),f&&D.setRotateWithView(f(k)),a&&D.setScale(a(k)),o&&D.setAnchor(o(k)),D}}function tx(r,t){const e="shape-",i=e+"points",n=ld(r[i],i),o=kr(r,e,t),a=Or(r,e,t),h=mo(r,e+"scale",t),c=po(r,e+"displacement",t),d=le(r,e+"rotation",t),f=Fr(r,e+"rotate-with-view",t),p=Bn(r,e+"radius"),_=Bn(r,e+"radius1"),y=Bn(r,e+"radius2"),v=Bn(r,e+"angle"),A=Cl(r,e+"declutter-mode"),b=new Zu({points:n,radius:p,radius1:_,radius2:y,angle:v,declutterMode:A});return function(M){return o&&b.setFill(o(M)),a&&b.setStroke(a(M)),c&&b.setDisplacement(c(M)),d&&b.setRotation(d(M)),f&&b.setRotateWithView(f(M)),h&&b.setScale(h(M)),b}}function ex(r,t){const e="circle-",i=kr(r,e,t),n=Or(r,e,t),o=le(r,e+"radius",t),a=mo(r,e+"scale",t),h=po(r,e+"displacement",t),c=le(r,e+"rotation",t),d=Fr(r,e+"rotate-with-view",t),f=Cl(r,e+"declutter-mode"),p=new Vu({radius:5,declutterMode:f});return function(_){return o&&p.setRadius(o(_)),i&&p.setFill(i(_)),n&&p.setStroke(n(_)),h&&p.setDisplacement(h(_)),c&&p.setRotation(c(_)),d&&p.setRotateWithView(d(_)),a&&p.setScale(a(_)),p}}function le(r,t,e){if(!(t in r))return;const i=Ti(r[t],mt,e);return function(n){return ld(i(n),t)}}function Mi(r,t,e){if(!(t in r))return null;const i=Ti(r[t],zn,e);return function(n){return ad(i(n),t)}}function Fr(r,t,e){if(!(t in r))return null;const i=Ti(r[t],Jt,e);return function(n){const o=i(n);if(typeof o!="boolean")throw new Error(`Expected a boolean for ${t}`);return o}}function nd(r,t,e){if(!(t in r))return null;const i=Ti(r[t],wl|zn,e);return function(n){return hd(i(n),t)}}function rd(r,t,e){if(!(t in r))return null;const i=Ti(r[t],Ir,e);return function(n){return zr(i(n),t)}}function po(r,t,e){if(!(t in r))return null;const i=Ti(r[t],Ir,e);return function(n){const o=zr(i(n),t);if(o.length!==2)throw new Error(`Expected two numbers for ${t}`);return o}}function mo(r,t,e){if(!(t in r))return null;const i=Ti(r[t],Ir|mt,e);return function(n){return ox(i(n),t)}}function Bn(r,t){const e=r[t];if(e!==void 0){if(typeof e!="number")throw new Error(`Expected a number for ${t}`);return e}}function ix(r,t){const e=r[t];if(e!==void 0){if(typeof e=="number")return me(e);if(!Array.isArray(e))throw new Error(`Expected a number or size array for ${t}`);if(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number")throw new Error(`Expected a number or size array for ${t}`);return e}}function nx(r,t){const e=r[t];if(e!==void 0){if(typeof e!="string")throw new Error(`Expected a string for ${t}`);return e}}function sd(r,t){const e=r[t];if(e!==void 0){if(e!=="bottom-left"&&e!=="bottom-right"&&e!=="top-left"&&e!=="top-right")throw new Error(`Expected bottom-left, bottom-right, top-left, or top-right for ${t}`);return e}}function od(r,t){const e=r[t];if(e!==void 0){if(e!=="pixels"&&e!=="fraction")throw new Error(`Expected pixels or fraction for ${t}`);return e}}function rx(r,t){const e=r[t];if(e!==void 0)return zr(e,t)}function Cl(r,t){const e=r[t];if(e!==void 0){if(typeof e!="string")throw new Error(`Expected a string for ${t}`);if(e!=="declutter"&&e!=="obstacle"&&e!=="none")throw new Error(`Expected declutter, obstacle, or none for ${t}`);return e}}function sx(r,t){const e=r[t];if(e!==void 0)return hd(e,t)}function zr(r,t){if(!Array.isArray(r))throw new Error(`Expected an array for ${t}`);const e=r.length;for(let i=0;i<e;++i)if(typeof r[i]!="number")throw new Error(`Expected an array of numbers for ${t}`);return r}function ad(r,t){if(typeof r!="string")throw new Error(`Expected a string for ${t}`);return r}function ld(r,t){if(typeof r!="number")throw new Error(`Expected a number for ${t}`);return r}function hd(r,t){if(typeof r=="string")return r;const e=zr(r,t),i=e.length;if(i<3||i>4)throw new Error(`Expected a color with 3 or 4 values for ${t}`);return e}function ox(r,t){if(typeof r=="number")return r;const e=zr(r,t);if(e.length!==2)throw new Error(`Expected an array of two numbers for ${t}`);return e}const cd={RENDER_ORDER:"renderOrder"};class ax extends qs{constructor(t){t=t||{};const e=Object.assign({},t);delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,super(e),this.declutter_=t.declutter!==void 0?t.declutter:!1,this.renderBuffer_=t.renderBuffer!==void 0?t.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(t.style),this.updateWhileAnimating_=t.updateWhileAnimating!==void 0?t.updateWhileAnimating:!1,this.updateWhileInteracting_=t.updateWhileInteracting!==void 0?t.updateWhileInteracting:!1}getDeclutter(){return this.declutter_}getFeatures(t){return super.getFeatures(t)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(cd.RENDER_ORDER)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(t){t.declutterTree||(t.declutterTree=new kh(9)),this.getRenderer().renderDeclutter(t)}setRenderOrder(t){this.set(cd.RENDER_ORDER,t)}setStyle(t){this.style_=lx(t),this.styleFunction_=t===null?void 0:bv(this.style_),this.changed()}}function lx(r){if(r===void 0)return Tv;if(!r)return null;if(typeof r=="function"||r instanceof On)return r;if(!Array.isArray(r))return id([r]);if(r.length===0)return[];const t=r.length,e=r[0];if(e instanceof On){const n=new Array(t);for(let o=0;o<t;++o){const a=r[o];if(!(a instanceof On))throw new Error("Expected a list of style instances");n[o]=a}return n}if("style"in e){const n=new Array(t);for(let o=0;o<t;++o){const a=r[o];if(!("style"in a))throw new Error("Expected a list of rules with a style property");n[o]=a}return Kv(n)}return id(r)}const Ll=ax,ee={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVEFEATURE:"removefeature",FEATURESLOADSTART:"featuresloadstart",FEATURESLOADEND:"featuresloadend",FEATURESLOADERROR:"featuresloaderror"},bl=34962,Tl=34963,hx=35040,cx=35044,Ml=35048,ux=5121,dx=5123,fx=5125,ud=5126,dd=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function gx(r,t){t=Object.assign({preserveDrawingBuffer:!0,antialias:!E_},t);const e=dd.length;for(let i=0;i<e;++i)try{const n=r.getContext(dd[i],t);if(n)return n}catch{}return null}const px={STATIC_DRAW:cx,STREAM_DRAW:hx,DYNAMIC_DRAW:Ml};class mx{constructor(t,e){this.array=null,this.type=t,_t(t===bl||t===Tl,"A `WebGLArrayBuffer` must either be of type `ELEMENT_ARRAY_BUFFER` or `ARRAY_BUFFER`"),this.usage=e!==void 0?e:px.STATIC_DRAW}ofSize(t){return this.array=new(Pl(this.type))(t),this}fromArray(t){return this.array=Pl(this.type).from(t),this}fromArrayBuffer(t){return this.array=new(Pl(this.type))(t),this}getType(){return this.type}getArray(){return this.array}getUsage(){return this.usage}getSize(){return this.array?this.array.length:0}}function Pl(r){switch(r){case bl:return Float32Array;case Tl:return Uint32Array;default:return Float32Array}}const fd=mx;class _x extends Ec{constructor(t){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=t,this.declutterExecutorGroup=null}getFeatures(t){return at()}getData(t){return null}prepareFrame(t){return at()}renderFrame(t,e){return at()}loadedTileCallback(t,e,i){t[e]||(t[e]={}),t[e][i.tileCoord.toString()]=i}createLoadedTileFinder(t,e,i){return(n,o)=>{const a=this.loadedTileCallback.bind(this,i,n);return t.forEachLoadedTile(e,n,o,a)}}forEachFeatureAtCoordinate(t,e,i,n,o){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(t){const e=t.target;(e.getState()===bt.LOADED||e.getState()===bt.ERROR)&&this.renderIfReadyAndVisible()}loadImage(t){let e=t.getState();return e!=bt.LOADED&&e!=bt.ERROR&&t.addEventListener(ht.CHANGE,this.boundHandleImageChange_),e==bt.IDLE&&(t.load(),e=t.getState()),e==bt.LOADED}renderIfReadyAndVisible(){const t=this.getLayer();t&&t.getVisible()&&t.getSourceState()==="ready"&&t.changed()}disposeInternal(){delete this.layer_,super.disposeInternal()}}const gd=_x,_o={LOST:"webglcontextlost",RESTORED:"webglcontextrestored"},yx=`
24
26
  precision mediump float;
25
27
 
26
28
  attribute vec2 a_position;
@@ -34,7 +36,7 @@
34
36
  v_screenCoord = v_texCoord * u_screenSize;
35
37
  gl_Position = vec4(a_position, 0.0, 1.0);
36
38
  }
37
- `,$0=`
39
+ `,vx=`
38
40
  precision mediump float;
39
41
 
40
42
  uniform sampler2D u_image;
@@ -45,7 +47,7 @@
45
47
  void main() {
46
48
  gl_FragColor = texture2D(u_image, v_texCoord) * u_opacity;
47
49
  }
48
- `;class tx{constructor(t){this.gl_=t.webGlContext;const e=this.gl_;this.scaleRatio_=t.scaleRatio||1,this.renderTargetTexture_=e.createTexture(),this.renderTargetTextureSize_=null,this.frameBuffer_=e.createFramebuffer(),this.depthBuffer_=e.createRenderbuffer();const i=e.createShader(e.VERTEX_SHADER);e.shaderSource(i,t.vertexShader||J0),e.compileShader(i);const n=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(n,t.fragmentShader||$0),e.compileShader(n),this.renderTargetProgram_=e.createProgram(),e.attachShader(this.renderTargetProgram_,i),e.attachShader(this.renderTargetProgram_,n),e.linkProgram(this.renderTargetProgram_),this.renderTargetVerticesBuffer_=e.createBuffer();const s=[-1,-1,1,-1,-1,1,1,-1,1,1,-1,1];e.bindBuffer(e.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),e.bufferData(e.ARRAY_BUFFER,new Float32Array(s),e.STATIC_DRAW),this.renderTargetAttribLocation_=e.getAttribLocation(this.renderTargetProgram_,"a_position"),this.renderTargetUniformLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_screenSize"),this.renderTargetOpacityLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_opacity"),this.renderTargetTextureLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_image"),this.uniforms_=[],t.uniforms&&Object.keys(t.uniforms).forEach(a=>{this.uniforms_.push({value:t.uniforms[a],location:e.getUniformLocation(this.renderTargetProgram_,a)})})}getGL(){return this.gl_}init(t){const e=this.getGL(),i=[e.drawingBufferWidth*this.scaleRatio_,e.drawingBufferHeight*this.scaleRatio_];if(e.bindFramebuffer(e.FRAMEBUFFER,this.getFrameBuffer()),e.bindRenderbuffer(e.RENDERBUFFER,this.getDepthBuffer()),e.viewport(0,0,i[0],i[1]),!this.renderTargetTextureSize_||this.renderTargetTextureSize_[0]!==i[0]||this.renderTargetTextureSize_[1]!==i[1]){this.renderTargetTextureSize_=i;const n=0,s=e.RGBA,a=0,h=e.RGBA,c=e.UNSIGNED_BYTE,d=null;e.bindTexture(e.TEXTURE_2D,this.renderTargetTexture_),e.texImage2D(e.TEXTURE_2D,n,s,i[0],i[1],a,h,c,d),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.renderTargetTexture_,0),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,i[0],i[1]),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,this.depthBuffer_)}}apply(t,e,i,n){const s=this.getGL(),a=t.size;if(s.bindFramebuffer(s.FRAMEBUFFER,e?e.getFrameBuffer():null),s.activeTexture(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,this.renderTargetTexture_),!e){const c=gt(s.canvas);if(!t.renderTargets[c]){const d=s.getContextAttributes();d&&d.preserveDrawingBuffer&&(s.clearColor(0,0,0,0),s.clearDepth(1),s.clear(s.COLOR_BUFFER_BIT|s.DEPTH_BUFFER_BIT)),t.renderTargets[c]=!0}}s.disable(s.DEPTH_TEST),s.enable(s.BLEND),s.blendFunc(s.ONE,s.ONE_MINUS_SRC_ALPHA),s.viewport(0,0,s.drawingBufferWidth,s.drawingBufferHeight),s.bindBuffer(s.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),s.useProgram(this.renderTargetProgram_),s.enableVertexAttribArray(this.renderTargetAttribLocation_),s.vertexAttribPointer(this.renderTargetAttribLocation_,2,s.FLOAT,!1,0,0),s.uniform2f(this.renderTargetUniformLocation_,a[0],a[1]),s.uniform1i(this.renderTargetTextureLocation_,0);const h=t.layerStatesArray[t.layerIndex].opacity;s.uniform1f(this.renderTargetOpacityLocation_,h),this.applyUniforms(t),i&&i(s,t),s.drawArrays(s.TRIANGLES,0,6),n&&n(s,t)}getFrameBuffer(){return this.frameBuffer_}getDepthBuffer(){return this.depthBuffer_}applyUniforms(t){const e=this.getGL();let i,n=1;this.uniforms_.forEach(function(s){if(i=typeof s.value=="function"?s.value(t):s.value,i instanceof HTMLCanvasElement||i instanceof ImageData)s.texture||(s.texture=e.createTexture()),e.activeTexture(e[`TEXTURE${n}`]),e.bindTexture(e.TEXTURE_2D,s.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),i instanceof ImageData?e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,i.width,i.height,0,e.UNSIGNED_BYTE,new Uint8Array(i.data)):e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,i),e.uniform1i(s.location,n++);else if(Array.isArray(i))switch(i.length){case 2:e.uniform2f(s.location,i[0],i[1]);return;case 3:e.uniform3f(s.location,i[0],i[1],i[2]);return;case 4:e.uniform4f(s.location,i[0],i[1],i[2],i[3]);return;default:return}else typeof i=="number"&&e.uniform1f(s.location,i)})}}const jd=tx;function ex(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function ix(r,t){return r[0]=t[0],r[1]=t[1],r[4]=t[2],r[5]=t[3],r[12]=t[4],r[13]=t[5],r}const pi={PROJECTION_MATRIX:"u_projectionMatrix",SCREEN_TO_WORLD_MATRIX:"u_screenToWorldMatrix",TIME:"u_time",ZOOM:"u_zoom",RESOLUTION:"u_resolution",ROTATION:"u_rotation",VIEWPORT_SIZE_PX:"u_viewportSizePx",PIXEL_RATIO:"u_pixelRatio",HIT_DETECTION:"u_hitDetection"},mi={UNSIGNED_BYTE:Y0,UNSIGNED_SHORT:Z0,UNSIGNED_INT:X0,FLOAT:Bd},Fo={};function Hd(r){return"shared/"+r}let Wd=0;function nx(){const r="unique/"+Wd;return Wd+=1,r}function rx(r){let t=Fo[r];if(!t){const e=document.createElement("canvas");e.width=1,e.height=1,e.style.position="absolute",e.style.left="0",t={users:0,context:V0(e)},Fo[r]=t}return t.users+=1,t.context}function sx(r){const t=Fo[r];if(!t||(t.users-=1,t.users>0))return;const e=t.context,i=e.getExtension("WEBGL_lose_context");i&&i.loseContext();const n=e.canvas;n.width=1,n.height=1,delete Fo[r]}class ox extends Us{constructor(t){super(),t=t||{},this.boundHandleWebGLContextLost_=this.handleWebGLContextLost.bind(this),this.boundHandleWebGLContextRestored_=this.handleWebGLContextRestored.bind(this),this.canvasCacheKey_=t.canvasCacheKey?Hd(t.canvasCacheKey):nx(),this.gl_=rx(this.canvasCacheKey_),this.bufferCache_={},this.extensionCache_={},this.currentProgram_=null,this.needsToBeRecreated_=!1;const e=this.gl_.canvas;e.addEventListener(Oo.LOST,this.boundHandleWebGLContextLost_),e.addEventListener(Oo.RESTORED,this.boundHandleWebGLContextRestored_),this.offsetRotateMatrix_=Yt(),this.offsetScaleMatrix_=Yt(),this.tmpMat4_=ex(),this.uniformLocationsByProgram_={},this.attribLocationsByProgram_={},this.uniforms_=[],t.uniforms&&this.setUniforms(t.uniforms),this.postProcessPasses_=t.postProcesses?t.postProcesses.map(i=>new jd({webGlContext:this.gl_,scaleRatio:i.scaleRatio,vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,uniforms:i.uniforms})):[new jd({webGlContext:this.gl_})],this.shaderCompileErrors_=null,this.startTime_=Date.now()}setUniforms(t){this.uniforms_=[],this.addUniforms(t)}addUniforms(t){for(const e in t)this.uniforms_.push({name:e,value:t[e]})}canvasCacheKeyMatches(t){return this.canvasCacheKey_===Hd(t)}getExtension(t){if(t in this.extensionCache_)return this.extensionCache_[t];const e=this.gl_.getExtension(t);return this.extensionCache_[t]=e,e}bindBuffer(t){const e=this.gl_,i=gt(t);let n=this.bufferCache_[i];if(!n){const s=e.createBuffer();n={buffer:t,webGlBuffer:s},this.bufferCache_[i]=n}e.bindBuffer(t.getType(),n.webGlBuffer)}flushBufferData(t){const e=this.gl_;this.bindBuffer(t),e.bufferData(t.getType(),t.getArray(),t.getUsage())}deleteBuffer(t){const e=this.gl_,i=gt(t),n=this.bufferCache_[i];n&&!e.isContextLost()&&e.deleteBuffer(n.webGlBuffer),delete this.bufferCache_[i]}disposeInternal(){const t=this.gl_.canvas;t.removeEventListener(Oo.LOST,this.boundHandleWebGLContextLost_),t.removeEventListener(Oo.RESTORED,this.boundHandleWebGLContextRestored_),sx(this.canvasCacheKey_),delete this.gl_}prepareDraw(t,e,i){const n=this.gl_,s=this.getCanvas(),a=t.size,h=t.pixelRatio;(s.width!==a[0]*h||s.height!==a[1]*h)&&(s.width=a[0]*h,s.height=a[1]*h,s.style.width=a[0]+"px",s.style.height=a[1]+"px");for(let c=this.postProcessPasses_.length-1;c>=0;c--)this.postProcessPasses_[c].init(t);n.bindTexture(n.TEXTURE_2D,null),n.clearColor(0,0,0,0),n.depthRange(0,1),n.clearDepth(1),n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT),n.enable(n.BLEND),n.blendFunc(n.ONE,e?n.ZERO:n.ONE_MINUS_SRC_ALPHA),i?(n.enable(n.DEPTH_TEST),n.depthFunc(n.LEQUAL)):n.disable(n.DEPTH_TEST)}bindTexture(t,e,i){const n=this.gl_;n.activeTexture(n.TEXTURE0+e),n.bindTexture(n.TEXTURE_2D,t),n.uniform1i(this.getUniformLocation(i),e)}prepareDrawToRenderTarget(t,e,i,n){const s=this.gl_,a=e.getSize();s.bindFramebuffer(s.FRAMEBUFFER,e.getFramebuffer()),s.bindRenderbuffer(s.RENDERBUFFER,e.getDepthbuffer()),s.viewport(0,0,a[0],a[1]),s.bindTexture(s.TEXTURE_2D,e.getTexture()),s.clearColor(0,0,0,0),s.depthRange(0,1),s.clearDepth(1),s.clear(s.COLOR_BUFFER_BIT|s.DEPTH_BUFFER_BIT),s.enable(s.BLEND),s.blendFunc(s.ONE,i?s.ZERO:s.ONE_MINUS_SRC_ALPHA),n?(s.enable(s.DEPTH_TEST),s.depthFunc(s.LEQUAL)):s.disable(s.DEPTH_TEST)}drawElements(t,e){const i=this.gl_;this.getExtension("OES_element_index_uint");const n=i.UNSIGNED_INT,s=4,a=e-t,h=t*s;i.drawElements(i.TRIANGLES,a,n,h)}finalizeDraw(t,e,i){for(let n=0,s=this.postProcessPasses_.length;n<s;n++)n===s-1?this.postProcessPasses_[n].apply(t,null,e,i):this.postProcessPasses_[n].apply(t,this.postProcessPasses_[n+1])}getCanvas(){return this.gl_.canvas}getGL(){return this.gl_}applyFrameState(t){const e=t.size,i=t.viewState.rotation,n=t.pixelRatio;this.setUniformFloatValue(pi.TIME,(Date.now()-this.startTime_)*.001),this.setUniformFloatValue(pi.ZOOM,t.viewState.zoom),this.setUniformFloatValue(pi.RESOLUTION,t.viewState.resolution),this.setUniformFloatValue(pi.PIXEL_RATIO,n),this.setUniformFloatVec2(pi.VIEWPORT_SIZE_PX,[e[0],e[1]]),this.setUniformFloatValue(pi.ROTATION,i)}applyHitDetectionUniform(t){const e=this.getUniformLocation(pi.HIT_DETECTION);this.getGL().uniform1i(e,t?1:0),t&&this.setUniformFloatValue(pi.PIXEL_RATIO,.5)}applyUniforms(t){const e=this.gl_;let i,n=0;this.uniforms_.forEach(s=>{if(i=typeof s.value=="function"?s.value(t):s.value,i instanceof HTMLCanvasElement||i instanceof HTMLImageElement||i instanceof ImageData)s.texture||(s.prevValue=void 0,s.texture=e.createTexture()),this.bindTexture(s.texture,n,s.name),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),(!(i instanceof HTMLImageElement)||i.complete)&&s.prevValue!==i&&(s.prevValue=i,e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,i)),n++;else if(Array.isArray(i)&&i.length===6)this.setUniformMatrixValue(s.name,ix(this.tmpMat4_,i));else if(Array.isArray(i)&&i.length<=4)switch(i.length){case 2:e.uniform2f(this.getUniformLocation(s.name),i[0],i[1]);return;case 3:e.uniform3f(this.getUniformLocation(s.name),i[0],i[1],i[2]);return;case 4:e.uniform4f(this.getUniformLocation(s.name),i[0],i[1],i[2],i[3]);return;default:return}else typeof i=="number"&&e.uniform1f(this.getUniformLocation(s.name),i)})}useProgram(t,e){this.gl_.useProgram(t),this.currentProgram_=t,this.applyFrameState(e),this.applyUniforms(e)}compileShader(t,e){const i=this.gl_,n=i.createShader(e);return i.shaderSource(n,t),i.compileShader(n),n}getProgram(t,e){const i=this.gl_,n=this.compileShader(t,i.FRAGMENT_SHADER),s=this.compileShader(e,i.VERTEX_SHADER),a=i.createProgram();if(i.attachShader(a,n),i.attachShader(a,s),i.linkProgram(a),!i.getShaderParameter(n,i.COMPILE_STATUS)){const h=`Fragment shader compilation failed: ${i.getShaderInfoLog(n)}`;throw new Error(h)}if(i.deleteShader(n),!i.getShaderParameter(s,i.COMPILE_STATUS)){const h=`Vertex shader compilation failed: ${i.getShaderInfoLog(s)}`;throw new Error(h)}if(i.deleteShader(s),!i.getProgramParameter(a,i.LINK_STATUS)){const h=`GL program linking failed: ${i.getProgramInfoLog(a)}`;throw new Error(h)}return a}getUniformLocation(t){const e=gt(this.currentProgram_);return this.uniformLocationsByProgram_[e]===void 0&&(this.uniformLocationsByProgram_[e]={}),this.uniformLocationsByProgram_[e][t]===void 0&&(this.uniformLocationsByProgram_[e][t]=this.gl_.getUniformLocation(this.currentProgram_,t)),this.uniformLocationsByProgram_[e][t]}getAttributeLocation(t){const e=gt(this.currentProgram_);return this.attribLocationsByProgram_[e]===void 0&&(this.attribLocationsByProgram_[e]={}),this.attribLocationsByProgram_[e][t]===void 0&&(this.attribLocationsByProgram_[e][t]=this.gl_.getAttribLocation(this.currentProgram_,t)),this.attribLocationsByProgram_[e][t]}makeProjectionTransform(t,e){const i=t.size,n=t.viewState.rotation,s=t.viewState.resolution,a=t.viewState.center;return Re(e,0,0,2/(s*i[0]),2/(s*i[1]),-n,-a[0],-a[1]),e}setUniformFloatValue(t,e){this.gl_.uniform1f(this.getUniformLocation(t),e)}setUniformFloatVec2(t,e){this.gl_.uniform2fv(this.getUniformLocation(t),e)}setUniformFloatVec4(t,e){this.gl_.uniform4fv(this.getUniformLocation(t),e)}setUniformMatrixValue(t,e){this.gl_.uniformMatrix4fv(this.getUniformLocation(t),!1,e)}enableAttributeArray_(t,e,i,n,s){const a=this.getAttributeLocation(t);a<0||(this.gl_.enableVertexAttribArray(a),this.gl_.vertexAttribPointer(a,e,i,!1,n,s))}enableAttributes(t){const e=ax(t);let i=0;for(let n=0;n<t.length;n++){const s=t[n];this.enableAttributeArray_(s.name,s.size,s.type||Bd,e,i),i+=s.size*Yd(s.type)}}handleWebGLContextLost(t){kn(this.bufferCache_),this.currentProgram_=null,t.preventDefault()}handleWebGLContextRestored(){this.needsToBeRecreated_=!0}needsToBeRecreated(){return this.needsToBeRecreated_}createTexture(t,e,i){const n=this.gl_;i=i||n.createTexture();const s=0,a=n.RGBA,h=0,c=n.RGBA,d=n.UNSIGNED_BYTE;return n.bindTexture(n.TEXTURE_2D,i),e?n.texImage2D(n.TEXTURE_2D,s,a,c,d,e):n.texImage2D(n.TEXTURE_2D,s,a,t[0],t[1],h,c,d,null),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),i}}function ax(r){let t=0;for(let e=0;e<r.length;e++){const i=r[e];t+=i.size*Yd(i.type)}return t}function Yd(r){switch(r){case mi.UNSIGNED_BYTE:return Uint8Array.BYTES_PER_ELEMENT;case mi.UNSIGNED_SHORT:return Uint16Array.BYTES_PER_ELEMENT;case mi.UNSIGNED_INT:return Uint32Array.BYTES_PER_ELEMENT;case mi.FLOAT:default:return Float32Array.BYTES_PER_ELEMENT}}class $l extends Ud{constructor(t,e){super(t),e=e||{},this.inversePixelTransform_=Yt(),this.pixelContext_=null,this.postProcesses_=e.postProcesses,this.uniforms_=e.uniforms,this.helper,t.addChangeListener(Ct.MAP,this.removeHelper.bind(this)),this.dispatchPreComposeEvent=this.dispatchPreComposeEvent.bind(this),this.dispatchPostComposeEvent=this.dispatchPostComposeEvent.bind(this)}dispatchPreComposeEvent(t,e){const i=this.getLayer();if(i.hasListener(te.PRECOMPOSE)){const n=new zr(te.PRECOMPOSE,void 0,e,t);i.dispatchEvent(n)}}dispatchPostComposeEvent(t,e){const i=this.getLayer();if(i.hasListener(te.POSTCOMPOSE)){const n=new zr(te.POSTCOMPOSE,void 0,e,t);i.dispatchEvent(n)}}reset(t){this.uniforms_=t.uniforms,this.helper&&this.helper.setUniforms(this.uniforms_)}removeHelper(){this.helper&&(this.helper.dispose(),delete this.helper)}prepareFrame(t){if(this.getLayer().getRenderSource()){let e=!0,i=-1,n;for(let a=0,h=t.layerStatesArray.length;a<h;a++){const c=t.layerStatesArray[a].layer,d=c.getRenderer();if(!(d instanceof $l)){e=!0;continue}const f=c.getClassName();if((e||f!==n)&&(i+=1,e=!1),n=f,d===this)break}const s="map/"+t.mapId+"/group/"+i;(!this.helper||!this.helper.canvasCacheKeyMatches(s)||this.helper.needsToBeRecreated())&&(this.removeHelper(),this.helper=new ox({postProcesses:this.postProcesses_,uniforms:this.uniforms_,canvasCacheKey:s}),n&&(this.helper.getCanvas().className=n),this.afterHelperCreated())}return this.prepareFrameInternal(t)}afterHelperCreated(){}prepareFrameInternal(t){return!0}disposeInternal(){this.removeHelper(),super.disposeInternal()}dispatchRenderEvent_(t,e,i){const n=this.getLayer();if(n.hasListener(t)){Re(this.inversePixelTransform_,0,0,i.pixelRatio,-i.pixelRatio,0,0,-i.size[1]);const s=new zr(t,this.inversePixelTransform_,i,e);n.dispatchEvent(s)}}preRender(t,e){this.dispatchRenderEvent_(te.PRERENDER,t,e)}postRender(t,e){this.dispatchRenderEvent_(te.POSTRENDER,t,e)}}const lx=$l,Ke=new Uint8Array(4);class hx{constructor(t,e){this.helper_=t;const i=t.getGL();this.texture_=i.createTexture(),this.framebuffer_=i.createFramebuffer(),this.depthbuffer_=i.createRenderbuffer(),this.size_=e||[1,1],this.data_=new Uint8Array(0),this.dataCacheDirty_=!0,this.updateSize_()}setSize(t){li(t,this.size_)||(this.size_[0]=t[0],this.size_[1]=t[1],this.updateSize_())}getSize(){return this.size_}clearCachedData(){this.dataCacheDirty_=!0}readAll(){if(this.dataCacheDirty_){const t=this.size_,e=this.helper_.getGL();e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.readPixels(0,0,t[0],t[1],e.RGBA,e.UNSIGNED_BYTE,this.data_),this.dataCacheDirty_=!1}return this.data_}readPixel(t,e){if(t<0||e<0||t>this.size_[0]||e>=this.size_[1])return Ke[0]=0,Ke[1]=0,Ke[2]=0,Ke[3]=0,Ke;this.readAll();const i=Math.floor(t)+(this.size_[1]-Math.floor(e)-1)*this.size_[0];return Ke[0]=this.data_[i*4],Ke[1]=this.data_[i*4+1],Ke[2]=this.data_[i*4+2],Ke[3]=this.data_[i*4+3],Ke}getTexture(){return this.texture_}getFramebuffer(){return this.framebuffer_}getDepthbuffer(){return this.depthbuffer_}updateSize_(){const t=this.size_,e=this.helper_.getGL();this.texture_=this.helper_.createTexture(t,null,this.texture_),e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.viewport(0,0,t[0],t[1]),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.texture_,0),e.bindRenderbuffer(e.RENDERBUFFER,this.depthbuffer_),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,t[0],t[1]),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,this.depthbuffer_),this.data_=new Uint8Array(t[0]*t[1]*4)}}const cx=hx,Zd={GENERATE_POLYGON_BUFFERS:"GENERATE_POLYGON_BUFFERS",GENERATE_POINT_BUFFERS:"GENERATE_POINT_BUFFERS",GENERATE_LINE_STRING_BUFFERS:"GENERATE_LINE_STRING_BUFFERS"},Xd=.985;function ux(r,t){t=t||[];const e=256,i=e-1;return t[0]=Math.floor(r/e/e/e)/i,t[1]=Math.floor(r/e/e)%e/i,t[2]=Math.floor(r/e)%e/i,t[3]=r%e/i,t}function dx(r){let t=0;const e=256,i=e-1;return t+=Math.round(r[0]*e*e*e*i),t+=Math.round(r[1]*e*e*i),t+=Math.round(r[2]*e*i),t+=Math.round(r[3]*i),t}function fx(){const r='const e="GENERATE_POLYGON_BUFFERS",t="GENERATE_POINT_BUFFERS",n="GENERATE_LINE_STRING_BUFFERS";function r(e,t){const n=t[0],r=t[1];return t[0]=e[0]*n+e[2]*r+e[4],t[1]=e[1]*n+e[3]*r+e[5],t}function x(e,t){const n=(r=t)[0]*r[3]-r[1]*r[2];var r;!function(e,t){if(!e)throw new Error(t)}(0!==n,"Transformation matrix cannot be inverted");const x=t[0],i=t[1],u=t[2],o=t[3],f=t[4],s=t[5];return e[0]=o/n,e[1]=-i/n,e[2]=-u/n,e[3]=x/n,e[4]=(u*s-o*f)/n,e[5]=-(x*s-i*f)/n,e}function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}new Array(6);var u={exports:{}};function o(e,t,n){n=n||2;var r,x,i,u,o,s,l,v=t&&t.length,h=v?t[0]*n:e.length,c=f(e,0,h,n,!0),g=[];if(!c||c.next===c.prev)return g;if(v&&(c=function(e,t,n,r){var x,i,u,o=[];for(x=0,i=t.length;x<i;x++)(u=f(e,t[x]*r,x<i-1?t[x+1]*r:e.length,r,!1))===u.next&&(u.steiner=!0),o.push(d(u));for(o.sort(p),x=0;x<o.length;x++)n=y(o[x],n);return n}(e,t,c,n)),e.length>80*n){r=i=e[0],x=u=e[1];for(var b=n;b<h;b+=n)(o=e[b])<r&&(r=o),(s=e[b+1])<x&&(x=s),o>i&&(i=o),s>u&&(u=s);l=0!==(l=Math.max(i-r,u-x))?32767/l:0}return a(c,g,n,r,x,l,0),g}function f(e,t,n,r,x){var i,u;if(x===O(e,t,n,r)>0)for(i=t;i<n;i+=r)u=P(i,e[i],e[i+1],u);else for(i=n-r;i>=t;i-=r)u=P(i,e[i],e[i+1],u);return u&&m(u,u.next)&&(B(u),u=u.next),u}function s(e,t){if(!e)return e;t||(t=e);var n,r=e;do{if(n=!1,r.steiner||!m(r,r.next)&&0!==w(r.prev,r,r.next))r=r.next;else{if(B(r),(r=t=r.prev)===r.next)break;n=!0}}while(n||r!==t);return t}function a(e,t,n,r,x,i,u){if(e){!u&&i&&function(e,t,n,r){var x=e;do{0===x.z&&(x.z=b(x.x,x.y,t,n,r)),x.prevZ=x.prev,x.nextZ=x.next,x=x.next}while(x!==e);x.prevZ.nextZ=null,x.prevZ=null,function(e){var t,n,r,x,i,u,o,f,s=1;do{for(n=e,e=null,i=null,u=0;n;){for(u++,r=n,o=0,t=0;t<s&&(o++,r=r.nextZ);t++);for(f=s;o>0||f>0&&r;)0!==o&&(0===f||!r||n.z<=r.z)?(x=n,n=n.nextZ,o--):(x=r,r=r.nextZ,f--),i?i.nextZ=x:e=x,x.prevZ=i,i=x;n=r}i.nextZ=null,s*=2}while(u>1)}(x)}(e,r,x,i);for(var o,f,p=e;e.prev!==e.next;)if(o=e.prev,f=e.next,i?v(e,r,x,i):l(e))t.push(o.i/n|0),t.push(e.i/n|0),t.push(f.i/n|0),B(e),e=f.next,p=f.next;else if((e=f)===p){u?1===u?a(e=h(s(e),t,n),t,n,r,x,i,2):2===u&&c(e,t,n,r,x,i):a(s(e),t,n,r,x,i,1);break}}}function l(e){var t=e.prev,n=e,r=e.next;if(w(t,n,r)>=0)return!1;for(var x=t.x,i=n.x,u=r.x,o=t.y,f=n.y,s=r.y,a=x<i?x<u?x:u:i<u?i:u,l=o<f?o<s?o:s:f<s?f:s,v=x>i?x>u?x:u:i>u?i:u,h=o>f?o>s?o:s:f>s?f:s,c=r.next;c!==t;){if(c.x>=a&&c.x<=v&&c.y>=l&&c.y<=h&&M(x,o,i,f,u,s,c.x,c.y)&&w(c.prev,c,c.next)>=0)return!1;c=c.next}return!0}function v(e,t,n,r){var x=e.prev,i=e,u=e.next;if(w(x,i,u)>=0)return!1;for(var o=x.x,f=i.x,s=u.x,a=x.y,l=i.y,v=u.y,h=o<f?o<s?o:s:f<s?f:s,c=a<l?a<v?a:v:l<v?l:v,p=o>f?o>s?o:s:f>s?f:s,y=a>l?a>v?a:v:l>v?l:v,g=b(h,c,t,n,r),d=b(p,y,t,n,r),Z=e.prevZ,m=e.nextZ;Z&&Z.z>=g&&m&&m.z<=d;){if(Z.x>=h&&Z.x<=p&&Z.y>=c&&Z.y<=y&&Z!==x&&Z!==u&&M(o,a,f,l,s,v,Z.x,Z.y)&&w(Z.prev,Z,Z.next)>=0)return!1;if(Z=Z.prevZ,m.x>=h&&m.x<=p&&m.y>=c&&m.y<=y&&m!==x&&m!==u&&M(o,a,f,l,s,v,m.x,m.y)&&w(m.prev,m,m.next)>=0)return!1;m=m.nextZ}for(;Z&&Z.z>=g;){if(Z.x>=h&&Z.x<=p&&Z.y>=c&&Z.y<=y&&Z!==x&&Z!==u&&M(o,a,f,l,s,v,Z.x,Z.y)&&w(Z.prev,Z,Z.next)>=0)return!1;Z=Z.prevZ}for(;m&&m.z<=d;){if(m.x>=h&&m.x<=p&&m.y>=c&&m.y<=y&&m!==x&&m!==u&&M(o,a,f,l,s,v,m.x,m.y)&&w(m.prev,m,m.next)>=0)return!1;m=m.nextZ}return!0}function h(e,t,n){var r=e;do{var x=r.prev,i=r.next.next;!m(x,i)&&A(x,r,r.next,i)&&z(x,i)&&z(i,x)&&(t.push(x.i/n|0),t.push(r.i/n|0),t.push(i.i/n|0),B(r),B(r.next),r=e=i),r=r.next}while(r!==e);return s(r)}function c(e,t,n,r,x,i){var u=e;do{for(var o=u.next.next;o!==u.prev;){if(u.i!==o.i&&Z(u,o)){var f=F(u,o);return u=s(u,u.next),f=s(f,f.next),a(u,t,n,r,x,i,0),void a(f,t,n,r,x,i,0)}o=o.next}u=u.next}while(u!==e)}function p(e,t){return e.x-t.x}function y(e,t){var n=function(e,t){var n,r=t,x=e.x,i=e.y,u=-1/0;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var o=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(o<=x&&o>u&&(u=o,n=r.x<r.next.x?r:r.next,o===x))return n}r=r.next}while(r!==t);if(!n)return null;var f,s=n,a=n.x,l=n.y,v=1/0;r=n;do{x>=r.x&&r.x>=a&&x!==r.x&&M(i<l?x:u,i,a,l,i<l?u:x,i,r.x,r.y)&&(f=Math.abs(i-r.y)/(x-r.x),z(r,e)&&(f<v||f===v&&(r.x>n.x||r.x===n.x&&g(n,r)))&&(n=r,v=f)),r=r.next}while(r!==s);return n}(e,t);if(!n)return t;var r=F(n,e);return s(r,r.next),s(n,n.next)}function g(e,t){return w(e.prev,e,t.prev)<0&&w(t.next,e,e.next)<0}function b(e,t,n,r,x){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-n)*x|0)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-r)*x|0)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function d(e){var t=e,n=e;do{(t.x<n.x||t.x===n.x&&t.y<n.y)&&(n=t),t=t.next}while(t!==e);return n}function M(e,t,n,r,x,i,u,o){return(x-u)*(t-o)>=(e-u)*(i-o)&&(e-u)*(r-o)>=(n-u)*(t-o)&&(n-u)*(i-o)>=(x-u)*(r-o)}function Z(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&A(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(e,t)&&(z(e,t)&&z(t,e)&&function(e,t){var n=e,r=!1,x=(e.x+t.x)/2,i=(e.y+t.y)/2;do{n.y>i!=n.next.y>i&&n.next.y!==n.y&&x<(n.next.x-n.x)*(i-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}(e,t)&&(w(e.prev,e,t.prev)||w(e,t.prev,t))||m(e,t)&&w(e.prev,e,e.next)>0&&w(t.prev,t,t.next)>0)}function w(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function m(e,t){return e.x===t.x&&e.y===t.y}function A(e,t,n,r){var x=I(w(e,t,n)),i=I(w(e,t,r)),u=I(w(n,r,e)),o=I(w(n,r,t));return x!==i&&u!==o||(!(0!==x||!E(e,n,t))||(!(0!==i||!E(e,r,t))||(!(0!==u||!E(n,e,r))||!(0!==o||!E(n,t,r)))))}function E(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function I(e){return e>0?1:e<0?-1:0}function z(e,t){return w(e.prev,e,e.next)<0?w(e,t,e.next)>=0&&w(e,e.prev,t)>=0:w(e,t,e.prev)<0||w(e,e.next,t)<0}function F(e,t){var n=new _(e.i,e.x,e.y),r=new _(t.i,t.x,t.y),x=e.next,i=t.prev;return e.next=t,t.prev=e,n.next=x,x.prev=n,r.next=n,n.prev=r,i.next=r,r.prev=i,r}function P(e,t,n,r){var x=new _(e,t,n);return r?(x.next=r.next,x.prev=r,r.next.prev=x,r.next=x):(x.prev=x,x.next=x),x}function B(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function _(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function O(e,t,n,r){for(var x=0,i=t,u=n-r;i<n;i+=r)x+=(e[u]-e[i])*(e[i+1]+e[u+1]),u=i;return x}u.exports=o,u.exports.default=o,o.deviation=function(e,t,n,r){var x=t&&t.length,i=x?t[0]*n:e.length,u=Math.abs(O(e,0,i,n));if(x)for(var o=0,f=t.length;o<f;o++){var s=t[o]*n,a=o<f-1?t[o+1]*n:e.length;u-=Math.abs(O(e,s,a,n))}var l=0;for(o=0;o<r.length;o+=3){var v=r[o]*n,h=r[o+1]*n,c=r[o+2]*n;l+=Math.abs((e[v]-e[c])*(e[h+1]-e[v+1])-(e[v]-e[h])*(e[c+1]-e[v+1]))}return 0===u&&0===l?0:Math.abs((l-u)/u)},o.flatten=function(e){for(var t=e[0][0].length,n={vertices:[],holes:[],dimensions:t},r=0,x=0;x<e.length;x++){for(var i=0;i<e[x].length;i++)for(var u=0;u<t;u++)n.vertices.push(e[x][i][u]);x>0&&(r+=e[x-1].length,n.holes.push(r))}return n};var N=i(u.exports);const R=[],S={vertexPosition:0,indexPosition:0};function T(e,t,n,r,x){e[t+0]=n,e[t+1]=r,e[t+2]=x}function U(e,t,n,r,x,i){const u=3+x,o=e[t+0],f=e[t+1],s=R;s.length=x;for(let n=0;n<s.length;n++)s[n]=e[t+2+n];let a=i?i.vertexPosition:0,l=i?i.indexPosition:0;const v=a/u;return T(n,a,o,f,0),s.length&&n.set(s,a+3),a+=u,T(n,a,o,f,1),s.length&&n.set(s,a+3),a+=u,T(n,a,o,f,2),s.length&&n.set(s,a+3),a+=u,T(n,a,o,f,3),s.length&&n.set(s,a+3),a+=u,r[l++]=v,r[l++]=v+1,r[l++]=v+3,r[l++]=v+1,r[l++]=v+2,r[l++]=v+3,S.vertexPosition=a,S.indexPosition=l,S}function k(e,t,n,x,i,u,o,f,s,a,l){const v=8+f.length,h=u.length/v,c=[e[t+0],e[t+1]],p=[e[n],e[n+1]],y=r(s,[...c]),g=r(s,[...p]);function b(e,t,n){const r=Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])),x=[(t[0]-e[0])/r,(t[1]-e[1])/r],i=[-x[1],x[0]],u=Math.sqrt((n[0]-e[0])*(n[0]-e[0])+(n[1]-e[1])*(n[1]-e[1])),o=[(n[0]-e[0])/u,(n[1]-e[1])/u],f=0===r||0===u?0:Math.acos((s=o[0]*x[0]+o[1]*x[1],a=-1,l=1,Math.min(Math.max(s,a),l)));var s,a,l;return o[0]*i[0]+o[1]*i[1]>0?f:2*Math.PI-f}let d=-1,M=-1,Z=l;const w=null!==i;if(null!==x){d=b(y,g,r(s,[...[e[x],e[x+1]]])),Math.cos(d)<=.985&&(Z+=Math.tan((d-Math.PI)/2))}if(w){M=b(g,y,r(s,[...[e[i],e[i+1]]])),Math.cos(M)<=.985&&(Z+=Math.tan((Math.PI-M)/2))}function m(e,t){return 0===t?1e4*e:Math.sign(t)*(1e4*e+Math.abs(t))}return u.push(c[0],c[1],p[0],p[1],d,M,a,m(0,l)),u.push(...f),u.push(c[0],c[1],p[0],p[1],d,M,a,m(1,l)),u.push(...f),u.push(c[0],c[1],p[0],p[1],d,M,a,m(2,l)),u.push(...f),u.push(c[0],c[1],p[0],p[1],d,M,a,m(3,l)),u.push(...f),o.push(h,h+1,h+2,h+1,h+3,h+2),{length:a+Math.sqrt((g[0]-y[0])*(g[0]-y[0])+(g[1]-y[1])*(g[1]-y[1])),angle:Z}}function G(e,t,n,r,x){const i=2+x;let u=t;const o=e.slice(u,u+x);u+=x;const f=e[u++];let s=0;const a=new Array(f-1);for(let t=0;t<f;t++)s+=e[u++],t<f-1&&(a[t]=s);const l=e.slice(u,u+2*s),v=N(l,a,2);for(let e=0;e<v.length;e++)r.push(v[e]+n.length/i);for(let e=0;e<l.length;e+=2)n.push(l[e],l[e+1],...o);return u+2*s}const j=self;j.onmessage=r=>{const i=r.data;switch(i.type){case t:{const e=3,t=2,n=i.customAttributesSize,r=t+n,x=new Float32Array(i.renderInstructions),u=x.length/r,o=4*u*(n+e),f=new Uint32Array(6*u),s=new Float32Array(o);let a;for(let e=0;e<x.length;e+=r)a=U(x,e,s,f,n,a);const l=Object.assign({vertexBuffer:s.buffer,indexBuffer:f.buffer,renderInstructions:x.buffer},i);j.postMessage(l,[s.buffer,f.buffer,x.buffer]);break}case n:{const e=[],t=[],n=i.customAttributesSize,r=2,u=new Float32Array(i.renderInstructions);let o=0;const f=[1,0,0,1,0,0];let s,a;for(x(f,i.renderInstructionsTransform);o<u.length;){a=Array.from(u.slice(o,o+n)),o+=n,s=u[o++];const x=o,i=o+(s-1)*r,l=u[x]===u[i]&&u[x+1]===u[i+1];let v=0,h=0;for(let n=0;n<s-1;n++){let c=null;n>0?c=o+(n-1)*r:l&&(c=i-r);let p=null;n<s-2?p=o+(n+2)*r:l&&(p=x+r);const y=k(u,o+n*r,o+(n+1)*r,c,p,e,t,a,f,v,h);v=y.length,h=y.angle}o+=s*r}const l=Uint32Array.from(t),v=Float32Array.from(e),h=Object.assign({vertexBuffer:v.buffer,indexBuffer:l.buffer,renderInstructions:u.buffer},i);j.postMessage(h,[v.buffer,l.buffer,u.buffer]);break}case e:{const e=[],t=[],n=i.customAttributesSize,r=new Float32Array(i.renderInstructions);let x=0;for(;x<r.length;)x=G(r,x,e,t,n);const u=Uint32Array.from(t),o=Float32Array.from(e),f=Object.assign({vertexBuffer:o.buffer,indexBuffer:u.buffer,renderInstructions:r.buffer},i);j.postMessage(f,[o.buffer,u.buffer,r.buffer]);break}}};';return new Worker(typeof Blob>"u"?"data:application/javascript;base64,"+Buffer.from(r,"binary").toString("base64"):URL.createObjectURL(new Blob([r],{type:"application/javascript"})))}function gx(r,t){const e=r.viewState.projection,n=t.getSource().getWrapX()&&e.canWrapX(),s=e.getExtent(),a=r.extent,h=n?Tt(s):null,c=n?Math.ceil((a[2]-s[2])/h)+1:1;return[n?Math.floor((a[0]-s[0])/h):0,c,h]}class px extends lx{constructor(t,e){const i=e.uniforms||{},n=Yt();i[pi.PROJECTION_MATRIX]=n,super(t,{uniforms:i,postProcesses:e.postProcesses}),this.sourceRevision_=-1,this.verticesBuffer_=new Gd(Kl,ql),this.indicesBuffer_=new Gd(Ql,ql),this.vertexShader_=e.vertexShader,this.fragmentShader_=e.fragmentShader,this.program_,this.hitDetectionEnabled_=e.hitDetectionEnabled??!0;const s=e.attributes?e.attributes.map(function(h){return{name:"a_prop_"+h.name,size:1,type:mi.FLOAT}}):[];this.attributes=[{name:"a_position",size:2,type:mi.FLOAT},{name:"a_index",size:1,type:mi.FLOAT}],this.hitDetectionEnabled_&&(this.attributes.push({name:"a_hitColor",size:4,type:mi.FLOAT}),this.attributes.push({name:"a_featureUid",size:1,type:mi.FLOAT})),this.attributes.push(...s),this.customAttributes=e.attributes?e.attributes:[],this.previousExtent_=xe(),this.currentTransform_=n,this.renderTransform_=Yt(),this.invertRenderTransform_=Yt(),this.renderInstructions_=new Float32Array(0),this.hitRenderTarget_,this.lastSentId=0,this.worker_=fx(),this.worker_.addEventListener("message",h=>{const c=h.data;if(c.type===Zd.GENERATE_POINT_BUFFERS){const d=c.projectionTransform;this.verticesBuffer_.fromArrayBuffer(c.vertexBuffer),this.helper.flushBufferData(this.verticesBuffer_),this.indicesBuffer_.fromArrayBuffer(c.indexBuffer),this.helper.flushBufferData(this.indicesBuffer_),this.renderTransform_=d,ro(this.invertRenderTransform_,this.renderTransform_),this.renderInstructions_=new Float32Array(h.data.renderInstructions),c.id===this.lastSentId&&(this.ready=!0),this.getLayer().changed()}}),this.featureCache_={},this.featureCount_=0;const a=this.getLayer().getSource();this.sourceListenKeys_=[mt(a,oe.ADDFEATURE,this.handleSourceFeatureAdded_,this),mt(a,oe.CHANGEFEATURE,this.handleSourceFeatureChanged_,this),mt(a,oe.REMOVEFEATURE,this.handleSourceFeatureDelete_,this),mt(a,oe.CLEAR,this.handleSourceFeatureClear_,this)],a.forEachFeature(h=>{this.featureCache_[gt(h)]={feature:h,properties:h.getProperties(),geometry:h.getGeometry()},this.featureCount_++})}afterHelperCreated(){this.program_=this.helper.getProgram(this.fragmentShader_,this.vertexShader_),this.hitDetectionEnabled_&&(this.hitRenderTarget_=new cx(this.helper))}handleSourceFeatureAdded_(t){const e=t.feature;this.featureCache_[gt(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()},this.featureCount_++}handleSourceFeatureChanged_(t){const e=t.feature;this.featureCache_[gt(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()}}handleSourceFeatureDelete_(t){const e=t.feature;delete this.featureCache_[gt(e)],this.featureCount_--}handleSourceFeatureClear_(){this.featureCache_={},this.featureCount_=0}renderFrame(t){const e=this.helper.getGL();this.preRender(e,t);const[i,n,s]=gx(t,this.getLayer());return this.renderWorlds(t,!1,i,n,s),this.helper.finalizeDraw(t,this.dispatchPreComposeEvent,this.dispatchPostComposeEvent),this.hitDetectionEnabled_&&(this.renderWorlds(t,!0,i,n,s),this.hitRenderTarget_.clearCachedData()),this.postRender(e,t),this.helper.getCanvas()}prepareFrameInternal(t){const e=this.getLayer(),i=e.getSource(),n=t.viewState,s=!t.viewHints[Ht.ANIMATING]&&!t.viewHints[Ht.INTERACTING],a=!Bn(this.previousExtent_,t.extent),h=this.sourceRevision_<i.getRevision();if(h&&(this.sourceRevision_=i.getRevision()),s&&(a||h)){const c=n.projection,d=n.resolution,f=e instanceof Vl?e.getRenderBuffer():0,p=Vs(t.extent,f*d);i.loadFeatures(p,d,c),this.rebuildBuffers_(t),this.previousExtent_=t.extent.slice()}return this.helper.useProgram(this.program_,t),this.helper.prepareDraw(t),this.helper.bindBuffer(this.verticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.attributes),!0}rebuildBuffers_(t){const e=Yt();this.helper.makeProjectionTransform(t,e);const n=(this.hitDetectionEnabled_?7:2)+this.customAttributes.length,s=n*this.featureCount_;(!this.renderInstructions_||this.renderInstructions_.length!==s)&&(this.renderInstructions_=new Float32Array(s));let a,h;const c=[],d=[];let f=-1;for(const m in this.featureCache_)if(a=this.featureCache_[m],h=a.geometry,!(!h||h.getType()!=="Point")){if(c[0]=h.getFlatCoordinates()[0],c[1]=h.getFlatCoordinates()[1],Bt(e,c),this.renderInstructions_[++f]=c[0],this.renderInstructions_[++f]=c[1],this.hitDetectionEnabled_){const y=ux(f+5,d);this.renderInstructions_[++f]=y[0],this.renderInstructions_[++f]=y[1],this.renderInstructions_[++f]=y[2],this.renderInstructions_[++f]=y[3],this.renderInstructions_[++f]=Number(m)}for(let y=0;y<this.customAttributes.length;y++){const v=this.customAttributes[y].callback(a.feature,a.properties);this.renderInstructions_[++f]=v}}const p={id:++this.lastSentId,type:Zd.GENERATE_POINT_BUFFERS,renderInstructions:this.renderInstructions_.buffer,customAttributesSize:n-2};p.projectionTransform=e,this.ready=!1,this.worker_.postMessage(p,[this.renderInstructions_.buffer]),this.renderInstructions_=null}forEachFeatureAtCoordinate(t,e,i,n,s){if(vt(this.hitDetectionEnabled_,"`forEachFeatureAtCoordinate` cannot be used on a WebGL layer if the hit detection logic has been disabled using the `disableHitDetection: true` option."),!this.renderInstructions_||!this.hitDetectionEnabled_)return;const a=Bt(e.coordinateToPixelTransform,t.slice()),h=this.hitRenderTarget_.readPixel(a[0]/2,a[1]/2),c=[h[0]/255,h[1]/255,h[2]/255,h[3]/255],d=dx(c),f=this.renderInstructions_[d],p=Math.floor(f).toString(),y=this.getLayer().getSource().getFeatureByUid(p);if(y)return n(y,this.getLayer(),null)}renderWorlds(t,e,i,n,s){let a=i;this.helper.useProgram(this.program_,t),e&&(this.hitRenderTarget_.setSize([Math.floor(t.size[0]/2),Math.floor(t.size[1]/2)]),this.helper.prepareDrawToRenderTarget(t,this.hitRenderTarget_,!0)),this.helper.bindBuffer(this.verticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.attributes);do{this.helper.makeProjectionTransform(t,this.currentTransform_),Q_(this.currentTransform_,a*s,0),wu(this.currentTransform_,this.invertRenderTransform_),this.helper.applyUniforms(t),this.helper.applyHitDetectionUniform(e);const h=this.indicesBuffer_.getSize();this.helper.drawElements(0,h)}while(++a<n)}disposeInternal(){this.worker_.terminate(),this.layer_=null,this.sourceListenKeys_.forEach(function(t){bt(t)}),this.sourceListenKeys_=null,super.disposeInternal()}}const mx=px,_x=.5;class yx extends Hs{constructor(t,e,i){super(),i=i||{},this.tileCoord=t,this.state=e,this.interimTile=null,this.key="",this.transition_=i.transition===void 0?250:i.transition,this.transitionStarts_={},this.interpolate=!!i.interpolate}changed(){this.dispatchEvent(ut.CHANGE)}release(){this.state===it.ERROR&&this.setState(it.EMPTY)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){let t=this.interimTile;if(!t)return this;do{if(t.getState()==it.LOADED)return this.transition_=0,t;t=t.interimTile}while(t);return this}refreshInterimChain(){let t=this.interimTile;if(!t)return;let e=this;do{if(t.getState()==it.LOADED){t.interimTile=null;break}t.getState()==it.LOADING?e=t:t.getState()==it.IDLE?e.interimTile=t.interimTile:e=t,t=e.interimTile}while(t)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(t){if(this.state!==it.ERROR&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()}load(){lt()}getAlpha(t,e){if(!this.transition_)return 1;let i=this.transitionStarts_[t];if(!i)i=e,this.transitionStarts_[t]=i;else if(i===-1)return 1;const n=e-i+1e3/60;return n>=this.transition_?1:_u(n/this.transition_)}inTransition(t){return this.transition_?this.transitionStarts_[t]!==-1:!1}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}}const Vd=yx,vx=10,Kd=.25;class xx{constructor(t,e,i,n,s,a){this.sourceProj_=t,this.targetProj_=e;let h={};const c=Ir(this.targetProj_,this.sourceProj_);this.transformInv_=function(w){const E=w[0]+"/"+w[1];return h[E]||(h[E]=c(w)),h[E]},this.maxSourceExtent_=n,this.errorThresholdSquared_=s*s,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!n&&!!this.sourceProj_.getExtent()&&Tt(n)>=Tt(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Tt(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Tt(this.targetProj_.getExtent()):null;const d=cn(i),f=Js(i),p=qs(i),m=Qs(i),y=this.transformInv_(d),v=this.transformInv_(f),A=this.transformInv_(p),b=this.transformInv_(m),M=vx+(a?Math.max(0,Math.ceil(Math.log2(Za(i)/(a*a*256*256)))):0);if(this.addQuad_(d,f,p,m,y,v,A,b,M),this.wrapsXInSource_){let w=1/0;this.triangles_.forEach(function(E,C,P){w=Math.min(w,E.source[0][0],E.source[1][0],E.source[2][0])}),this.triangles_.forEach(E=>{if(Math.max(E.source[0][0],E.source[1][0],E.source[2][0])-w>this.sourceWorldWidth_/2){const C=[[E.source[0][0],E.source[0][1]],[E.source[1][0],E.source[1][1]],[E.source[2][0],E.source[2][1]]];C[0][0]-w>this.sourceWorldWidth_/2&&(C[0][0]-=this.sourceWorldWidth_),C[1][0]-w>this.sourceWorldWidth_/2&&(C[1][0]-=this.sourceWorldWidth_),C[2][0]-w>this.sourceWorldWidth_/2&&(C[2][0]-=this.sourceWorldWidth_);const P=Math.min(C[0][0],C[1][0],C[2][0]);Math.max(C[0][0],C[1][0],C[2][0])-P<this.sourceWorldWidth_/2&&(E.source=C)}})}h={}}addTriangle_(t,e,i,n,s,a){this.triangles_.push({source:[n,s,a],target:[t,e,i]})}addQuad_(t,e,i,n,s,a,h,c,d){const f=Qc([s,a,h,c]),p=this.sourceWorldWidth_?Tt(f)/this.sourceWorldWidth_:null,m=this.sourceWorldWidth_,y=this.sourceProj_.canWrapX()&&p>.5&&p<1;let v=!1;if(d>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const b=Qc([t,e,i,n]);v=Tt(b)/this.targetWorldWidth_>Kd||v}!y&&this.sourceProj_.isGlobal()&&p&&(v=p>Kd||v)}if(!v&&this.maxSourceExtent_&&isFinite(f[0])&&isFinite(f[1])&&isFinite(f[2])&&isFinite(f[3])&&!ce(f,this.maxSourceExtent_))return;let A=0;if(!v&&(!isFinite(s[0])||!isFinite(s[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(h[0])||!isFinite(h[1])||!isFinite(c[0])||!isFinite(c[1]))){if(d>0)v=!0;else if(A=(!isFinite(s[0])||!isFinite(s[1])?8:0)+(!isFinite(a[0])||!isFinite(a[1])?4:0)+(!isFinite(h[0])||!isFinite(h[1])?2:0)+(!isFinite(c[0])||!isFinite(c[1])?1:0),A!=1&&A!=2&&A!=4&&A!=8)return}if(d>0){if(!v){const b=[(t[0]+i[0])/2,(t[1]+i[1])/2],M=this.transformInv_(b);let w;y?w=(Nn(s[0],m)+Nn(h[0],m))/2-Nn(M[0],m):w=(s[0]+h[0])/2-M[0];const E=(s[1]+h[1])/2-M[1];v=w*w+E*E>this.errorThresholdSquared_}if(v){if(Math.abs(t[0]-i[0])<=Math.abs(t[1]-i[1])){const b=[(e[0]+i[0])/2,(e[1]+i[1])/2],M=this.transformInv_(b),w=[(n[0]+t[0])/2,(n[1]+t[1])/2],E=this.transformInv_(w);this.addQuad_(t,e,b,w,s,a,M,E,d-1),this.addQuad_(w,b,i,n,E,M,h,c,d-1)}else{const b=[(t[0]+e[0])/2,(t[1]+e[1])/2],M=this.transformInv_(b),w=[(i[0]+n[0])/2,(i[1]+n[1])/2],E=this.transformInv_(w);this.addQuad_(t,b,w,n,s,M,E,c,d-1),this.addQuad_(b,e,i,w,M,a,h,E,d-1)}return}}if(y){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}A&11||this.addTriangle_(t,i,n,s,h,c),A&14||this.addTriangle_(t,i,e,s,h,a),A&&(A&13||this.addTriangle_(e,n,t,a,c,s),A&7||this.addTriangle_(e,n,i,a,c,h))}calculateSourceExtent(){const t=xe();return this.triangles_.forEach(function(e,i,n){const s=e.source;Pr(t,s[0]),Pr(t,s[1]),Pr(t,s[2])}),t}getTriangles(){return this.triangles_}}const Ax=xx;let th;const qn=[];function Qd(r,t,e,i,n){r.beginPath(),r.moveTo(0,0),r.lineTo(t,e),r.lineTo(i,n),r.closePath(),r.save(),r.clip(),r.fillRect(0,0,Math.max(t,i)+1,Math.max(e,n)),r.restore()}function eh(r,t){return Math.abs(r[t*4]-210)>2||Math.abs(r[t*4+3]-.75*255)>2}function wx(){if(th===void 0){const r=ee(6,6,qn);r.globalCompositeOperation="lighter",r.fillStyle="rgba(210, 0, 0, 0.75)",Qd(r,4,5,4,0),Qd(r,4,5,0,5);const t=r.getImageData(0,0,3,3).data;th=eh(t,0)||eh(t,4)||eh(t,8),yo(r),qn.push(r.canvas)}return th}function qd(r,t,e,i){const n=du(e,t,r);let s=hu(t,i,e);const a=t.getMetersPerUnit();a!==void 0&&(s*=a);const h=r.getMetersPerUnit();h!==void 0&&(s/=h);const c=r.getExtent();if(!c||Ks(c,n)){const d=hu(r,s,n)/s;isFinite(d)&&d>0&&(s/=d)}return s}function Ex(r,t,e,i){const n=Ii(e);let s=qd(r,t,n,i);return(!isFinite(s)||s<=0)&&eu(e,function(a){return s=qd(r,t,a,i),isFinite(s)&&s>0}),s}function Cx(r,t,e,i,n,s,a,h,c,d,f,p,m){const y=ee(Math.round(e*r),Math.round(e*t),qn);if(p||(y.imageSmoothingEnabled=!1),c.length===0)return y.canvas;y.scale(e,e);function v(w){return Math.round(w*e)/e}y.globalCompositeOperation="lighter";const A=xe();c.forEach(function(w,E,C){$c(A,w.extent)});let b;if(!m||c.length!==1||d!==0){const w=Tt(A),E=Ae(A);b=ee(Math.round(e*w/i),Math.round(e*E/i),qn),p||(b.imageSmoothingEnabled=!1);const C=e/i;c.forEach(function(P,D,O){const R=P.extent[0]-A[0],z=-(P.extent[3]-A[3]),j=Tt(P.extent),U=Ae(P.extent);P.image.width>0&&P.image.height>0&&b.drawImage(P.image,d,d,P.image.width-2*d,P.image.height-2*d,R*C,z*C,j*C,U*C)})}const M=cn(a);return h.getTriangles().forEach(function(w,E,C){const P=w.source,D=w.target;let O=P[0][0],R=P[0][1],z=P[1][0],j=P[1][1],U=P[2][0],V=P[2][1];const tt=v((D[0][0]-M[0])/s),at=v(-(D[0][1]-M[1])/s),W=v((D[1][0]-M[0])/s),Y=v(-(D[1][1]-M[1])/s),H=v((D[2][0]-M[0])/s),B=v(-(D[2][1]-M[1])/s),nt=O,Z=R;O=0,R=0,z-=nt,j-=Z,U-=nt,V-=Z;const rt=[[z,j,0,0,W-tt],[U,V,0,0,H-tt],[0,0,z,j,Y-at],[0,0,U,V,B-at]],F=T_(rt);if(!F)return;if(y.save(),y.beginPath(),wx()||!p){y.moveTo(W,Y);const q=4,et=tt-W,ct=at-Y;for(let Dt=0;Dt<q;Dt++)y.lineTo(W+v((Dt+1)*et/q),Y+v(Dt*ct/(q-1))),Dt!=q-1&&y.lineTo(W+v((Dt+1)*et/q),Y+v((Dt+1)*ct/(q-1)));y.lineTo(H,B)}else y.moveTo(W,Y),y.lineTo(tt,at),y.lineTo(H,B);y.clip(),y.transform(F[0],F[2],F[1],F[3],tt,at),y.translate(A[0]-nt,A[3]-Z);let ft;if(b)ft=b.canvas,y.scale(i/e,-i/e);else{const q=c[0],et=q.extent;ft=q.image,y.scale(Tt(et)/ft.width,-Ae(et)/ft.height)}y.drawImage(ft,0,0),y.restore()}),b&&(yo(b),qn.push(b.canvas)),f&&(y.save(),y.globalCompositeOperation="source-over",y.strokeStyle="black",y.lineWidth=1,h.getTriangles().forEach(function(w,E,C){const P=w.target,D=(P[0][0]-M[0])/s,O=-(P[0][1]-M[1])/s,R=(P[1][0]-M[0])/s,z=-(P[1][1]-M[1])/s,j=(P[2][0]-M[0])/s,U=-(P[2][1]-M[1])/s;y.beginPath(),y.moveTo(R,z),y.lineTo(D,O),y.lineTo(j,U),y.closePath(),y.stroke()}),y.restore()),y.canvas}class Lx extends Vd{constructor(t,e,i,n,s,a,h,c,d,f,p,m){super(s,it.IDLE,m),this.renderEdges_=p!==void 0?p:!1,this.pixelRatio_=h,this.gutter_=c,this.canvas_=null,this.sourceTileGrid_=e,this.targetTileGrid_=n,this.wrappedTileCoord_=a||s,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;const y=n.getTileCoordExtent(this.wrappedTileCoord_),v=this.targetTileGrid_.getExtent();let A=this.sourceTileGrid_.getExtent();const b=v?Dr(y,v):y;if(Za(b)===0){this.state=it.EMPTY;return}const M=t.getExtent();M&&(A?A=Dr(A,M):A=M);const w=n.getResolution(this.wrappedTileCoord_[0]),E=Ex(t,i,b,w);if(!isFinite(E)||E<=0){this.state=it.EMPTY;return}const C=f!==void 0?f:_x;if(this.triangulation_=new Ax(t,i,b,A,E*C,w),this.triangulation_.getTriangles().length===0){this.state=it.EMPTY;return}this.sourceZ_=e.getZForResolution(E);let P=this.triangulation_.calculateSourceExtent();if(A&&(t.canWrapX()?(P[1]=kt(P[1],A[1],A[3]),P[3]=kt(P[3],A[1],A[3])):P=Dr(P,A)),!Za(P))this.state=it.EMPTY;else{const D=e.getTileRangeForExtentAndZ(P,this.sourceZ_);for(let O=D.minX;O<=D.maxX;O++)for(let R=D.minY;R<=D.maxY;R++){const z=d(this.sourceZ_,O,R,h);z&&this.sourceTiles_.push(z)}this.sourceTiles_.length===0&&(this.state=it.EMPTY)}}getImage(){return this.canvas_}reproject_(){const t=[];if(this.sourceTiles_.forEach(e=>{e&&e.getState()==it.LOADED&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}),this.sourceTiles_.length=0,t.length===0)this.state=it.ERROR;else{const e=this.wrappedTileCoord_[0],i=this.targetTileGrid_.getTileSize(e),n=typeof i=="number"?i:i[0],s=typeof i=="number"?i:i[1],a=this.targetTileGrid_.getResolution(e),h=this.sourceTileGrid_.getResolution(this.sourceZ_),c=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=Cx(n,s,this.pixelRatio_,h,this.sourceTileGrid_.getExtent(),a,c,this.triangulation_,t,this.gutter_,this.renderEdges_,this.interpolate),this.state=it.LOADED}this.changed()}load(){if(this.state==it.IDLE){this.state=it.LOADING,this.changed();let t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(e=>{const i=e.getState();if(i==it.IDLE||i==it.LOADING){t++;const n=mt(e,ut.CHANGE,function(s){const a=e.getState();(a==it.LOADED||a==it.ERROR||a==it.EMPTY)&&(bt(n),t--,t===0&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(n)}}),t===0?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function(e,i,n){e.getState()==it.IDLE&&e.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(bt),this.sourcesListenerKeys_=null}release(){this.canvas_&&(yo(this.canvas_.getContext("2d")),qn.push(this.canvas_),this.canvas_=null),super.release()}}const ih=Lx;class bx extends Vd{constructor(t,e,i,n,s,a){super(t,e,a),this.crossOrigin_=n,this.src_=i,this.key=i,this.image_=new Image,n!==null&&(this.image_.crossOrigin=n),this.unlisten_=null,this.tileLoadFunction_=s}getImage(){return this.image_}setImage(t){this.image_=t,this.state=it.LOADED,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=it.ERROR,this.unlistenImage_(),this.image_=Tx(),this.changed()}handleImageLoad_(){const t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=it.LOADED:this.state=it.EMPTY,this.unlistenImage_(),this.changed()}load(){this.state==it.ERROR&&(this.state=it.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==it.IDLE&&(this.state=it.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=$v(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function Tx(){const r=ee(1,1);return r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1),r.canvas}const Jd=bx;class Mx{constructor(t){this.highWaterMark=t!==void 0?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(t){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let e=this.oldest_;for(;e;)t(e.value_,e.key_,this),e=e.newer}get(t,e){const i=this.entries_[t];return vt(i!==void 0,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_||(i===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(i.newer.older=i.older,i.older.newer=i.newer),i.newer=null,i.older=this.newest_,this.newest_.newer=i,this.newest_=i),i.value_}remove(t){const e=this.entries_[t];return vt(e!==void 0,"Tried to get a value for a key that does not exist in the cache"),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let e=0,i;for(i=this.newest_;i;i=i.older)t[e++]=i.key_;return t}getValues(){const t=new Array(this.count_);let e=0,i;for(i=this.newest_;i;i=i.older)t[e++]=i.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){var e;return(e=this.entries_[t])==null?void 0:e.value_}pop(){const t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_}replace(t,e){this.get(t),this.entries_[t].value_=e}set(t,e){vt(!(t in this.entries_),"Tried to set a value for a key that is used already");const i={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=i:this.oldest_=i,this.newest_=i,this.entries_[t]=i,++this.count_}setSize(t){this.highWaterMark=t}}const Px=Mx;class $d{constructor(t,e,i,n){this.minX=t,this.maxX=e,this.minY=i,this.maxY=n}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minX<this.minX&&(this.minX=t.minX),t.maxX>this.maxX&&(this.maxX=t.maxX),t.minY<this.minY&&(this.minY=t.minY),t.maxY>this.maxY&&(this.maxY=t.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function Jn(r,t,e,i,n){return n!==void 0?(n.minX=r,n.maxX=t,n.minY=e,n.maxY=i,n):new $d(r,t,e,i)}const tf=$d;function ef(r,t,e,i){return i!==void 0?(i[0]=r,i[1]=t,i[2]=e,i):[r,t,e]}function zo(r,t,e){return r+"/"+t+"/"+e}function nf(r){return zo(r[0],r[1],r[2])}function Dx(r){return r.split("/").map(Number)}function Ix(r){return(r[1]<<r[0])+r[2]}function Sx(r,t){const e=r[0],i=r[1],n=r[2];if(t.getMinZoom()>e||e>t.getMaxZoom())return!1;const s=t.getFullTileRange(e);return s?s.containsXY(i,n):!0}function es(r){const t=r.toString();return t.includes(".")?t:t+".0"}function Rx(r){if(r.length<2||r.length>4)throw new Error("`formatArray` can only output `vec2`, `vec3` or `vec4` arrays.");return`vec${r.length}(${r.map(es).join(", ")})`}function nh(r){const t=Fr(r),e=t.length>3?t[3]:1;return Rx([t[0]/255*e,t[1]/255*e,t[2]/255*e,e])}const rh={};let kx=0;function Ox(r){return r in rh||(rh[r]=kx++),rh[r]}function $n(r){return es(Ox(r))}function Fx(){return{"fill-color":"rgba(255,255,255,0.4)","stroke-color":"#3399CC","stroke-width":1.25,"circle-radius":5,"circle-fill-color":"rgba(255,255,255,0.4)","circle-stroke-width":1.25,"circle-stroke-color":"#3399CC"}}const tr=`#ifdef GL_FRAGMENT_PRECISION_HIGH
50
+ `;class xx{constructor(t){this.gl_=t.webGlContext;const e=this.gl_;this.scaleRatio_=t.scaleRatio||1,this.renderTargetTexture_=e.createTexture(),this.renderTargetTextureSize_=null,this.frameBuffer_=e.createFramebuffer(),this.depthBuffer_=e.createRenderbuffer();const i=e.createShader(e.VERTEX_SHADER);e.shaderSource(i,t.vertexShader||yx),e.compileShader(i);const n=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(n,t.fragmentShader||vx),e.compileShader(n),this.renderTargetProgram_=e.createProgram(),e.attachShader(this.renderTargetProgram_,i),e.attachShader(this.renderTargetProgram_,n),e.linkProgram(this.renderTargetProgram_),this.renderTargetVerticesBuffer_=e.createBuffer();const o=[-1,-1,1,-1,-1,1,1,-1,1,1,-1,1];e.bindBuffer(e.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),e.bufferData(e.ARRAY_BUFFER,new Float32Array(o),e.STATIC_DRAW),this.renderTargetAttribLocation_=e.getAttribLocation(this.renderTargetProgram_,"a_position"),this.renderTargetUniformLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_screenSize"),this.renderTargetOpacityLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_opacity"),this.renderTargetTextureLocation_=e.getUniformLocation(this.renderTargetProgram_,"u_image"),this.uniforms_=[],t.uniforms&&Object.keys(t.uniforms).forEach(a=>{this.uniforms_.push({value:t.uniforms[a],location:e.getUniformLocation(this.renderTargetProgram_,a)})})}getGL(){return this.gl_}init(t){const e=this.getGL(),i=[e.drawingBufferWidth*this.scaleRatio_,e.drawingBufferHeight*this.scaleRatio_];if(e.bindFramebuffer(e.FRAMEBUFFER,this.getFrameBuffer()),e.bindRenderbuffer(e.RENDERBUFFER,this.getDepthBuffer()),e.viewport(0,0,i[0],i[1]),!this.renderTargetTextureSize_||this.renderTargetTextureSize_[0]!==i[0]||this.renderTargetTextureSize_[1]!==i[1]){this.renderTargetTextureSize_=i;const n=0,o=e.RGBA,a=0,h=e.RGBA,c=e.UNSIGNED_BYTE,d=null;e.bindTexture(e.TEXTURE_2D,this.renderTargetTexture_),e.texImage2D(e.TEXTURE_2D,n,o,i[0],i[1],a,h,c,d),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.renderTargetTexture_,0),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,i[0],i[1]),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,this.depthBuffer_)}}apply(t,e,i,n){const o=this.getGL(),a=t.size;if(o.bindFramebuffer(o.FRAMEBUFFER,e?e.getFrameBuffer():null),o.activeTexture(o.TEXTURE0),o.bindTexture(o.TEXTURE_2D,this.renderTargetTexture_),!e){const c=ut(o.canvas);if(!t.renderTargets[c]){const d=o.getContextAttributes();d&&d.preserveDrawingBuffer&&(o.clearColor(0,0,0,0),o.clearDepth(1),o.clear(o.COLOR_BUFFER_BIT|o.DEPTH_BUFFER_BIT)),t.renderTargets[c]=!0}}o.disable(o.DEPTH_TEST),o.enable(o.BLEND),o.blendFunc(o.ONE,o.ONE_MINUS_SRC_ALPHA),o.viewport(0,0,o.drawingBufferWidth,o.drawingBufferHeight),o.bindBuffer(o.ARRAY_BUFFER,this.renderTargetVerticesBuffer_),o.useProgram(this.renderTargetProgram_),o.enableVertexAttribArray(this.renderTargetAttribLocation_),o.vertexAttribPointer(this.renderTargetAttribLocation_,2,o.FLOAT,!1,0,0),o.uniform2f(this.renderTargetUniformLocation_,a[0],a[1]),o.uniform1i(this.renderTargetTextureLocation_,0);const h=t.layerStatesArray[t.layerIndex].opacity;o.uniform1f(this.renderTargetOpacityLocation_,h),this.applyUniforms(t),i&&i(o,t),o.drawArrays(o.TRIANGLES,0,6),n&&n(o,t)}getFrameBuffer(){return this.frameBuffer_}getDepthBuffer(){return this.depthBuffer_}applyUniforms(t){const e=this.getGL();let i,n=1;this.uniforms_.forEach(function(o){if(i=typeof o.value=="function"?o.value(t):o.value,i instanceof HTMLCanvasElement||i instanceof ImageData)o.texture||(o.texture=e.createTexture()),e.activeTexture(e[`TEXTURE${n}`]),e.bindTexture(e.TEXTURE_2D,o.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),i instanceof ImageData?e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,i.width,i.height,0,e.UNSIGNED_BYTE,new Uint8Array(i.data)):e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,i),e.uniform1i(o.location,n++);else if(Array.isArray(i))switch(i.length){case 2:e.uniform2f(o.location,i[0],i[1]);return;case 3:e.uniform3f(o.location,i[0],i[1],i[2]);return;case 4:e.uniform4f(o.location,i[0],i[1],i[2],i[3]);return;default:return}else typeof i=="number"&&e.uniform1f(o.location,i)})}}const pd=xx;function Ax(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function wx(r,t){return r[0]=t[0],r[1]=t[1],r[4]=t[2],r[5]=t[3],r[12]=t[4],r[13]=t[5],r}const ai={PROJECTION_MATRIX:"u_projectionMatrix",SCREEN_TO_WORLD_MATRIX:"u_screenToWorldMatrix",TIME:"u_time",ZOOM:"u_zoom",RESOLUTION:"u_resolution",ROTATION:"u_rotation",VIEWPORT_SIZE_PX:"u_viewportSizePx",PIXEL_RATIO:"u_pixelRatio",HIT_DETECTION:"u_hitDetection"},li={UNSIGNED_BYTE:ux,UNSIGNED_SHORT:dx,UNSIGNED_INT:fx,FLOAT:ud},yo={};function md(r){return"shared/"+r}let _d=0;function Ex(){const r="unique/"+_d;return _d+=1,r}function Cx(r){let t=yo[r];if(!t){const e=document.createElement("canvas");e.width=1,e.height=1,e.style.position="absolute",e.style.left="0",t={users:0,context:gx(e)},yo[r]=t}return t.users+=1,t.context}function Lx(r){const t=yo[r];if(!t||(t.users-=1,t.users>0))return;const e=t.context,i=e.getExtension("WEBGL_lose_context");i&&i.loseContext();const n=e.canvas;n.width=1,n.height=1,delete yo[r]}class bx extends Cs{constructor(t){super(),t=t||{},this.boundHandleWebGLContextLost_=this.handleWebGLContextLost.bind(this),this.boundHandleWebGLContextRestored_=this.handleWebGLContextRestored.bind(this),this.canvasCacheKey_=t.canvasCacheKey?md(t.canvasCacheKey):Ex(),this.gl_=Cx(this.canvasCacheKey_),this.bufferCache_={},this.extensionCache_={},this.currentProgram_=null,this.needsToBeRecreated_=!1;const e=this.gl_.canvas;e.addEventListener(_o.LOST,this.boundHandleWebGLContextLost_),e.addEventListener(_o.RESTORED,this.boundHandleWebGLContextRestored_),this.offsetRotateMatrix_=Xt(),this.offsetScaleMatrix_=Xt(),this.tmpMat4_=Ax(),this.uniformLocationsByProgram_={},this.attribLocationsByProgram_={},this.uniforms_=[],t.uniforms&&this.setUniforms(t.uniforms),this.postProcessPasses_=t.postProcesses?t.postProcesses.map(i=>new pd({webGlContext:this.gl_,scaleRatio:i.scaleRatio,vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,uniforms:i.uniforms})):[new pd({webGlContext:this.gl_})],this.shaderCompileErrors_=null,this.startTime_=Date.now()}setUniforms(t){this.uniforms_=[],this.addUniforms(t)}addUniforms(t){for(const e in t)this.uniforms_.push({name:e,value:t[e]})}canvasCacheKeyMatches(t){return this.canvasCacheKey_===md(t)}getExtension(t){if(t in this.extensionCache_)return this.extensionCache_[t];const e=this.gl_.getExtension(t);return this.extensionCache_[t]=e,e}bindBuffer(t){const e=this.gl_,i=ut(t);let n=this.bufferCache_[i];if(!n){const o=e.createBuffer();n={buffer:t,webGlBuffer:o},this.bufferCache_[i]=n}e.bindBuffer(t.getType(),n.webGlBuffer)}flushBufferData(t){const e=this.gl_;this.bindBuffer(t),e.bufferData(t.getType(),t.getArray(),t.getUsage())}deleteBuffer(t){const e=this.gl_,i=ut(t),n=this.bufferCache_[i];n&&!e.isContextLost()&&e.deleteBuffer(n.webGlBuffer),delete this.bufferCache_[i]}disposeInternal(){const t=this.gl_.canvas;t.removeEventListener(_o.LOST,this.boundHandleWebGLContextLost_),t.removeEventListener(_o.RESTORED,this.boundHandleWebGLContextRestored_),Lx(this.canvasCacheKey_),delete this.gl_}prepareDraw(t,e,i){const n=this.gl_,o=this.getCanvas(),a=t.size,h=t.pixelRatio;(o.width!==a[0]*h||o.height!==a[1]*h)&&(o.width=a[0]*h,o.height=a[1]*h,o.style.width=a[0]+"px",o.style.height=a[1]+"px");for(let c=this.postProcessPasses_.length-1;c>=0;c--)this.postProcessPasses_[c].init(t);n.bindTexture(n.TEXTURE_2D,null),n.clearColor(0,0,0,0),n.depthRange(0,1),n.clearDepth(1),n.clear(n.COLOR_BUFFER_BIT|n.DEPTH_BUFFER_BIT),n.enable(n.BLEND),n.blendFunc(n.ONE,e?n.ZERO:n.ONE_MINUS_SRC_ALPHA),i?(n.enable(n.DEPTH_TEST),n.depthFunc(n.LEQUAL)):n.disable(n.DEPTH_TEST)}bindTexture(t,e,i){const n=this.gl_;n.activeTexture(n.TEXTURE0+e),n.bindTexture(n.TEXTURE_2D,t),n.uniform1i(this.getUniformLocation(i),e)}prepareDrawToRenderTarget(t,e,i,n){const o=this.gl_,a=e.getSize();o.bindFramebuffer(o.FRAMEBUFFER,e.getFramebuffer()),o.bindRenderbuffer(o.RENDERBUFFER,e.getDepthbuffer()),o.viewport(0,0,a[0],a[1]),o.bindTexture(o.TEXTURE_2D,e.getTexture()),o.clearColor(0,0,0,0),o.depthRange(0,1),o.clearDepth(1),o.clear(o.COLOR_BUFFER_BIT|o.DEPTH_BUFFER_BIT),o.enable(o.BLEND),o.blendFunc(o.ONE,i?o.ZERO:o.ONE_MINUS_SRC_ALPHA),n?(o.enable(o.DEPTH_TEST),o.depthFunc(o.LEQUAL)):o.disable(o.DEPTH_TEST)}drawElements(t,e){const i=this.gl_;this.getExtension("OES_element_index_uint");const n=i.UNSIGNED_INT,o=4,a=e-t,h=t*o;i.drawElements(i.TRIANGLES,a,n,h)}finalizeDraw(t,e,i){for(let n=0,o=this.postProcessPasses_.length;n<o;n++)n===o-1?this.postProcessPasses_[n].apply(t,null,e,i):this.postProcessPasses_[n].apply(t,this.postProcessPasses_[n+1])}getCanvas(){return this.gl_.canvas}getGL(){return this.gl_}applyFrameState(t){const e=t.size,i=t.viewState.rotation,n=t.pixelRatio;this.setUniformFloatValue(ai.TIME,(Date.now()-this.startTime_)*.001),this.setUniformFloatValue(ai.ZOOM,t.viewState.zoom),this.setUniformFloatValue(ai.RESOLUTION,t.viewState.resolution),this.setUniformFloatValue(ai.PIXEL_RATIO,n),this.setUniformFloatVec2(ai.VIEWPORT_SIZE_PX,[e[0],e[1]]),this.setUniformFloatValue(ai.ROTATION,i)}applyHitDetectionUniform(t){const e=this.getUniformLocation(ai.HIT_DETECTION);this.getGL().uniform1i(e,t?1:0),t&&this.setUniformFloatValue(ai.PIXEL_RATIO,.5)}applyUniforms(t){const e=this.gl_;let i,n=0;this.uniforms_.forEach(o=>{if(i=typeof o.value=="function"?o.value(t):o.value,i instanceof HTMLCanvasElement||i instanceof HTMLImageElement||i instanceof ImageData)o.texture||(o.prevValue=void 0,o.texture=e.createTexture()),this.bindTexture(o.texture,n,o.name),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),(!(i instanceof HTMLImageElement)||i.complete)&&o.prevValue!==i&&(o.prevValue=i,e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,i)),n++;else if(Array.isArray(i)&&i.length===6)this.setUniformMatrixValue(o.name,wx(this.tmpMat4_,i));else if(Array.isArray(i)&&i.length<=4)switch(i.length){case 2:e.uniform2f(this.getUniformLocation(o.name),i[0],i[1]);return;case 3:e.uniform3f(this.getUniformLocation(o.name),i[0],i[1],i[2]);return;case 4:e.uniform4f(this.getUniformLocation(o.name),i[0],i[1],i[2],i[3]);return;default:return}else typeof i=="number"&&e.uniform1f(this.getUniformLocation(o.name),i)})}useProgram(t,e){this.gl_.useProgram(t),this.currentProgram_=t,this.applyFrameState(e),this.applyUniforms(e)}compileShader(t,e){const i=this.gl_,n=i.createShader(e);return i.shaderSource(n,t),i.compileShader(n),n}getProgram(t,e){const i=this.gl_,n=this.compileShader(t,i.FRAGMENT_SHADER),o=this.compileShader(e,i.VERTEX_SHADER),a=i.createProgram();if(i.attachShader(a,n),i.attachShader(a,o),i.linkProgram(a),!i.getShaderParameter(n,i.COMPILE_STATUS)){const h=`Fragment shader compilation failed: ${i.getShaderInfoLog(n)}`;throw new Error(h)}if(i.deleteShader(n),!i.getShaderParameter(o,i.COMPILE_STATUS)){const h=`Vertex shader compilation failed: ${i.getShaderInfoLog(o)}`;throw new Error(h)}if(i.deleteShader(o),!i.getProgramParameter(a,i.LINK_STATUS)){const h=`GL program linking failed: ${i.getProgramInfoLog(a)}`;throw new Error(h)}return a}getUniformLocation(t){const e=ut(this.currentProgram_);return this.uniformLocationsByProgram_[e]===void 0&&(this.uniformLocationsByProgram_[e]={}),this.uniformLocationsByProgram_[e][t]===void 0&&(this.uniformLocationsByProgram_[e][t]=this.gl_.getUniformLocation(this.currentProgram_,t)),this.uniformLocationsByProgram_[e][t]}getAttributeLocation(t){const e=ut(this.currentProgram_);return this.attribLocationsByProgram_[e]===void 0&&(this.attribLocationsByProgram_[e]={}),this.attribLocationsByProgram_[e][t]===void 0&&(this.attribLocationsByProgram_[e][t]=this.gl_.getAttribLocation(this.currentProgram_,t)),this.attribLocationsByProgram_[e][t]}makeProjectionTransform(t,e){const i=t.size,n=t.viewState.rotation,o=t.viewState.resolution,a=t.viewState.center;return ze(e,0,0,2/(o*i[0]),2/(o*i[1]),-n,-a[0],-a[1]),e}setUniformFloatValue(t,e){this.gl_.uniform1f(this.getUniformLocation(t),e)}setUniformFloatVec2(t,e){this.gl_.uniform2fv(this.getUniformLocation(t),e)}setUniformFloatVec4(t,e){this.gl_.uniform4fv(this.getUniformLocation(t),e)}setUniformMatrixValue(t,e){this.gl_.uniformMatrix4fv(this.getUniformLocation(t),!1,e)}enableAttributeArray_(t,e,i,n,o){const a=this.getAttributeLocation(t);a<0||(this.gl_.enableVertexAttribArray(a),this.gl_.vertexAttribPointer(a,e,i,!1,n,o))}enableAttributes(t){const e=Tx(t);let i=0;for(let n=0;n<t.length;n++){const o=t[n];this.enableAttributeArray_(o.name,o.size,o.type||ud,e,i),i+=o.size*yd(o.type)}}handleWebGLContextLost(t){En(this.bufferCache_),this.currentProgram_=null,t.preventDefault()}handleWebGLContextRestored(){this.needsToBeRecreated_=!0}needsToBeRecreated(){return this.needsToBeRecreated_}createTexture(t,e,i){const n=this.gl_;i=i||n.createTexture();const o=0,a=n.RGBA,h=0,c=n.RGBA,d=n.UNSIGNED_BYTE;return n.bindTexture(n.TEXTURE_2D,i),e?n.texImage2D(n.TEXTURE_2D,o,a,c,d,e):n.texImage2D(n.TEXTURE_2D,o,a,t[0],t[1],h,c,d,null),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),i}}function Tx(r){let t=0;for(let e=0;e<r.length;e++){const i=r[e];t+=i.size*yd(i.type)}return t}function yd(r){switch(r){case li.UNSIGNED_BYTE:return Uint8Array.BYTES_PER_ELEMENT;case li.UNSIGNED_SHORT:return Uint16Array.BYTES_PER_ELEMENT;case li.UNSIGNED_INT:return Uint32Array.BYTES_PER_ELEMENT;case li.FLOAT:default:return Float32Array.BYTES_PER_ELEMENT}}class Dl extends gd{constructor(t,e){super(t),e=e||{},this.inversePixelTransform_=Xt(),this.pixelContext_=null,this.postProcesses_=e.postProcesses,this.uniforms_=e.uniforms,this.helper,t.addChangeListener(At.MAP,this.removeHelper.bind(this)),this.dispatchPreComposeEvent=this.dispatchPreComposeEvent.bind(this),this.dispatchPostComposeEvent=this.dispatchPostComposeEvent.bind(this)}dispatchPreComposeEvent(t,e){const i=this.getLayer();if(i.hasListener(Qt.PRECOMPOSE)){const n=new Cr(Qt.PRECOMPOSE,void 0,e,t);i.dispatchEvent(n)}}dispatchPostComposeEvent(t,e){const i=this.getLayer();if(i.hasListener(Qt.POSTCOMPOSE)){const n=new Cr(Qt.POSTCOMPOSE,void 0,e,t);i.dispatchEvent(n)}}reset(t){this.uniforms_=t.uniforms,this.helper&&this.helper.setUniforms(this.uniforms_)}removeHelper(){this.helper&&(this.helper.dispose(),delete this.helper)}prepareFrame(t){if(this.getLayer().getRenderSource()){let e=!0,i=-1,n;for(let a=0,h=t.layerStatesArray.length;a<h;a++){const c=t.layerStatesArray[a].layer,d=c.getRenderer();if(!(d instanceof Dl)){e=!0;continue}const f=c.getClassName();if((e||f!==n)&&(i+=1,e=!1),n=f,d===this)break}const o="map/"+t.mapId+"/group/"+i;(!this.helper||!this.helper.canvasCacheKeyMatches(o)||this.helper.needsToBeRecreated())&&(this.removeHelper(),this.helper=new bx({postProcesses:this.postProcesses_,uniforms:this.uniforms_,canvasCacheKey:o}),n&&(this.helper.getCanvas().className=n),this.afterHelperCreated())}return this.prepareFrameInternal(t)}afterHelperCreated(){}prepareFrameInternal(t){return!0}disposeInternal(){this.removeHelper(),super.disposeInternal()}dispatchRenderEvent_(t,e,i){const n=this.getLayer();if(n.hasListener(t)){ze(this.inversePixelTransform_,0,0,i.pixelRatio,-i.pixelRatio,0,0,-i.size[1]);const o=new Cr(t,this.inversePixelTransform_,i,e);n.dispatchEvent(o)}}preRender(t,e){this.dispatchRenderEvent_(Qt.PRERENDER,t,e)}postRender(t,e){this.dispatchRenderEvent_(Qt.POSTRENDER,t,e)}}const Mx=Dl,Ue=new Uint8Array(4);class Px{constructor(t,e){this.helper_=t;const i=t.getGL();this.texture_=i.createTexture(),this.framebuffer_=i.createFramebuffer(),this.depthbuffer_=i.createRenderbuffer(),this.size_=e||[1,1],this.data_=new Uint8Array(0),this.dataCacheDirty_=!0,this.updateSize_()}setSize(t){ei(t,this.size_)||(this.size_[0]=t[0],this.size_[1]=t[1],this.updateSize_())}getSize(){return this.size_}clearCachedData(){this.dataCacheDirty_=!0}readAll(){if(this.dataCacheDirty_){const t=this.size_,e=this.helper_.getGL();e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.readPixels(0,0,t[0],t[1],e.RGBA,e.UNSIGNED_BYTE,this.data_),this.dataCacheDirty_=!1}return this.data_}readPixel(t,e){if(t<0||e<0||t>this.size_[0]||e>=this.size_[1])return Ue[0]=0,Ue[1]=0,Ue[2]=0,Ue[3]=0,Ue;this.readAll();const i=Math.floor(t)+(this.size_[1]-Math.floor(e)-1)*this.size_[0];return Ue[0]=this.data_[i*4],Ue[1]=this.data_[i*4+1],Ue[2]=this.data_[i*4+2],Ue[3]=this.data_[i*4+3],Ue}getTexture(){return this.texture_}getFramebuffer(){return this.framebuffer_}getDepthbuffer(){return this.depthbuffer_}updateSize_(){const t=this.size_,e=this.helper_.getGL();this.texture_=this.helper_.createTexture(t,null,this.texture_),e.bindFramebuffer(e.FRAMEBUFFER,this.framebuffer_),e.viewport(0,0,t[0],t[1]),e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,this.texture_,0),e.bindRenderbuffer(e.RENDERBUFFER,this.depthbuffer_),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,t[0],t[1]),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,this.depthbuffer_),this.data_=new Uint8Array(t[0]*t[1]*4)}}const Dx=Px,vd={GENERATE_POLYGON_BUFFERS:"GENERATE_POLYGON_BUFFERS",GENERATE_POINT_BUFFERS:"GENERATE_POINT_BUFFERS",GENERATE_LINE_STRING_BUFFERS:"GENERATE_LINE_STRING_BUFFERS"};function Sx(r,t){t=t||[];const e=256,i=e-1;return t[0]=Math.floor(r/e/e/e)/i,t[1]=Math.floor(r/e/e)%e/i,t[2]=Math.floor(r/e)%e/i,t[3]=r%e/i,t}function Rx(r){let t=0;const e=256,i=e-1;return t+=Math.round(r[0]*e*e*e*i),t+=Math.round(r[1]*e*e*i),t+=Math.round(r[2]*e*i),t+=Math.round(r[3]*i),t}function Ix(){const r='const e="GENERATE_POLYGON_BUFFERS",t="GENERATE_POINT_BUFFERS",n="GENERATE_LINE_STRING_BUFFERS";function r(e,t){const n=t[0],r=t[1];return t[0]=e[0]*n+e[2]*r+e[4],t[1]=e[1]*n+e[3]*r+e[5],t}function x(e,t){const n=(r=t)[0]*r[3]-r[1]*r[2];var r;!function(e,t){if(!e)throw new Error(t)}(0!==n,"Transformation matrix cannot be inverted");const x=t[0],i=t[1],u=t[2],o=t[3],f=t[4],s=t[5];return e[0]=o/n,e[1]=-i/n,e[2]=-u/n,e[3]=x/n,e[4]=(u*s-o*f)/n,e[5]=-(x*s-i*f)/n,e}function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}new Array(6);var u={exports:{}};function o(e,t,n){n=n||2;var r,x,i,u,o,s,l,v=t&&t.length,c=v?t[0]*n:e.length,h=f(e,0,c,n,!0),g=[];if(!h||h.next===h.prev)return g;if(v&&(h=function(e,t,n,r){var x,i,u,o=[];for(x=0,i=t.length;x<i;x++)(u=f(e,t[x]*r,x<i-1?t[x+1]*r:e.length,r,!1))===u.next&&(u.steiner=!0),o.push(d(u));for(o.sort(p),x=0;x<o.length;x++)n=y(o[x],n);return n}(e,t,h,n)),e.length>80*n){r=i=e[0],x=u=e[1];for(var b=n;b<c;b+=n)(o=e[b])<r&&(r=o),(s=e[b+1])<x&&(x=s),o>i&&(i=o),s>u&&(u=s);l=0!==(l=Math.max(i-r,u-x))?32767/l:0}return a(h,g,n,r,x,l,0),g}function f(e,t,n,r,x){var i,u;if(x===O(e,t,n,r)>0)for(i=t;i<n;i+=r)u=P(i,e[i],e[i+1],u);else for(i=n-r;i>=t;i-=r)u=P(i,e[i],e[i+1],u);return u&&m(u,u.next)&&(B(u),u=u.next),u}function s(e,t){if(!e)return e;t||(t=e);var n,r=e;do{if(n=!1,r.steiner||!m(r,r.next)&&0!==M(r.prev,r,r.next))r=r.next;else{if(B(r),(r=t=r.prev)===r.next)break;n=!0}}while(n||r!==t);return t}function a(e,t,n,r,x,i,u){if(e){!u&&i&&function(e,t,n,r){var x=e;do{0===x.z&&(x.z=b(x.x,x.y,t,n,r)),x.prevZ=x.prev,x.nextZ=x.next,x=x.next}while(x!==e);x.prevZ.nextZ=null,x.prevZ=null,function(e){var t,n,r,x,i,u,o,f,s=1;do{for(n=e,e=null,i=null,u=0;n;){for(u++,r=n,o=0,t=0;t<s&&(o++,r=r.nextZ);t++);for(f=s;o>0||f>0&&r;)0!==o&&(0===f||!r||n.z<=r.z)?(x=n,n=n.nextZ,o--):(x=r,r=r.nextZ,f--),i?i.nextZ=x:e=x,x.prevZ=i,i=x;n=r}i.nextZ=null,s*=2}while(u>1)}(x)}(e,r,x,i);for(var o,f,p=e;e.prev!==e.next;)if(o=e.prev,f=e.next,i?v(e,r,x,i):l(e))t.push(o.i/n|0),t.push(e.i/n|0),t.push(f.i/n|0),B(e),e=f.next,p=f.next;else if((e=f)===p){u?1===u?a(e=c(s(e),t,n),t,n,r,x,i,2):2===u&&h(e,t,n,r,x,i):a(s(e),t,n,r,x,i,1);break}}}function l(e){var t=e.prev,n=e,r=e.next;if(M(t,n,r)>=0)return!1;for(var x=t.x,i=n.x,u=r.x,o=t.y,f=n.y,s=r.y,a=x<i?x<u?x:u:i<u?i:u,l=o<f?o<s?o:s:f<s?f:s,v=x>i?x>u?x:u:i>u?i:u,c=o>f?o>s?o:s:f>s?f:s,h=r.next;h!==t;){if(h.x>=a&&h.x<=v&&h.y>=l&&h.y<=c&&Z(x,o,i,f,u,s,h.x,h.y)&&M(h.prev,h,h.next)>=0)return!1;h=h.next}return!0}function v(e,t,n,r){var x=e.prev,i=e,u=e.next;if(M(x,i,u)>=0)return!1;for(var o=x.x,f=i.x,s=u.x,a=x.y,l=i.y,v=u.y,c=o<f?o<s?o:s:f<s?f:s,h=a<l?a<v?a:v:l<v?l:v,p=o>f?o>s?o:s:f>s?f:s,y=a>l?a>v?a:v:l>v?l:v,g=b(c,h,t,n,r),d=b(p,y,t,n,r),w=e.prevZ,m=e.nextZ;w&&w.z>=g&&m&&m.z<=d;){if(w.x>=c&&w.x<=p&&w.y>=h&&w.y<=y&&w!==x&&w!==u&&Z(o,a,f,l,s,v,w.x,w.y)&&M(w.prev,w,w.next)>=0)return!1;if(w=w.prevZ,m.x>=c&&m.x<=p&&m.y>=h&&m.y<=y&&m!==x&&m!==u&&Z(o,a,f,l,s,v,m.x,m.y)&&M(m.prev,m,m.next)>=0)return!1;m=m.nextZ}for(;w&&w.z>=g;){if(w.x>=c&&w.x<=p&&w.y>=h&&w.y<=y&&w!==x&&w!==u&&Z(o,a,f,l,s,v,w.x,w.y)&&M(w.prev,w,w.next)>=0)return!1;w=w.prevZ}for(;m&&m.z<=d;){if(m.x>=c&&m.x<=p&&m.y>=h&&m.y<=y&&m!==x&&m!==u&&Z(o,a,f,l,s,v,m.x,m.y)&&M(m.prev,m,m.next)>=0)return!1;m=m.nextZ}return!0}function c(e,t,n){var r=e;do{var x=r.prev,i=r.next.next;!m(x,i)&&A(x,r,r.next,i)&&F(x,i)&&F(i,x)&&(t.push(x.i/n|0),t.push(r.i/n|0),t.push(i.i/n|0),B(r),B(r.next),r=e=i),r=r.next}while(r!==e);return s(r)}function h(e,t,n,r,x,i){var u=e;do{for(var o=u.next.next;o!==u.prev;){if(u.i!==o.i&&w(u,o)){var f=I(u,o);return u=s(u,u.next),f=s(f,f.next),a(u,t,n,r,x,i,0),void a(f,t,n,r,x,i,0)}o=o.next}u=u.next}while(u!==e)}function p(e,t){return e.x-t.x}function y(e,t){var n=function(e,t){var n,r=t,x=e.x,i=e.y,u=-1/0;do{if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){var o=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(o<=x&&o>u&&(u=o,n=r.x<r.next.x?r:r.next,o===x))return n}r=r.next}while(r!==t);if(!n)return null;var f,s=n,a=n.x,l=n.y,v=1/0;r=n;do{x>=r.x&&r.x>=a&&x!==r.x&&Z(i<l?x:u,i,a,l,i<l?u:x,i,r.x,r.y)&&(f=Math.abs(i-r.y)/(x-r.x),F(r,e)&&(f<v||f===v&&(r.x>n.x||r.x===n.x&&g(n,r)))&&(n=r,v=f)),r=r.next}while(r!==s);return n}(e,t);if(!n)return t;var r=I(n,e);return s(r,r.next),s(n,n.next)}function g(e,t){return M(e.prev,e,t.prev)<0&&M(t.next,e,e.next)<0}function b(e,t,n,r,x){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-n)*x|0)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-r)*x|0)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function d(e){var t=e,n=e;do{(t.x<n.x||t.x===n.x&&t.y<n.y)&&(n=t),t=t.next}while(t!==e);return n}function Z(e,t,n,r,x,i,u,o){return(x-u)*(t-o)>=(e-u)*(i-o)&&(e-u)*(r-o)>=(n-u)*(t-o)&&(n-u)*(i-o)>=(x-u)*(r-o)}function w(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&A(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(e,t)&&(F(e,t)&&F(t,e)&&function(e,t){var n=e,r=!1,x=(e.x+t.x)/2,i=(e.y+t.y)/2;do{n.y>i!=n.next.y>i&&n.next.y!==n.y&&x<(n.next.x-n.x)*(i-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}(e,t)&&(M(e.prev,e,t.prev)||M(e,t.prev,t))||m(e,t)&&M(e.prev,e,e.next)>0&&M(t.prev,t,t.next)>0)}function M(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function m(e,t){return e.x===t.x&&e.y===t.y}function A(e,t,n,r){var x=z(M(e,t,n)),i=z(M(e,t,r)),u=z(M(n,r,e)),o=z(M(n,r,t));return x!==i&&u!==o||(!(0!==x||!E(e,n,t))||(!(0!==i||!E(e,r,t))||(!(0!==u||!E(n,e,r))||!(0!==o||!E(n,t,r)))))}function E(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function z(e){return e>0?1:e<0?-1:0}function F(e,t){return M(e.prev,e,e.next)<0?M(e,t,e.next)>=0&&M(e,e.prev,t)>=0:M(e,t,e.prev)<0||M(e,e.next,t)<0}function I(e,t){var n=new _(e.i,e.x,e.y),r=new _(t.i,t.x,t.y),x=e.next,i=t.prev;return e.next=t,t.prev=e,n.next=x,x.prev=n,r.next=n,n.prev=r,i.next=r,r.prev=i,r}function P(e,t,n,r){var x=new _(e,t,n);return r?(x.next=r.next,x.prev=r,r.next.prev=x,r.next=x):(x.prev=x,x.next=x),x}function B(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function _(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function O(e,t,n,r){for(var x=0,i=t,u=n-r;i<n;i+=r)x+=(e[u]-e[i])*(e[i+1]+e[u+1]),u=i;return x}u.exports=o,u.exports.default=o,o.deviation=function(e,t,n,r){var x=t&&t.length,i=x?t[0]*n:e.length,u=Math.abs(O(e,0,i,n));if(x)for(var o=0,f=t.length;o<f;o++){var s=t[o]*n,a=o<f-1?t[o+1]*n:e.length;u-=Math.abs(O(e,s,a,n))}var l=0;for(o=0;o<r.length;o+=3){var v=r[o]*n,c=r[o+1]*n,h=r[o+2]*n;l+=Math.abs((e[v]-e[h])*(e[c+1]-e[v+1])-(e[v]-e[c])*(e[h+1]-e[v+1]))}return 0===u&&0===l?0:Math.abs((l-u)/u)},o.flatten=function(e){for(var t=e[0][0].length,n={vertices:[],holes:[],dimensions:t},r=0,x=0;x<e.length;x++){for(var i=0;i<e[x].length;i++)for(var u=0;u<t;u++)n.vertices.push(e[x][i][u]);x>0&&(r+=e[x-1].length,n.holes.push(r))}return n};var N=i(u.exports);const R=[],S={vertexPosition:0,indexPosition:0};function T(e,t,n,r,x){e[t+0]=n,e[t+1]=r,e[t+2]=x}function U(e,t,n,r,x,i){const u=3+x,o=e[t+0],f=e[t+1],s=R;s.length=x;for(let n=0;n<s.length;n++)s[n]=e[t+2+n];let a=i?i.vertexPosition:0,l=i?i.indexPosition:0;const v=a/u;return T(n,a,o,f,0),s.length&&n.set(s,a+3),a+=u,T(n,a,o,f,1),s.length&&n.set(s,a+3),a+=u,T(n,a,o,f,2),s.length&&n.set(s,a+3),a+=u,T(n,a,o,f,3),s.length&&n.set(s,a+3),a+=u,r[l++]=v,r[l++]=v+1,r[l++]=v+3,r[l++]=v+1,r[l++]=v+2,r[l++]=v+3,S.vertexPosition=a,S.indexPosition=l,S}function k(e,t,n,x,i,u,o,f,s,a){const l=8+f.length,v=u.length/l,c=[e[t+0],e[t+1]],h=[e[n],e[n+1]],p=r(s,[...c]),y=r(s,[...h]);function g(e,t,n){const r=Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])),x=[(t[0]-e[0])/r,(t[1]-e[1])/r],i=[-x[1],x[0]],u=Math.sqrt((n[0]-e[0])*(n[0]-e[0])+(n[1]-e[1])*(n[1]-e[1])),o=[(n[0]-e[0])/u,(n[1]-e[1])/u],f=0===r||0===u?0:Math.acos((s=o[0]*x[0]+o[1]*x[1],a=-1,l=1,Math.min(Math.max(s,a),l)));var s,a,l;return o[0]*i[0]+o[1]*i[1]>0?f:2*Math.PI-f}let b=-1,d=-1;const Z=null!==i;if(null!==x){b=g(p,y,r(s,[...[e[x],e[x+1]]]))}if(Z){d=g(y,p,r(s,[...[e[i],e[i+1]]]))}return u.push(c[0],c[1],h[0],h[1],b,d,a,0),u.push(...f),u.push(c[0],c[1],h[0],h[1],b,d,a,1),u.push(...f),u.push(c[0],c[1],h[0],h[1],b,d,a,2),u.push(...f),u.push(c[0],c[1],h[0],h[1],b,d,a,3),u.push(...f),o.push(v,v+1,v+2,v+1,v+3,v+2),a+Math.sqrt((y[0]-p[0])*(y[0]-p[0])+(y[1]-p[1])*(y[1]-p[1]))}function G(e,t,n,r,x){const i=2+x;let u=t;const o=e.slice(u,u+x);u+=x;const f=e[u++];let s=0;const a=new Array(f-1);for(let t=0;t<f;t++)s+=e[u++],t<f-1&&(a[t]=s);const l=e.slice(u,u+2*s),v=N(l,a,2);for(let e=0;e<v.length;e++)r.push(v[e]+n.length/i);for(let e=0;e<l.length;e+=2)n.push(l[e],l[e+1],...o);return u+2*s}const j=self;j.onmessage=r=>{const i=r.data;switch(i.type){case t:{const e=3,t=2,n=i.customAttributesSize,r=t+n,x=new Float32Array(i.renderInstructions),u=x.length/r,o=4*u*(n+e),f=new Uint32Array(6*u),s=new Float32Array(o);let a;for(let e=0;e<x.length;e+=r)a=U(x,e,s,f,n,a);const l=Object.assign({vertexBuffer:s.buffer,indexBuffer:f.buffer,renderInstructions:x.buffer},i);j.postMessage(l,[s.buffer,f.buffer,x.buffer]);break}case n:{const e=[],t=[],n=i.customAttributesSize,r=2,u=new Float32Array(i.renderInstructions);let o=0;const f=[1,0,0,1,0,0];let s,a;for(x(f,i.renderInstructionsTransform);o<u.length;){a=Array.from(u.slice(o,o+n)),o+=n,s=u[o++];const x=o,i=o+(s-1)*r,l=u[x]===u[i]&&u[x+1]===u[i+1];let v=0;for(let n=0;n<s-1;n++){let c=null;n>0?c=o+(n-1)*r:l&&(c=i-r);let h=null;n<s-2?h=o+(n+2)*r:l&&(h=x+r),v=k(u,o+n*r,o+(n+1)*r,c,h,e,t,a,f,v)}o+=s*r}const l=Uint32Array.from(t),v=Float32Array.from(e),c=Object.assign({vertexBuffer:v.buffer,indexBuffer:l.buffer,renderInstructions:u.buffer},i);j.postMessage(c,[v.buffer,l.buffer,u.buffer]);break}case e:{const e=[],t=[],n=i.customAttributesSize,r=new Float32Array(i.renderInstructions);let x=0;for(;x<r.length;)x=G(r,x,e,t,n);const u=Uint32Array.from(t),o=Float32Array.from(e),f=Object.assign({vertexBuffer:o.buffer,indexBuffer:u.buffer,renderInstructions:r.buffer},i);j.postMessage(f,[o.buffer,u.buffer,r.buffer]);break}}};';return new Worker(typeof Blob>"u"?"data:application/javascript;base64,"+Buffer.from(r,"binary").toString("base64"):URL.createObjectURL(new Blob([r],{type:"application/javascript"})))}class kx extends Mx{constructor(t,e){const i=e.uniforms||{},n=Xt();i[ai.PROJECTION_MATRIX]=n,super(t,{uniforms:i,postProcesses:e.postProcesses}),this.sourceRevision_=-1,this.verticesBuffer_=new fd(bl,Ml),this.indicesBuffer_=new fd(Tl,Ml),this.vertexShader_=e.vertexShader,this.fragmentShader_=e.fragmentShader,this.program_,this.hitDetectionEnabled_=e.hitDetectionEnabled??!0;const o=e.attributes?e.attributes.map(function(h){return{name:"a_"+h.name,size:1,type:li.FLOAT}}):[];this.attributes=[{name:"a_position",size:2,type:li.FLOAT},{name:"a_index",size:1,type:li.FLOAT}],this.hitDetectionEnabled_&&(this.attributes.push({name:"a_hitColor",size:4,type:li.FLOAT}),this.attributes.push({name:"a_featureUid",size:1,type:li.FLOAT})),this.attributes.push(...o),this.customAttributes=e.attributes?e.attributes:[],this.previousExtent_=ge(),this.currentTransform_=n,this.renderTransform_=Xt(),this.invertRenderTransform_=Xt(),this.renderInstructions_=new Float32Array(0),this.hitRenderTarget_,this.lastSentId=0,this.worker_=Ix(),this.worker_.addEventListener("message",h=>{const c=h.data;if(c.type===vd.GENERATE_POINT_BUFFERS){const d=c.projectionTransform;this.verticesBuffer_.fromArrayBuffer(c.vertexBuffer),this.helper.flushBufferData(this.verticesBuffer_),this.indicesBuffer_.fromArrayBuffer(c.indexBuffer),this.helper.flushBufferData(this.indicesBuffer_),this.renderTransform_=d,js(this.invertRenderTransform_,this.renderTransform_),this.renderInstructions_=new Float32Array(h.data.renderInstructions),c.id===this.lastSentId&&(this.ready=!0),this.getLayer().changed()}}),this.featureCache_={},this.featureCount_=0;const a=this.getLayer().getSource();this.sourceListenKeys_=[ft(a,ee.ADDFEATURE,this.handleSourceFeatureAdded_,this),ft(a,ee.CHANGEFEATURE,this.handleSourceFeatureChanged_,this),ft(a,ee.REMOVEFEATURE,this.handleSourceFeatureDelete_,this),ft(a,ee.CLEAR,this.handleSourceFeatureClear_,this)],a.forEachFeature(h=>{this.featureCache_[ut(h)]={feature:h,properties:h.getProperties(),geometry:h.getGeometry()},this.featureCount_++})}afterHelperCreated(){this.program_=this.helper.getProgram(this.fragmentShader_,this.vertexShader_),this.hitDetectionEnabled_&&(this.hitRenderTarget_=new Dx(this.helper))}handleSourceFeatureAdded_(t){const e=t.feature;this.featureCache_[ut(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()},this.featureCount_++}handleSourceFeatureChanged_(t){const e=t.feature;this.featureCache_[ut(e)]={feature:e,properties:e.getProperties(),geometry:e.getGeometry()}}handleSourceFeatureDelete_(t){const e=t.feature;delete this.featureCache_[ut(e)],this.featureCount_--}handleSourceFeatureClear_(){this.featureCache_={},this.featureCount_=0}renderFrame(t){const e=this.helper.getGL();this.preRender(e,t);const[i,n,o]=this.getWorldParameters_(t);this.renderWorlds(t,!1,i,n,o),this.helper.finalizeDraw(t,this.dispatchPreComposeEvent,this.dispatchPostComposeEvent);const a=this.helper.getCanvas();return this.hitDetectionEnabled_&&(this.renderWorlds(t,!0,i,n,o),this.hitRenderTarget_.clearCachedData()),this.postRender(e,t),a}getWorldParameters_(t){const e=t.viewState.projection,o=this.getLayer().getSource().getWrapX()&&e.canWrapX(),a=e.getExtent(),h=t.extent,c=o?Lt(a):null,d=o?Math.ceil((h[2]-a[2])/c)+1:1;return[o?Math.floor((h[0]-a[0])/c):0,d,c]}prepareFrameInternal(t){const e=this.getLayer(),i=e.getSource(),n=t.viewState,o=!t.viewHints[Ut.ANIMATING]&&!t.viewHints[Ut.INTERACTING],a=!Mn(this.previousExtent_,t.extent),h=this.sourceRevision_<i.getRevision();if(h&&(this.sourceRevision_=i.getRevision()),o&&(a||h)){const c=n.projection,d=n.resolution,f=e instanceof Ll?e.getRenderBuffer():0,p=Ss(t.extent,f*d);i.loadFeatures(p,d,c),this.rebuildBuffers_(t),this.previousExtent_=t.extent.slice()}return this.helper.useProgram(this.program_,t),this.helper.prepareDraw(t),this.helper.bindBuffer(this.verticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.attributes),!0}rebuildBuffers_(t){const e=Xt();this.helper.makeProjectionTransform(t,e);const n=(this.hitDetectionEnabled_?7:2)+this.customAttributes.length,o=n*this.featureCount_;(!this.renderInstructions_||this.renderInstructions_.length!==o)&&(this.renderInstructions_=new Float32Array(o));let a,h;const c=[],d=[];let f=-1;for(const _ in this.featureCache_)if(a=this.featureCache_[_],h=a.geometry,!(!h||h.getType()!=="Point")){if(c[0]=h.getFlatCoordinates()[0],c[1]=h.getFlatCoordinates()[1],Ot(e,c),this.renderInstructions_[++f]=c[0],this.renderInstructions_[++f]=c[1],this.hitDetectionEnabled_){const y=Sx(f+5,d);this.renderInstructions_[++f]=y[0],this.renderInstructions_[++f]=y[1],this.renderInstructions_[++f]=y[2],this.renderInstructions_[++f]=y[3],this.renderInstructions_[++f]=Number(_)}for(let y=0;y<this.customAttributes.length;y++){const v=this.customAttributes[y].callback(a.feature,a.properties);this.renderInstructions_[++f]=v}}const p={id:++this.lastSentId,type:vd.GENERATE_POINT_BUFFERS,renderInstructions:this.renderInstructions_.buffer,customAttributesSize:n-2};p.projectionTransform=e,this.ready=!1,this.worker_.postMessage(p,[this.renderInstructions_.buffer]),this.renderInstructions_=null}forEachFeatureAtCoordinate(t,e,i,n,o){if(_t(this.hitDetectionEnabled_,"`forEachFeatureAtCoordinate` cannot be used on a WebGL layer if the hit detection logic has not been enabled. This is done by providing adequate shaders using the `hitVertexShader` and `hitFragmentShader` properties of `WebGLPointsLayerRenderer`"),!this.renderInstructions_||!this.hitDetectionEnabled_)return;const a=Ot(e.coordinateToPixelTransform,t.slice()),h=this.hitRenderTarget_.readPixel(a[0]/2,a[1]/2),c=[h[0]/255,h[1]/255,h[2]/255,h[3]/255],d=Rx(c),f=this.renderInstructions_[d],p=Math.floor(f).toString(),y=this.getLayer().getSource().getFeatureByUid(p);if(y)return n(y,this.getLayer(),null)}renderWorlds(t,e,i,n,o){let a=i;this.helper.useProgram(this.program_,t),e&&(this.hitRenderTarget_.setSize([Math.floor(t.size[0]/2),Math.floor(t.size[1]/2)]),this.helper.prepareDrawToRenderTarget(t,this.hitRenderTarget_,!0)),this.helper.bindBuffer(this.verticesBuffer_),this.helper.bindBuffer(this.indicesBuffer_),this.helper.enableAttributes(this.attributes);do{this.helper.makeProjectionTransform(t,this.currentTransform_),M_(this.currentTransform_,a*o,0),eu(this.currentTransform_,this.invertRenderTransform_),this.helper.applyUniforms(t),this.helper.applyHitDetectionUniform(e);const h=this.indicesBuffer_.getSize();this.helper.drawElements(0,h)}while(++a<n)}disposeInternal(){this.worker_.terminate(),this.layer_=null,this.sourceListenKeys_.forEach(function(t){Et(t)}),this.sourceListenKeys_=null,super.disposeInternal()}}const Ox=kx,Fx=.5;class zx extends bs{constructor(t,e,i){super(),i=i||{},this.tileCoord=t,this.state=e,this.interimTile=null,this.key="",this.transition_=i.transition===void 0?250:i.transition,this.transitionStarts_={},this.interpolate=!!i.interpolate}changed(){this.dispatchEvent(ht.CHANGE)}release(){this.state===nt.ERROR&&this.setState(nt.EMPTY)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){if(!this.interimTile)return this;let t=this.interimTile;do{if(t.getState()==nt.LOADED)return this.transition_=0,t;t=t.interimTile}while(t);return this}refreshInterimChain(){if(!this.interimTile)return;let t=this.interimTile,e=this;do{if(t.getState()==nt.LOADED){t.interimTile=null;break}else t.getState()==nt.LOADING?e=t:t.getState()==nt.IDLE?e.interimTile=t.interimTile:e=t;t=e.interimTile}while(t)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(t){if(this.state!==nt.ERROR&&this.state>t)throw new Error("Tile load sequence violation");this.state=t,this.changed()}load(){at()}getAlpha(t,e){if(!this.transition_)return 1;let i=this.transitionStarts_[t];if(!i)i=e,this.transitionStarts_[t]=i;else if(i===-1)return 1;const n=e-i+1e3/60;return n>=this.transition_?1:Qc(n/this.transition_)}inTransition(t){return this.transition_?this.transitionStarts_[t]!==-1:!1}endTransition(t){this.transition_&&(this.transitionStarts_[t]=-1)}}const xd=zx,Bx=10,Ad=.25;class Nx{constructor(t,e,i,n,o,a){this.sourceProj_=t,this.targetProj_=e;let h={};const c=Us(this.targetProj_,this.sourceProj_);this.transformInv_=function(w){const E=w[0]+"/"+w[1];return h[E]||(h[E]=c(w)),h[E]},this.maxSourceExtent_=n,this.errorThresholdSquared_=o*o,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!n&&!!this.sourceProj_.getExtent()&&Lt(n)>=Lt(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Lt(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Lt(this.targetProj_.getExtent()):null;const d=Qi(i),f=Os(i),p=ks(i),_=Is(i),y=this.transformInv_(d),v=this.transformInv_(f),A=this.transformInv_(p),b=this.transformInv_(_),M=Bx+(a?Math.max(0,Math.ceil(Math.log2(Da(i)/(a*a*256*256)))):0);if(this.addQuad_(d,f,p,_,y,v,A,b,M),this.wrapsXInSource_){let w=1/0;this.triangles_.forEach(function(E,C,P){w=Math.min(w,E.source[0][0],E.source[1][0],E.source[2][0])}),this.triangles_.forEach(E=>{if(Math.max(E.source[0][0],E.source[1][0],E.source[2][0])-w>this.sourceWorldWidth_/2){const C=[[E.source[0][0],E.source[0][1]],[E.source[1][0],E.source[1][1]],[E.source[2][0],E.source[2][1]]];C[0][0]-w>this.sourceWorldWidth_/2&&(C[0][0]-=this.sourceWorldWidth_),C[1][0]-w>this.sourceWorldWidth_/2&&(C[1][0]-=this.sourceWorldWidth_),C[2][0]-w>this.sourceWorldWidth_/2&&(C[2][0]-=this.sourceWorldWidth_);const P=Math.min(C[0][0],C[1][0],C[2][0]);Math.max(C[0][0],C[1][0],C[2][0])-P<this.sourceWorldWidth_/2&&(E.source=C)}})}h={}}addTriangle_(t,e,i,n,o,a){this.triangles_.push({source:[n,o,a],target:[t,e,i]})}addQuad_(t,e,i,n,o,a,h,c,d){const f=Pc([o,a,h,c]),p=this.sourceWorldWidth_?Lt(f)/this.sourceWorldWidth_:null,_=this.sourceWorldWidth_,y=this.sourceProj_.canWrapX()&&p>.5&&p<1;let v=!1;if(d>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const b=Pc([t,e,i,n]);v=Lt(b)/this.targetWorldWidth_>Ad||v}!y&&this.sourceProj_.isGlobal()&&p&&(v=p>Ad||v)}if(!v&&this.maxSourceExtent_&&isFinite(f[0])&&isFinite(f[1])&&isFinite(f[2])&&isFinite(f[3])&&!se(f,this.maxSourceExtent_))return;let A=0;if(!v&&(!isFinite(o[0])||!isFinite(o[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(h[0])||!isFinite(h[1])||!isFinite(c[0])||!isFinite(c[1]))){if(d>0)v=!0;else if(A=(!isFinite(o[0])||!isFinite(o[1])?8:0)+(!isFinite(a[0])||!isFinite(a[1])?4:0)+(!isFinite(h[0])||!isFinite(h[1])?2:0)+(!isFinite(c[0])||!isFinite(c[1])?1:0),A!=1&&A!=2&&A!=4&&A!=8)return}if(d>0){if(!v){const b=[(t[0]+i[0])/2,(t[1]+i[1])/2],M=this.transformInv_(b);let w;y?w=(Pn(o[0],_)+Pn(h[0],_))/2-Pn(M[0],_):w=(o[0]+h[0])/2-M[0];const E=(o[1]+h[1])/2-M[1];v=w*w+E*E>this.errorThresholdSquared_}if(v){if(Math.abs(t[0]-i[0])<=Math.abs(t[1]-i[1])){const b=[(e[0]+i[0])/2,(e[1]+i[1])/2],M=this.transformInv_(b),w=[(n[0]+t[0])/2,(n[1]+t[1])/2],E=this.transformInv_(w);this.addQuad_(t,e,b,w,o,a,M,E,d-1),this.addQuad_(w,b,i,n,E,M,h,c,d-1)}else{const b=[(t[0]+e[0])/2,(t[1]+e[1])/2],M=this.transformInv_(b),w=[(i[0]+n[0])/2,(i[1]+n[1])/2],E=this.transformInv_(w);this.addQuad_(t,b,w,n,o,M,E,c,d-1),this.addQuad_(b,e,i,w,M,a,h,E,d-1)}return}}if(y){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}A&11||this.addTriangle_(t,i,n,o,h,c),A&14||this.addTriangle_(t,i,e,o,h,a),A&&(A&13||this.addTriangle_(e,n,t,a,c,o),A&7||this.addTriangle_(e,n,i,a,c,h))}calculateSourceExtent(){const t=ge();return this.triangles_.forEach(function(e,i,n){const o=e.source;vr(t,o[0]),vr(t,o[1]),vr(t,o[2])}),t}getTriangles(){return this.triangles_}}const Gx=Nx;let Sl;const Nn=[];function wd(r,t,e,i,n){r.beginPath(),r.moveTo(0,0),r.lineTo(t,e),r.lineTo(i,n),r.closePath(),r.save(),r.clip(),r.fillRect(0,0,Math.max(t,i)+1,Math.max(e,n)),r.restore()}function Rl(r,t){return Math.abs(r[t*4]-210)>2||Math.abs(r[t*4+3]-.75*255)>2}function Ux(){if(Sl===void 0){const r=qt(6,6,Nn);r.globalCompositeOperation="lighter",r.fillStyle="rgba(210, 0, 0, 0.75)",wd(r,4,5,4,0),wd(r,4,5,0,5);const t=r.getImageData(0,0,3,3).data;Sl=Rl(t,0)||Rl(t,4)||Rl(t,8),to(r),Nn.push(r.canvas)}return Sl}function Ed(r,t,e,i){const n=Yc(e,t,r);let o=jc(t,i,e);const a=t.getMetersPerUnit();a!==void 0&&(o*=a);const h=r.getMetersPerUnit();h!==void 0&&(o/=h);const c=r.getExtent();if(!c||Rs(c,n)){const d=jc(r,o,n)/o;isFinite(d)&&d>0&&(o/=d)}return o}function jx(r,t,e,i){const n=Ki(e);let o=Ed(r,t,n,i);return(!isFinite(o)||o<=0)&&kc(e,function(a){return o=Ed(r,t,a,i),isFinite(o)&&o>0}),o}function Hx(r,t,e,i,n,o,a,h,c,d,f,p){const _=qt(Math.round(e*r),Math.round(e*t),Nn);if(p||(_.imageSmoothingEnabled=!1),c.length===0)return _.canvas;_.scale(e,e);function y(C){return Math.round(C*e)/e}_.globalCompositeOperation="lighter";const v=ge();c.forEach(function(C,P,D){Rc(v,C.extent)});const A=Lt(v),b=Fe(v),M=qt(Math.round(e*A/i),Math.round(e*b/i),Nn);p||(M.imageSmoothingEnabled=!1);const w=e/i;c.forEach(function(C,P,D){const k=C.extent[0]-v[0],R=-(C.extent[3]-v[3]),F=Lt(C.extent),j=Fe(C.extent);C.image.width>0&&C.image.height>0&&M.drawImage(C.image,d,d,C.image.width-2*d,C.image.height-2*d,k*w,R*w,F*w,j*w)});const E=Qi(a);return h.getTriangles().forEach(function(C,P,D){const k=C.source,R=C.target;let F=k[0][0],j=k[0][1],G=k[1][0],Z=k[1][1],$=k[2][0],ot=k[2][1];const Y=y((R[0][0]-E[0])/o),X=y(-(R[0][1]-E[1])/o),U=y((R[1][0]-E[0])/o),B=y(-(R[1][1]-E[1])/o),et=y((R[2][0]-E[0])/o),W=y(-(R[2][1]-E[1])/o),it=F,z=j;F=0,j=0,G-=it,Z-=z,$-=it,ot-=z;const gt=[[G,Z,0,0,U-Y],[$,ot,0,0,et-Y],[0,0,G,Z,B-X],[0,0,$,ot,W-X]],J=s_(gt);if(J){if(_.save(),_.beginPath(),Ux()||!p){_.moveTo(U,B);const q=4,lt=Y-U,Ft=X-B;for(let Tt=0;Tt<q;Tt++)_.lineTo(U+y((Tt+1)*lt/q),B+y(Tt*Ft/(q-1))),Tt!=q-1&&_.lineTo(U+y((Tt+1)*lt/q),B+y((Tt+1)*Ft/(q-1)));_.lineTo(et,W)}else _.moveTo(U,B),_.lineTo(Y,X),_.lineTo(et,W);_.clip(),_.transform(J[0],J[2],J[1],J[3],Y,X),_.translate(v[0]-it,v[3]-z),_.scale(i/e,-i/e),_.drawImage(M.canvas,0,0),_.restore()}}),to(M),Nn.push(M.canvas),f&&(_.save(),_.globalCompositeOperation="source-over",_.strokeStyle="black",_.lineWidth=1,h.getTriangles().forEach(function(C,P,D){const k=C.target,R=(k[0][0]-E[0])/o,F=-(k[0][1]-E[1])/o,j=(k[1][0]-E[0])/o,G=-(k[1][1]-E[1])/o,Z=(k[2][0]-E[0])/o,$=-(k[2][1]-E[1])/o;_.beginPath(),_.moveTo(j,G),_.lineTo(R,F),_.lineTo(Z,$),_.closePath(),_.stroke()}),_.restore()),_.canvas}class Wx extends xd{constructor(t,e,i,n,o,a,h,c,d,f,p,_){super(o,nt.IDLE,{interpolate:!!_}),this.renderEdges_=p!==void 0?p:!1,this.pixelRatio_=h,this.gutter_=c,this.canvas_=null,this.sourceTileGrid_=e,this.targetTileGrid_=n,this.wrappedTileCoord_=a||o,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;const y=n.getTileCoordExtent(this.wrappedTileCoord_),v=this.targetTileGrid_.getExtent();let A=this.sourceTileGrid_.getExtent();const b=v?xr(y,v):y;if(Da(b)===0){this.state=nt.EMPTY;return}const M=t.getExtent();M&&(A?A=xr(A,M):A=M);const w=n.getResolution(this.wrappedTileCoord_[0]),E=jx(t,i,b,w);if(!isFinite(E)||E<=0){this.state=nt.EMPTY;return}const C=f!==void 0?f:Fx;if(this.triangulation_=new Gx(t,i,b,A,E*C,w),this.triangulation_.getTriangles().length===0){this.state=nt.EMPTY;return}this.sourceZ_=e.getZForResolution(E);let P=this.triangulation_.calculateSourceExtent();if(A&&(t.canWrapX()?(P[1]=Rt(P[1],A[1],A[3]),P[3]=Rt(P[3],A[1],A[3])):P=xr(P,A)),!Da(P))this.state=nt.EMPTY;else{const D=e.getTileRangeForExtentAndZ(P,this.sourceZ_);for(let k=D.minX;k<=D.maxX;k++)for(let R=D.minY;R<=D.maxY;R++){const F=d(this.sourceZ_,k,R,h);F&&this.sourceTiles_.push(F)}this.sourceTiles_.length===0&&(this.state=nt.EMPTY)}}getImage(){return this.canvas_}reproject_(){const t=[];if(this.sourceTiles_.forEach(e=>{e&&e.getState()==nt.LOADED&&t.push({extent:this.sourceTileGrid_.getTileCoordExtent(e.tileCoord),image:e.getImage()})}),this.sourceTiles_.length=0,t.length===0)this.state=nt.ERROR;else{const e=this.wrappedTileCoord_[0],i=this.targetTileGrid_.getTileSize(e),n=typeof i=="number"?i:i[0],o=typeof i=="number"?i:i[1],a=this.targetTileGrid_.getResolution(e),h=this.sourceTileGrid_.getResolution(this.sourceZ_),c=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=Hx(n,o,this.pixelRatio_,h,this.sourceTileGrid_.getExtent(),a,c,this.triangulation_,t,this.gutter_,this.renderEdges_,this.interpolate),this.state=nt.LOADED}this.changed()}load(){if(this.state==nt.IDLE){this.state=nt.LOADING,this.changed();let t=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(e=>{const i=e.getState();if(i==nt.IDLE||i==nt.LOADING){t++;const n=ft(e,ht.CHANGE,function(o){const a=e.getState();(a==nt.LOADED||a==nt.ERROR||a==nt.EMPTY)&&(Et(n),t--,t===0&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(n)}}),t===0?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function(e,i,n){e.getState()==nt.IDLE&&e.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(Et),this.sourcesListenerKeys_=null}release(){this.canvas_&&(to(this.canvas_.getContext("2d")),Nn.push(this.canvas_),this.canvas_=null),super.release()}}const Il=Wx;class Yx extends xd{constructor(t,e,i,n,o,a){super(t,e,a),this.crossOrigin_=n,this.src_=i,this.key=i,this.image_=new Image,n!==null&&(this.image_.crossOrigin=n),this.unlisten_=null,this.tileLoadFunction_=o}getImage(){return this.image_}setImage(t){this.image_=t,this.state=nt.LOADED,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=nt.ERROR,this.unlistenImage_(),this.image_=Xx(),this.changed()}handleImageLoad_(){const t=this.image_;t.naturalWidth&&t.naturalHeight?this.state=nt.LOADED:this.state=nt.EMPTY,this.unlistenImage_(),this.changed()}load(){this.state==nt.ERROR&&(this.state=nt.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==nt.IDLE&&(this.state=nt.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=Mv(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function Xx(){const r=qt(1,1);return r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1),r.canvas}const Cd=Yx;class Zx{constructor(t){this.highWaterMark=t!==void 0?t:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(t){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(t){return this.entries_.hasOwnProperty(t)}forEach(t){let e=this.oldest_;for(;e;)t(e.value_,e.key_,this),e=e.newer}get(t,e){const i=this.entries_[t];return _t(i!==void 0,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_||(i===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(i.newer.older=i.older,i.older.newer=i.newer),i.newer=null,i.older=this.newest_,this.newest_.newer=i,this.newest_=i),i.value_}remove(t){const e=this.entries_[t];return _t(e!==void 0,"Tried to get a value for a key that does not exist in the cache"),e===this.newest_?(this.newest_=e.older,this.newest_&&(this.newest_.newer=null)):e===this.oldest_?(this.oldest_=e.newer,this.oldest_&&(this.oldest_.older=null)):(e.newer.older=e.older,e.older.newer=e.newer),delete this.entries_[t],--this.count_,e.value_}getCount(){return this.count_}getKeys(){const t=new Array(this.count_);let e=0,i;for(i=this.newest_;i;i=i.older)t[e++]=i.key_;return t}getValues(){const t=new Array(this.count_);let e=0,i;for(i=this.newest_;i;i=i.older)t[e++]=i.value_;return t}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(t){if(this.containsKey(t))return this.entries_[t].value_}pop(){const t=this.oldest_;return delete this.entries_[t.key_],t.newer&&(t.newer.older=null),this.oldest_=t.newer,this.oldest_||(this.newest_=null),--this.count_,t.value_}replace(t,e){this.get(t),this.entries_[t].value_=e}set(t,e){_t(!(t in this.entries_),"Tried to set a value for a key that is used already");const i={key_:t,newer:null,older:this.newest_,value_:e};this.newest_?this.newest_.newer=i:this.oldest_=i,this.newest_=i,this.entries_[t]=i,++this.count_}setSize(t){this.highWaterMark=t}}const Vx=Zx;class Ld{constructor(t,e,i,n){this.minX=t,this.maxX=e,this.minY=i,this.maxY=n}contains(t){return this.containsXY(t[1],t[2])}containsTileRange(t){return this.minX<=t.minX&&t.maxX<=this.maxX&&this.minY<=t.minY&&t.maxY<=this.maxY}containsXY(t,e){return this.minX<=t&&t<=this.maxX&&this.minY<=e&&e<=this.maxY}equals(t){return this.minX==t.minX&&this.minY==t.minY&&this.maxX==t.maxX&&this.maxY==t.maxY}extend(t){t.minX<this.minX&&(this.minX=t.minX),t.maxX>this.maxX&&(this.maxX=t.maxX),t.minY<this.minY&&(this.minY=t.minY),t.maxY>this.maxY&&(this.maxY=t.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(t){return this.minX<=t.maxX&&this.maxX>=t.minX&&this.minY<=t.maxY&&this.maxY>=t.minY}}function Gn(r,t,e,i,n){return n!==void 0?(n.minX=r,n.maxX=t,n.minY=e,n.maxY=i,n):new Ld(r,t,e,i)}const bd=Ld;function Td(r,t,e,i){return i!==void 0?(i[0]=r,i[1]=t,i[2]=e,i):[r,t,e]}function vo(r,t,e){return r+"/"+t+"/"+e}function Md(r){return vo(r[0],r[1],r[2])}function Kx(r){return r.split("/").map(Number)}function Qx(r){return(r[1]<<r[0])+r[2]}function qx(r,t){const e=r[0],i=r[1],n=r[2];if(t.getMinZoom()>e||e>t.getMaxZoom())return!1;const o=t.getFullTileRange(e);return o?o.containsXY(i,n):!0}function Br(r){const t=r.toString();return t.includes(".")?t:t+".0"}function Jx(r){if(r.length<2||r.length>4)throw new Error("`formatArray` can only output `vec2`, `vec3` or `vec4` arrays.");return`vec${r.length}(${r.map(Br).join(", ")})`}function kl(r){const t=Er(r),e=t.length>3?t[3]:1;return Jx([t[0]/255*e,t[1]/255*e,t[2]/255*e,e])}const Ol={};let $x=0;function tA(r){return r in Ol||(Ol[r]=$x++),Ol[r]}function Un(r){return Br(tA(r))}function eA(){return{"fill-color":"rgba(255,255,255,0.4)","stroke-color":"#3399CC","stroke-width":1.25,"circle-radius":5,"circle-fill-color":"rgba(255,255,255,0.4)","circle-stroke-width":1.25,"circle-stroke-color":"#3399CC"}}const jn=`#ifdef GL_FRAGMENT_PRECISION_HIGH
49
51
  precision highp float;
50
52
  #else
51
53
  precision mediump float;
@@ -60,19 +62,11 @@ uniform float u_zoom;
60
62
  uniform float u_resolution;
61
63
  uniform float u_rotation;
62
64
  uniform vec4 u_renderExtent;
63
- uniform vec2 u_patternOrigin;
64
- uniform float u_depth;
65
65
  uniform mediump int u_hitDetection;
66
66
 
67
67
  const float PI = 3.141592653589793238;
68
68
  const float TWO_PI = 2.0 * PI;
69
-
70
- // this used to produce an alpha-premultiplied color from a texture
71
- vec4 samplePremultiplied(sampler2D sampler, vec2 texCoord) {
72
- vec4 color = texture2D(sampler, texCoord);
73
- return vec4(color.rgb * color.a, color.a);
74
- }
75
- `,er=Fx();class zx{constructor(){this.uniforms_=[],this.attributes_=[],this.varyings_=[],this.hasSymbol_=!1,this.symbolSizeExpression_=`vec2(${es(er["circle-radius"])} + ${es(er["circle-stroke-width"]*.5)})`,this.symbolRotationExpression_="0.0",this.symbolOffsetExpression_="vec2(0.0)",this.symbolColorExpression_=nh(er["circle-fill-color"]),this.texCoordExpression_="vec4(0.0, 0.0, 1.0, 1.0)",this.discardExpression_="false",this.symbolRotateWithView_=!1,this.hasStroke_=!1,this.strokeWidthExpression_=es(er["stroke-width"]),this.strokeColorExpression_=nh(er["stroke-color"]),this.strokeOffsetExpression_="0.",this.strokeCapExpression_=$n("round"),this.strokeJoinExpression_=$n("round"),this.strokeMiterLimitExpression_="10.",this.strokeDistanceFieldExpression_="-1000.",this.hasFill_=!1,this.fillColorExpression_=nh(er["fill-color"]),this.vertexShaderFunctions_=[],this.fragmentShaderFunctions_=[]}addUniform(t){return this.uniforms_.push(t),this}addAttribute(t){return this.attributes_.push(t),this}addVarying(t,e,i){return this.varyings_.push({name:t,type:e,expression:i}),this}setSymbolSizeExpression(t){return this.hasSymbol_=!0,this.symbolSizeExpression_=t,this}getSymbolSizeExpression(){return this.symbolSizeExpression_}setSymbolRotationExpression(t){return this.symbolRotationExpression_=t,this}setSymbolOffsetExpression(t){return this.symbolOffsetExpression_=t,this}getSymbolOffsetExpression(){return this.symbolOffsetExpression_}setSymbolColorExpression(t){return this.hasSymbol_=!0,this.symbolColorExpression_=t,this}getSymbolColorExpression(){return this.symbolColorExpression_}setTextureCoordinateExpression(t){return this.texCoordExpression_=t,this}setFragmentDiscardExpression(t){return this.discardExpression_=t,this}getFragmentDiscardExpression(){return this.discardExpression_}setSymbolRotateWithView(t){return this.symbolRotateWithView_=t,this}setStrokeWidthExpression(t){return this.hasStroke_=!0,this.strokeWidthExpression_=t,this}setStrokeColorExpression(t){return this.hasStroke_=!0,this.strokeColorExpression_=t,this}getStrokeColorExpression(){return this.strokeColorExpression_}setStrokeOffsetExpression(t){return this.strokeOffsetExpression_=t,this}setStrokeCapExpression(t){return this.strokeCapExpression_=t,this}setStrokeJoinExpression(t){return this.strokeJoinExpression_=t,this}setStrokeMiterLimitExpression(t){return this.strokeMiterLimitExpression_=t,this}setStrokeDistanceFieldExpression(t){return this.strokeDistanceFieldExpression_=t,this}setFillColorExpression(t){return this.hasFill_=!0,this.fillColorExpression_=t,this}getFillColorExpression(){return this.fillColorExpression_}addVertexShaderFunction(t){this.vertexShaderFunctions_.includes(t)||this.vertexShaderFunctions_.push(t)}addFragmentShaderFunction(t){this.fragmentShaderFunctions_.includes(t)||this.fragmentShaderFunctions_.push(t)}getSymbolVertexShader(){return this.hasSymbol_?`${tr}
69
+ `,Hn=eA();class iA{constructor(){this.uniforms_=[],this.attributes_=[],this.varyings_=[],this.hasSymbol_=!1,this.symbolSizeExpression_=`vec2(${Br(Hn["circle-radius"])} + ${Br(Hn["circle-stroke-width"]*.5)})`,this.symbolRotationExpression_="0.0",this.symbolOffsetExpression_="vec2(0.0)",this.symbolColorExpression_=kl(Hn["circle-fill-color"]),this.texCoordExpression_="vec4(0.0, 0.0, 1.0, 1.0)",this.discardExpression_="false",this.symbolRotateWithView_=!1,this.hasStroke_=!1,this.strokeWidthExpression_=Br(Hn["stroke-width"]),this.strokeColorExpression_=kl(Hn["stroke-color"]),this.strokeOffsetExpression_="0.",this.strokeCapExpression_=Un("round"),this.strokeJoinExpression_=Un("round"),this.strokeMiterLimitExpression_="10.",this.strokeDistanceFieldExpression_="-1000.",this.hasFill_=!1,this.fillColorExpression_=kl(Hn["fill-color"]),this.vertexShaderFunctions_=[],this.fragmentShaderFunctions_=[]}addUniform(t){return this.uniforms_.push(t),this}addAttribute(t){return this.attributes_.push(t),this}addVarying(t,e,i){return this.varyings_.push({name:t,type:e,expression:i}),this}setSymbolSizeExpression(t){return this.hasSymbol_=!0,this.symbolSizeExpression_=t,this}getSymbolSizeExpression(){return this.symbolSizeExpression_}setSymbolRotationExpression(t){return this.symbolRotationExpression_=t,this}setSymbolOffsetExpression(t){return this.symbolOffsetExpression_=t,this}getSymbolOffsetExpression(){return this.symbolOffsetExpression_}setSymbolColorExpression(t){return this.hasSymbol_=!0,this.symbolColorExpression_=t,this}getSymbolColorExpression(){return this.symbolColorExpression_}setTextureCoordinateExpression(t){return this.texCoordExpression_=t,this}setFragmentDiscardExpression(t){return this.discardExpression_=t,this}setSymbolRotateWithView(t){return this.symbolRotateWithView_=t,this}setStrokeWidthExpression(t){return this.hasStroke_=!0,this.strokeWidthExpression_=t,this}setStrokeColorExpression(t){return this.hasStroke_=!0,this.strokeColorExpression_=t,this}setStrokeOffsetExpression(t){return this.strokeOffsetExpression_=t,this}setStrokeCapExpression(t){return this.strokeCapExpression_=t,this}setStrokeJoinExpression(t){return this.strokeJoinExpression_=t,this}setStrokeMiterLimitExpression(t){return this.strokeMiterLimitExpression_=t,this}setStrokeDistanceFieldExpression(t){return this.strokeDistanceFieldExpression_=t,this}setFillColorExpression(t){return this.hasFill_=!0,this.fillColorExpression_=t,this}addVertexShaderFunction(t){this.vertexShaderFunctions_.includes(t)||this.vertexShaderFunctions_.push(t)}addFragmentShaderFunction(t){this.fragmentShaderFunctions_.includes(t)||this.fragmentShaderFunctions_.push(t)}getSymbolVertexShader(){return this.hasSymbol_?`${jn}
76
70
  ${this.uniforms_.map(function(t){return"uniform "+t+";"}).join(`
77
71
  `)}
78
72
  attribute vec2 a_position;
@@ -92,6 +86,7 @@ ${this.vertexShaderFunctions_.join(`
92
86
  `)}
93
87
  vec2 pxToScreen(vec2 coordPx) {
94
88
  vec2 scaled = coordPx / u_viewportSizePx / 0.5;
89
+ ${this.symbolRotateWithView_?"scaled = vec2(scaled.x * cos(-u_rotation) - scaled.y * sin(-u_rotation), scaled.x * sin(-u_rotation) + scaled.y * cos(-u_rotation));":""}
95
90
  return scaled;
96
91
  }
97
92
 
@@ -114,25 +109,25 @@ void main(void) {
114
109
  offsetPx += halfSizePx * vec2(-1., 1.);
115
110
  }
116
111
  float angle = ${this.symbolRotationExpression_};
117
- ${this.symbolRotateWithView_?"angle += u_rotation;":""}
118
112
  float c = cos(-angle);
119
113
  float s = sin(-angle);
120
114
  offsetPx = vec2(c * offsetPx.x - s * offsetPx.y, s * offsetPx.x + c * offsetPx.y);
121
115
  vec4 center = u_projectionMatrix * vec4(a_position, 0.0, 1.0);
122
- gl_Position = center + vec4(pxToScreen(offsetPx), u_depth, 0.);
116
+ gl_Position = center + vec4(pxToScreen(offsetPx), 0., 0.);
123
117
  vec4 texCoord = ${this.texCoordExpression_};
124
118
  float u = a_index == 0.0 || a_index == 3.0 ? texCoord.s : texCoord.p;
125
119
  float v = a_index == 2.0 || a_index == 3.0 ? texCoord.t : texCoord.q;
126
120
  v_texCoord = vec2(u, v);
127
121
  v_hitColor = a_hitColor;
128
122
  v_angle = angle;
123
+ ${this.symbolRotateWithView_?"v_angle += u_rotation;":""}
129
124
  c = cos(-v_angle);
130
125
  s = sin(-v_angle);
131
126
  centerOffsetPx = vec2(c * centerOffsetPx.x - s * centerOffsetPx.y, s * centerOffsetPx.x + c * centerOffsetPx.y);
132
127
  v_centerPx = screenToPx(center.xy) + centerOffsetPx;
133
128
  ${this.varyings_.map(function(t){return" "+t.name+" = "+t.expression+";"}).join(`
134
129
  `)}
135
- }`:null}getSymbolFragmentShader(){return this.hasSymbol_?`${tr}
130
+ }`:null}getSymbolFragmentShader(){return this.hasSymbol_?`${jn}
136
131
  ${this.uniforms_.map(function(t){return"uniform "+t+";"}).join(`
137
132
  `)}
138
133
  varying vec2 v_texCoord;
@@ -156,7 +151,7 @@ void main(void) {
156
151
  if (gl_FragColor.a < 0.05) { discard; };
157
152
  gl_FragColor = v_hitColor;
158
153
  }
159
- }`:null}getStrokeVertexShader(){return this.hasStroke_?`${tr}
154
+ }`:null}getStrokeVertexShader(){return this.hasStroke_?`${jn}
160
155
  ${this.uniforms_.map(function(t){return"uniform "+t+";"}).join(`
161
156
  `)}
162
157
  attribute vec2 a_position;
@@ -187,7 +182,7 @@ vec2 worldToPx(vec2 worldPos) {
187
182
 
188
183
  vec4 pxToScreen(vec2 pxPos) {
189
184
  vec2 screenPos = 2.0 * pxPos / u_viewportSizePx - 1.0;
190
- return vec4(screenPos, u_depth, 1.0);
185
+ return vec4(screenPos, 0.0, 1.0);
191
186
  }
192
187
 
193
188
  bool isCap(float joinAngle) {
@@ -215,9 +210,7 @@ vec2 getOffsetPoint(vec2 point, vec2 normal, float joinAngle, float offsetPx) {
215
210
  void main(void) {
216
211
  v_angleStart = a_joinAngles.x;
217
212
  v_angleEnd = a_joinAngles.y;
218
- float vertexNumber = floor(abs(a_parameters) / 10000. + 0.5);
219
- // we're reading the fractional part while keeping the sign (so -4.12 gives -0.12, 3.45 gives 0.45)
220
- float angleTangentSum = fract(abs(a_parameters) / 10000.) * 10000. * sign(a_parameters);
213
+ float vertexNumber = a_parameters;
221
214
 
222
215
  float lineWidth = ${this.strokeWidthExpression_};
223
216
  float lineOffsetPx = ${this.strokeOffsetExpression_};
@@ -237,7 +230,7 @@ void main(void) {
237
230
  vec2 joinDirection;
238
231
  vec2 positionPx = vertexNumber < 1.5 ? segmentStartPx : segmentEndPx;
239
232
  // if angle is too high, do not make a proper join
240
- if (cos(angle) > ${Xd} || isCap(angle)) {
233
+ if (cos(angle) > 0.985 || isCap(angle)) {
241
234
  joinDirection = normalPx * normalDir - tangentPx * tangentDir;
242
235
  } else {
243
236
  joinDirection = getJoinOffsetDirection(normalPx * normalDir, angle);
@@ -249,10 +242,10 @@ void main(void) {
249
242
  v_segmentEnd = segmentEndPx;
250
243
  v_width = lineWidth;
251
244
  v_hitColor = a_hitColor;
252
- v_distanceOffsetPx = a_distance / u_resolution - (lineOffsetPx * angleTangentSum);
245
+ v_distanceOffsetPx = a_distance / u_resolution;
253
246
  ${this.varyings_.map(function(t){return" "+t.name+" = "+t.expression+";"}).join(`
254
247
  `)}
255
- }`:null}getStrokeFragmentShader(){return this.hasStroke_?`${tr}
248
+ }`:null}getStrokeFragmentShader(){return this.hasStroke_?`${jn}
256
249
  ${this.uniforms_.map(function(t){return"uniform "+t+";"}).join(`
257
250
  `)}
258
251
  varying vec2 v_segmentStart;
@@ -314,7 +307,7 @@ float bevelJoinField(vec2 point, vec2 start, vec2 end, float width, float joinAn
314
307
  }
315
308
 
316
309
  float miterJoinDistanceField(vec2 point, vec2 start, vec2 end, float width, float joinAngle) {
317
- if (cos(joinAngle) > ${Xd}) { // avoid risking a division by zero
310
+ if (cos(joinAngle) > 0.985) { // avoid risking a division by zero
318
311
  return bevelJoinField(point, start, end, width, joinAngle);
319
312
  }
320
313
  float miterLength = 1. / sin(joinAngle * 0.5);
@@ -326,18 +319,18 @@ float miterJoinDistanceField(vec2 point, vec2 start, vec2 end, float width, floa
326
319
  }
327
320
 
328
321
  float capDistanceField(vec2 point, vec2 start, vec2 end, float width, float capType) {
329
- if (capType == ${$n("butt")}) {
322
+ if (capType == ${Un("butt")}) {
330
323
  return buttCapDistanceField(point, start, end);
331
- } else if (capType == ${$n("square")}) {
324
+ } else if (capType == ${Un("square")}) {
332
325
  return squareCapDistanceField(point, start, end, width);
333
326
  }
334
327
  return roundCapDistanceField(point, start, end, width);
335
328
  }
336
329
 
337
330
  float joinDistanceField(vec2 point, vec2 start, vec2 end, float width, float joinAngle, float joinType) {
338
- if (joinType == ${$n("bevel")}) {
331
+ if (joinType == ${Un("bevel")}) {
339
332
  return bevelJoinField(point, start, end, width, joinAngle);
340
- } else if (joinType == ${$n("miter")}) {
333
+ } else if (joinType == ${Un("miter")}) {
341
334
  return miterJoinDistanceField(point, start, end, width, joinAngle);
342
335
  }
343
336
  return roundJoinDistanceField(point, start, end, width);
@@ -353,13 +346,13 @@ float computeSegmentPointDistance(vec2 point, vec2 start, vec2 end, float width,
353
346
  void main(void) {
354
347
  vec2 currentPoint = gl_FragCoord.xy / u_pixelRatio;
355
348
  #ifdef GL_FRAGMENT_PRECISION_HIGH
356
- vec2 worldPos = pxToWorld(currentPoint);
349
+ vec2 v_worldPos = pxToWorld(currentPoint);
357
350
  if (
358
351
  abs(u_renderExtent[0] - u_renderExtent[2]) > 0.0 && (
359
- worldPos[0] < u_renderExtent[0] ||
360
- worldPos[1] < u_renderExtent[1] ||
361
- worldPos[0] > u_renderExtent[2] ||
362
- worldPos[1] > u_renderExtent[3]
352
+ v_worldPos[0] < u_renderExtent[0] ||
353
+ v_worldPos[1] < u_renderExtent[1] ||
354
+ v_worldPos[0] > u_renderExtent[2] ||
355
+ v_worldPos[1] > u_renderExtent[3]
363
356
  )
364
357
  ) {
365
358
  discard;
@@ -373,7 +366,6 @@ void main(void) {
373
366
  vec2 startToPoint = currentPoint - v_segmentStart;
374
367
  float currentLengthPx = max(0., min(dot(segmentTangent, startToPoint), segmentLength)) + v_distanceOffsetPx;
375
368
  float currentRadiusPx = abs(dot(segmentNormal, startToPoint));
376
- float currentRadiusRatio = dot(segmentNormal, startToPoint) * 2. / v_width;
377
369
  vec4 color = ${this.strokeColorExpression_} * u_globalAlpha;
378
370
  float capType = ${this.strokeCapExpression_};
379
371
  float joinType = ${this.strokeJoinExpression_};
@@ -389,7 +381,7 @@ void main(void) {
389
381
  if (gl_FragColor.a < 0.1) { discard; };
390
382
  gl_FragColor = v_hitColor;
391
383
  }
392
- }`:null}getFillVertexShader(){return this.hasFill_?`${tr}
384
+ }`:null}getFillVertexShader(){return this.hasFill_?`${jn}
393
385
  ${this.uniforms_.map(function(t){return"uniform "+t+";"}).join(`
394
386
  `)}
395
387
  attribute vec2 a_position;
@@ -402,11 +394,10 @@ ${this.varyings_.map(function(t){return"varying "+t.type+" "+t.name+";"}).join(`
402
394
  ${this.vertexShaderFunctions_.join(`
403
395
  `)}
404
396
  void main(void) {
405
- gl_Position = u_projectionMatrix * vec4(a_position, u_depth, 1.0);
406
- v_hitColor = a_hitColor;
397
+ gl_Position = u_projectionMatrix * vec4(a_position, 0.0, 1.0);
407
398
  ${this.varyings_.map(function(t){return" "+t.name+" = "+t.expression+";"}).join(`
408
399
  `)}
409
- }`:null}getFillFragmentShader(){return this.hasFill_?`${tr}
400
+ }`:null}getFillFragmentShader(){return this.hasFill_?`${jn}
410
401
  ${this.uniforms_.map(function(t){return"uniform "+t+";"}).join(`
411
402
  `)}
412
403
  varying vec4 v_hitColor;
@@ -419,22 +410,15 @@ vec2 pxToWorld(vec2 pxPos) {
419
410
  return (u_screenToWorldMatrix * vec4(screenPos, 0.0, 1.0)).xy;
420
411
  }
421
412
 
422
- vec2 worldToPx(vec2 worldPos) {
423
- vec4 screenPos = u_projectionMatrix * vec4(worldPos, 0.0, 1.0);
424
- return (0.5 * screenPos.xy + 0.5) * u_viewportSizePx;
425
- }
426
-
427
413
  void main(void) {
428
- vec2 pxPos = gl_FragCoord.xy / u_pixelRatio;
429
- vec2 pxOrigin = worldToPx(u_patternOrigin);
430
414
  #ifdef GL_FRAGMENT_PRECISION_HIGH
431
- vec2 worldPos = pxToWorld(pxPos);
415
+ vec2 v_worldPos = pxToWorld(gl_FragCoord.xy / u_pixelRatio);
432
416
  if (
433
417
  abs(u_renderExtent[0] - u_renderExtent[2]) > 0.0 && (
434
- worldPos[0] < u_renderExtent[0] ||
435
- worldPos[1] < u_renderExtent[1] ||
436
- worldPos[0] > u_renderExtent[2] ||
437
- worldPos[1] > u_renderExtent[3]
418
+ v_worldPos[0] < u_renderExtent[0] ||
419
+ v_worldPos[1] < u_renderExtent[1] ||
420
+ v_worldPos[0] > u_renderExtent[2] ||
421
+ v_worldPos[1] > u_renderExtent[3]
438
422
  )
439
423
  ) {
440
424
  discard;
@@ -446,7 +430,7 @@ void main(void) {
446
430
  if (gl_FragColor.a < 0.1) { discard; };
447
431
  gl_FragColor = v_hitColor;
448
432
  }
449
- }`:null}}const Oe={BLUR:"blur",GRADIENT:"gradient",RADIUS:"radius"},Bx=["#00f","#0ff","#0f0","#ff0","#f00"];class Nx extends Vl{constructor(t){t=t||{};const e=Object.assign({},t);delete e.gradient,delete e.radius,delete e.blur,delete e.weight,super(e),this.gradient_=null,this.addChangeListener(Oe.GRADIENT,this.handleGradientChanged_),this.setGradient(t.gradient?t.gradient:Bx),this.setBlur(t.blur!==void 0?t.blur:15),this.setRadius(t.radius!==void 0?t.radius:8);const i=t.weight?t.weight:"weight";typeof i=="string"?this.weightFunction_=function(n){return n.get(i)}:this.weightFunction_=i,this.setRenderOrder(null)}getBlur(){return this.get(Oe.BLUR)}getGradient(){return this.get(Oe.GRADIENT)}getRadius(){return this.get(Oe.RADIUS)}handleGradientChanged_(){this.gradient_=Gx(this.getGradient())}setBlur(t){this.set(Oe.BLUR,t)}setGradient(t){this.set(Oe.GRADIENT,t)}setRadius(t){this.set(Oe.RADIUS,t)}createRenderer(){const t=new zx().addAttribute("float a_prop_weight").addVarying("v_prop_weight","float","a_prop_weight").addUniform("float u_size").addUniform("float u_blurSlope").setSymbolSizeExpression("vec2(u_size)").setSymbolColorExpression("vec4(smoothstep(0., 1., (1. - length(coordsPx * 2. / v_quadSizePx)) * u_blurSlope) * v_prop_weight)");return new mx(this,{className:this.getClassName(),attributes:[{name:"weight",callback:e=>{const i=this.weightFunction_(e);return i!==void 0?kt(i,0,1):1}}],uniforms:{u_size:()=>(this.get(Oe.RADIUS)+this.get(Oe.BLUR))*2,u_blurSlope:()=>this.get(Oe.RADIUS)/Math.max(1,this.get(Oe.BLUR))},hitDetectionEnabled:!0,vertexShader:t.getSymbolVertexShader(),fragmentShader:t.getSymbolFragmentShader(),postProcesses:[{fragmentShader:`
433
+ }`:null}}const Te={BLUR:"blur",GRADIENT:"gradient",RADIUS:"radius"},nA=["#00f","#0ff","#0f0","#ff0","#f00"];class rA extends Ll{constructor(t){t=t||{};const e=Object.assign({},t);delete e.gradient,delete e.radius,delete e.blur,delete e.weight,super(e),this.gradient_=null,this.addChangeListener(Te.GRADIENT,this.handleGradientChanged_),this.setGradient(t.gradient?t.gradient:nA),this.setBlur(t.blur!==void 0?t.blur:15),this.setRadius(t.radius!==void 0?t.radius:8);const i=t.weight?t.weight:"weight";typeof i=="string"?this.weightFunction_=function(n){return n.get(i)}:this.weightFunction_=i,this.setRenderOrder(null)}getBlur(){return this.get(Te.BLUR)}getGradient(){return this.get(Te.GRADIENT)}getRadius(){return this.get(Te.RADIUS)}handleGradientChanged_(){this.gradient_=sA(this.getGradient())}setBlur(t){this.set(Te.BLUR,t)}setGradient(t){this.set(Te.GRADIENT,t)}setRadius(t){this.set(Te.RADIUS,t)}createRenderer(){const t=new iA().addAttribute("float a_weight").addVarying("v_weight","float","a_weight").addUniform("float u_size").addUniform("float u_blurSlope").setSymbolSizeExpression("vec2(u_size)").setSymbolColorExpression("vec4(smoothstep(0., 1., (1. - length(coordsPx * 2. / v_quadSizePx)) * u_blurSlope) * v_weight)");return new Ox(this,{className:this.getClassName(),attributes:[{name:"weight",callback:e=>{const i=this.weightFunction_(e);return i!==void 0?Rt(i,0,1):1}}],uniforms:{u_size:()=>(this.get(Te.RADIUS)+this.get(Te.BLUR))*2,u_blurSlope:()=>this.get(Te.RADIUS)/Math.max(1,this.get(Te.BLUR))},hitDetectionEnabled:!0,vertexShader:t.getSymbolVertexShader(),fragmentShader:t.getSymbolFragmentShader(),postProcesses:[{fragmentShader:`
450
434
  precision mediump float;
451
435
 
452
436
  uniform sampler2D u_image;
@@ -460,8 +444,8 @@ void main(void) {
460
444
  gl_FragColor.a = color.a * u_opacity;
461
445
  gl_FragColor.rgb = texture2D(u_gradientTexture, vec2(0.5, color.a)).rgb;
462
446
  gl_FragColor.rgb *= gl_FragColor.a;
463
- }`,uniforms:{u_gradientTexture:()=>this.gradient_,u_opacity:()=>this.getOpacity()}}]})}renderDeclutter(){}}function Gx(r){const i=ee(1,256),n=i.createLinearGradient(0,0,1,256),s=1/(r.length-1);for(let a=0,h=r.length;a<h;++a)n.addColorStop(a*s,r[a]);return i.fillStyle=n,i.fillRect(0,0,1,256),i.canvas}const Ux=Nx;class jx extends Px{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(t){for(;this.canExpireCache()&&!(this.peekLast().getKey()in t);)this.pop().release()}pruneExceptNewestZ(){if(this.getCount()===0)return;const t=this.peekFirstKey(),i=Dx(t)[0];this.forEach(n=>{n.tileCoord[0]!==i&&(this.remove(nf(n.tileCoord)),n.release())})}}const rf=jx,sh={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"};class Hx extends Ie{constructor(t){super(),this.projection=zt(t.projection),this.attributions_=sf(t.attributions),this.attributionsCollapsible_=t.attributionsCollapsible!==void 0?t.attributionsCollapsible:!0,this.loading=!1,this.state_=t.state!==void 0?t.state:"ready",this.wrapX_=t.wrapX!==void 0?t.wrapX:!1,this.interpolate_=!!t.interpolate,this.viewResolver=null,this.viewRejector=null;const e=this;this.viewPromise_=new Promise(function(i,n){e.viewResolver=i,e.viewRejector=n})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(t){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(t){this.attributions_=sf(t),this.changed()}setState(t){this.state_=t,this.changed()}}function sf(r){return r?Array.isArray(r)?function(t){return r}:typeof r=="function"?r:function(t){return[r]}:null}const of=Hx,ir=[0,0,0],ji=5;class Wx{constructor(t){this.minZoom=t.minZoom!==void 0?t.minZoom:0,this.resolutions_=t.resolutions,vt(s_(this.resolutions_,(n,s)=>s-n,!0),"`resolutions` must be sorted in descending order");let e;if(!t.origins){for(let n=0,s=this.resolutions_.length-1;n<s;++n)if(!e)e=this.resolutions_[n]/this.resolutions_[n+1];else if(this.resolutions_[n]/this.resolutions_[n+1]!==e){e=void 0;break}}this.zoomFactor_=e,this.maxZoom=this.resolutions_.length-1,this.origin_=t.origin!==void 0?t.origin:null,this.origins_=null,t.origins!==void 0&&(this.origins_=t.origins,vt(this.origins_.length==this.resolutions_.length,"Number of `origins` and `resolutions` must be equal"));const i=t.extent;i!==void 0&&!this.origin_&&!this.origins_&&(this.origin_=cn(i)),vt(!this.origin_&&this.origins_||this.origin_&&!this.origins_,"Either `origin` or `origins` must be configured, never both"),this.tileSizes_=null,t.tileSizes!==void 0&&(this.tileSizes_=t.tileSizes,vt(this.tileSizes_.length==this.resolutions_.length,"Number of `tileSizes` and `resolutions` must be equal")),this.tileSize_=t.tileSize!==void 0?t.tileSize:this.tileSizes_?null:Ua,vt(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,"Either `tileSize` or `tileSizes` must be configured, never both"),this.extent_=i!==void 0?i:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],this.tmpExtent_=[0,0,0,0],t.sizes!==void 0?this.fullTileRanges_=t.sizes.map((n,s)=>{const a=new tf(Math.min(0,n[0]),Math.max(n[0]-1,-1),Math.min(0,n[1]),Math.max(n[1]-1,-1));if(i){const h=this.getTileRangeForExtentAndZ(i,s);a.minX=Math.max(h.minX,a.minX),a.maxX=Math.min(h.maxX,a.maxX),a.minY=Math.max(h.minY,a.minY),a.maxY=Math.min(h.maxY,a.maxY)}return a}):i&&this.calculateTileRanges_(i)}forEachTileCoord(t,e,i){const n=this.getTileRangeForExtentAndZ(t,e);for(let s=n.minX,a=n.maxX;s<=a;++s)for(let h=n.minY,c=n.maxY;h<=c;++h)i([e,s,h])}forEachTileCoordParentTileRange(t,e,i,n){let s,a,h,c=null,d=t[0]-1;for(this.zoomFactor_===2?(a=t[1],h=t[2]):c=this.getTileCoordExtent(t,n);d>=this.minZoom;){if(a!==void 0&&h!==void 0?(a=Math.floor(a/2),h=Math.floor(h/2),s=Jn(a,a,h,h,i)):s=this.getTileRangeForExtentAndZ(c,d,i),e(d,s))return!0;--d}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,e,i){if(t[0]<this.maxZoom){if(this.zoomFactor_===2){const s=t[1]*2,a=t[2]*2;return Jn(s,s+1,a,a+1,e)}const n=this.getTileCoordExtent(t,i||this.tmpExtent_);return this.getTileRangeForExtentAndZ(n,t[0]+1,e)}return null}getTileRangeForTileCoordAndZ(t,e,i){if(e>this.maxZoom||e<this.minZoom)return null;const n=t[0],s=t[1],a=t[2];if(e===n)return Jn(s,a,s,a,i);if(this.zoomFactor_){const c=Math.pow(this.zoomFactor_,e-n),d=Math.floor(s*c),f=Math.floor(a*c);if(e<n)return Jn(d,d,f,f,i);const p=Math.floor(c*(s+1))-1,m=Math.floor(c*(a+1))-1;return Jn(d,p,f,m,i)}const h=this.getTileCoordExtent(t,this.tmpExtent_);return this.getTileRangeForExtentAndZ(h,e,i)}getTileRangeForExtentAndZ(t,e,i){this.getTileCoordForXYAndZ_(t[0],t[3],e,!1,ir);const n=ir[1],s=ir[2];this.getTileCoordForXYAndZ_(t[2],t[1],e,!0,ir);const a=ir[1],h=ir[2];return Jn(n,a,s,h,i)}getTileCoordCenter(t){const e=this.getOrigin(t[0]),i=this.getResolution(t[0]),n=Ee(this.getTileSize(t[0]),this.tmpSize_);return[e[0]+(t[1]+.5)*n[0]*i,e[1]-(t[2]+.5)*n[1]*i]}getTileCoordExtent(t,e){const i=this.getOrigin(t[0]),n=this.getResolution(t[0]),s=Ee(this.getTileSize(t[0]),this.tmpSize_),a=i[0]+t[1]*s[0]*n,h=i[1]-(t[2]+1)*s[1]*n,c=a+s[0]*n,d=h+s[1]*n;return Di(a,h,c,d,e)}getTileCoordForCoordAndResolution(t,e,i){return this.getTileCoordForXYAndResolution_(t[0],t[1],e,!1,i)}getTileCoordForXYAndResolution_(t,e,i,n,s){const a=this.getZForResolution(i),h=i/this.getResolution(a),c=this.getOrigin(a),d=Ee(this.getTileSize(a),this.tmpSize_);let f=h*(t-c[0])/i/d[0],p=h*(c[1]-e)/i/d[1];return n?(f=io(f,ji)-1,p=io(p,ji)-1):(f=eo(f,ji),p=eo(p,ji)),ef(a,f,p,s)}getTileCoordForXYAndZ_(t,e,i,n,s){const a=this.getOrigin(i),h=this.getResolution(i),c=Ee(this.getTileSize(i),this.tmpSize_);let d=(t-a[0])/h/c[0],f=(a[1]-e)/h/c[1];return n?(d=io(d,ji)-1,f=io(f,ji)-1):(d=eo(d,ji),f=eo(f,ji)),ef(i,d,f,s)}getTileCoordForCoordAndZ(t,e,i){return this.getTileCoordForXYAndZ_(t[0],t[1],e,!1,i)}getTileCoordResolution(t){return this.resolutions_[t[0]]}getTileSize(t){return this.tileSize_?this.tileSize_:this.tileSizes_[t]}getFullTileRange(t){return this.fullTileRanges_?this.fullTileRanges_[t]:this.extent_?this.getTileRangeForExtentAndZ(this.extent_,t):null}getZForResolution(t,e){const i=Ga(this.resolutions_,t,e||0);return kt(i,this.minZoom,this.maxZoom)}tileCoordIntersectsViewport(t,e){return Bu(e,0,e.length,2,this.getTileCoordExtent(t))}calculateTileRanges_(t){const e=this.resolutions_.length,i=new Array(e);for(let n=this.minZoom;n<e;++n)i[n]=this.getTileRangeForExtentAndZ(t,n);this.fullTileRanges_=i}}const af=Wx;function lf(r){let t=r.getDefaultTileGrid();return t||(t=Vx(r),r.setDefaultTileGrid(t)),t}function Yx(r,t,e){const i=t[0],n=r.getTileCoordCenter(t),s=oh(e);if(!Ks(s,n)){const a=Tt(s),h=Math.ceil((s[0]-n[0])/a);return n[0]+=a*h,r.getTileCoordForCoordAndZ(n,i)}return t}function Zx(r,t,e,i){i=i!==void 0?i:"top-left";const n=hf(r,t,e);return new af({extent:r,origin:w_(r,i),resolutions:n,tileSize:e})}function Xx(r){const t=r||{},e=t.extent||zt("EPSG:3857").getExtent(),i={extent:e,minZoom:t.minZoom,tileSize:t.tileSize,resolutions:hf(e,t.maxZoom,t.tileSize,t.maxResolution)};return new af(i)}function hf(r,t,e,i){t=t!==void 0?t:c_,e=Ee(e!==void 0?e:Ua);const n=Ae(r),s=Tt(r);i=i>0?i:Math.max(s/e[0],n/e[1]);const a=t+1,h=new Array(a);for(let c=0;c<a;++c)h[c]=i/Math.pow(2,c);return h}function Vx(r,t,e,i){const n=oh(r);return Zx(n,t,e,i)}function oh(r){r=zt(r);let t=r.getExtent();if(!t){const e=180*br.degrees/r.getMetersPerUnit();t=Di(-e,-e,e,e)}return t}class Kx extends of{constructor(t){super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,projection:t.projection,state:t.state,wrapX:t.wrapX,interpolate:t.interpolate}),this.on,this.once,this.un,this.opaque_=t.opaque!==void 0?t.opaque:!1,this.tilePixelRatio_=t.tilePixelRatio!==void 0?t.tilePixelRatio:1,this.tileGrid=t.tileGrid!==void 0?t.tileGrid:null;const e=[256,256];this.tileGrid&&Ee(this.tileGrid.getTileSize(this.tileGrid.getMinZoom()),e),this.tileCache=new rf(t.cacheSize||0),this.tmpSize=[0,0],this.key_=t.key||"",this.tileOptions={transition:t.transition,interpolate:t.interpolate},this.zDirection=t.zDirection?t.zDirection:0}canExpireCache(){return this.tileCache.canExpireCache()}expireCache(t,e){const i=this.getTileCacheForProjection(t);i&&i.expireCache(e)}forEachLoadedTile(t,e,i,n){const s=this.getTileCacheForProjection(t);if(!s)return!1;let a=!0,h,c,d;for(let f=i.minX;f<=i.maxX;++f)for(let p=i.minY;p<=i.maxY;++p)c=zo(e,f,p),d=!1,s.containsKey(c)&&(h=s.get(c),d=h.getState()===it.LOADED,d&&(d=n(h)!==!1)),d||(a=!1);return a}getGutterForProjection(t){return 0}getKey(){return this.key_}setKey(t){this.key_!==t&&(this.key_=t,this.changed())}getOpaque(t){return this.opaque_}getResolutions(t){const e=t?this.getTileGridForProjection(t):this.tileGrid;return e?e.getResolutions():null}getTile(t,e,i,n,s){return lt()}getTileGrid(){return this.tileGrid}getTileGridForProjection(t){return this.tileGrid?this.tileGrid:lf(t)}getTileCacheForProjection(t){const e=this.getProjection();return vt(e===null||dn(e,t),"A VectorTile source can only be rendered if it has a projection compatible with the view projection."),this.tileCache}getTilePixelRatio(t){return this.tilePixelRatio_}getTilePixelSize(t,e,i){const n=this.getTileGridForProjection(i),s=this.getTilePixelRatio(e),a=Ee(n.getTileSize(t),this.tmpSize);return s==1?a:Gv(a,s,this.tmpSize)}getTileCoordForTileUrlFunction(t,e){e=e!==void 0?e:this.getProjection();const i=this.getTileGridForProjection(e);return this.getWrapX()&&e.isGlobal()&&(t=Yx(i,t,e)),Sx(t,i)?t:null}clear(){this.tileCache.clear()}refresh(){this.clear(),super.refresh()}updateCacheSize(t,e){const i=this.getTileCacheForProjection(e);t>i.highWaterMark&&(i.highWaterMark=t)}useTile(t,e,i,n){}}class Qx extends ai{constructor(t,e){super(t),this.tile=e}}const qx=Kx;function Jx(r,t){const e=/\{z\}/g,i=/\{x\}/g,n=/\{y\}/g,s=/\{-y\}/g;return function(a,h,c){if(a)return r.replace(e,a[0].toString()).replace(i,a[1].toString()).replace(n,a[2].toString()).replace(s,function(){const d=a[0],f=t.getFullTileRange(d);if(!f)throw new Error("The {-y} placeholder requires a tile grid with extent");return(f.getHeight()-a[2]-1).toString()})}}function $x(r,t){const e=r.length,i=new Array(e);for(let n=0;n<e;++n)i[n]=Jx(r[n],t);return tA(i)}function tA(r){return r.length===1?r[0]:function(t,e,i){if(!t)return;const n=Ix(t),s=Nn(n,r.length);return r[s](t,e,i)}}function eA(r){const t=[];let e=/\{([a-z])-([a-z])\}/.exec(r);if(e){const i=e[1].charCodeAt(0),n=e[2].charCodeAt(0);let s;for(s=i;s<=n;++s)t.push(r.replace(e[0],String.fromCharCode(s)));return t}if(e=/\{(\d+)-(\d+)\}/.exec(r),e){const i=parseInt(e[2],10);for(let n=parseInt(e[1],10);n<=i;n++)t.push(r.replace(e[0],n.toString()));return t}return t.push(r),t}class ah extends qx{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.generateTileUrlFunction_=this.tileUrlFunction===ah.prototype.tileUrlFunction,this.tileLoadFunction=t.tileLoadFunction,t.tileUrlFunction&&(this.tileUrlFunction=t.tileUrlFunction),this.urls=null,t.urls?this.setUrls(t.urls):t.url&&this.setUrl(t.url),this.tileLoadingKeys_={}}getTileLoadFunction(){return this.tileLoadFunction}getTileUrlFunction(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction}getUrls(){return this.urls}handleTileChange(t){const e=t.target,i=gt(e),n=e.getState();let s;n==it.LOADING?(this.tileLoadingKeys_[i]=!0,s=sh.TILELOADSTART):i in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[i],s=n==it.ERROR?sh.TILELOADERROR:n==it.LOADED?sh.TILELOADEND:void 0),s!=null&&this.dispatchEvent(new Qx(s,e))}setTileLoadFunction(t){this.tileCache.clear(),this.tileLoadFunction=t,this.changed()}setTileUrlFunction(t,e){this.tileUrlFunction=t,this.tileCache.pruneExceptNewestZ(),typeof e<"u"?this.setKey(e):this.changed()}setUrl(t){const e=eA(t);this.urls=e,this.setUrls(e)}setUrls(t){this.urls=t;const e=t.join(`
464
- `);this.generateTileUrlFunction_?this.setTileUrlFunction($x(t,this.tileGrid),e):this.setKey(e)}tileUrlFunction(t,e,i){}useTile(t,e,i){const n=zo(t,e,i);this.tileCache.containsKey(n)&&this.tileCache.get(n)}}const iA=ah;class nA extends iA{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:rA,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate!==void 0?t.interpolate:!0,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.crossOrigin=t.crossOrigin!==void 0?t.crossOrigin:null,this.tileClass=t.tileClass!==void 0?t.tileClass:Jd,this.tileCacheForProjection={},this.tileGridForProjection={},this.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}canExpireCache(){if(this.tileCache.canExpireCache())return!0;for(const t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1}expireCache(t,e){const i=this.getTileCacheForProjection(t);this.tileCache.expireCache(this.tileCache==i?e:{});for(const n in this.tileCacheForProjection){const s=this.tileCacheForProjection[n];s.expireCache(s==i?e:{})}}getGutterForProjection(t){return this.getProjection()&&t&&!dn(this.getProjection(),t)?0:this.getGutter()}getGutter(){return 0}getKey(){let t=super.getKey();return this.getInterpolate()||(t+=":disable-interpolation"),t}getOpaque(t){return this.getProjection()&&t&&!dn(this.getProjection(),t)?!1:super.getOpaque(t)}getTileGridForProjection(t){const e=this.getProjection();if(this.tileGrid&&(!e||dn(e,t)))return this.tileGrid;const i=gt(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=lf(t)),this.tileGridForProjection[i]}getTileCacheForProjection(t){const e=this.getProjection();if(!e||dn(e,t))return this.tileCache;const i=gt(t);return i in this.tileCacheForProjection||(this.tileCacheForProjection[i]=new rf(this.tileCache.highWaterMark)),this.tileCacheForProjection[i]}createTile_(t,e,i,n,s,a){const h=[t,e,i],c=this.getTileCoordForTileUrlFunction(h,s),d=c?this.tileUrlFunction(c,n,s):void 0,f=new this.tileClass(h,d!==void 0?it.IDLE:it.EMPTY,d!==void 0?d:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return f.key=a,f.addEventListener(ut.CHANGE,this.handleTileChange.bind(this)),f}getTile(t,e,i,n,s){const a=this.getProjection();if(!a||!s||dn(a,s))return this.getTileInternal(t,e,i,n,a||s);const h=this.getTileCacheForProjection(s),c=[t,e,i];let d;const f=nf(c);h.containsKey(f)&&(d=h.get(f));const p=this.getKey();if(d&&d.key==p)return d;const m=this.getTileGridForProjection(a),y=this.getTileGridForProjection(s),v=this.getTileCoordForTileUrlFunction(c,s),A=new ih(a,m,s,y,c,v,this.getTilePixelRatio(n),this.getGutter(),(b,M,w,E)=>this.getTileInternal(b,M,w,E,a),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return A.key=p,d?(A.interimTile=d,A.refreshInterimChain(),h.replace(f,A)):h.set(f,A),A}getTileInternal(t,e,i,n,s){let a=null;const h=zo(t,e,i),c=this.getKey();if(!this.tileCache.containsKey(h))a=this.createTile_(t,e,i,n,s,c),this.tileCache.set(h,a);else if(a=this.tileCache.get(h),a.key!=c){const d=a;a=this.createTile_(t,e,i,n,s,c),d.getState()==it.IDLE?a.interimTile=d.interimTile:a.interimTile=d,a.refreshInterimChain(),this.tileCache.replace(h,a)}return a}setRenderReprojectionEdges(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(const e in this.tileCacheForProjection)this.tileCacheForProjection[e].clear();this.changed()}}setTileGridForProjection(t,e){const i=zt(t);if(i){const n=gt(i);n in this.tileGridForProjection||(this.tileGridForProjection[n]=e)}}clear(){super.clear();for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear()}}function rA(r,t){r.getImage().src=t}const sA=nA;class oA extends sA{constructor(t){t=t||{};const e=t.projection!==void 0?t.projection:"EPSG:3857",i=t.tileGrid!==void 0?t.tileGrid:Xx({extent:oh(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX!==void 0?t.wrapX:!0,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=t.gutter!==void 0?t.gutter:0}getGutter(){return this.gutter_}}const aA=oA,lA='&#169; <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors.';class hA extends aA{constructor(t){t=t||{};let e;t.attributions!==void 0?e=t.attributions:e=[lA];const i=t.crossOrigin!==void 0?t.crossOrigin:"anonymous",n=t.url!==void 0?t.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:e,attributionsCollapsible:!1,cacheSize:t.cacheSize,crossOrigin:i,interpolate:t.interpolate,maxZoom:t.maxZoom!==void 0?t.maxZoom:19,opaque:t.opaque!==void 0?t.opaque:!0,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:n,wrapX:t.wrapX,zDirection:t.zDirection})}}const cA=hA,Bo={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class uA extends po{constructor(t){t=t||{};const e=Object.assign({},t);delete e.preload,delete e.useInterimTilesOnError,super(e),this.on,this.once,this.un,this.setPreload(t.preload!==void 0?t.preload:0),this.setUseInterimTilesOnError(t.useInterimTilesOnError!==void 0?t.useInterimTilesOnError:!0)}getPreload(){return this.get(Bo.PRELOAD)}setPreload(t){this.set(Bo.PRELOAD,t)}getUseInterimTilesOnError(){return this.get(Bo.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(t){this.set(Bo.USE_INTERIM_TILES_ON_ERROR,t)}getData(t){return super.getData(t)}}const dA=uA,cf=[];let nr=null;function fA(){nr=ee(1,1,void 0,{willReadFrequently:!0})}class gA extends Ud{constructor(t){super(t),this.container=null,this.renderedResolution,this.tempTransform=Yt(),this.pixelTransform=Yt(),this.inversePixelTransform=Yt(),this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(t,e,i){nr||fA(),nr.clearRect(0,0,1,1);let n;try{nr.drawImage(t,e,i,1,1,0,0,1,1),n=nr.getImageData(0,0,1,1).data}catch{return nr=null,null}return n}getBackground(t){let i=this.getLayer().getBackground();return typeof i=="function"&&(i=i(t.viewState.resolution)),i||void 0}useContainer(t,e,i){const n=this.getLayer().getClassName();let s,a;if(t&&t.className===n&&(!i||t&&t.style.backgroundColor&&li(Fr(t.style.backgroundColor),Fr(i)))){const h=t.firstElementChild;h instanceof HTMLCanvasElement&&(a=h.getContext("2d"))}if(a&&a.canvas.style.transform===e?(this.container=t,this.context=a,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){s=document.createElement("div"),s.className=n;let h=s.style;h.position="absolute",h.width="100%",h.height="100%",a=ee();const c=a.canvas;s.appendChild(c),h=c.style,h.position="absolute",h.left="0",h.transformOrigin="top left",this.container=s,this.context=a}!this.containerReused&&i&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=i)}clipUnrotated(t,e,i){const n=cn(i),s=Js(i),a=qs(i),h=Qs(i);Bt(e.coordinateToPixelTransform,n),Bt(e.coordinateToPixelTransform,s),Bt(e.coordinateToPixelTransform,a),Bt(e.coordinateToPixelTransform,h);const c=this.inversePixelTransform;Bt(c,n),Bt(c,s),Bt(c,a),Bt(c,h),t.save(),t.beginPath(),t.moveTo(Math.round(n[0]),Math.round(n[1])),t.lineTo(Math.round(s[0]),Math.round(s[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.lineTo(Math.round(h[0]),Math.round(h[1])),t.clip()}dispatchRenderEvent_(t,e,i){const n=this.getLayer();if(n.hasListener(t)){const s=new zr(t,this.inversePixelTransform,i,e);n.dispatchEvent(s)}}preRender(t,e){this.frameState=e,this.dispatchRenderEvent_(te.PRERENDER,t,e)}postRender(t,e){this.dispatchRenderEvent_(te.POSTRENDER,t,e)}getRenderTransform(t,e,i,n,s,a,h){const c=s/2,d=a/2,f=n/e,p=-f,m=-t[0]+h,y=-t[1];return Re(this.tempTransform,c,d,f,p,-i,m,y)}disposeInternal(){delete this.frameState,super.disposeInternal()}}const uf=gA;class pA extends uf{constructor(t){super(t),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=xe(),this.tmpTileRange_=new tf(0,0,0,0)}isDrawableTile(t){const e=this.getLayer(),i=t.getState(),n=e.getUseInterimTilesOnError();return i==it.LOADED||i==it.EMPTY||i==it.ERROR&&!n}getTile(t,e,i,n){const s=n.pixelRatio,a=n.viewState.projection,h=this.getLayer();let d=h.getSource().getTile(t,e,i,s,a);return d.getState()==it.ERROR&&h.getUseInterimTilesOnError()&&h.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(d)||(d=d.getInterimTile()),d}getData(t){const e=this.frameState;if(!e)return null;const i=this.getLayer(),n=Bt(e.pixelToCoordinateTransform,t.slice()),s=i.getExtent();if(s&&!Ks(s,n))return null;const a=e.pixelRatio,h=e.viewState.projection,c=e.viewState,d=i.getRenderSource(),f=d.getTileGridForProjection(c.projection),p=d.getTilePixelRatio(e.pixelRatio);for(let m=f.getZForResolution(c.resolution);m>=f.getMinZoom();--m){const y=f.getTileCoordForCoordAndZ(n,m),v=d.getTile(m,y[1],y[2],a,h);if(!(v instanceof Jd||v instanceof ih)||v instanceof ih&&v.getState()===it.EMPTY)return null;if(v.getState()!==it.LOADED)continue;const A=f.getOrigin(m),b=Ee(f.getTileSize(m)),M=f.getResolution(m),w=Math.floor(p*((n[0]-A[0])/M-y[1]*b[0])),E=Math.floor(p*((A[1]-n[1])/M-y[2]*b[1])),C=Math.round(p*d.getGutterForProjection(c.projection));return this.getImageData(v.getImage(),w+C,E+C)}return null}loadedTileCallback(t,e,i){return this.isDrawableTile(i)?super.loadedTileCallback(t,e,i):!1}prepareFrame(t){return!!this.getLayer().getSource()}renderFrame(t,e){const i=t.layerStatesArray[t.layerIndex],n=t.viewState,s=n.projection,a=n.resolution,h=n.center,c=n.rotation,d=t.pixelRatio,f=this.getLayer(),p=f.getSource(),m=p.getRevision(),y=p.getTileGridForProjection(s),v=y.getZForResolution(a,p.zDirection),A=y.getResolution(v);let b=t.extent;const M=t.viewState.resolution,w=p.getTilePixelRatio(d),E=Math.round(Tt(b)/M*d),C=Math.round(Ae(b)/M*d),P=i.extent&&fn(i.extent);P&&(b=Dr(b,fn(i.extent)));const D=A*E/2/w,O=A*C/2/w,R=[h[0]-D,h[1]-O,h[0]+D,h[1]+O],z=y.getTileRangeForExtentAndZ(b,v),j={};j[v]={};const U=this.createLoadedTileFinder(p,s,j),V=this.tmpExtent,tt=this.tmpTileRange_;this.newTiles_=!1;const at=c?Va(n.center,M,c,t.size):void 0;for(let ft=z.minX;ft<=z.maxX;++ft)for(let q=z.minY;q<=z.maxY;++q){if(c&&!y.tileCoordIntersectsViewport([v,ft,q],at))continue;const et=this.getTile(v,ft,q,t);if(this.isDrawableTile(et)){const Xt=gt(this);if(et.getState()==it.LOADED){j[v][et.tileCoord.toString()]=et;let be=et.inTransition(Xt);be&&i.opacity!==1&&(et.endTransition(Xt),be=!1),!this.newTiles_&&(be||!this.renderedTiles.includes(et))&&(this.newTiles_=!0)}if(et.getAlpha(Xt,t.time)===1)continue}const ct=y.getTileCoordChildTileRange(et.tileCoord,tt,V);let Dt=!1;ct&&(Dt=U(v+1,ct)),Dt||y.forEachTileCoordParentTileRange(et.tileCoord,U,tt,V)}const W=A/a*d/w;Re(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/d,1/d,c,-E/2,-C/2);const Y=Lu(this.pixelTransform);this.useContainer(e,Y,this.getBackground(t));const H=this.context,B=H.canvas;ro(this.inversePixelTransform,this.pixelTransform),Re(this.tempTransform,E/2,C/2,W,W,0,-E/2,-C/2),B.width!=E||B.height!=C?(B.width=E,B.height=C):this.containerReused||H.clearRect(0,0,E,C),P&&this.clipUnrotated(H,t,P),p.getInterpolate()||(H.imageSmoothingEnabled=!1),this.preRender(H,t),this.renderedTiles.length=0;let nt=Object.keys(j).map(Number);nt.sort(Pi);let Z,rt,F;i.opacity===1&&(!this.containerReused||p.getOpaque(t.viewState.projection))?nt=nt.reverse():(Z=[],rt=[]);for(let ft=nt.length-1;ft>=0;--ft){const q=nt[ft],et=p.getTilePixelSize(q,d,s),Dt=y.getResolution(q)/A,Xt=et[0]*Dt*W,be=et[1]*Dt*W,qe=y.getTileCoordForCoordAndZ(cn(R),q),Xi=y.getTileCoordExtent(qe),Te=Bt(this.tempTransform,[w*(Xi[0]-R[0])/A,w*(R[3]-Xi[3])/A]),Vi=w*p.getGutterForProjection(s),Je=j[q];for(const Ki in Je){const Fe=Je[Ki],Qi=Fe.tileCoord,Ai=qe[1]-Qi[1],or=Math.round(Te[0]-(Ai-1)*Xt),wi=qe[2]-Qi[2],wn=Math.round(Te[1]-(wi-1)*be),Qt=Math.round(Te[0]-Ai*Xt),ae=Math.round(Te[1]-wi*be),Ce=or-Qt,ze=wn-ae,$e=v===q,ti=$e&&Fe.getAlpha(gt(this),t.time)!==1;let Be=!1;if(!ti)if(Z){F=[Qt,ae,Qt+Ce,ae,Qt+Ce,ae+ze,Qt,ae+ze];for(let qi=0,En=Z.length;qi<En;++qi)if(v!==q&&q<rt[qi]){const Vt=Z[qi];ce([Qt,ae,Qt+Ce,ae+ze],[Vt[0],Vt[3],Vt[4],Vt[7]])&&(Be||(H.save(),Be=!0),H.beginPath(),H.moveTo(F[0],F[1]),H.lineTo(F[2],F[3]),H.lineTo(F[4],F[5]),H.lineTo(F[6],F[7]),H.moveTo(Vt[6],Vt[7]),H.lineTo(Vt[4],Vt[5]),H.lineTo(Vt[2],Vt[3]),H.lineTo(Vt[0],Vt[1]),H.clip())}Z.push(F),rt.push(q)}else H.clearRect(Qt,ae,Ce,ze);this.drawTileImage(Fe,t,Qt,ae,Ce,ze,Vi,$e),Z&&!ti?(Be&&H.restore(),this.renderedTiles.unshift(Fe)):this.renderedTiles.push(Fe),this.updateUsedTiles(t.usedTiles,p,Fe)}}return this.renderedRevision=m,this.renderedResolution=A,this.extentChanged=!this.renderedExtent_||!Bn(this.renderedExtent_,R),this.renderedExtent_=R,this.renderedPixelRatio=d,this.renderedProjection=s,this.manageTilePyramid(t,p,y,d,s,b,v,f.getPreload()),this.scheduleExpireCache(t,p),this.postRender(H,t),i.extent&&H.restore(),H.imageSmoothingEnabled=!0,Y!==B.style.transform&&(B.style.transform=Y),this.container}drawTileImage(t,e,i,n,s,a,h,c){const d=this.getTileImage(t);if(!d)return;const f=gt(this),p=e.layerStatesArray[e.layerIndex],m=p.opacity*(c?t.getAlpha(f,e.time):1),y=m!==this.context.globalAlpha;y&&(this.context.save(),this.context.globalAlpha=m),this.context.drawImage(d,h,h,d.width-2*h,d.height-2*h,i,n,s,a),y&&this.context.restore(),m!==p.opacity?e.animate=!0:c&&t.endTransition(f)}getImage(){const t=this.context;return t?t.canvas:null}getTileImage(t){return t.getImage()}scheduleExpireCache(t,e){if(e.canExpireCache()){const i=(function(n,s,a){const h=gt(n);h in a.usedTiles&&n.expireCache(a.viewState.projection,a.usedTiles[h])}).bind(null,e);t.postRenderFunctions.push(i)}}updateUsedTiles(t,e,i){const n=gt(e);n in t||(t[n]={}),t[n][i.getKey()]=!0}manageTilePyramid(t,e,i,n,s,a,h,c,d){const f=gt(e);f in t.wantedTiles||(t.wantedTiles[f]={});const p=t.wantedTiles[f],m=t.tileQueue,y=i.getMinZoom(),v=t.viewState.rotation,A=v?Va(t.viewState.center,t.viewState.resolution,v,t.size):void 0;let b=0,M,w,E,C,P,D;for(D=y;D<=h;++D)for(w=i.getTileRangeForExtentAndZ(a,D,w),E=i.getResolution(D),C=w.minX;C<=w.maxX;++C)for(P=w.minY;P<=w.maxY;++P)v&&!i.tileCoordIntersectsViewport([D,C,P],A)||(h-D<=c?(++b,M=e.getTile(D,C,P,n,s),M.getState()==it.IDLE&&(p[M.getKey()]=!0,m.isKeyQueued(M.getKey())||m.enqueue([M,f,i.getTileCoordCenter(M.tileCoord),E])),d!==void 0&&d(M)):e.useTile(D,C,P,s));e.updateCacheSize(b,s)}}const mA=pA;class _A extends dA{constructor(t){super(t)}createRenderer(){return new mA(this)}}const yA=_A;class vA{constructor(t){this.rbush_=new _d(t),this.items_={}}insert(t,e){const i={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(i),this.items_[gt(e)]=i}load(t,e){const i=new Array(e.length);for(let n=0,s=e.length;n<s;n++){const a=t[n],h=e[n],c={minX:a[0],minY:a[1],maxX:a[2],maxY:a[3],value:h};i[n]=c,this.items_[gt(h)]=c}this.rbush_.load(i)}remove(t){const e=gt(t),i=this.items_[e];return delete this.items_[e],this.rbush_.remove(i)!==null}update(t,e){const i=this.items_[gt(e)],n=[i.minX,i.minY,i.maxX,i.maxY];Bn(n,t)||(this.remove(e),this.insert(t,e))}getAll(){return this.rbush_.all().map(function(e){return e.value})}getInExtent(t){const e={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]};return this.rbush_.search(e).map(function(n){return n.value})}forEach(t){return this.forEach_(this.getAll(),t)}forEachInExtent(t,e){return this.forEach_(this.getInExtent(t),e)}forEach_(t,e){let i;for(let n=0,s=t.length;n<s;n++)if(i=e(t[n]),i)return i;return i}isEmpty(){return on(this.items_)}clear(){this.rbush_.clear(),this.items_={}}getExtent(t){const e=this.rbush_.toJSON();return Di(e.minX,e.minY,e.maxX,e.maxY,t)}concat(t){this.rbush_.load(t.rbush_.all());for(const e in t.items_)this.items_[e]=t.items_[e]}}const df=vA;class lh extends Ie{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(typeof t.getSimplifiedGeometry=="function"){const e=t;this.setGeometry(e)}else{const e=t;this.setProperties(e)}}clone(){const t=new lh(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());const e=this.getGeometry();e&&t.setGeometry(e.clone());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_&&(bt(this.geometryChangeKey_),this.geometryChangeKey_=null);const t=this.getGeometry();t&&(this.geometryChangeKey_=mt(t,ut.CHANGE,this.handleGeometryChange_,this)),this.changed()}setGeometry(t){this.set(this.geometryName_,t)}setStyle(t){this.style_=t,this.styleFunction_=t?xA(t):void 0,this.changed()}setId(t){this.id_=t,this.changed()}setGeometryName(t){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=t,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()}}function xA(r){if(typeof r=="function")return r;let t;return Array.isArray(r)?t=r:(vt(typeof r.getZIndex=="function","Expected an `ol/style/Style` or an array of `ol/style/Style.js`"),t=[r]),function(){return t}}const ff=lh;class No extends Mu{constructor(t){super(),this.geometries_=t||null,this.changeEventsKeys_=[],this.listenGeometriesChange_()}unlistenGeometriesChange_(){this.changeEventsKeys_.forEach(bt),this.changeEventsKeys_.length=0}listenGeometriesChange_(){if(this.geometries_)for(let t=0,e=this.geometries_.length;t<e;++t)this.changeEventsKeys_.push(mt(this.geometries_[t],ut.CHANGE,this.changed,this))}clone(){const t=new No(null);return t.setGeometries(this.geometries_),t.applyProperties(this),t}closestPointXY(t,e,i,n){if(n<ln(this.getExtent(),t,e))return n;const s=this.geometries_;for(let a=0,h=s.length;a<h;++a)n=s[a].closestPointXY(t,e,i,n);return n}containsXY(t,e){const i=this.geometries_;for(let n=0,s=i.length;n<s;++n)if(i[n].containsXY(t,e))return!0;return!1}computeExtent(t){Mr(t);const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)$c(t,e[i].getExtent());return t}getGeometries(){return gf(this.geometries_)}getGeometriesArray(){return this.geometries_}getGeometriesArrayRecursive(){let t=[];const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)e[i].getType()===this.getType()?t=t.concat(e[i].getGeometriesArrayRecursive()):t.push(e[i]);return t}getSimplifiedGeometry(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&t<this.simplifiedGeometryMaxMinSquaredTolerance)return this;const e=[],i=this.geometries_;let n=!1;for(let s=0,a=i.length;s<a;++s){const h=i[s],c=h.getSimplifiedGeometry(t);e.push(c),c!==h&&(n=!0)}if(n){const s=new No(null);return s.setGeometriesArray(e),s}return this.simplifiedGeometryMaxMinSquaredTolerance=t,this}getType(){return"GeometryCollection"}intersectsExtent(t){const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)if(e[i].intersectsExtent(t))return!0;return!1}isEmpty(){return this.geometries_.length===0}rotate(t,e){const i=this.geometries_;for(let n=0,s=i.length;n<s;++n)i[n].rotate(t,e);this.changed()}scale(t,e,i){i||(i=Ii(this.getExtent()));const n=this.geometries_;for(let s=0,a=n.length;s<a;++s)n[s].scale(t,e,i);this.changed()}setGeometries(t){this.setGeometriesArray(gf(t))}setGeometriesArray(t){this.unlistenGeometriesChange_(),this.geometries_=t,this.listenGeometriesChange_(),this.changed()}applyTransform(t){const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)e[i].applyTransform(t);this.changed()}translate(t,e){const i=this.geometries_;for(let n=0,s=i.length;n<s;++n)i[n].translate(t,e);this.changed()}disposeInternal(){this.unlistenGeometriesChange_(),super.disposeInternal()}}function gf(r){const t=[];for(let e=0,i=r.length;e<i;++e)t.push(r[e].clone());return t}const AA=No;function Go(r,t,e,i,n,s,a){let h,c;const d=(e-t)/i;if(d===1)h=t;else if(d===2)h=t,c=n;else if(d!==0){let f=r[t],p=r[t+1],m=0;const y=[0];for(let b=t+i;b<e;b+=i){const M=r[b],w=r[b+1];m+=Math.sqrt((M-f)*(M-f)+(w-p)*(w-p)),y.push(m),f=M,p=w}const v=n*m,A=n_(y,v);A<0?(c=(v-y[-A-2])/(y[-A-1]-y[-A-2]),h=t+(-A-2)*i):h=t+A*i}a=a>1?a:2,s=s||new Array(a);for(let f=0;f<a;++f)s[f]=h===void 0?NaN:c===void 0?r[h+f]:we(r[h+f],r[h+i+f],c);return s}function hh(r,t,e,i,n,s){if(e==t)return null;let a;if(n<r[t+i-1])return s?(a=r.slice(t,t+i),a[i-1]=n,a):null;if(r[e-1]<n)return s?(a=r.slice(e-i,e),a[i-1]=n,a):null;if(n==r[t+i-1])return r.slice(t,t+i);let h=t/i,c=e/i;for(;h<c;){const m=h+c>>1;n<r[(m+1)*i-1]?c=m:h=m+1}const d=r[h*i-1];if(n==d)return r.slice((h-1)*i,(h-1)*i+i);const f=r[(h+1)*i-1],p=(n-d)/(f-d);a=[];for(let m=0;m<i-1;++m)a.push(we(r[(h-1)*i+m],r[h*i+m],p));return a.push(n),a}function wA(r,t,e,i,n,s,a){if(a)return hh(r,t,e[e.length-1],i,n,s);let h;if(n<r[i-1])return s?(h=r.slice(0,i),h[i-1]=n,h):null;if(r[r.length-1]<n)return s?(h=r.slice(r.length-i),h[i-1]=n,h):null;for(let c=0,d=e.length;c<d;++c){const f=e[c];if(t!=f){if(n<r[t+i-1])return null;if(n<=r[f-1])return hh(r,t,f,i,n,!1);t=f}}return null}function pf(r,t,e,i){let n=r[t],s=r[t+1],a=0;for(let h=t+i;h<e;h+=i){const c=r[h],d=r[h+1];a+=Math.sqrt((c-n)*(c-n)+(d-s)*(d-s)),n=c,s=d}return a}class Uo extends gn{constructor(t,e){super(),this.flatMidpoint_=null,this.flatMidpointRevision_=-1,this.maxDelta_=-1,this.maxDeltaRevision_=-1,e!==void 0&&!Array.isArray(t[0])?this.setFlatCoordinates(e,t):this.setCoordinates(t,e)}appendCoordinate(t){We(this.flatCoordinates,t),this.changed()}clone(){const t=new Uo(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,n){return n<ln(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(ol(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),ll(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!1,t,e,i,n))}forEachSegment(t){return zu(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinateAtM(t,e){return this.layout!="XYM"&&this.layout!="XYZM"?null:(e=e!==void 0?e:!1,hh(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e))}getCoordinates(){return ki(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinateAt(t,e){return Go(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,this.stride)}getLength(){return pf(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=oo(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,0),new Uo(e,"XY")}getType(){return"LineString"}intersectsExtent(t){return ho(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=so(this.flatCoordinates,0,t,this.stride),this.changed()}}const ch=Uo;class jo extends gn{constructor(t,e,i){if(super(),this.ends_=[],this.maxDelta_=-1,this.maxDeltaRevision_=-1,Array.isArray(t[0]))this.setCoordinates(t,e);else if(e!==void 0&&i)this.setFlatCoordinates(e,t),this.ends_=i;else{const n=t,s=[],a=[];for(let c=0,d=n.length;c<d;++c){const f=n[c];We(s,f.getFlatCoordinates()),a.push(s.length)}const h=n.length===0?this.getLayout():n[0].getLayout();this.setFlatCoordinates(h,s),this.ends_=a}}appendLineString(t){We(this.flatCoordinates,t.getFlatCoordinates().slice()),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const t=new jo(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t}closestPointXY(t,e,i,n){return n<ln(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(al(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),hl(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!1,t,e,i,n))}getCoordinateAtM(t,e,i){return this.layout!="XYM"&&this.layout!="XYZM"||this.flatCoordinates.length===0?null:(e=e!==void 0?e:!1,i=i!==void 0?i:!1,wA(this.flatCoordinates,0,this.ends_,this.stride,t,e,i))}getCoordinates(){return Rr(this.flatCoordinates,0,this.ends_,this.stride)}getEnds(){return this.ends_}getLineString(t){return t<0||this.ends_.length<=t?null:new ch(this.flatCoordinates.slice(t===0?0:this.ends_[t-1],this.ends_[t]),this.layout)}getLineStrings(){const t=this.flatCoordinates,e=this.ends_,i=this.layout,n=[];let s=0;for(let a=0,h=e.length;a<h;++a){const c=e[a],d=new ch(t.slice(s,c),i);n.push(d),s=c}return n}getFlatMidpoints(){const t=[],e=this.flatCoordinates;let i=0;const n=this.ends_,s=this.stride;for(let a=0,h=n.length;a<h;++a){const c=n[a],d=Go(e,i,c,s,.5);We(t,d),i=c}return t}getSimplifiedGeometryInternal(t){const e=[],i=[];return e.length=Su(this.flatCoordinates,0,this.ends_,this.stride,t,e,0,i),new jo(e,"XY",i)}getType(){return"MultiLineString"}intersectsExtent(t){return cy(this.flatCoordinates,0,this.ends_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);const i=Sr(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=i.length===0?0:i[i.length-1],this.changed()}}const EA=jo;class uh extends gn{constructor(t,e){super(),e&&!Array.isArray(t[0])?this.setFlatCoordinates(e,t):this.setCoordinates(t,e)}appendPoint(t){We(this.flatCoordinates,t.getFlatCoordinates()),this.changed()}clone(){const t=new uh(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,n){if(n<ln(this.getExtent(),t,e))return n;const s=this.flatCoordinates,a=this.stride;for(let h=0,c=s.length;h<c;h+=a){const d=un(t,e,s[h],s[h+1]);if(d<n){n=d;for(let f=0;f<a;++f)i[f]=s[h+f];i.length=a}}return n}getCoordinates(){return ki(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getPoint(t){const e=this.flatCoordinates.length/this.stride;return t<0||e<=t?null:new lo(this.flatCoordinates.slice(t*this.stride,(t+1)*this.stride),this.layout)}getPoints(){const t=this.flatCoordinates,e=this.layout,i=this.stride,n=[];for(let s=0,a=t.length;s<a;s+=i){const h=new lo(t.slice(s,s+i),e);n.push(h)}return n}getType(){return"MultiPoint"}intersectsExtent(t){const e=this.flatCoordinates,i=this.stride;for(let n=0,s=e.length;n<s;n+=i){const a=e[n],h=e[n+1];if(Ha(t,a,h))return!0}return!1}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=so(this.flatCoordinates,0,t,this.stride),this.changed()}}const mf=uh;function _f(r,t,e,i){const n=[];let s=xe();for(let a=0,h=e.length;a<h;++a){const c=e[a];s=Ya(r,t,c[0],i),n.push((s[0]+s[2])/2,(s[1]+s[3])/2),t=c[c.length-1]}return n}class Ho extends gn{constructor(t,e,i){if(super(),this.endss_=[],this.flatInteriorPointsRevision_=-1,this.flatInteriorPoints_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,!i&&!Array.isArray(t[0])){const n=t,s=[],a=[];for(let h=0,c=n.length;h<c;++h){const d=n[h],f=s.length,p=d.getEnds();for(let m=0,y=p.length;m<y;++m)p[m]+=f;We(s,d.getFlatCoordinates()),a.push(p)}e=n.length===0?this.getLayout():n[0].getLayout(),t=s,i=a}e!==void 0&&i?(this.setFlatCoordinates(e,t),this.endss_=i):this.setCoordinates(t,e)}appendPolygon(t){let e;if(!this.flatCoordinates)this.flatCoordinates=t.getFlatCoordinates().slice(),e=t.getEnds().slice(),this.endss_.push();else{const i=this.flatCoordinates.length;We(this.flatCoordinates,t.getFlatCoordinates()),e=t.getEnds().slice();for(let n=0,s=e.length;n<s;++n)e[n]+=i}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 i=new Ho(this.flatCoordinates.slice(),this.layout,e);return i.applyProperties(this),i}closestPointXY(t,e,i,n){return n<ln(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(iy(this.flatCoordinates,0,this.endss_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),ny(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,this.maxDelta_,!0,t,e,i,n))}containsXY(t,e){return hy(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t,e)}getArea(){return ay(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride)}getCoordinates(t){let e;return t!==void 0?(e=this.getOrientedFlatCoordinates().slice(),_l(e,0,this.endss_,this.stride,t)):e=this.flatCoordinates,ul(e,0,this.endss_,this.stride)}getEndss(){return this.endss_}getFlatInteriorPoints(){if(this.flatInteriorPointsRevision_!=this.getRevision()){const t=_f(this.flatCoordinates,0,this.endss_,this.stride);this.flatInteriorPoints_=Fu(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t),this.flatInteriorPointsRevision_=this.getRevision()}return this.flatInteriorPoints_}getInteriorPoints(){return new mf(this.getFlatInteriorPoints().slice(),"XYM")}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const t=this.flatCoordinates;Gu(t,0,this.endss_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=_l(this.orientedFlatCoordinates_,0,this.endss_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(t){const e=[],i=[];return e.length=oy(this.flatCoordinates,0,this.endss_,this.stride,Math.sqrt(t),e,0,i),new Ho(e,"XY",i)}getPolygon(t){if(t<0||this.endss_.length<=t)return null;let e;if(t===0)e=0;else{const s=this.endss_[t-1];e=s[s.length-1]}const i=this.endss_[t].slice(),n=i[i.length-1];if(e!==0)for(let s=0,a=i.length;s<a;++s)i[s]-=e;return new Oi(this.flatCoordinates.slice(e,n),this.layout,i)}getPolygons(){const t=this.layout,e=this.flatCoordinates,i=this.endss_,n=[];let s=0;for(let a=0,h=i.length;a<h;++a){const c=i[a].slice(),d=c[c.length-1];if(s!==0)for(let p=0,m=c.length;p<m;++p)c[p]-=s;const f=new Oi(e.slice(s,d),t,c);n.push(f),s=d}return n}getType(){return"MultiPolygon"}intersectsExtent(t){return uy(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,3),this.flatCoordinates||(this.flatCoordinates=[]);const i=Iu(this.flatCoordinates,0,t,this.stride,this.endss_);if(i.length===0)this.flatCoordinates.length=0;else{const n=i[i.length-1];this.flatCoordinates.length=n.length===0?0:n[n.length-1]}this.changed()}}const CA=Ho,yf=Yt();class rr{constructor(t,e,i,n,s,a){this.styleFunction,this.extent_,this.id_=a,this.type_=t,this.flatCoordinates_=e,this.flatInteriorPoints_=null,this.flatMidpoints_=null,this.ends_=i,this.properties_=s,this.squaredTolerance_,this.stride_=n,this.simplifiedGeometry_}get(t){return this.properties_[t]}getExtent(){return this.extent_||(this.extent_=this.type_==="Point"?Jc(this.flatCoordinates_):Ya(this.flatCoordinates_,0,this.flatCoordinates_.length,2)),this.extent_}getFlatInteriorPoint(){if(!this.flatInteriorPoints_){const t=Ii(this.getExtent());this.flatInteriorPoints_=gl(this.flatCoordinates_,0,this.ends_,2,t,0)}return this.flatInteriorPoints_}getFlatInteriorPoints(){if(!this.flatInteriorPoints_){const t=fy(this.flatCoordinates_,this.ends_),e=_f(this.flatCoordinates_,0,t,2);this.flatInteriorPoints_=Fu(this.flatCoordinates_,0,t,2,e)}return this.flatInteriorPoints_}getFlatMidpoint(){return this.flatMidpoints_||(this.flatMidpoints_=Go(this.flatCoordinates_,0,this.flatCoordinates_.length,2,.5)),this.flatMidpoints_}getFlatMidpoints(){if(!this.flatMidpoints_){this.flatMidpoints_=[];const t=this.flatCoordinates_;let e=0;const i=this.ends_;for(let n=0,s=i.length;n<s;++n){const a=i[n],h=Go(t,e,a,2,.5);We(this.flatMidpoints_,h),e=a}}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){t=zt(t);const e=t.getExtent(),i=t.getWorldExtent();if(e&&i){const n=Ae(i)/Ae(e);Re(yf,i[0],i[3],n,-n,0,0,0),Ri(this.flatCoordinates_,0,this.flatCoordinates_.length,2,yf,this.flatCoordinates_)}}applyTransform(t){t(this.flatCoordinates_,this.flatCoordinates_,this.stride_)}clone(){return new rr(this.type_,this.flatCoordinates_.slice(),this.ends_.slice(),this.stride_,Object.assign({},this.properties_),this.id_)}getEnds(){return this.ends_}enableSimplifyTransformed(){return this.simplifyTransformed=Hc((t,e)=>{if(t===this.squaredTolerance_)return this.simplifiedGeometry_;this.simplifiedGeometry_=this.clone(),e&&this.simplifiedGeometry_.applyTransform(e);const i=this.simplifiedGeometry_.getFlatCoordinates();let n;switch(this.type_){case"LineString":i.length=oo(i,0,this.simplifiedGeometry_.flatCoordinates_.length,this.simplifiedGeometry_.stride_,t,i,0),n=[i.length];break;case"MultiLineString":n=[],i.length=Su(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,t,i,0,n);break;case"Polygon":n=[],i.length=cl(i,0,this.simplifiedGeometry_.ends_,this.simplifiedGeometry_.stride_,Math.sqrt(t),i,0,n);break}return n&&(this.simplifiedGeometry_=new rr(this.type_,i,n,2,this.properties_,this.id_)),this.squaredTolerance_=t,this.simplifiedGeometry_}),this}}rr.prototype.getFlatCoordinates=rr.prototype.getOrientedFlatCoordinates;const _i=rr;function LA(r,t){return[[-1/0,-1/0,1/0,1/0]]}let bA=!1;function TA(r,t,e,i,n,s,a){const h=new XMLHttpRequest;h.open("GET",typeof r=="function"?r(e,i,n):r,!0),t.getType()=="arraybuffer"&&(h.responseType="arraybuffer"),h.withCredentials=bA,h.onload=function(c){if(!h.status||h.status>=200&&h.status<300){const d=t.getType();let f;d=="json"?f=JSON.parse(h.responseText):d=="text"?f=h.responseText:d=="xml"?(f=h.responseXML,f||(f=new DOMParser().parseFromString(h.responseText,"application/xml"))):d=="arraybuffer"&&(f=h.response),f?s(t.readFeatures(f,{extent:e,featureProjection:n}),t.readProjection(f)):a()}else a()},h.onerror=a,h.send()}function vf(r,t){return function(e,i,n,s,a){const h=this;TA(r,t,e,i,n,function(c,d){h.addFeatures(c),s!==void 0&&s(c)},a||Rn)}}class Hi extends ai{constructor(t,e,i){super(t),this.feature=e,this.features=i}}class MA extends of{constructor(t){t=t||{},super({attributions:t.attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:t.wrapX!==void 0?t.wrapX:!0}),this.on,this.once,this.un,this.loader_=Rn,this.format_=t.format,this.overlaps_=t.overlaps===void 0?!0:t.overlaps,this.url_=t.url,t.loader!==void 0?this.loader_=t.loader:this.url_!==void 0&&(vt(this.format_,"`format` must be set when `url` is set"),this.loader_=vf(this.url_,this.format_)),this.strategy_=t.strategy!==void 0?t.strategy:LA;const e=t.useSpatialIndex!==void 0?t.useSpatialIndex:!0;this.featuresRtree_=e?new df:null,this.loadedExtentsRtree_=new df,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null;let i,n;Array.isArray(t.features)?n=t.features:t.features&&(i=t.features,n=i.getArray()),!e&&i===void 0&&(i=new Ze(n)),n!==void 0&&this.addFeaturesInternal(n),i!==void 0&&this.bindFeaturesCollection_(i)}addFeature(t){this.addFeatureInternal(t),this.changed()}addFeatureInternal(t){const e=gt(t);if(!this.addToIndex_(e,t)){this.featuresCollection_&&this.featuresCollection_.remove(t);return}this.setupChangeEvents_(e,t);const i=t.getGeometry();if(i){const n=i.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(n,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new Hi(oe.ADDFEATURE,t))}setupChangeEvents_(t,e){e instanceof _i||(this.featureChangeKeys_[t]=[mt(e,ut.CHANGE,this.handleFeatureChange_,this),mt(e,Sn.PROPERTYCHANGE,this.handleFeatureChange_,this)])}addToIndex_(t,e){let i=!0;if(e.getId()!==void 0){const n=String(e.getId());if(!(n in this.idIndex_))this.idIndex_[n]=e;else if(e instanceof _i){const s=this.idIndex_[n];s instanceof _i?Array.isArray(s)?s.push(e):this.idIndex_[n]=[s,e]:i=!1}else i=!1}return i&&(vt(!(t in this.uidIndex_),"The passed `feature` was already added to the source"),this.uidIndex_[t]=e),i}addFeatures(t){this.addFeaturesInternal(t),this.changed()}addFeaturesInternal(t){const e=[],i=[],n=[];for(let s=0,a=t.length;s<a;s++){const h=t[s],c=gt(h);this.addToIndex_(c,h)&&i.push(h)}for(let s=0,a=i.length;s<a;s++){const h=i[s],c=gt(h);this.setupChangeEvents_(c,h);const d=h.getGeometry();if(d){const f=d.getExtent();e.push(f),n.push(h)}else this.nullGeometryFeatures_[c]=h}if(this.featuresRtree_&&this.featuresRtree_.load(e,n),this.hasListener(oe.ADDFEATURE))for(let s=0,a=i.length;s<a;s++)this.dispatchEvent(new Hi(oe.ADDFEATURE,i[s]))}bindFeaturesCollection_(t){let e=!1;this.addEventListener(oe.ADDFEATURE,function(i){e||(e=!0,t.push(i.feature),e=!1)}),this.addEventListener(oe.REMOVEFEATURE,function(i){e||(e=!0,t.remove(i.feature),e=!1)}),t.addEventListener(ue.ADD,i=>{e||(e=!0,this.addFeature(i.element),e=!1)}),t.addEventListener(ue.REMOVE,i=>{e||(e=!0,this.removeFeature(i.element),e=!1)}),this.featuresCollection_=t}clear(t){if(t){for(const i in this.featureChangeKeys_)this.featureChangeKeys_[i].forEach(bt);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){const i=n=>{this.removeFeatureInternal(n)};this.featuresRtree_.forEach(i);for(const n in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[n])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const e=new Hi(oe.CLEAR);this.dispatchEvent(e),this.changed()}forEachFeature(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureAtCoordinateDirect(t,e){const i=[t[0],t[1],t[0],t[1]];return this.forEachFeatureInExtent(i,function(n){const s=n.getGeometry();if(s instanceof _i||s.intersectsCoordinate(t))return e(n)})}forEachFeatureInExtent(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureIntersectingExtent(t,e){return this.forEachFeatureInExtent(t,function(i){const n=i.getGeometry();if(n instanceof _i||n.intersectsExtent(t)){const s=e(i);if(s)return s}})}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let t;return this.featuresCollection_?t=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(t=this.featuresRtree_.getAll(),on(this.nullGeometryFeatures_)||We(t,Object.values(this.nullGeometryFeatures_))),t}getFeaturesAtCoordinate(t){const e=[];return this.forEachFeatureAtCoordinateDirect(t,function(i){e.push(i)}),e}getFeaturesInExtent(t,e){if(this.featuresRtree_){if(!(e&&e.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(t);const n=L_(t,e);return[].concat(...n.map(s=>this.featuresRtree_.getInExtent(s)))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(t,e){const i=t[0],n=t[1];let s=null;const a=[NaN,NaN];let h=1/0;const c=[-1/0,-1/0,1/0,1/0];return e=e||Lr,this.featuresRtree_.forEachInExtent(c,function(d){if(e(d)){const f=d.getGeometry(),p=h;if(h=f instanceof _i?0:f.closestPointXY(i,n,a,h),h<p){s=d;const m=Math.sqrt(h);c[0]=i-m,c[1]=n-m,c[2]=i+m,c[3]=n+m}}}),s}getExtent(t){return this.featuresRtree_.getExtent(t)}getFeatureById(t){const e=this.idIndex_[t.toString()];return e!==void 0?e:null}getFeatureByUid(t){const e=this.uidIndex_[t];return e!==void 0?e:null}getFormat(){return this.format_}getOverlaps(){return this.overlaps_}getUrl(){return this.url_}handleFeatureChange_(t){const e=t.target,i=gt(e),n=e.getGeometry();if(!n)i in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(e),this.nullGeometryFeatures_[i]=e);else{const a=n.getExtent();i in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[i],this.featuresRtree_&&this.featuresRtree_.insert(a,e)):this.featuresRtree_&&this.featuresRtree_.update(a,e)}const s=e.getId();if(s!==void 0){const a=s.toString();this.idIndex_[a]!==e&&(this.removeFromIdIndex_(e),this.idIndex_[a]=e)}else this.removeFromIdIndex_(e),this.uidIndex_[i]=e;this.changed(),this.dispatchEvent(new Hi(oe.CHANGEFEATURE,e))}hasFeature(t){const e=t.getId();return e!==void 0?e in this.idIndex_:gt(t)in this.uidIndex_}isEmpty(){return this.featuresRtree_?this.featuresRtree_.isEmpty()&&on(this.nullGeometryFeatures_):this.featuresCollection_?this.featuresCollection_.getLength()===0:!0}loadFeatures(t,e,i){const n=this.loadedExtentsRtree_,s=this.strategy_(t,e,i);for(let a=0,h=s.length;a<h;++a){const c=s[a];n.forEachInExtent(c,function(f){return hn(f.extent,c)})||(++this.loadingExtentsCount_,this.dispatchEvent(new Hi(oe.FEATURESLOADSTART)),this.loader_.call(this,c,e,i,f=>{--this.loadingExtentsCount_,this.dispatchEvent(new Hi(oe.FEATURESLOADEND,void 0,f))},()=>{--this.loadingExtentsCount_,this.dispatchEvent(new Hi(oe.FEATURESLOADERROR))}),n.insert(c,{extent:c.slice()}))}this.loading=this.loader_.length<4?!1:this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(t){const e=this.loadedExtentsRtree_;let i;e.forEachInExtent(t,function(n){if(Bn(n.extent,t))return i=n,!0}),i&&e.remove(i)}removeFeature(t){if(!t)return;const e=gt(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t),this.removeFeatureInternal(t)&&this.changed()}removeFeatureInternal(t){const e=gt(t),i=this.featureChangeKeys_[e];if(!i)return;i.forEach(bt),delete this.featureChangeKeys_[e];const n=t.getId();return n!==void 0&&delete this.idIndex_[n.toString()],delete this.uidIndex_[e],this.dispatchEvent(new Hi(oe.REMOVEFEATURE,t)),t}removeFromIdIndex_(t){let e=!1;for(const i in this.idIndex_){const n=this.idIndex_[i];if(t instanceof _i&&Array.isArray(n)&&n.includes(t))n.splice(n.indexOf(t),1);else if(this.idIndex_[i]===t){delete this.idIndex_[i],e=!0;break}}return e}setLoader(t){this.loader_=t}setUrl(t){vt(this.format_,"`format` must be set when `url` is set"),this.url_=t,this.setLoader(vf(t,this.format_))}}const Wo=MA;class PA{constructor(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0,this.featureClass=ff,this.supportedMediaTypes=null}getReadOptions(t,e){if(e){let i=e.dataProjection?zt(e.dataProjection):this.readProjection(t);e.extent&&i&&i.getUnits()==="tile-pixels"&&(i=zt(i),i.setWorldExtent(e.extent)),e={dataProjection:i,featureProjection:e.featureProjection}}return this.adaptOptions(e)}adaptOptions(t){return Object.assign({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection,featureClass:this.featureClass},t)}getType(){return lt()}readFeature(t,e){return lt()}readFeatures(t,e){return lt()}readGeometry(t,e){return lt()}readProjection(t){return lt()}writeFeature(t,e){return lt()}writeFeatures(t,e){return lt()}writeGeometry(t,e){return lt()}}function dh(r,t,e){const i=e?zt(e.featureProjection):null,n=e?zt(e.dataProjection):null;let s=r;if(i&&n&&!dn(i,n)){t&&(s=r.clone());const a=t?i:n,h=t?n:i;a.getUnits()==="tile-pixels"?s.transform(a,h):s.applyTransform(Ir(a,h))}if(t&&e&&e.decimals!==void 0){const a=Math.pow(10,e.decimals),h=function(c){for(let d=0,f=c.length;d<f;++d)c[d]=Math.round(c[d]*a)/a;return c};s===r&&(s=r.clone()),s.applyTransform(h)}return s}const DA={Point:lo,LineString:ch,Polygon:Oi,MultiPoint:mf,MultiLineString:EA,MultiPolygon:CA};function IA(r,t,e){return Array.isArray(t[0])?(Gu(r,0,t,e)||(r=r.slice(),_l(r,0,t,e)),r):(ml(r,0,t,e)||(r=r.slice(),co(r,0,t,e)),r)}function xf(r,t){var s;const e=r.geometry;if(!e)return[];if(Array.isArray(e))return e.map(a=>xf({...r,geometry:a})).flat();const i=e.type==="MultiPolygon"?"Polygon":e.type;if(i==="GeometryCollection"||i==="Circle")throw new Error("Unsupported geometry type: "+i);const n=e.layout.length;return dh(new _i(i,i==="Polygon"?IA(e.flatCoordinates,e.ends,n):e.flatCoordinates,(s=e.ends)==null?void 0:s.flat(),n,r.properties||{},r.id).enableSimplifyTransformed(),!1,t)}function fh(r,t){if(!r)return null;if(Array.isArray(r)){const i=r.map(n=>fh(n,t));return new AA(i)}const e=DA[r.type];return dh(new e(r.flatCoordinates,r.layout,r.ends),!1,t)}class SA extends PA{constructor(){super()}getType(){return"json"}readFeature(t,e){return this.readFeatureFromObject(Yo(t),this.getReadOptions(t,e))}readFeatures(t,e){return this.readFeaturesFromObject(Yo(t),this.getReadOptions(t,e))}readFeatureFromObject(t,e){return lt()}readFeaturesFromObject(t,e){return lt()}readGeometry(t,e){return this.readGeometryFromObject(Yo(t),this.getReadOptions(t,e))}readGeometryFromObject(t,e){return lt()}readProjection(t){return this.readProjectionFromObject(Yo(t))}readProjectionFromObject(t){return lt()}writeFeature(t,e){return JSON.stringify(this.writeFeatureObject(t,e))}writeFeatureObject(t,e){return lt()}writeFeatures(t,e){return JSON.stringify(this.writeFeaturesObject(t,e))}writeFeaturesObject(t,e){return lt()}writeGeometry(t,e){return JSON.stringify(this.writeGeometryObject(t,e))}writeGeometryObject(t,e){return lt()}}function Yo(r){if(typeof r=="string"){const t=JSON.parse(r);return t||null}return r!==null?r:null}const RA=SA;class kA extends RA{constructor(t){t=t||{},super(),this.dataProjection=zt(t.dataProjection?t.dataProjection:"EPSG:4326"),t.featureProjection&&(this.defaultFeatureProjection=zt(t.featureProjection)),t.featureClass&&(this.featureClass=t.featureClass),this.geometryName_=t.geometryName,this.extractGeometryName_=t.extractGeometryName,this.supportedMediaTypes=["application/geo+json","application/vnd.geo+json"]}readFeatureFromObject(t,e){let i=null;t.type==="Feature"?i=t:i={type:"Feature",geometry:t,properties:null};const n=gh(i.geometry);if(this.featureClass===_i)return xf({geometry:n,id:i.id,properties:i.properties},e);const s=new ff;return this.geometryName_?s.setGeometryName(this.geometryName_):this.extractGeometryName_&&"geometry_name"in i!==void 0&&s.setGeometryName(i.geometry_name),s.setGeometry(fh(n,e)),"id"in i&&s.setId(i.id),i.properties&&s.setProperties(i.properties,!0),s}readFeaturesFromObject(t,e){const i=t;let n=null;if(i.type==="FeatureCollection"){const s=t;n=[];const a=s.features;for(let h=0,c=a.length;h<c;++h){const d=this.readFeatureFromObject(a[h],e);d&&n.push(d)}}else n=[this.readFeatureFromObject(t,e)];return n.flat()}readGeometryFromObject(t,e){return OA(t,e)}readProjectionFromObject(t){const e=t.crs;let i;if(e)if(e.type=="name")i=zt(e.properties.name);else if(e.type==="EPSG")i=zt("EPSG:"+e.properties.code);else throw new Error("Unknown SRS type");else i=this.dataProjection;return i}writeFeatureObject(t,e){e=this.adaptOptions(e);const i={type:"Feature",geometry:null,properties:null},n=t.getId();if(n!==void 0&&(i.id=n),!t.hasProperties())return i;const s=t.getProperties(),a=t.getGeometry();return a&&(i.geometry=ph(a,e),delete s[t.getGeometryName()]),on(s)||(i.properties=s),i}writeFeaturesObject(t,e){e=this.adaptOptions(e);const i=[];for(let n=0,s=t.length;n<s;++n)i.push(this.writeFeatureObject(t[n],e));return{type:"FeatureCollection",features:i}}writeGeometryObject(t,e){return ph(t,this.adaptOptions(e))}}function gh(r,t){if(!r)return null;let e;switch(r.type){case"Point":{e=zA(r);break}case"LineString":{e=BA(r);break}case"Polygon":{e=jA(r);break}case"MultiPoint":{e=GA(r);break}case"MultiLineString":{e=NA(r);break}case"MultiPolygon":{e=UA(r);break}case"GeometryCollection":{e=FA(r);break}default:throw new Error("Unsupported GeoJSON type: "+r.type)}return e}function OA(r,t){const e=gh(r);return fh(e,t)}function FA(r,t){return r.geometries.map(function(i){return gh(i)})}function zA(r){const t=r.coordinates;return{type:"Point",flatCoordinates:t,layout:pn(t.length)}}function BA(r){const t=r.coordinates,e=t.flat();return{type:"LineString",flatCoordinates:e,ends:[e.length],layout:pn(t[0].length)}}function NA(r){const t=r.coordinates,e=t[0][0].length,i=[],n=Sr(i,0,t,e);return{type:"MultiLineString",flatCoordinates:i,ends:n,layout:pn(e)}}function GA(r){const t=r.coordinates;return{type:"MultiPoint",flatCoordinates:t.flat(),layout:pn(t[0].length)}}function UA(r){const t=r.coordinates,e=[],i=t[0][0][0].length,n=Iu(e,0,t,i);return{type:"MultiPolygon",flatCoordinates:e,ends:n,layout:pn(i)}}function jA(r){const t=r.coordinates,e=[],i=t[0][0].length,n=Sr(e,0,t,i);return{type:"Polygon",flatCoordinates:e,ends:n,layout:pn(i)}}function ph(r,t){r=dh(r,!0,t);const e=r.getType();let i;switch(e){case"Point":{i=VA(r);break}case"LineString":{i=WA(r);break}case"Polygon":{i=KA(r,t);break}case"MultiPoint":{i=ZA(r);break}case"MultiLineString":{i=YA(r);break}case"MultiPolygon":{i=XA(r,t);break}case"GeometryCollection":{i=HA(r,t);break}case"Circle":{i={type:"GeometryCollection",geometries:[]};break}default:throw new Error("Unsupported geometry type: "+e)}return i}function HA(r,t){return t=Object.assign({},t),delete t.featureProjection,{type:"GeometryCollection",geometries:r.getGeometriesArray().map(function(i){return ph(i,t)})}}function WA(r,t){return{type:"LineString",coordinates:r.getCoordinates()}}function YA(r,t){return{type:"MultiLineString",coordinates:r.getCoordinates()}}function ZA(r,t){return{type:"MultiPoint",coordinates:r.getCoordinates()}}function XA(r,t){let e;return t&&(e=t.rightHanded),{type:"MultiPolygon",coordinates:r.getCoordinates(e)}}function VA(r,t){return{type:"Point",coordinates:r.getCoordinates()}}function KA(r,t){let e;return t&&(e=t.rightHanded),{type:"Polygon",coordinates:r.getCoordinates(e)}}const Zo=kA,is={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},Xo=[is.FILL],Wi=[is.STROKE],An=[is.BEGIN_PATH],Af=[is.CLOSE_PATH],st=is;class QA{drawCustom(t,e,i,n){}drawGeometry(t){}setStyle(t){}drawCircle(t,e){}drawFeature(t,e){}drawGeometryCollection(t,e){}drawLineString(t,e){}drawMultiLineString(t,e){}drawMultiPoint(t,e){}drawMultiPolygon(t,e){}drawPoint(t,e){}drawPolygon(t,e){}drawText(t,e){}setFillStrokeStyle(t,e){}setImageStyle(t,e){}setTextStyle(t,e){}}const wf=QA;class qA extends wf{constructor(t,e,i,n){super(),this.tolerance=t,this.maxExtent=e,this.pixelRatio=n,this.maxLineWidth=0,this.resolution=i,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_=null,this.bufferedMaxExtent_=null,this.instructions=[],this.coordinates=[],this.tmpCoordinate_=[],this.hitDetectionInstructions=[],this.state={}}applyPixelRatio(t){const e=this.pixelRatio;return e==1?t:t.map(function(i){return i*e})}appendFlatPointCoordinates(t,e){const i=this.getBufferedMaxExtent(),n=this.tmpCoordinate_,s=this.coordinates;let a=s.length;for(let h=0,c=t.length;h<c;h+=e)n[0]=t[h],n[1]=t[h+1],Ks(i,n)&&(s[a++]=n[0],s[a++]=n[1]);return a}appendFlatLineCoordinates(t,e,i,n,s,a){const h=this.coordinates;let c=h.length;const d=this.getBufferedMaxExtent();a&&(e+=n);let f=t[e],p=t[e+1];const m=this.tmpCoordinate_;let y=!0,v,A,b;for(v=e+n;v<i;v+=n)m[0]=t[v],m[1]=t[v+1],b=Wa(d,m),b!==A?(y&&(h[c++]=f,h[c++]=p,y=!1),h[c++]=m[0],h[c++]=m[1]):b===Wt.INTERSECTING?(h[c++]=m[0],h[c++]=m[1],y=!1):y=!0,f=m[0],p=m[1],A=b;return(s&&y||v===e+n)&&(h[c++]=f,h[c++]=p),c}drawCustomCoordinates_(t,e,i,n,s){for(let a=0,h=i.length;a<h;++a){const c=i[a],d=this.appendFlatLineCoordinates(t,e,c,n,!1,!1);s.push(d),e=c}return e}drawCustom(t,e,i,n){this.beginGeometry(t,e);const s=t.getType(),a=t.getStride(),h=this.coordinates.length;let c,d,f,p,m;switch(s){case"MultiPolygon":c=t.getOrientedFlatCoordinates(),p=[];const y=t.getEndss();m=0;for(let v=0,A=y.length;v<A;++v){const b=[];m=this.drawCustomCoordinates_(c,m,y[v],a,b),p.push(b)}this.instructions.push([st.CUSTOM,h,p,t,i,ul]),this.hitDetectionInstructions.push([st.CUSTOM,h,p,t,n||i,ul]);break;case"Polygon":case"MultiLineString":f=[],c=s=="Polygon"?t.getOrientedFlatCoordinates():t.getFlatCoordinates(),m=this.drawCustomCoordinates_(c,0,t.getEnds(),a,f),this.instructions.push([st.CUSTOM,h,f,t,i,Rr]),this.hitDetectionInstructions.push([st.CUSTOM,h,f,t,n||i,Rr]);break;case"LineString":case"Circle":c=t.getFlatCoordinates(),d=this.appendFlatLineCoordinates(c,0,c.length,a,!1,!1),this.instructions.push([st.CUSTOM,h,d,t,i,ki]),this.hitDetectionInstructions.push([st.CUSTOM,h,d,t,n||i,ki]);break;case"MultiPoint":c=t.getFlatCoordinates(),d=this.appendFlatPointCoordinates(c,a),d>h&&(this.instructions.push([st.CUSTOM,h,d,t,i,ki]),this.hitDetectionInstructions.push([st.CUSTOM,h,d,t,n||i,ki]));break;case"Point":c=t.getFlatCoordinates(),this.coordinates.push(c[0],c[1]),d=this.coordinates.length,this.instructions.push([st.CUSTOM,h,d,t,i]),this.hitDetectionInstructions.push([st.CUSTOM,h,d,t,n||i]);break}this.endGeometry(e)}beginGeometry(t,e){this.beginGeometryInstruction1_=[st.BEGIN_GEOMETRY,e,0,t],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[st.BEGIN_GEOMETRY,e,0,t],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const t=this.hitDetectionInstructions;t.reverse();let e;const i=t.length;let n,s,a=-1;for(e=0;e<i;++e)n=t[e],s=n[0],s==st.END_GEOMETRY?a=e:s==st.BEGIN_GEOMETRY&&(n[2]=e,r_(this.hitDetectionInstructions,a,e),a=-1)}setFillStrokeStyle(t,e){const i=this.state;if(t){const n=t.getColor();i.fillStyle=Xe(n||de)}else i.fillStyle=void 0;if(e){const n=e.getColor();i.strokeStyle=Xe(n||Gr);const s=e.getLineCap();i.lineCap=s!==void 0?s:Un;const a=e.getLineDash();i.lineDash=a?a.slice():ci;const h=e.getLineDashOffset();i.lineDashOffset=h||ui;const c=e.getLineJoin();i.lineJoin=c!==void 0?c:jn;const d=e.getWidth();i.lineWidth=d!==void 0?d:jr;const f=e.getMiterLimit();i.miterLimit=f!==void 0?f:Nr,i.lineWidth>this.maxLineWidth&&(this.maxLineWidth=i.lineWidth,this.bufferedMaxExtent_=null)}else i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineDashOffset=void 0,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0}createFill(t){const e=t.fillStyle,i=[st.SET_FILL_STYLE,e];return typeof e!="string"&&i.push(!0),i}applyStroke(t){this.instructions.push(this.createStroke(t))}createStroke(t){return[st.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]}updateFillStyle(t,e){const i=t.fillStyle;(typeof i!="string"||t.currentFillStyle!=i)&&(i!==void 0&&this.instructions.push(e.call(this,t)),t.currentFillStyle=i)}updateStrokeStyle(t,e){const i=t.strokeStyle,n=t.lineCap,s=t.lineDash,a=t.lineDashOffset,h=t.lineJoin,c=t.lineWidth,d=t.miterLimit;(t.currentStrokeStyle!=i||t.currentLineCap!=n||s!=t.currentLineDash&&!li(t.currentLineDash,s)||t.currentLineDashOffset!=a||t.currentLineJoin!=h||t.currentLineWidth!=c||t.currentMiterLimit!=d)&&(i!==void 0&&e.call(this,t),t.currentStrokeStyle=i,t.currentLineCap=n,t.currentLineDash=s,t.currentLineDashOffset=a,t.currentLineJoin=h,t.currentLineWidth=c,t.currentMiterLimit=d)}endGeometry(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const e=[st.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=qc(this.maxExtent),this.maxLineWidth>0)){const t=this.resolution*(this.maxLineWidth+1)/2;Vs(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}}const ns=qA;class JA extends ns{constructor(t,e,i,n){super(t,e,i,n),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const i=t.getFlatCoordinates(),n=t.getStride(),s=this.coordinates.length,a=this.appendFlatPointCoordinates(i,n);this.instructions.push([st.DRAW_IMAGE,s,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([st.DRAW_IMAGE,s,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}drawMultiPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const i=t.getFlatCoordinates(),n=t.getStride(),s=this.coordinates.length,a=this.appendFlatPointCoordinates(i,n);this.instructions.push([st.DRAW_IMAGE,s,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([st.DRAW_IMAGE,s,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}finish(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,super.finish()}setImageStyle(t,e){const i=t.getAnchor(),n=t.getSize(),s=t.getOrigin();this.imagePixelRatio_=t.getPixelRatio(this.pixelRatio),this.anchorX_=i[0],this.anchorY_=i[1],this.hitDetectionImage_=t.getHitDetectionImage(),this.image_=t.getImage(this.pixelRatio),this.height_=n[1],this.opacity_=t.getOpacity(),this.originX_=s[0],this.originY_=s[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScaleArray(),this.width_=n[0],this.declutterMode_=t.getDeclutterMode(),this.declutterImageWithText_=e}}const $A=JA;class tw extends ns{constructor(t,e,i,n){super(t,e,i,n)}drawFlatCoordinates_(t,e,i,n){const s=this.coordinates.length,a=this.appendFlatLineCoordinates(t,e,i,n,!1,!1),h=[st.MOVE_TO_LINE_TO,s,a];return this.instructions.push(h),this.hitDetectionInstructions.push(h),i}drawLineString(t,e){const i=this.state,n=i.strokeStyle,s=i.lineWidth;if(n===void 0||s===void 0)return;this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([st.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ci,ui],An);const a=t.getFlatCoordinates(),h=t.getStride();this.drawFlatCoordinates_(a,0,a.length,h),this.hitDetectionInstructions.push(Wi),this.endGeometry(e)}drawMultiLineString(t,e){const i=this.state,n=i.strokeStyle,s=i.lineWidth;if(n===void 0||s===void 0)return;this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([st.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ci,ui],An);const a=t.getEnds(),h=t.getFlatCoordinates(),c=t.getStride();let d=0;for(let f=0,p=a.length;f<p;++f)d=this.drawFlatCoordinates_(h,d,a[f],c);this.hitDetectionInstructions.push(Wi),this.endGeometry(e)}finish(){const t=this.state;return t.lastStroke!=null&&t.lastStroke!=this.coordinates.length&&this.instructions.push(Wi),this.reverseHitDetectionInstructions(),this.state=null,super.finish()}applyStroke(t){t.lastStroke!=null&&t.lastStroke!=this.coordinates.length&&(this.instructions.push(Wi),t.lastStroke=this.coordinates.length),t.lastStroke=0,super.applyStroke(t),this.instructions.push(An)}}const ew=tw;class iw extends ns{constructor(t,e,i,n){super(t,e,i,n)}drawFlatCoordinatess_(t,e,i,n){const s=this.state,a=s.fillStyle!==void 0,h=s.strokeStyle!==void 0,c=i.length;this.instructions.push(An),this.hitDetectionInstructions.push(An);for(let d=0;d<c;++d){const f=i[d],p=this.coordinates.length,m=this.appendFlatLineCoordinates(t,e,f,n,!0,!h),y=[st.MOVE_TO_LINE_TO,p,m];this.instructions.push(y),this.hitDetectionInstructions.push(y),h&&(this.instructions.push(Af),this.hitDetectionInstructions.push(Af)),e=f}return a&&(this.instructions.push(Xo),this.hitDetectionInstructions.push(Xo)),h&&(this.instructions.push(Wi),this.hitDetectionInstructions.push(Wi)),e}drawCircle(t,e){const i=this.state,n=i.fillStyle,s=i.strokeStyle;if(n===void 0&&s===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),i.fillStyle!==void 0&&this.hitDetectionInstructions.push([st.SET_FILL_STYLE,de]),i.strokeStyle!==void 0&&this.hitDetectionInstructions.push([st.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ci,ui]);const a=t.getFlatCoordinates(),h=t.getStride(),c=this.coordinates.length;this.appendFlatLineCoordinates(a,0,a.length,h,!1,!1);const d=[st.CIRCLE,c];this.instructions.push(An,d),this.hitDetectionInstructions.push(An,d),i.fillStyle!==void 0&&(this.instructions.push(Xo),this.hitDetectionInstructions.push(Xo)),i.strokeStyle!==void 0&&(this.instructions.push(Wi),this.hitDetectionInstructions.push(Wi)),this.endGeometry(e)}drawPolygon(t,e){const i=this.state,n=i.fillStyle,s=i.strokeStyle;if(n===void 0&&s===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),i.fillStyle!==void 0&&this.hitDetectionInstructions.push([st.SET_FILL_STYLE,de]),i.strokeStyle!==void 0&&this.hitDetectionInstructions.push([st.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ci,ui]);const a=t.getEnds(),h=t.getOrientedFlatCoordinates(),c=t.getStride();this.drawFlatCoordinatess_(h,0,a,c),this.endGeometry(e)}drawMultiPolygon(t,e){const i=this.state,n=i.fillStyle,s=i.strokeStyle;if(n===void 0&&s===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),i.fillStyle!==void 0&&this.hitDetectionInstructions.push([st.SET_FILL_STYLE,de]),i.strokeStyle!==void 0&&this.hitDetectionInstructions.push([st.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ci,ui]);const a=t.getEndss(),h=t.getOrientedFlatCoordinates(),c=t.getStride();let d=0;for(let f=0,p=a.length;f<p;++f)d=this.drawFlatCoordinatess_(h,d,a[f],c);this.endGeometry(e)}finish(){this.reverseHitDetectionInstructions(),this.state=null;const t=this.tolerance;if(t!==0){const e=this.coordinates;for(let i=0,n=e.length;i<n;++i)e[i]=mn(e[i],t)}return super.finish()}setFillStrokeStyles_(){const t=this.state;t.fillStyle!==void 0&&this.updateFillStyle(t,this.createFill),t.strokeStyle!==void 0&&this.updateStrokeStyle(t,this.applyStroke)}}const Ef=iw;function nw(r,t,e,i,n){const s=[];let a=e,h=0,c=t.slice(e,2);for(;h<r&&a+n<i;){const[d,f]=c.slice(-2),p=t[a+n],m=t[a+n+1],y=Math.sqrt((p-d)*(p-d)+(m-f)*(m-f));if(h+=y,h>=r){const v=(r-h+y)/y,A=we(d,p,v),b=we(f,m,v);c.push(A,b),s.push(c),c=[A,b],h==r&&(a+=n),h=0}else if(h<r)c.push(t[a+n],t[a+n+1]),a+=n;else{const v=y-h,A=we(d,p,v/y),b=we(f,m,v/y);c.push(A,b),s.push(c),c=[A,b],h=0,a+=n}}return h>0&&s.push(c),s}function rw(r,t,e,i,n){let s=e,a=e,h=0,c=0,d=e,f,p,m,y,v,A,b,M,w,E;for(p=e;p<i;p+=n){const C=t[p],P=t[p+1];v!==void 0&&(w=C-v,E=P-A,y=Math.sqrt(w*w+E*E),b!==void 0&&(c+=m,f=Math.acos((b*w+M*E)/(m*y)),f>r&&(c>h&&(h=c,s=d,a=p),c=0,d=p-n)),m=y,b=w,M=E),v=C,A=P}return c+=y,c>h?[d,p]:[s,a]}const Vo={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};class sw extends ns{constructor(t,e,i,n){super(t,e,i,n),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates[de]={fillStyle:de},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterImageWithText_=void 0}finish(){const t=super.finish();return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t}drawText(t,e){const i=this.textFillState_,n=this.textStrokeState_,s=this.textState_;if(this.text_===""||!s||!i&&!n)return;const a=this.coordinates;let h=a.length;const c=t.getType();let d=null,f=t.getStride();if(s.placement==="line"&&(c=="LineString"||c=="MultiLineString"||c=="Polygon"||c=="MultiPolygon")){if(!ce(this.getBufferedMaxExtent(),t.getExtent()))return;let p;if(d=t.getFlatCoordinates(),c=="LineString")p=[d.length];else if(c=="MultiLineString")p=t.getEnds();else if(c=="Polygon")p=t.getEnds().slice(0,1);else if(c=="MultiPolygon"){const A=t.getEndss();p=[];for(let b=0,M=A.length;b<M;++b)p.push(A[b][0])}this.beginGeometry(t,e);const m=s.repeat,y=m?void 0:s.textAlign;let v=0;for(let A=0,b=p.length;A<b;++A){let M;m?M=nw(m*this.resolution,d,v,p[A],f):M=[d.slice(v,p[A])];for(let w=0,E=M.length;w<E;++w){const C=M[w];let P=0,D=C.length;if(y==null){const R=rw(s.maxAngle,C,0,C.length,2);P=R[0],D=R[1]}for(let R=P;R<D;R+=f)a.push(C[R],C[R+1]);const O=a.length;v=p[A],this.drawChars_(h,O),h=O}}this.endGeometry(e)}else{let p=s.overflow?null:[];switch(c){case"Point":case"MultiPoint":d=t.getFlatCoordinates();break;case"LineString":d=t.getFlatMidpoint();break;case"Circle":d=t.getCenter();break;case"MultiLineString":d=t.getFlatMidpoints(),f=2;break;case"Polygon":d=t.getFlatInteriorPoint(),s.overflow||p.push(d[2]/this.resolution),f=3;break;case"MultiPolygon":const M=t.getFlatInteriorPoints();d=[];for(let w=0,E=M.length;w<E;w+=3)s.overflow||p.push(M[w+2]/this.resolution),d.push(M[w],M[w+1]);if(d.length===0)return;f=2;break}const m=this.appendFlatPointCoordinates(d,f);if(m===h)return;if(p&&(m-h)/2!==d.length/f){let M=h/2;p=p.filter((w,E)=>{const C=a[(M+E)*2]===d[E*f]&&a[(M+E)*2+1]===d[E*f+1];return C||--M,C})}this.saveTextStates_(),(s.backgroundFill||s.backgroundStroke)&&(this.setFillStrokeStyle(s.backgroundFill,s.backgroundStroke),s.backgroundFill&&this.updateFillStyle(this.state,this.createFill),s.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e);let y=s.padding;if(y!=yn&&(s.scale[0]<0||s.scale[1]<0)){let M=s.padding[0],w=s.padding[1],E=s.padding[2],C=s.padding[3];s.scale[0]<0&&(w=-w,C=-C),s.scale[1]<0&&(M=-M,E=-E),y=[M,w,E,C]}const v=this.pixelRatio;this.instructions.push([st.DRAW_IMAGE,h,m,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,void 0,this.declutterImageWithText_,y==yn?yn:y.map(function(M){return M*v}),!!s.backgroundFill,!!s.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,p]);const A=1/v,b=this.state.fillStyle;s.backgroundFill&&(this.state.fillStyle=de,this.hitDetectionInstructions.push(this.createFill(this.state))),this.hitDetectionInstructions.push([st.DRAW_IMAGE,h,m,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[A,A],NaN,void 0,this.declutterImageWithText_,y,!!s.backgroundFill,!!s.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?de:this.fillKey_,this.textOffsetX_,this.textOffsetY_,p]),s.backgroundFill&&(this.state.fillStyle=b,this.hitDetectionInstructions.push(this.createFill(this.state))),this.endGeometry(e)}}saveTextStates_(){const t=this.textStrokeState_,e=this.textState_,i=this.textFillState_,n=this.strokeKey_;t&&(n in this.strokeStates||(this.strokeStates[n]={strokeStyle:t.strokeStyle,lineCap:t.lineCap,lineDashOffset:t.lineDashOffset,lineWidth:t.lineWidth,lineJoin:t.lineJoin,miterLimit:t.miterLimit,lineDash:t.lineDash}));const s=this.textKey_;s in this.textStates||(this.textStates[s]={font:e.font,textAlign:e.textAlign||Ur,justify:e.justify,textBaseline:e.textBaseline||Ao,scale:e.scale});const a=this.fillKey_;i&&(a in this.fillStates||(this.fillStates[a]={fillStyle:i.fillStyle}))}drawChars_(t,e){const i=this.textStrokeState_,n=this.textState_,s=this.strokeKey_,a=this.textKey_,h=this.fillKey_;this.saveTextStates_();const c=this.pixelRatio,d=Vo[n.textBaseline],f=this.textOffsetY_*c,p=this.text_,m=i?i.lineWidth*Math.abs(n.scale[0])/2:0;this.instructions.push([st.DRAW_CHARS,t,e,d,n.overflow,h,n.maxAngle,c,f,s,m*c,p,a,1]),this.hitDetectionInstructions.push([st.DRAW_CHARS,t,e,d,n.overflow,h&&de,n.maxAngle,c,f,s,m*c,p,a,1/c])}setTextStyle(t,e){let i,n,s;if(!t)this.text_="";else{const a=t.getFill();a?(n=this.textFillState_,n||(n={},this.textFillState_=n),n.fillStyle=Xe(a.getColor()||de)):(n=null,this.textFillState_=n);const h=t.getStroke();if(!h)s=null,this.textStrokeState_=s;else{s=this.textStrokeState_,s||(s={},this.textStrokeState_=s);const v=h.getLineDash(),A=h.getLineDashOffset(),b=h.getWidth(),M=h.getMiterLimit();s.lineCap=h.getLineCap()||Un,s.lineDash=v?v.slice():ci,s.lineDashOffset=A===void 0?ui:A,s.lineJoin=h.getLineJoin()||jn,s.lineWidth=b===void 0?jr:b,s.miterLimit=M===void 0?Nr:M,s.strokeStyle=Xe(h.getColor()||Gr)}i=this.textState_;const c=t.getFont()||nd;By(c);const d=t.getScaleArray();i.overflow=t.getOverflow(),i.font=c,i.maxAngle=t.getMaxAngle(),i.placement=t.getPlacement(),i.textAlign=t.getTextAlign(),i.repeat=t.getRepeat(),i.justify=t.getJustify(),i.textBaseline=t.getTextBaseline()||Ao,i.backgroundFill=t.getBackgroundFill(),i.backgroundStroke=t.getBackgroundStroke(),i.padding=t.getPadding()||yn,i.scale=d===void 0?[1,1]:d;const f=t.getOffsetX(),p=t.getOffsetY(),m=t.getRotateWithView(),y=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=f===void 0?0:f,this.textOffsetY_=p===void 0?0:p,this.textRotateWithView_=m===void 0?!1:m,this.textRotation_=y===void 0?0:y,this.strokeKey_=s?(typeof s.strokeStyle=="string"?s.strokeStyle:gt(s.strokeStyle))+s.lineCap+s.lineDashOffset+"|"+s.lineWidth+s.lineJoin+s.miterLimit+"["+s.lineDash.join()+"]":"",this.textKey_=i.font+i.scale+(i.textAlign||"?")+(i.repeat||"?")+(i.justify||"?")+(i.textBaseline||"?"),this.fillKey_=n?typeof n.fillStyle=="string"?n.fillStyle:"|"+gt(n.fillStyle):""}this.declutterImageWithText_=e}}const ow={Circle:Ef,Default:ns,Image:$A,LineString:ew,Polygon:Ef,Text:sw};class aw{constructor(t,e,i,n){this.tolerance_=t,this.maxExtent_=e,this.pixelRatio_=n,this.resolution_=i,this.buildersByZIndex_={}}finish(){const t={};for(const e in this.buildersByZIndex_){t[e]=t[e]||{};const i=this.buildersByZIndex_[e];for(const n in i){const s=i[n].finish();t[e][n]=s}}return t}getBuilder(t,e){const i=t!==void 0?t.toString():"0";let n=this.buildersByZIndex_[i];n===void 0&&(n={},this.buildersByZIndex_[i]=n);let s=n[e];if(s===void 0){const a=ow[e];s=new a(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),n[e]=s}return s}}const Cf=aw;function lw(r,t,e,i,n,s,a,h,c,d,f,p){let m=r[t],y=r[t+1],v=0,A=0,b=0,M=0;function w(){v=m,A=y,t+=i,m=r[t],y=r[t+1],M+=b,b=Math.sqrt((m-v)*(m-v)+(y-A)*(y-A))}do w();while(t<e-i&&M+b<s);let E=b===0?0:(s-M)/b;const C=we(v,m,E),P=we(A,y,E),D=t-i,O=M,R=s+h*c(d,n,f);for(;t<e-i&&M+b<R;)w();E=b===0?0:(R-M)/b;const z=we(v,m,E),j=we(A,y,E);let U;if(p){const Y=[C,P,z,j];bu(Y,0,4,2,p,Y,Y),U=Y[0]>Y[2]}else U=C>z;const V=Math.PI,tt=[],at=D+i===t;t=D,b=0,M=O,m=r[t],y=r[t+1];let W;if(at){w(),W=Math.atan2(y-A,m-v),U&&(W+=W>0?-V:V);const Y=(z+C)/2,H=(j+P)/2;return tt[0]=[Y,H,(R-s)/2,W,n],tt}n=n.replace(/\n/g," ");for(let Y=0,H=n.length;Y<H;){w();let B=Math.atan2(y-A,m-v);if(U&&(B+=B>0?-V:V),W!==void 0){let q=B-W;if(q+=q>V?-2*V:q<-V?2*V:0,Math.abs(q)>a)return null}W=B;const nt=Y;let Z=0;for(;Y<H;++Y){const q=U?H-Y-1:Y,et=h*c(d,n[q],f);if(t+i<e&&M+b<s+Z+et/2)break;Z+=et}if(Y===nt)continue;const rt=U?n.substring(H-nt,H-Y):n.substring(nt,Y);E=b===0?0:(s+Z/2-M)/b;const F=we(v,m,E),ft=we(A,y,E);tt.push([F,ft,Z/2,B,rt]),s+=Z}return tt}const sr=xe(),Yi=[],yi=[],vi=[],Zi=[];function Lf(r){return r[3].declutterBox}const bf=new RegExp("["+String.fromCharCode(1425)+"-"+String.fromCharCode(2303)+String.fromCharCode(64285)+"-"+String.fromCharCode(65023)+String.fromCharCode(65136)+"-"+String.fromCharCode(65276)+String.fromCharCode(67584)+"-"+String.fromCharCode(69631)+String.fromCharCode(124928)+"-"+String.fromCharCode(126975)+"]");function mh(r,t){return t==="start"?t=bf.test(r)?"right":"left":t==="end"&&(t=bf.test(r)?"left":"right"),Vo[t]}function hw(r,t,e){return e>0&&r.push(`
465
- `,""),r.push(t,""),r}class cw{constructor(t,e,i,n){this.overlaps=i,this.pixelRatio=e,this.resolution=t,this.alignFill_,this.instructions=n.instructions,this.coordinates=n.coordinates,this.coordinateCache_={},this.renderedTransform_=Yt(),this.hitDetectionInstructions=n.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=n.fillStates||{},this.strokeStates=n.strokeStates||{},this.textStates=n.textStates||{},this.widths_={},this.labels_={}}createLabel(t,e,i,n){const s=t+e+i+n;if(this.labels_[s])return this.labels_[s];const a=n?this.strokeStates[n]:null,h=i?this.fillStates[i]:null,c=this.textStates[e],d=this.pixelRatio,f=[c.scale[0]*d,c.scale[1]*d],p=Array.isArray(t),m=c.justify?Vo[c.justify]:mh(Array.isArray(t)?t[0]:t,c.textAlign||Ur),y=n&&a.lineWidth?a.lineWidth:0,v=p?t:t.split(`
466
- `).reduce(hw,[]),{width:A,height:b,widths:M,heights:w,lineWidths:E}=Gy(c,v),C=A+y,P=[],D=(C+2)*f[0],O=(b+y)*f[1],R={width:D<0?Math.floor(D):Math.ceil(D),height:O<0?Math.floor(O):Math.ceil(O),contextInstructions:P};(f[0]!=1||f[1]!=1)&&P.push("scale",f),n&&(P.push("strokeStyle",a.strokeStyle),P.push("lineWidth",y),P.push("lineCap",a.lineCap),P.push("lineJoin",a.lineJoin),P.push("miterLimit",a.miterLimit),P.push("setLineDash",[a.lineDash]),P.push("lineDashOffset",a.lineDashOffset)),i&&P.push("fillStyle",h.fillStyle),P.push("textBaseline","middle"),P.push("textAlign","center");const z=.5-m;let j=m*C+z*y;const U=[],V=[];let tt=0,at=0,W=0,Y=0,H;for(let B=0,nt=v.length;B<nt;B+=2){const Z=v[B];if(Z===`
467
- `){at+=tt,tt=0,j=m*C+z*y,++Y;continue}const rt=v[B+1]||c.font;rt!==H&&(n&&U.push("font",rt),i&&V.push("font",rt),H=rt),tt=Math.max(tt,w[W]);const F=[Z,j+z*M[W]+m*(M[W]-E[Y]),.5*(y+tt)+at];j+=M[W],n&&U.push("strokeText",F),i&&V.push("fillText",F),++W}return Array.prototype.push.apply(P,U),Array.prototype.push.apply(P,V),this.labels_[s]=R,R}replayTextBackground_(t,e,i,n,s,a,h){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,i),t.lineTo.apply(t,n),t.lineTo.apply(t,s),t.lineTo.apply(t,e),a&&(this.alignFill_=a[2],this.fill_(t)),h&&(this.setStrokeStyle_(t,h),t.stroke())}calculateImageOrLabelDimensions_(t,e,i,n,s,a,h,c,d,f,p,m,y,v,A,b){h*=m[0],c*=m[1];let M=i-h,w=n-c;const E=s+d>t?t-d:s,C=a+f>e?e-f:a,P=v[3]+E*m[0]+v[1],D=v[0]+C*m[1]+v[2],O=M-v[3],R=w-v[0];(A||p!==0)&&(Yi[0]=O,Zi[0]=O,Yi[1]=R,yi[1]=R,yi[0]=O+P,vi[0]=yi[0],vi[1]=R+D,Zi[1]=vi[1]);let z;return p!==0?(z=Re(Yt(),i,n,1,1,p,-i,-n),Bt(z,Yi),Bt(z,yi),Bt(z,vi),Bt(z,Zi),Di(Math.min(Yi[0],yi[0],vi[0],Zi[0]),Math.min(Yi[1],yi[1],vi[1],Zi[1]),Math.max(Yi[0],yi[0],vi[0],Zi[0]),Math.max(Yi[1],yi[1],vi[1],Zi[1]),sr)):Di(Math.min(O,O+P),Math.min(R,R+D),Math.max(O,O+P),Math.max(R,R+D),sr),y&&(M=Math.round(M),w=Math.round(w)),{drawImageX:M,drawImageY:w,drawImageW:E,drawImageH:C,originX:d,originY:f,declutterBox:{minX:sr[0],minY:sr[1],maxX:sr[2],maxY:sr[3],value:b},canvasTransform:z,scale:m}}replayImageOrLabel_(t,e,i,n,s,a,h){const c=!!(a||h),d=n.declutterBox,f=t.canvas,p=h?h[2]*n.scale[0]/2:0;return d.minX-p<=f.width/e&&d.maxX+p>=0&&d.minY-p<=f.height/e&&d.maxY+p>=0&&(c&&this.replayTextBackground_(t,Yi,yi,vi,Zi,a,h),Uy(t,n.canvasTransform,s,i,n.originX,n.originY,n.drawImageW,n.drawImageH,n.drawImageX,n.drawImageY,n.scale)),!0}fill_(t){if(this.alignFill_){const e=Bt(this.renderedTransform_,[0,0]),i=512*this.pixelRatio;t.save(),t.translate(e[0]%i,e[1]%i),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()}setStrokeStyle_(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.lineDashOffset=e[7],t.setLineDash(e[6])}drawLabelWithPointPlacement_(t,e,i,n){const s=this.textStates[e],a=this.createLabel(t,e,n,i),h=this.strokeStates[i],c=this.pixelRatio,d=mh(Array.isArray(t)?t[0]:t,s.textAlign||Ur),f=Vo[s.textBaseline||Ao],p=h&&h.lineWidth?h.lineWidth:0,m=a.width/c-2*s.scale[0],y=d*m+2*(.5-d)*p,v=f*a.height/c+2*(.5-f)*p;return{label:a,anchorX:y,anchorY:v}}execute_(t,e,i,n,s,a,h,c){let d;this.pixelCoordinates_&&li(i,this.renderedTransform_)?d=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),d=Ri(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),V_(this.renderedTransform_,i));let f=0;const p=n.length;let m=0,y,v,A,b,M,w,E,C,P,D,O,R,z=0,j=0,U=null,V=null;const tt=this.coordinateCache_,at=this.viewRotation_,W=Math.round(Math.atan2(-i[1],i[0])*1e12)/1e12,Y={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:at},H=this.instructions!=n||this.overlaps?0:200;let B,nt,Z,rt;for(;f<p;){const F=n[f];switch(F[0]){case st.BEGIN_GEOMETRY:B=F[1],rt=F[3],B.getGeometry()?h!==void 0&&!ce(h,rt.getExtent())?f=F[2]+1:++f:f=F[2];break;case st.BEGIN_PATH:z>H&&(this.fill_(t),z=0),j>H&&(t.stroke(),j=0),!z&&!j&&(t.beginPath(),b=NaN,M=NaN),++f;break;case st.CIRCLE:m=F[1];const q=d[m],et=d[m+1],ct=d[m+2],Dt=d[m+3],Xt=ct-q,be=Dt-et,qe=Math.sqrt(Xt*Xt+be*be);t.moveTo(q+qe,et),t.arc(q,et,qe,0,2*Math.PI,!0),++f;break;case st.CLOSE_PATH:t.closePath(),++f;break;case st.CUSTOM:m=F[1],y=F[2];const Xi=F[3],Te=F[4],Vi=F.length==6?F[5]:void 0;Y.geometry=Xi,Y.feature=B,f in tt||(tt[f]=[]);const Je=tt[f];Vi?Vi(d,m,y,2,Je):(Je[0]=d[m],Je[1]=d[m+1],Je.length=2),Te(Je,Y),++f;break;case st.DRAW_IMAGE:m=F[1],y=F[2],C=F[3],v=F[4],A=F[5];let Ki=F[6];const Fe=F[7],Qi=F[8],Ai=F[9],or=F[10];let wi=F[11];const wn=F[12];let Qt=F[13];const ae=F[14],Ce=F[15];if(!C&&F.length>=20){P=F[19],D=F[20],O=F[21],R=F[22];const le=this.drawLabelWithPointPlacement_(P,D,O,R);C=le.label,F[3]=C;const en=F[23];v=(le.anchorX-en)*this.pixelRatio,F[4]=v;const pe=F[24];A=(le.anchorY-pe)*this.pixelRatio,F[5]=A,Ki=C.height,F[6]=Ki,Qt=C.width,F[13]=Qt}let ze;F.length>25&&(ze=F[25]);let $e,ti,Be;F.length>17?($e=F[16],ti=F[17],Be=F[18]):($e=yn,ti=!1,Be=!1),or&&W?wi+=at:!or&&!W&&(wi-=at);let qi=0;for(;m<y;m+=2){if(ze&&ze[qi++]<Qt/this.pixelRatio)continue;const le=this.calculateImageOrLabelDimensions_(C.width,C.height,d[m],d[m+1],Qt,Ki,v,A,Qi,Ai,wi,wn,s,$e,ti||Be,B),en=[t,e,C,le,Fe,ti?U:null,Be?V:null];if(c){if(ae==="none")continue;if(ae==="obstacle"){c.insert(le.declutterBox);continue}else{let pe,Ne;if(Ce){const qt=y-m;if(!Ce[qt]){Ce[qt]=en;continue}if(pe=Ce[qt],delete Ce[qt],Ne=Lf(pe),c.collides(Ne))continue}if(c.collides(le.declutterBox))continue;pe&&(c.insert(Ne),this.replayImageOrLabel_.apply(this,pe)),c.insert(le.declutterBox)}}this.replayImageOrLabel_.apply(this,en)}++f;break;case st.DRAW_CHARS:const En=F[1],Vt=F[2],rs=F[3],Ko=F[4];R=F[5];const ss=F[6],os=F[7],Qo=F[8];O=F[9];const Ei=F[10];P=F[11],D=F[12];const qo=[F[13],F[13]],as=this.textStates[D],Ji=as.font,$i=[as.scale[0]*os,as.scale[1]*os];let tn;Ji in this.widths_?tn=this.widths_[Ji]:(tn={},this.widths_[Ji]=tn);const Jo=pf(d,En,Vt,2),$o=Math.abs($i[0])*sd(Ji,P,tn);if(Ko||$o<=Jo){const le=this.textStates[D].textAlign,en=(Jo-$o)*mh(P,le),pe=lw(d,En,Vt,2,P,en,ss,Math.abs($i[0]),sd,Ji,tn,W?0:this.viewRotation_);t:if(pe){const Ne=[];let qt,ar,lr,se,me;if(O)for(qt=0,ar=pe.length;qt<ar;++qt){me=pe[qt],lr=me[4],se=this.createLabel(lr,D,"",O),v=me[2]+($i[0]<0?-Ei:Ei),A=rs*se.height+(.5-rs)*2*Ei*$i[1]/$i[0]-Qo;const Nt=this.calculateImageOrLabelDimensions_(se.width,se.height,me[0],me[1],se.width,se.height,v,A,0,0,me[3],qo,!1,yn,!1,B);if(c&&c.collides(Nt.declutterBox))break t;Ne.push([t,e,se,Nt,1,null,null])}if(R)for(qt=0,ar=pe.length;qt<ar;++qt){me=pe[qt],lr=me[4],se=this.createLabel(lr,D,R,""),v=me[2],A=rs*se.height-Qo;const Nt=this.calculateImageOrLabelDimensions_(se.width,se.height,me[0],me[1],se.width,se.height,v,A,0,0,me[3],qo,!1,yn,!1,B);if(c&&c.collides(Nt.declutterBox))break t;Ne.push([t,e,se,Nt,1,null,null])}c&&c.load(Ne.map(Lf));for(let Nt=0,J=Ne.length;Nt<J;++Nt)this.replayImageOrLabel_.apply(this,Ne[Nt])}}++f;break;case st.END_GEOMETRY:if(a!==void 0){B=F[1];const le=a(B,rt);if(le)return le}++f;break;case st.FILL:H?z++:this.fill_(t),++f;break;case st.MOVE_TO_LINE_TO:for(m=F[1],y=F[2],nt=d[m],Z=d[m+1],w=nt+.5|0,E=Z+.5|0,(w!==b||E!==M)&&(t.moveTo(nt,Z),b=w,M=E),m+=2;m<y;m+=2)nt=d[m],Z=d[m+1],w=nt+.5|0,E=Z+.5|0,(m==y-2||w!==b||E!==M)&&(t.lineTo(nt,Z),b=w,M=E);++f;break;case st.SET_FILL_STYLE:U=F,this.alignFill_=F[2],z&&(this.fill_(t),z=0,j&&(t.stroke(),j=0)),t.fillStyle=F[1],++f;break;case st.SET_STROKE_STYLE:V=F,j&&(t.stroke(),j=0),this.setStrokeStyle_(t,F),++f;break;case st.STROKE:H?j++:t.stroke(),++f;break;default:++f;break}}z&&this.fill_(t),j&&t.stroke()}execute(t,e,i,n,s,a){this.viewRotation_=n,this.execute_(t,e,i,this.instructions,s,void 0,void 0,a)}executeHitDetection(t,e,i,n,s){return this.viewRotation_=i,this.execute_(t,1,e,this.hitDetectionInstructions,!0,n,s)}}const uw=cw,_h=["Polygon","Circle","LineString","Image","Text","Default"];class dw{constructor(t,e,i,n,s,a){this.maxExtent_=t,this.overlaps_=n,this.pixelRatio_=i,this.resolution_=e,this.renderBuffer_=a,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=Yt(),this.createExecutors_(s)}clip(t,e){const i=this.getClipCoords(e);t.beginPath(),t.moveTo(i[0],i[1]),t.lineTo(i[2],i[3]),t.lineTo(i[4],i[5]),t.lineTo(i[6],i[7]),t.clip()}createExecutors_(t){for(const e in t){let i=this.executorsByZIndex_[e];i===void 0&&(i={},this.executorsByZIndex_[e]=i);const n=t[e];for(const s in n){const a=n[s];i[s]=new uw(this.resolution_,this.pixelRatio_,this.overlaps_,a)}}}hasExecutors(t){for(const e in this.executorsByZIndex_){const i=this.executorsByZIndex_[e];for(let n=0,s=t.length;n<s;++n)if(t[n]in i)return!0}return!1}forEachFeatureAtCoordinate(t,e,i,n,s,a){n=Math.round(n);const h=n*2+1,c=Re(this.hitDetectionTransform_,n+.5,n+.5,1/e,-1/e,-i,-t[0],-t[1]),d=!this.hitDetectionContext_;d&&(this.hitDetectionContext_=ee(h,h,void 0,{willReadFrequently:!0}));const f=this.hitDetectionContext_;f.canvas.width!==h||f.canvas.height!==h?(f.canvas.width=h,f.canvas.height=h):d||f.clearRect(0,0,h,h);let p;this.renderBuffer_!==void 0&&(p=xe(),Pr(p,t),Vs(p,e*(this.renderBuffer_+n),p));const m=fw(n);let y;function v(P,D){const O=f.getImageData(0,0,h,h).data;for(let R=0,z=m.length;R<z;R++)if(O[m[R]]>0){if(!a||y!=="Image"&&y!=="Text"||a.includes(P)){const j=(m[R]-3)/4,U=n-j%h,V=n-(j/h|0),tt=s(P,D,U*U+V*V);if(tt)return tt}f.clearRect(0,0,h,h);break}}const A=Object.keys(this.executorsByZIndex_).map(Number);A.sort(Pi);let b,M,w,E,C;for(b=A.length-1;b>=0;--b){const P=A[b].toString();for(w=this.executorsByZIndex_[P],M=_h.length-1;M>=0;--M)if(y=_h[M],E=w[y],E!==void 0&&(C=E.executeHitDetection(f,c,i,v,p),C))return C}}getClipCoords(t){const e=this.maxExtent_;if(!e)return null;const i=e[0],n=e[1],s=e[2],a=e[3],h=[i,n,i,a,s,a,s,n];return Ri(h,0,8,2,t,h),h}isEmpty(){return on(this.executorsByZIndex_)}execute(t,e,i,n,s,a,h){const c=Object.keys(this.executorsByZIndex_).map(Number);c.sort(Pi),this.maxExtent_&&(t.save(),this.clip(t,i)),a=a||_h;let d,f,p,m,y,v;for(h&&c.reverse(),d=0,f=c.length;d<f;++d){const A=c[d].toString();for(y=this.executorsByZIndex_[A],p=0,m=a.length;p<m;++p){const b=a[p];v=y[b],v!==void 0&&v.execute(t,e,i,n,s,h)}}this.maxExtent_&&t.restore()}}const yh={};function fw(r){if(yh[r]!==void 0)return yh[r];const t=r*2+1,e=r*r,i=new Array(e+1);for(let s=0;s<=r;++s)for(let a=0;a<=r;++a){const h=s*s+a*a;if(h>e)break;let c=i[h];c||(c=[],i[h]=c),c.push(((r+s)*t+(r+a))*4+3),s>0&&c.push(((r-s)*t+(r+a))*4+3),a>0&&(c.push(((r+s)*t+(r-a))*4+3),s>0&&c.push(((r-s)*t+(r-a))*4+3))}const n=[];for(let s=0,a=i.length;s<a;++s)i[s]&&n.push(...i[s]);return yh[r]=n,n}const Tf=dw;class gw extends wf{constructor(t,e,i,n,s,a,h){super(),this.context_=t,this.pixelRatio_=e,this.extent_=i,this.transform_=n,this.transformRotation_=n?Ka(Math.atan2(n[1],n[0]),10):0,this.viewRotation_=s,this.squaredTolerance_=a,this.userTransform_=h,this.contextFillState_=null,this.contextStrokeState_=null,this.contextTextState_=null,this.fillState_=null,this.strokeState_=null,this.image_=null,this.imageAnchorX_=0,this.imageAnchorY_=0,this.imageHeight_=0,this.imageOpacity_=0,this.imageOriginX_=0,this.imageOriginY_=0,this.imageRotateWithView_=!1,this.imageRotation_=0,this.imageScale_=[0,0],this.imageWidth_=0,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=!1,this.textRotation_=0,this.textScale_=[0,0],this.textFillState_=null,this.textStrokeState_=null,this.textState_=null,this.pixelCoordinates_=[],this.tmpLocalTransform_=Yt()}drawImages_(t,e,i,n){if(!this.image_)return;const s=Ri(t,e,i,n,this.transform_,this.pixelCoordinates_),a=this.context_,h=this.tmpLocalTransform_,c=a.globalAlpha;this.imageOpacity_!=1&&(a.globalAlpha=c*this.imageOpacity_);let d=this.imageRotation_;this.transformRotation_===0&&(d-=this.viewRotation_),this.imageRotateWithView_&&(d+=this.viewRotation_);for(let f=0,p=s.length;f<p;f+=2){const m=s[f]-this.imageAnchorX_,y=s[f+1]-this.imageAnchorY_;if(d!==0||this.imageScale_[0]!=1||this.imageScale_[1]!=1){const v=m+this.imageAnchorX_,A=y+this.imageAnchorY_;Re(h,v,A,1,1,d,-v,-A),a.save(),a.transform.apply(a,h),a.translate(v,A),a.scale(this.imageScale_[0],this.imageScale_[1]),a.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),a.restore()}else a.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,m,y,this.imageWidth_,this.imageHeight_)}this.imageOpacity_!=1&&(a.globalAlpha=c)}drawText_(t,e,i,n){if(!this.textState_||this.text_==="")return;this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);const s=Ri(t,e,i,n,this.transform_,this.pixelCoordinates_),a=this.context_;let h=this.textRotation_;for(this.transformRotation_===0&&(h-=this.viewRotation_),this.textRotateWithView_&&(h+=this.viewRotation_);e<i;e+=n){const c=s[e]+this.textOffsetX_,d=s[e+1]+this.textOffsetY_;h!==0||this.textScale_[0]!=1||this.textScale_[1]!=1?(a.save(),a.translate(c-this.textOffsetX_,d-this.textOffsetY_),a.rotate(h),a.translate(this.textOffsetX_,this.textOffsetY_),a.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&a.strokeText(this.text_,0,0),this.textFillState_&&a.fillText(this.text_,0,0),a.restore()):(this.textStrokeState_&&a.strokeText(this.text_,c,d),this.textFillState_&&a.fillText(this.text_,c,d))}}moveToLineTo_(t,e,i,n,s){const a=this.context_,h=Ri(t,e,i,n,this.transform_,this.pixelCoordinates_);a.moveTo(h[0],h[1]);let c=h.length;s&&(c-=2);for(let d=2;d<c;d+=2)a.lineTo(h[d],h[d+1]);return s&&a.closePath(),i}drawRings_(t,e,i,n){for(let s=0,a=i.length;s<a;++s)e=this.moveToLineTo_(t,e,i[s],n,!0);return e}drawCircle(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!ce(this.extent_,t.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=ey(t,this.transform_,this.pixelCoordinates_),i=e[2]-e[0],n=e[3]-e[1],s=Math.sqrt(i*i+n*n),a=this.context_;a.beginPath(),a.arc(e[0],e[1],s,0,2*Math.PI),this.fillState_&&a.fill(),this.strokeState_&&a.stroke()}this.text_!==""&&this.drawText_(t.getCenter(),0,2,2)}}setStyle(t){this.setFillStrokeStyle(t.getFill(),t.getStroke()),this.setImageStyle(t.getImage()),this.setTextStyle(t.getText())}setTransform(t){this.transform_=t}drawGeometry(t){switch(t.getType()){case"Point":this.drawPoint(t);break;case"LineString":this.drawLineString(t);break;case"Polygon":this.drawPolygon(t);break;case"MultiPoint":this.drawMultiPoint(t);break;case"MultiLineString":this.drawMultiLineString(t);break;case"MultiPolygon":this.drawMultiPolygon(t);break;case"GeometryCollection":this.drawGeometryCollection(t);break;case"Circle":this.drawCircle(t);break}}drawFeature(t,e){const i=e.getGeometryFunction()(t);i&&(this.setStyle(e),this.drawGeometry(i))}drawGeometryCollection(t){const e=t.getGeometriesArray();for(let i=0,n=e.length;i<n;++i)this.drawGeometry(e[i])}drawPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),this.text_!==""&&this.drawText_(e,0,e.length,i)}drawMultiPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),this.text_!==""&&this.drawText_(e,0,e.length,i)}drawLineString(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!ce(this.extent_,t.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getFlatCoordinates();e.beginPath(),this.moveToLineTo_(i,0,i.length,t.getStride(),!1),e.stroke()}if(this.text_!==""){const e=t.getFlatMidpoint();this.drawText_(e,0,2,2)}}}drawMultiLineString(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getExtent();if(ce(this.extent_,e)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const i=this.context_,n=t.getFlatCoordinates();let s=0;const a=t.getEnds(),h=t.getStride();i.beginPath();for(let c=0,d=a.length;c<d;++c)s=this.moveToLineTo_(n,s,a[c],h,!1);i.stroke()}if(this.text_!==""){const i=t.getFlatMidpoints();this.drawText_(i,0,i.length,2)}}}drawPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!ce(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_;e.beginPath(),this.drawRings_(t.getOrientedFlatCoordinates(),0,t.getEnds(),t.getStride()),this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(this.text_!==""){const e=t.getFlatInteriorPoint();this.drawText_(e,0,2,2)}}}drawMultiPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!ce(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getOrientedFlatCoordinates();let n=0;const s=t.getEndss(),a=t.getStride();e.beginPath();for(let h=0,c=s.length;h<c;++h){const d=s[h];n=this.drawRings_(i,n,d,a)}this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(this.text_!==""){const e=t.getFlatInteriorPoints();this.drawText_(e,0,e.length,2)}}}setContextFillState_(t){const e=this.context_,i=this.contextFillState_;i?i.fillStyle!=t.fillStyle&&(i.fillStyle=t.fillStyle,e.fillStyle=t.fillStyle):(e.fillStyle=t.fillStyle,this.contextFillState_={fillStyle:t.fillStyle})}setContextStrokeState_(t){const e=this.context_,i=this.contextStrokeState_;i?(i.lineCap!=t.lineCap&&(i.lineCap=t.lineCap,e.lineCap=t.lineCap),li(i.lineDash,t.lineDash)||e.setLineDash(i.lineDash=t.lineDash),i.lineDashOffset!=t.lineDashOffset&&(i.lineDashOffset=t.lineDashOffset,e.lineDashOffset=t.lineDashOffset),i.lineJoin!=t.lineJoin&&(i.lineJoin=t.lineJoin,e.lineJoin=t.lineJoin),i.lineWidth!=t.lineWidth&&(i.lineWidth=t.lineWidth,e.lineWidth=t.lineWidth),i.miterLimit!=t.miterLimit&&(i.miterLimit=t.miterLimit,e.miterLimit=t.miterLimit),i.strokeStyle!=t.strokeStyle&&(i.strokeStyle=t.strokeStyle,e.strokeStyle=t.strokeStyle)):(e.lineCap=t.lineCap,e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset,e.lineJoin=t.lineJoin,e.lineWidth=t.lineWidth,e.miterLimit=t.miterLimit,e.strokeStyle=t.strokeStyle,this.contextStrokeState_={lineCap:t.lineCap,lineDash:t.lineDash,lineDashOffset:t.lineDashOffset,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})}setContextTextState_(t){const e=this.context_,i=this.contextTextState_,n=t.textAlign?t.textAlign:Ur;i?(i.font!=t.font&&(i.font=t.font,e.font=t.font),i.textAlign!=n&&(i.textAlign=n,e.textAlign=n),i.textBaseline!=t.textBaseline&&(i.textBaseline=t.textBaseline,e.textBaseline=t.textBaseline)):(e.font=t.font,e.textAlign=n,e.textBaseline=t.textBaseline,this.contextTextState_={font:t.font,textAlign:n,textBaseline:t.textBaseline})}setFillStrokeStyle(t,e){if(!t)this.fillState_=null;else{const i=t.getColor();this.fillState_={fillStyle:Xe(i||de)}}if(!e)this.strokeState_=null;else{const i=e.getColor(),n=e.getLineCap(),s=e.getLineDash(),a=e.getLineDashOffset(),h=e.getLineJoin(),c=e.getWidth(),d=e.getMiterLimit(),f=s||ci;this.strokeState_={lineCap:n!==void 0?n:Un,lineDash:this.pixelRatio_===1?f:f.map(p=>p*this.pixelRatio_),lineDashOffset:(a||ui)*this.pixelRatio_,lineJoin:h!==void 0?h:jn,lineWidth:(c!==void 0?c:jr)*this.pixelRatio_,miterLimit:d!==void 0?d:Nr,strokeStyle:Xe(i||Gr)}}}setImageStyle(t){let e;if(!t||!(e=t.getSize())){this.image_=null;return}const i=t.getPixelRatio(this.pixelRatio_),n=t.getAnchor(),s=t.getOrigin();this.image_=t.getImage(this.pixelRatio_),this.imageAnchorX_=n[0]*i,this.imageAnchorY_=n[1]*i,this.imageHeight_=e[1]*i,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=s[0],this.imageOriginY_=s[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation();const a=t.getScaleArray();this.imageScale_=[a[0]*this.pixelRatio_/i,a[1]*this.pixelRatio_/i],this.imageWidth_=e[0]*i}setTextStyle(t){if(!t)this.text_="";else{const e=t.getFill();if(!e)this.textFillState_=null;else{const y=e.getColor();this.textFillState_={fillStyle:Xe(y||de)}}const i=t.getStroke();if(!i)this.textStrokeState_=null;else{const y=i.getColor(),v=i.getLineCap(),A=i.getLineDash(),b=i.getLineDashOffset(),M=i.getLineJoin(),w=i.getWidth(),E=i.getMiterLimit();this.textStrokeState_={lineCap:v!==void 0?v:Un,lineDash:A||ci,lineDashOffset:b||ui,lineJoin:M!==void 0?M:jn,lineWidth:w!==void 0?w:jr,miterLimit:E!==void 0?E:Nr,strokeStyle:Xe(y||Gr)}}const n=t.getFont(),s=t.getOffsetX(),a=t.getOffsetY(),h=t.getRotateWithView(),c=t.getRotation(),d=t.getScaleArray(),f=t.getText(),p=t.getTextAlign(),m=t.getTextBaseline();this.textState_={font:n!==void 0?n:nd,textAlign:p!==void 0?p:Ur,textBaseline:m!==void 0?m:Ao},this.text_=f!==void 0?Array.isArray(f)?f.reduce((y,v,A)=>y+=A%2?" ":v,""):f:"",this.textOffsetX_=s!==void 0?this.pixelRatio_*s:0,this.textOffsetY_=a!==void 0?this.pixelRatio_*a:0,this.textRotateWithView_=h!==void 0?h:!1,this.textRotation_=c!==void 0?c:0,this.textScale_=[this.pixelRatio_*d[0],this.pixelRatio_*d[1]]}}}const pw=gw,Qe=.5;function mw(r,t,e,i,n,s,a){const h=r[0]*Qe,c=r[1]*Qe,d=ee(h,c);d.imageSmoothingEnabled=!1;const f=d.canvas,p=new pw(d,Qe,n,null,a),m=e.length,y=Math.floor((256*256*256-1)/m),v={};for(let b=1;b<=m;++b){const M=e[b-1],w=M.getStyleFunction()||i;if(!w)continue;let E=w(M,s);if(!E)continue;Array.isArray(E)||(E=[E]);const P=(b*y).toString(16).padStart(7,"#00000");for(let D=0,O=E.length;D<O;++D){const R=E[D],z=R.getGeometryFunction()(M);if(!z||!ce(n,z.getExtent()))continue;const j=R.clone(),U=j.getFill();U&&U.setColor(P);const V=j.getStroke();V&&(V.setColor(P),V.setLineDash(null)),j.setText(void 0);const tt=R.getImage();if(tt){const H=tt.getImageSize();if(!H)continue;const B=ee(H[0],H[1],void 0,{alpha:!1}),nt=B.canvas;B.fillStyle=P,B.fillRect(0,0,nt.width,nt.height),j.setImage(new Wl({img:nt,anchor:tt.getAnchor(),anchorXUnits:"pixels",anchorYUnits:"pixels",offset:tt.getOrigin(),opacity:1,size:tt.getSize(),scale:tt.getScale(),rotation:tt.getRotation(),rotateWithView:tt.getRotateWithView()}))}const at=j.getZIndex()||0;let W=v[at];W||(W={},v[at]=W,W.Polygon=[],W.Circle=[],W.LineString=[],W.Point=[]);const Y=z.getType();if(Y==="GeometryCollection"){const H=z.getGeometriesArrayRecursive();for(let B=0,nt=H.length;B<nt;++B){const Z=H[B];W[Z.getType().replace("Multi","")].push(Z,j)}}else W[Y.replace("Multi","")].push(z,j)}}const A=Object.keys(v).map(Number).sort(Pi);for(let b=0,M=A.length;b<M;++b){const w=v[A[b]];for(const E in w){const C=w[E];for(let P=0,D=C.length;P<D;P+=2){p.setStyle(C[P+1]);for(let O=0,R=t.length;O<R;++O)p.setTransform(t[O]),p.drawGeometry(C[P])}}}return d.getImageData(0,0,f.width,f.height)}function _w(r,t,e){const i=[];if(e){const n=Math.floor(Math.round(r[0])*Qe),s=Math.floor(Math.round(r[1])*Qe),a=(kt(n,0,e.width-1)+kt(s,0,e.height-1)*e.width)*4,h=e.data[a],c=e.data[a+1],f=e.data[a+2]+256*(c+256*h),p=Math.floor((256*256*256-1)/t.length);f&&f%p===0&&i.push(t[f/p-1])}return i}const yw=.5,Mf={Point:Tw,LineString:Cw,Polygon:Pw,MultiPoint:Mw,MultiLineString:Lw,MultiPolygon:bw,GeometryCollection:Ew,Circle:Aw};function vw(r,t){return parseInt(gt(r),10)-parseInt(gt(t),10)}function xw(r,t){const e=vh(r,t);return e*e}function vh(r,t){return yw*r/t}function Aw(r,t,e,i,n){const s=e.getFill(),a=e.getStroke();if(s||a){const c=r.getBuilder(e.getZIndex(),"Circle");c.setFillStrokeStyle(s,a),c.drawCircle(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}function Pf(r,t,e,i,n,s,a){let h=!1;const c=e.getImage();if(c){const d=c.getImageState();d==Mt.LOADED||d==Mt.ERROR?c.unlistenImageChange(n):(d==Mt.IDLE&&c.load(),c.listenImageChange(n),h=!0)}return ww(r,t,e,i,s,a),h}function ww(r,t,e,i,n,s){const a=e.getGeometryFunction()(t);if(!a)return;const h=a.simplifyTransformed(i,n);if(e.getRenderer())Df(r,h,e,t);else{const d=Mf[h.getType()];d(r,h,e,t,s)}}function Df(r,t,e,i){if(t.getType()=="GeometryCollection"){const s=t.getGeometries();for(let a=0,h=s.length;a<h;++a)Df(r,s[a],e,i);return}r.getBuilder(e.getZIndex(),"Default").drawCustom(t,i,e.getRenderer(),e.getHitDetectionRenderer())}function Ew(r,t,e,i,n){const s=t.getGeometriesArray();let a,h;for(a=0,h=s.length;a<h;++a){const c=Mf[s[a].getType()];c(r,s[a],e,i,n)}}function Cw(r,t,e,i,n){const s=e.getStroke();if(s){const h=r.getBuilder(e.getZIndex(),"LineString");h.setFillStrokeStyle(null,s),h.drawLineString(t,i)}const a=e.getText();if(a&&a.getText()){const h=(n||r).getBuilder(e.getZIndex(),"Text");h.setTextStyle(a),h.drawText(t,i)}}function Lw(r,t,e,i,n){const s=e.getStroke();if(s){const h=r.getBuilder(e.getZIndex(),"LineString");h.setFillStrokeStyle(null,s),h.drawMultiLineString(t,i)}const a=e.getText();if(a&&a.getText()){const h=(n||r).getBuilder(e.getZIndex(),"Text");h.setTextStyle(a),h.drawText(t,i)}}function bw(r,t,e,i,n){const s=e.getFill(),a=e.getStroke();if(a||s){const c=r.getBuilder(e.getZIndex(),"Polygon");c.setFillStrokeStyle(s,a),c.drawMultiPolygon(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}function Tw(r,t,e,i,n){const s=e.getImage(),a=e.getText();let h;if(s){if(s.getImageState()!=Mt.LOADED)return;let c=r;if(n){const f=s.getDeclutterMode();if(f!=="none")if(c=n,f==="obstacle"){const p=r.getBuilder(e.getZIndex(),"Image");p.setImageStyle(s,h),p.drawPoint(t,i)}else a&&a.getText()&&(h={})}const d=c.getBuilder(e.getZIndex(),"Image");d.setImageStyle(s,h),d.drawPoint(t,i)}if(a&&a.getText()){let c=r;n&&(c=n);const d=c.getBuilder(e.getZIndex(),"Text");d.setTextStyle(a,h),d.drawText(t,i)}}function Mw(r,t,e,i,n){const s=e.getImage(),a=e.getText();let h;if(s){if(s.getImageState()!=Mt.LOADED)return;let c=r;if(n){const f=s.getDeclutterMode();if(f!=="none")if(c=n,f==="obstacle"){const p=r.getBuilder(e.getZIndex(),"Image");p.setImageStyle(s,h),p.drawMultiPoint(t,i)}else a&&a.getText()&&(h={})}const d=c.getBuilder(e.getZIndex(),"Image");d.setImageStyle(s,h),d.drawMultiPoint(t,i)}if(a&&a.getText()){let c=r;n&&(c=n);const d=c.getBuilder(e.getZIndex(),"Text");d.setTextStyle(a,h),d.drawText(t,i)}}function Pw(r,t,e,i,n){const s=e.getFill(),a=e.getStroke();if(s||a){const c=r.getBuilder(e.getZIndex(),"Polygon");c.setFillStrokeStyle(s,a),c.drawPolygon(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}class Dw extends uf{constructor(t){super(t),this.boundHandleStyleImageChange_=this.handleStyleImageChange_.bind(this),this.animatingOrInteracting_,this.hitDetectionImageData_=null,this.renderedFeatures_=null,this.renderedRevision_=-1,this.renderedResolution_=NaN,this.renderedExtent_=xe(),this.wrappedRenderedExtent_=xe(),this.renderedRotation_,this.renderedCenter_=null,this.renderedProjection_=null,this.renderedRenderOrder_=null,this.replayGroup_=null,this.replayGroupChanged=!0,this.declutterExecutorGroup=null,this.clipping=!0,this.compositionContext_=null,this.opacity_=1}renderWorlds(t,e,i){const n=e.extent,s=e.viewState,a=s.center,h=s.resolution,c=s.projection,d=s.rotation,f=c.getExtent(),p=this.getLayer().getSource(),m=e.pixelRatio,y=e.viewHints,v=!(y[Ht.ANIMATING]||y[Ht.INTERACTING]),A=this.compositionContext_,b=Math.round(e.size[0]*m),M=Math.round(e.size[1]*m),w=p.getWrapX()&&c.canWrapX(),E=w?Tt(f):null,C=w?Math.ceil((n[2]-f[2])/E)+1:1;let P=w?Math.floor((n[0]-f[0])/E):0;do{const D=this.getRenderTransform(a,h,d,m,b,M,P*E);t.execute(A,1,D,d,v,void 0,i)}while(++P<C)}setupCompositionContext_(){if(this.opacity_!==1){const t=ee(this.context.canvas.width,this.context.canvas.height,cf);this.compositionContext_=t}else this.compositionContext_=this.context}releaseCompositionContext_(){if(this.opacity_!==1){const t=this.context.globalAlpha;this.context.globalAlpha=this.opacity_,this.context.drawImage(this.compositionContext_.canvas,0,0),this.context.globalAlpha=t,yo(this.compositionContext_),cf.push(this.compositionContext_.canvas),this.compositionContext_=null}}renderDeclutter(t){this.declutterExecutorGroup&&(this.setupCompositionContext_(),this.renderWorlds(this.declutterExecutorGroup,t,t.declutterTree),this.releaseCompositionContext_())}renderFrame(t,e){const i=t.pixelRatio,n=t.layerStatesArray[t.layerIndex];K_(this.pixelTransform,1/i,1/i),ro(this.inversePixelTransform,this.pixelTransform);const s=Lu(this.pixelTransform);this.useContainer(e,s,this.getBackground(t));const a=this.context,h=a.canvas,c=this.replayGroup_,d=this.declutterExecutorGroup;let f=c&&!c.isEmpty()||d&&!d.isEmpty();if(!f&&!(this.getLayer().hasListener(te.PRERENDER)||this.getLayer().hasListener(te.POSTRENDER)))return null;const p=Math.round(t.size[0]*i),m=Math.round(t.size[1]*i);h.width!=p||h.height!=m?(h.width=p,h.height=m,h.style.transform!==s&&(h.style.transform=s)):this.containerReused||a.clearRect(0,0,p,m),this.preRender(a,t);const y=t.viewState;y.projection,this.opacity_=n.opacity,this.setupCompositionContext_();let v=!1;if(f&&n.extent&&this.clipping){const A=fn(n.extent);f=ce(A,t.extent),v=f&&!hn(A,t.extent),v&&this.clipUnrotated(this.compositionContext_,t,A)}return f&&this.renderWorlds(c,t),v&&this.compositionContext_.restore(),this.releaseCompositionContext_(),this.postRender(a,t),this.renderedRotation_!==y.rotation&&(this.renderedRotation_=y.rotation,this.hitDetectionImageData_=null),this.container}getFeatures(t){return new Promise(e=>{if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const i=[this.context.canvas.width,this.context.canvas.height];Bt(this.pixelTransform,i);const n=this.renderedCenter_,s=this.renderedResolution_,a=this.renderedRotation_,h=this.renderedProjection_,c=this.wrappedRenderedExtent_,d=this.getLayer(),f=[],p=i[0]*Qe,m=i[1]*Qe;f.push(this.getRenderTransform(n,s,a,Qe,p,m,0).slice());const y=d.getSource(),v=h.getExtent();if(y.getWrapX()&&h.canWrapX()&&!hn(v,c)){let A=c[0];const b=Tt(v);let M=0,w;for(;A<v[0];)--M,w=b*M,f.push(this.getRenderTransform(n,s,a,Qe,p,m,w).slice()),A+=b;for(M=0,A=c[2];A>v[2];)++M,w=b*M,f.push(this.getRenderTransform(n,s,a,Qe,p,m,w).slice()),A-=b}this.hitDetectionImageData_=mw(i,f,this.renderedFeatures_,d.getStyleFunction(),c,s,a)}e(_w(t,this.renderedFeatures_,this.hitDetectionImageData_))})}forEachFeatureAtCoordinate(t,e,i,n,s){if(!this.replayGroup_)return;const a=e.viewState.resolution,h=e.viewState.rotation,c=this.getLayer(),d={},f=function(y,v,A){const b=gt(y),M=d[b];if(M){if(M!==!0&&A<M.distanceSq){if(A===0)return d[b]=!0,s.splice(s.lastIndexOf(M),1),n(y,c,v);M.geometry=v,M.distanceSq=A}}else{if(A===0)return d[b]=!0,n(y,c,v);s.push(d[b]={feature:y,layer:c,geometry:v,distanceSq:A,callback:n})}};let p;const m=[this.replayGroup_];return this.declutterExecutorGroup&&m.push(this.declutterExecutorGroup),m.some(y=>p=y.forEachFeatureAtCoordinate(t,a,h,i,f,y===this.declutterExecutorGroup&&e.declutterTree?e.declutterTree.all().map(v=>v.value):null)),p}handleFontsChanged(){const t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()}handleStyleImageChange_(t){this.renderIfReadyAndVisible()}prepareFrame(t){const e=this.getLayer(),i=e.getSource();if(!i)return!1;const n=t.viewHints[Ht.ANIMATING],s=t.viewHints[Ht.INTERACTING],a=e.getUpdateWhileAnimating(),h=e.getUpdateWhileInteracting();if(this.ready&&!a&&n||!h&&s)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const c=t.extent,d=t.viewState,f=d.projection,p=d.resolution,m=t.pixelRatio,y=e.getRevision(),v=e.getRenderBuffer();let A=e.getRenderOrder();A===void 0&&(A=vw);const b=d.center.slice(),M=Vs(c,v*p),w=M.slice(),E=[M.slice()],C=f.getExtent();if(i.getWrapX()&&f.canWrapX()&&!hn(C,t.extent)){const W=Tt(C),Y=Math.max(Tt(M)/2,W);M[0]=C[0]-Y,M[2]=C[2]+Y,nu(b,f);const H=iu(E[0],f);H[0]<C[0]&&H[2]<C[2]?E.push([H[0]+W,H[1],H[2]+W,H[3]]):H[0]>C[0]&&H[2]>C[2]&&E.push([H[0]-W,H[1],H[2]-W,H[3]])}if(this.ready&&this.renderedResolution_==p&&this.renderedRevision_==y&&this.renderedRenderOrder_==A&&hn(this.wrappedRenderedExtent_,M))return li(this.renderedExtent_,w)||(this.hitDetectionImageData_=null,this.renderedExtent_=w),this.renderedCenter_=b,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const P=new Cf(vh(p,m),M,p,m);let D;this.getLayer().getDeclutter()&&(D=new Cf(vh(p,m),M,p,m));let O;for(let W=0,Y=E.length;W<Y;++W)i.loadFeatures(E[W],p,f);const R=xw(p,m);let z=!0;const j=W=>{let Y;const H=W.getStyleFunction()||e.getStyleFunction();if(H&&(Y=H(W,p)),Y){const B=this.renderFeature(W,R,Y,P,O,D);z=z&&!B}},U=fu(M),V=i.getFeaturesInExtent(U);A&&V.sort(A);for(let W=0,Y=V.length;W<Y;++W)j(V[W]);this.renderedFeatures_=V,this.ready=z;const tt=P.finish(),at=new Tf(M,p,m,i.getOverlaps(),tt,e.getRenderBuffer());return D&&(this.declutterExecutorGroup=new Tf(M,p,m,i.getOverlaps(),D.finish(),e.getRenderBuffer())),this.renderedResolution_=p,this.renderedRevision_=y,this.renderedRenderOrder_=A,this.renderedExtent_=w,this.wrappedRenderedExtent_=M,this.renderedCenter_=b,this.renderedProjection_=f,this.replayGroup_=at,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0}renderFeature(t,e,i,n,s,a){if(!i)return!1;let h=!1;if(Array.isArray(i))for(let c=0,d=i.length;c<d;++c)h=Pf(n,t,i[c],e,this.boundHandleStyleImageChange_,s,a)||h;else h=Pf(n,t,i,e,this.boundHandleStyleImageChange_,s,a);return h}}const Iw=Dw;class Sw extends Vl{constructor(t){super(t)}createRenderer(){return new Iw(this)}}const If=Sw,re={ELEMENT:"element",MAP:"map",OFFSET:"offset",POSITION:"position",POSITIONING:"positioning"};class Rw extends Ie{constructor(t){super(),this.on,this.once,this.un,this.options=t,this.id=t.id,this.insertFirst=t.insertFirst!==void 0?t.insertFirst:!0,this.stopEvent=t.stopEvent!==void 0?t.stopEvent:!0,this.element=document.createElement("div"),this.element.className=t.className!==void 0?t.className:"ol-overlay-container "+Ry,this.element.style.position="absolute",this.element.style.pointerEvents="auto",this.autoPan=t.autoPan===!0?{}:t.autoPan||void 0,this.rendered={transform_:"",visible:!0},this.mapPostrenderListenerKey=null,this.addChangeListener(re.ELEMENT,this.handleElementChanged),this.addChangeListener(re.MAP,this.handleMapChanged),this.addChangeListener(re.OFFSET,this.handleOffsetChanged),this.addChangeListener(re.POSITION,this.handlePositionChanged),this.addChangeListener(re.POSITIONING,this.handlePositioningChanged),t.element!==void 0&&this.setElement(t.element),this.setOffset(t.offset!==void 0?t.offset:[0,0]),this.setPositioning(t.positioning||"top-left"),t.position!==void 0&&this.setPosition(t.position)}getElement(){return this.get(re.ELEMENT)}getId(){return this.id}getMap(){return this.get(re.MAP)||null}getOffset(){return this.get(re.OFFSET)}getPosition(){return this.get(re.POSITION)}getPositioning(){return this.get(re.POSITIONING)}handleElementChanged(){id(this.element);const t=this.getElement();t&&this.element.appendChild(t)}handleMapChanged(){this.mapPostrenderListenerKey&&(xo(this.element),bt(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);const t=this.getMap();if(t){this.mapPostrenderListenerKey=mt(t,fi.POSTRENDER,this.render,this),this.updatePixelPosition();const e=this.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this.insertFirst?e.insertBefore(this.element,e.childNodes[0]||null):e.appendChild(this.element),this.performAutoPan()}}render(){this.updatePixelPosition()}handleOffsetChanged(){this.updatePixelPosition()}handlePositionChanged(){this.updatePixelPosition(),this.performAutoPan()}handlePositioningChanged(){this.updatePixelPosition()}setElement(t){this.set(re.ELEMENT,t)}setMap(t){this.set(re.MAP,t)}setOffset(t){this.set(re.OFFSET,t)}setPosition(t){this.set(re.POSITION,t)}performAutoPan(){this.autoPan&&this.panIntoView(this.autoPan)}panIntoView(t){const e=this.getMap();if(!e||!e.getTargetElement()||!this.get(re.POSITION))return;const i=this.getRect(e.getTargetElement(),e.getSize()),n=this.getElement(),s=this.getRect(n,[Oy(n),Fy(n)]);t=t||{};const a=t.margin===void 0?20:t.margin;if(!hn(i,s)){const h=s[0]-i[0],c=i[2]-s[2],d=s[1]-i[1],f=i[3]-s[3],p=[0,0];if(h<0?p[0]=h-a:c<0&&(p[0]=Math.abs(c)+a),d<0?p[1]=d-a:f<0&&(p[1]=Math.abs(f)+a),p[0]!==0||p[1]!==0){const m=e.getView().getCenterInternal(),y=e.getPixelFromCoordinateInternal(m);if(!y)return;const v=[y[0]+p[0],y[1]+p[1]],A=t.animation||{};e.getView().animateInternal({center:e.getCoordinateFromPixelInternal(v),duration:A.duration,easing:A.easing})}}}getRect(t,e){const i=t.getBoundingClientRect(),n=i.left+window.pageXOffset,s=i.top+window.pageYOffset;return[n,s,n+e[0],s+e[1]]}setPositioning(t){this.set(re.POSITIONING,t)}setVisible(t){this.rendered.visible!==t&&(this.element.style.display=t?"":"none",this.rendered.visible=t)}updatePixelPosition(){const t=this.getMap(),e=this.getPosition();if(!t||!t.isRendered()||!e){this.setVisible(!1);return}const i=t.getPixelFromCoordinate(e),n=t.getSize();this.updateRenderedPosition(i,n)}updateRenderedPosition(t,e){const i=this.element.style,n=this.getOffset(),s=this.getPositioning();this.setVisible(!0);const a=Math.round(t[0]+n[0])+"px",h=Math.round(t[1]+n[1])+"px";let c="0%",d="0%";s=="bottom-right"||s=="center-right"||s=="top-right"?c="-100%":(s=="bottom-center"||s=="center-center"||s=="top-center")&&(c="-50%"),s=="bottom-left"||s=="bottom-center"||s=="bottom-right"?d="-100%":(s=="center-left"||s=="center-center"||s=="center-right")&&(d="-50%");const f=`translate(${c}, ${d}) translate(${a}, ${h})`;this.rendered.transform_!=f&&(this.rendered.transform_=f,i.transform=f)}getOptions(){return this.options}}const kw=Rw,Sf=["fullscreenchange","webkitfullscreenchange","MSFullscreenChange"],Rf={ENTERFULLSCREEN:"enterfullscreen",LEAVEFULLSCREEN:"leavefullscreen"};class Ow extends Lo{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target}),this.on,this.once,this.un,this.keys_=t.keys!==void 0?t.keys:!1,this.source_=t.source,this.isInFullscreen_=!1,this.boundHandleMapTargetChange_=this.handleMapTargetChange_.bind(this),this.cssClassName_=t.className!==void 0?t.className:"ol-full-screen",this.documentListeners_=[],this.activeClassName_=t.activeClassName!==void 0?t.activeClassName.split(" "):[this.cssClassName_+"-true"],this.inactiveClassName_=t.inactiveClassName!==void 0?t.inactiveClassName.split(" "):[this.cssClassName_+"-false"];const e=t.label!==void 0?t.label:"⤢";this.labelNode_=typeof e=="string"?document.createTextNode(e):e;const i=t.labelActive!==void 0?t.labelActive:"×";this.labelActiveNode_=typeof i=="string"?document.createTextNode(i):i;const n=t.tipLabel?t.tipLabel:"Toggle full-screen";this.button_=document.createElement("button"),this.button_.title=n,this.button_.setAttribute("type","button"),this.button_.appendChild(this.labelNode_),this.button_.addEventListener(ut.CLICK,this.handleClick_.bind(this),!1),this.setClassName_(this.button_,this.isInFullscreen_),this.element.className=`${this.cssClassName_} ${Br} ${_o}`,this.element.appendChild(this.button_)}handleClick_(t){t.preventDefault(),this.handleFullScreen_()}handleFullScreen_(){const t=this.getMap();if(!t)return;const e=t.getOwnerDocument();if(kf(e))if(Of(e))zw(e);else{let i;this.source_?i=typeof this.source_=="string"?e.getElementById(this.source_):this.source_:i=t.getTargetElement(),this.keys_?Fw(i):Ff(i)}}handleFullScreenChange_(){const t=this.getMap();if(!t)return;const e=this.isInFullscreen_;this.isInFullscreen_=Of(t.getOwnerDocument()),e!==this.isInFullscreen_&&(this.setClassName_(this.button_,this.isInFullscreen_),this.isInFullscreen_?(vo(this.labelActiveNode_,this.labelNode_),this.dispatchEvent(Rf.ENTERFULLSCREEN)):(vo(this.labelNode_,this.labelActiveNode_),this.dispatchEvent(Rf.LEAVEFULLSCREEN)),t.updateSize())}setClassName_(t,e){e?(t.classList.remove(...this.inactiveClassName_),t.classList.add(...this.activeClassName_)):(t.classList.remove(...this.activeClassName_),t.classList.add(...this.inactiveClassName_))}setMap(t){const e=this.getMap();e&&e.removeChangeListener(Zt.TARGET,this.boundHandleMapTargetChange_),super.setMap(t),this.handleMapTargetChange_(),t&&t.addChangeListener(Zt.TARGET,this.boundHandleMapTargetChange_)}handleMapTargetChange_(){const t=this.documentListeners_;for(let i=0,n=t.length;i<n;++i)bt(t[i]);t.length=0;const e=this.getMap();if(e){const i=e.getOwnerDocument();kf(i)?this.element.classList.remove(Ju):this.element.classList.add(Ju);for(let n=0,s=Sf.length;n<s;++n)t.push(mt(i,Sf[n],this.handleFullScreenChange_,this));this.handleFullScreenChange_()}}}function kf(r){const t=r.body;return!!(t.webkitRequestFullscreen||t.requestFullscreen&&r.fullscreenEnabled)}function Of(r){return!!(r.webkitIsFullScreen||r.fullscreenElement)}function Ff(r){r.requestFullscreen?r.requestFullscreen():r.webkitRequestFullscreen&&r.webkitRequestFullscreen()}function Fw(r){r.webkitRequestFullscreen?r.webkitRequestFullscreen():Ff(r)}function zw(r){r.exitFullscreen?r.exitFullscreen():r.webkitExitFullscreen&&r.webkitExitFullscreen()}const Bw=Ow,Nw=X.defineComponent({name:"MapHeat",props:{coords:Object,loadMapa:Object,typeMap:String,abrirCerrarLoader:Function,onClickMarket:Function,configurationMap:{default:()=>({strokeColor:"#f47521",copyright:"&copy; 2021 Desarrollado por UTIC - Ministerio Público",height:"250px",maxZoom:20,iconMarker:{image:ws,color:"#f47521",iconUrl:"/image/gmap01.png",iconSize:[25,41],iconAnchor:[12,41],scale:1,class:"",type:"image"},dragMarker:!0})}},data:()=>({radius:10,blur:20,zoom:5,type:"0",olMap:null,heatLayer:null,pointLayer:null,countryLayer:null,overlay:null,showSetting:!1,cantidad:0}),watch:{radius(r){this.setRadius(r)},blur(r){this.setBlur(r)},coords(r){this.cantidad=r.features.length,this.updateSource(r),this.updatePointSource(r)},loadMapa(r){this.changeCountryLayer(r)},typeMap(r){this.changeTypeMap(r)},type(r){this.changeTypeMap(r)}},methods:{changeTypeMap(r){r==="0"?(this.heatLayer.setVisible(!0),this.pointLayer.setVisible(!1),this.olMap.removeEventListener("click",this.onClickListener)):(this.heatLayer.setVisible(!1),this.pointLayer.setVisible(!0),this.initClick())},initMap(){const r=`<span class='map-copyright-text' >${this.configurationMap.copyright}</span>`,t=new Xn({stroke:new Do({color:this.configurationMap.strokeColor,width:3}),text:new Cd({font:"12px Roboto",fill:new Po({color:"#000"}),stroke:new Do({color:"#fff",width:1})})});this.countryLayer=new If({source:new Wo({url:`${this.loadMapa.data}`,format:new Zo}),style:function(i){const n=t.getText();return n&&n.setText(i.get("name")),t}}),this.heatLayer=new Ux({source:new Wo({features:[]}),visible:!1,radius:10,blur:25});try{this.pointLayer=this.configurationMap?new If({source:new Wo({features:[]}),visible:!1,style:i=>{var a,h,c;return new Xn({image:new Wl({src:(h=(a=this.configurationMap)==null?void 0:a.iconMarker)==null?void 0:h.iconUrl,color:(c=this.configurationMap.iconMarker)==null?void 0:c.color,scale:this.configurationMap.iconMarker.scale}),zIndex:1})}}):void 0}catch(i){console.log(i)}this.olMap=new Hv({controls:ad({attribution:!1}).extend([new Bw({tipLabel:"Pantalla completa"})]).extend([new od({collapsible:!1})]),layers:[new yA({source:new cA({attributions:r})}),this.countryLayer,this.heatLayer,this.pointLayer],target:this.$refs["map-root"],view:new Ye({center:[0,0],zoom:this.zoom})});const e=uu([this.loadMapa.lng,this.loadMapa.lat]);this.olMap.getView().adjustCenter(e),this.fitMap()},initClick(){const r=document.getElementById("popup"),t=document.getElementById("popup-closer");this.overlay=new kw({element:r,autoPan:!0}),this.olMap.addOverlay(this.overlay),t.onclick=()=>this.closeOverlay(),this.olMap.addEventListener("click",this.onClickListener)},closeOverlay(){const r=document.getElementById("popup-closer");return this.overlay.setPosition(void 0),r.blur(),!1},async onClickListener(r){const t=document.getElementById("popup-content"),e=document.getElementById("popup-closer");if(this.olMap.hasFeatureAtPixel(r.pixel)===!0){const i=this.olMap.getFeaturesAtPixel(r.pixel)[0];if(i.getGeometry().getType()==="Point"){const s=this.olMap.getFeaturesAtPixel(r.pixel)[0].getProperties(),a=r.coordinate;this.abrirCerrarLoader&&this.abrirCerrarLoader(!0);try{this.abrirCerrarLoader&&this.abrirCerrarLoader(!1);let h="";this.onClickMarket&&(h=await this.onClickMarket(s)),t.innerHTML=h;const c=this.olMap.getView(),d=i.getGeometry().getExtent(),f=c.getCenter(),p=c.getZoom();c.fit(d,{padding:[325,75,0,75],maxZoom:p});const m=c.getCenter();c.setCenter(f),c.animate({center:m})}catch{this.abrirCerrarLoader&&this.abrirCerrarLoader(!1)}this.overlay.setPosition(a)}}else this.overlay.setPosition(void 0),e.blur()},updateSource(r){if(r&&r.features.length===0){this.heatLayer.getSource().clear();return}if(r){const t=this.heatLayer.getSource(),e=new Zo({featureProjection:"EPSG:3857"}).readFeatures(r);t.clear(),t.addFeatures(e)}},updatePointSource(r){if(r&&r.features.length===0){this.pointLayer.getSource().clear();return}if(r){const t=this.pointLayer.getSource(),e=new Zo({featureProjection:"EPSG:3857"}).readFeatures(r);t.clear(),t.addFeatures(e)}},async changeCountryLayer(r){if(this.countryLayer){const e=new Wo({url:`${r.data}`,format:new Zo});await this.countryLayer.setSource(e)}},fitMap(){this.countryLayer.addEventListener("change",this.countryFunction)},countryFunction(r){const t=this.olMap.getView();if(r.target.getSource().getFeatures()[0]){const i=r.target.getSource().getExtent(),n=t.getZoom(),s=t.getCenter();t.fit(i,{padding:[75,75,75,75],maxZoom:6});const a=t.getZoom(),h=t.getCenter();t.setCenter(s),t.setZoom(n),t.animate({center:h}),t.animate({zoom:a})}},setRadius(r){this.heatLayer.setRadius(parseInt(r,10))},setBlur(r){this.heatLayer.setBlur(parseInt(r,10))},irACiudad(){if(this.loadMapa&&this.loadMapa.country!=="Bolivia"){const r=this.olMap.getView(),t=r.getZoom(),e=r.getCenter();r.setCenter(uu([this.loadMapa.lng,this.loadMapa.lat]));const i=13,n=r.getCenter();r.setCenter(e),r.setZoom(t),r.animate({center:n}),r.animate({zoom:i})}},toggleSettings(){this.showSetting=!this.showSetting}},mounted(){this.countryLayer=this.loadMapa,this.initMap()},beforeDestroy(){this.countryLayer.removeEventListener("change",this.countryFunction),this.olMap.removeEventListener("click",this.onClickListener)}}),LC="",bC="",xi=r=>(X.pushScopeId("data-v-6d32e204"),r=r(),X.popScopeId(),r),Gw={ref:"map-root",style:{width:"100%",height:"100%",position:"relative"}},Uw={class:"btn-zoom-container ol-control"},jw=[xi(()=>X.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[X.createElementVNode("path",{d:"M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l9.4-9.4V224H109.3l9.4-9.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4H224v114.8l-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-9.4 9.4V288h114.8l-9.4 9.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4H288V109.3l9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64z"})],-1))],Hw={class:"type-map-container ol-control"},Ww=[xi(()=>X.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},[X.createElementVNode("path",{d:"M215.7 499.2C267 435 384 279.4 384 192 384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2 12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"})],-1))],Yw=[xi(()=>X.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},[X.createElementVNode("path",{d:"m153.6 29.9 16-21.3c4-5.4 10.4-8.6 17.1-8.6C198.4 0 208 9.6 208 21.3v22.2c0 13.1 5.4 25.7 14.9 34.7l84.7 80.8c48.8 46.6 76.4 111.2 76.4 178.7C384 434 306 512 209.7 512H192C86 512 0 426 0 320v-3.8c0-48.8 19.4-95.6 53.9-130.1l3.5-3.5c4.2-4.2 10-6.6 16-6.6 12.5 0 22.6 10.1 22.6 22.6V288c0 35.3 28.7 64 64 64s64-28.7 64-64v-3.9c0-18-7.2-35.3-19.9-48l-38.6-38.6c-24-24-37.5-56.7-37.5-90.7 0-27.7 9-54.8 25.6-76.9z"})],-1))],Zw={class:"btn-settings ol-control"},Xw=[xi(()=>X.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[X.createElementVNode("path",{d:"M495.9 166.6c3.2 8.7.5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4l-55.6 17.8c-8.8 2.8-18.6.3-24.5-6.8-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4c-1.1-8.4-1.7-16.9-1.7-25.5s.6-17.1 1.7-25.4l-43.3-39.4c-6.9-6.2-9.6-15.9-6.4-24.6 4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2 5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8 8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"})],-1))],Vw={class:"control-container"},Kw={class:"map-flex"},Qw=xi(()=>X.createElementVNode("label",null,"Tamaño del radio",-1)),qw={class:"map-flex"},Jw=xi(()=>X.createElementVNode("label",null,"Difuminado",-1)),$w={class:"cant-casos ol-attribution ol-unselectable ol-control ol-uncollapsible"},tE={class:"text-cantidad"},eE=xi(()=>X.createElementVNode("span",{class:"ol-bold"},"Casos: ",-1)),iE={id:"popup",class:"ol-popup"},nE=[xi(()=>X.createElementVNode("a",{id:"popup-closer",class:"ol-popup-closer"},null,-1)),xi(()=>X.createElementVNode("div",{id:"popup-content"},null,-1))];function rE(r,t,e,i,n,s){var a;return X.openBlock(),X.createElementBlock("div",{class:"map-container",style:X.normalizeStyle(`height:${(a=r.configurationMap)==null?void 0:a.height}`)},[X.createElementVNode("div",Gw,[X.withDirectives(X.createElementVNode("div",Uw,[X.createElementVNode("button",{title:"Ir a la ciudad",class:"jl2-button-map",onClick:t[0]||(t[0]=(...h)=>r.irACiudad&&r.irACiudad(...h))},jw)],512),[[X.vShow,r.loadMapa.country!=="Bolivia"]]),X.createElementVNode("div",Hw,[X.createElementVNode("button",{title:"Mapa con Marcador",class:X.normalizeClass(["jl2-button-map",{"jl2-button-map-select":r.type=="1"}]),onClick:t[1]||(t[1]=()=>r.type="1")},Ww,2),X.createElementVNode("button",{title:"Mapa de Calor",class:X.normalizeClass(["jl2-button-map",{"jl2-button-map-select":r.type=="0"}]),onClick:t[2]||(t[2]=()=>r.type="0")},Yw,2)]),X.withDirectives(X.createElementVNode("div",Zw,[X.createElementVNode("button",{title:"Ver Opciones",class:"jl2-button-map",onClick:t[3]||(t[3]=(...h)=>r.toggleSettings&&r.toggleSettings(...h))},Xw)],512),[[X.vShow,!r.showSetting&&r.type==="0"]]),X.withDirectives(X.createElementVNode("div",Vw,[X.createElementVNode("a",{onClick:t[4]||(t[4]=(...h)=>r.toggleSettings&&r.toggleSettings(...h)),class:"ol-popup-closer"}),X.createElementVNode("div",Kw,[Qw,X.withDirectives(X.createElementVNode("input",{id:"radius",type:"range",min:"1",max:"50",step:"1","onUpdate:modelValue":t[5]||(t[5]=h=>r.radius=h)},null,512),[[X.vModelText,r.radius]])]),X.createElementVNode("div",qw,[Jw,X.withDirectives(X.createElementVNode("input",{id:"blur",type:"range",min:"1",max:"50",step:"1","onUpdate:modelValue":t[6]||(t[6]=h=>r.blur=h)},null,512),[[X.vModelText,r.blur]])])],512),[[X.vShow,r.type==="0"&&r.showSetting]]),X.createElementVNode("div",$w,[X.createElementVNode("p",tE,[eE,X.createTextVNode(X.toDisplayString(r.cantidad),1)])])],512),X.withDirectives(X.createElementVNode("div",iE,nE,512),[[X.vShow,r.type==="1"]])],4)}const sE=Ea(Nw,[["render",rE],["__scopeId","data-v-6d32e204"]]);ye.CoordinatesVerifyPolygon=gp,ye.MapHeatComponent=sE,ye.MapSearchAddress=t_,ye.MapView=Jm,ye.listenServiceGoogleMaps=Ng,ye.searchAutomaticGoogleMaps=Ug,ye.searchManualGoogleMaps=Gg,Object.defineProperty(ye,Symbol.toStringTag,{value:"Module"})});
447
+ }`,uniforms:{u_gradientTexture:()=>this.gradient_,u_opacity:()=>this.getOpacity()}}]})}renderDeclutter(){}}function sA(r){const i=qt(1,256),n=i.createLinearGradient(0,0,1,256),o=1/(r.length-1);for(let a=0,h=r.length;a<h;++a)n.addColorStop(a*o,r[a]);return i.fillStyle=n,i.fillRect(0,0,1,256),i.canvas}const oA=rA;class aA extends Vx{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(t){for(;this.canExpireCache()&&!(this.peekLast().getKey()in t);)this.pop().release()}pruneExceptNewestZ(){if(this.getCount()===0)return;const t=this.peekFirstKey(),i=Kx(t)[0];this.forEach(n=>{n.tileCoord[0]!==i&&(this.remove(Md(n.tileCoord)),n.release())})}}const Pd=aA,Fl={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"};class lA extends Ce{constructor(t){super(),this.projection=Gt(t.projection),this.attributions_=Dd(t.attributions),this.attributionsCollapsible_=t.attributionsCollapsible!==void 0?t.attributionsCollapsible:!0,this.loading=!1,this.state_=t.state!==void 0?t.state:"ready",this.wrapX_=t.wrapX!==void 0?t.wrapX:!1,this.interpolate_=!!t.interpolate,this.viewResolver=null,this.viewRejector=null;const e=this;this.viewPromise_=new Promise(function(i,n){e.viewResolver=i,e.viewRejector=n})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(t){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(t){this.attributions_=Dd(t),this.changed()}setState(t){this.state_=t,this.changed()}}function Dd(r){return r?Array.isArray(r)?function(t){return r}:typeof r=="function"?r:function(t){return[r]}:null}const Sd=lA,Wn=[0,0,0],Pi=5;class hA{constructor(t){this.minZoom=t.minZoom!==void 0?t.minZoom:0,this.resolutions_=t.resolutions,_t(Om(this.resolutions_,function(n,o){return o-n},!0),"`resolutions` must be sorted in descending order");let e;if(!t.origins){for(let n=0,o=this.resolutions_.length-1;n<o;++n)if(!e)e=this.resolutions_[n]/this.resolutions_[n+1];else if(this.resolutions_[n]/this.resolutions_[n+1]!==e){e=void 0;break}}this.zoomFactor_=e,this.maxZoom=this.resolutions_.length-1,this.origin_=t.origin!==void 0?t.origin:null,this.origins_=null,t.origins!==void 0&&(this.origins_=t.origins,_t(this.origins_.length==this.resolutions_.length,"Number of `origins` and `resolutions` must be equal"));const i=t.extent;i!==void 0&&!this.origin_&&!this.origins_&&(this.origin_=Qi(i)),_t(!this.origin_&&this.origins_||this.origin_&&!this.origins_,"Either `origin` or `origins` must be configured, never both"),this.tileSizes_=null,t.tileSizes!==void 0&&(this.tileSizes_=t.tileSizes,_t(this.tileSizes_.length==this.resolutions_.length,"Number of `tileSizes` and `resolutions` must be equal")),this.tileSize_=t.tileSize!==void 0?t.tileSize:this.tileSizes_?null:ba,_t(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,"Either `tileSize` or `tileSizes` must be configured, never both"),this.extent_=i!==void 0?i:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],this.tmpExtent_=[0,0,0,0],t.sizes!==void 0?this.fullTileRanges_=t.sizes.map(function(n,o){const a=new bd(Math.min(0,n[0]),Math.max(n[0]-1,-1),Math.min(0,n[1]),Math.max(n[1]-1,-1));if(i){const h=this.getTileRangeForExtentAndZ(i,o);a.minX=Math.max(h.minX,a.minX),a.maxX=Math.min(h.maxX,a.maxX),a.minY=Math.max(h.minY,a.minY),a.maxY=Math.min(h.maxY,a.maxY)}return a},this):i&&this.calculateTileRanges_(i)}forEachTileCoord(t,e,i){const n=this.getTileRangeForExtentAndZ(t,e);for(let o=n.minX,a=n.maxX;o<=a;++o)for(let h=n.minY,c=n.maxY;h<=c;++h)i([e,o,h])}forEachTileCoordParentTileRange(t,e,i,n){let o,a,h,c=null,d=t[0]-1;for(this.zoomFactor_===2?(a=t[1],h=t[2]):c=this.getTileCoordExtent(t,n);d>=this.minZoom;){if(this.zoomFactor_===2?(a=Math.floor(a/2),h=Math.floor(h/2),o=Gn(a,a,h,h,i)):o=this.getTileRangeForExtentAndZ(c,d,i),e(d,o))return!0;--d}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(t){return this.origin_?this.origin_:this.origins_[t]}getResolution(t){return this.resolutions_[t]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(t,e,i){if(t[0]<this.maxZoom){if(this.zoomFactor_===2){const o=t[1]*2,a=t[2]*2;return Gn(o,o+1,a,a+1,e)}const n=this.getTileCoordExtent(t,i||this.tmpExtent_);return this.getTileRangeForExtentAndZ(n,t[0]+1,e)}return null}getTileRangeForTileCoordAndZ(t,e,i){if(e>this.maxZoom||e<this.minZoom)return null;const n=t[0],o=t[1],a=t[2];if(e===n)return Gn(o,a,o,a,i);if(this.zoomFactor_){const c=Math.pow(this.zoomFactor_,e-n),d=Math.floor(o*c),f=Math.floor(a*c);if(e<n)return Gn(d,d,f,f,i);const p=Math.floor(c*(o+1))-1,_=Math.floor(c*(a+1))-1;return Gn(d,p,f,_,i)}const h=this.getTileCoordExtent(t,this.tmpExtent_);return this.getTileRangeForExtentAndZ(h,e,i)}getTileRangeForExtentAndZ(t,e,i){this.getTileCoordForXYAndZ_(t[0],t[3],e,!1,Wn);const n=Wn[1],o=Wn[2];this.getTileCoordForXYAndZ_(t[2],t[1],e,!0,Wn);const a=Wn[1],h=Wn[2];return Gn(n,a,o,h,i)}getTileCoordCenter(t){const e=this.getOrigin(t[0]),i=this.getResolution(t[0]),n=me(this.getTileSize(t[0]),this.tmpSize_);return[e[0]+(t[1]+.5)*n[0]*i,e[1]-(t[2]+.5)*n[1]*i]}getTileCoordExtent(t,e){const i=this.getOrigin(t[0]),n=this.getResolution(t[0]),o=me(this.getTileSize(t[0]),this.tmpSize_),a=i[0]+t[1]*o[0]*n,h=i[1]-(t[2]+1)*o[1]*n,c=a+o[0]*n,d=h+o[1]*n;return Ai(a,h,c,d,e)}getTileCoordForCoordAndResolution(t,e,i){return this.getTileCoordForXYAndResolution_(t[0],t[1],e,!1,i)}getTileCoordForXYAndResolution_(t,e,i,n,o){const a=this.getZForResolution(i),h=i/this.getResolution(a),c=this.getOrigin(a),d=me(this.getTileSize(a),this.tmpSize_);let f=h*(t-c[0])/i/d[0],p=h*(c[1]-e)/i/d[1];return n?(f=Ns(f,Pi)-1,p=Ns(p,Pi)-1):(f=Bs(f,Pi),p=Bs(p,Pi)),Td(a,f,p,o)}getTileCoordForXYAndZ_(t,e,i,n,o){const a=this.getOrigin(i),h=this.getResolution(i),c=me(this.getTileSize(i),this.tmpSize_);let d=(t-a[0])/h/c[0],f=(a[1]-e)/h/c[1];return n?(d=Ns(d,Pi)-1,f=Ns(f,Pi)-1):(d=Bs(d,Pi),f=Bs(f,Pi)),Td(i,d,f,o)}getTileCoordForCoordAndZ(t,e,i){return this.getTileCoordForXYAndZ_(t[0],t[1],e,!1,i)}getTileCoordResolution(t){return this.resolutions_[t[0]]}getTileSize(t){return this.tileSize_?this.tileSize_:this.tileSizes_[t]}getFullTileRange(t){return this.fullTileRanges_?this.fullTileRanges_[t]:this.extent_?this.getTileRangeForExtentAndZ(this.extent_,t):null}getZForResolution(t,e){const i=La(this.resolutions_,t,e||0);return Rt(i,this.minZoom,this.maxZoom)}tileCoordIntersectsViewport(t,e){return mu(e,0,e.length,2,this.getTileCoordExtent(t))}calculateTileRanges_(t){const e=this.resolutions_.length,i=new Array(e);for(let n=this.minZoom;n<e;++n)i[n]=this.getTileRangeForExtentAndZ(t,n);this.fullTileRanges_=i}}const Rd=hA;function Id(r){let t=r.getDefaultTileGrid();return t||(t=fA(r),r.setDefaultTileGrid(t)),t}function cA(r,t,e){const i=t[0],n=r.getTileCoordCenter(t),o=zl(e);if(!Rs(o,n)){const a=Lt(o),h=Math.ceil((o[0]-n[0])/a);return n[0]+=a*h,r.getTileCoordForCoordAndZ(n,i)}return t}function uA(r,t,e,i){i=i!==void 0?i:"top-left";const n=kd(r,t,e);return new Rd({extent:r,origin:t_(r,i),resolutions:n,tileSize:e})}function dA(r){const t=r||{},e=t.extent||Gt("EPSG:3857").getExtent(),i={extent:e,minZoom:t.minZoom,tileSize:t.tileSize,resolutions:kd(e,t.maxZoom,t.tileSize,t.maxResolution)};return new Rd(i)}function kd(r,t,e,i){t=t!==void 0?t:Um,e=me(e!==void 0?e:ba);const n=Fe(r),o=Lt(r);i=i>0?i:Math.max(o/e[0],n/e[1]);const a=t+1,h=new Array(a);for(let c=0;c<a;++c)h[c]=i/Math.pow(2,c);return h}function fA(r,t,e,i){const n=zl(r);return uA(n,t,e,i)}function zl(r){r=Gt(r);let t=r.getExtent();if(!t){const e=180*mr.degrees/r.getMetersPerUnit();t=Ai(-e,-e,e,e)}return t}class gA extends Sd{constructor(t){super({attributions:t.attributions,attributionsCollapsible:t.attributionsCollapsible,projection:t.projection,state:t.state,wrapX:t.wrapX,interpolate:t.interpolate}),this.on,this.once,this.un,this.opaque_=t.opaque!==void 0?t.opaque:!1,this.tilePixelRatio_=t.tilePixelRatio!==void 0?t.tilePixelRatio:1,this.tileGrid=t.tileGrid!==void 0?t.tileGrid:null;const e=[256,256];this.tileGrid&&me(this.tileGrid.getTileSize(this.tileGrid.getMinZoom()),e),this.tileCache=new Pd(t.cacheSize||0),this.tmpSize=[0,0],this.key_=t.key||"",this.tileOptions={transition:t.transition,interpolate:t.interpolate},this.zDirection=t.zDirection?t.zDirection:0}canExpireCache(){return this.tileCache.canExpireCache()}expireCache(t,e){const i=this.getTileCacheForProjection(t);i&&i.expireCache(e)}forEachLoadedTile(t,e,i,n){const o=this.getTileCacheForProjection(t);if(!o)return!1;let a=!0,h,c,d;for(let f=i.minX;f<=i.maxX;++f)for(let p=i.minY;p<=i.maxY;++p)c=vo(e,f,p),d=!1,o.containsKey(c)&&(h=o.get(c),d=h.getState()===nt.LOADED,d&&(d=n(h)!==!1)),d||(a=!1);return a}getGutterForProjection(t){return 0}getKey(){return this.key_}setKey(t){this.key_!==t&&(this.key_=t,this.changed())}getOpaque(t){return this.opaque_}getResolutions(t){const e=t?this.getTileGridForProjection(t):this.tileGrid;return e?e.getResolutions():null}getTile(t,e,i,n,o){return at()}getTileGrid(){return this.tileGrid}getTileGridForProjection(t){return this.tileGrid?this.tileGrid:Id(t)}getTileCacheForProjection(t){const e=this.getProjection();return _t(e===null||Ji(e,t),"A VectorTile source can only be rendered if it has a projection compatible with the view projection."),this.tileCache}getTilePixelRatio(t){return this.tilePixelRatio_}getTilePixelSize(t,e,i){const n=this.getTileGridForProjection(i),o=this.getTilePixelRatio(e),a=me(n.getTileSize(t),this.tmpSize);return o==1?a:wv(a,o,this.tmpSize)}getTileCoordForTileUrlFunction(t,e){e=e!==void 0?e:this.getProjection();const i=this.getTileGridForProjection(e);return this.getWrapX()&&e.isGlobal()&&(t=cA(i,t,e)),qx(t,i)?t:null}clear(){this.tileCache.clear()}refresh(){this.clear(),super.refresh()}updateCacheSize(t,e){const i=this.getTileCacheForProjection(e);t>i.highWaterMark&&(i.highWaterMark=t)}useTile(t,e,i,n){}}class pA extends $e{constructor(t,e){super(t),this.tile=e}}const mA=gA;function _A(r,t){const e=/\{z\}/g,i=/\{x\}/g,n=/\{y\}/g,o=/\{-y\}/g;return function(a,h,c){if(a)return r.replace(e,a[0].toString()).replace(i,a[1].toString()).replace(n,a[2].toString()).replace(o,function(){const d=a[0],f=t.getFullTileRange(d);return _t(f,"The {-y} placeholder requires a tile grid with extent"),(f.getHeight()-a[2]-1).toString()})}}function yA(r,t){const e=r.length,i=new Array(e);for(let n=0;n<e;++n)i[n]=_A(r[n],t);return vA(i)}function vA(r){return r.length===1?r[0]:function(t,e,i){if(!t)return;const n=Qx(t),o=Pn(n,r.length);return r[o](t,e,i)}}function xA(r){const t=[];let e=/\{([a-z])-([a-z])\}/.exec(r);if(e){const i=e[1].charCodeAt(0),n=e[2].charCodeAt(0);let o;for(o=i;o<=n;++o)t.push(r.replace(e[0],String.fromCharCode(o)));return t}if(e=/\{(\d+)-(\d+)\}/.exec(r),e){const i=parseInt(e[2],10);for(let n=parseInt(e[1],10);n<=i;n++)t.push(r.replace(e[0],n.toString()));return t}return t.push(r),t}class Bl extends mA{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tilePixelRatio:t.tilePixelRatio,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.generateTileUrlFunction_=this.tileUrlFunction===Bl.prototype.tileUrlFunction,this.tileLoadFunction=t.tileLoadFunction,t.tileUrlFunction&&(this.tileUrlFunction=t.tileUrlFunction),this.urls=null,t.urls?this.setUrls(t.urls):t.url&&this.setUrl(t.url),this.tileLoadingKeys_={}}getTileLoadFunction(){return this.tileLoadFunction}getTileUrlFunction(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction}getUrls(){return this.urls}handleTileChange(t){const e=t.target,i=ut(e),n=e.getState();let o;n==nt.LOADING?(this.tileLoadingKeys_[i]=!0,o=Fl.TILELOADSTART):i in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[i],o=n==nt.ERROR?Fl.TILELOADERROR:n==nt.LOADED?Fl.TILELOADEND:void 0),o!=null&&this.dispatchEvent(new pA(o,e))}setTileLoadFunction(t){this.tileCache.clear(),this.tileLoadFunction=t,this.changed()}setTileUrlFunction(t,e){this.tileUrlFunction=t,this.tileCache.pruneExceptNewestZ(),typeof e<"u"?this.setKey(e):this.changed()}setUrl(t){const e=xA(t);this.urls=e,this.setUrls(e)}setUrls(t){this.urls=t;const e=t.join(`
448
+ `);this.generateTileUrlFunction_?this.setTileUrlFunction(yA(t,this.tileGrid),e):this.setKey(e)}tileUrlFunction(t,e,i){}useTile(t,e,i){const n=vo(t,e,i);this.tileCache.containsKey(n)&&this.tileCache.get(n)}}const AA=Bl;class wA extends AA{constructor(t){super({attributions:t.attributions,cacheSize:t.cacheSize,opaque:t.opaque,projection:t.projection,state:t.state,tileGrid:t.tileGrid,tileLoadFunction:t.tileLoadFunction?t.tileLoadFunction:EA,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX,transition:t.transition,interpolate:t.interpolate!==void 0?t.interpolate:!0,key:t.key,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.crossOrigin=t.crossOrigin!==void 0?t.crossOrigin:null,this.tileClass=t.tileClass!==void 0?t.tileClass:Cd,this.tileCacheForProjection={},this.tileGridForProjection={},this.reprojectionErrorThreshold_=t.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}canExpireCache(){if(this.tileCache.canExpireCache())return!0;for(const t in this.tileCacheForProjection)if(this.tileCacheForProjection[t].canExpireCache())return!0;return!1}expireCache(t,e){const i=this.getTileCacheForProjection(t);this.tileCache.expireCache(this.tileCache==i?e:{});for(const n in this.tileCacheForProjection){const o=this.tileCacheForProjection[n];o.expireCache(o==i?e:{})}}getGutterForProjection(t){return this.getProjection()&&t&&!Ji(this.getProjection(),t)?0:this.getGutter()}getGutter(){return 0}getKey(){let t=super.getKey();return this.getInterpolate()||(t+=":disable-interpolation"),t}getOpaque(t){return this.getProjection()&&t&&!Ji(this.getProjection(),t)?!1:super.getOpaque(t)}getTileGridForProjection(t){const e=this.getProjection();if(this.tileGrid&&(!e||Ji(e,t)))return this.tileGrid;const i=ut(t);return i in this.tileGridForProjection||(this.tileGridForProjection[i]=Id(t)),this.tileGridForProjection[i]}getTileCacheForProjection(t){const e=this.getProjection();if(!e||Ji(e,t))return this.tileCache;const i=ut(t);return i in this.tileCacheForProjection||(this.tileCacheForProjection[i]=new Pd(this.tileCache.highWaterMark)),this.tileCacheForProjection[i]}createTile_(t,e,i,n,o,a){const h=[t,e,i],c=this.getTileCoordForTileUrlFunction(h,o),d=c?this.tileUrlFunction(c,n,o):void 0,f=new this.tileClass(h,d!==void 0?nt.IDLE:nt.EMPTY,d!==void 0?d:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return f.key=a,f.addEventListener(ht.CHANGE,this.handleTileChange.bind(this)),f}getTile(t,e,i,n,o){const a=this.getProjection();if(!a||!o||Ji(a,o))return this.getTileInternal(t,e,i,n,a||o);const h=this.getTileCacheForProjection(o),c=[t,e,i];let d;const f=Md(c);h.containsKey(f)&&(d=h.get(f));const p=this.getKey();if(d&&d.key==p)return d;const _=this.getTileGridForProjection(a),y=this.getTileGridForProjection(o),v=this.getTileCoordForTileUrlFunction(c,o),A=new Il(a,_,o,y,c,v,this.getTilePixelRatio(n),this.getGutter(),(b,M,w,E)=>this.getTileInternal(b,M,w,E,a),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return A.key=p,d?(A.interimTile=d,A.refreshInterimChain(),h.replace(f,A)):h.set(f,A),A}getTileInternal(t,e,i,n,o){let a=null;const h=vo(t,e,i),c=this.getKey();if(!this.tileCache.containsKey(h))a=this.createTile_(t,e,i,n,o,c),this.tileCache.set(h,a);else if(a=this.tileCache.get(h),a.key!=c){const d=a;a=this.createTile_(t,e,i,n,o,c),d.getState()==nt.IDLE?a.interimTile=d.interimTile:a.interimTile=d,a.refreshInterimChain(),this.tileCache.replace(h,a)}return a}setRenderReprojectionEdges(t){if(this.renderReprojectionEdges_!=t){this.renderReprojectionEdges_=t;for(const e in this.tileCacheForProjection)this.tileCacheForProjection[e].clear();this.changed()}}setTileGridForProjection(t,e){const i=Gt(t);if(i){const n=ut(i);n in this.tileGridForProjection||(this.tileGridForProjection[n]=e)}}clear(){super.clear();for(const t in this.tileCacheForProjection)this.tileCacheForProjection[t].clear()}}function EA(r,t){r.getImage().src=t}const CA=wA;class LA extends CA{constructor(t){t=t||{};const e=t.projection!==void 0?t.projection:"EPSG:3857",i=t.tileGrid!==void 0?t.tileGrid:dA({extent:zl(e),maxResolution:t.maxResolution,maxZoom:t.maxZoom,minZoom:t.minZoom,tileSize:t.tileSize});super({attributions:t.attributions,cacheSize:t.cacheSize,crossOrigin:t.crossOrigin,interpolate:t.interpolate,opaque:t.opaque,projection:e,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileGrid:i,tileLoadFunction:t.tileLoadFunction,tilePixelRatio:t.tilePixelRatio,tileUrlFunction:t.tileUrlFunction,url:t.url,urls:t.urls,wrapX:t.wrapX!==void 0?t.wrapX:!0,transition:t.transition,attributionsCollapsible:t.attributionsCollapsible,zDirection:t.zDirection}),this.gutter_=t.gutter!==void 0?t.gutter:0}getGutter(){return this.gutter_}}const bA=LA,TA='&#169; <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors.';class MA extends bA{constructor(t){t=t||{};let e;t.attributions!==void 0?e=t.attributions:e=[TA];const i=t.crossOrigin!==void 0?t.crossOrigin:"anonymous",n=t.url!==void 0?t.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:e,attributionsCollapsible:!1,cacheSize:t.cacheSize,crossOrigin:i,interpolate:t.interpolate,maxZoom:t.maxZoom!==void 0?t.maxZoom:19,opaque:t.opaque!==void 0?t.opaque:!0,reprojectionErrorThreshold:t.reprojectionErrorThreshold,tileLoadFunction:t.tileLoadFunction,transition:t.transition,url:n,wrapX:t.wrapX,zDirection:t.zDirection})}}const PA=MA,xo={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class DA extends qs{constructor(t){t=t||{};const e=Object.assign({},t);delete e.preload,delete e.useInterimTilesOnError,super(e),this.on,this.once,this.un,this.setPreload(t.preload!==void 0?t.preload:0),this.setUseInterimTilesOnError(t.useInterimTilesOnError!==void 0?t.useInterimTilesOnError:!0)}getPreload(){return this.get(xo.PRELOAD)}setPreload(t){this.set(xo.PRELOAD,t)}getUseInterimTilesOnError(){return this.get(xo.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(t){this.set(xo.USE_INTERIM_TILES_ON_ERROR,t)}getData(t){return super.getData(t)}}const SA=DA,Od=[];let Yn=null;function RA(){Yn=qt(1,1,void 0,{willReadFrequently:!0})}class IA extends gd{constructor(t){super(t),this.container=null,this.renderedResolution,this.tempTransform=Xt(),this.pixelTransform=Xt(),this.inversePixelTransform=Xt(),this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(t,e,i){Yn||RA(),Yn.clearRect(0,0,1,1);let n;try{Yn.drawImage(t,e,i,1,1,0,0,1,1),n=Yn.getImageData(0,0,1,1).data}catch{return Yn=null,null}return n}getBackground(t){let i=this.getLayer().getBackground();return typeof i=="function"&&(i=i(t.viewState.resolution)),i||void 0}useContainer(t,e,i){const n=this.getLayer().getClassName();let o,a;if(t&&t.className===n&&(!i||t&&t.style.backgroundColor&&ei(Er(t.style.backgroundColor),Er(i)))){const h=t.firstElementChild;h instanceof HTMLCanvasElement&&(a=h.getContext("2d"))}if(a&&a.canvas.style.transform===e?(this.container=t,this.context=a,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){o=document.createElement("div"),o.className=n;let h=o.style;h.position="absolute",h.width="100%",h.height="100%",a=qt();const c=a.canvas;o.appendChild(c),h=c.style,h.position="absolute",h.left="0",h.transformOrigin="top left",this.container=o,this.context=a}!this.containerReused&&i&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=i)}clipUnrotated(t,e,i){const n=Qi(i),o=Os(i),a=ks(i),h=Is(i);Ot(e.coordinateToPixelTransform,n),Ot(e.coordinateToPixelTransform,o),Ot(e.coordinateToPixelTransform,a),Ot(e.coordinateToPixelTransform,h);const c=this.inversePixelTransform;Ot(c,n),Ot(c,o),Ot(c,a),Ot(c,h),t.save(),t.beginPath(),t.moveTo(Math.round(n[0]),Math.round(n[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.lineTo(Math.round(a[0]),Math.round(a[1])),t.lineTo(Math.round(h[0]),Math.round(h[1])),t.clip()}dispatchRenderEvent_(t,e,i){const n=this.getLayer();if(n.hasListener(t)){const o=new Cr(t,this.inversePixelTransform,i,e);n.dispatchEvent(o)}}preRender(t,e){this.frameState=e,this.dispatchRenderEvent_(Qt.PRERENDER,t,e)}postRender(t,e){this.dispatchRenderEvent_(Qt.POSTRENDER,t,e)}getRenderTransform(t,e,i,n,o,a,h){const c=o/2,d=a/2,f=n/e,p=-f,_=-t[0]+h,y=-t[1];return ze(this.tempTransform,c,d,f,p,-i,_,y)}disposeInternal(){delete this.frameState,super.disposeInternal()}}const Fd=IA;class kA extends Fd{constructor(t){super(t),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=ge(),this.tmpTileRange_=new bd(0,0,0,0)}isDrawableTile(t){const e=this.getLayer(),i=t.getState(),n=e.getUseInterimTilesOnError();return i==nt.LOADED||i==nt.EMPTY||i==nt.ERROR&&!n}getTile(t,e,i,n){const o=n.pixelRatio,a=n.viewState.projection,h=this.getLayer();let d=h.getSource().getTile(t,e,i,o,a);return d.getState()==nt.ERROR&&h.getUseInterimTilesOnError()&&h.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(d)||(d=d.getInterimTile()),d}getData(t){const e=this.frameState;if(!e)return null;const i=this.getLayer(),n=Ot(e.pixelToCoordinateTransform,t.slice()),o=i.getExtent();if(o&&!Rs(o,n))return null;const a=e.pixelRatio,h=e.viewState.projection,c=e.viewState,d=i.getRenderSource(),f=d.getTileGridForProjection(c.projection),p=d.getTilePixelRatio(e.pixelRatio);for(let _=f.getZForResolution(c.resolution);_>=f.getMinZoom();--_){const y=f.getTileCoordForCoordAndZ(n,_),v=d.getTile(_,y[1],y[2],a,h);if(!(v instanceof Cd||v instanceof Il)||v instanceof Il&&v.getState()===nt.EMPTY)return null;if(v.getState()!==nt.LOADED)continue;const A=f.getOrigin(_),b=me(f.getTileSize(_)),M=f.getResolution(_),w=Math.floor(p*((n[0]-A[0])/M-y[1]*b[0])),E=Math.floor(p*((A[1]-n[1])/M-y[2]*b[1])),C=Math.round(p*d.getGutterForProjection(c.projection));return this.getImageData(v.getImage(),w+C,E+C)}return null}loadedTileCallback(t,e,i){return this.isDrawableTile(i)?super.loadedTileCallback(t,e,i):!1}prepareFrame(t){return!!this.getLayer().getSource()}renderFrame(t,e){const i=t.layerStatesArray[t.layerIndex],n=t.viewState,o=n.projection,a=n.resolution,h=n.center,c=n.rotation,d=t.pixelRatio,f=this.getLayer(),p=f.getSource(),_=p.getRevision(),y=p.getTileGridForProjection(o),v=y.getZForResolution(a,p.zDirection),A=y.getResolution(v);let b=t.extent;const M=t.viewState.resolution,w=p.getTilePixelRatio(d),E=Math.round(Lt(b)/M*d),C=Math.round(Fe(b)/M*d),P=i.extent&&$i(i.extent);P&&(b=xr(b,$i(i.extent)));const D=A*E/2/w,k=A*C/2/w,R=[h[0]-D,h[1]-k,h[0]+D,h[1]+k],F=y.getTileRangeForExtentAndZ(b,v),j={};j[v]={};const G=this.createLoadedTileFinder(p,o,j),Z=this.tmpExtent,$=this.tmpTileRange_;this.newTiles_=!1;const ot=c?Ra(n.center,M,c,t.size):void 0;for(let gt=F.minX;gt<=F.maxX;++gt)for(let J=F.minY;J<=F.maxY;++J){if(c&&!y.tileCoordIntersectsViewport([v,gt,J],ot))continue;const q=this.getTile(v,gt,J,t);if(this.isDrawableTile(q)){const Tt=ut(this);if(q.getState()==nt.LOADED){j[v][q.tileCoord.toString()]=q;let ve=q.inTransition(Tt);ve&&i.opacity!==1&&(q.endTransition(Tt),ve=!1),!this.newTiles_&&(ve||!this.renderedTiles.includes(q))&&(this.newTiles_=!0)}if(q.getAlpha(Tt,t.time)===1)continue}const lt=y.getTileCoordChildTileRange(q.tileCoord,$,Z);let Ft=!1;lt&&(Ft=G(v+1,lt)),Ft||y.forEachTileCoordParentTileRange(q.tileCoord,G,$,Z)}const Y=A/a*d/w;ze(this.pixelTransform,t.size[0]/2,t.size[1]/2,1/d,1/d,c,-E/2,-C/2);const X=ru(this.pixelTransform);this.useContainer(e,X,this.getBackground(t));const U=this.context,B=U.canvas;js(this.inversePixelTransform,this.pixelTransform),ze(this.tempTransform,E/2,C/2,Y,Y,0,-E/2,-C/2),B.width!=E||B.height!=C?(B.width=E,B.height=C):this.containerReused||U.clearRect(0,0,E,C),P&&this.clipUnrotated(U,t,P),p.getInterpolate()||(U.imageSmoothingEnabled=!1),this.preRender(U,t),this.renderedTiles.length=0;let et=Object.keys(j).map(Number);et.sort(xi);let W,it,z;i.opacity===1&&(!this.containerReused||p.getOpaque(t.viewState.projection))?et=et.reverse():(W=[],it=[]);for(let gt=et.length-1;gt>=0;--gt){const J=et[gt],q=p.getTilePixelSize(J,d,o),Ft=y.getResolution(J)/A,Tt=q[0]*Ft*Y,ve=q[1]*Ft*Y,He=y.getTileCoordForCoordAndZ(Qi(R),J),ki=y.getTileCoordExtent(He),xe=Ot(this.tempTransform,[w*(ki[0]-R[0])/A,w*(R[3]-ki[3])/A]),Oi=w*p.getGutterForProjection(o),We=j[J];for(const Fi in We){const Me=We[Fi],zi=Me.tileCoord,di=He[1]-zi[1],Zn=Math.round(xe[0]-(di-1)*Tt),fi=He[2]-zi[2],hn=Math.round(xe[1]-(fi-1)*ve),Zt=Math.round(xe[0]-di*Tt),ie=Math.round(xe[1]-fi*ve),_e=Zn-Zt,Pe=hn-ie,Ye=v===J,Xe=Ye&&Me.getAlpha(ut(this),t.time)!==1;let De=!1;if(!Xe)if(W){z=[Zt,ie,Zt+_e,ie,Zt+_e,ie+Pe,Zt,ie+Pe];for(let Bi=0,cn=W.length;Bi<cn;++Bi)if(v!==J&&J<it[Bi]){const Wt=W[Bi];se([Zt,ie,Zt+_e,ie+Pe],[Wt[0],Wt[3],Wt[4],Wt[7]])&&(De||(U.save(),De=!0),U.beginPath(),U.moveTo(z[0],z[1]),U.lineTo(z[2],z[3]),U.lineTo(z[4],z[5]),U.lineTo(z[6],z[7]),U.moveTo(Wt[6],Wt[7]),U.lineTo(Wt[4],Wt[5]),U.lineTo(Wt[2],Wt[3]),U.lineTo(Wt[0],Wt[1]),U.clip())}W.push(z),it.push(J)}else U.clearRect(Zt,ie,_e,Pe);this.drawTileImage(Me,t,Zt,ie,_e,Pe,Oi,Ye),W&&!Xe?(De&&U.restore(),this.renderedTiles.unshift(Me)):this.renderedTiles.push(Me),this.updateUsedTiles(t.usedTiles,p,Me)}}return this.renderedRevision=_,this.renderedResolution=A,this.extentChanged=!this.renderedExtent_||!Mn(this.renderedExtent_,R),this.renderedExtent_=R,this.renderedPixelRatio=d,this.renderedProjection=o,this.manageTilePyramid(t,p,y,d,o,b,v,f.getPreload()),this.scheduleExpireCache(t,p),this.postRender(U,t),i.extent&&U.restore(),U.imageSmoothingEnabled=!0,X!==B.style.transform&&(B.style.transform=X),this.container}drawTileImage(t,e,i,n,o,a,h,c){const d=this.getTileImage(t);if(!d)return;const f=ut(this),p=e.layerStatesArray[e.layerIndex],_=p.opacity*(c?t.getAlpha(f,e.time):1),y=_!==this.context.globalAlpha;y&&(this.context.save(),this.context.globalAlpha=_),this.context.drawImage(d,h,h,d.width-2*h,d.height-2*h,i,n,o,a),y&&this.context.restore(),_!==p.opacity?e.animate=!0:c&&t.endTransition(f)}getImage(){const t=this.context;return t?t.canvas:null}getTileImage(t){return t.getImage()}scheduleExpireCache(t,e){if(e.canExpireCache()){const i=(function(n,o,a){const h=ut(n);h in a.usedTiles&&n.expireCache(a.viewState.projection,a.usedTiles[h])}).bind(null,e);t.postRenderFunctions.push(i)}}updateUsedTiles(t,e,i){const n=ut(e);n in t||(t[n]={}),t[n][i.getKey()]=!0}manageTilePyramid(t,e,i,n,o,a,h,c,d){const f=ut(e);f in t.wantedTiles||(t.wantedTiles[f]={});const p=t.wantedTiles[f],_=t.tileQueue,y=i.getMinZoom(),v=t.viewState.rotation,A=v?Ra(t.viewState.center,t.viewState.resolution,v,t.size):void 0;let b=0,M,w,E,C,P,D;for(D=y;D<=h;++D)for(w=i.getTileRangeForExtentAndZ(a,D,w),E=i.getResolution(D),C=w.minX;C<=w.maxX;++C)for(P=w.minY;P<=w.maxY;++P)v&&!i.tileCoordIntersectsViewport([D,C,P],A)||(h-D<=c?(++b,M=e.getTile(D,C,P,n,o),M.getState()==nt.IDLE&&(p[M.getKey()]=!0,_.isKeyQueued(M.getKey())||_.enqueue([M,f,i.getTileCoordCenter(M.tileCoord),E])),d!==void 0&&d(M)):e.useTile(D,C,P,o));e.updateCacheSize(b,o)}}const OA=kA;class FA extends SA{constructor(t){super(t)}createRenderer(){return new OA(this)}}const zA=FA;class BA{constructor(t){this.rbush_=new kh(t),this.items_={}}insert(t,e){const i={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3],value:e};this.rbush_.insert(i),this.items_[ut(e)]=i}load(t,e){const i=new Array(e.length);for(let n=0,o=e.length;n<o;n++){const a=t[n],h=e[n],c={minX:a[0],minY:a[1],maxX:a[2],maxY:a[3],value:h};i[n]=c,this.items_[ut(h)]=c}this.rbush_.load(i)}remove(t){const e=ut(t),i=this.items_[e];return delete this.items_[e],this.rbush_.remove(i)!==null}update(t,e){const i=this.items_[ut(e)],n=[i.minX,i.minY,i.maxX,i.maxY];Mn(n,t)||(this.remove(e),this.insert(t,e))}getAll(){return this.rbush_.all().map(function(e){return e.value})}getInExtent(t){const e={minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]};return this.rbush_.search(e).map(function(n){return n.value})}forEach(t){return this.forEach_(this.getAll(),t)}forEachInExtent(t,e){return this.forEach_(this.getInExtent(t),e)}forEach_(t,e){let i;for(let n=0,o=t.length;n<o;n++)if(i=e(t[n]),i)return i;return i}isEmpty(){return Cn(this.items_)}clear(){this.rbush_.clear(),this.items_={}}getExtent(t){const e=this.rbush_.toJSON();return Ai(e.minX,e.minY,e.maxX,e.maxY,t)}concat(t){this.rbush_.load(t.rbush_.all());for(const e in t.items_)this.items_[e]=t.items_[e]}}const zd=BA;function NA(r,t){return[[-1/0,-1/0,1/0,1/0]]}let GA=!1;function UA(r,t,e,i,n,o,a){const h=new XMLHttpRequest;h.open("GET",typeof r=="function"?r(e,i,n):r,!0),t.getType()=="arraybuffer"&&(h.responseType="arraybuffer"),h.withCredentials=GA,h.onload=function(c){if(!h.status||h.status>=200&&h.status<300){const d=t.getType();let f;d=="json"||d=="text"?f=h.responseText:d=="xml"?(f=h.responseXML,f||(f=new DOMParser().parseFromString(h.responseText,"application/xml"))):d=="arraybuffer"&&(f=h.response),f?o(t.readFeatures(f,{extent:e,featureProjection:n}),t.readProjection(f)):a()}else a()},h.onerror=a,h.send()}function Bd(r,t){return function(e,i,n,o,a){const h=this;UA(r,t,e,i,n,function(c,d){h.addFeatures(c),o!==void 0&&o(c)},a||wn)}}class Di extends $e{constructor(t,e,i){super(t),this.feature=e,this.features=i}}class jA extends Sd{constructor(t){t=t||{},super({attributions:t.attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:t.wrapX!==void 0?t.wrapX:!0}),this.on,this.once,this.un,this.loader_=wn,this.format_=t.format,this.overlaps_=t.overlaps===void 0?!0:t.overlaps,this.url_=t.url,t.loader!==void 0?this.loader_=t.loader:this.url_!==void 0&&(_t(this.format_,"`format` must be set when `url` is set"),this.loader_=Bd(this.url_,this.format_)),this.strategy_=t.strategy!==void 0?t.strategy:NA;const e=t.useSpatialIndex!==void 0?t.useSpatialIndex:!0;this.featuresRtree_=e?new zd:null,this.loadedExtentsRtree_=new zd,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null;let i,n;Array.isArray(t.features)?n=t.features:t.features&&(i=t.features,n=i.getArray()),!e&&i===void 0&&(i=new Ne(n)),n!==void 0&&this.addFeaturesInternal(n),i!==void 0&&this.bindFeaturesCollection_(i)}addFeature(t){this.addFeatureInternal(t),this.changed()}addFeatureInternal(t){const e=ut(t);if(!this.addToIndex_(e,t)){this.featuresCollection_&&this.featuresCollection_.remove(t);return}this.setupChangeEvents_(e,t);const i=t.getGeometry();if(i){const n=i.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(n,t)}else this.nullGeometryFeatures_[e]=t;this.dispatchEvent(new Di(ee.ADDFEATURE,t))}setupChangeEvents_(t,e){this.featureChangeKeys_[t]=[ft(e,ht.CHANGE,this.handleFeatureChange_,this),ft(e,An.PROPERTYCHANGE,this.handleFeatureChange_,this)]}addToIndex_(t,e){let i=!0;const n=e.getId();return n!==void 0&&(n.toString()in this.idIndex_?i=!1:this.idIndex_[n.toString()]=e),i&&(_t(!(t in this.uidIndex_),"The passed `feature` was already added to the source"),this.uidIndex_[t]=e),i}addFeatures(t){this.addFeaturesInternal(t),this.changed()}addFeaturesInternal(t){const e=[],i=[],n=[];for(let o=0,a=t.length;o<a;o++){const h=t[o],c=ut(h);this.addToIndex_(c,h)&&i.push(h)}for(let o=0,a=i.length;o<a;o++){const h=i[o],c=ut(h);this.setupChangeEvents_(c,h);const d=h.getGeometry();if(d){const f=d.getExtent();e.push(f),n.push(h)}else this.nullGeometryFeatures_[c]=h}if(this.featuresRtree_&&this.featuresRtree_.load(e,n),this.hasListener(ee.ADDFEATURE))for(let o=0,a=i.length;o<a;o++)this.dispatchEvent(new Di(ee.ADDFEATURE,i[o]))}bindFeaturesCollection_(t){let e=!1;this.addEventListener(ee.ADDFEATURE,function(i){e||(e=!0,t.push(i.feature),e=!1)}),this.addEventListener(ee.REMOVEFEATURE,function(i){e||(e=!0,t.remove(i.feature),e=!1)}),t.addEventListener(oe.ADD,i=>{e||(e=!0,this.addFeature(i.element),e=!1)}),t.addEventListener(oe.REMOVE,i=>{e||(e=!0,this.removeFeature(i.element),e=!1)}),this.featuresCollection_=t}clear(t){if(t){for(const i in this.featureChangeKeys_)this.featureChangeKeys_[i].forEach(Et);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){const i=n=>{this.removeFeatureInternal(n)};this.featuresRtree_.forEach(i);for(const n in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[n])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const e=new Di(ee.CLEAR);this.dispatchEvent(e),this.changed()}forEachFeature(t){if(this.featuresRtree_)return this.featuresRtree_.forEach(t);this.featuresCollection_&&this.featuresCollection_.forEach(t)}forEachFeatureAtCoordinateDirect(t,e){const i=[t[0],t[1],t[0],t[1]];return this.forEachFeatureInExtent(i,function(n){if(n.getGeometry().intersectsCoordinate(t))return e(n)})}forEachFeatureInExtent(t,e){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(t,e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureIntersectingExtent(t,e){return this.forEachFeatureInExtent(t,function(i){if(i.getGeometry().intersectsExtent(t)){const o=e(i);if(o)return o}})}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let t;return this.featuresCollection_?t=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(t=this.featuresRtree_.getAll(),Cn(this.nullGeometryFeatures_)||ti(t,Object.values(this.nullGeometryFeatures_))),t}getFeaturesAtCoordinate(t){const e=[];return this.forEachFeatureAtCoordinateDirect(t,function(i){e.push(i)}),e}getFeaturesInExtent(t,e){if(this.featuresRtree_){if(!(e&&e.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(t);const n=n_(t,e);return[].concat(...n.map(o=>this.featuresRtree_.getInExtent(o)))}return this.featuresCollection_?this.featuresCollection_.getArray().slice(0):[]}getClosestFeatureToCoordinate(t,e){const i=t[0],n=t[1];let o=null;const a=[NaN,NaN];let h=1/0;const c=[-1/0,-1/0,1/0,1/0];return e=e||pr,this.featuresRtree_.forEachInExtent(c,function(d){if(e(d)){const f=d.getGeometry(),p=h;if(h=f.closestPointXY(i,n,a,h),h<p){o=d;const _=Math.sqrt(h);c[0]=i-_,c[1]=n-_,c[2]=i+_,c[3]=n+_}}}),o}getExtent(t){return this.featuresRtree_.getExtent(t)}getFeatureById(t){const e=this.idIndex_[t.toString()];return e!==void 0?e:null}getFeatureByUid(t){const e=this.uidIndex_[t];return e!==void 0?e:null}getFormat(){return this.format_}getOverlaps(){return this.overlaps_}getUrl(){return this.url_}handleFeatureChange_(t){const e=t.target,i=ut(e),n=e.getGeometry();if(!n)i in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(e),this.nullGeometryFeatures_[i]=e);else{const a=n.getExtent();i in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[i],this.featuresRtree_&&this.featuresRtree_.insert(a,e)):this.featuresRtree_&&this.featuresRtree_.update(a,e)}const o=e.getId();if(o!==void 0){const a=o.toString();this.idIndex_[a]!==e&&(this.removeFromIdIndex_(e),this.idIndex_[a]=e)}else this.removeFromIdIndex_(e),this.uidIndex_[i]=e;this.changed(),this.dispatchEvent(new Di(ee.CHANGEFEATURE,e))}hasFeature(t){const e=t.getId();return e!==void 0?e in this.idIndex_:ut(t)in this.uidIndex_}isEmpty(){return this.featuresRtree_?this.featuresRtree_.isEmpty()&&Cn(this.nullGeometryFeatures_):this.featuresCollection_?this.featuresCollection_.getLength()===0:!0}loadFeatures(t,e,i){const n=this.loadedExtentsRtree_,o=this.strategy_(t,e,i);for(let a=0,h=o.length;a<h;++a){const c=o[a];n.forEachInExtent(c,function(f){return Vi(f.extent,c)})||(++this.loadingExtentsCount_,this.dispatchEvent(new Di(ee.FEATURESLOADSTART)),this.loader_.call(this,c,e,i,f=>{--this.loadingExtentsCount_,this.dispatchEvent(new Di(ee.FEATURESLOADEND,void 0,f))},()=>{--this.loadingExtentsCount_,this.dispatchEvent(new Di(ee.FEATURESLOADERROR))}),n.insert(c,{extent:c.slice()}))}this.loading=this.loader_.length<4?!1:this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(t){const e=this.loadedExtentsRtree_;let i;e.forEachInExtent(t,function(n){if(Mn(n.extent,t))return i=n,!0}),i&&e.remove(i)}removeFeature(t){if(!t)return;const e=ut(t);e in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[e]:this.featuresRtree_&&this.featuresRtree_.remove(t),this.removeFeatureInternal(t)&&this.changed()}removeFeatureInternal(t){const e=ut(t),i=this.featureChangeKeys_[e];if(!i)return;i.forEach(Et),delete this.featureChangeKeys_[e];const n=t.getId();return n!==void 0&&delete this.idIndex_[n.toString()],delete this.uidIndex_[e],this.dispatchEvent(new Di(ee.REMOVEFEATURE,t)),t}removeFromIdIndex_(t){let e=!1;for(const i in this.idIndex_)if(this.idIndex_[i]===t){delete this.idIndex_[i],e=!0;break}return e}setLoader(t){this.loader_=t}setUrl(t){_t(this.format_,"`format` must be set when `url` is set"),this.url_=t,this.setLoader(Bd(t,this.format_))}}const Ao=jA;class Nl extends Ce{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(typeof t.getSimplifiedGeometry=="function"){const e=t;this.setGeometry(e)}else{const e=t;this.setProperties(e)}}clone(){const t=new Nl(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());const e=this.getGeometry();e&&t.setGeometry(e.clone());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_&&(Et(this.geometryChangeKey_),this.geometryChangeKey_=null);const t=this.getGeometry();t&&(this.geometryChangeKey_=ft(t,ht.CHANGE,this.handleGeometryChange_,this)),this.changed()}setGeometry(t){this.set(this.geometryName_,t)}setStyle(t){this.style_=t,this.styleFunction_=t?HA(t):void 0,this.changed()}setId(t){this.id_=t,this.changed()}setGeometryName(t){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=t,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()}}function HA(r){if(typeof r=="function")return r;let t;return Array.isArray(r)?t=r:(_t(typeof r.getZIndex=="function","Expected an `ol/style/Style` or an array of `ol/style/Style.js`"),t=[r]),function(){return t}}const WA=Nl;class wo extends au{constructor(t){super(),this.geometries_=t||null,this.changeEventsKeys_=[],this.listenGeometriesChange_()}unlistenGeometriesChange_(){this.changeEventsKeys_.forEach(Et),this.changeEventsKeys_.length=0}listenGeometriesChange_(){if(this.geometries_)for(let t=0,e=this.geometries_.length;t<e;++t)this.changeEventsKeys_.push(ft(this.geometries_[t],ht.CHANGE,this.changed,this))}clone(){const t=new wo(null);return t.setGeometries(this.geometries_),t.applyProperties(this),t}closestPointXY(t,e,i,n){if(n<Zi(this.getExtent(),t,e))return n;const o=this.geometries_;for(let a=0,h=o.length;a<h;++a)n=o[a].closestPointXY(t,e,i,n);return n}containsXY(t,e){const i=this.geometries_;for(let n=0,o=i.length;n<o;++n)if(i[n].containsXY(t,e))return!0;return!1}computeExtent(t){yr(t);const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)Rc(t,e[i].getExtent());return t}getGeometries(){return Nd(this.geometries_)}getGeometriesArray(){return this.geometries_}getGeometriesArrayRecursive(){let t=[];const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)e[i].getType()===this.getType()?t=t.concat(e[i].getGeometriesArrayRecursive()):t.push(e[i]);return t}getSimplifiedGeometry(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&t<this.simplifiedGeometryMaxMinSquaredTolerance)return this;const e=[],i=this.geometries_;let n=!1;for(let o=0,a=i.length;o<a;++o){const h=i[o],c=h.getSimplifiedGeometry(t);e.push(c),c!==h&&(n=!0)}if(n){const o=new wo(null);return o.setGeometriesArray(e),o}return this.simplifiedGeometryMaxMinSquaredTolerance=t,this}getType(){return"GeometryCollection"}intersectsExtent(t){const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)if(e[i].intersectsExtent(t))return!0;return!1}isEmpty(){return this.geometries_.length===0}rotate(t,e){const i=this.geometries_;for(let n=0,o=i.length;n<o;++n)i[n].rotate(t,e);this.changed()}scale(t,e,i){i||(i=Ki(this.getExtent()));const n=this.geometries_;for(let o=0,a=n.length;o<a;++o)n[o].scale(t,e,i);this.changed()}setGeometries(t){this.setGeometriesArray(Nd(t))}setGeometriesArray(t){this.unlistenGeometriesChange_(),this.geometries_=t,this.listenGeometriesChange_(),this.changed()}applyTransform(t){const e=this.geometries_;for(let i=0,n=e.length;i<n;++i)e[i].applyTransform(t);this.changed()}translate(t,e){const i=this.geometries_;for(let n=0,o=i.length;n<o;++n)i[n].translate(t,e);this.changed()}disposeInternal(){this.unlistenGeometriesChange_(),super.disposeInternal()}}function Nd(r){const t=[];for(let e=0,i=r.length;e<i;++e)t.push(r[e].clone());return t}const YA=wo;class XA{constructor(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0,this.supportedMediaTypes=null}getReadOptions(t,e){if(e){let i=e.dataProjection?Gt(e.dataProjection):this.readProjection(t);e.extent&&i&&i.getUnits()==="tile-pixels"&&(i=Gt(i),i.setWorldExtent(e.extent)),e={dataProjection:i,featureProjection:e.featureProjection}}return this.adaptOptions(e)}adaptOptions(t){return Object.assign({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection},t)}getType(){return at()}readFeature(t,e){return at()}readFeatures(t,e){return at()}readGeometry(t,e){return at()}readProjection(t){return at()}writeFeature(t,e){return at()}writeFeatures(t,e){return at()}writeGeometry(t,e){return at()}}function Gd(r,t,e){const i=e?Gt(e.featureProjection):null,n=e?Gt(e.dataProjection):null;let o;if(i&&n&&!Ji(i,n)?o=(t?r.clone():r).transform(t?i:n,t?n:i):o=r,t&&e&&e.decimals!==void 0){const a=Math.pow(10,e.decimals),h=function(c){for(let d=0,f=c.length;d<f;++d)c[d]=Math.round(c[d]*a)/a;return c};o===r&&(o=r.clone()),o.applyTransform(h)}return o}class ZA extends XA{constructor(){super()}getType(){return"json"}readFeature(t,e){return this.readFeatureFromObject(Eo(t),this.getReadOptions(t,e))}readFeatures(t,e){return this.readFeaturesFromObject(Eo(t),this.getReadOptions(t,e))}readFeatureFromObject(t,e){return at()}readFeaturesFromObject(t,e){return at()}readGeometry(t,e){return this.readGeometryFromObject(Eo(t),this.getReadOptions(t,e))}readGeometryFromObject(t,e){return at()}readProjection(t){return this.readProjectionFromObject(Eo(t))}readProjectionFromObject(t){return at()}writeFeature(t,e){return JSON.stringify(this.writeFeatureObject(t,e))}writeFeatureObject(t,e){return at()}writeFeatures(t,e){return JSON.stringify(this.writeFeaturesObject(t,e))}writeFeaturesObject(t,e){return at()}writeGeometry(t,e){return JSON.stringify(this.writeGeometryObject(t,e))}writeGeometryObject(t,e){return at()}}function Eo(r){if(typeof r=="string"){const t=JSON.parse(r);return t||null}return r!==null?r:null}const VA=ZA;function Ud(r,t,e,i,n,o,a){let h,c;const d=(e-t)/i;if(d===1)h=t;else if(d===2)h=t,c=n;else if(d!==0){let f=r[t],p=r[t+1],_=0;const y=[0];for(let b=t+i;b<e;b+=i){const M=r[b],w=r[b+1];_+=Math.sqrt((M-f)*(M-f)+(w-p)*(w-p)),y.push(_),f=M,p=w}const v=n*_,A=Im(y,v);A<0?(c=(v-y[-A-2])/(y[-A-1]-y[-A-2]),h=t+(-A-2)*i):h=t+A*i}a=a>1?a:2,o=o||new Array(a);for(let f=0;f<a;++f)o[f]=h===void 0?NaN:c===void 0?r[h+f]:pe(r[h+f],r[h+i+f],c);return o}function Gl(r,t,e,i,n,o){if(e==t)return null;let a;if(n<r[t+i-1])return o?(a=r.slice(t,t+i),a[i-1]=n,a):null;if(r[e-1]<n)return o?(a=r.slice(e-i,e),a[i-1]=n,a):null;if(n==r[t+i-1])return r.slice(t,t+i);let h=t/i,c=e/i;for(;h<c;){const _=h+c>>1;n<r[(_+1)*i-1]?c=_:h=_+1}const d=r[h*i-1];if(n==d)return r.slice((h-1)*i,(h-1)*i+i);const f=r[(h+1)*i-1],p=(n-d)/(f-d);a=[];for(let _=0;_<i-1;++_)a.push(pe(r[(h-1)*i+_],r[h*i+_],p));return a.push(n),a}function KA(r,t,e,i,n,o,a){if(a)return Gl(r,t,e[e.length-1],i,n,o);let h;if(n<r[i-1])return o?(h=r.slice(0,i),h[i-1]=n,h):null;if(r[r.length-1]<n)return o?(h=r.slice(r.length-i),h[i-1]=n,h):null;for(let c=0,d=e.length;c<d;++c){const f=e[c];if(t!=f){if(n<r[t+i-1])return null;if(n<=r[f-1])return Gl(r,t,f,i,n,!1);t=f}}return null}function jd(r,t,e,i){let n=r[t],o=r[t+1],a=0;for(let h=t+i;h<e;h+=i){const c=r[h],d=r[h+1];a+=Math.sqrt((c-n)*(c-n)+(d-o)*(d-o)),n=c,o=d}return a}class Co extends en{constructor(t,e){super(),this.flatMidpoint_=null,this.flatMidpointRevision_=-1,this.maxDelta_=-1,this.maxDeltaRevision_=-1,e!==void 0&&!Array.isArray(t[0])?this.setFlatCoordinates(e,t):this.setCoordinates(t,e)}appendCoordinate(t){this.flatCoordinates?ti(this.flatCoordinates,t):this.flatCoordinates=t.slice(),this.changed()}clone(){const t=new Co(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,n){return n<Zi(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Wa(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Xa(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!1,t,e,i,n))}forEachSegment(t){return pu(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}getCoordinateAtM(t,e){return this.layout!="XYM"&&this.layout!="XYZM"?null:(e=e!==void 0?e:!1,Gl(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e))}getCoordinates(){return Ei(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinateAt(t,e){return Ud(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,this.stride)}getLength(){return jd(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getFlatMidpoint(){return this.flatMidpointRevision_!=this.getRevision()&&(this.flatMidpoint_=this.getCoordinateAt(.5,this.flatMidpoint_),this.flatMidpointRevision_=this.getRevision()),this.flatMidpoint_}getSimplifiedGeometryInternal(t){const e=[];return e.length=Ka(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,0),new Co(e,"XY")}getType(){return"LineString"}intersectsExtent(t){return Xs(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Hs(this.flatCoordinates,0,t,this.stride),this.changed()}}const Ul=Co;class Lo extends en{constructor(t,e,i){if(super(),this.ends_=[],this.maxDelta_=-1,this.maxDeltaRevision_=-1,Array.isArray(t[0]))this.setCoordinates(t,e);else if(e!==void 0&&i)this.setFlatCoordinates(e,t),this.ends_=i;else{let n=this.getLayout();const o=t,a=[],h=[];for(let c=0,d=o.length;c<d;++c){const f=o[c];c===0&&(n=f.getLayout()),ti(a,f.getFlatCoordinates()),h.push(a.length)}this.setFlatCoordinates(n,a),this.ends_=h}}appendLineString(t){this.flatCoordinates?ti(this.flatCoordinates,t.getFlatCoordinates().slice()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const t=new Lo(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t}closestPointXY(t,e,i,n){return n<Zi(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Ya(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Za(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!1,t,e,i,n))}getCoordinateAtM(t,e,i){return this.layout!="XYM"&&this.layout!="XYZM"||this.flatCoordinates.length===0?null:(e=e!==void 0?e:!1,i=i!==void 0?i:!1,KA(this.flatCoordinates,0,this.ends_,this.stride,t,e,i))}getCoordinates(){return Ar(this.flatCoordinates,0,this.ends_,this.stride)}getEnds(){return this.ends_}getLineString(t){return t<0||this.ends_.length<=t?null:new Ul(this.flatCoordinates.slice(t===0?0:this.ends_[t-1],this.ends_[t]),this.layout)}getLineStrings(){const t=this.flatCoordinates,e=this.ends_,i=this.layout,n=[];let o=0;for(let a=0,h=e.length;a<h;++a){const c=e[a],d=new Ul(t.slice(o,c),i);n.push(d),o=c}return n}getFlatMidpoints(){const t=[],e=this.flatCoordinates;let i=0;const n=this.ends_,o=this.stride;for(let a=0,h=n.length;a<h;++a){const c=n[a],d=Ud(e,i,c,o,.5);ti(t,d),i=c}return t}getSimplifiedGeometryInternal(t){const e=[],i=[];return e.length=G_(this.flatCoordinates,0,this.ends_,this.stride,t,e,0,i),new Lo(e,"XY",i)}getType(){return"MultiLineString"}intersectsExtent(t){return Z_(this.flatCoordinates,0,this.ends_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);const i=Va(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=i.length===0?0:i[i.length-1],this.changed()}}const QA=Lo;class jl extends en{constructor(t,e){super(),e&&!Array.isArray(t[0])?this.setFlatCoordinates(e,t):this.setCoordinates(t,e)}appendPoint(t){this.flatCoordinates?ti(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.changed()}clone(){const t=new jl(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t}closestPointXY(t,e,i,n){if(n<Zi(this.getExtent(),t,e))return n;const o=this.flatCoordinates,a=this.stride;for(let h=0,c=o.length;h<c;h+=a){const d=qi(t,e,o[h],o[h+1]);if(d<n){n=d;for(let f=0;f<a;++f)i[f]=o[h+f];i.length=a}}return n}getCoordinates(){return Ei(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getPoint(t){const e=this.flatCoordinates?this.flatCoordinates.length/this.stride:0;return t<0||e<=t?null:new Ys(this.flatCoordinates.slice(t*this.stride,(t+1)*this.stride),this.layout)}getPoints(){const t=this.flatCoordinates,e=this.layout,i=this.stride,n=[];for(let o=0,a=t.length;o<a;o+=i){const h=new Ys(t.slice(o,o+i),e);n.push(h)}return n}getType(){return"MultiPoint"}intersectsExtent(t){const e=this.flatCoordinates,i=this.stride;for(let n=0,o=e.length;n<o;n+=i){const a=e[n],h=e[n+1];if(Ma(t,a,h))return!0}return!1}setCoordinates(t,e){this.setLayout(e,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Hs(this.flatCoordinates,0,t,this.stride),this.changed()}}const Hd=jl;function qA(r,t,e,i){const n=[];let o=ge();for(let a=0,h=e.length;a<h;++a){const c=e[a];o=Sc(r,t,c[0],i),n.push((o[0]+o[2])/2,(o[1]+o[3])/2),t=c[c.length-1]}return n}class bo extends en{constructor(t,e,i){if(super(),this.endss_=[],this.flatInteriorPointsRevision_=-1,this.flatInteriorPoints_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,!i&&!Array.isArray(t[0])){let n=this.getLayout();const o=t,a=[],h=[];for(let c=0,d=o.length;c<d;++c){const f=o[c];c===0&&(n=f.getLayout());const p=a.length,_=f.getEnds();for(let y=0,v=_.length;y<v;++y)_[y]+=p;ti(a,f.getFlatCoordinates()),h.push(_)}e=n,t=a,i=h}e!==void 0&&i?(this.setFlatCoordinates(e,t),this.endss_=i):this.setCoordinates(t,e)}appendPolygon(t){let e;if(!this.flatCoordinates)this.flatCoordinates=t.getFlatCoordinates().slice(),e=t.getEnds().slice(),this.endss_.push();else{const i=this.flatCoordinates.length;ti(this.flatCoordinates,t.getFlatCoordinates()),e=t.getEnds().slice();for(let n=0,o=e.length;n<o;++n)e[n]+=i}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 i=new bo(this.flatCoordinates.slice(),this.layout,e);return i.applyProperties(this),i}closestPointXY(t,e,i,n){return n<Zi(this.getExtent(),t,e)?n:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(F_(this.flatCoordinates,0,this.endss_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),z_(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,this.maxDelta_,!0,t,e,i,n))}containsXY(t,e){return Y_(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t,e)}getArea(){return H_(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride)}getCoordinates(t){let e;return t!==void 0?(e=this.getOrientedFlatCoordinates().slice(),xu(e,0,this.endss_,this.stride,t)):e=this.flatCoordinates,Qa(e,0,this.endss_,this.stride)}getEndss(){return this.endss_}getFlatInteriorPoints(){if(this.flatInteriorPointsRevision_!=this.getRevision()){const t=qA(this.flatCoordinates,0,this.endss_,this.stride);this.flatInteriorPoints_=X_(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t),this.flatInteriorPointsRevision_=this.getRevision()}return this.flatInteriorPoints_}getInteriorPoints(){return new Hd(this.getFlatInteriorPoints().slice(),"XYM")}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const t=this.flatCoordinates;Q_(t,0,this.endss_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=xu(this.orientedFlatCoordinates_,0,this.endss_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(t){const e=[],i=[];return e.length=j_(this.flatCoordinates,0,this.endss_,this.stride,Math.sqrt(t),e,0,i),new bo(e,"XY",i)}getPolygon(t){if(t<0||this.endss_.length<=t)return null;let e;if(t===0)e=0;else{const o=this.endss_[t-1];e=o[o.length-1]}const i=this.endss_[t].slice(),n=i[i.length-1];if(e!==0)for(let o=0,a=i.length;o<a;++o)i[o]-=e;return new Zs(this.flatCoordinates.slice(e,n),this.layout,i)}getPolygons(){const t=this.layout,e=this.flatCoordinates,i=this.endss_,n=[];let o=0;for(let a=0,h=i.length;a<h;++a){const c=i[a].slice(),d=c[c.length-1];if(o!==0)for(let p=0,_=c.length;p<_;++p)c[p]-=o;const f=new Zs(e.slice(o,d),t,c);n.push(f),o=d}return n}getType(){return"MultiPolygon"}intersectsExtent(t){return V_(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,t)}setCoordinates(t,e){this.setLayout(e,t,3),this.flatCoordinates||(this.flatCoordinates=[]);const i=N_(this.flatCoordinates,0,t,this.stride,this.endss_);if(i.length===0)this.flatCoordinates.length=0;else{const n=i[i.length-1];this.flatCoordinates.length=n.length===0?0:n[n.length-1]}this.changed()}}const JA=bo;class $A extends VA{constructor(t){t=t||{},super(),this.dataProjection=Gt(t.dataProjection?t.dataProjection:"EPSG:4326"),t.featureProjection&&(this.defaultFeatureProjection=Gt(t.featureProjection)),this.geometryName_=t.geometryName,this.extractGeometryName_=t.extractGeometryName,this.supportedMediaTypes=["application/geo+json","application/vnd.geo+json"]}readFeatureFromObject(t,e){let i=null;t.type==="Feature"?i=t:i={type:"Feature",geometry:t,properties:null};const n=Hl(i.geometry,e),o=new WA;return this.geometryName_?o.setGeometryName(this.geometryName_):this.extractGeometryName_&&"geometry_name"in i!==void 0&&o.setGeometryName(i.geometry_name),o.setGeometry(n),"id"in i&&o.setId(i.id),i.properties&&o.setProperties(i.properties,!0),o}readFeaturesFromObject(t,e){const i=t;let n=null;if(i.type==="FeatureCollection"){const o=t;n=[];const a=o.features;for(let h=0,c=a.length;h<c;++h)n.push(this.readFeatureFromObject(a[h],e))}else n=[this.readFeatureFromObject(t,e)];return n}readGeometryFromObject(t,e){return Hl(t,e)}readProjectionFromObject(t){const e=t.crs;let i;if(e)if(e.type=="name")i=Gt(e.properties.name);else if(e.type==="EPSG")i=Gt("EPSG:"+e.properties.code);else throw new Error("Unknown SRS type");else i=this.dataProjection;return i}writeFeatureObject(t,e){e=this.adaptOptions(e);const i={type:"Feature",geometry:null,properties:null},n=t.getId();if(n!==void 0&&(i.id=n),!t.hasProperties())return i;const o=t.getProperties(),a=t.getGeometry();return a&&(i.geometry=Wl(a,e),delete o[t.getGeometryName()]),Cn(o)||(i.properties=o),i}writeFeaturesObject(t,e){e=this.adaptOptions(e);const i=[];for(let n=0,o=t.length;n<o;++n)i.push(this.writeFeatureObject(t[n],e));return{type:"FeatureCollection",features:i}}writeGeometryObject(t,e){return Wl(t,this.adaptOptions(e))}}function Hl(r,t){if(!r)return null;let e;switch(r.type){case"Point":{e=ew(r);break}case"LineString":{e=iw(r);break}case"Polygon":{e=ow(r);break}case"MultiPoint":{e=rw(r);break}case"MultiLineString":{e=nw(r);break}case"MultiPolygon":{e=sw(r);break}case"GeometryCollection":{e=tw(r);break}default:throw new Error("Unsupported GeoJSON type: "+r.type)}return Gd(e,!1,t)}function tw(r,t){const e=r.geometries.map(function(i){return Hl(i,t)});return new YA(e)}function ew(r){return new Ys(r.coordinates)}function iw(r){return new Ul(r.coordinates)}function nw(r){return new QA(r.coordinates)}function rw(r){return new Hd(r.coordinates)}function sw(r){return new JA(r.coordinates)}function ow(r){return new Zs(r.coordinates)}function Wl(r,t){r=Gd(r,!0,t);const e=r.getType();let i;switch(e){case"Point":{i=dw(r);break}case"LineString":{i=lw(r);break}case"Polygon":{i=fw(r,t);break}case"MultiPoint":{i=cw(r);break}case"MultiLineString":{i=hw(r);break}case"MultiPolygon":{i=uw(r,t);break}case"GeometryCollection":{i=aw(r,t);break}case"Circle":{i={type:"GeometryCollection",geometries:[]};break}default:throw new Error("Unsupported geometry type: "+e)}return i}function aw(r,t){return t=Object.assign({},t),delete t.featureProjection,{type:"GeometryCollection",geometries:r.getGeometriesArray().map(function(i){return Wl(i,t)})}}function lw(r,t){return{type:"LineString",coordinates:r.getCoordinates()}}function hw(r,t){return{type:"MultiLineString",coordinates:r.getCoordinates()}}function cw(r,t){return{type:"MultiPoint",coordinates:r.getCoordinates()}}function uw(r,t){let e;return t&&(e=t.rightHanded),{type:"MultiPolygon",coordinates:r.getCoordinates(e)}}function dw(r,t){return{type:"Point",coordinates:r.getCoordinates()}}function fw(r,t){let e;return t&&(e=t.rightHanded),{type:"Polygon",coordinates:r.getCoordinates(e)}}const To=$A,Nr={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},Mo=[Nr.FILL],Si=[Nr.STROKE],ln=[Nr.BEGIN_PATH],Wd=[Nr.CLOSE_PATH],rt=Nr;class gw{drawCustom(t,e,i,n){}drawGeometry(t){}setStyle(t){}drawCircle(t,e){}drawFeature(t,e){}drawGeometryCollection(t,e){}drawLineString(t,e){}drawMultiLineString(t,e){}drawMultiPoint(t,e){}drawMultiPolygon(t,e){}drawPoint(t,e){}drawPolygon(t,e){}drawText(t,e){}setFillStrokeStyle(t,e){}setImageStyle(t,e){}setTextStyle(t,e){}}const Yd=gw;class pw extends Yd{constructor(t,e,i,n){super(),this.tolerance=t,this.maxExtent=e,this.pixelRatio=n,this.maxLineWidth=0,this.resolution=i,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_=null,this.bufferedMaxExtent_=null,this.instructions=[],this.coordinates=[],this.tmpCoordinate_=[],this.hitDetectionInstructions=[],this.state={}}applyPixelRatio(t){const e=this.pixelRatio;return e==1?t:t.map(function(i){return i*e})}appendFlatPointCoordinates(t,e){const i=this.getBufferedMaxExtent(),n=this.tmpCoordinate_,o=this.coordinates;let a=o.length;for(let h=0,c=t.length;h<c;h+=e)n[0]=t[h],n[1]=t[h+1],Rs(i,n)&&(o[a++]=n[0],o[a++]=n[1]);return a}appendFlatLineCoordinates(t,e,i,n,o,a){const h=this.coordinates;let c=h.length;const d=this.getBufferedMaxExtent();a&&(e+=n);let f=t[e],p=t[e+1];const _=this.tmpCoordinate_;let y=!0,v,A,b;for(v=e+n;v<i;v+=n)_[0]=t[v],_[1]=t[v+1],b=Pa(d,_),b!==A?(y&&(h[c++]=f,h[c++]=p,y=!1),h[c++]=_[0],h[c++]=_[1]):b===jt.INTERSECTING?(h[c++]=_[0],h[c++]=_[1],y=!1):y=!0,f=_[0],p=_[1],A=b;return(o&&y||v===e+n)&&(h[c++]=f,h[c++]=p),c}drawCustomCoordinates_(t,e,i,n,o){for(let a=0,h=i.length;a<h;++a){const c=i[a],d=this.appendFlatLineCoordinates(t,e,c,n,!1,!1);o.push(d),e=c}return e}drawCustom(t,e,i,n){this.beginGeometry(t,e);const o=t.getType(),a=t.getStride(),h=this.coordinates.length;let c,d,f,p,_;switch(o){case"MultiPolygon":c=t.getOrientedFlatCoordinates(),p=[];const y=t.getEndss();_=0;for(let v=0,A=y.length;v<A;++v){const b=[];_=this.drawCustomCoordinates_(c,_,y[v],a,b),p.push(b)}this.instructions.push([rt.CUSTOM,h,p,t,i,Qa]),this.hitDetectionInstructions.push([rt.CUSTOM,h,p,t,n||i,Qa]);break;case"Polygon":case"MultiLineString":f=[],c=o=="Polygon"?t.getOrientedFlatCoordinates():t.getFlatCoordinates(),_=this.drawCustomCoordinates_(c,0,t.getEnds(),a,f),this.instructions.push([rt.CUSTOM,h,f,t,i,Ar]),this.hitDetectionInstructions.push([rt.CUSTOM,h,f,t,n||i,Ar]);break;case"LineString":case"Circle":c=t.getFlatCoordinates(),d=this.appendFlatLineCoordinates(c,0,c.length,a,!1,!1),this.instructions.push([rt.CUSTOM,h,d,t,i,Ei]),this.hitDetectionInstructions.push([rt.CUSTOM,h,d,t,n||i,Ei]);break;case"MultiPoint":c=t.getFlatCoordinates(),d=this.appendFlatPointCoordinates(c,a),d>h&&(this.instructions.push([rt.CUSTOM,h,d,t,i,Ei]),this.hitDetectionInstructions.push([rt.CUSTOM,h,d,t,n||i,Ei]));break;case"Point":c=t.getFlatCoordinates(),this.coordinates.push(c[0],c[1]),d=this.coordinates.length,this.instructions.push([rt.CUSTOM,h,d,t,i]),this.hitDetectionInstructions.push([rt.CUSTOM,h,d,t,n||i]);break}this.endGeometry(e)}beginGeometry(t,e){this.beginGeometryInstruction1_=[rt.BEGIN_GEOMETRY,e,0,t],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[rt.BEGIN_GEOMETRY,e,0,t],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const t=this.hitDetectionInstructions;t.reverse();let e;const i=t.length;let n,o,a=-1;for(e=0;e<i;++e)n=t[e],o=n[0],o==rt.END_GEOMETRY?a=e:o==rt.BEGIN_GEOMETRY&&(n[2]=e,km(this.hitDetectionInstructions,a,e),a=-1)}setFillStrokeStyle(t,e){const i=this.state;if(t){const n=t.getColor();i.fillStyle=Ge(n||ae)}else i.fillStyle=void 0;if(e){const n=e.getColor();i.strokeStyle=Ge(n||Tr);const o=e.getLineCap();i.lineCap=o!==void 0?o:Sn;const a=e.getLineDash();i.lineDash=a?a.slice():ni;const h=e.getLineDashOffset();i.lineDashOffset=h||ri;const c=e.getLineJoin();i.lineJoin=c!==void 0?c:Rn;const d=e.getWidth();i.lineWidth=d!==void 0?d:Pr;const f=e.getMiterLimit();i.miterLimit=f!==void 0?f:br,i.lineWidth>this.maxLineWidth&&(this.maxLineWidth=i.lineWidth,this.bufferedMaxExtent_=null)}else i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineDashOffset=void 0,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0}createFill(t){const e=t.fillStyle,i=[rt.SET_FILL_STYLE,e];return typeof e!="string"&&i.push(!0),i}applyStroke(t){this.instructions.push(this.createStroke(t))}createStroke(t){return[rt.SET_STROKE_STYLE,t.strokeStyle,t.lineWidth*this.pixelRatio,t.lineCap,t.lineJoin,t.miterLimit,this.applyPixelRatio(t.lineDash),t.lineDashOffset*this.pixelRatio]}updateFillStyle(t,e){const i=t.fillStyle;(typeof i!="string"||t.currentFillStyle!=i)&&(i!==void 0&&this.instructions.push(e.call(this,t)),t.currentFillStyle=i)}updateStrokeStyle(t,e){const i=t.strokeStyle,n=t.lineCap,o=t.lineDash,a=t.lineDashOffset,h=t.lineJoin,c=t.lineWidth,d=t.miterLimit;(t.currentStrokeStyle!=i||t.currentLineCap!=n||o!=t.currentLineDash&&!ei(t.currentLineDash,o)||t.currentLineDashOffset!=a||t.currentLineJoin!=h||t.currentLineWidth!=c||t.currentMiterLimit!=d)&&(i!==void 0&&e.call(this,t),t.currentStrokeStyle=i,t.currentLineCap=n,t.currentLineDash=o,t.currentLineDashOffset=a,t.currentLineJoin=h,t.currentLineWidth=c,t.currentMiterLimit=d)}endGeometry(t){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const e=[rt.END_GEOMETRY,t];this.instructions.push(e),this.hitDetectionInstructions.push(e)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Dc(this.maxExtent),this.maxLineWidth>0)){const t=this.resolution*(this.maxLineWidth+1)/2;Ss(this.bufferedMaxExtent_,t,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}}const Gr=pw;class mw extends Gr{constructor(t,e,i,n){super(t,e,i,n),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const i=t.getFlatCoordinates(),n=t.getStride(),o=this.coordinates.length,a=this.appendFlatPointCoordinates(i,n);this.instructions.push([rt.DRAW_IMAGE,o,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([rt.DRAW_IMAGE,o,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}drawMultiPoint(t,e){if(!this.image_)return;this.beginGeometry(t,e);const i=t.getFlatCoordinates(),n=t.getStride(),o=this.coordinates.length,a=this.appendFlatPointCoordinates(i,n);this.instructions.push([rt.DRAW_IMAGE,o,a,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([rt.DRAW_IMAGE,o,a,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,1,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(e)}finish(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,super.finish()}setImageStyle(t,e){const i=t.getAnchor(),n=t.getSize(),o=t.getOrigin();this.imagePixelRatio_=t.getPixelRatio(this.pixelRatio),this.anchorX_=i[0],this.anchorY_=i[1],this.hitDetectionImage_=t.getHitDetectionImage(),this.image_=t.getImage(this.pixelRatio),this.height_=n[1],this.opacity_=t.getOpacity(),this.originX_=o[0],this.originY_=o[1],this.rotateWithView_=t.getRotateWithView(),this.rotation_=t.getRotation(),this.scale_=t.getScaleArray(),this.width_=n[0],this.declutterMode_=t.getDeclutterMode(),this.declutterImageWithText_=e}}const _w=mw;class yw extends Gr{constructor(t,e,i,n){super(t,e,i,n)}drawFlatCoordinates_(t,e,i,n){const o=this.coordinates.length,a=this.appendFlatLineCoordinates(t,e,i,n,!1,!1),h=[rt.MOVE_TO_LINE_TO,o,a];return this.instructions.push(h),this.hitDetectionInstructions.push(h),i}drawLineString(t,e){const i=this.state,n=i.strokeStyle,o=i.lineWidth;if(n===void 0||o===void 0)return;this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([rt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ni,ri],ln);const a=t.getFlatCoordinates(),h=t.getStride();this.drawFlatCoordinates_(a,0,a.length,h),this.hitDetectionInstructions.push(Si),this.endGeometry(e)}drawMultiLineString(t,e){const i=this.state,n=i.strokeStyle,o=i.lineWidth;if(n===void 0||o===void 0)return;this.updateStrokeStyle(i,this.applyStroke),this.beginGeometry(t,e),this.hitDetectionInstructions.push([rt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ni,ri],ln);const a=t.getEnds(),h=t.getFlatCoordinates(),c=t.getStride();let d=0;for(let f=0,p=a.length;f<p;++f)d=this.drawFlatCoordinates_(h,d,a[f],c);this.hitDetectionInstructions.push(Si),this.endGeometry(e)}finish(){const t=this.state;return t.lastStroke!=null&&t.lastStroke!=this.coordinates.length&&this.instructions.push(Si),this.reverseHitDetectionInstructions(),this.state=null,super.finish()}applyStroke(t){t.lastStroke!=null&&t.lastStroke!=this.coordinates.length&&(this.instructions.push(Si),t.lastStroke=this.coordinates.length),t.lastStroke=0,super.applyStroke(t),this.instructions.push(ln)}}const vw=yw;class xw extends Gr{constructor(t,e,i,n){super(t,e,i,n)}drawFlatCoordinatess_(t,e,i,n){const o=this.state,a=o.fillStyle!==void 0,h=o.strokeStyle!==void 0,c=i.length;this.instructions.push(ln),this.hitDetectionInstructions.push(ln);for(let d=0;d<c;++d){const f=i[d],p=this.coordinates.length,_=this.appendFlatLineCoordinates(t,e,f,n,!0,!h),y=[rt.MOVE_TO_LINE_TO,p,_];this.instructions.push(y),this.hitDetectionInstructions.push(y),h&&(this.instructions.push(Wd),this.hitDetectionInstructions.push(Wd)),e=f}return a&&(this.instructions.push(Mo),this.hitDetectionInstructions.push(Mo)),h&&(this.instructions.push(Si),this.hitDetectionInstructions.push(Si)),e}drawCircle(t,e){const i=this.state,n=i.fillStyle,o=i.strokeStyle;if(n===void 0&&o===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),i.fillStyle!==void 0&&this.hitDetectionInstructions.push([rt.SET_FILL_STYLE,ae]),i.strokeStyle!==void 0&&this.hitDetectionInstructions.push([rt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ni,ri]);const a=t.getFlatCoordinates(),h=t.getStride(),c=this.coordinates.length;this.appendFlatLineCoordinates(a,0,a.length,h,!1,!1);const d=[rt.CIRCLE,c];this.instructions.push(ln,d),this.hitDetectionInstructions.push(ln,d),i.fillStyle!==void 0&&(this.instructions.push(Mo),this.hitDetectionInstructions.push(Mo)),i.strokeStyle!==void 0&&(this.instructions.push(Si),this.hitDetectionInstructions.push(Si)),this.endGeometry(e)}drawPolygon(t,e){const i=this.state,n=i.fillStyle,o=i.strokeStyle;if(n===void 0&&o===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),i.fillStyle!==void 0&&this.hitDetectionInstructions.push([rt.SET_FILL_STYLE,ae]),i.strokeStyle!==void 0&&this.hitDetectionInstructions.push([rt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ni,ri]);const a=t.getEnds(),h=t.getOrientedFlatCoordinates(),c=t.getStride();this.drawFlatCoordinatess_(h,0,a,c),this.endGeometry(e)}drawMultiPolygon(t,e){const i=this.state,n=i.fillStyle,o=i.strokeStyle;if(n===void 0&&o===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(t,e),i.fillStyle!==void 0&&this.hitDetectionInstructions.push([rt.SET_FILL_STYLE,ae]),i.strokeStyle!==void 0&&this.hitDetectionInstructions.push([rt.SET_STROKE_STYLE,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,ni,ri]);const a=t.getEndss(),h=t.getOrientedFlatCoordinates(),c=t.getStride();let d=0;for(let f=0,p=a.length;f<p;++f)d=this.drawFlatCoordinatess_(h,d,a[f],c);this.endGeometry(e)}finish(){this.reverseHitDetectionInstructions(),this.state=null;const t=this.tolerance;if(t!==0){const e=this.coordinates;for(let i=0,n=e.length;i<n;++i)e[i]=nn(e[i],t)}return super.finish()}setFillStrokeStyles_(){const t=this.state;t.fillStyle!==void 0&&this.updateFillStyle(t,this.createFill),t.strokeStyle!==void 0&&this.updateStrokeStyle(t,this.applyStroke)}}const Xd=xw;function Aw(r,t,e,i,n){const o=[];let a=e,h=0,c=t.slice(e,2);for(;h<r&&a+n<i;){const[d,f]=c.slice(-2),p=t[a+n],_=t[a+n+1],y=Math.sqrt((p-d)*(p-d)+(_-f)*(_-f));if(h+=y,h>=r){const v=(r-h+y)/y,A=pe(d,p,v),b=pe(f,_,v);c.push(A,b),o.push(c),c=[A,b],h==r&&(a+=n),h=0}else if(h<r)c.push(t[a+n],t[a+n+1]),a+=n;else{const v=y-h,A=pe(d,p,v/y),b=pe(f,_,v/y);c.push(A,b),o.push(c),c=[A,b],h=0,a+=n}}return h>0&&o.push(c),o}function ww(r,t,e,i,n){let o=e,a=e,h=0,c=0,d=e,f,p,_,y,v,A,b,M,w,E;for(p=e;p<i;p+=n){const C=t[p],P=t[p+1];v!==void 0&&(w=C-v,E=P-A,y=Math.sqrt(w*w+E*E),b!==void 0&&(c+=_,f=Math.acos((b*w+M*E)/(_*y)),f>r&&(c>h&&(h=c,o=d,a=p),c=0,d=p-n)),_=y,b=w,M=E),v=C,A=P}return c+=y,c>h?[d,p]:[o,a]}const Po={left:0,center:.5,right:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};class Ew extends Gr{constructor(t,e,i,n){super(t,e,i,n),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.fillStates[ae]={fillStyle:ae},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterImageWithText_=void 0}finish(){const t=super.finish();return t.textStates=this.textStates,t.fillStates=this.fillStates,t.strokeStates=this.strokeStates,t}drawText(t,e){const i=this.textFillState_,n=this.textStrokeState_,o=this.textState_;if(this.text_===""||!o||!i&&!n)return;const a=this.coordinates;let h=a.length;const c=t.getType();let d=null,f=t.getStride();if(o.placement==="line"&&(c=="LineString"||c=="MultiLineString"||c=="Polygon"||c=="MultiPolygon")){if(!se(this.getBufferedMaxExtent(),t.getExtent()))return;let p;if(d=t.getFlatCoordinates(),c=="LineString")p=[d.length];else if(c=="MultiLineString")p=t.getEnds();else if(c=="Polygon")p=t.getEnds().slice(0,1);else if(c=="MultiPolygon"){const A=t.getEndss();p=[];for(let b=0,M=A.length;b<M;++b)p.push(A[b][0])}this.beginGeometry(t,e);const _=o.repeat,y=_?void 0:o.textAlign;let v=0;for(let A=0,b=p.length;A<b;++A){let M;_?M=Aw(_*this.resolution,d,v,p[A],f):M=[d.slice(v,p[A])];for(let w=0,E=M.length;w<E;++w){const C=M[w];let P=0,D=C.length;if(y==null){const R=ww(o.maxAngle,C,0,C.length,2);P=R[0],D=R[1]}for(let R=P;R<D;R+=f)a.push(C[R],C[R+1]);const k=a.length;v=p[A],this.drawChars_(h,k),h=k}}this.endGeometry(e)}else{let p=o.overflow?null:[];switch(c){case"Point":case"MultiPoint":d=t.getFlatCoordinates();break;case"LineString":d=t.getFlatMidpoint();break;case"Circle":d=t.getCenter();break;case"MultiLineString":d=t.getFlatMidpoints(),f=2;break;case"Polygon":d=t.getFlatInteriorPoint(),o.overflow||p.push(d[2]/this.resolution),f=3;break;case"MultiPolygon":const M=t.getFlatInteriorPoints();d=[];for(let w=0,E=M.length;w<E;w+=3)o.overflow||p.push(M[w+2]/this.resolution),d.push(M[w],M[w+1]);if(d.length===0)return;f=2;break}const _=this.appendFlatPointCoordinates(d,f);if(_===h)return;if(p&&(_-h)/2!==d.length/f){let M=h/2;p=p.filter((w,E)=>{const C=a[(M+E)*2]===d[E*f]&&a[(M+E)*2+1]===d[E*f+1];return C||--M,C})}this.saveTextStates_(),(o.backgroundFill||o.backgroundStroke)&&(this.setFillStrokeStyle(o.backgroundFill,o.backgroundStroke),o.backgroundFill&&this.updateFillStyle(this.state,this.createFill),o.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(t,e);let y=o.padding;if(y!=sn&&(o.scale[0]<0||o.scale[1]<0)){let M=o.padding[0],w=o.padding[1],E=o.padding[2],C=o.padding[3];o.scale[0]<0&&(w=-w,C=-C),o.scale[1]<0&&(M=-M,E=-E),y=[M,w,E,C]}const v=this.pixelRatio;this.instructions.push([rt.DRAW_IMAGE,h,_,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,void 0,this.declutterImageWithText_,y==sn?sn:y.map(function(M){return M*v}),!!o.backgroundFill,!!o.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,p]);const A=1/v,b=this.state.fillStyle;o.backgroundFill&&(this.state.fillStyle=ae,this.hitDetectionInstructions.push(this.createFill(this.state))),this.hitDetectionInstructions.push([rt.DRAW_IMAGE,h,_,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[A,A],NaN,void 0,this.declutterImageWithText_,y,!!o.backgroundFill,!!o.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_?ae:this.fillKey_,this.textOffsetX_,this.textOffsetY_,p]),o.backgroundFill&&(this.state.fillStyle=b,this.hitDetectionInstructions.push(this.createFill(this.state))),this.endGeometry(e)}}saveTextStates_(){const t=this.textStrokeState_,e=this.textState_,i=this.textFillState_,n=this.strokeKey_;t&&(n in this.strokeStates||(this.strokeStates[n]={strokeStyle:t.strokeStyle,lineCap:t.lineCap,lineDashOffset:t.lineDashOffset,lineWidth:t.lineWidth,lineJoin:t.lineJoin,miterLimit:t.miterLimit,lineDash:t.lineDash}));const o=this.textKey_;o in this.textStates||(this.textStates[o]={font:e.font,textAlign:e.textAlign||Mr,justify:e.justify,textBaseline:e.textBaseline||no,scale:e.scale});const a=this.fillKey_;i&&(a in this.fillStates||(this.fillStates[a]={fillStyle:i.fillStyle}))}drawChars_(t,e){const i=this.textStrokeState_,n=this.textState_,o=this.strokeKey_,a=this.textKey_,h=this.fillKey_;this.saveTextStates_();const c=this.pixelRatio,d=Po[n.textBaseline],f=this.textOffsetY_*c,p=this.text_,_=i?i.lineWidth*Math.abs(n.scale[0])/2:0;this.instructions.push([rt.DRAW_CHARS,t,e,d,n.overflow,h,n.maxAngle,c,f,o,_*c,p,a,1]),this.hitDetectionInstructions.push([rt.DRAW_CHARS,t,e,d,n.overflow,h&&ae,n.maxAngle,c,f,o,_*c,p,a,1/c])}setTextStyle(t,e){let i,n,o;if(!t)this.text_="";else{const a=t.getFill();a?(n=this.textFillState_,n||(n={},this.textFillState_=n),n.fillStyle=Ge(a.getColor()||ae)):(n=null,this.textFillState_=n);const h=t.getStroke();if(!h)o=null,this.textStrokeState_=o;else{o=this.textStrokeState_,o||(o={},this.textStrokeState_=o);const v=h.getLineDash(),A=h.getLineDashOffset(),b=h.getWidth(),M=h.getMiterLimit();o.lineCap=h.getLineCap()||Sn,o.lineDash=v?v.slice():ni,o.lineDashOffset=A===void 0?ri:A,o.lineJoin=h.getLineJoin()||Rn,o.lineWidth=b===void 0?Pr:b,o.miterLimit=M===void 0?br:M,o.strokeStyle=Ge(h.getColor()||Tr)}i=this.textState_;const c=t.getFont()||Iu;xy(c);const d=t.getScaleArray();i.overflow=t.getOverflow(),i.font=c,i.maxAngle=t.getMaxAngle(),i.placement=t.getPlacement(),i.textAlign=t.getTextAlign(),i.repeat=t.getRepeat(),i.justify=t.getJustify(),i.textBaseline=t.getTextBaseline()||no,i.backgroundFill=t.getBackgroundFill(),i.backgroundStroke=t.getBackgroundStroke(),i.padding=t.getPadding()||sn,i.scale=d===void 0?[1,1]:d;const f=t.getOffsetX(),p=t.getOffsetY(),_=t.getRotateWithView(),y=t.getRotation();this.text_=t.getText()||"",this.textOffsetX_=f===void 0?0:f,this.textOffsetY_=p===void 0?0:p,this.textRotateWithView_=_===void 0?!1:_,this.textRotation_=y===void 0?0:y,this.strokeKey_=o?(typeof o.strokeStyle=="string"?o.strokeStyle:ut(o.strokeStyle))+o.lineCap+o.lineDashOffset+"|"+o.lineWidth+o.lineJoin+o.miterLimit+"["+o.lineDash.join()+"]":"",this.textKey_=i.font+i.scale+(i.textAlign||"?")+(i.repeat||"?")+(i.justify||"?")+(i.textBaseline||"?"),this.fillKey_=n?typeof n.fillStyle=="string"?n.fillStyle:"|"+ut(n.fillStyle):""}this.declutterImageWithText_=e}}const Cw={Circle:Xd,Default:Gr,Image:_w,LineString:vw,Polygon:Xd,Text:Ew};class Lw{constructor(t,e,i,n){this.tolerance_=t,this.maxExtent_=e,this.pixelRatio_=n,this.resolution_=i,this.buildersByZIndex_={}}finish(){const t={};for(const e in this.buildersByZIndex_){t[e]=t[e]||{};const i=this.buildersByZIndex_[e];for(const n in i){const o=i[n].finish();t[e][n]=o}}return t}getBuilder(t,e){const i=t!==void 0?t.toString():"0";let n=this.buildersByZIndex_[i];n===void 0&&(n={},this.buildersByZIndex_[i]=n);let o=n[e];if(o===void 0){const a=Cw[e];o=new a(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),n[e]=o}return o}}const Zd=Lw;function bw(r,t,e,i,n,o,a,h,c,d,f,p){let _=r[t],y=r[t+1],v=0,A=0,b=0,M=0;function w(){v=_,A=y,t+=i,_=r[t],y=r[t+1],M+=b,b=Math.sqrt((_-v)*(_-v)+(y-A)*(y-A))}do w();while(t<e-i&&M+b<o);let E=b===0?0:(o-M)/b;const C=pe(v,_,E),P=pe(A,y,E),D=t-i,k=M,R=o+h*c(d,n,f);for(;t<e-i&&M+b<R;)w();E=b===0?0:(R-M)/b;const F=pe(v,_,E),j=pe(A,y,E);let G;if(p){const X=[C,P,F,j];su(X,0,4,2,p,X,X),G=X[0]>X[2]}else G=C>F;const Z=Math.PI,$=[],ot=D+i===t;t=D,b=0,M=k,_=r[t],y=r[t+1];let Y;if(ot){w(),Y=Math.atan2(y-A,_-v),G&&(Y+=Y>0?-Z:Z);const X=(F+C)/2,U=(j+P)/2;return $[0]=[X,U,(R-o)/2,Y,n],$}n=n.replace(/\n/g," ");for(let X=0,U=n.length;X<U;){w();let B=Math.atan2(y-A,_-v);if(G&&(B+=B>0?-Z:Z),Y!==void 0){let J=B-Y;if(J+=J>Z?-2*Z:J<-Z?2*Z:0,Math.abs(J)>a)return null}Y=B;const et=X;let W=0;for(;X<U;++X){const J=G?U-X-1:X,q=h*c(d,n[J],f);if(t+i<e&&M+b<o+W+q/2)break;W+=q}if(X===et)continue;const it=G?n.substring(U-et,U-X):n.substring(et,X);E=b===0?0:(o+W/2-M)/b;const z=pe(v,_,E),gt=pe(A,y,E);$.push([z,gt,W/2,B,it]),o+=W}return $}const Xn=ge(),Ri=[],hi=[],ci=[],Ii=[];function Vd(r){return r[3].declutterBox}const Kd=new RegExp("["+String.fromCharCode(1425)+"-"+String.fromCharCode(2303)+String.fromCharCode(64285)+"-"+String.fromCharCode(65023)+String.fromCharCode(65136)+"-"+String.fromCharCode(65276)+String.fromCharCode(67584)+"-"+String.fromCharCode(69631)+String.fromCharCode(124928)+"-"+String.fromCharCode(126975)+"]");function Yl(r,t){return t==="start"?t=Kd.test(r)?"right":"left":t==="end"&&(t=Kd.test(r)?"left":"right"),Po[t]}function Tw(r,t,e){return e>0&&r.push(`
449
+ `,""),r.push(t,""),r}class Mw{constructor(t,e,i,n){this.overlaps=i,this.pixelRatio=e,this.resolution=t,this.alignFill_,this.instructions=n.instructions,this.coordinates=n.coordinates,this.coordinateCache_={},this.renderedTransform_=Xt(),this.hitDetectionInstructions=n.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=n.fillStates||{},this.strokeStates=n.strokeStates||{},this.textStates=n.textStates||{},this.widths_={},this.labels_={}}createLabel(t,e,i,n){const o=t+e+i+n;if(this.labels_[o])return this.labels_[o];const a=n?this.strokeStates[n]:null,h=i?this.fillStates[i]:null,c=this.textStates[e],d=this.pixelRatio,f=[c.scale[0]*d,c.scale[1]*d],p=Array.isArray(t),_=c.justify?Po[c.justify]:Yl(Array.isArray(t)?t[0]:t,c.textAlign||Mr),y=n&&a.lineWidth?a.lineWidth:0,v=p?t:t.split(`
450
+ `).reduce(Tw,[]),{width:A,height:b,widths:M,heights:w,lineWidths:E}=wy(c,v),C=A+y,P=[],D=(C+2)*f[0],k=(b+y)*f[1],R={width:D<0?Math.floor(D):Math.ceil(D),height:k<0?Math.floor(k):Math.ceil(k),contextInstructions:P};(f[0]!=1||f[1]!=1)&&P.push("scale",f),n&&(P.push("strokeStyle",a.strokeStyle),P.push("lineWidth",y),P.push("lineCap",a.lineCap),P.push("lineJoin",a.lineJoin),P.push("miterLimit",a.miterLimit),P.push("setLineDash",[a.lineDash]),P.push("lineDashOffset",a.lineDashOffset)),i&&P.push("fillStyle",h.fillStyle),P.push("textBaseline","middle"),P.push("textAlign","center");const F=.5-_;let j=_*C+F*y;const G=[],Z=[];let $=0,ot=0,Y=0,X=0,U;for(let B=0,et=v.length;B<et;B+=2){const W=v[B];if(W===`
451
+ `){ot+=$,$=0,j=_*C+F*y,++X;continue}const it=v[B+1]||c.font;it!==U&&(n&&G.push("font",it),i&&Z.push("font",it),U=it),$=Math.max($,w[Y]);const z=[W,j+F*M[Y]+_*(M[Y]-E[X]),.5*(y+$)+ot];j+=M[Y],n&&G.push("strokeText",z),i&&Z.push("fillText",z),++Y}return Array.prototype.push.apply(P,G),Array.prototype.push.apply(P,Z),this.labels_[o]=R,R}replayTextBackground_(t,e,i,n,o,a,h){t.beginPath(),t.moveTo.apply(t,e),t.lineTo.apply(t,i),t.lineTo.apply(t,n),t.lineTo.apply(t,o),t.lineTo.apply(t,e),a&&(this.alignFill_=a[2],this.fill_(t)),h&&(this.setStrokeStyle_(t,h),t.stroke())}calculateImageOrLabelDimensions_(t,e,i,n,o,a,h,c,d,f,p,_,y,v,A,b){h*=_[0],c*=_[1];let M=i-h,w=n-c;const E=o+d>t?t-d:o,C=a+f>e?e-f:a,P=v[3]+E*_[0]+v[1],D=v[0]+C*_[1]+v[2],k=M-v[3],R=w-v[0];(A||p!==0)&&(Ri[0]=k,Ii[0]=k,Ri[1]=R,hi[1]=R,hi[0]=k+P,ci[0]=hi[0],ci[1]=R+D,Ii[1]=ci[1]);let F;return p!==0?(F=ze(Xt(),i,n,1,1,p,-i,-n),Ot(F,Ri),Ot(F,hi),Ot(F,ci),Ot(F,Ii),Ai(Math.min(Ri[0],hi[0],ci[0],Ii[0]),Math.min(Ri[1],hi[1],ci[1],Ii[1]),Math.max(Ri[0],hi[0],ci[0],Ii[0]),Math.max(Ri[1],hi[1],ci[1],Ii[1]),Xn)):Ai(Math.min(k,k+P),Math.min(R,R+D),Math.max(k,k+P),Math.max(R,R+D),Xn),y&&(M=Math.round(M),w=Math.round(w)),{drawImageX:M,drawImageY:w,drawImageW:E,drawImageH:C,originX:d,originY:f,declutterBox:{minX:Xn[0],minY:Xn[1],maxX:Xn[2],maxY:Xn[3],value:b},canvasTransform:F,scale:_}}replayImageOrLabel_(t,e,i,n,o,a,h){const c=!!(a||h),d=n.declutterBox,f=t.canvas,p=h?h[2]*n.scale[0]/2:0;return d.minX-p<=f.width/e&&d.maxX+p>=0&&d.minY-p<=f.height/e&&d.maxY+p>=0&&(c&&this.replayTextBackground_(t,Ri,hi,ci,Ii,a,h),Ey(t,n.canvasTransform,o,i,n.originX,n.originY,n.drawImageW,n.drawImageH,n.drawImageX,n.drawImageY,n.scale)),!0}fill_(t){if(this.alignFill_){const e=Ot(this.renderedTransform_,[0,0]),i=512*this.pixelRatio;t.save(),t.translate(e[0]%i,e[1]%i),t.rotate(this.viewRotation_)}t.fill(),this.alignFill_&&t.restore()}setStrokeStyle_(t,e){t.strokeStyle=e[1],t.lineWidth=e[2],t.lineCap=e[3],t.lineJoin=e[4],t.miterLimit=e[5],t.lineDashOffset=e[7],t.setLineDash(e[6])}drawLabelWithPointPlacement_(t,e,i,n){const o=this.textStates[e],a=this.createLabel(t,e,n,i),h=this.strokeStates[i],c=this.pixelRatio,d=Yl(Array.isArray(t)?t[0]:t,o.textAlign||Mr),f=Po[o.textBaseline||no],p=h&&h.lineWidth?h.lineWidth:0,_=a.width/c-2*o.scale[0],y=d*_+2*(.5-d)*p,v=f*a.height/c+2*(.5-f)*p;return{label:a,anchorX:y,anchorY:v}}execute_(t,e,i,n,o,a,h,c){let d;this.pixelCoordinates_&&ei(i,this.renderedTransform_)?d=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),d=tn(this.coordinates,0,this.coordinates.length,2,i,this.pixelCoordinates_),b_(this.renderedTransform_,i));let f=0;const p=n.length;let _=0,y,v,A,b,M,w,E,C,P,D,k,R,F=0,j=0,G=null,Z=null;const $=this.coordinateCache_,ot=this.viewRotation_,Y=Math.round(Math.atan2(-i[1],i[0])*1e12)/1e12,X={context:t,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:ot},U=this.instructions!=n||this.overlaps?0:200;let B,et,W,it;for(;f<p;){const z=n[f];switch(z[0]){case rt.BEGIN_GEOMETRY:B=z[1],it=z[3],B.getGeometry()?h!==void 0&&!se(h,it.getExtent())?f=z[2]+1:++f:f=z[2];break;case rt.BEGIN_PATH:F>U&&(this.fill_(t),F=0),j>U&&(t.stroke(),j=0),!F&&!j&&(t.beginPath(),b=NaN,M=NaN),++f;break;case rt.CIRCLE:_=z[1];const J=d[_],q=d[_+1],lt=d[_+2],Ft=d[_+3],Tt=lt-J,ve=Ft-q,He=Math.sqrt(Tt*Tt+ve*ve);t.moveTo(J+He,q),t.arc(J,q,He,0,2*Math.PI,!0),++f;break;case rt.CLOSE_PATH:t.closePath(),++f;break;case rt.CUSTOM:_=z[1],y=z[2];const ki=z[3],xe=z[4],Oi=z.length==6?z[5]:void 0;X.geometry=ki,X.feature=B,f in $||($[f]=[]);const We=$[f];Oi?Oi(d,_,y,2,We):(We[0]=d[_],We[1]=d[_+1],We.length=2),xe(We,X),++f;break;case rt.DRAW_IMAGE:_=z[1],y=z[2],C=z[3],v=z[4],A=z[5];let Fi=z[6];const Me=z[7],zi=z[8],di=z[9],Zn=z[10];let fi=z[11];const hn=z[12];let Zt=z[13];const ie=z[14],_e=z[15];if(!C&&z.length>=20){P=z[19],D=z[20],k=z[21],R=z[22];const ne=this.drawLabelWithPointPlacement_(P,D,k,R);C=ne.label,z[3]=C;const ji=z[23];v=(ne.anchorX-ji)*this.pixelRatio,z[4]=v;const he=z[24];A=(ne.anchorY-he)*this.pixelRatio,z[5]=A,Fi=C.height,z[6]=Fi,Zt=C.width,z[13]=Zt}let Pe;z.length>25&&(Pe=z[25]);let Ye,Xe,De;z.length>17?(Ye=z[16],Xe=z[17],De=z[18]):(Ye=sn,Xe=!1,De=!1),Zn&&Y?fi+=ot:!Zn&&!Y&&(fi-=ot);let Bi=0;for(;_<y;_+=2){if(Pe&&Pe[Bi++]<Zt/this.pixelRatio)continue;const ne=this.calculateImageOrLabelDimensions_(C.width,C.height,d[_],d[_+1],Zt,Fi,v,A,zi,di,fi,hn,o,Ye,Xe||De,B),ji=[t,e,C,ne,Me,Xe?G:null,De?Z:null];if(c){if(ie==="none")continue;if(ie==="obstacle"){c.insert(ne.declutterBox);continue}else{let he,Se;if(_e){const Vt=y-_;if(!_e[Vt]){_e[Vt]=ji;continue}if(he=_e[Vt],delete _e[Vt],Se=Vd(he),c.collides(Se))continue}if(c.collides(ne.declutterBox))continue;he&&(c.insert(Se),this.replayImageOrLabel_.apply(this,he)),c.insert(ne.declutterBox)}}this.replayImageOrLabel_.apply(this,ji)}++f;break;case rt.DRAW_CHARS:const cn=z[1],Wt=z[2],Ur=z[3],Do=z[4];R=z[5];const jr=z[6],Hr=z[7],So=z[8];k=z[9];const gi=z[10];P=z[11],D=z[12];const Ro=[z[13],z[13]],Wr=this.textStates[D],Ni=Wr.font,Gi=[Wr.scale[0]*Hr,Wr.scale[1]*Hr];let Ui;Ni in this.widths_?Ui=this.widths_[Ni]:(Ui={},this.widths_[Ni]=Ui);const Io=jd(d,cn,Wt,2),ko=Math.abs(Gi[0])*Ou(Ni,P,Ui);if(Do||ko<=Io){const ne=this.textStates[D].textAlign,ji=(Io-ko)*Yl(P,ne),he=bw(d,cn,Wt,2,P,ji,jr,Math.abs(Gi[0]),Ou,Ni,Ui,Y?0:this.viewRotation_);t:if(he){const Se=[];let Vt,Vn,Kn,te,ce;if(k)for(Vt=0,Vn=he.length;Vt<Vn;++Vt){ce=he[Vt],Kn=ce[4],te=this.createLabel(Kn,D,"",k),v=ce[2]+(Gi[0]<0?-gi:gi),A=Ur*te.height+(.5-Ur)*2*gi*Gi[1]/Gi[0]-So;const zt=this.calculateImageOrLabelDimensions_(te.width,te.height,ce[0],ce[1],te.width,te.height,v,A,0,0,ce[3],Ro,!1,sn,!1,B);if(c&&c.collides(zt.declutterBox))break t;Se.push([t,e,te,zt,1,null,null])}if(R)for(Vt=0,Vn=he.length;Vt<Vn;++Vt){ce=he[Vt],Kn=ce[4],te=this.createLabel(Kn,D,R,""),v=ce[2],A=Ur*te.height-So;const zt=this.calculateImageOrLabelDimensions_(te.width,te.height,ce[0],ce[1],te.width,te.height,v,A,0,0,ce[3],Ro,!1,sn,!1,B);if(c&&c.collides(zt.declutterBox))break t;Se.push([t,e,te,zt,1,null,null])}c&&c.load(Se.map(Vd));for(let zt=0,tt=Se.length;zt<tt;++zt)this.replayImageOrLabel_.apply(this,Se[zt])}}++f;break;case rt.END_GEOMETRY:if(a!==void 0){B=z[1];const ne=a(B,it);if(ne)return ne}++f;break;case rt.FILL:U?F++:this.fill_(t),++f;break;case rt.MOVE_TO_LINE_TO:for(_=z[1],y=z[2],et=d[_],W=d[_+1],w=et+.5|0,E=W+.5|0,(w!==b||E!==M)&&(t.moveTo(et,W),b=w,M=E),_+=2;_<y;_+=2)et=d[_],W=d[_+1],w=et+.5|0,E=W+.5|0,(_==y-2||w!==b||E!==M)&&(t.lineTo(et,W),b=w,M=E);++f;break;case rt.SET_FILL_STYLE:G=z,this.alignFill_=z[2],F&&(this.fill_(t),F=0,j&&(t.stroke(),j=0)),t.fillStyle=z[1],++f;break;case rt.SET_STROKE_STYLE:Z=z,j&&(t.stroke(),j=0),this.setStrokeStyle_(t,z),++f;break;case rt.STROKE:U?j++:t.stroke(),++f;break;default:++f;break}}F&&this.fill_(t),j&&t.stroke()}execute(t,e,i,n,o,a){this.viewRotation_=n,this.execute_(t,e,i,this.instructions,o,void 0,void 0,a)}executeHitDetection(t,e,i,n,o){return this.viewRotation_=i,this.execute_(t,1,e,this.hitDetectionInstructions,!0,n,o)}}const Pw=Mw,Xl=["Polygon","Circle","LineString","Image","Text","Default"];class Dw{constructor(t,e,i,n,o,a){this.maxExtent_=t,this.overlaps_=n,this.pixelRatio_=i,this.resolution_=e,this.renderBuffer_=a,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=Xt(),this.createExecutors_(o)}clip(t,e){const i=this.getClipCoords(e);t.beginPath(),t.moveTo(i[0],i[1]),t.lineTo(i[2],i[3]),t.lineTo(i[4],i[5]),t.lineTo(i[6],i[7]),t.clip()}createExecutors_(t){for(const e in t){let i=this.executorsByZIndex_[e];i===void 0&&(i={},this.executorsByZIndex_[e]=i);const n=t[e];for(const o in n){const a=n[o];i[o]=new Pw(this.resolution_,this.pixelRatio_,this.overlaps_,a)}}}hasExecutors(t){for(const e in this.executorsByZIndex_){const i=this.executorsByZIndex_[e];for(let n=0,o=t.length;n<o;++n)if(t[n]in i)return!0}return!1}forEachFeatureAtCoordinate(t,e,i,n,o,a){n=Math.round(n);const h=n*2+1,c=ze(this.hitDetectionTransform_,n+.5,n+.5,1/e,-1/e,-i,-t[0],-t[1]),d=!this.hitDetectionContext_;d&&(this.hitDetectionContext_=qt(h,h,void 0,{willReadFrequently:!0}));const f=this.hitDetectionContext_;f.canvas.width!==h||f.canvas.height!==h?(f.canvas.width=h,f.canvas.height=h):d||f.clearRect(0,0,h,h);let p;this.renderBuffer_!==void 0&&(p=ge(),vr(p,t),Ss(p,e*(this.renderBuffer_+n),p));const _=Sw(n);let y;function v(P,D){const k=f.getImageData(0,0,h,h).data;for(let R=0,F=_.length;R<F;R++)if(k[_[R]]>0){if(!a||y!=="Image"&&y!=="Text"||a.includes(P)){const j=(_[R]-3)/4,G=n-j%h,Z=n-(j/h|0),$=o(P,D,G*G+Z*Z);if($)return $}f.clearRect(0,0,h,h);break}}const A=Object.keys(this.executorsByZIndex_).map(Number);A.sort(xi);let b,M,w,E,C;for(b=A.length-1;b>=0;--b){const P=A[b].toString();for(w=this.executorsByZIndex_[P],M=Xl.length-1;M>=0;--M)if(y=Xl[M],E=w[y],E!==void 0&&(C=E.executeHitDetection(f,c,i,v,p),C))return C}}getClipCoords(t){const e=this.maxExtent_;if(!e)return null;const i=e[0],n=e[1],o=e[2],a=e[3],h=[i,n,i,a,o,a,o,n];return tn(h,0,8,2,t,h),h}isEmpty(){return Cn(this.executorsByZIndex_)}execute(t,e,i,n,o,a,h){const c=Object.keys(this.executorsByZIndex_).map(Number);c.sort(xi),this.maxExtent_&&(t.save(),this.clip(t,i)),a=a||Xl;let d,f,p,_,y,v;for(h&&c.reverse(),d=0,f=c.length;d<f;++d){const A=c[d].toString();for(y=this.executorsByZIndex_[A],p=0,_=a.length;p<_;++p){const b=a[p];v=y[b],v!==void 0&&v.execute(t,e,i,n,o,h)}}this.maxExtent_&&t.restore()}}const Zl={};function Sw(r){if(Zl[r]!==void 0)return Zl[r];const t=r*2+1,e=r*r,i=new Array(e+1);for(let o=0;o<=r;++o)for(let a=0;a<=r;++a){const h=o*o+a*a;if(h>e)break;let c=i[h];c||(c=[],i[h]=c),c.push(((r+o)*t+(r+a))*4+3),o>0&&c.push(((r-o)*t+(r+a))*4+3),a>0&&(c.push(((r+o)*t+(r-a))*4+3),o>0&&c.push(((r-o)*t+(r-a))*4+3))}const n=[];for(let o=0,a=i.length;o<a;++o)i[o]&&n.push(...i[o]);return Zl[r]=n,n}const Qd=Dw;class Rw extends Yd{constructor(t,e,i,n,o,a,h){super(),this.context_=t,this.pixelRatio_=e,this.extent_=i,this.transform_=n,this.transformRotation_=n?Ia(Math.atan2(n[1],n[0]),10):0,this.viewRotation_=o,this.squaredTolerance_=a,this.userTransform_=h,this.contextFillState_=null,this.contextStrokeState_=null,this.contextTextState_=null,this.fillState_=null,this.strokeState_=null,this.image_=null,this.imageAnchorX_=0,this.imageAnchorY_=0,this.imageHeight_=0,this.imageOpacity_=0,this.imageOriginX_=0,this.imageOriginY_=0,this.imageRotateWithView_=!1,this.imageRotation_=0,this.imageScale_=[0,0],this.imageWidth_=0,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=!1,this.textRotation_=0,this.textScale_=[0,0],this.textFillState_=null,this.textStrokeState_=null,this.textState_=null,this.pixelCoordinates_=[],this.tmpLocalTransform_=Xt()}drawImages_(t,e,i,n){if(!this.image_)return;const o=tn(t,e,i,n,this.transform_,this.pixelCoordinates_),a=this.context_,h=this.tmpLocalTransform_,c=a.globalAlpha;this.imageOpacity_!=1&&(a.globalAlpha=c*this.imageOpacity_);let d=this.imageRotation_;this.transformRotation_===0&&(d-=this.viewRotation_),this.imageRotateWithView_&&(d+=this.viewRotation_);for(let f=0,p=o.length;f<p;f+=2){const _=o[f]-this.imageAnchorX_,y=o[f+1]-this.imageAnchorY_;if(d!==0||this.imageScale_[0]!=1||this.imageScale_[1]!=1){const v=_+this.imageAnchorX_,A=y+this.imageAnchorY_;ze(h,v,A,1,1,d,-v,-A),a.save(),a.transform.apply(a,h),a.translate(v,A),a.scale(this.imageScale_[0],this.imageScale_[1]),a.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),a.restore()}else a.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,_,y,this.imageWidth_,this.imageHeight_)}this.imageOpacity_!=1&&(a.globalAlpha=c)}drawText_(t,e,i,n){if(!this.textState_||this.text_==="")return;this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);const o=tn(t,e,i,n,this.transform_,this.pixelCoordinates_),a=this.context_;let h=this.textRotation_;for(this.transformRotation_===0&&(h-=this.viewRotation_),this.textRotateWithView_&&(h+=this.viewRotation_);e<i;e+=n){const c=o[e]+this.textOffsetX_,d=o[e+1]+this.textOffsetY_;h!==0||this.textScale_[0]!=1||this.textScale_[1]!=1?(a.save(),a.translate(c-this.textOffsetX_,d-this.textOffsetY_),a.rotate(h),a.translate(this.textOffsetX_,this.textOffsetY_),a.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&a.strokeText(this.text_,0,0),this.textFillState_&&a.fillText(this.text_,0,0),a.restore()):(this.textStrokeState_&&a.strokeText(this.text_,c,d),this.textFillState_&&a.fillText(this.text_,c,d))}}moveToLineTo_(t,e,i,n,o){const a=this.context_,h=tn(t,e,i,n,this.transform_,this.pixelCoordinates_);a.moveTo(h[0],h[1]);let c=h.length;o&&(c-=2);for(let d=2;d<c;d+=2)a.lineTo(h[d],h[d+1]);return o&&a.closePath(),i}drawRings_(t,e,i,n){for(let o=0,a=i.length;o<a;++o)e=this.moveToLineTo_(t,e,i[o],n,!0);return e}drawCircle(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=O_(t,this.transform_,this.pixelCoordinates_),i=e[2]-e[0],n=e[3]-e[1],o=Math.sqrt(i*i+n*n),a=this.context_;a.beginPath(),a.arc(e[0],e[1],o,0,2*Math.PI),this.fillState_&&a.fill(),this.strokeState_&&a.stroke()}this.text_!==""&&this.drawText_(t.getCenter(),0,2,2)}}setStyle(t){this.setFillStrokeStyle(t.getFill(),t.getStroke()),this.setImageStyle(t.getImage()),this.setTextStyle(t.getText())}setTransform(t){this.transform_=t}drawGeometry(t){switch(t.getType()){case"Point":this.drawPoint(t);break;case"LineString":this.drawLineString(t);break;case"Polygon":this.drawPolygon(t);break;case"MultiPoint":this.drawMultiPoint(t);break;case"MultiLineString":this.drawMultiLineString(t);break;case"MultiPolygon":this.drawMultiPolygon(t);break;case"GeometryCollection":this.drawGeometryCollection(t);break;case"Circle":this.drawCircle(t);break}}drawFeature(t,e){const i=e.getGeometryFunction()(t);i&&(this.setStyle(e),this.drawGeometry(i))}drawGeometryCollection(t){const e=t.getGeometriesArray();for(let i=0,n=e.length;i<n;++i)this.drawGeometry(e[i])}drawPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),this.text_!==""&&this.drawText_(e,0,e.length,i)}drawMultiPoint(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getFlatCoordinates(),i=t.getStride();this.image_&&this.drawImages_(e,0,e.length,i),this.text_!==""&&this.drawText_(e,0,e.length,i)}drawLineString(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getFlatCoordinates();e.beginPath(),this.moveToLineTo_(i,0,i.length,t.getStride(),!1),e.stroke()}if(this.text_!==""){const e=t.getFlatMidpoint();this.drawText_(e,0,2,2)}}}drawMultiLineString(t){this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const e=t.getExtent();if(se(this.extent_,e)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const i=this.context_,n=t.getFlatCoordinates();let o=0;const a=t.getEnds(),h=t.getStride();i.beginPath();for(let c=0,d=a.length;c<d;++c)o=this.moveToLineTo_(n,o,a[c],h,!1);i.stroke()}if(this.text_!==""){const i=t.getFlatMidpoints();this.drawText_(i,0,i.length,2)}}}drawPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_;e.beginPath(),this.drawRings_(t.getOrientedFlatCoordinates(),0,t.getEnds(),t.getStride()),this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(this.text_!==""){const e=t.getFlatInteriorPoint();this.drawText_(e,0,2,2)}}}drawMultiPolygon(t){if(this.squaredTolerance_&&(t=t.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!se(this.extent_,t.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const e=this.context_,i=t.getOrientedFlatCoordinates();let n=0;const o=t.getEndss(),a=t.getStride();e.beginPath();for(let h=0,c=o.length;h<c;++h){const d=o[h];n=this.drawRings_(i,n,d,a)}this.fillState_&&e.fill(),this.strokeState_&&e.stroke()}if(this.text_!==""){const e=t.getFlatInteriorPoints();this.drawText_(e,0,e.length,2)}}}setContextFillState_(t){const e=this.context_,i=this.contextFillState_;i?i.fillStyle!=t.fillStyle&&(i.fillStyle=t.fillStyle,e.fillStyle=t.fillStyle):(e.fillStyle=t.fillStyle,this.contextFillState_={fillStyle:t.fillStyle})}setContextStrokeState_(t){const e=this.context_,i=this.contextStrokeState_;i?(i.lineCap!=t.lineCap&&(i.lineCap=t.lineCap,e.lineCap=t.lineCap),ei(i.lineDash,t.lineDash)||e.setLineDash(i.lineDash=t.lineDash),i.lineDashOffset!=t.lineDashOffset&&(i.lineDashOffset=t.lineDashOffset,e.lineDashOffset=t.lineDashOffset),i.lineJoin!=t.lineJoin&&(i.lineJoin=t.lineJoin,e.lineJoin=t.lineJoin),i.lineWidth!=t.lineWidth&&(i.lineWidth=t.lineWidth,e.lineWidth=t.lineWidth),i.miterLimit!=t.miterLimit&&(i.miterLimit=t.miterLimit,e.miterLimit=t.miterLimit),i.strokeStyle!=t.strokeStyle&&(i.strokeStyle=t.strokeStyle,e.strokeStyle=t.strokeStyle)):(e.lineCap=t.lineCap,e.setLineDash(t.lineDash),e.lineDashOffset=t.lineDashOffset,e.lineJoin=t.lineJoin,e.lineWidth=t.lineWidth,e.miterLimit=t.miterLimit,e.strokeStyle=t.strokeStyle,this.contextStrokeState_={lineCap:t.lineCap,lineDash:t.lineDash,lineDashOffset:t.lineDashOffset,lineJoin:t.lineJoin,lineWidth:t.lineWidth,miterLimit:t.miterLimit,strokeStyle:t.strokeStyle})}setContextTextState_(t){const e=this.context_,i=this.contextTextState_,n=t.textAlign?t.textAlign:Mr;i?(i.font!=t.font&&(i.font=t.font,e.font=t.font),i.textAlign!=n&&(i.textAlign=n,e.textAlign=n),i.textBaseline!=t.textBaseline&&(i.textBaseline=t.textBaseline,e.textBaseline=t.textBaseline)):(e.font=t.font,e.textAlign=n,e.textBaseline=t.textBaseline,this.contextTextState_={font:t.font,textAlign:n,textBaseline:t.textBaseline})}setFillStrokeStyle(t,e){if(!t)this.fillState_=null;else{const i=t.getColor();this.fillState_={fillStyle:Ge(i||ae)}}if(!e)this.strokeState_=null;else{const i=e.getColor(),n=e.getLineCap(),o=e.getLineDash(),a=e.getLineDashOffset(),h=e.getLineJoin(),c=e.getWidth(),d=e.getMiterLimit(),f=o||ni;this.strokeState_={lineCap:n!==void 0?n:Sn,lineDash:this.pixelRatio_===1?f:f.map(p=>p*this.pixelRatio_),lineDashOffset:(a||ri)*this.pixelRatio_,lineJoin:h!==void 0?h:Rn,lineWidth:(c!==void 0?c:Pr)*this.pixelRatio_,miterLimit:d!==void 0?d:br,strokeStyle:Ge(i||Tr)}}}setImageStyle(t){let e;if(!t||!(e=t.getSize())){this.image_=null;return}const i=t.getPixelRatio(this.pixelRatio_),n=t.getAnchor(),o=t.getOrigin();this.image_=t.getImage(this.pixelRatio_),this.imageAnchorX_=n[0]*i,this.imageAnchorY_=n[1]*i,this.imageHeight_=e[1]*i,this.imageOpacity_=t.getOpacity(),this.imageOriginX_=o[0],this.imageOriginY_=o[1],this.imageRotateWithView_=t.getRotateWithView(),this.imageRotation_=t.getRotation();const a=t.getScaleArray();this.imageScale_=[a[0]*this.pixelRatio_/i,a[1]*this.pixelRatio_/i],this.imageWidth_=e[0]*i}setTextStyle(t){if(!t)this.text_="";else{const e=t.getFill();if(!e)this.textFillState_=null;else{const y=e.getColor();this.textFillState_={fillStyle:Ge(y||ae)}}const i=t.getStroke();if(!i)this.textStrokeState_=null;else{const y=i.getColor(),v=i.getLineCap(),A=i.getLineDash(),b=i.getLineDashOffset(),M=i.getLineJoin(),w=i.getWidth(),E=i.getMiterLimit();this.textStrokeState_={lineCap:v!==void 0?v:Sn,lineDash:A||ni,lineDashOffset:b||ri,lineJoin:M!==void 0?M:Rn,lineWidth:w!==void 0?w:Pr,miterLimit:E!==void 0?E:br,strokeStyle:Ge(y||Tr)}}const n=t.getFont(),o=t.getOffsetX(),a=t.getOffsetY(),h=t.getRotateWithView(),c=t.getRotation(),d=t.getScaleArray(),f=t.getText(),p=t.getTextAlign(),_=t.getTextBaseline();this.textState_={font:n!==void 0?n:Iu,textAlign:p!==void 0?p:Mr,textBaseline:_!==void 0?_:no},this.text_=f!==void 0?Array.isArray(f)?f.reduce((y,v,A)=>y+=A%2?" ":v,""):f:"",this.textOffsetX_=o!==void 0?this.pixelRatio_*o:0,this.textOffsetY_=a!==void 0?this.pixelRatio_*a:0,this.textRotateWithView_=h!==void 0?h:!1,this.textRotation_=c!==void 0?c:0,this.textScale_=[this.pixelRatio_*d[0],this.pixelRatio_*d[1]]}}}const Iw=Rw,je=.5;function kw(r,t,e,i,n,o,a){const h=r[0]*je,c=r[1]*je,d=qt(h,c);d.imageSmoothingEnabled=!1;const f=d.canvas,p=new Iw(d,je,n,null,a),_=e.length,y=Math.floor((256*256*256-1)/_),v={};for(let b=1;b<=_;++b){const M=e[b-1],w=M.getStyleFunction()||i;if(!w)continue;let E=w(M,o);if(!E)continue;Array.isArray(E)||(E=[E]);const P=(b*y).toString(16).padStart(7,"#00000");for(let D=0,k=E.length;D<k;++D){const R=E[D],F=R.getGeometryFunction()(M);if(!F||!se(n,F.getExtent()))continue;const j=R.clone(),G=j.getFill();G&&G.setColor(P);const Z=j.getStroke();Z&&(Z.setColor(P),Z.setLineDash(null)),j.setText(void 0);const $=R.getImage();if($){const U=$.getImageSize();if(!U)continue;const B=qt(U[0],U[1],void 0,{alpha:!1}),et=B.canvas;B.fillStyle=P,B.fillRect(0,0,et.width,et.height),j.setImage(new xl({img:et,anchor:$.getAnchor(),anchorXUnits:"pixels",anchorYUnits:"pixels",offset:$.getOrigin(),opacity:1,size:$.getSize(),scale:$.getScale(),rotation:$.getRotation(),rotateWithView:$.getRotateWithView()}))}const ot=j.getZIndex()||0;let Y=v[ot];Y||(Y={},v[ot]=Y,Y.Polygon=[],Y.Circle=[],Y.LineString=[],Y.Point=[]);const X=F.getType();if(X==="GeometryCollection"){const U=F.getGeometriesArrayRecursive();for(let B=0,et=U.length;B<et;++B){const W=U[B];Y[W.getType().replace("Multi","")].push(W,j)}}else Y[X.replace("Multi","")].push(F,j)}}const A=Object.keys(v).map(Number).sort(xi);for(let b=0,M=A.length;b<M;++b){const w=v[A[b]];for(const E in w){const C=w[E];for(let P=0,D=C.length;P<D;P+=2){p.setStyle(C[P+1]);for(let k=0,R=t.length;k<R;++k)p.setTransform(t[k]),p.drawGeometry(C[P])}}}return d.getImageData(0,0,f.width,f.height)}function Ow(r,t,e){const i=[];if(e){const n=Math.floor(Math.round(r[0])*je),o=Math.floor(Math.round(r[1])*je),a=(Rt(n,0,e.width-1)+Rt(o,0,e.height-1)*e.width)*4,h=e.data[a],c=e.data[a+1],f=e.data[a+2]+256*(c+256*h),p=Math.floor((256*256*256-1)/t.length);f&&f%p===0&&i.push(t[f/p-1])}return i}const Fw=.5,qd={Point:Yw,LineString:jw,Polygon:Zw,MultiPoint:Xw,MultiLineString:Hw,MultiPolygon:Ww,GeometryCollection:Uw,Circle:Nw};function zw(r,t){return parseInt(ut(r),10)-parseInt(ut(t),10)}function Bw(r,t){const e=Vl(r,t);return e*e}function Vl(r,t){return Fw*r/t}function Nw(r,t,e,i,n){const o=e.getFill(),a=e.getStroke();if(o||a){const c=r.getBuilder(e.getZIndex(),"Circle");c.setFillStrokeStyle(o,a),c.drawCircle(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}function Jd(r,t,e,i,n,o,a){let h=!1;const c=e.getImage();if(c){const d=c.getImageState();d==bt.LOADED||d==bt.ERROR?c.unlistenImageChange(n):(d==bt.IDLE&&c.load(),c.listenImageChange(n),h=!0)}return Gw(r,t,e,i,o,a),h}function Gw(r,t,e,i,n,o){const a=e.getGeometryFunction()(t);if(!a)return;const h=a.simplifyTransformed(i,n);if(e.getRenderer())$d(r,h,e,t);else{const d=qd[h.getType()];d(r,h,e,t,o)}}function $d(r,t,e,i){if(t.getType()=="GeometryCollection"){const o=t.getGeometries();for(let a=0,h=o.length;a<h;++a)$d(r,o[a],e,i);return}r.getBuilder(e.getZIndex(),"Default").drawCustom(t,i,e.getRenderer(),e.getHitDetectionRenderer())}function Uw(r,t,e,i,n){const o=t.getGeometriesArray();let a,h;for(a=0,h=o.length;a<h;++a){const c=qd[o[a].getType()];c(r,o[a],e,i,n)}}function jw(r,t,e,i,n){const o=e.getStroke();if(o){const h=r.getBuilder(e.getZIndex(),"LineString");h.setFillStrokeStyle(null,o),h.drawLineString(t,i)}const a=e.getText();if(a&&a.getText()){const h=(n||r).getBuilder(e.getZIndex(),"Text");h.setTextStyle(a),h.drawText(t,i)}}function Hw(r,t,e,i,n){const o=e.getStroke();if(o){const h=r.getBuilder(e.getZIndex(),"LineString");h.setFillStrokeStyle(null,o),h.drawMultiLineString(t,i)}const a=e.getText();if(a&&a.getText()){const h=(n||r).getBuilder(e.getZIndex(),"Text");h.setTextStyle(a),h.drawText(t,i)}}function Ww(r,t,e,i,n){const o=e.getFill(),a=e.getStroke();if(a||o){const c=r.getBuilder(e.getZIndex(),"Polygon");c.setFillStrokeStyle(o,a),c.drawMultiPolygon(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}function Yw(r,t,e,i,n){const o=e.getImage(),a=e.getText();let h;if(o){if(o.getImageState()!=bt.LOADED)return;let c=r;if(n){const f=o.getDeclutterMode();if(f!=="none")if(c=n,f==="obstacle"){const p=r.getBuilder(e.getZIndex(),"Image");p.setImageStyle(o,h),p.drawPoint(t,i)}else a&&a.getText()&&(h={})}const d=c.getBuilder(e.getZIndex(),"Image");d.setImageStyle(o,h),d.drawPoint(t,i)}if(a&&a.getText()){let c=r;n&&(c=n);const d=c.getBuilder(e.getZIndex(),"Text");d.setTextStyle(a,h),d.drawText(t,i)}}function Xw(r,t,e,i,n){const o=e.getImage(),a=e.getText();let h;if(o){if(o.getImageState()!=bt.LOADED)return;let c=r;if(n){const f=o.getDeclutterMode();if(f!=="none")if(c=n,f==="obstacle"){const p=r.getBuilder(e.getZIndex(),"Image");p.setImageStyle(o,h),p.drawMultiPoint(t,i)}else a&&a.getText()&&(h={})}const d=c.getBuilder(e.getZIndex(),"Image");d.setImageStyle(o,h),d.drawMultiPoint(t,i)}if(a&&a.getText()){let c=r;n&&(c=n);const d=c.getBuilder(e.getZIndex(),"Text");d.setTextStyle(a,h),d.drawText(t,i)}}function Zw(r,t,e,i,n){const o=e.getFill(),a=e.getStroke();if(o||a){const c=r.getBuilder(e.getZIndex(),"Polygon");c.setFillStrokeStyle(o,a),c.drawPolygon(t,i)}const h=e.getText();if(h&&h.getText()){const c=(n||r).getBuilder(e.getZIndex(),"Text");c.setTextStyle(h),c.drawText(t,i)}}class Vw extends Fd{constructor(t){super(t),this.boundHandleStyleImageChange_=this.handleStyleImageChange_.bind(this),this.animatingOrInteracting_,this.hitDetectionImageData_=null,this.renderedFeatures_=null,this.renderedRevision_=-1,this.renderedResolution_=NaN,this.renderedExtent_=ge(),this.wrappedRenderedExtent_=ge(),this.renderedRotation_,this.renderedCenter_=null,this.renderedProjection_=null,this.renderedRenderOrder_=null,this.replayGroup_=null,this.replayGroupChanged=!0,this.declutterExecutorGroup=null,this.clipping=!0,this.compositionContext_=null,this.opacity_=1}renderWorlds(t,e,i){const n=e.extent,o=e.viewState,a=o.center,h=o.resolution,c=o.projection,d=o.rotation,f=c.getExtent(),p=this.getLayer().getSource(),_=e.pixelRatio,y=e.viewHints,v=!(y[Ut.ANIMATING]||y[Ut.INTERACTING]),A=this.compositionContext_,b=Math.round(e.size[0]*_),M=Math.round(e.size[1]*_),w=p.getWrapX()&&c.canWrapX(),E=w?Lt(f):null,C=w?Math.ceil((n[2]-f[2])/E)+1:1;let P=w?Math.floor((n[0]-f[0])/E):0;do{const D=this.getRenderTransform(a,h,d,_,b,M,P*E);t.execute(A,1,D,d,v,void 0,i)}while(++P<C)}setupCompositionContext_(){if(this.opacity_!==1){const t=qt(this.context.canvas.width,this.context.canvas.height,Od);this.compositionContext_=t}else this.compositionContext_=this.context}releaseCompositionContext_(){if(this.opacity_!==1){const t=this.context.globalAlpha;this.context.globalAlpha=this.opacity_,this.context.drawImage(this.compositionContext_.canvas,0,0),this.context.globalAlpha=t,to(this.compositionContext_),Od.push(this.compositionContext_.canvas),this.compositionContext_=null}}renderDeclutter(t){this.declutterExecutorGroup&&(this.setupCompositionContext_(),this.renderWorlds(this.declutterExecutorGroup,t,t.declutterTree),this.releaseCompositionContext_())}renderFrame(t,e){const i=t.pixelRatio,n=t.layerStatesArray[t.layerIndex];T_(this.pixelTransform,1/i,1/i),js(this.inversePixelTransform,this.pixelTransform);const o=ru(this.pixelTransform);this.useContainer(e,o,this.getBackground(t));const a=this.context,h=a.canvas,c=this.replayGroup_,d=this.declutterExecutorGroup;let f=c&&!c.isEmpty()||d&&!d.isEmpty();if(!f&&!(this.getLayer().hasListener(Qt.PRERENDER)||this.getLayer().hasListener(Qt.POSTRENDER)))return null;const p=Math.round(t.size[0]*i),_=Math.round(t.size[1]*i);h.width!=p||h.height!=_?(h.width=p,h.height=_,h.style.transform!==o&&(h.style.transform=o)):this.containerReused||a.clearRect(0,0,p,_),this.preRender(a,t);const y=t.viewState;y.projection,this.opacity_=n.opacity,this.setupCompositionContext_();let v=!1;if(f&&n.extent&&this.clipping){const A=$i(n.extent);f=se(A,t.extent),v=f&&!Vi(A,t.extent),v&&this.clipUnrotated(this.compositionContext_,t,A)}return f&&this.renderWorlds(c,t),v&&this.compositionContext_.restore(),this.releaseCompositionContext_(),this.postRender(a,t),this.renderedRotation_!==y.rotation&&(this.renderedRotation_=y.rotation,this.hitDetectionImageData_=null),this.container}getFeatures(t){return new Promise(e=>{if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const i=[this.context.canvas.width,this.context.canvas.height];Ot(this.pixelTransform,i);const n=this.renderedCenter_,o=this.renderedResolution_,a=this.renderedRotation_,h=this.renderedProjection_,c=this.wrappedRenderedExtent_,d=this.getLayer(),f=[],p=i[0]*je,_=i[1]*je;f.push(this.getRenderTransform(n,o,a,je,p,_,0).slice());const y=d.getSource(),v=h.getExtent();if(y.getWrapX()&&h.canWrapX()&&!Vi(v,c)){let A=c[0];const b=Lt(v);let M=0,w;for(;A<v[0];)--M,w=b*M,f.push(this.getRenderTransform(n,o,a,je,p,_,w).slice()),A+=b;for(M=0,A=c[2];A>v[2];)++M,w=b*M,f.push(this.getRenderTransform(n,o,a,je,p,_,w).slice()),A-=b}this.hitDetectionImageData_=kw(i,f,this.renderedFeatures_,d.getStyleFunction(),c,o,a)}e(Ow(t,this.renderedFeatures_,this.hitDetectionImageData_))})}forEachFeatureAtCoordinate(t,e,i,n,o){if(!this.replayGroup_)return;const a=e.viewState.resolution,h=e.viewState.rotation,c=this.getLayer(),d={},f=function(y,v,A){const b=ut(y),M=d[b];if(M){if(M!==!0&&A<M.distanceSq){if(A===0)return d[b]=!0,o.splice(o.lastIndexOf(M),1),n(y,c,v);M.geometry=v,M.distanceSq=A}}else{if(A===0)return d[b]=!0,n(y,c,v);o.push(d[b]={feature:y,layer:c,geometry:v,distanceSq:A,callback:n})}};let p;const _=[this.replayGroup_];return this.declutterExecutorGroup&&_.push(this.declutterExecutorGroup),_.some(y=>p=y.forEachFeatureAtCoordinate(t,a,h,i,f,y===this.declutterExecutorGroup&&e.declutterTree?e.declutterTree.all().map(v=>v.value):null)),p}handleFontsChanged(){const t=this.getLayer();t.getVisible()&&this.replayGroup_&&t.changed()}handleStyleImageChange_(t){this.renderIfReadyAndVisible()}prepareFrame(t){const e=this.getLayer(),i=e.getSource();if(!i)return!1;const n=t.viewHints[Ut.ANIMATING],o=t.viewHints[Ut.INTERACTING],a=e.getUpdateWhileAnimating(),h=e.getUpdateWhileInteracting();if(this.ready&&!a&&n||!h&&o)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const c=t.extent,d=t.viewState,f=d.projection,p=d.resolution,_=t.pixelRatio,y=e.getRevision(),v=e.getRenderBuffer();let A=e.getRenderOrder();A===void 0&&(A=zw);const b=d.center.slice(),M=Ss(c,v*p),w=M.slice(),E=[M.slice()],C=f.getExtent();if(i.getWrapX()&&f.canWrapX()&&!Vi(C,t.extent)){const Y=Lt(C),X=Math.max(Lt(M)/2,Y);M[0]=C[0]-X,M[2]=C[2]+X,Fc(b,f);const U=Oc(E[0],f);U[0]<C[0]&&U[2]<C[2]?E.push([U[0]+Y,U[1],U[2]+Y,U[3]]):U[0]>C[0]&&U[2]>C[2]&&E.push([U[0]-Y,U[1],U[2]-Y,U[3]])}if(this.ready&&this.renderedResolution_==p&&this.renderedRevision_==y&&this.renderedRenderOrder_==A&&Vi(this.wrappedRenderedExtent_,M))return ei(this.renderedExtent_,w)||(this.hitDetectionImageData_=null,this.renderedExtent_=w),this.renderedCenter_=b,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const P=new Zd(Vl(p,_),M,p,_);let D;this.getLayer().getDeclutter()&&(D=new Zd(Vl(p,_),M,p,_));let k;for(let Y=0,X=E.length;Y<X;++Y)i.loadFeatures(E[Y],p,f);const R=Bw(p,_);let F=!0;const j=Y=>{let X;const U=Y.getStyleFunction()||e.getStyleFunction();if(U&&(X=U(Y,p)),X){const B=this.renderFeature(Y,R,X,P,k,D);F=F&&!B}},G=Xc(M),Z=i.getFeaturesInExtent(G);A&&Z.sort(A);for(let Y=0,X=Z.length;Y<X;++Y)j(Z[Y]);this.renderedFeatures_=Z,this.ready=F;const $=P.finish(),ot=new Qd(M,p,_,i.getOverlaps(),$,e.getRenderBuffer());return D&&(this.declutterExecutorGroup=new Qd(M,p,_,i.getOverlaps(),D.finish(),e.getRenderBuffer())),this.renderedResolution_=p,this.renderedRevision_=y,this.renderedRenderOrder_=A,this.renderedExtent_=w,this.wrappedRenderedExtent_=M,this.renderedCenter_=b,this.renderedProjection_=f,this.replayGroup_=ot,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0}renderFeature(t,e,i,n,o,a){if(!i)return!1;let h=!1;if(Array.isArray(i))for(let c=0,d=i.length;c<d;++c)h=Jd(n,t,i[c],e,this.boundHandleStyleImageChange_,o,a)||h;else h=Jd(n,t,i,e,this.boundHandleStyleImageChange_,o,a);return h}}const Kw=Vw;class Qw extends Ll{constructor(t){super(t)}createRenderer(){return new Kw(this)}}const tf=Qw,$t={ELEMENT:"element",MAP:"map",OFFSET:"offset",POSITION:"position",POSITIONING:"positioning"};class qw extends Ce{constructor(t){super(),this.on,this.once,this.un,this.options=t,this.id=t.id,this.insertFirst=t.insertFirst!==void 0?t.insertFirst:!0,this.stopEvent=t.stopEvent!==void 0?t.stopEvent:!0,this.element=document.createElement("div"),this.element.className=t.className!==void 0?t.className:"ol-overlay-container "+py,this.element.style.position="absolute",this.element.style.pointerEvents="auto",this.autoPan=t.autoPan===!0?{}:t.autoPan||void 0,this.rendered={transform_:"",visible:!0},this.mapPostrenderListenerKey=null,this.addChangeListener($t.ELEMENT,this.handleElementChanged),this.addChangeListener($t.MAP,this.handleMapChanged),this.addChangeListener($t.OFFSET,this.handleOffsetChanged),this.addChangeListener($t.POSITION,this.handlePositionChanged),this.addChangeListener($t.POSITIONING,this.handlePositioningChanged),t.element!==void 0&&this.setElement(t.element),this.setOffset(t.offset!==void 0?t.offset:[0,0]),this.setPositioning(t.positioning||"top-left"),t.position!==void 0&&this.setPosition(t.position)}getElement(){return this.get($t.ELEMENT)}getId(){return this.id}getMap(){return this.get($t.MAP)||null}getOffset(){return this.get($t.OFFSET)}getPosition(){return this.get($t.POSITION)}getPositioning(){return this.get($t.POSITIONING)}handleElementChanged(){Ru(this.element);const t=this.getElement();t&&this.element.appendChild(t)}handleMapChanged(){this.mapPostrenderListenerKey&&(io(this.element),Et(this.mapPostrenderListenerKey),this.mapPostrenderListenerKey=null);const t=this.getMap();if(t){this.mapPostrenderListenerKey=ft(t,oi.POSTRENDER,this.render,this),this.updatePixelPosition();const e=this.stopEvent?t.getOverlayContainerStopEvent():t.getOverlayContainer();this.insertFirst?e.insertBefore(this.element,e.childNodes[0]||null):e.appendChild(this.element),this.performAutoPan()}}render(){this.updatePixelPosition()}handleOffsetChanged(){this.updatePixelPosition()}handlePositionChanged(){this.updatePixelPosition(),this.performAutoPan()}handlePositioningChanged(){this.updatePixelPosition()}setElement(t){this.set($t.ELEMENT,t)}setMap(t){this.set($t.MAP,t)}setOffset(t){this.set($t.OFFSET,t)}setPosition(t){this.set($t.POSITION,t)}performAutoPan(){this.autoPan&&this.panIntoView(this.autoPan)}panIntoView(t){const e=this.getMap();if(!e||!e.getTargetElement()||!this.get($t.POSITION))return;const i=this.getRect(e.getTargetElement(),e.getSize()),n=this.getElement(),o=this.getRect(n,[_y(n),yy(n)]);t=t||{};const a=t.margin===void 0?20:t.margin;if(!Vi(i,o)){const h=o[0]-i[0],c=i[2]-o[2],d=o[1]-i[1],f=i[3]-o[3],p=[0,0];if(h<0?p[0]=h-a:c<0&&(p[0]=Math.abs(c)+a),d<0?p[1]=d-a:f<0&&(p[1]=Math.abs(f)+a),p[0]!==0||p[1]!==0){const _=e.getView().getCenterInternal(),y=e.getPixelFromCoordinateInternal(_);if(!y)return;const v=[y[0]+p[0],y[1]+p[1]],A=t.animation||{};e.getView().animateInternal({center:e.getCoordinateFromPixelInternal(v),duration:A.duration,easing:A.easing})}}}getRect(t,e){const i=t.getBoundingClientRect(),n=i.left+window.pageXOffset,o=i.top+window.pageYOffset;return[n,o,n+e[0],o+e[1]]}setPositioning(t){this.set($t.POSITIONING,t)}setVisible(t){this.rendered.visible!==t&&(this.element.style.display=t?"":"none",this.rendered.visible=t)}updatePixelPosition(){const t=this.getMap(),e=this.getPosition();if(!t||!t.isRendered()||!e){this.setVisible(!1);return}const i=t.getPixelFromCoordinate(e),n=t.getSize();this.updateRenderedPosition(i,n)}updateRenderedPosition(t,e){const i=this.element.style,n=this.getOffset(),o=this.getPositioning();this.setVisible(!0);const a=Math.round(t[0]+n[0])+"px",h=Math.round(t[1]+n[1])+"px";let c="0%",d="0%";o=="bottom-right"||o=="center-right"||o=="top-right"?c="-100%":(o=="bottom-center"||o=="center-center"||o=="top-center")&&(c="-50%"),o=="bottom-left"||o=="bottom-center"||o=="bottom-right"?d="-100%":(o=="center-left"||o=="center-center"||o=="center-right")&&(d="-50%");const f=`translate(${c}, ${d}) translate(${a}, ${h})`;this.rendered.transform_!=f&&(this.rendered.transform_=f,i.transform=f)}getOptions(){return this.options}}const Jw=qw,ef=["fullscreenchange","webkitfullscreenchange","MSFullscreenChange"],nf={ENTERFULLSCREEN:"enterfullscreen",LEAVEFULLSCREEN:"leavefullscreen"};class $w extends ao{constructor(t){t=t||{},super({element:document.createElement("div"),target:t.target}),this.on,this.once,this.un,this.keys_=t.keys!==void 0?t.keys:!1,this.source_=t.source,this.isInFullscreen_=!1,this.boundHandleMapTargetChange_=this.handleMapTargetChange_.bind(this),this.cssClassName_=t.className!==void 0?t.className:"ol-full-screen",this.documentListeners_=[],this.activeClassName_=t.activeClassName!==void 0?t.activeClassName.split(" "):[this.cssClassName_+"-true"],this.inactiveClassName_=t.inactiveClassName!==void 0?t.inactiveClassName.split(" "):[this.cssClassName_+"-false"];const e=t.label!==void 0?t.label:"⤢";this.labelNode_=typeof e=="string"?document.createTextNode(e):e;const i=t.labelActive!==void 0?t.labelActive:"×";this.labelActiveNode_=typeof i=="string"?document.createTextNode(i):i;const n=t.tipLabel?t.tipLabel:"Toggle full-screen";this.button_=document.createElement("button"),this.button_.title=n,this.button_.setAttribute("type","button"),this.button_.appendChild(this.labelNode_),this.button_.addEventListener(ht.CLICK,this.handleClick_.bind(this),!1),this.setClassName_(this.button_,this.isInFullscreen_),this.element.className=`${this.cssClassName_} ${Lr} ${$s}`,this.element.appendChild(this.button_)}handleClick_(t){t.preventDefault(),this.handleFullScreen_()}handleFullScreen_(){const t=this.getMap();if(!t)return;const e=t.getOwnerDocument();if(rf(e))if(sf(e))e0(e);else{let i;this.source_?i=typeof this.source_=="string"?e.getElementById(this.source_):this.source_:i=t.getTargetElement(),this.keys_?t0(i):of(i)}}handleFullScreenChange_(){const t=this.getMap();if(!t)return;const e=this.isInFullscreen_;this.isInFullscreen_=sf(t.getOwnerDocument()),e!==this.isInFullscreen_&&(this.setClassName_(this.button_,this.isInFullscreen_),this.isInFullscreen_?(eo(this.labelActiveNode_,this.labelNode_),this.dispatchEvent(nf.ENTERFULLSCREEN)):(eo(this.labelNode_,this.labelActiveNode_),this.dispatchEvent(nf.LEAVEFULLSCREEN)),t.updateSize())}setClassName_(t,e){e?(t.classList.remove(...this.inactiveClassName_),t.classList.add(...this.activeClassName_)):(t.classList.remove(...this.activeClassName_),t.classList.add(...this.inactiveClassName_))}setMap(t){const e=this.getMap();e&&e.removeChangeListener(Ht.TARGET,this.boundHandleMapTargetChange_),super.setMap(t),this.handleMapTargetChange_(),t&&t.addChangeListener(Ht.TARGET,this.boundHandleMapTargetChange_)}handleMapTargetChange_(){const t=this.documentListeners_;for(let i=0,n=t.length;i<n;++i)Et(t[i]);t.length=0;const e=this.getMap();if(e){const i=e.getOwnerDocument();rf(i)?this.element.classList.remove(Mu):this.element.classList.add(Mu);for(let n=0,o=ef.length;n<o;++n)t.push(ft(i,ef[n],this.handleFullScreenChange_,this));this.handleFullScreenChange_()}}}function rf(r){const t=r.body;return!!(t.webkitRequestFullscreen||t.requestFullscreen&&r.fullscreenEnabled)}function sf(r){return!!(r.webkitIsFullScreen||r.fullscreenElement)}function of(r){r.requestFullscreen?r.requestFullscreen():r.webkitRequestFullscreen&&r.webkitRequestFullscreen()}function t0(r){r.webkitRequestFullscreen?r.webkitRequestFullscreen():of(r)}function e0(r){r.exitFullscreen?r.exitFullscreen():r.webkitExitFullscreen&&r.webkitExitFullscreen()}const i0=$w,n0=V.defineComponent({name:"MapHeat",props:{coords:Object,loadMapa:Object,typeMap:String,abrirCerrarLoader:Function,onClickMarket:Function,configurationMap:{default:()=>({strokeColor:"#f47521",copyright:"&copy; 2021 Desarrollado por UTIC - Ministerio Público",height:"250px",maxZoom:20,iconMarker:{image:ss,color:"#f47521",iconUrl:"/image/gmap01.png",iconSize:[25,41],iconAnchor:[12,41],scale:1,class:"",type:"image"},dragMarker:!0})}},data:()=>({radius:10,blur:20,zoom:5,type:"0",olMap:null,heatLayer:null,pointLayer:null,countryLayer:null,overlay:null,showSetting:!1,cantidad:0}),watch:{radius(r){this.setRadius(r)},blur(r){this.setBlur(r)},coords(r){this.cantidad=r.features.length,this.updateSource(r),this.updatePointSource(r)},loadMapa(r){this.changeCountryLayer(r)},typeMap(r){this.changeTypeMap(r)},type(r){this.changeTypeMap(r)}},methods:{changeTypeMap(r){r==="0"?(this.heatLayer.setVisible(!0),this.pointLayer.setVisible(!1),this.olMap.removeEventListener("click",this.onClickListener)):(this.heatLayer.setVisible(!1),this.pointLayer.setVisible(!0),this.initClick())},initMap(){const r=`<span class='map-copyright-text' >${this.configurationMap.copyright}</span>`,t=new On({stroke:new co({color:this.configurationMap.strokeColor,width:3}),text:new qu({font:"12px Roboto",fill:new ho({color:"#000"}),stroke:new co({color:"#fff",width:1})})});this.countryLayer=new tf({source:new Ao({url:`${this.loadMapa.data}`,format:new To}),style:function(i){const n=t.getText();return n&&n.setText(i.get("name")),t}}),this.heatLayer=new oA({source:new Ao({features:[]}),visible:!1,radius:10,blur:25});try{this.pointLayer=this.configurationMap?new tf({source:new Ao({features:[]}),visible:!1,style:i=>{var a,h,c;return new On({image:new xl({src:(h=(a=this.configurationMap)==null?void 0:a.iconMarker)==null?void 0:h.iconUrl,color:(c=this.configurationMap.iconMarker)==null?void 0:c.color,scale:this.configurationMap.iconMarker.scale}),zIndex:1})}}):void 0}catch(i){console.log(i)}this.olMap=new Lv({controls:zu({attribution:!1}).extend([new i0({tipLabel:"Pantalla completa"})]).extend([new Fu({collapsible:!1})]),layers:[new zA({source:new PA({attributions:r})}),this.countryLayer,this.heatLayer,this.pointLayer],target:this.$refs["map-root"],view:new Be({center:[0,0],zoom:this.zoom})});const e=Wc([this.loadMapa.lng,this.loadMapa.lat]);this.olMap.getView().adjustCenter(e),this.fitMap()},initClick(){const r=document.getElementById("popup"),t=document.getElementById("popup-closer");this.overlay=new Jw({element:r,autoPan:!0}),this.olMap.addOverlay(this.overlay),t.onclick=()=>this.closeOverlay(),this.olMap.addEventListener("click",this.onClickListener)},closeOverlay(){const r=document.getElementById("popup-closer");return this.overlay.setPosition(void 0),r.blur(),!1},async onClickListener(r){const t=document.getElementById("popup-content"),e=document.getElementById("popup-closer");if(this.olMap.hasFeatureAtPixel(r.pixel)===!0){const i=this.olMap.getFeaturesAtPixel(r.pixel)[0];if(i.getGeometry().getType()==="Point"){const o=this.olMap.getFeaturesAtPixel(r.pixel)[0].getProperties(),a=r.coordinate;this.abrirCerrarLoader&&this.abrirCerrarLoader(!0);try{this.abrirCerrarLoader&&this.abrirCerrarLoader(!1);let h="";this.onClickMarket&&(h=await this.onClickMarket(o)),t.innerHTML=h;const c=this.olMap.getView(),d=i.getGeometry().getExtent(),f=c.getCenter(),p=c.getZoom();c.fit(d,{padding:[325,75,0,75],maxZoom:p});const _=c.getCenter();c.setCenter(f),c.animate({center:_})}catch{this.abrirCerrarLoader&&this.abrirCerrarLoader(!1)}this.overlay.setPosition(a)}}else this.overlay.setPosition(void 0),e.blur()},updateSource(r){if(r&&r.features.length===0){this.heatLayer.getSource().clear();return}if(r){const t=this.heatLayer.getSource(),e=new To({featureProjection:"EPSG:3857"}).readFeatures(r);t.clear(),t.addFeatures(e)}},updatePointSource(r){if(r&&r.features.length===0){this.pointLayer.getSource().clear();return}if(r){const t=this.pointLayer.getSource(),e=new To({featureProjection:"EPSG:3857"}).readFeatures(r);t.clear(),t.addFeatures(e)}},async changeCountryLayer(r){if(this.countryLayer){const e=new Ao({url:`${r.data}`,format:new To});await this.countryLayer.setSource(e)}},fitMap(){this.countryLayer.addEventListener("change",this.countryFunction)},countryFunction(r){const t=this.olMap.getView();if(r.target.getSource().getFeatures()[0]){const i=r.target.getSource().getExtent(),n=t.getZoom(),o=t.getCenter();t.fit(i,{padding:[75,75,75,75],maxZoom:6});const a=t.getZoom(),h=t.getCenter();t.setCenter(o),t.setZoom(n),t.animate({center:h}),t.animate({zoom:a})}},setRadius(r){this.heatLayer.setRadius(parseInt(r,10))},setBlur(r){this.heatLayer.setBlur(parseInt(r,10))},irACiudad(){if(this.loadMapa&&this.loadMapa.country!=="Bolivia"){const r=this.olMap.getView(),t=r.getZoom(),e=r.getCenter();r.setCenter(Wc([this.loadMapa.lng,this.loadMapa.lat]));const i=13,n=r.getCenter();r.setCenter(e),r.setZoom(t),r.animate({center:n}),r.animate({zoom:i})}},toggleSettings(){this.showSetting=!this.showSetting}},mounted(){this.countryLayer=this.loadMapa,this.initMap()},beforeDestroy(){this.countryLayer.removeEventListener("change",this.countryFunction),this.olMap.removeEventListener("click",this.onClickListener)}}),HE="",WE="",ui=r=>(V.pushScopeId("data-v-6d32e204"),r=r(),V.popScopeId(),r),r0={ref:"map-root",style:{width:"100%",height:"100%",position:"relative"}},s0={class:"btn-zoom-container ol-control"},o0=[ui(()=>V.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[V.createElementVNode("path",{d:"M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l9.4-9.4V224H109.3l9.4-9.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4H224v114.8l-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-9.4 9.4V288h114.8l-9.4 9.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4H288V109.3l9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64z"})],-1))],a0={class:"type-map-container ol-control"},l0=[ui(()=>V.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},[V.createElementVNode("path",{d:"M215.7 499.2C267 435 384 279.4 384 192 384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2 12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"})],-1))],h0=[ui(()=>V.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},[V.createElementVNode("path",{d:"m153.6 29.9 16-21.3c4-5.4 10.4-8.6 17.1-8.6C198.4 0 208 9.6 208 21.3v22.2c0 13.1 5.4 25.7 14.9 34.7l84.7 80.8c48.8 46.6 76.4 111.2 76.4 178.7C384 434 306 512 209.7 512H192C86 512 0 426 0 320v-3.8c0-48.8 19.4-95.6 53.9-130.1l3.5-3.5c4.2-4.2 10-6.6 16-6.6 12.5 0 22.6 10.1 22.6 22.6V288c0 35.3 28.7 64 64 64s64-28.7 64-64v-3.9c0-18-7.2-35.3-19.9-48l-38.6-38.6c-24-24-37.5-56.7-37.5-90.7 0-27.7 9-54.8 25.6-76.9z"})],-1))],c0={class:"btn-settings ol-control"},u0=[ui(()=>V.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},[V.createElementVNode("path",{d:"M495.9 166.6c3.2 8.7.5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4l-55.6 17.8c-8.8 2.8-18.6.3-24.5-6.8-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4c-1.1-8.4-1.7-16.9-1.7-25.5s.6-17.1 1.7-25.4l-43.3-39.4c-6.9-6.2-9.6-15.9-6.4-24.6 4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2 5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8 8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"})],-1))],d0={class:"control-container"},f0={class:"map-flex"},g0=ui(()=>V.createElementVNode("label",null,"Tamaño del radio",-1)),p0={class:"map-flex"},m0=ui(()=>V.createElementVNode("label",null,"Difuminado",-1)),_0={class:"cant-casos ol-attribution ol-unselectable ol-control ol-uncollapsible"},y0={class:"text-cantidad"},v0=ui(()=>V.createElementVNode("span",{class:"ol-bold"},"Casos: ",-1)),x0={id:"popup",class:"ol-popup"},A0=[ui(()=>V.createElementVNode("a",{id:"popup-closer",class:"ol-popup-closer"},null,-1)),ui(()=>V.createElementVNode("div",{id:"popup-content"},null,-1))];function w0(r,t,e,i,n,o){var a;return V.openBlock(),V.createElementBlock("div",{class:"map-container",style:V.normalizeStyle(`height:${(a=r.configurationMap)==null?void 0:a.height}`)},[V.createElementVNode("div",r0,[V.withDirectives(V.createElementVNode("div",s0,[V.createElementVNode("button",{title:"Ir a la ciudad",class:"jl2-button-map",onClick:t[0]||(t[0]=(...h)=>r.irACiudad&&r.irACiudad(...h))},o0)],512),[[V.vShow,r.loadMapa.country!=="Bolivia"]]),V.createElementVNode("div",a0,[V.createElementVNode("button",{title:"Mapa con Marcador",class:V.normalizeClass(["jl2-button-map",{"jl2-button-map-select":r.type=="1"}]),onClick:t[1]||(t[1]=()=>r.type="1")},l0,2),V.createElementVNode("button",{title:"Mapa de Calor",class:V.normalizeClass(["jl2-button-map",{"jl2-button-map-select":r.type=="0"}]),onClick:t[2]||(t[2]=()=>r.type="0")},h0,2)]),V.withDirectives(V.createElementVNode("div",c0,[V.createElementVNode("button",{title:"Ver Opciones",class:"jl2-button-map",onClick:t[3]||(t[3]=(...h)=>r.toggleSettings&&r.toggleSettings(...h))},u0)],512),[[V.vShow,!r.showSetting&&r.type==="0"]]),V.withDirectives(V.createElementVNode("div",d0,[V.createElementVNode("a",{onClick:t[4]||(t[4]=(...h)=>r.toggleSettings&&r.toggleSettings(...h)),class:"ol-popup-closer"}),V.createElementVNode("div",f0,[g0,V.withDirectives(V.createElementVNode("input",{id:"radius",type:"range",min:"1",max:"50",step:"1","onUpdate:modelValue":t[5]||(t[5]=h=>r.radius=h)},null,512),[[V.vModelText,r.radius]])]),V.createElementVNode("div",p0,[m0,V.withDirectives(V.createElementVNode("input",{id:"blur",type:"range",min:"1",max:"50",step:"1","onUpdate:modelValue":t[6]||(t[6]=h=>r.blur=h)},null,512),[[V.vModelText,r.blur]])])],512),[[V.vShow,r.type==="0"&&r.showSetting]]),V.createElementVNode("div",_0,[V.createElementVNode("p",y0,[v0,V.createTextVNode(V.toDisplayString(r.cantidad),1)])])],512),V.withDirectives(V.createElementVNode("div",x0,A0,512),[[V.vShow,r.type==="1"]])],4)}const E0=oa(n0,[["render",w0],["__scopeId","data-v-6d32e204"]]);de.CoordinatesVerifyPolygon=Yg,de.MapHeatComponent=E0,de.MapSearchAddress=Dm,de.MapView=Mm,de.listenServiceGoogleMaps=hg,de.searchAutomaticGoogleMaps=ug,de.searchManualGoogleMaps=cg,Object.defineProperty(de,Symbol.toStringTag,{value:"Module"})});