diff --git a/404.html b/404.html new file mode 120000 index 0000000..64233a9 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +index.html \ No newline at end of file diff --git a/assets/AboutView-5bfa9acc.js b/assets/AboutView-5bfa9acc.js new file mode 100644 index 0000000..ad45007 --- /dev/null +++ b/assets/AboutView-5bfa9acc.js @@ -0,0 +1,2 @@ +import{_ as e,o as t,c as a,a as s}from"./index-985033df.js";const n={},o={class:"h-full mx-auto max-w-sm flex flex-col justify-center items-center space-y-4 text-xl text-center"},c=s('

Upstate / Greenville SC Open Data Map Layers Demo

This app is maintained by HackGreenville Labs team in the #hg-labs Slack channel and contains data from the Upstate SC Open Map Layer Data initiative.

Something not quite right? Learn how you can contribute to the Open Data project!

This app is open source and contributions are highly encouraged! You can find the source code for this site on Github .

',4),i=[c];function r(l,p){return t(),a("div",o,i)}const m=e(n,[["render",r]]);export{m as default}; +//# sourceMappingURL=AboutView-5bfa9acc.js.map diff --git a/assets/AboutView-5bfa9acc.js.map b/assets/AboutView-5bfa9acc.js.map new file mode 100644 index 0000000..0856ee1 --- /dev/null +++ b/assets/AboutView-5bfa9acc.js.map @@ -0,0 +1 @@ +{"version":3,"file":"AboutView-5bfa9acc.js","sources":["../../src/views/AboutView.vue"],"sourcesContent":["\n"],"names":["_hoisted_6","_sfc_render","_ctx","_cache"],"mappings":"o7BAMSA,EAAA,IALP,SAAAC,EAAAC,EAAAC,EAAA"} \ No newline at end of file diff --git a/assets/attribution-4ad9cc10.png b/assets/attribution-4ad9cc10.png new file mode 100644 index 0000000..a80efe6 Binary files /dev/null and b/assets/attribution-4ad9cc10.png differ diff --git a/assets/favicon-a8f2a45b.png b/assets/favicon-a8f2a45b.png new file mode 100644 index 0000000..bf11487 Binary files /dev/null and b/assets/favicon-a8f2a45b.png differ diff --git a/assets/index-985033df.js b/assets/index-985033df.js new file mode 100644 index 0000000..c6a59e6 --- /dev/null +++ b/assets/index-985033df.js @@ -0,0 +1,23 @@ +function Ph(e,i){for(var s=0;sr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const h of u.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function s(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(l){if(l.ep)return;l.ep=!0;const u=s(l);fetch(l.href,u)}})();function Qs(e,i){const s=Object.create(null),r=e.split(",");for(let l=0;l!!s[l.toLowerCase()]:l=>!!s[l]}const Bt={},qn=[],Le=()=>{},Lh=()=>!1,Th=/^on[^a-z]/,Ao=e=>Th.test(e),tr=e=>e.startsWith("onUpdate:"),Ut=Object.assign,er=(e,i)=>{const s=e.indexOf(i);s>-1&&e.splice(s,1)},Ch=Object.prototype.hasOwnProperty,Tt=(e,i)=>Ch.call(e,i),at=Array.isArray,Vn=e=>ko(e)==="[object Map]",kl=e=>ko(e)==="[object Set]",dt=e=>typeof e=="function",$t=e=>typeof e=="string",nr=e=>typeof e=="symbol",It=e=>e!==null&&typeof e=="object",Il=e=>It(e)&&dt(e.then)&&dt(e.catch),Bl=Object.prototype.toString,ko=e=>Bl.call(e),Eh=e=>ko(e).slice(8,-1),Rl=e=>ko(e)==="[object Object]",ir=e=>$t(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yo=Qs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Io=e=>{const i=Object.create(null);return s=>i[s]||(i[s]=e(s))},Sh=/-(\w)/g,Yn=Io(e=>e.replace(Sh,(i,s)=>s?s.toUpperCase():"")),Mh=/\B([A-Z])/g,ni=Io(e=>e.replace(Mh,"-$1").toLowerCase()),zl=Io(e=>e.charAt(0).toUpperCase()+e.slice(1)),bs=Io(e=>e?`on${zl(e)}`:""),Ai=(e,i)=>!Object.is(e,i),ws=(e,i)=>{for(let s=0;s{Object.defineProperty(e,i,{configurable:!0,enumerable:!1,value:s})},Oh=e=>{const i=parseFloat(e);return isNaN(i)?e:i},Zl=e=>{const i=$t(e)?Number(e):NaN;return isNaN(i)?e:i};let Sa;const ks=()=>Sa||(Sa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function or(e){if(at(e)){const i={};for(let s=0;s{if(s){const r=s.split(kh);r.length>1&&(i[r[0].trim()]=r[1].trim())}}),i}function Bo(e){let i="";if($t(e))i=e;else if(at(e))for(let s=0;s$t(e)?e:e==null?"":at(e)||It(e)&&(e.toString===Bl||!dt(e.toString))?JSON.stringify(e,Fl,2):String(e),Fl=(e,i)=>i&&i.__v_isRef?Fl(e,i.value):Vn(i)?{[`Map(${i.size})`]:[...i.entries()].reduce((s,[r,l])=>(s[`${r} =>`]=l,s),{})}:kl(i)?{[`Set(${i.size})`]:[...i.values()]}:It(i)&&!at(i)&&!Rl(i)?String(i):i;let re;class Dl{constructor(i=!1){this.detached=i,this._active=!0,this.effects=[],this.cleanups=[],this.parent=re,!i&&re&&(this.index=(re.scopes||(re.scopes=[])).push(this)-1)}get active(){return this._active}run(i){if(this._active){const s=re;try{return re=this,i()}finally{re=s}}}on(){re=this}off(){re=this.parent}stop(i){if(this._active){let s,r;for(s=0,r=this.effects.length;s{const i=new Set(e);return i.w=0,i.n=0,i},Wl=e=>(e.w&cn)>0,Ul=e=>(e.n&cn)>0,Fh=({deps:e})=>{if(e.length)for(let i=0;i{const{deps:i}=e;if(i.length){let s=0;for(let r=0;r{(_==="length"||_>=d)&&p.push(g)})}else switch(s!==void 0&&p.push(h.get(s)),i){case"add":at(e)?ir(s)&&p.push(h.get("length")):(p.push(h.get(En)),Vn(e)&&p.push(h.get(Bs)));break;case"delete":at(e)||(p.push(h.get(En)),Vn(e)&&p.push(h.get(Bs)));break;case"set":Vn(e)&&p.push(h.get(En));break}if(p.length===1)p[0]&&Rs(p[0]);else{const d=[];for(const g of p)g&&d.push(...g);Rs(sr(d))}}function Rs(e,i){const s=at(e)?e:[...e];for(const r of s)r.computed&&Oa(r);for(const r of s)r.computed||Oa(r)}function Oa(e,i){(e!==Pe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Hh(e,i){var s;return(s=Lo.get(e))==null?void 0:s.get(i)}const jh=Qs("__proto__,__v_isRef,__isVue"),Vl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(nr)),Wh=ar(),Uh=ar(!1,!0),$h=ar(!0),Aa=qh();function qh(){const e={};return["includes","indexOf","lastIndexOf"].forEach(i=>{e[i]=function(...s){const r=xt(this);for(let u=0,h=this.length;u{e[i]=function(...s){ii();const r=xt(this)[i].apply(this,s);return oi(),r}}),e}function Vh(e){const i=xt(this);return se(i,"has",e),i.hasOwnProperty(e)}function ar(e=!1,i=!1){return function(r,l,u){if(l==="__v_isReactive")return!e;if(l==="__v_isReadonly")return e;if(l==="__v_isShallow")return i;if(l==="__v_raw"&&u===(e?i?cf:Xl:i?Jl:Yl).get(r))return r;const h=at(r);if(!e){if(h&&Tt(Aa,l))return Reflect.get(Aa,l,u);if(l==="hasOwnProperty")return Vh}const p=Reflect.get(r,l,u);return(nr(l)?Vl.has(l):jh(l))||(e||se(r,"get",l),i)?p:Dt(p)?h&&ir(l)?p:p.value:It(p)?e?tu(p):si(p):p}}const Kh=Kl(),Gh=Kl(!0);function Kl(e=!1){return function(s,r,l,u){let h=s[r];if(Jn(h)&&Dt(h)&&!Dt(l))return!1;if(!e&&(!To(l)&&!Jn(l)&&(h=xt(h),l=xt(l)),!at(s)&&Dt(h)&&!Dt(l)))return h.value=l,!0;const p=at(s)&&ir(r)?Number(r)e,Ro=e=>Reflect.getPrototypeOf(e);function co(e,i,s=!1,r=!1){e=e.__v_raw;const l=xt(e),u=xt(i);s||(i!==u&&se(l,"get",i),se(l,"get",u));const{has:h}=Ro(l),p=r?lr:s?hr:ki;if(h.call(l,i))return p(e.get(i));if(h.call(l,u))return p(e.get(u));e!==l&&e.get(i)}function ho(e,i=!1){const s=this.__v_raw,r=xt(s),l=xt(e);return i||(e!==l&&se(r,"has",e),se(r,"has",l)),e===l?s.has(e):s.has(e)||s.has(l)}function fo(e,i=!1){return e=e.__v_raw,!i&&se(xt(e),"iterate",En),Reflect.get(e,"size",e)}function ka(e){e=xt(e);const i=xt(this);return Ro(i).has.call(i,e)||(i.add(e),Ue(i,"add",e,e)),this}function Ia(e,i){i=xt(i);const s=xt(this),{has:r,get:l}=Ro(s);let u=r.call(s,e);u||(e=xt(e),u=r.call(s,e));const h=l.call(s,e);return s.set(e,i),u?Ai(i,h)&&Ue(s,"set",e,i):Ue(s,"add",e,i),this}function Ba(e){const i=xt(this),{has:s,get:r}=Ro(i);let l=s.call(i,e);l||(e=xt(e),l=s.call(i,e)),r&&r.call(i,e);const u=i.delete(e);return l&&Ue(i,"delete",e,void 0),u}function Ra(){const e=xt(this),i=e.size!==0,s=e.clear();return i&&Ue(e,"clear",void 0,void 0),s}function po(e,i){return function(r,l){const u=this,h=u.__v_raw,p=xt(h),d=i?lr:e?hr:ki;return!e&&se(p,"iterate",En),h.forEach((g,_)=>r.call(l,d(g),d(_),u))}}function _o(e,i,s){return function(...r){const l=this.__v_raw,u=xt(l),h=Vn(u),p=e==="entries"||e===Symbol.iterator&&h,d=e==="keys"&&h,g=l[e](...r),_=s?lr:i?hr:ki;return!i&&se(u,"iterate",d?Bs:En),{next(){const{value:m,done:y}=g.next();return y?{value:m,done:y}:{value:p?[_(m[0]),_(m[1])]:_(m),done:y}},[Symbol.iterator](){return this}}}}function Xe(e){return function(...i){return e==="delete"?!1:this}}function ef(){const e={get(u){return co(this,u)},get size(){return fo(this)},has:ho,add:ka,set:Ia,delete:Ba,clear:Ra,forEach:po(!1,!1)},i={get(u){return co(this,u,!1,!0)},get size(){return fo(this)},has:ho,add:ka,set:Ia,delete:Ba,clear:Ra,forEach:po(!1,!0)},s={get(u){return co(this,u,!0)},get size(){return fo(this,!0)},has(u){return ho.call(this,u,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:po(!0,!1)},r={get(u){return co(this,u,!0,!0)},get size(){return fo(this,!0)},has(u){return ho.call(this,u,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:po(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(u=>{e[u]=_o(u,!1,!1),s[u]=_o(u,!0,!1),i[u]=_o(u,!1,!0),r[u]=_o(u,!0,!0)}),[e,s,i,r]}const[nf,of,sf,rf]=ef();function ur(e,i){const s=i?e?rf:sf:e?of:nf;return(r,l,u)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?r:Reflect.get(Tt(s,l)&&l in r?s:r,l,u)}const af={get:ur(!1,!1)},lf={get:ur(!1,!0)},uf={get:ur(!0,!1)},Yl=new WeakMap,Jl=new WeakMap,Xl=new WeakMap,cf=new WeakMap;function hf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ff(e){return e.__v_skip||!Object.isExtensible(e)?0:hf(Eh(e))}function si(e){return Jn(e)?e:cr(e,!1,Gl,af,Yl)}function Ql(e){return cr(e,!1,tf,lf,Jl)}function tu(e){return cr(e,!0,Qh,uf,Xl)}function cr(e,i,s,r,l){if(!It(e)||e.__v_raw&&!(i&&e.__v_isReactive))return e;const u=l.get(e);if(u)return u;const h=ff(e);if(h===0)return e;const p=new Proxy(e,h===2?r:s);return l.set(e,p),p}function an(e){return Jn(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function Jn(e){return!!(e&&e.__v_isReadonly)}function To(e){return!!(e&&e.__v_isShallow)}function eu(e){return an(e)||Jn(e)}function xt(e){const i=e&&e.__v_raw;return i?xt(i):e}function $e(e){return Po(e,"__v_skip",!0),e}const ki=e=>It(e)?si(e):e,hr=e=>It(e)?tu(e):e;function nu(e){rn&&Pe&&(e=xt(e),ql(e.dep||(e.dep=sr())))}function iu(e,i){e=xt(e);const s=e.dep;s&&Rs(s)}function Dt(e){return!!(e&&e.__v_isRef===!0)}function ne(e){return ou(e,!1)}function df(e){return ou(e,!0)}function ou(e,i){return Dt(e)?e:new pf(e,i)}class pf{constructor(i,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?i:xt(i),this._value=s?i:ki(i)}get value(){return nu(this),this._value}set value(i){const s=this.__v_isShallow||To(i)||Jn(i);i=s?i:xt(i),Ai(i,this._rawValue)&&(this._rawValue=i,this._value=s?i:ki(i),iu(this))}}function qt(e){return Dt(e)?e.value:e}const _f={get:(e,i,s)=>qt(Reflect.get(e,i,s)),set:(e,i,s,r)=>{const l=e[i];return Dt(l)&&!Dt(s)?(l.value=s,!0):Reflect.set(e,i,s,r)}};function su(e){return an(e)?e:new Proxy(e,_f)}function mf(e){const i=at(e)?new Array(e.length):{};for(const s in e)i[s]=vf(e,s);return i}class gf{constructor(i,s,r){this._object=i,this._key=s,this._defaultValue=r,this.__v_isRef=!0}get value(){const i=this._object[this._key];return i===void 0?this._defaultValue:i}set value(i){this._object[this._key]=i}get dep(){return Hh(xt(this._object),this._key)}}function vf(e,i,s){const r=e[i];return Dt(r)?r:new gf(e,i,s)}class yf{constructor(i,s,r,l){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new rr(i,()=>{this._dirty||(this._dirty=!0,iu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!l,this.__v_isReadonly=r}get value(){const i=xt(this);return nu(i),(i._dirty||!i._cacheable)&&(i._dirty=!1,i._value=i.effect.run()),i._value}set value(i){this._setter(i)}}function bf(e,i,s=!1){let r,l;const u=dt(e);return u?(r=e,l=Le):(r=e.get,l=e.set),new yf(r,l,u||!l,s)}function ln(e,i,s,r){let l;try{l=r?e(...r):e()}catch(u){Di(u,i,s)}return l}function ye(e,i,s,r){if(dt(e)){const u=ln(e,i,s,r);return u&&Il(u)&&u.catch(h=>{Di(h,i,s)}),u}const l=[];for(let u=0;u>>1;Bi(Qt[r])ke&&Qt.splice(i,1)}function lu(e){at(e)?Kn.push(...e):(!je||!je.includes(e,e.allowRecurse?Tn+1:Tn))&&Kn.push(e),au()}function za(e,i=Ii?ke+1:0){for(;iBi(s)-Bi(r)),Tn=0;Tne.id==null?1/0:e.id,Lf=(e,i)=>{const s=Bi(e)-Bi(i);if(s===0){if(e.pre&&!i.pre)return-1;if(i.pre&&!e.pre)return 1}return s};function cu(e){zs=!1,Ii=!0,Qt.sort(Lf);const i=Le;try{for(ke=0;ke$t(x)?x.trim():x)),m&&(l=s.map(Oh))}let p,d=r[p=bs(i)]||r[p=bs(Yn(i))];!d&&u&&(d=r[p=bs(ni(i))]),d&&ye(d,e,6,l);const g=r[p+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[p])return;e.emitted[p]=!0,ye(g,e,6,l)}}function hu(e,i,s=!1){const r=i.emitsCache,l=r.get(e);if(l!==void 0)return l;const u=e.emits;let h={},p=!1;if(!dt(e)){const d=g=>{const _=hu(g,i,!0);_&&(p=!0,Ut(h,_))};!s&&i.mixins.length&&i.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!u&&!p?(It(e)&&r.set(e,null),null):(at(u)?u.forEach(d=>h[d]=null):Ut(h,u),It(e)&&r.set(e,h),h)}function zo(e,i){return!e||!Ao(i)?!1:(i=i.slice(2).replace(/Once$/,""),Tt(e,i[0].toLowerCase()+i.slice(1))||Tt(e,ni(i))||Tt(e,i))}let ge=null,fu=null;function Co(e){const i=ge;return ge=e,fu=e&&e.type.__scopeId||null,i}function Sn(e,i=ge,s){if(!i||e._n)return e;const r=(...l)=>{r._d&&Ga(-1);const u=Co(i);let h;try{h=e(...l)}finally{Co(u),r._d&&Ga(1)}return h};return r._n=!0,r._c=!0,r._d=!0,r}function Ps(e){const{type:i,vnode:s,proxy:r,withProxy:l,props:u,propsOptions:[h],slots:p,attrs:d,emit:g,render:_,renderCache:m,data:y,setupState:x,ctx:M,inheritAttrs:O}=e;let $,Z;const N=Co(e);try{if(s.shapeFlag&4){const k=l||r;$=xe(_.call(k,k,m,u,x,y,M)),Z=d}else{const k=i;$=xe(k.length>1?k(u,{attrs:d,slots:p,emit:g}):k(u,null)),Z=i.props?d:Ef(d)}}catch(k){Ei.length=0,Di(k,e,1),$=Rt(le)}let q=$;if(Z&&O!==!1){const k=Object.keys(Z),{shapeFlag:H}=q;k.length&&H&7&&(h&&k.some(tr)&&(Z=Sf(Z,h)),q=hn(q,Z))}return s.dirs&&(q=hn(q),q.dirs=q.dirs?q.dirs.concat(s.dirs):s.dirs),s.transition&&(q.transition=s.transition),$=q,Co(N),$}function Cf(e){let i;for(let s=0;s{let i;for(const s in e)(s==="class"||s==="style"||Ao(s))&&((i||(i={}))[s]=e[s]);return i},Sf=(e,i)=>{const s={};for(const r in e)(!tr(r)||!(r.slice(9)in i))&&(s[r]=e[r]);return s};function Mf(e,i,s){const{props:r,children:l,component:u}=e,{props:h,children:p,patchFlag:d}=i,g=u.emitsOptions;if(i.dirs||i.transition)return!0;if(s&&d>=0){if(d&1024)return!0;if(d&16)return r?Za(r,h,g):!!h;if(d&8){const _=i.dynamicProps;for(let m=0;m<_.length;m++){const y=_[m];if(h[y]!==r[y]&&!zo(g,y))return!0}}}else return(l||p)&&(!p||!p.$stable)?!0:r===h?!1:r?h?Za(r,h,g):!0:!!h;return!1}function Za(e,i,s){const r=Object.keys(i);if(r.length!==Object.keys(e).length)return!0;for(let l=0;le.__isSuspense,Af={name:"Suspense",__isSuspense:!0,process(e,i,s,r,l,u,h,p,d,g){e==null?If(i,s,r,l,u,h,p,d,g):Bf(e,i,s,r,l,h,p,d,g)},hydrate:Rf,create:_r,normalize:zf},kf=Af;function Ri(e,i){const s=e.props&&e.props[i];dt(s)&&s()}function If(e,i,s,r,l,u,h,p,d){const{p:g,o:{createElement:_}}=d,m=_("div"),y=e.suspense=_r(e,l,r,i,m,s,u,h,p,d);g(null,y.pendingBranch=e.ssContent,m,null,r,y,u,h),y.deps>0?(Ri(e,"onPending"),Ri(e,"onFallback"),g(null,e.ssFallback,i,s,r,null,u,h),Gn(y,e.ssFallback)):y.resolve(!1,!0)}function Bf(e,i,s,r,l,u,h,p,{p:d,um:g,o:{createElement:_}}){const m=i.suspense=e.suspense;m.vnode=i,i.el=e.el;const y=i.ssContent,x=i.ssFallback,{activeBranch:M,pendingBranch:O,isInFallback:$,isHydrating:Z}=m;if(O)m.pendingBranch=y,Ie(y,O)?(d(O,y,m.hiddenContainer,null,l,m,u,h,p),m.deps<=0?m.resolve():$&&(d(M,x,s,r,l,null,u,h,p),Gn(m,x))):(m.pendingId++,Z?(m.isHydrating=!1,m.activeBranch=O):g(O,l,m),m.deps=0,m.effects.length=0,m.hiddenContainer=_("div"),$?(d(null,y,m.hiddenContainer,null,l,m,u,h,p),m.deps<=0?m.resolve():(d(M,x,s,r,l,null,u,h,p),Gn(m,x))):M&&Ie(y,M)?(d(M,y,s,r,l,m,u,h,p),m.resolve(!0)):(d(null,y,m.hiddenContainer,null,l,m,u,h,p),m.deps<=0&&m.resolve()));else if(M&&Ie(y,M))d(M,y,s,r,l,m,u,h,p),Gn(m,y);else if(Ri(i,"onPending"),m.pendingBranch=y,m.pendingId++,d(null,y,m.hiddenContainer,null,l,m,u,h,p),m.deps<=0)m.resolve();else{const{timeout:N,pendingId:q}=m;N>0?setTimeout(()=>{m.pendingId===q&&m.fallback(x)},N):N===0&&m.fallback(x)}}function _r(e,i,s,r,l,u,h,p,d,g,_=!1){const{p:m,m:y,um:x,n:M,o:{parentNode:O,remove:$}}=g;let Z;const N=Nf(e);N&&i!=null&&i.pendingBranch&&(Z=i.pendingId,i.deps++);const q=e.props?Zl(e.props.timeout):void 0,k={vnode:e,parent:i,parentComponent:s,isSVG:h,container:r,hiddenContainer:l,anchor:u,deps:0,pendingId:0,timeout:typeof q=="number"?q:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:_,isUnmounted:!1,effects:[],resolve(H=!1,rt=!1){const{vnode:lt,activeBranch:F,pendingBranch:I,pendingId:V,effects:tt,parentComponent:j,container:mt}=k;if(k.isHydrating)k.isHydrating=!1;else if(!H){const st=F&&I.transition&&I.transition.mode==="out-in";st&&(F.transition.afterLeave=()=>{V===k.pendingId&&y(I,mt,gt,0)});let{anchor:gt}=k;F&&(gt=M(F),x(F,j,k,!0)),st||y(I,mt,gt,0)}Gn(k,I),k.pendingBranch=null,k.isInFallback=!1;let Pt=k.parent,Ht=!1;for(;Pt;){if(Pt.pendingBranch){Pt.effects.push(...tt),Ht=!0;break}Pt=Pt.parent}Ht||lu(tt),k.effects=[],N&&i&&i.pendingBranch&&Z===i.pendingId&&(i.deps--,i.deps===0&&!rt&&i.resolve()),Ri(lt,"onResolve")},fallback(H){if(!k.pendingBranch)return;const{vnode:rt,activeBranch:lt,parentComponent:F,container:I,isSVG:V}=k;Ri(rt,"onFallback");const tt=M(lt),j=()=>{k.isInFallback&&(m(null,H,I,tt,F,null,V,p,d),Gn(k,H))},mt=H.transition&&H.transition.mode==="out-in";mt&&(lt.transition.afterLeave=j),k.isInFallback=!0,x(lt,F,null,!0),mt||j()},move(H,rt,lt){k.activeBranch&&y(k.activeBranch,H,rt,lt),k.container=H},next(){return k.activeBranch&&M(k.activeBranch)},registerDep(H,rt){const lt=!!k.pendingBranch;lt&&k.deps++;const F=H.vnode.el;H.asyncDep.catch(I=>{Di(I,H,0)}).then(I=>{if(H.isUnmounted||k.isUnmounted||k.pendingId!==H.suspenseId)return;H.asyncResolved=!0;const{vnode:V}=H;Us(H,I,!1),F&&(V.el=F);const tt=!F&&H.subTree.el;rt(H,V,O(F||H.subTree.el),F?null:M(H.subTree),k,h,d),tt&&$(tt),pr(H,V.el),lt&&--k.deps===0&&k.resolve()})},unmount(H,rt){k.isUnmounted=!0,k.activeBranch&&x(k.activeBranch,s,H,rt),k.pendingBranch&&x(k.pendingBranch,s,H,rt)}};return k}function Rf(e,i,s,r,l,u,h,p,d){const g=i.suspense=_r(i,r,s,e.parentNode,document.createElement("div"),null,l,u,h,p,!0),_=d(e,g.pendingBranch=i.ssContent,s,g,u,h);return g.deps===0&&g.resolve(!1,!0),_}function zf(e){const{shapeFlag:i,children:s}=e,r=i&32;e.ssContent=Na(r?s.default:s),e.ssFallback=r?Na(s.fallback):Rt(le)}function Na(e){let i;if(dt(e)){const s=Xn&&e._c;s&&(e._d=!1,Vt()),e=e(),s&&(e._d=!0,i=ve,Eu())}return at(e)&&(e=Cf(e)),e=xe(e),i&&!e.dynamicChildren&&(e.dynamicChildren=i.filter(s=>s!==e)),e}function Zf(e,i){i&&i.pendingBranch?at(e)?i.effects.push(...e):i.effects.push(e):lu(e)}function Gn(e,i){e.activeBranch=i;const{vnode:s,parentComponent:r}=e,l=s.el=i.el;r&&r.subTree===s&&(r.vnode.el=l,pr(r,l))}function Nf(e){var i;return((i=e.props)==null?void 0:i.suspensible)!=null&&e.props.suspensible!==!1}const mo={};function Mn(e,i,s){return du(e,i,s)}function du(e,i,{immediate:s,deep:r,flush:l,onTrack:u,onTrigger:h}=Bt){var p;const d=jl()===((p=Kt)==null?void 0:p.scope)?Kt:null;let g,_=!1,m=!1;if(Dt(e)?(g=()=>e.value,_=To(e)):an(e)?(g=()=>e,r=!0):at(e)?(m=!0,_=e.some(k=>an(k)||To(k)),g=()=>e.map(k=>{if(Dt(k))return k.value;if(an(k))return $n(k);if(dt(k))return ln(k,d,2)})):dt(e)?i?g=()=>ln(e,d,2):g=()=>{if(!(d&&d.isUnmounted))return y&&y(),ye(e,d,3,[x])}:g=Le,i&&r){const k=g;g=()=>$n(k())}let y,x=k=>{y=N.onStop=()=>{ln(k,d,4)}},M;if(Ni)if(x=Le,i?s&&ye(i,d,3,[g(),m?[]:void 0,x]):g(),l==="sync"){const k=kd();M=k.__watcherHandles||(k.__watcherHandles=[])}else return Le;let O=m?new Array(e.length).fill(mo):mo;const $=()=>{if(N.active)if(i){const k=N.run();(r||_||(m?k.some((H,rt)=>Ai(H,O[rt])):Ai(k,O)))&&(y&&y(),ye(i,d,3,[k,O===mo?void 0:m&&O[0]===mo?[]:O,x]),O=k)}else N.run()};$.allowRecurse=!!i;let Z;l==="sync"?Z=$:l==="post"?Z=()=>oe($,d&&d.suspense):($.pre=!0,d&&($.id=d.uid),Z=()=>dr($));const N=new rr(g,Z);i?s?$():O=N.run():l==="post"?oe(N.run.bind(N),d&&d.suspense):N.run();const q=()=>{N.stop(),d&&d.scope&&er(d.scope.effects,N)};return M&&M.push(q),q}function Ff(e,i,s){const r=this.proxy,l=$t(e)?e.includes(".")?pu(r,e):()=>r[e]:e.bind(r,r);let u;dt(i)?u=i:(u=i.handler,s=i);const h=Kt;Qn(this);const p=du(l,u.bind(r),s);return h?Qn(h):On(),p}function pu(e,i){const s=i.split(".");return()=>{let r=e;for(let l=0;l{$n(s,i)});else if(Rl(e))for(const s in e)$n(e[s],i);return e}function bn(e,i,s,r){const l=e.dirs,u=i&&i.dirs;for(let h=0;h{e.isMounted=!0}),mr(()=>{e.isUnmounting=!0}),e}const _e=[Function,Array],_u={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_e,onEnter:_e,onAfterEnter:_e,onEnterCancelled:_e,onBeforeLeave:_e,onLeave:_e,onAfterLeave:_e,onLeaveCancelled:_e,onBeforeAppear:_e,onAppear:_e,onAfterAppear:_e,onAppearCancelled:_e},Hf={name:"BaseTransition",props:_u,setup(e,{slots:i}){const s=Td(),r=Df();let l;return()=>{const u=i.default&&gu(i.default(),!0);if(!u||!u.length)return;let h=u[0];if(u.length>1){for(const O of u)if(O.type!==le){h=O;break}}const p=xt(e),{mode:d}=p;if(r.isLeaving)return Ls(h);const g=Fa(h);if(!g)return Ls(h);const _=Zs(g,p,r,s);Ns(g,_);const m=s.subTree,y=m&&Fa(m);let x=!1;const{getTransitionKey:M}=g.type;if(M){const O=M();l===void 0?l=O:O!==l&&(l=O,x=!0)}if(y&&y.type!==le&&(!Ie(g,y)||x)){const O=Zs(y,p,r,s);if(Ns(y,O),d==="out-in")return r.isLeaving=!0,O.afterLeave=()=>{r.isLeaving=!1,s.update.active!==!1&&s.update()},Ls(h);d==="in-out"&&g.type!==le&&(O.delayLeave=($,Z,N)=>{const q=mu(r,y);q[String(y.key)]=y,$._leaveCb=()=>{Z(),$._leaveCb=void 0,delete _.delayedLeave},_.delayedLeave=N})}return h}}},jf=Hf;function mu(e,i){const{leavingVNodes:s}=e;let r=s.get(i.type);return r||(r=Object.create(null),s.set(i.type,r)),r}function Zs(e,i,s,r){const{appear:l,mode:u,persisted:h=!1,onBeforeEnter:p,onEnter:d,onAfterEnter:g,onEnterCancelled:_,onBeforeLeave:m,onLeave:y,onAfterLeave:x,onLeaveCancelled:M,onBeforeAppear:O,onAppear:$,onAfterAppear:Z,onAppearCancelled:N}=i,q=String(e.key),k=mu(s,e),H=(F,I)=>{F&&ye(F,r,9,I)},rt=(F,I)=>{const V=I[1];H(F,I),at(F)?F.every(tt=>tt.length<=1)&&V():F.length<=1&&V()},lt={mode:u,persisted:h,beforeEnter(F){let I=p;if(!s.isMounted)if(l)I=O||p;else return;F._leaveCb&&F._leaveCb(!0);const V=k[q];V&&Ie(e,V)&&V.el._leaveCb&&V.el._leaveCb(),H(I,[F])},enter(F){let I=d,V=g,tt=_;if(!s.isMounted)if(l)I=$||d,V=Z||g,tt=N||_;else return;let j=!1;const mt=F._enterCb=Pt=>{j||(j=!0,Pt?H(tt,[F]):H(V,[F]),lt.delayedLeave&<.delayedLeave(),F._enterCb=void 0)};I?rt(I,[F,mt]):mt()},leave(F,I){const V=String(e.key);if(F._enterCb&&F._enterCb(!0),s.isUnmounting)return I();H(m,[F]);let tt=!1;const j=F._leaveCb=mt=>{tt||(tt=!0,I(),mt?H(M,[F]):H(x,[F]),F._leaveCb=void 0,k[V]===e&&delete k[V])};k[V]=e,y?rt(y,[F,j]):j()},clone(F){return Zs(F,i,s,r)}};return lt}function Ls(e){if(Zo(e))return e=hn(e),e.children=null,e}function Fa(e){return Zo(e)?e.children?e.children[0]:void 0:e}function Ns(e,i){e.shapeFlag&6&&e.component?Ns(e.component.subTree,i):e.shapeFlag&128?(e.ssContent.transition=i.clone(e.ssContent),e.ssFallback.transition=i.clone(e.ssFallback)):e.transition=i}function gu(e,i=!1,s){let r=[],l=0;for(let u=0;u1)for(let u=0;uUt({name:e.name},i,{setup:e}))():e}const bo=e=>!!e.type.__asyncLoader,Zo=e=>e.type.__isKeepAlive;function Wf(e,i){vu(e,"a",i)}function Uf(e,i){vu(e,"da",i)}function vu(e,i,s=Kt){const r=e.__wdc||(e.__wdc=()=>{let l=s;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(No(i,r,s),s){let l=s.parent;for(;l&&l.parent;)Zo(l.parent.vnode)&&$f(r,i,s,l),l=l.parent}}function $f(e,i,s,r){const l=No(i,e,r,!0);Hi(()=>{er(r[i],l)},s)}function No(e,i,s=Kt,r=!1){if(s){const l=s[e]||(s[e]=[]),u=i.__weh||(i.__weh=(...h)=>{if(s.isUnmounted)return;ii(),Qn(s);const p=ye(i,s,e,h);return On(),oi(),p});return r?l.unshift(u):l.push(u),u}}const qe=e=>(i,s=Kt)=>(!Ni||e==="sp")&&No(e,(...r)=>i(...r),s),qf=qe("bm"),fn=qe("m"),Vf=qe("bu"),Kf=qe("u"),mr=qe("bum"),Hi=qe("um"),Gf=qe("sp"),Yf=qe("rtg"),Jf=qe("rtc");function Xf(e,i=Kt){No("ec",e,i)}const Qf=Symbol.for("v-ndc");function Da(e,i,s,r){let l;const u=s&&s[r];if(at(e)||$t(e)){l=new Array(e.length);for(let h=0,p=e.length;hi(h,p,void 0,u&&u[p]));else{const h=Object.keys(e);l=new Array(h.length);for(let p=0,d=h.length;pe?Ou(e)?wr(e)||e.proxy:Fs(e.parent):null,Ci=Ut(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Fs(e.parent),$root:e=>Fs(e.root),$emit:e=>e.emit,$options:e=>gr(e),$forceUpdate:e=>e.f||(e.f=()=>dr(e.update)),$nextTick:e=>e.n||(e.n=Re.bind(e.proxy)),$watch:e=>Ff.bind(e)}),Ts=(e,i)=>e!==Bt&&!e.__isScriptSetup&&Tt(e,i),td={get({_:e},i){const{ctx:s,setupState:r,data:l,props:u,accessCache:h,type:p,appContext:d}=e;let g;if(i[0]!=="$"){const x=h[i];if(x!==void 0)switch(x){case 1:return r[i];case 2:return l[i];case 4:return s[i];case 3:return u[i]}else{if(Ts(r,i))return h[i]=1,r[i];if(l!==Bt&&Tt(l,i))return h[i]=2,l[i];if((g=e.propsOptions[0])&&Tt(g,i))return h[i]=3,u[i];if(s!==Bt&&Tt(s,i))return h[i]=4,s[i];Ds&&(h[i]=0)}}const _=Ci[i];let m,y;if(_)return i==="$attrs"&&se(e,"get",i),_(e);if((m=p.__cssModules)&&(m=m[i]))return m;if(s!==Bt&&Tt(s,i))return h[i]=4,s[i];if(y=d.config.globalProperties,Tt(y,i))return y[i]},set({_:e},i,s){const{data:r,setupState:l,ctx:u}=e;return Ts(l,i)?(l[i]=s,!0):r!==Bt&&Tt(r,i)?(r[i]=s,!0):Tt(e.props,i)||i[0]==="$"&&i.slice(1)in e?!1:(u[i]=s,!0)},has({_:{data:e,setupState:i,accessCache:s,ctx:r,appContext:l,propsOptions:u}},h){let p;return!!s[h]||e!==Bt&&Tt(e,h)||Ts(i,h)||(p=u[0])&&Tt(p,h)||Tt(r,h)||Tt(Ci,h)||Tt(l.config.globalProperties,h)},defineProperty(e,i,s){return s.get!=null?e._.accessCache[i]=0:Tt(s,"value")&&this.set(e,i,s.value,null),Reflect.defineProperty(e,i,s)}};function Ha(e){return at(e)?e.reduce((i,s)=>(i[s]=null,i),{}):e}let Ds=!0;function ed(e){const i=gr(e),s=e.proxy,r=e.ctx;Ds=!1,i.beforeCreate&&ja(i.beforeCreate,e,"bc");const{data:l,computed:u,methods:h,watch:p,provide:d,inject:g,created:_,beforeMount:m,mounted:y,beforeUpdate:x,updated:M,activated:O,deactivated:$,beforeDestroy:Z,beforeUnmount:N,destroyed:q,unmounted:k,render:H,renderTracked:rt,renderTriggered:lt,errorCaptured:F,serverPrefetch:I,expose:V,inheritAttrs:tt,components:j,directives:mt,filters:Pt}=i;if(g&&nd(g,r,null),h)for(const gt in h){const Y=h[gt];dt(Y)&&(r[gt]=Y.bind(s))}if(l){const gt=l.call(s,s);It(gt)&&(e.data=si(gt))}if(Ds=!0,u)for(const gt in u){const Y=u[gt],ce=dt(Y)?Y.bind(s,s):dt(Y.get)?Y.get.bind(s,s):Le,ot=!dt(Y)&&dt(Y.set)?Y.set.bind(s):Le,yt=te({get:ce,set:ot});Object.defineProperty(r,gt,{enumerable:!0,configurable:!0,get:()=>yt.value,set:St=>yt.value=St})}if(p)for(const gt in p)yu(p[gt],r,s,gt);if(d){const gt=dt(d)?d.call(s):d;Reflect.ownKeys(gt).forEach(Y=>{Be(Y,gt[Y])})}_&&ja(_,e,"c");function st(gt,Y){at(Y)?Y.forEach(ce=>gt(ce.bind(s))):Y&>(Y.bind(s))}if(st(qf,m),st(fn,y),st(Vf,x),st(Kf,M),st(Wf,O),st(Uf,$),st(Xf,F),st(Jf,rt),st(Yf,lt),st(mr,N),st(Hi,k),st(Gf,I),at(V))if(V.length){const gt=e.exposed||(e.exposed={});V.forEach(Y=>{Object.defineProperty(gt,Y,{get:()=>s[Y],set:ce=>s[Y]=ce})})}else e.exposed||(e.exposed={});H&&e.render===Le&&(e.render=H),tt!=null&&(e.inheritAttrs=tt),j&&(e.components=j),mt&&(e.directives=mt)}function nd(e,i,s=Le){at(e)&&(e=Hs(e));for(const r in e){const l=e[r];let u;It(l)?"default"in l?u=Gt(l.from||r,l.default,!0):u=Gt(l.from||r):u=Gt(l),Dt(u)?Object.defineProperty(i,r,{enumerable:!0,configurable:!0,get:()=>u.value,set:h=>u.value=h}):i[r]=u}}function ja(e,i,s){ye(at(e)?e.map(r=>r.bind(i.proxy)):e.bind(i.proxy),i,s)}function yu(e,i,s,r){const l=r.includes(".")?pu(s,r):()=>s[r];if($t(e)){const u=i[e];dt(u)&&Mn(l,u)}else if(dt(e))Mn(l,e.bind(s));else if(It(e))if(at(e))e.forEach(u=>yu(u,i,s,r));else{const u=dt(e.handler)?e.handler.bind(s):i[e.handler];dt(u)&&Mn(l,u,e)}}function gr(e){const i=e.type,{mixins:s,extends:r}=i,{mixins:l,optionsCache:u,config:{optionMergeStrategies:h}}=e.appContext,p=u.get(i);let d;return p?d=p:!l.length&&!s&&!r?d=i:(d={},l.length&&l.forEach(g=>Eo(d,g,h,!0)),Eo(d,i,h)),It(i)&&u.set(i,d),d}function Eo(e,i,s,r=!1){const{mixins:l,extends:u}=i;u&&Eo(e,u,s,!0),l&&l.forEach(h=>Eo(e,h,s,!0));for(const h in i)if(!(r&&h==="expose")){const p=id[h]||s&&s[h];e[h]=p?p(e[h],i[h]):i[h]}return e}const id={data:Wa,props:Ua,emits:Ua,methods:Ti,computed:Ti,beforeCreate:ee,created:ee,beforeMount:ee,mounted:ee,beforeUpdate:ee,updated:ee,beforeDestroy:ee,beforeUnmount:ee,destroyed:ee,unmounted:ee,activated:ee,deactivated:ee,errorCaptured:ee,serverPrefetch:ee,components:Ti,directives:Ti,watch:sd,provide:Wa,inject:od};function Wa(e,i){return i?e?function(){return Ut(dt(e)?e.call(this,this):e,dt(i)?i.call(this,this):i)}:i:e}function od(e,i){return Ti(Hs(e),Hs(i))}function Hs(e){if(at(e)){const i={};for(let s=0;s1)return s&&dt(i)?i.call(r&&r.proxy):i}}function ld(){return!!(Kt||ge||zi)}function ud(e,i,s,r=!1){const l={},u={};Po(u,Do,1),e.propsDefaults=Object.create(null),wu(e,i,l,u);for(const h in e.propsOptions[0])h in l||(l[h]=void 0);s?e.props=r?l:Ql(l):e.type.props?e.props=l:e.props=u,e.attrs=u}function cd(e,i,s,r){const{props:l,attrs:u,vnode:{patchFlag:h}}=e,p=xt(l),[d]=e.propsOptions;let g=!1;if((r||h>0)&&!(h&16)){if(h&8){const _=e.vnode.dynamicProps;for(let m=0;m<_.length;m++){let y=_[m];if(zo(e.emitsOptions,y))continue;const x=i[y];if(d)if(Tt(u,y))x!==u[y]&&(u[y]=x,g=!0);else{const M=Yn(y);l[M]=js(d,p,M,x,e,!1)}else x!==u[y]&&(u[y]=x,g=!0)}}}else{wu(e,i,l,u)&&(g=!0);let _;for(const m in p)(!i||!Tt(i,m)&&((_=ni(m))===m||!Tt(i,_)))&&(d?s&&(s[m]!==void 0||s[_]!==void 0)&&(l[m]=js(d,p,m,void 0,e,!0)):delete l[m]);if(u!==p)for(const m in u)(!i||!Tt(i,m))&&(delete u[m],g=!0)}g&&Ue(e,"set","$attrs")}function wu(e,i,s,r){const[l,u]=e.propsOptions;let h=!1,p;if(i)for(let d in i){if(yo(d))continue;const g=i[d];let _;l&&Tt(l,_=Yn(d))?!u||!u.includes(_)?s[_]=g:(p||(p={}))[_]=g:zo(e.emitsOptions,d)||(!(d in r)||g!==r[d])&&(r[d]=g,h=!0)}if(u){const d=xt(s),g=p||Bt;for(let _=0;_{d=!0;const[y,x]=xu(m,i,!0);Ut(h,y),x&&p.push(...x)};!s&&i.mixins.length&&i.mixins.forEach(_),e.extends&&_(e.extends),e.mixins&&e.mixins.forEach(_)}if(!u&&!d)return It(e)&&r.set(e,qn),qn;if(at(u))for(let _=0;_-1,x[1]=O<0||M-1||Tt(x,"default"))&&p.push(m)}}}const g=[h,p];return It(e)&&r.set(e,g),g}function $a(e){return e[0]!=="$"}function qa(e){const i=e&&e.toString().match(/^\s*(function|class) (\w+)/);return i?i[2]:e===null?"null":""}function Va(e,i){return qa(e)===qa(i)}function Ka(e,i){return at(i)?i.findIndex(s=>Va(s,e)):dt(i)&&Va(i,e)?0:-1}const Pu=e=>e[0]==="_"||e==="$stable",vr=e=>at(e)?e.map(xe):[xe(e)],hd=(e,i,s)=>{if(i._n)return i;const r=Sn((...l)=>vr(i(...l)),s);return r._c=!1,r},Lu=(e,i,s)=>{const r=e._ctx;for(const l in e){if(Pu(l))continue;const u=e[l];if(dt(u))i[l]=hd(l,u,r);else if(u!=null){const h=vr(u);i[l]=()=>h}}},Tu=(e,i)=>{const s=vr(i);e.slots.default=()=>s},fd=(e,i)=>{if(e.vnode.shapeFlag&32){const s=i._;s?(e.slots=xt(i),Po(i,"_",s)):Lu(i,e.slots={})}else e.slots={},i&&Tu(e,i);Po(e.slots,Do,1)},dd=(e,i,s)=>{const{vnode:r,slots:l}=e;let u=!0,h=Bt;if(r.shapeFlag&32){const p=i._;p?s&&p===1?u=!1:(Ut(l,i),!s&&p===1&&delete l._):(u=!i.$stable,Lu(i,l)),h=i}else i&&(Tu(e,i),h={default:1});if(u)for(const p in l)!Pu(p)&&!(p in h)&&delete l[p]};function Ws(e,i,s,r,l=!1){if(at(e)){e.forEach((y,x)=>Ws(y,i&&(at(i)?i[x]:i),s,r,l));return}if(bo(r)&&!l)return;const u=r.shapeFlag&4?wr(r.component)||r.component.proxy:r.el,h=l?null:u,{i:p,r:d}=e,g=i&&i.r,_=p.refs===Bt?p.refs={}:p.refs,m=p.setupState;if(g!=null&&g!==d&&($t(g)?(_[g]=null,Tt(m,g)&&(m[g]=null)):Dt(g)&&(g.value=null)),dt(d))ln(d,p,12,[h,_]);else{const y=$t(d),x=Dt(d);if(y||x){const M=()=>{if(e.f){const O=y?Tt(m,d)?m[d]:_[d]:d.value;l?at(O)&&er(O,u):at(O)?O.includes(u)||O.push(u):y?(_[d]=[u],Tt(m,d)&&(m[d]=_[d])):(d.value=[u],e.k&&(_[e.k]=d.value))}else y?(_[d]=h,Tt(m,d)&&(m[d]=h)):x&&(d.value=h,e.k&&(_[e.k]=h))};h?(M.id=-1,oe(M,s)):M()}}}const oe=Zf;function pd(e){return _d(e)}function _d(e,i){const s=ks();s.__VUE__=!0;const{insert:r,remove:l,patchProp:u,createElement:h,createText:p,createComment:d,setText:g,setElementText:_,parentNode:m,nextSibling:y,setScopeId:x=Le,insertStaticContent:M}=e,O=(v,w,P,E=null,A=null,R=null,K=!1,D=null,W=!!w.dynamicChildren)=>{if(v===w)return;v&&!Ie(v,w)&&(E=S(v),St(v,A,R,!0),v=null),w.patchFlag===-2&&(W=!1,w.dynamicChildren=null);const{type:z,ref:et,shapeFlag:X}=w;switch(z){case Fo:$(v,w,P,E);break;case le:Z(v,w,P,E);break;case wo:v==null&&N(w,P,E,K);break;case ae:j(v,w,P,E,A,R,K,D,W);break;default:X&1?H(v,w,P,E,A,R,K,D,W):X&6?mt(v,w,P,E,A,R,K,D,W):(X&64||X&128)&&z.process(v,w,P,E,A,R,K,D,W,U)}et!=null&&A&&Ws(et,v&&v.ref,R,w||v,!w)},$=(v,w,P,E)=>{if(v==null)r(w.el=p(w.children),P,E);else{const A=w.el=v.el;w.children!==v.children&&g(A,w.children)}},Z=(v,w,P,E)=>{v==null?r(w.el=d(w.children||""),P,E):w.el=v.el},N=(v,w,P,E)=>{[v.el,v.anchor]=M(v.children,w,P,E,v.el,v.anchor)},q=({el:v,anchor:w},P,E)=>{let A;for(;v&&v!==w;)A=y(v),r(v,P,E),v=A;r(w,P,E)},k=({el:v,anchor:w})=>{let P;for(;v&&v!==w;)P=y(v),l(v),v=P;l(w)},H=(v,w,P,E,A,R,K,D,W)=>{K=K||w.type==="svg",v==null?rt(w,P,E,A,R,K,D,W):I(v,w,A,R,K,D,W)},rt=(v,w,P,E,A,R,K,D)=>{let W,z;const{type:et,props:X,shapeFlag:it,transition:ut,dirs:pt}=v;if(W=v.el=h(v.type,R,X&&X.is,X),it&8?_(W,v.children):it&16&&F(v.children,W,null,E,A,R&&et!=="foreignObject",K,D),pt&&bn(v,null,E,"created"),lt(W,v,v.scopeId,K,E),X){for(const Et in X)Et!=="value"&&!yo(Et)&&u(W,Et,null,X[Et],R,v.children,E,A,ht);"value"in X&&u(W,"value",null,X.value),(z=X.onVnodeBeforeMount)&&Ae(z,E,v)}pt&&bn(v,null,E,"beforeMount");const Mt=(!A||A&&!A.pendingBranch)&&ut&&!ut.persisted;Mt&&ut.beforeEnter(W),r(W,w,P),((z=X&&X.onVnodeMounted)||Mt||pt)&&oe(()=>{z&&Ae(z,E,v),Mt&&ut.enter(W),pt&&bn(v,null,E,"mounted")},A)},lt=(v,w,P,E,A)=>{if(P&&x(v,P),E)for(let R=0;R{for(let z=W;z{const D=w.el=v.el;let{patchFlag:W,dynamicChildren:z,dirs:et}=w;W|=v.patchFlag&16;const X=v.props||Bt,it=w.props||Bt;let ut;P&&wn(P,!1),(ut=it.onVnodeBeforeUpdate)&&Ae(ut,P,w,v),et&&bn(w,v,P,"beforeUpdate"),P&&wn(P,!0);const pt=A&&w.type!=="foreignObject";if(z?V(v.dynamicChildren,z,D,P,E,pt,R):K||Y(v,w,D,null,P,E,pt,R,!1),W>0){if(W&16)tt(D,w,X,it,P,E,A);else if(W&2&&X.class!==it.class&&u(D,"class",null,it.class,A),W&4&&u(D,"style",X.style,it.style,A),W&8){const Mt=w.dynamicProps;for(let Et=0;Et{ut&&Ae(ut,P,w,v),et&&bn(w,v,P,"updated")},E)},V=(v,w,P,E,A,R,K)=>{for(let D=0;D{if(P!==E){if(P!==Bt)for(const D in P)!yo(D)&&!(D in E)&&u(v,D,P[D],null,K,w.children,A,R,ht);for(const D in E){if(yo(D))continue;const W=E[D],z=P[D];W!==z&&D!=="value"&&u(v,D,z,W,K,w.children,A,R,ht)}"value"in E&&u(v,"value",P.value,E.value)}},j=(v,w,P,E,A,R,K,D,W)=>{const z=w.el=v?v.el:p(""),et=w.anchor=v?v.anchor:p("");let{patchFlag:X,dynamicChildren:it,slotScopeIds:ut}=w;ut&&(D=D?D.concat(ut):ut),v==null?(r(z,P,E),r(et,P,E),F(w.children,P,et,A,R,K,D,W)):X>0&&X&64&&it&&v.dynamicChildren?(V(v.dynamicChildren,it,P,A,R,K,D),(w.key!=null||A&&w===A.subTree)&&Cu(v,w,!0)):Y(v,w,P,et,A,R,K,D,W)},mt=(v,w,P,E,A,R,K,D,W)=>{w.slotScopeIds=D,v==null?w.shapeFlag&512?A.ctx.activate(w,P,E,K,W):Pt(w,P,E,A,R,K,W):Ht(v,w,W)},Pt=(v,w,P,E,A,R,K)=>{const D=v.component=Ld(v,E,A);if(Zo(v)&&(D.ctx.renderer=U),Cd(D),D.asyncDep){if(A&&A.registerDep(D,st),!v.el){const W=D.subTree=Rt(le);Z(null,W,w,P)}return}st(D,v,w,P,A,R,K)},Ht=(v,w,P)=>{const E=w.component=v.component;if(Mf(v,w,P))if(E.asyncDep&&!E.asyncResolved){gt(E,w,P);return}else E.next=w,Pf(E.update),E.update();else w.el=v.el,E.vnode=w},st=(v,w,P,E,A,R,K)=>{const D=()=>{if(v.isMounted){let{next:et,bu:X,u:it,parent:ut,vnode:pt}=v,Mt=et,Et;wn(v,!1),et?(et.el=pt.el,gt(v,et,K)):et=pt,X&&ws(X),(Et=et.props&&et.props.onVnodeBeforeUpdate)&&Ae(Et,ut,et,pt),wn(v,!0);const Zt=Ps(v),ie=v.subTree;v.subTree=Zt,O(ie,Zt,m(ie.el),S(ie),v,A,R),et.el=Zt.el,Mt===null&&pr(v,Zt.el),it&&oe(it,A),(Et=et.props&&et.props.onVnodeUpdated)&&oe(()=>Ae(Et,ut,et,pt),A)}else{let et;const{el:X,props:it}=w,{bm:ut,m:pt,parent:Mt}=v,Et=bo(w);if(wn(v,!1),ut&&ws(ut),!Et&&(et=it&&it.onVnodeBeforeMount)&&Ae(et,Mt,w),wn(v,!0),X&&bt){const Zt=()=>{v.subTree=Ps(v),bt(X,v.subTree,v,A,null)};Et?w.type.__asyncLoader().then(()=>!v.isUnmounted&&Zt()):Zt()}else{const Zt=v.subTree=Ps(v);O(null,Zt,P,E,v,A,R),w.el=Zt.el}if(pt&&oe(pt,A),!Et&&(et=it&&it.onVnodeMounted)){const Zt=w;oe(()=>Ae(et,Mt,Zt),A)}(w.shapeFlag&256||Mt&&bo(Mt.vnode)&&Mt.vnode.shapeFlag&256)&&v.a&&oe(v.a,A),v.isMounted=!0,w=P=E=null}},W=v.effect=new rr(D,()=>dr(z),v.scope),z=v.update=()=>W.run();z.id=v.uid,wn(v,!0),z()},gt=(v,w,P)=>{w.component=v;const E=v.vnode.props;v.vnode=w,v.next=null,cd(v,w.props,E,P),dd(v,w.children,P),ii(),za(),oi()},Y=(v,w,P,E,A,R,K,D,W=!1)=>{const z=v&&v.children,et=v?v.shapeFlag:0,X=w.children,{patchFlag:it,shapeFlag:ut}=w;if(it>0){if(it&128){ot(z,X,P,E,A,R,K,D,W);return}else if(it&256){ce(z,X,P,E,A,R,K,D,W);return}}ut&8?(et&16&&ht(z,A,R),X!==z&&_(P,X)):et&16?ut&16?ot(z,X,P,E,A,R,K,D,W):ht(z,A,R,!0):(et&8&&_(P,""),ut&16&&F(X,P,E,A,R,K,D,W))},ce=(v,w,P,E,A,R,K,D,W)=>{v=v||qn,w=w||qn;const z=v.length,et=w.length,X=Math.min(z,et);let it;for(it=0;itet?ht(v,A,R,!0,!1,X):F(w,P,E,A,R,K,D,W,X)},ot=(v,w,P,E,A,R,K,D,W)=>{let z=0;const et=w.length;let X=v.length-1,it=et-1;for(;z<=X&&z<=it;){const ut=v[z],pt=w[z]=W?on(w[z]):xe(w[z]);if(Ie(ut,pt))O(ut,pt,P,null,A,R,K,D,W);else break;z++}for(;z<=X&&z<=it;){const ut=v[X],pt=w[it]=W?on(w[it]):xe(w[it]);if(Ie(ut,pt))O(ut,pt,P,null,A,R,K,D,W);else break;X--,it--}if(z>X){if(z<=it){const ut=it+1,pt=utit)for(;z<=X;)St(v[z],A,R,!0),z++;else{const ut=z,pt=z,Mt=new Map;for(z=pt;z<=it;z++){const Xt=w[z]=W?on(w[z]):xe(w[z]);Xt.key!=null&&Mt.set(Xt.key,z)}let Et,Zt=0;const ie=it-pt+1;let ze=!1,Ui=0;const Ve=new Array(ie);for(z=0;z=ie){St(Xt,A,R,!0);continue}let he;if(Xt.key!=null)he=Mt.get(Xt.key);else for(Et=pt;Et<=it;Et++)if(Ve[Et-pt]===0&&Ie(Xt,w[Et])){he=Et;break}he===void 0?St(Xt,A,R,!0):(Ve[he-pt]=z+1,he>=Ui?Ui=he:ze=!0,O(Xt,w[he],P,null,A,R,K,D,W),Zt++)}const kn=ze?md(Ve):qn;for(Et=kn.length-1,z=ie-1;z>=0;z--){const Xt=pt+z,he=w[Xt],Ke=Xt+1{const{el:R,type:K,transition:D,children:W,shapeFlag:z}=v;if(z&6){yt(v.component.subTree,w,P,E);return}if(z&128){v.suspense.move(w,P,E);return}if(z&64){K.move(v,w,P,U);return}if(K===ae){r(R,w,P);for(let X=0;XD.enter(R),A);else{const{leave:X,delayLeave:it,afterLeave:ut}=D,pt=()=>r(R,w,P),Mt=()=>{X(R,()=>{pt(),ut&&ut()})};it?it(R,pt,Mt):Mt()}else r(R,w,P)},St=(v,w,P,E=!1,A=!1)=>{const{type:R,props:K,ref:D,children:W,dynamicChildren:z,shapeFlag:et,patchFlag:X,dirs:it}=v;if(D!=null&&Ws(D,null,P,v,!0),et&256){w.ctx.deactivate(v);return}const ut=et&1&&it,pt=!bo(v);let Mt;if(pt&&(Mt=K&&K.onVnodeBeforeUnmount)&&Ae(Mt,w,v),et&6)Lt(v.component,P,E);else{if(et&128){v.suspense.unmount(P,E);return}ut&&bn(v,null,w,"beforeUnmount"),et&64?v.type.remove(v,w,P,A,U,E):z&&(R!==ae||X>0&&X&64)?ht(z,w,P,!1,!0):(R===ae&&X&384||!A&&et&16)&&ht(W,w,P),E&&Nt(v)}(pt&&(Mt=K&&K.onVnodeUnmounted)||ut)&&oe(()=>{Mt&&Ae(Mt,w,v),ut&&bn(v,null,w,"unmounted")},P)},Nt=v=>{const{type:w,el:P,anchor:E,transition:A}=v;if(w===ae){kt(P,E);return}if(w===wo){k(v);return}const R=()=>{l(P),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(v.shapeFlag&1&&A&&!A.persisted){const{leave:K,delayLeave:D}=A,W=()=>K(P,R);D?D(v.el,R,W):W()}else R()},kt=(v,w)=>{let P;for(;v!==w;)P=y(v),l(v),v=P;l(w)},Lt=(v,w,P)=>{const{bum:E,scope:A,update:R,subTree:K,um:D}=v;E&&ws(E),A.stop(),R&&(R.active=!1,St(K,v,w,P)),D&&oe(D,w),oe(()=>{v.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},ht=(v,w,P,E=!1,A=!1,R=0)=>{for(let K=R;Kv.shapeFlag&6?S(v.component.subTree):v.shapeFlag&128?v.suspense.next():y(v.anchor||v.el),G=(v,w,P)=>{v==null?w._vnode&&St(w._vnode,null,null,!0):O(w._vnode||null,v,w,null,null,null,P),za(),uu(),w._vnode=v},U={p:O,um:St,m:yt,r:Nt,mt:Pt,mc:F,pc:Y,pbc:V,n:S,o:e};let Q,bt;return i&&([Q,bt]=i(U)),{render:G,hydrate:Q,createApp:ad(G,Q)}}function wn({effect:e,update:i},s){e.allowRecurse=i.allowRecurse=s}function Cu(e,i,s=!1){const r=e.children,l=i.children;if(at(r)&&at(l))for(let u=0;u>1,e[s[p]]0&&(i[r]=s[u-1]),s[u]=r)}}for(u=s.length,h=s[u-1];u-- >0;)s[u]=h,h=i[h];return s}const gd=e=>e.__isTeleport,ae=Symbol.for("v-fgt"),Fo=Symbol.for("v-txt"),le=Symbol.for("v-cmt"),wo=Symbol.for("v-stc"),Ei=[];let ve=null;function Vt(e=!1){Ei.push(ve=e?null:[])}function Eu(){Ei.pop(),ve=Ei[Ei.length-1]||null}let Xn=1;function Ga(e){Xn+=e}function Su(e){return e.dynamicChildren=Xn>0?ve||qn:null,Eu(),Xn>0&&ve&&ve.push(e),e}function me(e,i,s,r,l,u){return Su(Jt(e,i,s,r,l,u,!0))}function ji(e,i,s,r,l){return Su(Rt(e,i,s,r,l,!0))}function So(e){return e?e.__v_isVNode===!0:!1}function Ie(e,i){return e.type===i.type&&e.key===i.key}const Do="__vInternal",Mu=({key:e})=>e??null,xo=({ref:e,ref_key:i,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?$t(e)||Dt(e)||dt(e)?{i:ge,r:e,k:i,f:!!s}:e:null);function Jt(e,i=null,s=null,r=0,l=null,u=e===ae?0:1,h=!1,p=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:i,key:i&&Mu(i),ref:i&&xo(i),scopeId:fu,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:u,patchFlag:r,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:ge};return p?(yr(d,s),u&128&&e.normalize(d)):s&&(d.shapeFlag|=$t(s)?8:16),Xn>0&&!h&&ve&&(d.patchFlag>0||u&6)&&d.patchFlag!==32&&ve.push(d),d}const Rt=vd;function vd(e,i=null,s=null,r=0,l=null,u=!1){if((!e||e===Qf)&&(e=le),So(e)){const p=hn(e,i,!0);return s&&yr(p,s),Xn>0&&!u&&ve&&(p.shapeFlag&6?ve[ve.indexOf(e)]=p:ve.push(p)),p.patchFlag|=-2,p}if(Od(e)&&(e=e.__vccOpts),i){i=yd(i);let{class:p,style:d}=i;p&&!$t(p)&&(i.class=Bo(p)),It(d)&&(eu(d)&&!at(d)&&(d=Ut({},d)),i.style=or(d))}const h=$t(e)?1:Of(e)?128:gd(e)?64:It(e)?4:dt(e)?2:0;return Jt(e,i,s,r,l,h,u,!0)}function yd(e){return e?eu(e)||Do in e?Ut({},e):e:null}function hn(e,i,s=!1){const{props:r,ref:l,patchFlag:u,children:h}=e,p=i?wd(r||{},i):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&Mu(p),ref:i&&i.ref?s&&l?at(l)?l.concat(xo(i)):[l,xo(i)]:xo(i):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:h,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:i&&e.type!==ae?u===-1?16:u|16:u,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hn(e.ssContent),ssFallback:e.ssFallback&&hn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Zi(e=" ",i=0){return Rt(Fo,null,e,i)}function bd(e,i){const s=Rt(wo,null,e);return s.staticCount=i,s}function Mo(e="",i=!1){return i?(Vt(),ji(le,null,e)):Rt(le,null,e)}function xe(e){return e==null||typeof e=="boolean"?Rt(le):at(e)?Rt(ae,null,e.slice()):typeof e=="object"?on(e):Rt(Fo,null,String(e))}function on(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:hn(e)}function yr(e,i){let s=0;const{shapeFlag:r}=e;if(i==null)i=null;else if(at(i))s=16;else if(typeof i=="object")if(r&65){const l=i.default;l&&(l._c&&(l._d=!1),yr(e,l()),l._c&&(l._d=!0));return}else{s=32;const l=i._;!l&&!(Do in i)?i._ctx=ge:l===3&&ge&&(ge.slots._===1?i._=1:(i._=2,e.patchFlag|=1024))}else dt(i)?(i={default:i,_ctx:ge},s=32):(i=String(i),r&64?(s=16,i=[Zi(i)]):s=8);e.children=i,e.shapeFlag|=s}function wd(...e){const i={};for(let s=0;sKt||ge;let br,Hn,Ya="__VUE_INSTANCE_SETTERS__";(Hn=ks()[Ya])||(Hn=ks()[Ya]=[]),Hn.push(e=>Kt=e),br=e=>{Hn.length>1?Hn.forEach(i=>i(e)):Hn[0](e)};const Qn=e=>{br(e),e.scope.on()},On=()=>{Kt&&Kt.scope.off(),br(null)};function Ou(e){return e.vnode.shapeFlag&4}let Ni=!1;function Cd(e,i=!1){Ni=i;const{props:s,children:r}=e.vnode,l=Ou(e);ud(e,s,l,i),fd(e,r);const u=l?Ed(e,i):void 0;return Ni=!1,u}function Ed(e,i){const s=e.type;e.accessCache=Object.create(null),e.proxy=$e(new Proxy(e.ctx,td));const{setup:r}=s;if(r){const l=e.setupContext=r.length>1?Md(e):null;Qn(e),ii();const u=ln(r,e,0,[e.props,l]);if(oi(),On(),Il(u)){if(u.then(On,On),i)return u.then(h=>{Us(e,h,i)}).catch(h=>{Di(h,e,0)});e.asyncDep=u}else Us(e,u,i)}else Au(e,i)}function Us(e,i,s){dt(i)?e.type.__ssrInlineRender?e.ssrRender=i:e.render=i:It(i)&&(e.setupState=su(i)),Au(e,s)}let Ja;function Au(e,i,s){const r=e.type;if(!e.render){if(!i&&Ja&&!r.render){const l=r.template||gr(e).template;if(l){const{isCustomElement:u,compilerOptions:h}=e.appContext.config,{delimiters:p,compilerOptions:d}=r,g=Ut(Ut({isCustomElement:u,delimiters:p},h),d);r.render=Ja(l,g)}}e.render=r.render||Le}Qn(e),ii(),ed(e),oi(),On()}function Sd(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(i,s){return se(e,"get","$attrs"),i[s]}}))}function Md(e){const i=s=>{e.exposed=s||{}};return{get attrs(){return Sd(e)},slots:e.slots,emit:e.emit,expose:i}}function wr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(su($e(e.exposed)),{get(i,s){if(s in i)return i[s];if(s in Ci)return Ci[s](e)},has(i,s){return s in i||s in Ci}}))}function Od(e){return dt(e)&&"__vccOpts"in e}const te=(e,i)=>bf(e,i,Ni);function dn(e,i,s){const r=arguments.length;return r===2?It(i)&&!at(i)?So(i)?Rt(e,null,[i]):Rt(e,i):Rt(e,null,i):(r>3?s=Array.prototype.slice.call(arguments,2):r===3&&So(s)&&(s=[s]),Rt(e,i,s))}const Ad=Symbol.for("v-scx"),kd=()=>Gt(Ad),Id="3.3.4",Bd="http://www.w3.org/2000/svg",Cn=typeof document<"u"?document:null,Xa=Cn&&Cn.createElement("template"),Rd={insert:(e,i,s)=>{i.insertBefore(e,s||null)},remove:e=>{const i=e.parentNode;i&&i.removeChild(e)},createElement:(e,i,s,r)=>{const l=i?Cn.createElementNS(Bd,e):Cn.createElement(e,s?{is:s}:void 0);return e==="select"&&r&&r.multiple!=null&&l.setAttribute("multiple",r.multiple),l},createText:e=>Cn.createTextNode(e),createComment:e=>Cn.createComment(e),setText:(e,i)=>{e.nodeValue=i},setElementText:(e,i)=>{e.textContent=i},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Cn.querySelector(e),setScopeId(e,i){e.setAttribute(i,"")},insertStaticContent(e,i,s,r,l,u){const h=s?s.previousSibling:i.lastChild;if(l&&(l===u||l.nextSibling))for(;i.insertBefore(l.cloneNode(!0),s),!(l===u||!(l=l.nextSibling)););else{Xa.innerHTML=r?`${e}`:e;const p=Xa.content;if(r){const d=p.firstChild;for(;d.firstChild;)p.appendChild(d.firstChild);p.removeChild(d)}i.insertBefore(p,s)}return[h?h.nextSibling:i.firstChild,s?s.previousSibling:i.lastChild]}};function zd(e,i,s){const r=e._vtc;r&&(i=(i?[i,...r]:[...r]).join(" ")),i==null?e.removeAttribute("class"):s?e.setAttribute("class",i):e.className=i}function Zd(e,i,s){const r=e.style,l=$t(s);if(s&&!l){if(i&&!$t(i))for(const u in i)s[u]==null&&$s(r,u,"");for(const u in s)$s(r,u,s[u])}else{const u=r.display;l?i!==s&&(r.cssText=s):i&&e.removeAttribute("style"),"_vod"in e&&(r.display=u)}}const Qa=/\s*!important$/;function $s(e,i,s){if(at(s))s.forEach(r=>$s(e,i,r));else if(s==null&&(s=""),i.startsWith("--"))e.setProperty(i,s);else{const r=Nd(e,i);Qa.test(s)?e.setProperty(ni(r),s.replace(Qa,""),"important"):e[r]=s}}const tl=["Webkit","Moz","ms"],Cs={};function Nd(e,i){const s=Cs[i];if(s)return s;let r=Yn(i);if(r!=="filter"&&r in e)return Cs[i]=r;r=zl(r);for(let l=0;lEs||($d.then(()=>Es=0),Es=Date.now());function Vd(e,i){const s=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=s.attached)return;ye(Kd(r,s.value),i,5,[r])};return s.value=e,s.attached=qd(),s}function Kd(e,i){if(at(i)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},i.map(r=>l=>!l._stopped&&r&&r(l))}else return i}const il=/^on[a-z]/,Gd=(e,i,s,r,l=!1,u,h,p,d)=>{i==="class"?zd(e,r,l):i==="style"?Zd(e,s,r):Ao(i)?tr(i)||Wd(e,i,s,r,h):(i[0]==="."?(i=i.slice(1),!0):i[0]==="^"?(i=i.slice(1),!1):Yd(e,i,r,l))?Dd(e,i,r,u,h,p,d):(i==="true-value"?e._trueValue=r:i==="false-value"&&(e._falseValue=r),Fd(e,i,r,l))};function Yd(e,i,s,r){return r?!!(i==="innerHTML"||i==="textContent"||i in e&&il.test(i)&&dt(s)):i==="spellcheck"||i==="draggable"||i==="translate"||i==="form"||i==="list"&&e.tagName==="INPUT"||i==="type"&&e.tagName==="TEXTAREA"||il.test(i)&&$t(s)?!1:i in e}const Qe="transition",xi="animation",xr=(e,{slots:i})=>dn(jf,Jd(e),i);xr.displayName="Transition";const ku={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};xr.props=Ut({},_u,ku);const xn=(e,i=[])=>{at(e)?e.forEach(s=>s(...i)):e&&e(...i)},ol=e=>e?at(e)?e.some(i=>i.length>1):e.length>1:!1;function Jd(e){const i={};for(const j in e)j in ku||(i[j]=e[j]);if(e.css===!1)return i;const{name:s="v",type:r,duration:l,enterFromClass:u=`${s}-enter-from`,enterActiveClass:h=`${s}-enter-active`,enterToClass:p=`${s}-enter-to`,appearFromClass:d=u,appearActiveClass:g=h,appearToClass:_=p,leaveFromClass:m=`${s}-leave-from`,leaveActiveClass:y=`${s}-leave-active`,leaveToClass:x=`${s}-leave-to`}=e,M=Xd(l),O=M&&M[0],$=M&&M[1],{onBeforeEnter:Z,onEnter:N,onEnterCancelled:q,onLeave:k,onLeaveCancelled:H,onBeforeAppear:rt=Z,onAppear:lt=N,onAppearCancelled:F=q}=i,I=(j,mt,Pt)=>{Pn(j,mt?_:p),Pn(j,mt?g:h),Pt&&Pt()},V=(j,mt)=>{j._isLeaving=!1,Pn(j,m),Pn(j,x),Pn(j,y),mt&&mt()},tt=j=>(mt,Pt)=>{const Ht=j?lt:N,st=()=>I(mt,j,Pt);xn(Ht,[mt,st]),sl(()=>{Pn(mt,j?d:u),tn(mt,j?_:p),ol(Ht)||rl(mt,r,O,st)})};return Ut(i,{onBeforeEnter(j){xn(Z,[j]),tn(j,u),tn(j,h)},onBeforeAppear(j){xn(rt,[j]),tn(j,d),tn(j,g)},onEnter:tt(!1),onAppear:tt(!0),onLeave(j,mt){j._isLeaving=!0;const Pt=()=>V(j,mt);tn(j,m),ep(),tn(j,y),sl(()=>{j._isLeaving&&(Pn(j,m),tn(j,x),ol(k)||rl(j,r,$,Pt))}),xn(k,[j,Pt])},onEnterCancelled(j){I(j,!1),xn(q,[j])},onAppearCancelled(j){I(j,!0),xn(F,[j])},onLeaveCancelled(j){V(j),xn(H,[j])}})}function Xd(e){if(e==null)return null;if(It(e))return[Ss(e.enter),Ss(e.leave)];{const i=Ss(e);return[i,i]}}function Ss(e){return Zl(e)}function tn(e,i){i.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e._vtc||(e._vtc=new Set)).add(i)}function Pn(e,i){i.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:s}=e;s&&(s.delete(i),s.size||(e._vtc=void 0))}function sl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Qd=0;function rl(e,i,s,r){const l=e._endId=++Qd,u=()=>{l===e._endId&&r()};if(s)return setTimeout(u,s);const{type:h,timeout:p,propCount:d}=tp(e,i);if(!h)return r();const g=h+"end";let _=0;const m=()=>{e.removeEventListener(g,y),u()},y=x=>{x.target===e&&++_>=d&&m()};setTimeout(()=>{_(s[M]||"").split(", "),l=r(`${Qe}Delay`),u=r(`${Qe}Duration`),h=al(l,u),p=r(`${xi}Delay`),d=r(`${xi}Duration`),g=al(p,d);let _=null,m=0,y=0;i===Qe?h>0&&(_=Qe,m=h,y=u.length):i===xi?g>0&&(_=xi,m=g,y=d.length):(m=Math.max(h,g),_=m>0?h>g?Qe:xi:null,y=_?_===Qe?u.length:d.length:0);const x=_===Qe&&/\b(transform|all)(,|$)/.test(r(`${Qe}Property`).toString());return{type:_,timeout:m,propCount:y,hasTransform:x}}function al(e,i){for(;e.lengthll(s)+ll(e[r])))}function ll(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ep(){return document.body.offsetHeight}const np=Ut({patchProp:Gd},Rd);let ul;function Iu(){return ul||(ul=pd(np))}const ip=(...e)=>{Iu().render(...e)},op=(...e)=>{const i=Iu().createApp(...e),{mount:s}=i;return i.mount=r=>{const l=sp(r);if(!l)return;const u=i._component;!dt(u)&&!u.render&&!u.template&&(u.template=l.innerHTML),l.innerHTML="";const h=s(l,!1,l instanceof SVGElement);return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),h},i};function sp(e){return $t(e)?document.querySelector(e):e}var rp=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let Bu;const Ho=e=>Bu=e,Ru=Symbol();function qs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Si;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Si||(Si={}));function ap(){const e=Hl(!0),i=e.run(()=>ne({}));let s=[],r=[];const l=$e({install(u){Ho(l),l._a=u,u.provide(Ru,l),u.config.globalProperties.$pinia=l,r.forEach(h=>s.push(h)),r=[]},use(u){return!this._a&&!rp?r.push(u):s.push(u),this},_p:s,_a:null,_e:e,_s:new Map,state:i});return l}const zu=()=>{};function cl(e,i,s,r=zu){e.push(i);const l=()=>{const u=e.indexOf(i);u>-1&&(e.splice(u,1),r())};return!s&&jl()&&Nh(l),l}function jn(e,...i){e.slice().forEach(s=>{s(...i)})}const lp=e=>e();function Vs(e,i){e instanceof Map&&i instanceof Map&&i.forEach((s,r)=>e.set(r,s)),e instanceof Set&&i instanceof Set&&i.forEach(e.add,e);for(const s in i){if(!i.hasOwnProperty(s))continue;const r=i[s],l=e[s];qs(l)&&qs(r)&&e.hasOwnProperty(s)&&!Dt(r)&&!an(r)?e[s]=Vs(l,r):e[s]=r}return e}const up=Symbol();function cp(e){return!qs(e)||!e.hasOwnProperty(up)}const{assign:nn}=Object;function hp(e){return!!(Dt(e)&&e.effect)}function fp(e,i,s,r){const{state:l,actions:u,getters:h}=i,p=s.state.value[e];let d;function g(){p||(s.state.value[e]=l?l():{});const _=mf(s.state.value[e]);return nn(_,u,Object.keys(h||{}).reduce((m,y)=>(m[y]=$e(te(()=>{Ho(s);const x=s._s.get(e);return h[y].call(x,x)})),m),{}))}return d=Zu(e,g,i,s,r,!0),d}function Zu(e,i,s={},r,l,u){let h;const p=nn({actions:{}},s),d={deep:!0};let g,_,m=[],y=[],x;const M=r.state.value[e];!u&&!M&&(r.state.value[e]={}),ne({});let O;function $(F){let I;g=_=!1,typeof F=="function"?(F(r.state.value[e]),I={type:Si.patchFunction,storeId:e,events:x}):(Vs(r.state.value[e],F),I={type:Si.patchObject,payload:F,storeId:e,events:x});const V=O=Symbol();Re().then(()=>{O===V&&(g=!0)}),_=!0,jn(m,I,r.state.value[e])}const Z=u?function(){const{state:I}=s,V=I?I():{};this.$patch(tt=>{nn(tt,V)})}:zu;function N(){h.stop(),m=[],y=[],r._s.delete(e)}function q(F,I){return function(){Ho(r);const V=Array.from(arguments),tt=[],j=[];function mt(st){tt.push(st)}function Pt(st){j.push(st)}jn(y,{args:V,name:F,store:H,after:mt,onError:Pt});let Ht;try{Ht=I.apply(this&&this.$id===e?this:H,V)}catch(st){throw jn(j,st),st}return Ht instanceof Promise?Ht.then(st=>(jn(tt,st),st)).catch(st=>(jn(j,st),Promise.reject(st))):(jn(tt,Ht),Ht)}}const k={_p:r,$id:e,$onAction:cl.bind(null,y),$patch:$,$reset:Z,$subscribe(F,I={}){const V=cl(m,F,I.detached,()=>tt()),tt=h.run(()=>Mn(()=>r.state.value[e],j=>{(I.flush==="sync"?_:g)&&F({storeId:e,type:Si.direct,events:x},j)},nn({},d,I)));return V},$dispose:N},H=si(k);r._s.set(e,H);const lt=(r._a&&r._a.runWithContext||lp)(()=>r._e.run(()=>(h=Hl()).run(i)));for(const F in lt){const I=lt[F];if(Dt(I)&&!hp(I)||an(I))u||(M&&cp(I)&&(Dt(I)?I.value=M[F]:Vs(I,M[F])),r.state.value[e][F]=I);else if(typeof I=="function"){const V=q(F,I);lt[F]=V,p.actions[F]=I}}return nn(H,lt),nn(xt(H),lt),Object.defineProperty(H,"$state",{get:()=>r.state.value[e],set:F=>{$(I=>{nn(I,F)})}}),r._p.forEach(F=>{nn(H,h.run(()=>F({store:H,app:r._a,pinia:r,options:p})))}),M&&u&&s.hydrate&&s.hydrate(H.$state,M),g=!0,_=!0,H}function Nu(e,i,s){let r,l;const u=typeof i=="function";typeof e=="string"?(r=e,l=u?s:i):(l=e,r=e.id);function h(p,d){const g=ld();return p=p||(g?Gt(Ru,null):null),p&&Ho(p),p=Bu,p._s.has(r)||(u?Zu(r,i,l,p):fp(r,l,p)),p._s.get(r)}return h.$id=r,h}/*! + * vue-router v4.2.5 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const Wn=typeof window<"u";function dp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ot=Object.assign;function Ms(e,i){const s={};for(const r in i){const l=i[r];s[r]=Ce(l)?l.map(e):e(l)}return s}const Mi=()=>{},Ce=Array.isArray,pp=/\/$/,_p=e=>e.replace(pp,"");function Os(e,i,s="/"){let r,l={},u="",h="";const p=i.indexOf("#");let d=i.indexOf("?");return p=0&&(d=-1),d>-1&&(r=i.slice(0,d),u=i.slice(d+1,p>-1?p:i.length),l=e(u)),p>-1&&(r=r||i.slice(0,p),h=i.slice(p,i.length)),r=yp(r??i,s),{fullPath:r+(u&&"?")+u+h,path:r,query:l,hash:h}}function mp(e,i){const s=i.query?e(i.query):"";return i.path+(s&&"?")+s+(i.hash||"")}function hl(e,i){return!i||!e.toLowerCase().startsWith(i.toLowerCase())?e:e.slice(i.length)||"/"}function gp(e,i,s){const r=i.matched.length-1,l=s.matched.length-1;return r>-1&&r===l&&ti(i.matched[r],s.matched[l])&&Fu(i.params,s.params)&&e(i.query)===e(s.query)&&i.hash===s.hash}function ti(e,i){return(e.aliasOf||e)===(i.aliasOf||i)}function Fu(e,i){if(Object.keys(e).length!==Object.keys(i).length)return!1;for(const s in e)if(!vp(e[s],i[s]))return!1;return!0}function vp(e,i){return Ce(e)?fl(e,i):Ce(i)?fl(i,e):e===i}function fl(e,i){return Ce(i)?e.length===i.length&&e.every((s,r)=>s===i[r]):e.length===1&&e[0]===i}function yp(e,i){if(e.startsWith("/"))return e;if(!e)return i;const s=i.split("/"),r=e.split("/"),l=r[r.length-1];(l===".."||l===".")&&r.push("");let u=s.length-1,h,p;for(h=0;h1&&u--;else break;return s.slice(0,u).join("/")+"/"+r.slice(h-(h===r.length?1:0)).join("/")}var Fi;(function(e){e.pop="pop",e.push="push"})(Fi||(Fi={}));var Oi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Oi||(Oi={}));function bp(e){if(!e)if(Wn){const i=document.querySelector("base");e=i&&i.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),_p(e)}const wp=/^[^#]+#/;function xp(e,i){return e.replace(wp,"#")+i}function Pp(e,i){const s=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:i.behavior,left:r.left-s.left-(i.left||0),top:r.top-s.top-(i.top||0)}}const jo=()=>({left:window.pageXOffset,top:window.pageYOffset});function Lp(e){let i;if("el"in e){const s=e.el,r=typeof s=="string"&&s.startsWith("#"),l=typeof s=="string"?r?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!l)return;i=Pp(l,e)}else i=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.pageXOffset,i.top!=null?i.top:window.pageYOffset)}function dl(e,i){return(history.state?history.state.position-i:-1)+e}const Ks=new Map;function Tp(e,i){Ks.set(e,i)}function Cp(e){const i=Ks.get(e);return Ks.delete(e),i}let Ep=()=>location.protocol+"//"+location.host;function Du(e,i){const{pathname:s,search:r,hash:l}=i,u=e.indexOf("#");if(u>-1){let p=l.includes(e.slice(u))?e.slice(u).length:1,d=l.slice(p);return d[0]!=="/"&&(d="/"+d),hl(d,"")}return hl(s,e)+r+l}function Sp(e,i,s,r){let l=[],u=[],h=null;const p=({state:y})=>{const x=Du(e,location),M=s.value,O=i.value;let $=0;if(y){if(s.value=x,i.value=y,h&&h===M){h=null;return}$=O?y.position-O.position:0}else r(x);l.forEach(Z=>{Z(s.value,M,{delta:$,type:Fi.pop,direction:$?$>0?Oi.forward:Oi.back:Oi.unknown})})};function d(){h=s.value}function g(y){l.push(y);const x=()=>{const M=l.indexOf(y);M>-1&&l.splice(M,1)};return u.push(x),x}function _(){const{history:y}=window;y.state&&y.replaceState(Ot({},y.state,{scroll:jo()}),"")}function m(){for(const y of u)y();u=[],window.removeEventListener("popstate",p),window.removeEventListener("beforeunload",_)}return window.addEventListener("popstate",p),window.addEventListener("beforeunload",_,{passive:!0}),{pauseListeners:d,listen:g,destroy:m}}function pl(e,i,s,r=!1,l=!1){return{back:e,current:i,forward:s,replaced:r,position:window.history.length,scroll:l?jo():null}}function Mp(e){const{history:i,location:s}=window,r={value:Du(e,s)},l={value:i.state};l.value||u(r.value,{back:null,current:r.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function u(d,g,_){const m=e.indexOf("#"),y=m>-1?(s.host&&document.querySelector("base")?e:e.slice(m))+d:Ep()+e+d;try{i[_?"replaceState":"pushState"](g,"",y),l.value=g}catch(x){console.error(x),s[_?"replace":"assign"](y)}}function h(d,g){const _=Ot({},i.state,pl(l.value.back,d,l.value.forward,!0),g,{position:l.value.position});u(d,_,!0),r.value=d}function p(d,g){const _=Ot({},l.value,i.state,{forward:d,scroll:jo()});u(_.current,_,!0);const m=Ot({},pl(r.value,d,null),{position:_.position+1},g);u(d,m,!1),r.value=d}return{location:r,state:l,push:p,replace:h}}function Op(e){e=bp(e);const i=Mp(e),s=Sp(e,i.state,i.location,i.replace);function r(u,h=!0){h||s.pauseListeners(),history.go(u)}const l=Ot({location:"",base:e,go:r,createHref:xp.bind(null,e)},i,s);return Object.defineProperty(l,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(l,"state",{enumerable:!0,get:()=>i.state.value}),l}function Ap(e){return typeof e=="string"||e&&typeof e=="object"}function Hu(e){return typeof e=="string"||typeof e=="symbol"}const en={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ju=Symbol("");var _l;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_l||(_l={}));function ei(e,i){return Ot(new Error,{type:e,[ju]:!0},i)}function He(e,i){return e instanceof Error&&ju in e&&(i==null||!!(e.type&i))}const ml="[^/]+?",kp={sensitive:!1,strict:!1,start:!0,end:!0},Ip=/[.+*?^${}()[\]/\\]/g;function Bp(e,i){const s=Ot({},kp,i),r=[];let l=s.start?"^":"";const u=[];for(const g of e){const _=g.length?[]:[90];s.strict&&!g.length&&(l+="/");for(let m=0;mi.length?i.length===1&&i[0]===40+40?1:-1:0}function zp(e,i){let s=0;const r=e.score,l=i.score;for(;s0&&i[i.length-1]<0}const Zp={type:0,value:""},Np=/[a-zA-Z0-9_]/;function Fp(e){if(!e)return[[]];if(e==="/")return[[Zp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function i(x){throw new Error(`ERR (${s})/"${g}": ${x}`)}let s=0,r=s;const l=[];let u;function h(){u&&l.push(u),u=[]}let p=0,d,g="",_="";function m(){g&&(s===0?u.push({type:0,value:g}):s===1||s===2||s===3?(u.length>1&&(d==="*"||d==="+")&&i(`A repeatable param (${g}) must be alone in its segment. eg: '/:ids+.`),u.push({type:1,value:g,regexp:_,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):i("Invalid state to consume buffer"),g="")}function y(){g+=d}for(;p{h(N)}:Mi}function h(_){if(Hu(_)){const m=r.get(_);m&&(r.delete(_),s.splice(s.indexOf(m),1),m.children.forEach(h),m.alias.forEach(h))}else{const m=s.indexOf(_);m>-1&&(s.splice(m,1),_.record.name&&r.delete(_.record.name),_.children.forEach(h),_.alias.forEach(h))}}function p(){return s}function d(_){let m=0;for(;m=0&&(_.record.path!==s[m].record.path||!Wu(_,s[m]));)m++;s.splice(m,0,_),_.record.name&&!yl(_)&&r.set(_.record.name,_)}function g(_,m){let y,x={},M,O;if("name"in _&&_.name){if(y=r.get(_.name),!y)throw ei(1,{location:_});O=y.record.name,x=Ot(vl(m.params,y.keys.filter(N=>!N.optional).map(N=>N.name)),_.params&&vl(_.params,y.keys.map(N=>N.name))),M=y.stringify(x)}else if("path"in _)M=_.path,y=s.find(N=>N.re.test(M)),y&&(x=y.parse(M),O=y.record.name);else{if(y=m.name?r.get(m.name):s.find(N=>N.re.test(m.path)),!y)throw ei(1,{location:_,currentLocation:m});O=y.record.name,x=Ot({},m.params,_.params),M=y.stringify(x)}const $=[];let Z=y;for(;Z;)$.unshift(Z.record),Z=Z.parent;return{name:O,path:M,params:x,matched:$,meta:Up($)}}return e.forEach(_=>u(_)),{addRoute:u,resolve:g,removeRoute:h,getRoutes:p,getRecordMatcher:l}}function vl(e,i){const s={};for(const r of i)r in e&&(s[r]=e[r]);return s}function jp(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Wp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Wp(e){const i={},s=e.props||!1;if("component"in e)i.default=s;else for(const r in e.components)i[r]=typeof s=="object"?s[r]:s;return i}function yl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Up(e){return e.reduce((i,s)=>Ot(i,s.meta),{})}function bl(e,i){const s={};for(const r in e)s[r]=r in i?i[r]:e[r];return s}function Wu(e,i){return i.children.some(s=>s===e||Wu(e,s))}const Uu=/#/g,$p=/&/g,qp=/\//g,Vp=/=/g,Kp=/\?/g,$u=/\+/g,Gp=/%5B/g,Yp=/%5D/g,qu=/%5E/g,Jp=/%60/g,Vu=/%7B/g,Xp=/%7C/g,Ku=/%7D/g,Qp=/%20/g;function Pr(e){return encodeURI(""+e).replace(Xp,"|").replace(Gp,"[").replace(Yp,"]")}function t_(e){return Pr(e).replace(Vu,"{").replace(Ku,"}").replace(qu,"^")}function Gs(e){return Pr(e).replace($u,"%2B").replace(Qp,"+").replace(Uu,"%23").replace($p,"%26").replace(Jp,"`").replace(Vu,"{").replace(Ku,"}").replace(qu,"^")}function e_(e){return Gs(e).replace(Vp,"%3D")}function n_(e){return Pr(e).replace(Uu,"%23").replace(Kp,"%3F")}function i_(e){return e==null?"":n_(e).replace(qp,"%2F")}function Oo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function o_(e){const i={};if(e===""||e==="?")return i;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let l=0;lu&&Gs(u)):[r&&Gs(r)]).forEach(u=>{u!==void 0&&(i+=(i.length?"&":"")+s,u!=null&&(i+="="+u))})}return i}function s_(e){const i={};for(const s in e){const r=e[s];r!==void 0&&(i[s]=Ce(r)?r.map(l=>l==null?null:""+l):r==null?r:""+r)}return i}const r_=Symbol(""),xl=Symbol(""),Wo=Symbol(""),Lr=Symbol(""),Ys=Symbol("");function Pi(){let e=[];function i(r){return e.push(r),()=>{const l=e.indexOf(r);l>-1&&e.splice(l,1)}}function s(){e=[]}return{add:i,list:()=>e.slice(),reset:s}}function sn(e,i,s,r,l){const u=r&&(r.enterCallbacks[l]=r.enterCallbacks[l]||[]);return()=>new Promise((h,p)=>{const d=m=>{m===!1?p(ei(4,{from:s,to:i})):m instanceof Error?p(m):Ap(m)?p(ei(2,{from:i,to:m})):(u&&r.enterCallbacks[l]===u&&typeof m=="function"&&u.push(m),h())},g=e.call(r&&r.instances[l],i,s,d);let _=Promise.resolve(g);e.length<3&&(_=_.then(d)),_.catch(m=>p(m))})}function As(e,i,s,r){const l=[];for(const u of e)for(const h in u.components){let p=u.components[h];if(!(i!=="beforeRouteEnter"&&!u.instances[h]))if(a_(p)){const g=(p.__vccOpts||p)[i];g&&l.push(sn(g,s,r,u,h))}else{let d=p();l.push(()=>d.then(g=>{if(!g)return Promise.reject(new Error(`Couldn't resolve component "${h}" at "${u.path}"`));const _=dp(g)?g.default:g;u.components[h]=_;const y=(_.__vccOpts||_)[i];return y&&sn(y,s,r,u,h)()}))}}return l}function a_(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Pl(e){const i=Gt(Wo),s=Gt(Lr),r=te(()=>i.resolve(qt(e.to))),l=te(()=>{const{matched:d}=r.value,{length:g}=d,_=d[g-1],m=s.matched;if(!_||!m.length)return-1;const y=m.findIndex(ti.bind(null,_));if(y>-1)return y;const x=Ll(d[g-2]);return g>1&&Ll(_)===x&&m[m.length-1].path!==x?m.findIndex(ti.bind(null,d[g-2])):y}),u=te(()=>l.value>-1&&c_(s.params,r.value.params)),h=te(()=>l.value>-1&&l.value===s.matched.length-1&&Fu(s.params,r.value.params));function p(d={}){return u_(d)?i[qt(e.replace)?"replace":"push"](qt(e.to)).catch(Mi):Promise.resolve()}return{route:r,href:te(()=>r.value.href),isActive:u,isExactActive:h,navigate:p}}const l_=ue({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Pl,setup(e,{slots:i}){const s=si(Pl(e)),{options:r}=Gt(Wo),l=te(()=>({[Tl(e.activeClass,r.linkActiveClass,"router-link-active")]:s.isActive,[Tl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const u=i.default&&i.default(s);return e.custom?u:dn("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:l.value},u)}}}),Js=l_;function u_(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const i=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return e.preventDefault&&e.preventDefault(),!0}}function c_(e,i){for(const s in i){const r=i[s],l=e[s];if(typeof r=="string"){if(r!==l)return!1}else if(!Ce(l)||l.length!==r.length||r.some((u,h)=>u!==l[h]))return!1}return!0}function Ll(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Tl=(e,i,s)=>e??i??s,h_=ue({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:i,slots:s}){const r=Gt(Ys),l=te(()=>e.route||r.value),u=Gt(xl,0),h=te(()=>{let g=qt(u);const{matched:_}=l.value;let m;for(;(m=_[g])&&!m.components;)g++;return g}),p=te(()=>l.value.matched[h.value]);Be(xl,te(()=>h.value+1)),Be(r_,p),Be(Ys,l);const d=ne();return Mn(()=>[d.value,p.value,e.name],([g,_,m],[y,x,M])=>{_&&(_.instances[m]=g,x&&x!==_&&g&&g===y&&(_.leaveGuards.size||(_.leaveGuards=x.leaveGuards),_.updateGuards.size||(_.updateGuards=x.updateGuards))),g&&_&&(!x||!ti(_,x)||!y)&&(_.enterCallbacks[m]||[]).forEach(O=>O(g))},{flush:"post"}),()=>{const g=l.value,_=e.name,m=p.value,y=m&&m.components[_];if(!y)return Cl(s.default,{Component:y,route:g});const x=m.props[_],M=x?x===!0?g.params:typeof x=="function"?x(g):x:null,$=dn(y,Ot({},M,i,{onVnodeUnmounted:Z=>{Z.component.isUnmounted&&(m.instances[_]=null)},ref:d}));return Cl(s.default,{Component:$,route:g})||$}}});function Cl(e,i){if(!e)return null;const s=e(i);return s.length===1?s[0]:s}const Gu=h_;function f_(e){const i=Hp(e.routes,e),s=e.parseQuery||o_,r=e.stringifyQuery||wl,l=e.history,u=Pi(),h=Pi(),p=Pi(),d=df(en);let g=en;Wn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const _=Ms.bind(null,S=>""+S),m=Ms.bind(null,i_),y=Ms.bind(null,Oo);function x(S,G){let U,Q;return Hu(S)?(U=i.getRecordMatcher(S),Q=G):Q=S,i.addRoute(Q,U)}function M(S){const G=i.getRecordMatcher(S);G&&i.removeRoute(G)}function O(){return i.getRoutes().map(S=>S.record)}function $(S){return!!i.getRecordMatcher(S)}function Z(S,G){if(G=Ot({},G||d.value),typeof S=="string"){const P=Os(s,S,G.path),E=i.resolve({path:P.path},G),A=l.createHref(P.fullPath);return Ot(P,E,{params:y(E.params),hash:Oo(P.hash),redirectedFrom:void 0,href:A})}let U;if("path"in S)U=Ot({},S,{path:Os(s,S.path,G.path).path});else{const P=Ot({},S.params);for(const E in P)P[E]==null&&delete P[E];U=Ot({},S,{params:m(P)}),G.params=m(G.params)}const Q=i.resolve(U,G),bt=S.hash||"";Q.params=_(y(Q.params));const v=mp(r,Ot({},S,{hash:t_(bt),path:Q.path})),w=l.createHref(v);return Ot({fullPath:v,hash:bt,query:r===wl?s_(S.query):S.query||{}},Q,{redirectedFrom:void 0,href:w})}function N(S){return typeof S=="string"?Os(s,S,d.value.path):Ot({},S)}function q(S,G){if(g!==S)return ei(8,{from:G,to:S})}function k(S){return lt(S)}function H(S){return k(Ot(N(S),{replace:!0}))}function rt(S){const G=S.matched[S.matched.length-1];if(G&&G.redirect){const{redirect:U}=G;let Q=typeof U=="function"?U(S):U;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=N(Q):{path:Q},Q.params={}),Ot({query:S.query,hash:S.hash,params:"path"in Q?{}:S.params},Q)}}function lt(S,G){const U=g=Z(S),Q=d.value,bt=S.state,v=S.force,w=S.replace===!0,P=rt(U);if(P)return lt(Ot(N(P),{state:typeof P=="object"?Ot({},bt,P.state):bt,force:v,replace:w}),G||U);const E=U;E.redirectedFrom=G;let A;return!v&&gp(r,Q,U)&&(A=ei(16,{to:E,from:Q}),yt(Q,Q,!0,!1)),(A?Promise.resolve(A):V(E,Q)).catch(R=>He(R)?He(R,2)?R:ot(R):Y(R,E,Q)).then(R=>{if(R){if(He(R,2))return lt(Ot({replace:w},N(R.to),{state:typeof R.to=="object"?Ot({},bt,R.to.state):bt,force:v}),G||E)}else R=j(E,Q,!0,w,bt);return tt(E,Q,R),R})}function F(S,G){const U=q(S,G);return U?Promise.reject(U):Promise.resolve()}function I(S){const G=kt.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(S):S()}function V(S,G){let U;const[Q,bt,v]=d_(S,G);U=As(Q.reverse(),"beforeRouteLeave",S,G);for(const P of Q)P.leaveGuards.forEach(E=>{U.push(sn(E,S,G))});const w=F.bind(null,S,G);return U.push(w),ht(U).then(()=>{U=[];for(const P of u.list())U.push(sn(P,S,G));return U.push(w),ht(U)}).then(()=>{U=As(bt,"beforeRouteUpdate",S,G);for(const P of bt)P.updateGuards.forEach(E=>{U.push(sn(E,S,G))});return U.push(w),ht(U)}).then(()=>{U=[];for(const P of v)if(P.beforeEnter)if(Ce(P.beforeEnter))for(const E of P.beforeEnter)U.push(sn(E,S,G));else U.push(sn(P.beforeEnter,S,G));return U.push(w),ht(U)}).then(()=>(S.matched.forEach(P=>P.enterCallbacks={}),U=As(v,"beforeRouteEnter",S,G),U.push(w),ht(U))).then(()=>{U=[];for(const P of h.list())U.push(sn(P,S,G));return U.push(w),ht(U)}).catch(P=>He(P,8)?P:Promise.reject(P))}function tt(S,G,U){p.list().forEach(Q=>I(()=>Q(S,G,U)))}function j(S,G,U,Q,bt){const v=q(S,G);if(v)return v;const w=G===en,P=Wn?history.state:{};U&&(Q||w?l.replace(S.fullPath,Ot({scroll:w&&P&&P.scroll},bt)):l.push(S.fullPath,bt)),d.value=S,yt(S,G,U,w),ot()}let mt;function Pt(){mt||(mt=l.listen((S,G,U)=>{if(!Lt.listening)return;const Q=Z(S),bt=rt(Q);if(bt){lt(Ot(bt,{replace:!0}),Q).catch(Mi);return}g=Q;const v=d.value;Wn&&Tp(dl(v.fullPath,U.delta),jo()),V(Q,v).catch(w=>He(w,12)?w:He(w,2)?(lt(w.to,Q).then(P=>{He(P,20)&&!U.delta&&U.type===Fi.pop&&l.go(-1,!1)}).catch(Mi),Promise.reject()):(U.delta&&l.go(-U.delta,!1),Y(w,Q,v))).then(w=>{w=w||j(Q,v,!1),w&&(U.delta&&!He(w,8)?l.go(-U.delta,!1):U.type===Fi.pop&&He(w,20)&&l.go(-1,!1)),tt(Q,v,w)}).catch(Mi)}))}let Ht=Pi(),st=Pi(),gt;function Y(S,G,U){ot(S);const Q=st.list();return Q.length?Q.forEach(bt=>bt(S,G,U)):console.error(S),Promise.reject(S)}function ce(){return gt&&d.value!==en?Promise.resolve():new Promise((S,G)=>{Ht.add([S,G])})}function ot(S){return gt||(gt=!S,Pt(),Ht.list().forEach(([G,U])=>S?U(S):G()),Ht.reset()),S}function yt(S,G,U,Q){const{scrollBehavior:bt}=e;if(!Wn||!bt)return Promise.resolve();const v=!U&&Cp(dl(S.fullPath,0))||(Q||!U)&&history.state&&history.state.scroll||null;return Re().then(()=>bt(S,G,v)).then(w=>w&&Lp(w)).catch(w=>Y(w,S,G))}const St=S=>l.go(S);let Nt;const kt=new Set,Lt={currentRoute:d,listening:!0,addRoute:x,removeRoute:M,hasRoute:$,getRoutes:O,resolve:Z,options:e,push:k,replace:H,go:St,back:()=>St(-1),forward:()=>St(1),beforeEach:u.add,beforeResolve:h.add,afterEach:p.add,onError:st.add,isReady:ce,install(S){const G=this;S.component("RouterLink",Js),S.component("RouterView",Gu),S.config.globalProperties.$router=G,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>qt(d)}),Wn&&!Nt&&d.value===en&&(Nt=!0,k(l.location).catch(bt=>{}));const U={};for(const bt in en)Object.defineProperty(U,bt,{get:()=>d.value[bt],enumerable:!0});S.provide(Wo,G),S.provide(Lr,Ql(U)),S.provide(Ys,d);const Q=S.unmount;kt.add(S),S.unmount=function(){kt.delete(S),kt.size<1&&(g=en,mt&&mt(),mt=null,d.value=en,Nt=!1,gt=!1),Q()}}};function ht(S){return S.reduce((G,U)=>G.then(()=>I(U)),Promise.resolve())}return Lt}function d_(e,i){const s=[],r=[],l=[],u=Math.max(i.matched.length,e.matched.length);for(let h=0;hti(g,p))?r.push(p):s.push(p));const d=e.matched[h];d&&(i.matched.find(g=>ti(g,d))||l.push(d))}return[s,r,l]}function Yu(){return Gt(Wo)}function p_(){return Gt(Lr)}const Tr=Nu("map",{state:()=>({zoom:10,location:{lat:34.844526,lng:-82.401078},loadedMaps:{},availableMaps:{},maintainersOfActiveLayers:{}}),getters:{locationArray({location:{lat:e,lng:i}}){return[e,i]}},actions:{setLocation(e){this.location=e},setZoom(e){this.zoom=e},addMapLayer(e,i,s){i.visible?this.maintainersOfActiveLayers[e]=s:delete this.maintainersOfActiveLayers[e],this.loadedMaps[e]=i},removeMapLayer(e){delete this.loadedMaps[e]},async fetchGeoJson({mapTitle:e}){const i=this.availableMaps[e];return i.geoJson||await fetch(i.geoJsonUrl).then(s=>s.json()).then(s=>{this.availableMaps[i.mapTitle].geoJson=s}).catch(s=>{console.error(`error while fetching ${i.mapSlug} geoJson from ${i.geoJsonUrl}`,s),Promise.reject()}),this.availableMaps[e].geoJson},async fetchAvailableMaps(){return Object.keys(this.availableMaps).length==0&&await fetch("https://data.openupstate.org/rest/maps?_format=json").then(e=>e.json()).then(e=>{e.filter(i=>{var s,r,l,u,h,p;return((r=(s=i==null?void 0:i.field_slug)==null?void 0:s[0])==null?void 0:r.value)&&((u=(l=i==null?void 0:i.field_geojson_link)==null?void 0:l[0])==null?void 0:u.uri)&&((p=(h=i==null?void 0:i.title)==null?void 0:h[0])==null?void 0:p.value)}).map(async i=>{const s=new URL(i.field_geojson_link[0].uri.toString().replace("internal:","https://data.openupstate.org")),r={mapSlug:i.field_slug[0].value,mapTitle:i.title[0].value,geoJsonUrl:s,color:__(i.field_slug[0].value),maintainers:i.field_maintainers,contributionInfo:i.field_contribute_link[0]};this.availableMaps[r.mapTitle]=r})}).catch(e=>{console.error("error fetching list of available maps",e),Promise.reject()}),this.availableMaps}}});function __(e){const i=["aqua","black","blue","fuchsia","green","lime","maroon","navy","olive","purple","red","teal","yellow"];return i[Math.floor(Math.abs(Math.sin(m_(e)))*i.length)]}function m_(e){let i=0;for(let s=0;s({showContributionBanner:sessionStorage.getItem("disableHGLabsMapBanner")!=="false"}),getters:{},actions:{setShowContributionBanner(e){this.showContributionBanner=e,sessionStorage.setItem("disableHGLabsMapBanner",e.toString())}}}),g_={class:"sticky top-0 overflow-hidden gap-x-6 bg-gray-800 items-center"},v_={class:"flex flex-nowrap"},y_=bd('

We're Open Source! Click here to contribute

',2),b_={class:"flex flex-1 justify-end mr-1 shrink"},w_=Jt("span",{class:"sr-only"},"Dismiss",-1),x_=Jt("svg",{class:"h-5 w-5 text-gray-50",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[Jt("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})],-1),P_=[w_,x_],L_=ue({__name:"ContributionBanner",setup(e){const i=Ju();return(s,r)=>(Vt(),me("div",g_,[Jt("div",v_,[y_,Jt("span",b_,[Jt("button",{type:"button",class:"-m-3 p-3",onClick:r[0]||(r[0]=l=>qt(i).setShowContributionBanner(!1))},P_)])])]))}}),T_={class:"h-full w-full pb-12"},C_={class:"fixed bg-gray-800 bottom-0 left-0 right-0 h-12 px-4 py-2 items-stretch"},E_={class:"flex justify-between items-center text-xl space-x-4 mx-4 md:mx-8 lg:mx-16"},S_=ue({__name:"App",setup(e){const i=Tr(),s=Ju(),r=Yu();function l(){const u=Object.keys(i.loadedMaps).filter(h=>i.loadedMaps[h].visible).join(",")||void 0;return r.resolve({name:"map",query:{lat:i.location.lat,lng:i.location.lng,zoom:i.zoom,maps:u}})}return(u,h)=>(Vt(),me(ae,null,[Jt("div",T_,[Rt(xr,{name:"fade"},{default:Sn(()=>[qt(s).showContributionBanner?(Vt(),ji(L_,{key:0})):Mo("",!0)]),_:1}),Rt(qt(Gu))]),Jt("header",C_,[Jt("nav",E_,[Rt(qt(Js),{class:"link",to:l()},{default:Sn(()=>[Zi("Map")]),_:1},8,["to"]),Rt(qt(Js),{class:"link",to:"/about"},{default:Sn(()=>[Zi("About")]),_:1})])])],64))}});const M_="modulepreload",O_=function(e){return"/open-map-data-multi-layers-demo/"+e},El={},Te=function(i,s,r){if(!s||s.length===0)return i();const l=document.getElementsByTagName("link");return Promise.all(s.map(u=>{if(u=O_(u),u in El)return;El[u]=!0;const h=u.endsWith(".css"),p=h?'[rel="stylesheet"]':"";if(!!r)for(let _=l.length-1;_>=0;_--){const m=l[_];if(m.href===u&&(!h||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${p}`))return;const g=document.createElement("link");if(g.rel=h?"stylesheet":M_,h||(g.as="script",g.crossOrigin=""),g.href=u,document.head.appendChild(g),h)return new Promise((_,m)=>{g.addEventListener("load",_),g.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})})).then(()=>i()).catch(u=>{const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=u,window.dispatchEvent(h),!h.defaultPrevented)throw u})},Sl=(e,i)=>{for(const s of Object.keys(i))e.on(s,i[s])},A_=e=>{for(const i of Object.keys(e)){const s=e[i];s&&Ln(s.cancel)&&s.cancel()}},k_=e=>!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1),Ln=e=>typeof e=="function",ri=(e,i,s)=>{for(const r in s){const l="set"+k_(r);e[l]?Mn(()=>s[r],(u,h)=>{e[l](u,h)}):i[l]&&Mn(()=>s[r],u=>{i[l](u)})}},An=(e,i,s={})=>{const r={...s};for(const l in e){const u=i[l],h=e[l];u&&(u&&u.custom===!0||h!==void 0&&(r[l]=h))}return r},Uo=e=>{const i={},s={};for(const r in e)if(r.startsWith("on")&&!r.startsWith("onUpdate")&&r!=="onReady"){const l=r.slice(2).toLocaleLowerCase();i[l]=e[r]}else s[r]=e[r];return{listeners:i,attrs:s}},I_=async e=>{const i=await Promise.all([Te(()=>import("./marker-icon-2x-e148f0f7.js"),[]),Te(()=>import("./marker-icon-d6994ad0.js"),[]),Te(()=>import("./marker-shadow-a7f70f89.js"),[])]);delete e.Default.prototype._getIconUrl,e.Default.mergeOptions({iconRetinaUrl:i[0].default,iconUrl:i[1].default,shadowUrl:i[2].default})},go=e=>{const i=ne((...r)=>console.warn(`Method ${e} has been invoked without being replaced`)),s=(...r)=>i.value(...r);return s.wrapped=i,Be(e,s),s},vo=(e,i)=>e.wrapped.value=i,un=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||globalThis,We=e=>{const i=Gt(e);if(i===void 0)throw new Error(`Attempt to inject ${e.description} before it was provided.`);return i},ai=Symbol("useGlobalLeaflet"),$o=Symbol("addLayer"),Xu=Symbol("removeLayer"),Cr=Symbol("registerControl"),B_=Symbol("registerLayerControl"),R_=Symbol("canSetParentHtml"),z_=Symbol("setParentHtml"),Z_=Symbol("setIcon"),N_=Symbol("bindPopup"),F_=Symbol("bindTooltip"),D_=Symbol("unbindPopup"),H_=Symbol("unbindTooltip"),Wi={options:{type:Object,default:()=>({}),custom:!0}},qo=e=>({options:e.options,methods:{}}),li={...Wi,pane:{type:String},attribution:{type:String},name:{type:String,custom:!0},layerType:{type:String,custom:!0},visible:{type:Boolean,custom:!0,default:!0}},j_=(e,i,s)=>{const r=We($o),l=We(Xu),{options:u,methods:h}=qo(e),p=An(e,li,u),d=()=>r({leafletObject:i.value}),g=()=>l({leafletObject:i.value}),_={...h,setAttribution(m){g(),i.value.options.attribution=m,e.visible&&d()},setName(){g(),e.visible&&d()},setLayerType(){g(),e.visible&&d()},setVisible(m){i.value&&(m?d():g())},bindPopup(m){if(!i.value||!Ln(i.value.bindPopup)){console.warn("Attempt to bind popup before bindPopup method available on layer.");return}i.value.bindPopup(m)},bindTooltip(m){if(!i.value||!Ln(i.value.bindTooltip)){console.warn("Attempt to bind tooltip before bindTooltip method available on layer.");return}i.value.bindTooltip(m)},unbindTooltip(){i.value&&(Ln(i.value.closeTooltip)&&i.value.closeTooltip(),Ln(i.value.unbindTooltip)&&i.value.unbindTooltip())},unbindPopup(){i.value&&(Ln(i.value.closePopup)&&i.value.closePopup(),Ln(i.value.unbindPopup)&&i.value.unbindPopup())},updateVisibleProp(m){s.emit("update:visible",m)}};return Be(N_,_.bindPopup),Be(F_,_.bindTooltip),Be(D_,_.unbindPopup),Be(H_,_.unbindTooltip),Hi(()=>{_.unbindPopup(),_.unbindTooltip(),g()}),{options:p,methods:_}},W_={...li,interactive:{type:Boolean,default:void 0},bubblingMouseEvents:{type:Boolean,default:void 0}},Qu={...W_,stroke:{type:Boolean,default:void 0},color:{type:String},weight:{type:Number},opacity:{type:Number},lineCap:{type:String},lineJoin:{type:String},dashArray:{type:String},dashOffset:{type:String},fill:{type:Boolean,default:void 0},fillColor:{type:String},fillOpacity:{type:Number},fillRule:{type:String},className:{type:String}},U_={...Qu,radius:{type:Number},latLng:{type:[Object,Array],required:!0,custom:!0}};({...U_});const ui={...Wi,position:{type:String}},tc=(e,i)=>{const{options:s,methods:r}=qo(e),l=An(e,ui,s),u={...r,setPosition(h){i.value&&i.value.setPosition(h)}};return Hi(()=>{i.value&&i.value.remove()}),{options:l,methods:u}},$_=e=>e.default?dn("div",{ref:"root"},e.default()):null,q_=ue({name:"LControl",props:{...ui,disableClickPropagation:{type:Boolean,custom:!0,default:!0},disableScrollPropagation:{type:Boolean,custom:!0,default:!1}},setup(e,i){const s=ne(),r=ne(),l=Gt(ai),u=We(Cr),{options:h,methods:p}=tc(e,s);return fn(async()=>{const{Control:d,DomEvent:g}=l?un.L:await Te(()=>import("./leaflet-src.esm-457c3857.js"),[]),_=d.extend({onAdd(){return r.value}});s.value=$e(new _(h)),ri(p,s.value,e),u({leafletObject:s.value}),e.disableClickPropagation&&r.value&&g.disableClickPropagation(r.value),e.disableScrollPropagation&&r.value&&g.disableScrollPropagation(r.value),Re(()=>i.emit("ready",s.value))}),{root:r,leafletObject:s}},render(){return $_(this.$slots)}}),ec={...ui,prefix:{type:String}},V_=(e,i)=>{const{options:s,methods:r}=tc(e,i),l=An(e,ec,s),u={...r,setPrefix(h){i.value.setPrefix(h)}};return{options:l,methods:u}},K_=ue({name:"LControlAttribution",props:ec,setup(e,i){const s=ne(),r=Gt(ai),l=We(Cr),{options:u,methods:h}=V_(e,s);return fn(async()=>{const{control:p}=r?un.L:await Te(()=>import("./leaflet-src.esm-457c3857.js"),[]);s.value=$e(p.attribution(u)),ri(h,s.value,e),l({leafletObject:s.value}),Re(()=>i.emit("ready",s.value))}),{leafletObject:s}},render(){return null}});({...ui});({...ui});({...ui});const nc={...li};({...nc});({...nc});const Er={...li,opacity:{type:Number},zIndex:{type:Number},tileSize:{type:[Number,Array,Object]},noWrap:{type:Boolean,default:void 0},minZoom:{type:Number},maxZoom:{type:Number},className:{type:String}},ic=(e,i,s)=>{const{options:r,methods:l}=j_(e,i,s),u=An(e,Er,r),h={...l,setTileComponent(){var p;(p=i.value)==null||p.redraw()}};return Hi(()=>{i.value.off()}),{options:u,methods:h}},G_=(e,i,s,r)=>e.extend({initialize(l){this.tileComponents={},this.on("tileunload",this._unloadTile),s.setOptions(this,l)},createTile(l){const u=this._tileCoordsToKey(l);this.tileComponents[u]=i.create("div");const h=dn({setup:r,props:["coords"]},{coords:l});return ip(h,this.tileComponents[u]),this.tileComponents[u]},_unloadTile(l){const u=this._tileCoordsToKey(l.coords);this.tileComponents[u]&&(this.tileComponents[u].innerHTML="",this.tileComponents[u]=void 0)}});ue({props:{...Er,childRender:{type:Function,required:!0}},setup(e,i){const s=ne(),r=ne(null),l=ne(!1),u=Gt(ai),h=We($o),{options:p,methods:d}=ic(e,s,i);return fn(async()=>{const{GridLayer:g,DomUtil:_,Util:m}=u?un.L:await Te(()=>import("./leaflet-src.esm-457c3857.js"),[]),y=G_(g,_,m,e.childRender);s.value=$e(new y(p));const{listeners:x}=Uo(i.attrs);s.value.on(x),ri(d,s.value,e),h({...e,...d,leafletObject:s.value}),l.value=!0,Re(()=>i.emit("ready",s.value))}),{root:r,ready:l,leafletObject:s}},render(){return this.ready?dn("div",{style:{display:"none"},ref:"root"}):null}});const Ml={iconUrl:{type:String},iconRetinaUrl:{type:String},iconSize:{type:[Object,Array]},iconAnchor:{type:[Object,Array]},popupAnchor:{type:[Object,Array]},tooltipAnchor:{type:[Object,Array]},shadowUrl:{type:String},shadowRetinaUrl:{type:String},shadowSize:{type:[Object,Array]},shadowAnchor:{type:[Object,Array]},bgPos:{type:[Object,Array]},className:{type:String}};ue({name:"LIcon",props:{...Ml,...Wi},setup(e,i){const s=ne(),r=Gt(ai),l=We(R_),u=We(z_),h=We(Z_);let p,d,g,_,m;const y=($,Z,N)=>{const q=$&&$.innerHTML;if(!Z){N&&m&&l()&&u(q);return}const{listeners:k}=Uo(i.attrs);m&&d(m,k);const{options:H}=qo(e),rt=An(e,Ml,H);q&&(rt.html=q),m=rt.html?g(rt):_(rt),p(m,k),h(m)},x=()=>{Re(()=>y(s.value,!0,!1))},M=()=>{Re(()=>y(s.value,!1,!0))},O={setIconUrl:x,setIconRetinaUrl:x,setIconSize:x,setIconAnchor:x,setPopupAnchor:x,setTooltipAnchor:x,setShadowUrl:x,setShadowRetinaUrl:x,setShadowAnchor:x,setBgPos:x,setClassName:x,setHtml:x};return fn(async()=>{const{DomEvent:$,divIcon:Z,icon:N}=r?un.L:await Te(()=>import("./leaflet-src.esm-457c3857.js"),[]);p=$.on,d=$.off,g=Z,_=N,ri(O,{},e),new MutationObserver(M).observe(s.value,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),x()}),{root:s}},render(){const e=this.$slots.default?this.$slots.default():void 0;return dn("div",{ref:"root"},e)}});({...li});function Y_(e,i,s){var r,l,u;i===void 0&&(i=50),s===void 0&&(s={});var h=(r=s.isImmediate)!=null&&r,p=(l=s.callback)!=null&&l,d=s.maxWait,g=Date.now(),_=[];function m(){if(d!==void 0){var x=Date.now()-g;if(x+i>=d)return d-x}return i}var y=function(){var x=[].slice.call(arguments),M=this;return new Promise(function(O,$){var Z=h&&u===void 0;if(u!==void 0&&clearTimeout(u),u=setTimeout(function(){if(u=void 0,g=Date.now(),!h){var q=e.apply(M,x);p&&p(q),_.forEach(function(k){return(0,k.resolve)(q)}),_=[]}},m()),Z){var N=e.apply(M,x);return p&&p(N),O(N)}_.push({resolve:O,reject:$})})};return y.cancel=function(x){u!==void 0&&clearTimeout(u),_.forEach(function(M){return(0,M.reject)(x)}),_=[]},y}const Ol={...Wi,center:{type:[Object,Array]},bounds:{type:[Array,Object]},maxBounds:{type:[Array,Object]},zoom:{type:Number},minZoom:{type:Number},maxZoom:{type:Number},paddingBottomRight:{type:[Object,Array]},paddingTopLeft:{type:Object},padding:{type:Object},worldCopyJump:{type:Boolean,default:void 0},crs:{type:[String,Object]},maxBoundsViscosity:{type:Number},inertia:{type:Boolean,default:void 0},inertiaDeceleration:{type:Number},inertiaMaxSpeed:{type:Number},easeLinearity:{type:Number},zoomAnimation:{type:Boolean,default:void 0},zoomAnimationThreshold:{type:Number},fadeAnimation:{type:Boolean,default:void 0},markerZoomAnimation:{type:Boolean,default:void 0},noBlockingAnimations:{type:Boolean,default:void 0},useGlobalLeaflet:{type:Boolean,default:!0,custom:!0}},J_=ue({inheritAttrs:!1,emits:["ready","update:zoom","update:center","update:bounds"],props:Ol,setup(e,i){const s=ne(),r=si({ready:!1,layersToAdd:[],layersInControl:[]}),{options:l}=qo(e),u=An(e,Ol,l),{listeners:h,attrs:p}=Uo(i.attrs),d=go($o),g=go(Xu),_=go(Cr),m=go(B_);Be(ai,e.useGlobalLeaflet);const y=te(()=>{const Z={};return e.noBlockingAnimations&&(Z.animate=!1),Z}),x=te(()=>{const Z=y.value;return e.padding&&(Z.padding=e.padding),e.paddingTopLeft&&(Z.paddingTopLeft=e.paddingTopLeft),e.paddingBottomRight&&(Z.paddingBottomRight=e.paddingBottomRight),Z}),M={moveend:Y_(Z=>{r.leafletRef&&(i.emit("update:zoom",r.leafletRef.getZoom()),i.emit("update:center",r.leafletRef.getCenter()),i.emit("update:bounds",r.leafletRef.getBounds()))}),overlayadd(Z){const N=r.layersInControl.find(q=>q.name===Z.name);N&&N.updateVisibleProp(!0)},overlayremove(Z){const N=r.layersInControl.find(q=>q.name===Z.name);N&&N.updateVisibleProp(!1)}};fn(async()=>{e.useGlobalLeaflet&&(un.L=un.L||await Te(()=>Promise.resolve().then(()=>ym),void 0));const{map:Z,CRS:N,Icon:q,latLngBounds:k,latLng:H,stamp:rt}=e.useGlobalLeaflet?un.L:await Te(()=>import("./leaflet-src.esm-457c3857.js"),[]);try{u.beforeMapMount&&await u.beforeMapMount()}catch(I){console.error(`The following error occurred running the provided beforeMapMount hook ${I.message}`)}await I_(q);const lt=typeof u.crs=="string"?N[u.crs]:u.crs;u.crs=lt||N.EPSG3857;const F={addLayer(I){I.layerType!==void 0&&(r.layerControl===void 0?r.layersToAdd.push(I):r.layersInControl.find(V=>rt(V.leafletObject)===rt(I.leafletObject))||(r.layerControl.addLayer(I),r.layersInControl.push(I))),I.visible!==!1&&r.leafletRef.addLayer(I.leafletObject)},removeLayer(I){I.layerType!==void 0&&(r.layerControl===void 0?r.layersToAdd=r.layersToAdd.filter(V=>V.name!==I.name):(r.layerControl.removeLayer(I.leafletObject),r.layersInControl=r.layersInControl.filter(V=>rt(V.leafletObject)!==rt(I.leafletObject)))),r.leafletRef.removeLayer(I.leafletObject)},registerLayerControl(I){r.layerControl=I,r.layersToAdd.forEach(V=>{r.layerControl.addLayer(V)}),r.layersToAdd=[],_(I)},registerControl(I){r.leafletRef.addControl(I.leafletObject)},setZoom(I){const V=r.leafletRef.getZoom();I!==V&&r.leafletRef.setZoom(I,y.value)},setCrs(I){const V=r.leafletRef.getBounds();r.leafletRef.options.crs=I,r.leafletRef.fitBounds(V,{animate:!1,padding:[0,0]})},fitBounds(I){r.leafletRef.fitBounds(I,x.value)},setBounds(I){if(!I)return;const V=k(I);V.isValid()&&!(r.lastSetBounds||r.leafletRef.getBounds()).equals(V,0)&&(r.lastSetBounds=V,r.leafletRef.fitBounds(V))},setCenter(I){if(I==null)return;const V=H(I),tt=r.lastSetCenter||r.leafletRef.getCenter();(tt.lat!==V.lat||tt.lng!==V.lng)&&(r.lastSetCenter=V,r.leafletRef.panTo(V,y.value))}};vo(d,F.addLayer),vo(g,F.removeLayer),vo(_,F.registerControl),vo(m,F.registerLayerControl),r.leafletRef=$e(Z(s.value,u)),ri(F,r.leafletRef,e),Sl(r.leafletRef,M),Sl(r.leafletRef,h),r.ready=!0,Re(()=>i.emit("ready",r.leafletRef))}),mr(()=>{A_(M),r.leafletRef&&(r.leafletRef.off(),r.leafletRef.remove())});const O=te(()=>r.leafletRef),$=te(()=>r.ready);return{root:s,ready:$,leafletObject:O,attrs:p}},render({attrs:e}){return e.style||(e.style={}),e.style.width||(e.style.width="100%"),e.style.height||(e.style.height="100%"),dn("div",{...e,ref:"root"},this.ready&&this.$slots.default?this.$slots.default():{})}});({...li});const X_={...Qu,smoothFactor:{type:Number},noClip:{type:Boolean,default:void 0},latLngs:{type:Array,required:!0,custom:!0}},Al={...X_},oc={...Wi,content:{type:String,default:null}};({...oc});({...Al,latLngs:{...Al.latLngs}});const Sr={...Er,tms:{type:Boolean,default:void 0},subdomains:{type:[String,Array],validator:e=>typeof e=="string"?!0:Array.isArray(e)?e.every(i=>typeof i=="string"):!1},detectRetina:{type:Boolean,default:void 0},url:{type:String,required:!0,custom:!0}},Q_=(e,i,s)=>{const{options:r,methods:l}=ic(e,i,s),u=An(e,Sr,r),h={...l};return{options:u,methods:h}},tm=ue({props:Sr,setup(e,i){const s=ne(),r=Gt(ai),l=We($o),{options:u,methods:h}=Q_(e,s,i);return fn(async()=>{const{tileLayer:p}=r?un.L:await Te(()=>import("./leaflet-src.esm-457c3857.js"),[]);s.value=$e(p(e.url,u));const{listeners:d}=Uo(i.attrs);s.value.on(d),ri(h,s.value,e),l({...e,...h,leafletObject:s.value}),Re(()=>i.emit("ready",s.value))}),{leafletObject:s}},render(){return null}});({...oc});({...Sr});const em=(e,i)=>{const s=e.__vccOpts||e;for(const[r,l]of i)s[r]=l;return s},nm={},im={href:"https://data.openupstate.org/map-layers",target:"_blank",role:"button"},om=Jt("button",{type:"button",class:"text-white bg-gradient-to-r from-cyan-500 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center mr-2 mb-2"}," Click here to learn how to contribute! ",-1),sm=[om];function rm(e,i){return Vt(),me("a",im,sm)}const am=em(nm,[["render",rm]]),lm={key:0,class:"w-64 md:w-[256px] lg:w-[512px] px-2 max-h-[75vh] md:max-w-max overflow-y-auto"},um=Jt("h1",{class:"text-slate-950 text-lg sm:text-xl font-bold py-2"}," Maintainers of Active Layers ",-1),cm={class:"text-slate-800 text-sm sm:text-base font-bold"},hm={key:0},fm=["href"],dm={class:"list-disc list-inside"},pm=["href"],_m={key:1,class:"text-zinc-900"},mm=ue({__name:"MaintainersViewerControl",setup(e){const i=Tr(),s=ne(!1);return(r,l)=>(Vt(),ji(qt(q_),{class:"leaflet-control-maintainers leaflet-control",position:"topright","aria-haspopup":"true",onMouseover:l[0]||(l[0]=u=>s.value=!0),onMouseleave:l[1]||(l[1]=u=>s.value=!1)},{default:Sn(()=>[Jt("a",{class:Bo({"leaflet-control-maintainers-toggle":!s.value}),href:"#",title:"Maintainers",role:"button"},null,2),s.value?(Vt(),me("section",lm,[um,Rt(am),(Vt(!0),me(ae,null,Da(qt(i).maintainersOfActiveLayers,(u,h)=>(Vt(),me("div",{class:"mb-2",key:h},[Jt("h2",cm,[Zi(xs(u.maintainedMapTitle)+" ",1),u.contributionInfo?(Vt(),me("span",hm,[Zi(" - "),Jt("a",{href:u.contributionInfo.uri,target:"_blank"}," Data Source ",8,fm)])):Mo("",!0)]),Jt("ul",dm,[(Vt(!0),me(ae,null,Da(u.maintainers,p=>(Vt(),me("li",{class:"text-sm",key:p.title},[p.uri.length>0?(Vt(),me("a",{key:0,href:p.uri,target:"_blank"},xs(p.title),9,pm)):(Vt(),me("span",_m,xs(p.title),1))]))),128))])]))),128))])):Mo("",!0)]),_:1}))}});var gm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xs={exports:{}};/* @preserve + * Leaflet 1.9.3, a JS library for interactive maps. https://leafletjs.com + * (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade + */(function(e,i){(function(s,r){r(i)})(gm,function(s){var r="1.9.3";function l(t){var n,o,a,c;for(o=1,a=arguments.length;o"u"||!L||!L.Mixin)){t=q(t)?t:[t];for(var n=0;n0?Math.floor(t):Math.ceil(t)};Y.prototype={clone:function(){return new Y(this.x,this.y)},add:function(t){return this.clone()._add(ot(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(ot(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new Y(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new Y(this.x/t.x,this.y/t.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=ce(this.x),this.y=ce(this.y),this},distanceTo:function(t){t=ot(t);var n=t.x-this.x,o=t.y-this.y;return Math.sqrt(n*n+o*o)},equals:function(t){return t=ot(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=ot(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+y(this.x)+", "+y(this.y)+")"}};function ot(t,n,o){return t instanceof Y?t:q(t)?new Y(t[0],t[1]):t==null?t:typeof t=="object"&&"x"in t&&"y"in t?new Y(t.x,t.y):new Y(t,n,o)}function yt(t,n){if(t)for(var o=n?[t,n]:t,a=0,c=o.length;a=this.min.x&&o.x<=this.max.x&&n.y>=this.min.y&&o.y<=this.max.y},intersects:function(t){t=St(t);var n=this.min,o=this.max,a=t.min,c=t.max,f=c.x>=n.x&&a.x<=o.x,b=c.y>=n.y&&a.y<=o.y;return f&&b},overlaps:function(t){t=St(t);var n=this.min,o=this.max,a=t.min,c=t.max,f=c.x>n.x&&a.xn.y&&a.y=n.lat&&c.lat<=o.lat&&a.lng>=n.lng&&c.lng<=o.lng},intersects:function(t){t=kt(t);var n=this._southWest,o=this._northEast,a=t.getSouthWest(),c=t.getNorthEast(),f=c.lat>=n.lat&&a.lat<=o.lat,b=c.lng>=n.lng&&a.lng<=o.lng;return f&&b},overlaps:function(t){t=kt(t);var n=this._southWest,o=this._northEast,a=t.getSouthWest(),c=t.getNorthEast(),f=c.lat>n.lat&&a.latn.lng&&a.lng1,fc=function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",m,n),window.removeEventListener("testPassiveEventSupport",m,n)}catch{}return t}(),dc=function(){return!!document.createElement("canvas").getContext}(),Vo=!!(document.createElementNS&&E("svg").createSVGRect),pc=!!Vo&&function(){var t=document.createElement("div");return t.innerHTML="",(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),_c=!Vo&&function(){try{var t=document.createElement("div");t.innerHTML='';var n=t.firstChild;return n.style.behavior="url(#default#VML)",n&&typeof n.adj=="object"}catch{return!1}}(),mc=navigator.platform.indexOf("Mac")===0,gc=navigator.platform.indexOf("Linux")===0;function Ee(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var nt={ie:K,ielt9:D,edge:W,webkit:z,android:et,android23:X,androidStock:ut,opera:pt,chrome:Mt,gecko:Et,safari:Zt,phantom:ie,opera12:ze,win:Ui,ie3d:Ve,webkit3d:kn,gecko3d:Xt,any3d:he,mobile:Ke,mobileWebkit:rc,mobileWebkit3d:ac,msPointer:Or,pointer:Ar,touch:lc,touchNative:kr,mobileOpera:uc,mobileGecko:cc,retina:hc,passiveEvents:fc,canvas:dc,svg:Vo,vml:_c,inlineSvg:pc,mac:mc,linux:gc},Ir=nt.msPointer?"MSPointerDown":"pointerdown",Br=nt.msPointer?"MSPointerMove":"pointermove",Rr=nt.msPointer?"MSPointerUp":"pointerup",zr=nt.msPointer?"MSPointerCancel":"pointercancel",Ko={touchstart:Ir,touchmove:Br,touchend:Rr,touchcancel:zr},Zr={touchstart:Pc,touchmove:$i,touchend:$i,touchcancel:$i},In={},Nr=!1;function vc(t,n,o){return n==="touchstart"&&xc(),Zr[n]?(o=Zr[n].bind(this,o),t.addEventListener(Ko[n],o,!1),o):(console.warn("wrong event specified:",n),m)}function yc(t,n,o){if(!Ko[n]){console.warn("wrong event specified:",n);return}t.removeEventListener(Ko[n],o,!1)}function bc(t){In[t.pointerId]=t}function wc(t){In[t.pointerId]&&(In[t.pointerId]=t)}function Fr(t){delete In[t.pointerId]}function xc(){Nr||(document.addEventListener(Ir,bc,!0),document.addEventListener(Br,wc,!0),document.addEventListener(Rr,Fr,!0),document.addEventListener(zr,Fr,!0),Nr=!0)}function $i(t,n){if(n.pointerType!==(n.MSPOINTER_TYPE_MOUSE||"mouse")){n.touches=[];for(var o in In)n.touches.push(In[o]);n.changedTouches=[n],t(n)}}function Pc(t,n){n.MSPOINTER_TYPE_TOUCH&&n.pointerType===n.MSPOINTER_TYPE_TOUCH&&Yt(n),$i(t,n)}function Lc(t){var n={},o,a;for(a in t)o=t[a],n[a]=o&&o.bind?o.bind(t):o;return t=n,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}var Tc=200;function Cc(t,n){t.addEventListener("dblclick",n);var o=0,a;function c(f){if(f.detail!==1){a=f.detail;return}if(!(f.pointerType==="mouse"||f.sourceCapabilities&&!f.sourceCapabilities.firesTouchEvents)){var b=Ur(f);if(!(b.some(function(C){return C instanceof HTMLLabelElement&&C.attributes.for})&&!b.some(function(C){return C instanceof HTMLInputElement||C instanceof HTMLSelectElement}))){var T=Date.now();T-o<=Tc?(a++,a===2&&n(Lc(f))):a=1,o=T}}}return t.addEventListener("click",c),{dblclick:n,simDblclick:c}}function Ec(t,n){t.removeEventListener("dblclick",n.dblclick),t.removeEventListener("click",n.simDblclick)}var Go=Ki(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ci=Ki(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Dr=ci==="webkitTransition"||ci==="OTransition"?ci+"End":"transitionend";function Hr(t){return typeof t=="string"?document.getElementById(t):t}function hi(t,n){var o=t.style[n]||t.currentStyle&&t.currentStyle[n];if((!o||o==="auto")&&document.defaultView){var a=document.defaultView.getComputedStyle(t,null);o=a?a[n]:null}return o==="auto"?null:o}function Ct(t,n,o){var a=document.createElement(t);return a.className=n||"",o&&o.appendChild(a),a}function zt(t){var n=t.parentNode;n&&n.removeChild(t)}function qi(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function Bn(t){var n=t.parentNode;n&&n.lastChild!==t&&n.appendChild(t)}function Rn(t){var n=t.parentNode;n&&n.firstChild!==t&&n.insertBefore(t,n.firstChild)}function Yo(t,n){if(t.classList!==void 0)return t.classList.contains(n);var o=Vi(t);return o.length>0&&new RegExp("(^|\\s)"+n+"(\\s|$)").test(o)}function _t(t,n){if(t.classList!==void 0)for(var o=M(n),a=0,c=o.length;a0?2*window.devicePixelRatio:1;function qr(t){return nt.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/Oc:t.deltaY&&t.deltaMode===1?-t.deltaY*20:t.deltaY&&t.deltaMode===2?-t.deltaY*60:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?-t.detail*20:t.detail?t.detail/-32765*60:0}function ls(t,n){var o=n.relatedTarget;if(!o)return!0;try{for(;o&&o!==t;)o=o.parentNode}catch{return!1}return o!==t}var Ac={__proto__:null,on:ft,off:At,stopPropagation:mn,disableScrollPropagation:as,disableClickPropagation:_i,preventDefault:Yt,stop:gn,getPropagationPath:Ur,getMousePosition:$r,getWheelDelta:qr,isExternalTarget:ls,addListener:ft,removeListener:At},Vr=gt.extend({run:function(t,n,o,a){this.stop(),this._el=t,this._inProgress=!0,this._duration=o||.25,this._easeOutPower=1/Math.max(a||.5,.2),this._startPos=_n(t),this._offset=n.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=tt(this._animate,this),this._step()},_step:function(t){var n=+new Date-this._startTime,o=this._duration*1e3;nthis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,n){this._enforcingBounds=!0;var o=this.getCenter(),a=this._limitCenter(o,this._zoom,kt(t));return o.equals(a)||this.panTo(a,n),this._enforcingBounds=!1,this},panInside:function(t,n){n=n||{};var o=ot(n.paddingTopLeft||n.padding||[0,0]),a=ot(n.paddingBottomRight||n.padding||[0,0]),c=this.project(this.getCenter()),f=this.project(t),b=this.getPixelBounds(),T=St([b.min.add(o),b.max.subtract(a)]),C=T.getSize();if(!T.contains(f)){this._enforcingBounds=!0;var B=f.subtract(T.getCenter()),J=T.extend(f).getSize().subtract(C);c.x+=B.x<0?-J.x:J.x,c.y+=B.y<0?-J.y:J.y,this.panTo(this.unproject(c),n),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=l({animate:!1,pan:!0},t===!0?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),a=n.divideBy(2).round(),c=o.divideBy(2).round(),f=a.subtract(c);return!f.x&&!f.y?this:(t.animate&&t.pan?this.panBy(f):(t.pan&&this._rawPanBy(f),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(h(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:o}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=l({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=h(this._handleGeolocationResponse,this),o=h(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,o,t):navigator.geolocation.getCurrentPosition(n,o,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var n=t.code,o=t.message||(n===1?"permission denied":n===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:n,message:"Geolocation error: "+o+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var n=t.coords.latitude,o=t.coords.longitude,a=new Lt(n,o),c=a.toBounds(t.coords.accuracy*2),f=this._locateOptions;if(f.setView){var b=this.getBoundsZoom(c);this.setView(a,f.maxZoom?Math.min(b,f.maxZoom):b)}var T={latlng:a,bounds:c,timestamp:t.timestamp};for(var C in t.coords)typeof t.coords[C]=="number"&&(T[C]=t.coords[C]);this.fire("locationfound",T)}},addHandler:function(t,n){if(!n)return this;var o=this[t]=new n(this);return this._handlers.push(o),this.options[t]&&o.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(),zt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(j(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var t;for(t in this._layers)this._layers[t].remove();for(t in this._panes)zt(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,n){var o="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),a=Ct("div",o,n||this._mapPane);return t&&(this._panes[t]=a),a},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),n=this.unproject(t.getBottomLeft()),o=this.unproject(t.getTopRight());return new Nt(n,o)},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(t,n,o){t=kt(t),o=ot(o||[0,0]);var a=this.getZoom()||0,c=this.getMinZoom(),f=this.getMaxZoom(),b=t.getNorthWest(),T=t.getSouthEast(),C=this.getSize().subtract(o),B=St(this.project(T,a),this.project(b,a)).getSize(),J=nt.any3d?this.options.zoomSnap:1,ct=C.x/B.x,vt=C.y/B.y,pe=n?Math.max(ct,vt):Math.min(ct,vt);return a=this.getScaleZoom(pe,a),J&&(a=Math.round(a/(J/100))*(J/100),a=n?Math.ceil(a/J)*J:Math.floor(a/J)*J),Math.max(c,Math.min(f,a))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new Y(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,n){var o=this._getTopLeftPoint(t,n);return new yt(o,o.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===void 0?this.getZoom():t)},getPane:function(t){return typeof t=="string"?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,n){var o=this.options.crs;return n=n===void 0?this._zoom:n,o.scale(t)/o.scale(n)},getScaleZoom:function(t,n){var o=this.options.crs;n=n===void 0?this._zoom:n;var a=o.zoom(t*o.scale(n));return isNaN(a)?1/0:a},project:function(t,n){return n=n===void 0?this._zoom:n,this.options.crs.latLngToPoint(ht(t),n)},unproject:function(t,n){return n=n===void 0?this._zoom:n,this.options.crs.pointToLatLng(ot(t),n)},layerPointToLatLng:function(t){var n=ot(t).add(this.getPixelOrigin());return this.unproject(n)},latLngToLayerPoint:function(t){var n=this.project(ht(t))._round();return n._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(ht(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(kt(t))},distance:function(t,n){return this.options.crs.distance(ht(t),ht(n))},containerPointToLayerPoint:function(t){return ot(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return ot(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var n=this.containerPointToLayerPoint(ot(t));return this.layerPointToLatLng(n)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(ht(t)))},mouseEventToContainerPoint:function(t){return $r(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var n=this._container=Hr(t);if(n){if(n._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");ft(n,"scroll",this._onScroll,this),this._containerId=d(n)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&nt.any3d,_t(t,"leaflet-container"+(nt.touch?" leaflet-touch":"")+(nt.retina?" leaflet-retina":"")+(nt.ielt9?" leaflet-oldie":"")+(nt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var n=hi(t,"position");n!=="absolute"&&n!=="relative"&&n!=="fixed"&&n!=="sticky"&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),jt(this._mapPane,new Y(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(_t(t.markerPane,"leaflet-zoom-hide"),_t(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,n,o){jt(this._mapPane,new Y(0,0));var a=!this._loaded;this._loaded=!0,n=this._limitZoom(n),this.fire("viewprereset");var c=this._zoom!==n;this._moveStart(c,o)._move(t,n)._moveEnd(c),this.fire("viewreset"),a&&this.fire("load")},_moveStart:function(t,n){return t&&this.fire("zoomstart"),n||this.fire("movestart"),this},_move:function(t,n,o,a){n===void 0&&(n=this._zoom);var c=this._zoom!==n;return this._zoom=n,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),a?o&&o.pinch&&this.fire("zoom",o):((c||o&&o.pinch)&&this.fire("zoom",o),this.fire("move",o)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return j(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){jt(this._mapPane,this._getMapPanePos().subtract(t))},_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(t){this._targets={},this._targets[d(this._container)]=this;var n=t?At:ft;n(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&n(window,"resize",this._onResize,this),nt.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){j(this._resizeRequest),this._resizeRequest=tt(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,n){for(var o=[],a,c=n==="mouseout"||n==="mouseover",f=t.target||t.srcElement,b=!1;f;){if(a=this._targets[d(f)],a&&(n==="click"||n==="preclick")&&this._draggableMoved(a)){b=!0;break}if(a&&a.listens(n,!0)&&(c&&!ls(f,t)||(o.push(a),c))||f===this._container)break;f=f.parentNode}return!o.length&&!b&&!c&&this.listens(n,!0)&&(o=[this]),o},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var n=t.target||t.srcElement;if(!(!this._loaded||n._leaflet_disable_events||t.type==="click"&&this._isClickDisabled(n))){var o=t.type;o==="mousedown"&&ns(n),this._fireDOMEvent(t,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,o){if(t.type==="click"){var a=l({},t);a.type="preclick",this._fireDOMEvent(a,a.type,o)}var c=this._findEventTargets(t,n);if(o){for(var f=[],b=0;b0?Math.round(t-n)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(n))},_limitZoom:function(t){var n=this.getMinZoom(),o=this.getMaxZoom(),a=nt.any3d?this.options.zoomSnap:1;return a&&(t=Math.round(t/a)*a),Math.max(n,Math.min(o,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Ft(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,n){var o=this._getCenterOffset(t)._trunc();return(n&&n.animate)!==!0&&!this.getSize().contains(o)?!1:(this.panBy(o,n),!0)},_createAnimProxy:function(){var t=this._proxy=Ct("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(n){var o=Go,a=this._proxy.style[o];pn(this._proxy,this.project(n.center,n.zoom),this.getZoomScale(n.zoom,1)),a===this._proxy.style[o]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){zt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),n=this.getZoom();pn(this._proxy,this.project(t,n),this.getZoomScale(n,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,n,o){if(this._animatingZoom)return!0;if(o=o||{},!this._zoomAnimated||o.animate===!1||this._nothingToAnimate()||Math.abs(n-this._zoom)>this.options.zoomAnimationThreshold)return!1;var a=this.getZoomScale(n),c=this._getCenterOffset(t)._divideBy(1-1/a);return o.animate!==!0&&!this.getSize().contains(c)?!1:(tt(function(){this._moveStart(!0,!1)._animateZoom(t,n,!0)},this),!0)},_animateZoom:function(t,n,o,a){this._mapPane&&(o&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=n,_t(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:n,noUpdate:a}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(h(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 kc(t,n){return new wt(t,n)}var be=Pt.extend({options:{position:"topright"},initialize:function(t){O(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var n=this._map;return n&&n.removeControl(this),this.options.position=t,n&&n.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var n=this._container=this.onAdd(t),o=this.getPosition(),a=t._controlCorners[o];return _t(n,"leaflet-control"),o.indexOf("bottom")!==-1?a.insertBefore(n,a.firstChild):a.appendChild(n),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(zt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),mi=function(t){return new be(t)};wt.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},n="leaflet-",o=this._controlContainer=Ct("div",n+"control-container",this._container);function a(c,f){var b=n+c+" "+n+f;t[c+f]=Ct("div",b,o)}a("top","left"),a("top","right"),a("bottom","left"),a("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)zt(this._controlCorners[t]);zt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Kr=be.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,n,o,a){return o1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=n&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var n=this._getLayer(d(t.target)),o=n.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;o&&this._map.fire(o,n)},_createRadioElement:function(t,n){var o='",a=document.createElement("div");return a.innerHTML=o,a.firstChild},_addItem:function(t){var n=document.createElement("label"),o=this._map.hasLayer(t.layer),a;t.overlay?(a=document.createElement("input"),a.type="checkbox",a.className="leaflet-control-layers-selector",a.defaultChecked=o):a=this._createRadioElement("leaflet-base-layers_"+d(this),o),this._layerControlInputs.push(a),a.layerId=d(t.layer),ft(a,"click",this._onInputClick,this);var c=document.createElement("span");c.innerHTML=" "+t.name;var f=document.createElement("span");n.appendChild(f),f.appendChild(a),f.appendChild(c);var b=t.overlay?this._overlaysList:this._baseLayersList;return b.appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t=this._layerControlInputs,n,o,a=[],c=[];this._handlingClick=!0;for(var f=t.length-1;f>=0;f--)n=t[f],o=this._getLayer(n.layerId).layer,n.checked?a.push(o):n.checked||c.push(o);for(f=0;f=0;c--)n=t[c],o=this._getLayer(n.layerId).layer,n.disabled=o.options.minZoom!==void 0&&ao.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;ft(t,"click",Yt),this.expand(),setTimeout(function(){At(t,"click",Yt)})}}),Ic=function(t,n,o){return new Kr(t,n,o)},us=be.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var n="leaflet-control-zoom",o=Ct("div",n+" leaflet-bar"),a=this.options;return this._zoomInButton=this._createButton(a.zoomInText,a.zoomInTitle,n+"-in",o,this._zoomIn),this._zoomOutButton=this._createButton(a.zoomOutText,a.zoomOutTitle,n+"-out",o,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),o},onRemove:function(t){t.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(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,n,o,a,c){var f=Ct("a",o,a);return f.innerHTML=t,f.href="#",f.title=n,f.setAttribute("role","button"),f.setAttribute("aria-label",n),_i(f),ft(f,"click",gn),ft(f,"click",c,this),ft(f,"click",this._refocusOnMap,this),f},_updateDisabled:function(){var t=this._map,n="leaflet-disabled";Ft(this._zoomInButton,n),Ft(this._zoomOutButton,n),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(_t(this._zoomOutButton,n),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(_t(this._zoomInButton,n),this._zoomInButton.setAttribute("aria-disabled","true"))}});wt.mergeOptions({zoomControl:!0}),wt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new us,this.addControl(this.zoomControl))});var Bc=function(t){return new us(t)},Gr=be.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var n="leaflet-control-scale",o=Ct("div",n),a=this.options;return this._addScales(a,n+"-line",o),t.on(a.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),o},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,n,o){t.metric&&(this._mScale=Ct("div",n,o)),t.imperial&&(this._iScale=Ct("div",n,o))},_update:function(){var t=this._map,n=t.getSize().y/2,o=t.distance(t.containerPointToLatLng([0,n]),t.containerPointToLatLng([this.options.maxWidth,n]));this._updateScales(o)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var n=this._getRoundNum(t),o=n<1e3?n+" m":n/1e3+" km";this._updateScale(this._mScale,o,n/t)},_updateImperial:function(t){var n=t*3.2808399,o,a,c;n>5280?(o=n/5280,a=this._getRoundNum(o),this._updateScale(this._iScale,a+" mi",a/o)):(c=this._getRoundNum(n),this._updateScale(this._iScale,c+" ft",c/n))},_updateScale:function(t,n,o){t.style.width=Math.round(this.options.maxWidth*o)+"px",t.innerHTML=n},_getRoundNum:function(t){var n=Math.pow(10,(Math.floor(t)+"").length-1),o=t/n;return o=o>=10?10:o>=5?5:o>=3?3:o>=2?2:1,n*o}}),Rc=function(t){return new Gr(t)},zc='',cs=be.extend({options:{position:"bottomright",prefix:''+(nt.inlineSvg?zc+" ":"")+"Leaflet"},initialize:function(t){O(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=Ct("div","leaflet-control-attribution"),_i(this._container);for(var n in t._layers)t._layers[n].getAttribution&&this.addAttribution(t._layers[n].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var n in this._attributions)this._attributions[n]&&t.push(n);var o=[];this.options.prefix&&o.push(this.options.prefix),t.length&&o.push(t.join(", ")),this._container.innerHTML=o.join(' ')}}});wt.mergeOptions({attributionControl:!0}),wt.addInitHook(function(){this.options.attributionControl&&new cs().addTo(this)});var Zc=function(t){return new cs(t)};be.Layers=Kr,be.Zoom=us,be.Scale=Gr,be.Attribution=cs,mi.layers=Ic,mi.zoom=Bc,mi.scale=Rc,mi.attribution=Zc;var Me=Pt.extend({initialize:function(t){this._map=t},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}});Me.addTo=function(t,n){return t.addHandler(n,this),this};var Nc={Events:st},Yr=nt.touch?"touchstart mousedown":"mousedown",Ge=gt.extend({options:{clickTolerance:3},initialize:function(t,n,o,a){O(this,a),this._element=t,this._dragStartTarget=n||t,this._preventOutline=o},enable:function(){this._enabled||(ft(this._dragStartTarget,Yr,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Ge._dragging===this&&this.finishDrag(!0),At(this._dragStartTarget,Yr,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!Yo(this._element,"leaflet-zoom-anim"))){if(t.touches&&t.touches.length!==1){Ge._dragging===this&&this.finishDrag();return}if(!(Ge._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches)&&(Ge._dragging=this,this._preventOutline&&ns(this._element),Qo(),fi(),!this._moving)){this.fire("down");var n=t.touches?t.touches[0]:t,o=jr(this._element);this._startPoint=new Y(n.clientX,n.clientY),this._startPos=_n(this._element),this._parentScale=is(o);var a=t.type==="mousedown";ft(document,a?"mousemove":"touchmove",this._onMove,this),ft(document,a?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var n=t.touches&&t.touches.length===1?t.touches[0]:t,o=new Y(n.clientX,n.clientY)._subtract(this._startPoint);!o.x&&!o.y||Math.abs(o.x)+Math.abs(o.y)f&&(b=T,f=C);f>o&&(n[b]=1,hs(t,n,o,a,b),hs(t,n,o,b,c))}function Hc(t,n){for(var o=[t[0]],a=1,c=0,f=t.length;an&&(o.push(t[a]),c=a);return cn.max.x&&(o|=2),t.yn.max.y&&(o|=8),o}function jc(t,n){var o=n.x-t.x,a=n.y-t.y;return o*o+a*a}function gi(t,n,o,a){var c=n.x,f=n.y,b=o.x-c,T=o.y-f,C=b*b+T*T,B;return C>0&&(B=((t.x-c)*b+(t.y-f)*T)/C,B>1?(c=o.x,f=o.y):B>0&&(c+=b*B,f+=T*B)),b=t.x-c,T=t.y-f,a?b*b+T*T:new Y(c,f)}function de(t){return!q(t[0])||typeof t[0][0]!="object"&&typeof t[0][0]<"u"}function ea(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),de(t)}function na(t,n){var o,a,c,f,b,T,C,B;if(!t||t.length===0)throw new Error("latlngs not passed");de(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var J=[];for(var ct in t)J.push(n.project(ht(t[ct])));var vt=J.length;for(o=0,a=0;oa){C=(f-a)/c,B=[T.x-C*(T.x-b.x),T.y-C*(T.y-b.y)];break}return n.unproject(ot(B))}var Wc={__proto__:null,simplify:Jr,pointToSegmentDistance:Xr,closestPointOnSegment:Fc,clipSegment:ta,_getEdgeIntersection:Ji,_getBitCode:vn,_sqClosestPointOnSegment:gi,isFlat:de,_flat:ea,polylineCenter:na};function ia(t,n,o){var a,c=[1,4,2,8],f,b,T,C,B,J,ct,vt;for(f=0,J=t.length;f1e-7;T++)B=c*Math.sin(b),B=Math.pow((1-B)/(1+B),c/2),C=Math.PI/2-2*Math.atan(f*B)-b,b+=C;return new Lt(b*n,t.x*n/o)}},$c={__proto__:null,LonLat:fs,Mercator:ds,SphericalMercator:Q},qc=l({},G,{code:"EPSG:3395",projection:ds,transformation:function(){var t=.5/(Math.PI*ds.R);return v(t,.5,-t,.5)}()}),sa=l({},G,{code:"EPSG:4326",projection:fs,transformation:v(1/180,1,-1/180,.5)}),Vc=l({},S,{projection:fs,transformation:v(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,n){var o=n.lng-t.lng,a=n.lat-t.lat;return Math.sqrt(o*o+a*a)},infinite:!0});S.Earth=G,S.EPSG3395=qc,S.EPSG3857=w,S.EPSG900913=P,S.EPSG4326=sa,S.Simple=Vc;var we=gt.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[d(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[d(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var n=t.target;if(n.hasLayer(this)){if(this._map=n,this._zoomAnimated=n._zoomAnimated,this.getEvents){var o=this.getEvents();n.on(o,this),this.once("remove",function(){n.off(o,this)},this)}this.onAdd(n),this.fire("add"),n.fire("layeradd",{layer:this})}}});wt.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var n=d(t);return this._layers[n]?this:(this._layers[n]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var n=d(t);return this._layers[n]?(this._loaded&&t.onRemove(this),delete this._layers[n],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return d(t)in this._layers},eachLayer:function(t,n){for(var o in this._layers)t.call(n,this._layers[o]);return this},_addLayers:function(t){t=t?q(t)?t:[t]:[];for(var n=0,o=t.length;nthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&n[0]instanceof Lt&&n[0].equals(n[o-1])&&n.pop(),n},_setLatLngs:function(t){Ne.prototype._setLatLngs.call(this,t),de(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return de(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,n=this.options.weight,o=new Y(n,n);if(t=new yt(t.min.subtract(o),t.max.add(o)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}for(var a=0,c=this._rings.length,f;at.y!=c.y>t.y&&t.x<(c.x-a.x)*(t.y-a.y)/(c.y-a.y)+a.x&&(n=!n);return n||Ne.prototype._containsPoint.call(this,t,!0)}});function eh(t,n){return new Nn(t,n)}var Fe=Ze.extend({initialize:function(t,n){O(this,n),this._layers={},t&&this.addData(t)},addData:function(t){var n=q(t)?t:t.features,o,a,c;if(n){for(o=0,a=n.length;o0?a:[n.src];return}q(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(n.style,"objectFit")&&(n.style.objectFit="fill"),n.autoplay=!!this.options.autoplay,n.loop=!!this.options.loop,n.muted=!!this.options.muted,n.playsInline=!!this.options.playsInline;for(var f=0;fc?(n.height=c+"px",_t(t,f)):Ft(t,f),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var n=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),o=this._getAnchor();jt(this._container,n.add(o))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,n=parseInt(hi(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+n,a=this._containerWidth,c=new Y(this._containerLeft,-o-this._containerBottom);c._add(_n(this._container));var f=t.layerPointToContainerPoint(c),b=ot(this.options.autoPanPadding),T=ot(this.options.autoPanPaddingTopLeft||b),C=ot(this.options.autoPanPaddingBottomRight||b),B=t.getSize(),J=0,ct=0;f.x+a+C.x>B.x&&(J=f.x+a-B.x+C.x),f.x-J-T.x<0&&(J=f.x-T.x),f.y+o+C.y>B.y&&(ct=f.y+o-B.y+C.y),f.y-ct-T.y<0&&(ct=f.y-T.y),(J||ct)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([J,ct]))}},_getAnchor:function(){return ot(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),rh=function(t,n){return new so(t,n)};wt.mergeOptions({closePopupOnClick:!0}),wt.include({openPopup:function(t,n,o){return this._initOverlay(so,t,n,o).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),we.include({bindPopup:function(t,n){return this._popup=this._initOverlay(so,this._popup,t,n),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(t){return this._popup&&(this instanceof Ze||(this._popup._source=this),this._popup._prepareOpen(t||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(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(!(!this._popup||!this._map)){gn(t);var n=t.layer||t.target;if(this._popup._source===n&&!(n instanceof Ye)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=n,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){t.originalEvent.keyCode===13&&this._openPopup(t)}});var ro=Oe.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){Oe.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){Oe.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=Oe.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",n=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=Ct("div",n),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+d(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var n,o,a=this._map,c=this._container,f=a.latLngToContainerPoint(a.getCenter()),b=a.layerPointToContainerPoint(t),T=this.options.direction,C=c.offsetWidth,B=c.offsetHeight,J=ot(this.options.offset),ct=this._getAnchor();T==="top"?(n=C/2,o=B):T==="bottom"?(n=C/2,o=0):T==="center"?(n=C/2,o=B/2):T==="right"?(n=0,o=B/2):T==="left"?(n=C,o=B/2):b.xthis.options.maxZoom||oa?this._retainParent(c,f,b,a):!1)},_retainChildren:function(t,n,o,a){for(var c=2*t;c<2*t+2;c++)for(var f=2*n;f<2*n+2;f++){var b=new Y(c,f);b.z=o+1;var T=this._tileCoordsToKey(b),C=this._tiles[T];if(C&&C.active){C.retain=!0;continue}else C&&C.loaded&&(C.retain=!0);o+1this.options.maxZoom||this.options.minZoom!==void 0&&c1){this._setView(t,o);return}for(var ct=c.min.y;ct<=c.max.y;ct++)for(var vt=c.min.x;vt<=c.max.x;vt++){var pe=new Y(vt,ct);if(pe.z=this._tileZoom,!!this._isValidTile(pe)){var yn=this._tiles[this._tileCoordsToKey(pe)];yn?yn.current=!0:b.push(pe)}}if(b.sort(function(Je,vs){return Je.distanceTo(f)-vs.distanceTo(f)}),b.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var lo=document.createDocumentFragment();for(vt=0;vto.max.x)||!n.wrapLat&&(t.yo.max.y))return!1}if(!this.options.bounds)return!0;var a=this._tileCoordsToBounds(t);return kt(this.options.bounds).overlaps(a)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var n=this._map,o=this.getTileSize(),a=t.scaleBy(o),c=a.add(o),f=n.unproject(a,t.z),b=n.unproject(c,t.z);return[f,b]},_tileCoordsToBounds:function(t){var n=this._tileCoordsToNwSe(t),o=new Nt(n[0],n[1]);return this.options.noWrap||(o=this._map.wrapLatLngBounds(o)),o},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var n=t.split(":"),o=new Y(+n[0],+n[1]);return o.z=+n[2],o},_removeTile:function(t){var n=this._tiles[t];n&&(zt(n.el),delete this._tiles[t],this.fire("tileunload",{tile:n.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){_t(t,"leaflet-tile");var n=this.getTileSize();t.style.width=n.x+"px",t.style.height=n.y+"px",t.onselectstart=m,t.onmousemove=m,nt.ielt9&&this.options.opacity<1&&fe(t,this.options.opacity)},_addTile:function(t,n){var o=this._getTilePos(t),a=this._tileCoordsToKey(t),c=this.createTile(this._wrapCoords(t),h(this._tileReady,this,t));this._initTile(c),this.createTile.length<2&&tt(h(this._tileReady,this,t,null,c)),jt(c,o),this._tiles[a]={el:c,coords:t,current:!0},n.appendChild(c),this.fire("tileloadstart",{tile:c,coords:t})},_tileReady:function(t,n,o){n&&this.fire("tileerror",{error:n,tile:o,coords:t});var a=this._tileCoordsToKey(t);o=this._tiles[a],o&&(o.loaded=+new Date,this._map._fadeAnimated?(fe(o.el,0),j(this._fadeFrame),this._fadeFrame=tt(this._updateOpacity,this)):(o.active=!0,this._pruneTiles()),n||(_t(o.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:o.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),nt.ielt9||!this._map._fadeAnimated?tt(this._pruneTiles,this):setTimeout(h(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var n=new Y(this._wrapX?_(t.x,this._wrapX):t.x,this._wrapY?_(t.y,this._wrapY):t.y);return n.z=t.z,n},_pxBoundsToTileRange:function(t){var n=this.getTileSize();return new yt(t.min.unscaleBy(n).floor(),t.max.unscaleBy(n).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function uh(t){return new yi(t)}var Dn=yi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,n){this._url=t,n=O(this,n),n.detectRetina&&nt.retina&&n.maxZoom>0?(n.tileSize=Math.floor(n.tileSize/2),n.zoomReverse?(n.zoomOffset--,n.minZoom=Math.min(n.maxZoom,n.minZoom+1)):(n.zoomOffset++,n.maxZoom=Math.max(n.minZoom,n.maxZoom-1)),n.minZoom=Math.max(0,n.minZoom)):n.zoomReverse?n.minZoom=Math.min(n.maxZoom,n.minZoom):n.maxZoom=Math.max(n.minZoom,n.maxZoom),typeof n.subdomains=="string"&&(n.subdomains=n.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,n){return this._url===t&&n===void 0&&(n=!0),this._url=t,n||this.redraw(),this},createTile:function(t,n){var o=document.createElement("img");return ft(o,"load",h(this._tileOnLoad,this,n,o)),ft(o,"error",h(this._tileOnError,this,n,o)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(o.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(o.referrerPolicy=this.options.referrerPolicy),o.alt="",o.src=this.getTileUrl(t),o},getTileUrl:function(t){var n={r:nt.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var o=this._globalTileRange.max.y-t.y;this.options.tms&&(n.y=o),n["-y"]=o}return N(this._url,l(n,this.options))},_tileOnLoad:function(t,n){nt.ielt9?setTimeout(h(t,this,null,n),0):t(null,n)},_tileOnError:function(t,n,o){var a=this.options.errorTileUrl;a&&n.getAttribute("src")!==a&&(n.src=a),t(o,n)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,n=this.options.maxZoom,o=this.options.zoomReverse,a=this.options.zoomOffset;return o&&(t=n-t),t+a},_getSubdomain:function(t){var n=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[n]},_abortLoading:function(){var t,n;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&(n=this._tiles[t].el,n.onload=m,n.onerror=m,!n.complete)){n.src=H;var o=this._tiles[t].coords;zt(n),delete this._tiles[t],this.fire("tileabort",{tile:n,coords:o})}},_removeTile:function(t){var n=this._tiles[t];if(n)return n.el.setAttribute("src",H),yi.prototype._removeTile.call(this,t)},_tileReady:function(t,n,o){if(!(!this._map||o&&o.getAttribute("src")===H))return yi.prototype._tileReady.call(this,t,n,o)}});function fa(t,n){return new Dn(t,n)}var da=Dn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var o=l({},this.defaultWmsParams);for(var a in n)a in this.options||(o[a]=n[a]);n=O(this,n);var c=n.detectRetina&&nt.retina?2:1,f=this.getTileSize();o.width=f.x*c,o.height=f.y*c,this.wmsParams=o},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var n=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[n]=this._crs.code,Dn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var n=this._tileCoordsToNwSe(t),o=this._crs,a=St(o.project(n[0]),o.project(n[1])),c=a.min,f=a.max,b=(this._wmsVersion>=1.3&&this._crs===sa?[c.y,c.x,f.y,f.x]:[c.x,c.y,f.x,f.y]).join(","),T=Dn.prototype.getTileUrl.call(this,t);return T+$(this.wmsParams,T,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+b},setParams:function(t,n){return l(this.wmsParams,t),n||this.redraw(),this}});function ch(t,n){return new da(t,n)}Dn.WMS=da,fa.wms=ch;var De=we.extend({options:{padding:.1},initialize:function(t){O(this,t),d(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&_t(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 t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,n){var o=this._map.getZoomScale(n,this._zoom),a=this._map.getSize().multiplyBy(.5+this.options.padding),c=this._map.project(this._center,n),f=a.multiplyBy(-o).add(c).subtract(this._map._getNewPixelOrigin(t,n));nt.any3d?pn(this._container,f,o):jt(this._container,f)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,n=this._map.getSize(),o=this._map.containerPointToLayerPoint(n.multiplyBy(-t)).round();this._bounds=new yt(o,o.add(n.multiplyBy(1+t*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),pa=De.extend({options:{tolerance:0},getEvents:function(){var t=De.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){De.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ft(t,"mousemove",this._onMouseMove,this),ft(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ft(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){j(this._redrawRequest),delete this._ctx,zt(this._container),At(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;this._redrawBounds=null;for(var n in this._layers)t=this._layers[n],t._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){De.prototype._update.call(this);var t=this._bounds,n=this._container,o=t.getSize(),a=nt.retina?2:1;jt(n,t.min),n.width=a*o.x,n.height=a*o.y,n.style.width=o.x+"px",n.style.height=o.y+"px",nt.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){De.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[d(t)]=t;var n=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=n),this._drawLast=n,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var n=t._order,o=n.next,a=n.prev;o?o.prev=a:this._drawLast=a,a?a.next=o:this._drawFirst=o,delete t._order,delete this._layers[d(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if(typeof t.options.dashArray=="string"){var n=t.options.dashArray.split(/[, ]+/),o=[],a,c;for(c=0;c')}}catch{}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),hh={_initContainer:function(){this._container=Ct("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(De.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var n=t._container=bi("shape");_t(n,"leaflet-vml-shape "+(this.options.className||"")),n.coordsize="1 1",t._path=bi("path"),n.appendChild(t._path),this._updateStyle(t),this._layers[d(t)]=t},_addPath:function(t){var n=t._container;this._container.appendChild(n),t.options.interactive&&t.addInteractiveTarget(n)},_removePath:function(t){var n=t._container;zt(n),t.removeInteractiveTarget(n),delete this._layers[d(t)]},_updateStyle:function(t){var n=t._stroke,o=t._fill,a=t.options,c=t._container;c.stroked=!!a.stroke,c.filled=!!a.fill,a.stroke?(n||(n=t._stroke=bi("stroke")),c.appendChild(n),n.weight=a.weight+"px",n.color=a.color,n.opacity=a.opacity,a.dashArray?n.dashStyle=q(a.dashArray)?a.dashArray.join(" "):a.dashArray.replace(/( *, *)/g," "):n.dashStyle="",n.endcap=a.lineCap.replace("butt","flat"),n.joinstyle=a.lineJoin):n&&(c.removeChild(n),t._stroke=null),a.fill?(o||(o=t._fill=bi("fill")),c.appendChild(o),o.color=a.fillColor||a.color,o.opacity=a.fillOpacity):o&&(c.removeChild(o),t._fill=null)},_updateCircle:function(t){var n=t._point.round(),o=Math.round(t._radius),a=Math.round(t._radiusY||o);this._setPath(t,t._empty()?"M0 0":"AL "+n.x+","+n.y+" "+o+","+a+" 0,"+65535*360)},_setPath:function(t,n){t._path.v=n},_bringToFront:function(t){Bn(t._container)},_bringToBack:function(t){Rn(t._container)}},ao=nt.vml?bi:E,wi=De.extend({_initContainer:function(){this._container=ao("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ao("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){zt(this._container),At(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){De.prototype._update.call(this);var t=this._bounds,n=t.getSize(),o=this._container;(!this._svgSize||!this._svgSize.equals(n))&&(this._svgSize=n,o.setAttribute("width",n.x),o.setAttribute("height",n.y)),jt(o,t.min),o.setAttribute("viewBox",[t.min.x,t.min.y,n.x,n.y].join(" ")),this.fire("update")}},_initPath:function(t){var n=t._path=ao("path");t.options.className&&_t(n,t.options.className),t.options.interactive&&_t(n,"leaflet-interactive"),this._updateStyle(t),this._layers[d(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){zt(t._path),t.removeInteractiveTarget(t._path),delete this._layers[d(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var n=t._path,o=t.options;n&&(o.stroke?(n.setAttribute("stroke",o.color),n.setAttribute("stroke-opacity",o.opacity),n.setAttribute("stroke-width",o.weight),n.setAttribute("stroke-linecap",o.lineCap),n.setAttribute("stroke-linejoin",o.lineJoin),o.dashArray?n.setAttribute("stroke-dasharray",o.dashArray):n.removeAttribute("stroke-dasharray"),o.dashOffset?n.setAttribute("stroke-dashoffset",o.dashOffset):n.removeAttribute("stroke-dashoffset")):n.setAttribute("stroke","none"),o.fill?(n.setAttribute("fill",o.fillColor||o.color),n.setAttribute("fill-opacity",o.fillOpacity),n.setAttribute("fill-rule",o.fillRule||"evenodd")):n.setAttribute("fill","none"))},_updatePoly:function(t,n){this._setPath(t,A(t._parts,n))},_updateCircle:function(t){var n=t._point,o=Math.max(Math.round(t._radius),1),a=Math.max(Math.round(t._radiusY),1)||o,c="a"+o+","+a+" 0 1,0 ",f=t._empty()?"M0 0":"M"+(n.x-o)+","+n.y+c+o*2+",0 "+c+-o*2+",0 ";this._setPath(t,f)},_setPath:function(t,n){t._path.setAttribute("d",n)},_bringToFront:function(t){Bn(t._path)},_bringToBack:function(t){Rn(t._path)}});nt.vml&&wi.include(hh);function ma(t){return nt.svg||nt.vml?new wi(t):null}wt.include({getRenderer:function(t){var n=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return n||(n=this._renderer=this._createRenderer()),this.hasLayer(n)||this.addLayer(n),n},_getPaneRenderer:function(t){if(t==="overlayPane"||t===void 0)return!1;var n=this._paneRenderers[t];return n===void 0&&(n=this._createRenderer({pane:t}),this._paneRenderers[t]=n),n},_createRenderer:function(t){return this.options.preferCanvas&&_a(t)||ma(t)}});var ga=Nn.extend({initialize:function(t,n){Nn.prototype.initialize.call(this,this._boundsToLatLngs(t),n)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=kt(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function fh(t,n){return new ga(t,n)}wi.create=ao,wi.pointsToPath=A,Fe.geometryToLayer=to,Fe.coordsToLatLng=_s,Fe.coordsToLatLngs=eo,Fe.latLngToCoords=ms,Fe.latLngsToCoords=no,Fe.getFeature=Fn,Fe.asFeature=io,wt.mergeOptions({boxZoom:!0});var va=Me.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){ft(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){At(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){zt(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(t){if(!t.shiftKey||t.which!==1&&t.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),fi(),Qo(),this._startPoint=this._map.mouseEventToContainerPoint(t),ft(document,{contextmenu:gn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=Ct("div","leaflet-zoom-box",this._container),_t(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var n=new yt(this._point,this._startPoint),o=n.getSize();jt(this._box,n.min),this._box.style.width=o.x+"px",this._box.style.height=o.y+"px"},_finish:function(){this._moved&&(zt(this._box),Ft(this._container,"leaflet-crosshair")),di(),ts(),At(document,{contextmenu:gn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if(!(t.which!==1&&t.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(h(this._resetState,this),0);var n=new Nt(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(n).fire("boxzoomend",{boxZoomBounds:n})}},_onKeyDown:function(t){t.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});wt.addInitHook("addHandler","boxZoom",va),wt.mergeOptions({doubleClickZoom:!0});var ya=Me.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var n=this._map,o=n.getZoom(),a=n.options.zoomDelta,c=t.originalEvent.shiftKey?o-a:o+a;n.options.doubleClickZoom==="center"?n.setZoom(c):n.setZoomAround(t.containerPoint,c)}});wt.addInitHook("addHandler","doubleClickZoom",ya),wt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var ba=Me.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new Ge(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}_t(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 t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var n=kt(this._map.options.maxBounds);this._offsetLimit=St(this._map.latLngToContainerPoint(n.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(n.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var n=this._lastTime=+new Date,o=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(o),this._times.push(n),this._prunePositions(n)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),n=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=n.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,n){return t-(t-n)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var t=this._draggable._newPos.subtract(this._draggable._startPos),n=this._offsetLimit;t.xn.max.x&&(t.x=this._viscousLimit(t.x,n.max.x)),t.y>n.max.y&&(t.y=this._viscousLimit(t.y,n.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,n=Math.round(t/2),o=this._initialWorldOffset,a=this._draggable._newPos.x,c=(a-n+o)%t+n-o,f=(a+n+o)%t-n-o,b=Math.abs(c+o)0?f:-f))-n;this._delta=0,this._startTime=null,b&&(t.options.scrollWheelZoom==="center"?t.setZoom(n+b):t.setZoomAround(this._lastMousePos,n+b))}});wt.addInitHook("addHandler","scrollWheelZoom",xa);var dh=600;wt.mergeOptions({tapHold:nt.touchNative&&nt.safari&&nt.mobile,tapTolerance:15});var Pa=Me.extend({addHooks:function(){ft(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){At(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),t.touches.length===1){var n=t.touches[0];this._startPos=this._newPos=new Y(n.clientX,n.clientY),this._holdTimeout=setTimeout(h(function(){this._cancel(),this._isTapValid()&&(ft(document,"touchend",Yt),ft(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",n))},this),dh),ft(document,"touchend touchcancel contextmenu",this._cancel,this),ft(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){At(document,"touchend",Yt),At(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),At(document,"touchend touchcancel contextmenu",this._cancel,this),At(document,"touchmove",this._onMove,this)},_onMove:function(t){var n=t.touches[0];this._newPos=new Y(n.clientX,n.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,n){var o=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:n.screenX,screenY:n.screenY,clientX:n.clientX,clientY:n.clientY});o._simulated=!0,n.target.dispatchEvent(o)}});wt.addInitHook("addHandler","tapHold",Pa),wt.mergeOptions({touchZoom:nt.touch,bounceAtZoomLimits:!0});var La=Me.extend({addHooks:function(){_t(this._map._container,"leaflet-touch-zoom"),ft(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Ft(this._map._container,"leaflet-touch-zoom"),At(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var n=this._map;if(!(!t.touches||t.touches.length!==2||n._animatingZoom||this._zooming)){var o=n.mouseEventToContainerPoint(t.touches[0]),a=n.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=n.getSize()._divideBy(2),this._startLatLng=n.containerPointToLatLng(this._centerPoint),n.options.touchZoom!=="center"&&(this._pinchStartLatLng=n.containerPointToLatLng(o.add(a)._divideBy(2))),this._startDist=o.distanceTo(a),this._startZoom=n.getZoom(),this._moved=!1,this._zooming=!0,n._stop(),ft(document,"touchmove",this._onTouchMove,this),ft(document,"touchend touchcancel",this._onTouchEnd,this),Yt(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!this._zooming)){var n=this._map,o=n.mouseEventToContainerPoint(t.touches[0]),a=n.mouseEventToContainerPoint(t.touches[1]),c=o.distanceTo(a)/this._startDist;if(this._zoom=n.getScaleZoom(c,this._startZoom),!n.options.bounceAtZoomLimits&&(this._zoomn.getMaxZoom()&&c>1)&&(this._zoom=n._limitZoom(this._zoom)),n.options.touchZoom==="center"){if(this._center=this._startLatLng,c===1)return}else{var f=o._add(a)._divideBy(2)._subtract(this._centerPoint);if(c===1&&f.x===0&&f.y===0)return;this._center=n.unproject(n.project(this._pinchStartLatLng,this._zoom).subtract(f),this._zoom)}this._moved||(n._moveStart(!0,!1),this._moved=!0),j(this._animRequest);var b=h(n._move,n,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=tt(b,this,!0),Yt(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,j(this._animRequest),At(document,"touchmove",this._onTouchMove,this),At(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))}});wt.addInitHook("addHandler","touchZoom",La),wt.BoxZoom=va,wt.DoubleClickZoom=ya,wt.Drag=ba,wt.Keyboard=wa,wt.ScrollWheelZoom=xa,wt.TapHold=Pa,wt.TouchZoom=La,s.Bounds=yt,s.Browser=nt,s.CRS=S,s.Canvas=pa,s.Circle=ps,s.CircleMarker=Qi,s.Class=Pt,s.Control=be,s.DivIcon=ha,s.DivOverlay=Oe,s.DomEvent=Ac,s.DomUtil=Mc,s.Draggable=Ge,s.Evented=gt,s.FeatureGroup=Ze,s.GeoJSON=Fe,s.GridLayer=yi,s.Handler=Me,s.Icon=Zn,s.ImageOverlay=oo,s.LatLng=Lt,s.LatLngBounds=Nt,s.Layer=we,s.LayerGroup=zn,s.LineUtil=Wc,s.Map=wt,s.Marker=Xi,s.Mixin=Nc,s.Path=Ye,s.Point=Y,s.PolyUtil=Uc,s.Polygon=Nn,s.Polyline=Ne,s.Popup=so,s.PosAnimation=Vr,s.Projection=$c,s.Rectangle=ga,s.Renderer=De,s.SVG=wi,s.SVGOverlay=ca,s.TileLayer=Dn,s.Tooltip=ro,s.Transformation=bt,s.Util=mt,s.VideoOverlay=ua,s.bind=h,s.bounds=St,s.canvas=_a,s.circle=Qc,s.circleMarker=Xc,s.control=mi,s.divIcon=lh,s.extend=l,s.featureGroup=Gc,s.geoJSON=la,s.geoJson=nh,s.gridLayer=uh,s.icon=Yc,s.imageOverlay=ih,s.latLng=ht,s.latLngBounds=kt,s.layerGroup=Kc,s.map=kc,s.marker=Jc,s.point=ot,s.polygon=eh,s.polyline=th,s.popup=rh,s.rectangle=fh,s.setOptions=O,s.stamp=d,s.svg=ma,s.svgOverlay=sh,s.tileLayer=fa,s.tooltip=ah,s.transformation=v,s.version=r,s.videoOverlay=oh;var ph=window.L;s.noConflict=function(){return window.L=ph,this},window.L=s})})(Xs,Xs.exports);var sc=Xs.exports;const Un=vm(sc),ym=Ph({__proto__:null,default:Un},[sc]),bm={class:"w-full h-full inline-block"},wm=ue({__name:"MainMap",setup(e){const i=Tr(),s=Yu(),r=p_(),l=ne(!1);typeof r.query.lat=="string"&&typeof r.query.lng=="string"&&i.setLocation(new Un.LatLng(Number(r.query.lat),Number(r.query.lng))),typeof r.query.zoom=="string"&&i.setZoom(parseInt(r.query.zoom)||i.zoom);let u=new Set;typeof r.query.maps=="string"&&(u=new Set(r.query.maps.split(",")));async function h(_){const m=Un.control.layers(void 0,void 0,{hideSingleBase:!0,sortLayers:!0});for(const y in await i.fetchAvailableMaps()){const x=i.availableMaps[y];await p(_,m,x,u.has(x.mapSlug))}m.addTo(_),_.on("moveend zoomend",function(){i.setLocation(_.getCenter()),i.setZoom(_.getZoom()),d()}),_.on("overlayadd",async function(y){const x=y.name.toString().replace(/ \(.+\)$/,"");p(_,m,i.availableMaps[x],!0)}),_.on("overlayremove",async function(y){const x=y.name.toString().replace(/ \(.+\)$/,"");p(_,m,i.availableMaps[x],!1)}),l.value=!0}async function p(_,m,y,x){const M=i.loadedMaps[y.mapSlug],O={contributionInfo:y.contributionInfo,maintainedMapTitle:y.mapTitle,maintainers:y.maintainers};if(M!=null&&M.loaded){M.visible=x,i.addMapLayer(y.mapSlug,M,O),d();return}let $;if(M)$=M.layer;else{const N={style:function(){return{fillColor:y.color,color:y.color}},pointToLayer:function(q,k){const H=` + background-color: ${y.color}; + width: 2rem; + height: 2rem; + display: block; + left: -1rem; + top: -1rem; + position: relative; + border-radius: 2rem 2rem 0; + transform: rotate(45deg); + border: 1px solid #FFFFFFAA`,rt=Un.divIcon({className:"",iconAnchor:[0,24],popupAnchor:[0,-36],html:``});return Un.marker(k,{icon:rt})},onEachFeature:function(q,k){if(q&&q.properties){const H=q.properties,rt=`
Map: ${y.mapTitle}
`+Object.keys(H).filter(lt=>lt!="OBJECTID"&&H[lt]).map(lt=>{var V,tt;const F=g(lt.toString()).replace(/_/g," ");let I;return(V=H[lt])!=null&&V.toString().startsWith("http")||(tt=H[lt])!=null&&tt.toString().startsWith("tel")?I=`${H[lt]}`:I=H[lt],`
${F}: ${I}
`}).join("");k.bindPopup(rt,{})}}};$=Un.geoJSON([],N),m.addOverlay($,`${y.mapTitle} (${y.color})`)}const Z={layer:$,loaded:x,visible:x};i.addMapLayer(y.mapSlug,Z,O),x&&(i.fetchGeoJson(y).then(N=>{N&&$.addData(N)}),$.addTo(_)),d()}function d(){const _=Object.keys(i.loadedMaps).filter(m=>i.loadedMaps[m].visible).join(",")||void 0;s.push({name:"map",query:{lat:i.location.lat,lng:i.location.lng,zoom:i.zoom,maps:_}})}function g(_){return _.replace(/\w\S*/g,function(m){return m.charAt(0).toUpperCase()+m.substr(1).toLowerCase()})}return(_,m)=>(Vt(),me("div",bm,[Rt(qt(J_),{ref:"map",zoom:qt(i).zoom,minZoom:7,maxZoom:20,center:qt(i).locationArray,options:{attributionControl:!1},onReady:h},{default:Sn(()=>[Rt(qt(K_),{position:"bottomright",prefix:"Brought to you by HackGreenville Labs. Click here to contribute!"}),Rt(qt(tm),{url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","layer-type":"base",name:"OpenStreetMap",attribution:"© OpenStreetMap contributors"}),l.value&&Object.keys(qt(i).maintainersOfActiveLayers).length>0?(Vt(),ji(mm,{key:0})):Mo("",!0)]),_:1},8,["zoom","center"])]))}}),xm=ue({__name:"MapView",setup(e){return(i,s)=>(Vt(),ji(kf,null,{default:Sn(()=>[Rt(wm,{class:"fixed"})]),_:1}))}}),Pm=f_({history:Op("/open-map-data-multi-layers-demo/"),routes:[{path:"/",name:"map",component:xm},{path:"/about",name:"about",component:()=>Te(()=>import("./AboutView-5bfa9acc.js"),[])}]});const Mr=op(S_);Mr.use(ap());Mr.use(Pm);Mr.mount("#app");export{em as _,bd as a,me as c,Vt as o}; +//# sourceMappingURL=index-985033df.js.map diff --git a/assets/index-985033df.js.map b/assets/index-985033df.js.map new file mode 100644 index 0000000..cf518bc --- /dev/null +++ b/assets/index-985033df.js.map @@ -0,0 +1 @@ +{"version":3,"mappings":"6hCAAA,SAASA,GAAQC,EAAKC,EAAkB,CACtC,MAAMC,EAAsB,OAAO,OAAO,IAAI,EACxCC,EAAOH,EAAI,MAAM,GAAG,EAC1B,QAASI,EAAI,EAAGA,EAAID,EAAK,OAAQC,IAC/BF,EAAIC,EAAKC,CAAC,CAAC,EAAI,GAEjB,OAAOH,EAAoBI,GAAQ,CAAC,CAACH,EAAIG,EAAI,YAAa,GAAKA,GAAQ,CAAC,CAACH,EAAIG,CAAG,CAClF,CAEA,MA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EACrB+gD,EAAA,WAAWY,EAAO,GAAG9c,EAAQ,QAAQ,KAAKA,EAAQ,KAAK,GAAG,CACpE,CAEA,MAAMsyB,EAA0B,CAAE,MAAAxV,EAAO,OAAQ8U,EAAS,QAAAA,CAAQ,EAClE5wB,EAAS,YAAYhB,EAAQ,QAASsyB,EAAcT,CAAc,EAE9DD,IACF5wB,EAAS,aAAahB,CAAO,EAAE,KAAMC,GAAa,CAC5CA,GACF6c,EAAM,QAAQ7c,CAAQ,CACxB,CACD,EACD6c,EAAM,MAAMl2D,CAAG,GAGV8qE,GACT,CAEA,SAASA,GAAS,CAChB,MAAMxwB,EACJ,OAAO,KAAKF,EAAS,UAAU,EAC5B,OAAQ15C,GAAQ05C,EAAS,WAAW15C,CAAG,EAAE,OAAO,EAChD,KAAK,GAAG,GAAK,OAElBmxC,EAAO,KAAK,CACV,KAAM,MACN,MAAO,CACL,IAAKuI,EAAS,SAAS,IACvB,IAAKA,EAAS,SAAS,IACvB,KAAMA,EAAS,KACf,KAAME,CACR,EACD,CACH,CAEA,SAASkxB,EAAYG,EAAgB,CACnC,OAAOA,EAAO,QAAQ,SAAU,SAAUC,EAAK,CACtC,OAAAA,EAAI,OAAO,CAAC,EAAE,cAAgBA,EAAI,OAAO,CAAC,EAAE,aAAY,CAChE,CACH,o0BClNM/5B,GAAS0C,GAAa,CAC1B,QAASrL,GAAiB,mCAAwB,EAClD,OAAQ,CACN,CACE,KAAM,IACN,KAAM,MACN,UAAW2iC,EACb,EACA,CACE,KAAM,SACN,KAAM,QAIN,UAAW,WAAM,OAAO,yBAAwB,KAClD,CACF,CACF,CAAC,ECZD,MAAM5iD,GAAMiW,GAAU4sC,EAAG,EAEzB7iD,GAAI,IAAI4W,IAAa,EACrB5W,GAAI,IAAI4oB,EAAM,EAEd5oB,GAAI,MAAM,MAAM","names":["makeMap","str","expectsLowerCase","map","list","i","val","EMPTY_OBJ","EMPTY_ARR","NOOP","NO","onRE","isOn","key","isModelListener","extend","remove","arr","el","hasOwnProperty","hasOwn","isArray","isMap","toTypeString","isSet","isFunction","isString","isSymbol","isObject","isPromise","objectToString","value","toRawType","isPlainObject","isIntegerKey","isReservedProp","cacheStringFunction","fn","cache","camelizeRE","camelize","_","c","hyphenateRE","hyphenate","capitalize","toHandlerKey","hasChanged","oldValue","invokeArrayFns","fns","arg","def","obj","looseToNumber","n","toNumber","_globalThis","getGlobalThis","normalizeStyle","res","item","normalized","parseStringStyle","listDelimiterRE","propertyDelimiterRE","styleCommentRE","cssText","ret","tmp","normalizeClass","name","specialBooleanAttrs","isSpecialBooleanAttr","includeBooleanAttr","toDisplayString","replacer","_key","entries","val2","activeEffectScope","EffectScope","detached","currentEffectScope","fromParent","l","last","effectScope","recordEffectScope","effect","scope","getCurrentScope","onScopeDispose","createDep","effects","dep","wasTracked","trackOpBit","newTracked","initDepMarkers","deps","finalizeDepMarkers","ptr","targetMap","effectTrackDepth","maxMarkerBits","activeEffect","ITERATE_KEY","MAP_KEY_ITERATE_KEY","ReactiveEffect","scheduler","parent","lastShouldTrack","shouldTrack","cleanupEffect","effect2","trackStack","pauseTracking","resetTracking","track","target","type","depsMap","trackEffects","debuggerEventExtraInfo","shouldTrack2","trigger","newValue","oldTarget","newLength","key2","triggerEffects","triggerEffect","getDepFromReactive","object","_a","isNonTrackableKeys","builtInSymbols","get$1","createGetter","shallowGet","readonlyGet","arrayInstrumentations","createArrayInstrumentations","instrumentations","args","toRaw","isReadonly2","shallow","receiver","shallowReadonlyMap","readonlyMap","shallowReactiveMap","reactiveMap","targetIsArray","isRef","readonly","reactive","set$1","createSetter","shallowSet","isReadonly","isShallow","hadKey","result","deleteProperty","has$1","ownKeys","mutableHandlers","readonlyHandlers","shallowReactiveHandlers","toShallow","getProto","v","get","rawTarget","rawKey","has2","wrap","toReadonly","toReactive","has","size","add","set","get2","deleteEntry","clear","hadItems","createForEach","callback","thisArg","observed","createIterableMethod","method","targetIsMap","isPair","isKeyOnly","innerIterator","done","createReadonlyMethod","createInstrumentations","mutableInstrumentations2","shallowInstrumentations2","readonlyInstrumentations2","shallowReadonlyInstrumentations2","mutableInstrumentations","readonlyInstrumentations","shallowInstrumentations","shallowReadonlyInstrumentations","createInstrumentationGetter","mutableCollectionHandlers","shallowCollectionHandlers","readonlyCollectionHandlers","targetTypeMap","rawType","getTargetType","createReactiveObject","shallowReactive","baseHandlers","collectionHandlers","proxyMap","existingProxy","targetType","proxy","isReactive","isProxy","raw","markRaw","trackRefValue","ref2","triggerRefValue","newVal","r","ref","createRef","shallowRef","rawValue","RefImpl","__v_isShallow","useDirectValue","unref","shallowUnwrapHandlers","proxyRefs","objectWithRefs","toRefs","propertyToRef","ObjectRefImpl","_object","_defaultValue","source","defaultValue","ComputedRefImpl","getter","_setter","isSSR","self","computed","getterOrOptions","debugOptions","setter","onlyGetter","callWithErrorHandling","instance","err","handleError","callWithAsyncErrorHandling","values","throwInDev","contextVNode","cur","exposedInstance","errorInfo","errorCapturedHooks","appErrorHandler","logError","isFlushing","isFlushPending","queue","flushIndex","pendingPostFlushCbs","activePostFlushCbs","postFlushIndex","resolvedPromise","currentFlushPromise","nextTick","p","findInsertionIndex","id","start","end","middle","getId","queueJob","job","queueFlush","flushJobs","invalidateJob","queuePostFlushCb","cb","flushPreFlushCbs","seen","flushPostFlushCbs","deduped","a","b","comparator","diff","check","emit","event","rawArgs","props","modelArg","modifiersKey","number","trim","handlerName","handler","onceHandler","normalizeEmitsOptions","comp","appContext","asMixin","cached","hasExtends","extendEmits","raw2","normalizedFromExtend","isEmitListener","options","currentRenderingInstance","currentScopeId","setCurrentRenderingInstance","prev","withCtx","ctx","isNonScopedSlot","renderFnWithContext","setBlockTracking","prevInstance","renderComponentRoot","Component","vnode","withProxy","propsOptions","slots","attrs","render","renderCache","data","setupState","inheritAttrs","fallthroughAttrs","proxyToUse","normalizeVNode","render2","getFunctionalFallthrough","blockStack","createVNode","Comment","root","keys","shapeFlag","filterModelListeners","cloneVNode","filterSingleRoot","children","singleRoot","child","isVNode","shouldUpdateComponent","prevVNode","nextVNode","optimized","prevProps","prevChildren","component","nextProps","nextChildren","patchFlag","emits","hasPropsChanged","dynamicProps","emitsOptions","nextKeys","updateHOCHostEl","isSuspense","SuspenseImpl","n1","n2","container","anchor","parentComponent","parentSuspense","isSVG","slotScopeIds","rendererInternals","mountSuspense","patchSuspense","hydrateSuspense","createSuspenseBoundary","normalizeSuspenseChildren","Suspense","triggerEvent","eventListener","patch","createElement","hiddenContainer","suspense","setActiveBranch","unmount","newBranch","newFallback","activeBranch","pendingBranch","isInFallback","isHydrating","isSameVNodeType","timeout","pendingId","move","next","parentNode","parentSuspenseId","isSuspensible","isVNodeSuspensible","resume","sync","vnode2","parentComponent2","container2","delayEnter","anchor2","hasUnresolvedAncestor","fallbackVNode","isSVG2","mountFallback","setupRenderEffect","isInPendingSuspense","hydratedEl","asyncSetupResult","handleSetupResult","placeholder","parentSuspense2","doRemove","node","hydrateNode","isSlotChildren","normalizeSuspenseSlot","s","block","trackBlock","isBlockTreeEnabled","openBlock","currentBlock","closeBlock","queueEffectWithSuspense","branch","INITIAL_WATCHER_VALUE","watch","doWatch","immediate","deep","flush","onTrack","onTrigger","currentInstance","forceTrigger","isMultiSource","isShallow$1","traverse","cleanup","onCleanup","baseGetter","ssrCleanup","isInSSRComponentSetup","useSSRContext","queuePostRenderEffect","unwatch","instanceWatch","publicThis","createPathGetter","setCurrentInstance","unsetCurrentInstance","path","segments","invokeDirectiveHook","bindings","oldBindings","binding","hook","useTransitionState","state","onMounted","onBeforeUnmount","TransitionHookValidator","BaseTransitionPropsValidators","BaseTransitionImpl","getCurrentInstance","prevTransitionKey","getTransitionRawChildren","rawProps","mode","emptyPlaceholder","innerChild","getKeepAliveChild","enterHooks","resolveTransitionHooks","setTransitionHooks","oldChild","oldInnerChild","transitionKeyChanged","getTransitionKey","leavingHooks","earlyRemove","delayedLeave","leavingVNodesCache","getLeavingNodesForType","BaseTransition","leavingVNodes","appear","persisted","onBeforeEnter","onEnter","onAfterEnter","onEnterCancelled","onBeforeLeave","onLeave","onAfterLeave","onLeaveCancelled","onBeforeAppear","onAppear","onAfterAppear","onAppearCancelled","callHook","callAsyncHook","hook2","hooks","leavingVNode","afterHook","cancelHook","called","cancelled","isKeepAlive","keepComment","parentKey","keyedFragmentCount","Fragment","defineComponent","extraOptions","isAsyncWrapper","onActivated","registerKeepAliveHook","onDeactivated","wrappedHook","current","injectHook","injectToKeepAliveRoot","keepAliveRoot","injected","onUnmounted","prepend","createHook","lifecycle","onBeforeMount","onBeforeUpdate","onUpdated","onServerPrefetch","onRenderTriggered","onRenderTracked","onErrorCaptured","NULL_DYNAMIC_COMPONENT","renderList","renderItem","index","getPublicInstance","isStatefulComponent","getExposeProxy","publicPropertiesMap","resolveMergedOptions","hasSetupBinding","PublicInstanceProxyHandlers","accessCache","normalizedProps","shouldCacheAccess","publicGetter","cssModule","globalProperties","descriptor","normalizePropsOrEmits","applyOptions","dataOptions","computedOptions","methods","watchOptions","provideOptions","injectOptions","created","beforeMount","mounted","beforeUpdate","updated","activated","deactivated","beforeDestroy","beforeUnmount","destroyed","unmounted","renderTracked","renderTriggered","errorCaptured","serverPrefetch","expose","components","directives","filters","resolveInjections","methodHandler","opt","createWatcher","provides","provide","registerLifecycleHook","register","_hook","exposed","checkDuplicateProperties","normalizeInject","inject","h","base","mixins","extendsOptions","globalMixins","optionMergeStrategies","resolved","m","mergeOptions","to","from","strats","strat","internalOptionMergeStrats","mergeDataFn","mergeEmitsOrPropsOptions","mergeObjectOptions","mergeAsArray","mergeWatchOptions","mergeInject","merged","createAppContext","uid$1","createAppAPI","hydrate","rootComponent","rootProps","context","installedPlugins","isMounted","app","version","plugin","mixin","directive","rootContainer","isHydrate","currentApp","parentProvides","treatDefaultAsFactory","hasInjectionContext","initProps","isStateful","InternalObjectKey","setFullProps","updateProps","rawPrevProps","rawCurrentProps","hasAttrsChanged","propsToUpdate","camelizedKey","resolvePropValue","kebabKey","needCastKeys","rawCastValues","camelKey","castValues","isAbsent","hasDefault","propsDefaults","normalizePropsOptions","extendProps","normalizedKey","validatePropName","prop","booleanIndex","getTypeIndex","stringIndex","getType","ctor","match","isSameType","expectedTypes","t","isInternalKey","normalizeSlotValue","normalizeSlot","rawSlot","normalizeObjectSlots","rawSlots","normalizeVNodeSlots","initSlots","updateSlots","needDeletionCheck","deletionComparisonTarget","setRef","rawRef","oldRawRef","isUnmount","refValue","owner","oldRef","refs","_isString","_isRef","doSet","existing","createRenderer","baseCreateRenderer","createHydrationFns","hostInsert","hostRemove","hostPatchProp","hostCreateElement","hostCreateText","hostCreateComment","hostSetText","hostSetElementText","hostParentNode","hostNextSibling","hostSetScopeId","hostInsertStaticContent","getNextHostNode","Text","processText","processCommentNode","Static","mountStaticNode","processFragment","processElement","processComponent","internals","moveStaticNode","nextSibling","removeStaticNode","mountElement","patchElement","vnodeHook","transition","dirs","mountChildren","setScopeId","unmountChildren","invokeVNodeHook","needCallTransitionHooks","scopeId","subTree","parentVNode","cloneIfMounted","dynamicChildren","oldProps","newProps","toggleRecurse","areChildrenSVG","patchBlockChildren","patchChildren","patchProps","oldChildren","newChildren","fallbackContainer","oldVNode","newVNode","fragmentStartAnchor","fragmentEndAnchor","fragmentSlotScopeIds","traverseStaticChildren","mountComponent","updateComponent","initialVNode","createComponentInstance","setupComponent","updateComponentPreRender","componentUpdateFn","bu","u","originNext","nextTree","prevTree","bm","isAsyncWrapperVNode","hydrateSubTree","scopedInitialVNode","update","c1","prevShapeFlag","c2","patchKeyedChildren","patchUnkeyedChildren","oldLength","commonLength","nextChild","parentAnchor","l2","e1","e2","nextPos","s1","s2","keyToNewIndexMap","j","patched","toBePatched","moved","maxNewIndexSoFar","newIndexToOldIndexMap","prevChild","newIndex","increasingNewIndexSequence","getSequence","nextIndex","moveType","leave","delayLeave","afterLeave","remove2","performLeave","shouldInvokeDirs","shouldInvokeVnodeHook","unmountComponent","removeFragment","performRemove","bum","um","allowed","ch1","ch2","len","arrI","isTeleport","disableTracking","setupBlock","createElementBlock","createBaseVNode","createBlock","normalizeKey","normalizeRef","ref_key","ref_for","isBlockNode","needFullChildrenNormalization","normalizeChildren","_createVNode","cloned","isClassComponent","guardReactiveProps","klass","style","extraProps","mergeRef","mergedProps","mergeProps","createTextVNode","text","flag","createStaticVNode","content","numberOfNodes","createCommentVNode","asBlock","slot","slotFlag","toMerge","incoming","emptyAppContext","uid","internalSetCurrentInstance","globalCurrentInstanceSetters","settersKey","setupResult","setupStatefulComponent","setup","setupContext","createSetupContext","resolvedResult","e","finishComponentSetup","compile","skipOptions","template","isCustomElement","compilerOptions","delimiters","componentCompilerOptions","finalCompilerOptions","getAttrsProxy","computed$1","propsOrChildren","ssrContextKey","svgNS","doc","templateContainer","nodeOps","tag","is","selector","before","wrapper","patchClass","transitionClasses","patchStyle","isCssString","setStyle","currentDisplay","importantRE","prefixed","autoPrefix","prefixes","prefixCache","rawName","xlinkNS","patchAttr","isBoolean","patchDOMProp","needRemove","addEventListener","removeEventListener","patchEvent","prevValue","nextValue","invokers","existingInvoker","parseName","invoker","createInvoker","optionsModifierRE","cachedNow","getNow","initialValue","patchStopImmediatePropagation","originalStop","nativeOnRE","patchProp","shouldSetAsProp","TRANSITION","ANIMATION","Transition","resolveTransitionProps","DOMTransitionPropsValidators","h2","hasExplicitCallback","baseProps","duration","enterFromClass","enterActiveClass","enterToClass","appearFromClass","appearActiveClass","appearToClass","leaveFromClass","leaveActiveClass","leaveToClass","durations","normalizeDuration","enterDuration","leaveDuration","finishEnter","isAppear","removeTransitionClass","finishLeave","makeEnterHook","resolve","nextFrame","addTransitionClass","whenTransitionEnds","forceReflow","NumberOf","cls","_vtc","endId","expectedType","explicitTimeout","resolveIfNotStale","propCount","getTransitionInfo","endEvent","ended","onEnd","styles","getStyleProperties","transitionDelays","transitionDurations","transitionTimeout","getTimeout","animationDelays","animationDurations","animationTimeout","hasTransform","delays","d","toMs","rendererOptions","renderer","ensureRenderer","createApp","mount","containerOrSelector","normalizeContainer","isVue2","activePinia","setActivePinia","pinia","piniaSymbol","o","MutationType","createPinia","_p","toBeInstalled","noop","addSubscription","subscriptions","removeSubscription","idx","triggerSubscriptions","fallbackRunWithContext","mergeReactiveObjects","patchToApply","subPatch","targetValue","skipHydrateSymbol","shouldHydrate","assign","isComputed","createOptionsStore","hot","actions","getters","initialState","store","localState","computedGetters","createSetupStore","$id","isOptionsStore","optionsForPlugin","$subscribeOptions","isListening","isSyncListening","actionSubscriptions","debuggerEvents","activeListener","$patch","partialStateOrMutator","subscriptionMutation","myListenerId","$reset","newState","$state","$dispose","wrapAction","action","afterCallbackList","onErrorCallbackList","after","onError","error","partialStore","stopWatcher","setupStore","actionValue","extender","defineStore","idOrOptions","setupOptions","isSetupStore","useStore","hasContext","isBrowser","isESModule","applyToParams","params","newParams","TRAILING_SLASH_RE","removeTrailingSlash","parseURL","parseQuery","location","currentLocation","query","searchString","hash","hashPos","searchPos","resolveRelativePath","stringifyURL","stringifyQuery","stripBase","pathname","isSameRouteLocation","aLastIndex","bLastIndex","isSameRouteRecord","isSameRouteLocationParams","isSameRouteLocationParamsValue","isEquivalentArray","fromSegments","toSegments","lastToSegment","position","toPosition","segment","NavigationType","NavigationDirection","normalizeBase","baseEl","BEFORE_HASH_RE","createHref","getElementPosition","offset","docRect","elRect","computeScrollPosition","scrollToPosition","scrollToOptions","positionEl","isIdSelector","getScrollKey","delta","scrollPositions","saveScrollPosition","scrollPosition","getSavedScrollPosition","scroll","createBaseLocation","createCurrentLocation","search","slicePos","pathFromHash","useHistoryListeners","historyState","replace","listeners","teardowns","pauseState","popStateHandler","fromState","listener","pauseListeners","listen","teardown","beforeUnloadListener","history","destroy","buildState","back","forward","replaced","computeScroll","useHistoryStateNavigation","changeLocation","hashIndex","url","push","currentState","createWebHistory","historyNavigation","historyListeners","go","triggerListeners","routerHistory","isRouteLocation","route","isRouteName","START_LOCATION_NORMALIZED","NavigationFailureSymbol","NavigationFailureType","createRouterError","isNavigationFailure","BASE_PARAM_PATTERN","BASE_PATH_PARSER_OPTIONS","REGEX_CHARS_RE","tokensToParser","score","pattern","segmentScores","tokenIndex","token","subSegmentScore","repeatable","optional","regexp","re","subPattern","parse","stringify","avoidDuplicatedSlash","param","compareScoreArray","comparePathParserScore","aScore","bScore","isLastScoreNegative","ROOT_TOKEN","VALID_PARAM_RE","tokenizePath","crash","message","buffer","previousState","tokens","finalizeSegment","char","customRe","consumeBuffer","addCharToBuffer","createRouteRecordMatcher","record","parser","matcher","createRouterMatcher","routes","globalOptions","matchers","matcherMap","getRecordMatcher","addRoute","originalRecord","isRootAdd","mainNormalizedRecord","normalizeRouteRecord","normalizedRecords","aliases","alias","originalMatcher","normalizedRecord","parentPath","connectingSlash","isAliasRecord","removeRoute","insertMatcher","matcherRef","getRoutes","isRecordChildOf","paramsFromLocation","k","matched","parentMatcher","mergeMetaFields","normalizeRecordProps","propsObject","meta","defaults","partialOptions","HASH_RE","AMPERSAND_RE","SLASH_RE","EQUAL_RE","IM_RE","PLUS_RE","ENC_BRACKET_OPEN_RE","ENC_BRACKET_CLOSE_RE","ENC_CARET_RE","ENC_BACKTICK_RE","ENC_CURLY_OPEN_RE","ENC_PIPE_RE","ENC_CURLY_CLOSE_RE","ENC_SPACE_RE","commonEncode","encodeHash","encodeQueryValue","encodeQueryKey","encodePath","encodeParam","decode","searchParams","searchParam","eqPos","currentValue","normalizeQuery","normalizedQuery","matchedRouteKey","viewDepthKey","routerKey","routeLocationKey","routerViewLocationKey","useCallbacks","handlers","reset","guardToPromiseFn","guard","enterCallbackArray","reject","valid","guardReturn","guardCall","extractComponentsGuards","guardType","guards","rawComponent","isRouteComponent","componentPromise","resolvedComponent","useLink","router","currentRoute","activeRecordIndex","length","routeMatched","currentMatched","parentRecordPath","getOriginalPath","isActive","includesParams","isExactActive","navigate","guardEvent","RouterLinkImpl","link","elClass","getLinkClass","RouterLink","outer","inner","innerValue","outerValue","propClass","globalClass","defaultClass","RouterViewImpl","injectedRoute","routeToDisplay","injectedDepth","depth","initialDepth","matchedRoute","matchedRouteRef","viewRef","oldInstance","oldName","currentName","ViewComponent","routePropsOption","routeProps","slotContent","RouterView","createRouter","parseQuery$1","stringifyQuery$1","beforeGuards","beforeResolveGuards","afterGuards","pendingLocation","normalizeParams","paramValue","encodeParams","decodeParams","parentOrRoute","recordMatcher","routeMatcher","hasRoute","rawLocation","locationNormalized","href","matcherLocation","targetParams","fullPath","locationAsObject","checkCanceledNavigation","pushWithRedirect","handleRedirectRecord","lastMatched","redirect","newTargetLocation","redirectedFrom","targetLocation","force","shouldRedirect","toLocation","failure","handleScroll","markAsReady","triggerError","finalizeNavigation","triggerAfterEach","checkCanceledNavigationAndReject","runWithContext","installedApps","leavingRecords","updatingRecords","enteringRecords","extractChangingRecords","canceledNavigationCheck","runGuardQueue","beforeEnter","isPush","isFirstNavigation","removeHistoryListener","setupListeners","_from","info","readyHandlers","errorListeners","ready","isReady","scrollBehavior","started","reactiveRoute","unmountApp","promise","recordFrom","recordTo","useRouter","useRoute","useMapStore","lat","lng","coords","zoom","mapSlug","layerData","maintainers","mapTitle","mapData","response","_b","_d","_c","_f","_e","mapDataJson","geoJsonUrl","getRandomColor","title","colors","simpleHash","useUIStore","showBanner","uiStore","mapStore","mapLink","slugsList","ce","ye","Je","L","He","f","T","qe","__vitePreload","Y","A","V","O","M","ee","H","me","ve","be","fe","ge","Le","he","Oe","W","J","D","q","y","pe","Se","ne","F","K","Xe","U","Vt","S","g","Ce","Ye","xt","te","ae","Ae","ot","mt","w","de","N","P","B","I","E","ue","$","z","Z","rt","We","io","vt","oe","leafletSrc","yt","Q","X","C","R","le","x","ke","ie","Ze","vo","_hoisted_1","_hoisted_2","_createElementVNode","_hoisted_3","_sfc_render","_ctx","_cache","showMaintainers","global","factory","exports","this","dest","src","create$2","proto","bind","slice","lastId","stamp","throttle","time","lock","wrapperFn","later","wrapNum","range","includeMax","max","min","falseFn","formatNum","num","precision","pow","splitWords","setOptions","getParamString","existingUrl","uppercase","templateRe","indexOf","array","emptyImageUrl","getPrefixed","lastTime","timeoutDefer","timeToCall","requestFn","cancelFn","requestAnimFrame","cancelAnimFrame","Util","Class","NewClass","parentProto","checkDeprecatedMixinEvents","parentOptions","init","includes","Events","types","removeAll","_once","newListener","propagate","_fn","Evented","Point","round","trunc","point","toPoint","Bounds","points","min2","max2","toBounds","bounds","xIntersects","yIntersects","xOverlaps","yOverlaps","bufferRatio","heightBuffer","widthBuffer","LatLngBounds","corner1","corner2","latlngs","sw","sw2","ne2","LatLng","toLatLng","toLatLngBounds","latIntersects","lngIntersects","latOverlaps","lngOverlaps","maxMargin","alt","margin","other","Earth","sizeInMeters","latAccuracy","lngAccuracy","CRS","latlng","projectedPoint","scale","untransformedPoint","center","newCenter","latShift","lngShift","newSw","newNe","latlng1","latlng2","rad","lat1","lat2","sinDLat","sinDLon","earthRadius","SphericalMercator","sin","Transformation","toTransformation","EPSG3857","EPSG900913","svgCreate","pointsToPath","rings","closed","len2","Browser","ielt9","edge","webkit","userAgentContains","android","android23","webkitVer","androidStock","opera","chrome","gecko","safari","phantom","opera12","win","ie3d","webkit3d","gecko3d","any3d","mobile","mobileWebkit","mobileWebkit3d","msPointer","pointer","touchNative","touch","mobileOpera","mobileGecko","retina","passiveEvents","supportsPassiveOption","opts","canvas$1","svg$1","inlineSvg","div","vml","shape","mac","linux","POINTER_DOWN","POINTER_MOVE","POINTER_UP","POINTER_CANCEL","pEvent","handle","_onPointerStart","_handlePointer","_pointers","_pointerDocListener","addPointerListener","_addPointerDocListener","removePointerListener","_globalPointerDown","_globalPointerMove","_globalPointerUp","preventDefault","makeDblclick","newEvent","delay","addDoubleTapListener","detail","simDblclick","getPropagationPath","now","removeDoubleTapListener","TRANSFORM","testProp","TRANSITION_END","getStyle","css","create$1","tagName","className","empty","toFront","toBack","hasClass","getClass","addClass","classes","setClass","removeClass","setOpacity","_setOpacityIE","filter","filterName","setTransform","pos","setPosition","getPosition","disableTextSelection","enableTextSelection","_userSelect","on","off","userSelectProperty","disableImageDrag","enableImageDrag","_outlineElement","_outlineStyle","preventOutline","element","restoreOutline","getSizedParentNode","getScale","rect","DomUtil","addOne","eventsKey","batchRemove","removeOne","filterFn","mouseSubst","originalHandler","isExternalTarget","stopPropagation","disableScrollPropagation","disableClickPropagation","stop","ev","getMousePosition","wheelPxFactor","getWheelDelta","related","DomEvent","PosAnimation","newPos","easeLinearity","elapsed","progress","Map","viewHalf","containerPoint","centerOffset","paddingTL","paddingBR","paddingOffset","swPoint","nePoint","targetCenter","targetZoom","startZoom","w0","w1","u1","rho","rho2","t1","b1","sq","log","sinh","cosh","tanh","r0","easeOut","frame","oldZoom","pixelCenter","pixelPoint","pixelBounds","paddedBounds","paddedSize","oldSize","newSize","oldCenter","onResponse","HandlerClass","pane","inside","padding","nw","se","boundsSize","snap","scalex","scaley","topLeftPoint","toZoom","fromZoom","crs","layerPoint","panes","noMoveStart","loading","zoomChanged","supressEvent","onOff","targets","isHover","dragging","canvasTargets","synth","filtered","isMarker","pixelOrigin","topLeft","latLngBounds","centerPoint","viewBounds","newBounds","pxBounds","maxBounds","projectedMaxBounds","minOffset","maxOffset","dx","dy","left","right","transform","startAnim","noUpdate","createMap","Control","corner","control","corners","createCorner","vSide","hSide","Layers","layerA","layerB","nameA","nameB","baseLayers","overlays","layer","acceptableHeight","collapsed","section","overlay","baseLayersPresent","overlaysPresent","baseLayersCount","checked","radioHtml","radioFragment","label","input","holder","inputs","addedLayers","removedLayers","layers","Zoom","zoomName","html","Scale","maxMeters","meters","maxFeet","maxMiles","miles","feet","ratio","pow10","ukrainianFlag","Attribution","prefix","attribs","prefixAndAttribs","attribution","Handler","Mixin","START","Draggable","dragStartTarget","first","sizedParent","mouseevent","noInertia","simplify","tolerance","sqTolerance","_reducePoints","_simplifyDP","pointToSegmentDistance","p1","p2","_sqClosestPointOnSegment","closestPointOnSegment","ArrayConstructor","markers","_simplifyDPStep","newPoints","maxSqDist","sqDist","reducedPoints","_sqDist","_lastCode","clipSegment","useLastCode","codeA","_getBitCode","codeB","codeOut","newCode","_getEdgeIntersection","code","dot","isFlat","_flat","polylineCenter","halfDist","segDist","dist","LineUtil","clipPolygon","clippedPoints","edges","polygonCenter","area","PolyUtil","LonLat","Mercator","con","ts","phi","dphi","EPSG3395","EPSG4326","Simple","Layer","targetEl","events","minZoom","maxZoom","oldZoomSpan","LayerGroup","layerId","methodName","zIndex","layerGroup","FeatureGroup","featureGroup","Icon","oldIcon","img","sizeOption","icon","IconDefault","strip","MarkerDrag","marker","speed","iconPos","origin","panBounds","movement","shadow","Marker","oldLatLng","classToAdd","addIcon","newShadow","addShadow","draggable","opacity","iconOpts","Path","CircleMarker","radius","r2","circleMarker","Circle","legacyOptions","half","latR","top","bottom","lngR","circle","Polyline","minDistance","minPoint","closest","jLen","flat","projectedBounds","ring","parts","part","polyline","Polygon","clipped","polygon","GeoJSON","geojson","features","feature","geometryToLayer","asFeature","geometry","pointToLayer","_coordsToLatLng","coordsToLatLng","_pointToLayer","coordsToLatLngs","geoLayer","featureLayer","pointToLayerFn","levelsDeep","latLngToCoords","latLngsToCoords","getFeature","newGeometry","PointToGeoJSON","multi","holes","isGeometryCollection","jsons","json","geoJSON","geoJson","ImageOverlay","styleOpts","wasElementSupplied","image","errorUrl","imageOverlay","VideoOverlay","vid","sourceElements","sources","videoOverlay","video","SVGOverlay","svgOverlay","DivOverlay","OverlayClass","old","Popup","closeButton","width","height","maxHeight","scrolledClass","marginBottom","containerHeight","containerWidth","layerPos","containerPos","popup","Tooltip","subX","subY","tooltipPoint","direction","tooltipWidth","tooltipHeight","tooltip","DivIcon","bgPos","divIcon","GridLayer","tileZoom","compare","edgeZIndex","willPrune","tile","fade","level","x2","y2","z2","coords2","animating","noPrune","tileZoomChanged","translate","tileSize","mapZoom","halfSize","tileRange","tileCenter","noPruneRange","fragment","tileBounds","nwPoint","sePoint","bp","tilePos","newCoords","gridLayer","TileLayer","noRedraw","invertedY","zoomReverse","zoomOffset","tilePoint","tileLayer","TileLayerWMS","wmsParams","realRetina","projectionKey","bbox","tileLayerWMS","Renderer","currentCenterPoint","topLeftOffset","Canvas","order","dashArray","dashValue","clickedLayer","candidateHoveredLayer","canvas","vmlCreate","vmlMixin","stroke","fill","create","SVG","arc","svg","Rectangle","rectangle","BoxZoom","DoubleClickZoom","Drag","pxCenter","pxWorldCenter","threshold","limit","worldWidth","halfWidth","newX1","newX2","newX","ease","speedVector","limitedSpeed","limitedSpeedVector","decelerationDuration","Keyboard","body","docEl","panDelta","codes","zoomDelta","newLatLng","ScrollWheelZoom","debounce","d2","d3","d4","tapHoldDelay","TapHold","cancelClickPrevent","simulatedEvent","TouchZoom","moveFn","oldL","mapInitialized","mapsToEnable","initializeMap","layersControl","addMapLayer","setUrl","mapName","visible","maintainerData","_feature","markerHtmlStyles","markerIcon","properties","tooltipString","propertyName","toTitleCase","propertyValue","newLayerData","string","txt","MapView","App"],"sources":["../../node_modules/@vue/shared/dist/shared.esm-bundler.js","../../node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","../../node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","../../node_modules/pinia/node_modules/vue-demi/lib/index.mjs","../../node_modules/pinia/dist/pinia.mjs","../../node_modules/vue-router/dist/vue-router.mjs","../../src/stores/map.ts","../../src/stores/ui.ts","../../src/components/ContributionBanner.vue","../../src/App.vue","../../node_modules/@vue-leaflet/vue-leaflet/dist/vue-leaflet.es.js","../../src/components/ContributionButton.vue","../../src/components/MaintainersViewerControl.vue","../../node_modules/leaflet/dist/leaflet-src.js","../../src/components/MainMap.vue","../../src/router/index.ts","../../src/main.ts"],"sourcesContent":["function makeMap(str, expectsLowerCase) {\n const map = /* @__PURE__ */ Object.create(null);\n const list = str.split(\",\");\n for (let i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];\n}\n\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {\n};\nconst NO = () => false;\nconst onRE = /^on[^a-z]/;\nconst isOn = (key) => onRE.test(key);\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isString = (val) => typeof val === \"string\";\nconst isSymbol = (val) => typeof val === \"symbol\";\nconst isObject = (val) => val !== null && typeof val === \"object\";\nconst isPromise = (val) => {\n return isObject(val) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */ makeMap(\n // the leading comma is intentional so empty string \"\" is also included\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n);\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n);\nconst cacheStringFunction = (fn) => {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n};\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction((str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n);\nconst capitalize = cacheStringFunction(\n (str) => str.charAt(0).toUpperCase() + str.slice(1)\n);\nconst toHandlerKey = cacheStringFunction(\n (str) => str ? `on${capitalize(str)}` : ``\n);\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](arg);\n }\n};\nconst def = (obj, key, value) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n value\n });\n};\nconst looseToNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = (val) => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n}\n\nconst PatchFlagNames = {\n [1]: `TEXT`,\n [2]: `CLASS`,\n [4]: `STYLE`,\n [8]: `PROPS`,\n [16]: `FULL_PROPS`,\n [32]: `HYDRATE_EVENTS`,\n [64]: `STABLE_FRAGMENT`,\n [128]: `KEYED_FRAGMENT`,\n [256]: `UNKEYED_FRAGMENT`,\n [512]: `NEED_PATCH`,\n [1024]: `DYNAMIC_SLOTS`,\n [2048]: `DEV_ROOT_FRAGMENT`,\n [-1]: `HOISTED`,\n [-2]: `BAIL`\n};\n\nconst slotFlagsText = {\n [1]: \"STABLE\",\n [2]: \"DYNAMIC\",\n [3]: \"FORWARDED\"\n};\n\nconst GLOBALS_WHITE_LISTED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console\";\nconst isGloballyWhitelisted = /* @__PURE__ */ makeMap(GLOBALS_WHITE_LISTED);\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n let lines = source.split(/(\\r?\\n)/);\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length)\n continue;\n const line = j + 1;\n res.push(\n `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`\n );\n const lineLength = lines[j].length;\n const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n if (j === i) {\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(\n 1,\n end > count ? lineLength - pad : end - start\n );\n res.push(` | ` + \" \".repeat(pad) + \"^\".repeat(length));\n } else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + \"^\".repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join(\"\\n\");\n}\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n } else if (isString(value)) {\n return value;\n } else if (isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*[^]*?\\*\\//g;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return ret;\n}\nfunction stringifyStyle(styles) {\n let ret = \"\";\n if (!styles || isString(styles)) {\n return ret;\n }\n for (const key in styles) {\n const value = styles[key];\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n if (isString(value) || typeof value === \"number\") {\n ret += `${normalizedKey}:${value};`;\n }\n }\n return ret;\n}\nfunction normalizeClass(value) {\n let res = \"\";\n if (isString(value)) {\n res = value;\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + \" \";\n }\n }\n } else if (isObject(value)) {\n for (const name in value) {\n if (value[name]) {\n res += name + \" \";\n }\n }\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props)\n return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\nconst HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\nconst SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\nconst VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\nconst isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\nconst isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\nconst isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\nconst isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\nconst isBooleanAttr = /* @__PURE__ */ makeMap(\n specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n);\nfunction includeBooleanAttr(value) {\n return !!value || value === \"\";\n}\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\nconst attrValidationCache = {};\nfunction isSSRSafeAttrName(name) {\n if (attrValidationCache.hasOwnProperty(name)) {\n return attrValidationCache[name];\n }\n const isUnsafe = unsafeAttrCharRE.test(name);\n if (isUnsafe) {\n console.error(`unsafe attribute name: ${name}`);\n }\n return attrValidationCache[name] = !isUnsafe;\n}\nconst propsToAttrMap = {\n acceptCharset: \"accept-charset\",\n className: \"class\",\n htmlFor: \"for\",\n httpEquiv: \"http-equiv\"\n};\nconst isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n);\nconst isKnownSvgAttr = /* @__PURE__ */ makeMap(\n `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n);\n\nconst escapeRE = /[\"'&<>]/;\nfunction escapeHtml(string) {\n const str = \"\" + string;\n const match = escapeRE.exec(str);\n if (!match) {\n return str;\n }\n let html = \"\";\n let escaped;\n let index;\n let lastIndex = 0;\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n escaped = \""\";\n break;\n case 38:\n escaped = \"&\";\n break;\n case 39:\n escaped = \"'\";\n break;\n case 60:\n escaped = \"<\";\n break;\n case 62:\n escaped = \">\";\n break;\n default:\n continue;\n }\n if (lastIndex !== index) {\n html += str.slice(lastIndex, index);\n }\n lastIndex = index + 1;\n html += escaped;\n }\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n}\nconst commentStripRE = /^-?>||--!>| looseEqual(item, val));\n}\n\nconst toDisplayString = (val) => {\n return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n};\nconst replacer = (_key, val) => {\n if (val && val.__v_isRef) {\n return replacer(_key, val.value);\n } else if (isMap(val)) {\n return {\n [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val2]) => {\n entries[`${key} =>`] = val2;\n return entries;\n }, {})\n };\n } else if (isSet(val)) {\n return {\n [`Set(${val.size})`]: [...val.values()]\n };\n } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n return String(val);\n }\n return val;\n};\n\nexport { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, genPropsAccessExp, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownSvgAttr, isMap, isModelListener, isObject, isOn, isPlainObject, isPromise, isRegExp, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, looseToNumber, makeMap, normalizeClass, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };\n","import { extend, isArray, isMap, isIntegerKey, hasOwn, isSymbol, isObject, hasChanged, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this._active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(\n this\n ) - 1;\n }\n }\n get active() {\n return this._active;\n }\n run(fn) {\n if (this._active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n } finally {\n activeEffectScope = currentEffectScope;\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this._active) {\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n if (!this.detached && this.parent && !fromParent) {\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = void 0;\n this._active = false;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction recordEffectScope(effect, scope = activeEffectScope) {\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `onScopeDispose() is called when there is no active effect scope to be associated with.`\n );\n }\n}\n\nconst createDep = (effects) => {\n const dep = new Set(effects);\n dep.w = 0;\n dep.n = 0;\n return dep;\n};\nconst wasTracked = (dep) => (dep.w & trackOpBit) > 0;\nconst newTracked = (dep) => (dep.n & trackOpBit) > 0;\nconst initDepMarkers = ({ deps }) => {\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].w |= trackOpBit;\n }\n }\n};\nconst finalizeDepMarkers = (effect) => {\n const { deps } = effect;\n if (deps.length) {\n let ptr = 0;\n for (let i = 0; i < deps.length; i++) {\n const dep = deps[i];\n if (wasTracked(dep) && !newTracked(dep)) {\n dep.delete(effect);\n } else {\n deps[ptr++] = dep;\n }\n dep.w &= ~trackOpBit;\n dep.n &= ~trackOpBit;\n }\n deps.length = ptr;\n }\n};\n\nconst targetMap = /* @__PURE__ */ new WeakMap();\nlet effectTrackDepth = 0;\nlet trackOpBit = 1;\nconst maxMarkerBits = 30;\nlet activeEffect;\nconst ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"iterate\" : \"\");\nconst MAP_KEY_ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"Map key iterate\" : \"\");\nclass ReactiveEffect {\n constructor(fn, scheduler = null, scope) {\n this.fn = fn;\n this.scheduler = scheduler;\n this.active = true;\n this.deps = [];\n this.parent = void 0;\n recordEffectScope(this, scope);\n }\n run() {\n if (!this.active) {\n return this.fn();\n }\n let parent = activeEffect;\n let lastShouldTrack = shouldTrack;\n while (parent) {\n if (parent === this) {\n return;\n }\n parent = parent.parent;\n }\n try {\n this.parent = activeEffect;\n activeEffect = this;\n shouldTrack = true;\n trackOpBit = 1 << ++effectTrackDepth;\n if (effectTrackDepth <= maxMarkerBits) {\n initDepMarkers(this);\n } else {\n cleanupEffect(this);\n }\n return this.fn();\n } finally {\n if (effectTrackDepth <= maxMarkerBits) {\n finalizeDepMarkers(this);\n }\n trackOpBit = 1 << --effectTrackDepth;\n activeEffect = this.parent;\n shouldTrack = lastShouldTrack;\n this.parent = void 0;\n if (this.deferStop) {\n this.stop();\n }\n }\n }\n stop() {\n if (activeEffect === this) {\n this.deferStop = true;\n } else if (this.active) {\n cleanupEffect(this);\n if (this.onStop) {\n this.onStop();\n }\n this.active = false;\n }\n }\n}\nfunction cleanupEffect(effect2) {\n const { deps } = effect2;\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].delete(effect2);\n }\n deps.length = 0;\n }\n}\nfunction effect(fn, options) {\n if (fn.effect) {\n fn = fn.effect.fn;\n }\n const _effect = new ReactiveEffect(fn);\n if (options) {\n extend(_effect, options);\n if (options.scope)\n recordEffectScope(_effect, options.scope);\n }\n if (!options || !options.lazy) {\n _effect.run();\n }\n const runner = _effect.run.bind(_effect);\n runner.effect = _effect;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction enableTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = true;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === void 0 ? true : last;\n}\nfunction track(target, type, key) {\n if (shouldTrack && activeEffect) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, depsMap = /* @__PURE__ */ new Map());\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, dep = createDep());\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { effect: activeEffect, target, type, key } : void 0;\n trackEffects(dep, eventInfo);\n }\n}\nfunction trackEffects(dep, debuggerEventExtraInfo) {\n let shouldTrack2 = false;\n if (effectTrackDepth <= maxMarkerBits) {\n if (!newTracked(dep)) {\n dep.n |= trackOpBit;\n shouldTrack2 = !wasTracked(dep);\n }\n } else {\n shouldTrack2 = !dep.has(activeEffect);\n }\n if (shouldTrack2) {\n dep.add(activeEffect);\n activeEffect.deps.push(dep);\n if (!!(process.env.NODE_ENV !== \"production\") && activeEffect.onTrack) {\n activeEffect.onTrack(\n extend(\n {\n effect: activeEffect\n },\n debuggerEventExtraInfo\n )\n );\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n return;\n }\n let deps = [];\n if (type === \"clear\") {\n deps = [...depsMap.values()];\n } else if (key === \"length\" && isArray(target)) {\n const newLength = Number(newValue);\n depsMap.forEach((dep, key2) => {\n if (key2 === \"length\" || key2 >= newLength) {\n deps.push(dep);\n }\n });\n } else {\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n switch (type) {\n case \"add\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n } else if (isIntegerKey(key)) {\n deps.push(depsMap.get(\"length\"));\n }\n break;\n case \"delete\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\":\n if (isMap(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { target, type, key, newValue, oldValue, oldTarget } : void 0;\n if (deps.length === 1) {\n if (deps[0]) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(deps[0], eventInfo);\n } else {\n triggerEffects(deps[0]);\n }\n }\n } else {\n const effects = [];\n for (const dep of deps) {\n if (dep) {\n effects.push(...dep);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(createDep(effects), eventInfo);\n } else {\n triggerEffects(createDep(effects));\n }\n }\n}\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\n const effects = isArray(dep) ? dep : [...dep];\n for (const effect2 of effects) {\n if (effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n for (const effect2 of effects) {\n if (!effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n}\nfunction triggerEffect(effect2, debuggerEventExtraInfo) {\n if (effect2 !== activeEffect || effect2.allowRecurse) {\n if (!!(process.env.NODE_ENV !== \"production\") && effect2.onTrigger) {\n effect2.onTrigger(extend({ effect: effect2 }, debuggerEventExtraInfo));\n }\n if (effect2.scheduler) {\n effect2.scheduler();\n } else {\n effect2.run();\n }\n }\n}\nfunction getDepFromReactive(object, key) {\n var _a;\n return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);\n}\n\nconst isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== \"arguments\" && key !== \"caller\").map((key) => Symbol[key]).filter(isSymbol)\n);\nconst get$1 = /* @__PURE__ */ createGetter();\nconst shallowGet = /* @__PURE__ */ createGetter(false, true);\nconst readonlyGet = /* @__PURE__ */ createGetter(true);\nconst shallowReadonlyGet = /* @__PURE__ */ createGetter(true, true);\nconst arrayInstrumentations = /* @__PURE__ */ createArrayInstrumentations();\nfunction createArrayInstrumentations() {\n const instrumentations = {};\n [\"includes\", \"indexOf\", \"lastIndexOf\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n const arr = toRaw(this);\n for (let i = 0, l = this.length; i < l; i++) {\n track(arr, \"get\", i + \"\");\n }\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n return arr[key](...args.map(toRaw));\n } else {\n return res;\n }\n };\n });\n [\"push\", \"pop\", \"shift\", \"unshift\", \"splice\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n pauseTracking();\n const res = toRaw(this)[key].apply(this, args);\n resetTracking();\n return res;\n };\n });\n return instrumentations;\n}\nfunction hasOwnProperty(key) {\n const obj = toRaw(this);\n track(obj, \"has\", key);\n return obj.hasOwnProperty(key);\n}\nfunction createGetter(isReadonly2 = false, shallow = false) {\n return function get2(target, key, receiver) {\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_isShallow\") {\n return shallow;\n } else if (key === \"__v_raw\" && receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target)) {\n return target;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly2) {\n if (targetIsArray && hasOwn(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n if (key === \"hasOwnProperty\") {\n return hasOwnProperty;\n }\n }\n const res = Reflect.get(target, key, receiver);\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly2) {\n track(target, \"get\", key);\n }\n if (shallow) {\n return res;\n }\n if (isRef(res)) {\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n return isReadonly2 ? readonly(res) : reactive(res);\n }\n return res;\n };\n}\nconst set$1 = /* @__PURE__ */ createSetter();\nconst shallowSet = /* @__PURE__ */ createSetter(true);\nfunction createSetter(shallow = false) {\n return function set2(target, key, value, receiver) {\n let oldValue = target[key];\n if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {\n return false;\n }\n if (!shallow) {\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n }\n }\n const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);\n const result = Reflect.set(target, key, value, receiver);\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n }\n return result;\n };\n}\nfunction deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction has$1(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\", key);\n }\n return result;\n}\nfunction ownKeys(target) {\n track(target, \"iterate\", isArray(target) ? \"length\" : ITERATE_KEY);\n return Reflect.ownKeys(target);\n}\nconst mutableHandlers = {\n get: get$1,\n set: set$1,\n deleteProperty,\n has: has$1,\n ownKeys\n};\nconst readonlyHandlers = {\n get: readonlyGet,\n set(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Set operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n },\n deleteProperty(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Delete operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n};\nconst shallowReactiveHandlers = /* @__PURE__ */ extend(\n {},\n mutableHandlers,\n {\n get: shallowGet,\n set: shallowSet\n }\n);\nconst shallowReadonlyHandlers = /* @__PURE__ */ extend(\n {},\n readonlyHandlers,\n {\n get: shallowReadonlyGet\n }\n);\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction get(target, key, isReadonly = false, isShallow = false) {\n target = target[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"get\", key);\n }\n track(rawTarget, \"get\", rawKey);\n }\n const { has: has2 } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has2.call(rawTarget, key)) {\n return wrap(target.get(key));\n } else if (has2.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n } else if (target !== rawTarget) {\n target.get(key);\n }\n}\nfunction has(key, isReadonly = false) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"has\", key);\n }\n track(rawTarget, \"has\", rawKey);\n }\n return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\"];\n !isReadonly && track(toRaw(target), \"iterate\", ITERATE_KEY);\n return Reflect.get(target, \"size\", target);\n}\nfunction add(value) {\n value = toRaw(value);\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\", value, value);\n }\n return this;\n}\nfunction set(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2 ? get2.call(target, key) : void 0;\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = !!(process.env.NODE_ENV !== \"production\") ? isMap(target) ? new Map(target) : new Set(target) : void 0;\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\", void 0, void 0, oldTarget);\n }\n return result;\n}\nfunction createForEach(isReadonly, isShallow) {\n return function forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\", ITERATE_KEY);\n return target.forEach((value, key) => {\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n };\n}\nfunction createIterableMethod(method, isReadonly, isShallow) {\n return function(...args) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === \"entries\" || method === Symbol.iterator && targetIsMap;\n const isKeyOnly = method === \"keys\" && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(\n rawTarget,\n \"iterate\",\n isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY\n );\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done ? { value, done } : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function(...args) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n console.warn(\n `${capitalize(type)} operation ${key}failed: target is readonly.`,\n toRaw(this)\n );\n }\n return type === \"delete\" ? false : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations2 = {\n get(key) {\n return get(this, key);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations2 = {\n get(key) {\n return get(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = [\"keys\", \"values\", \"entries\", Symbol.iterator];\n iteratorMethods.forEach((method) => {\n mutableInstrumentations2[method] = createIterableMethod(\n method,\n false,\n false\n );\n readonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n false\n );\n shallowInstrumentations2[method] = createIterableMethod(\n method,\n false,\n true\n );\n shallowReadonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n true\n );\n });\n return [\n mutableInstrumentations2,\n readonlyInstrumentations2,\n shallowInstrumentations2,\n shallowReadonlyInstrumentations2\n ];\n}\nconst [\n mutableInstrumentations,\n readonlyInstrumentations,\n shallowInstrumentations,\n shallowReadonlyInstrumentations\n] = /* @__PURE__ */ createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow ? isReadonly ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly ? readonlyInstrumentations : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\") {\n return !isReadonly;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly;\n } else if (key === \"__v_raw\") {\n return target;\n }\n return Reflect.get(\n hasOwn(instrumentations, key) && key in target ? instrumentations : target,\n key,\n receiver\n );\n };\n}\nconst mutableCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has2, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has2.call(target, rawKey)) {\n const type = toRawType(target);\n console.warn(\n `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`\n );\n }\n}\n\nconst reactiveMap = /* @__PURE__ */ new WeakMap();\nconst shallowReactiveMap = /* @__PURE__ */ new WeakMap();\nconst readonlyMap = /* @__PURE__ */ new WeakMap();\nconst shallowReadonlyMap = /* @__PURE__ */ new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case \"Object\":\n case \"Array\":\n return 1 /* COMMON */;\n case \"Map\":\n case \"Set\":\n case \"WeakMap\":\n case \"WeakSet\":\n return 2 /* COLLECTION */;\n default:\n return 0 /* INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(\n target,\n false,\n mutableHandlers,\n mutableCollectionHandlers,\n reactiveMap\n );\n}\nfunction shallowReactive(target) {\n return createReactiveObject(\n target,\n false,\n shallowReactiveHandlers,\n shallowCollectionHandlers,\n shallowReactiveMap\n );\n}\nfunction readonly(target) {\n return createReactiveObject(\n target,\n true,\n readonlyHandlers,\n readonlyCollectionHandlers,\n readonlyMap\n );\n}\nfunction shallowReadonly(target) {\n return createReactiveObject(\n target,\n true,\n shallowReadonlyHandlers,\n shallowReadonlyCollectionHandlers,\n shallowReadonlyMap\n );\n}\nfunction createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n console.warn(`value cannot be made reactive: ${String(target)}`);\n }\n return target;\n }\n if (target[\"__v_raw\"] && !(isReadonly2 && target[\"__v_isReactive\"])) {\n return target;\n }\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n const targetType = getTargetType(target);\n if (targetType === 0 /* INVALID */) {\n return target;\n }\n const proxy = new Proxy(\n target,\n targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers\n );\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\"]);\n }\n return !!(value && value[\"__v_isReactive\"]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\"]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n def(value, \"__v_skip\", true);\n return value;\n}\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nfunction trackRefValue(ref2) {\n if (shouldTrack && activeEffect) {\n ref2 = toRaw(ref2);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n trackEffects(ref2.dep || (ref2.dep = createDep()), {\n target: ref2,\n type: \"get\",\n key: \"value\"\n });\n } else {\n trackEffects(ref2.dep || (ref2.dep = createDep()));\n }\n }\n}\nfunction triggerRefValue(ref2, newVal) {\n ref2 = toRaw(ref2);\n const dep = ref2.dep;\n if (dep) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(dep, {\n target: ref2,\n type: \"set\",\n key: \"value\",\n newValue: newVal\n });\n } else {\n triggerEffects(dep);\n }\n }\n}\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, __v_isShallow) {\n this.__v_isShallow = __v_isShallow;\n this.dep = void 0;\n this.__v_isRef = true;\n this._rawValue = __v_isShallow ? value : toRaw(value);\n this._value = __v_isShallow ? value : toReactive(value);\n }\n get value() {\n trackRefValue(this);\n return this._value;\n }\n set value(newVal) {\n const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);\n newVal = useDirectValue ? newVal : toRaw(newVal);\n if (hasChanged(newVal, this._rawValue)) {\n this._rawValue = newVal;\n this._value = useDirectValue ? newVal : toReactive(newVal);\n triggerRefValue(this, newVal);\n }\n }\n}\nfunction triggerRef(ref2) {\n triggerRefValue(ref2, !!(process.env.NODE_ENV !== \"production\") ? ref2.value : void 0);\n}\nfunction unref(ref2) {\n return isRef(ref2) ? ref2.value : ref2;\n}\nfunction toValue(source) {\n return isFunction(source) ? source() : unref(source);\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n } else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = void 0;\n this.__v_isRef = true;\n const { get, set } = factory(\n () => trackRefValue(this),\n () => triggerRefValue(this)\n );\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isProxy(object)) {\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = propertyToRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this.__v_isRef = true;\n }\n get value() {\n const val = this._object[this._key];\n return val === void 0 ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n get dep() {\n return getDepFromReactive(toRaw(this._object), this._key);\n }\n}\nclass GetterRefImpl {\n constructor(_getter) {\n this._getter = _getter;\n this.__v_isRef = true;\n this.__v_isReadonly = true;\n }\n get value() {\n return this._getter();\n }\n}\nfunction toRef(source, key, defaultValue) {\n if (isRef(source)) {\n return source;\n } else if (isFunction(source)) {\n return new GetterRefImpl(source);\n } else if (isObject(source) && arguments.length > 1) {\n return propertyToRef(source, key, defaultValue);\n } else {\n return ref(source);\n }\n}\nfunction propertyToRef(source, key, defaultValue) {\n const val = source[key];\n return isRef(val) ? val : new ObjectRefImpl(\n source,\n key,\n defaultValue\n );\n}\n\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this._setter = _setter;\n this.dep = void 0;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = false;\n this._dirty = true;\n this.effect = new ReactiveEffect(getter, () => {\n if (!this._dirty) {\n this._dirty = true;\n triggerRefValue(this);\n }\n });\n this.effect.computed = this;\n this.effect.active = this._cacheable = !isSSR;\n this[\"__v_isReadonly\"] = isReadonly;\n }\n get value() {\n const self = toRaw(this);\n trackRefValue(self);\n if (self._dirty || !self._cacheable) {\n self._dirty = false;\n self._value = self.effect.run();\n }\n return self._value;\n }\n set value(newValue) {\n this._setter(newValue);\n }\n}\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n const onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = !!(process.env.NODE_ENV !== \"production\") ? () => {\n console.warn(\"Write operation failed: computed value is readonly\");\n } : NOOP;\n } else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\n if (!!(process.env.NODE_ENV !== \"production\") && debugOptions && !isSSR) {\n cRef.effect.onTrack = debugOptions.onTrack;\n cRef.effect.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nconst tick = /* @__PURE__ */ Promise.resolve();\nconst queue = [];\nlet queued = false;\nconst scheduler = (fn) => {\n queue.push(fn);\n if (!queued) {\n queued = true;\n tick.then(flush);\n }\n};\nconst flush = () => {\n for (let i = 0; i < queue.length; i++) {\n queue[i]();\n }\n queue.length = 0;\n queued = false;\n};\nclass DeferredComputedRefImpl {\n constructor(getter) {\n this.dep = void 0;\n this._dirty = true;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = true;\n let compareTarget;\n let hasCompareTarget = false;\n let scheduled = false;\n this.effect = new ReactiveEffect(getter, (computedTrigger) => {\n if (this.dep) {\n if (computedTrigger) {\n compareTarget = this._value;\n hasCompareTarget = true;\n } else if (!scheduled) {\n const valueToCompare = hasCompareTarget ? compareTarget : this._value;\n scheduled = true;\n hasCompareTarget = false;\n scheduler(() => {\n if (this.effect.active && this._get() !== valueToCompare) {\n triggerRefValue(this);\n }\n scheduled = false;\n });\n }\n for (const e of this.dep) {\n if (e.computed instanceof DeferredComputedRefImpl) {\n e.scheduler(\n true\n /* computedTrigger */\n );\n }\n }\n }\n this._dirty = true;\n });\n this.effect.computed = this;\n }\n _get() {\n if (this._dirty) {\n this._dirty = false;\n return this._value = this.effect.run();\n }\n return this._value;\n }\n get value() {\n trackRefValue(this);\n return toRaw(this)._get();\n }\n}\nfunction deferredComputed(getter) {\n return new DeferredComputedRefImpl(getter);\n}\n\nexport { EffectScope, ITERATE_KEY, ReactiveEffect, computed, customRef, deferredComputed, effect, effectScope, enableTracking, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, track, trigger, triggerRef, unref };\n","import { pauseTracking, resetTracking, isRef, toRaw, getCurrentScope, isShallow as isShallow$1, isReactive, ReactiveEffect, ref, shallowReadonly, track, reactive, shallowReactive, trigger, isProxy, proxyRefs, markRaw, EffectScope, computed as computed$1, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, isPromise, isArray, NOOP, getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, looseToNumber, hyphenate, camelize, isObject, isOn, hasOwn, isModelListener, toNumber, hasChanged, remove, isSet, isMap, isPlainObject, isBuiltInDirective, invokeArrayFns, isRegExp, capitalize, isGloballyWhitelisted, NO, def, isReservedProp, EMPTY_ARR, toRawType, makeMap, normalizeClass, normalizeStyle } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn(msg, ...args) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n msg + args.join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\nfunction assertNumber(val, type) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n if (val === void 0) {\n return;\n } else if (typeof val !== \"number\") {\n warn(`${type} is not a valid number - got ${JSON.stringify(val)}.`);\n } else if (isNaN(val)) {\n warn(`${type} is NaN - the duration expression might be incorrect.`);\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n let res;\n try {\n res = args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n return res;\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch((err) => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings[type] : type;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(\n appErrorHandler,\n null,\n 10,\n [err, exposedInstance, errorInfo]\n );\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n throw err;\n } else {\n console.error(err);\n }\n } else {\n console.error(err);\n }\n}\n\nlet isFlushing = false;\nlet isFlushPending = false;\nconst queue = [];\nlet flushIndex = 0;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /* @__PURE__ */ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\nfunction findInsertionIndex(id) {\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = start + end >>> 1;\n const middleJobId = getId(queue[middle]);\n middleJobId < id ? start = middle + 1 : end = middle;\n }\n return start;\n}\nfunction queueJob(job) {\n if (!queue.length || !queue.includes(\n job,\n isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex\n )) {\n if (job.id == null) {\n queue.push(job);\n } else {\n queue.splice(findInsertionIndex(job.id), 0, job);\n }\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!isFlushing && !isFlushPending) {\n isFlushPending = true;\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction invalidateJob(job) {\n const i = queue.indexOf(job);\n if (i > flushIndex) {\n queue.splice(i, 1);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (!activePostFlushCbs || !activePostFlushCbs.includes(\n cb,\n cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex\n )) {\n pendingPostFlushCbs.push(cb);\n }\n } else {\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(seen, i = isFlushing ? flushIndex + 1 : 0) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.pre) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n cb();\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)];\n pendingPostFlushCbs.length = 0;\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\n continue;\n }\n activePostFlushCbs[postFlushIndex]();\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? Infinity : job.id;\nconst comparator = (a, b) => {\n const diff = getId(a) - getId(b);\n if (diff === 0) {\n if (a.pre && !b.pre)\n return -1;\n if (b.pre && !a.pre)\n return 1;\n }\n return diff;\n};\nfunction flushJobs(seen) {\n isFlushPending = false;\n isFlushing = true;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n queue.sort(comparator);\n const check = !!(process.env.NODE_ENV !== \"production\") ? (job) => checkRecursiveUpdates(seen, job) : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && job.active !== false) {\n if (!!(process.env.NODE_ENV !== \"production\") && check(job)) {\n continue;\n }\n callWithErrorHandling(job, null, 14);\n }\n }\n } finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n if (!seen.has(fn)) {\n seen.set(fn, 1);\n } else {\n const count = seen.get(fn);\n if (count > RECURSION_LIMIT) {\n const instance = fn.ownerInstance;\n const componentName = instance && getComponentName(instance.type);\n warn(\n `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`\n );\n return true;\n } else {\n seen.set(fn, count + 1);\n }\n }\n}\n\nlet isHmrUpdating = false;\nconst hmrDirtyComponents = /* @__PURE__ */ new Set();\nif (!!(process.env.NODE_ENV !== \"production\")) {\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\n createRecord: tryWrap(createRecord),\n rerender: tryWrap(rerender),\n reload: tryWrap(reload)\n };\n}\nconst map = /* @__PURE__ */ new Map();\nfunction registerHMR(instance) {\n const id = instance.type.__hmrId;\n let record = map.get(id);\n if (!record) {\n createRecord(id, instance.type);\n record = map.get(id);\n }\n record.instances.add(instance);\n}\nfunction unregisterHMR(instance) {\n map.get(instance.type.__hmrId).instances.delete(instance);\n}\nfunction createRecord(id, initialDef) {\n if (map.has(id)) {\n return false;\n }\n map.set(id, {\n initialDef: normalizeClassComponent(initialDef),\n instances: /* @__PURE__ */ new Set()\n });\n return true;\n}\nfunction normalizeClassComponent(component) {\n return isClassComponent(component) ? component.__vccOpts : component;\n}\nfunction rerender(id, newRender) {\n const record = map.get(id);\n if (!record) {\n return;\n }\n record.initialDef.render = newRender;\n [...record.instances].forEach((instance) => {\n if (newRender) {\n instance.render = newRender;\n normalizeClassComponent(instance.type).render = newRender;\n }\n instance.renderCache = [];\n isHmrUpdating = true;\n instance.update();\n isHmrUpdating = false;\n });\n}\nfunction reload(id, newComp) {\n const record = map.get(id);\n if (!record)\n return;\n newComp = normalizeClassComponent(newComp);\n updateComponentDef(record.initialDef, newComp);\n const instances = [...record.instances];\n for (const instance of instances) {\n const oldComp = normalizeClassComponent(instance.type);\n if (!hmrDirtyComponents.has(oldComp)) {\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n hmrDirtyComponents.add(oldComp);\n }\n instance.appContext.propsCache.delete(instance.type);\n instance.appContext.emitsCache.delete(instance.type);\n instance.appContext.optionsCache.delete(instance.type);\n if (instance.ceReload) {\n hmrDirtyComponents.add(oldComp);\n instance.ceReload(newComp.styles);\n hmrDirtyComponents.delete(oldComp);\n } else if (instance.parent) {\n queueJob(instance.parent.update);\n } else if (instance.appContext.reload) {\n instance.appContext.reload();\n } else if (typeof window !== \"undefined\") {\n window.location.reload();\n } else {\n console.warn(\n \"[HMR] Root or manually mounted instance modified. Full reload required.\"\n );\n }\n }\n queuePostFlushCb(() => {\n for (const instance of instances) {\n hmrDirtyComponents.delete(\n normalizeClassComponent(instance.type)\n );\n }\n });\n}\nfunction updateComponentDef(oldComp, newComp) {\n extend(oldComp, newComp);\n for (const key in oldComp) {\n if (key !== \"__file\" && !(key in newComp)) {\n delete oldComp[key];\n }\n }\n}\nfunction tryWrap(fn) {\n return (id, arg) => {\n try {\n return fn(id, arg);\n } catch (e) {\n console.error(e);\n console.warn(\n `[HMR] Something went wrong during Vue component hot-reload. Full reload required.`\n );\n }\n };\n}\n\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit$1(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n } else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3e3);\n } else {\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit$1(\"app:init\" /* APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit$1(\"app:unmount\" /* APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:added\" /* COMPONENT_ADDED */\n);\nconst devtoolsComponentUpdated = /* @__PURE__ */ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:removed\" /* COMPONENT_REMOVED */\n);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools && typeof devtools.cleanupBuffer === \"function\" && // remove the component if it wasn't buffered\n !devtools.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit$1(\n hook,\n component.appContext.app,\n component.uid,\n component.parent ? component.parent.uid : void 0,\n component\n );\n };\n}\nconst devtoolsPerfStart = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:start\" /* PERFORMANCE_START */\n);\nconst devtoolsPerfEnd = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:end\" /* PERFORMANCE_END */\n);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit$1(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit$1(\n \"component:emit\" /* COMPONENT_EMIT */,\n component.appContext.app,\n component,\n event,\n params\n );\n}\n\nfunction emit(instance, event, ...rawArgs) {\n if (instance.isUnmounted)\n return;\n const props = instance.vnode.props || EMPTY_OBJ;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const {\n emitsOptions,\n propsOptions: [propsOptions]\n } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) && true) {\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\n warn(\n `Component emitted event \"${event}\" but it is neither declared in the emits option nor as an \"${toHandlerKey(event)}\" prop.`\n );\n }\n } else {\n const validator = emitsOptions[event];\n if (isFunction(validator)) {\n const isValid = validator(...rawArgs);\n if (!isValid) {\n warn(\n `Invalid event arguments: event validation failed for event \"${event}\".`\n );\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith(\"update:\");\n const modelArg = isModelListener && event.slice(7);\n if (modelArg && modelArg in props) {\n const modifiersKey = `${modelArg === \"modelValue\" ? \"model\" : modelArg}Modifiers`;\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\n if (trim) {\n args = rawArgs.map((a) => isString(a) ? a.trim() : a);\n }\n if (number) {\n args = rawArgs.map(looseToNumber);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentEmit(instance, event, args);\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\n warn(\n `Event \"${lowerCaseEvent}\" is emitted in component ${formatComponentName(\n instance,\n instance.type\n )} but the handler is registered for \"${event}\". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`\n );\n }\n }\n let handlerName;\n let handler = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249)\n props[handlerName = toHandlerKey(camelize(event))];\n if (!handler && isModelListener) {\n handler = props[handlerName = toHandlerKey(hyphenate(event))];\n }\n if (handler) {\n callWithAsyncErrorHandling(\n handler,\n instance,\n 6,\n args\n );\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n } else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(\n onceHandler,\n instance,\n 6,\n args\n );\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== void 0) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendEmits = (raw2) => {\n const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);\n if (normalizedFromExtend) {\n hasExtends = true;\n extend(normalized, normalizedFromExtend);\n }\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendEmits);\n }\n if (comp.extends) {\n extendEmits(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendEmits);\n }\n }\n if (!raw && !hasExtends) {\n if (isObject(comp)) {\n cache.set(comp, null);\n }\n return null;\n }\n if (isArray(raw)) {\n raw.forEach((key) => normalized[key] = null);\n } else {\n extend(normalized, raw);\n }\n if (isObject(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\nfunction isEmitListener(options, key) {\n if (!options || !isOn(key)) {\n return false;\n }\n key = key.slice(2).replace(/Once$/, \"\");\n return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);\n}\n\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = instance && instance.type.__scopeId || null;\n return prev;\n}\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\nfunction popScopeId() {\n currentScopeId = null;\n}\nconst withScopeId = (_id) => withCtx;\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {\n if (!ctx)\n return fn;\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n } finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n renderFnWithContext._n = true;\n renderFnWithContext._c = true;\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\nlet accessedAttrs = false;\nfunction markAttrsAccessed() {\n accessedAttrs = true;\n}\nfunction renderComponentRoot(instance) {\n const {\n type: Component,\n vnode,\n proxy,\n withProxy,\n props,\n propsOptions: [propsOptions],\n slots,\n attrs,\n emit,\n render,\n renderCache,\n data,\n setupState,\n ctx,\n inheritAttrs\n } = instance;\n let result;\n let fallthroughAttrs;\n const prev = setCurrentRenderingInstance(instance);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n accessedAttrs = false;\n }\n try {\n if (vnode.shapeFlag & 4) {\n const proxyToUse = withProxy || proxy;\n result = normalizeVNode(\n render.call(\n proxyToUse,\n proxyToUse,\n renderCache,\n props,\n setupState,\n data,\n ctx\n )\n );\n fallthroughAttrs = attrs;\n } else {\n const render2 = Component;\n if (!!(process.env.NODE_ENV !== \"production\") && attrs === props) {\n markAttrsAccessed();\n }\n result = normalizeVNode(\n render2.length > 1 ? render2(\n props,\n !!(process.env.NODE_ENV !== \"production\") ? {\n get attrs() {\n markAttrsAccessed();\n return attrs;\n },\n slots,\n emit\n } : { attrs, slots, emit }\n ) : render2(\n props,\n null\n /* we know it doesn't need it */\n )\n );\n fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);\n }\n } catch (err) {\n blockStack.length = 0;\n handleError(err, instance, 1);\n result = createVNode(Comment);\n }\n let root = result;\n let setRoot = void 0;\n if (!!(process.env.NODE_ENV !== \"production\") && result.patchFlag > 0 && result.patchFlag & 2048) {\n [root, setRoot] = getChildRoot(result);\n }\n if (fallthroughAttrs && inheritAttrs !== false) {\n const keys = Object.keys(fallthroughAttrs);\n const { shapeFlag } = root;\n if (keys.length) {\n if (shapeFlag & (1 | 6)) {\n if (propsOptions && keys.some(isModelListener)) {\n fallthroughAttrs = filterModelListeners(\n fallthroughAttrs,\n propsOptions\n );\n }\n root = cloneVNode(root, fallthroughAttrs);\n } else if (!!(process.env.NODE_ENV !== \"production\") && !accessedAttrs && root.type !== Comment) {\n const allAttrs = Object.keys(attrs);\n const eventAttrs = [];\n const extraAttrs = [];\n for (let i = 0, l = allAttrs.length; i < l; i++) {\n const key = allAttrs[i];\n if (isOn(key)) {\n if (!isModelListener(key)) {\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\n }\n } else {\n extraAttrs.push(key);\n }\n }\n if (extraAttrs.length) {\n warn(\n `Extraneous non-props attributes (${extraAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`\n );\n }\n if (eventAttrs.length) {\n warn(\n `Extraneous non-emits event listeners (${eventAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the \"emits\" option.`\n );\n }\n }\n }\n }\n if (vnode.dirs) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Runtime directive used on component with non-element root node. The directives will not function as intended.`\n );\n }\n root = cloneVNode(root);\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\n }\n if (vnode.transition) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Component inside renders non-element root node that cannot be animated.`\n );\n }\n root.transition = vnode.transition;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && setRoot) {\n setRoot(root);\n } else {\n result = root;\n }\n setCurrentRenderingInstance(prev);\n return result;\n}\nconst getChildRoot = (vnode) => {\n const rawChildren = vnode.children;\n const dynamicChildren = vnode.dynamicChildren;\n const childRoot = filterSingleRoot(rawChildren);\n if (!childRoot) {\n return [vnode, void 0];\n }\n const index = rawChildren.indexOf(childRoot);\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\n const setRoot = (updatedRoot) => {\n rawChildren[index] = updatedRoot;\n if (dynamicChildren) {\n if (dynamicIndex > -1) {\n dynamicChildren[dynamicIndex] = updatedRoot;\n } else if (updatedRoot.patchFlag > 0) {\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\n }\n }\n };\n return [normalizeVNode(childRoot), setRoot];\n};\nfunction filterSingleRoot(children) {\n let singleRoot;\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (isVNode(child)) {\n if (child.type !== Comment || child.children === \"v-if\") {\n if (singleRoot) {\n return;\n } else {\n singleRoot = child;\n }\n }\n } else {\n return;\n }\n }\n return singleRoot;\n}\nconst getFunctionalFallthrough = (attrs) => {\n let res;\n for (const key in attrs) {\n if (key === \"class\" || key === \"style\" || isOn(key)) {\n (res || (res = {}))[key] = attrs[key];\n }\n }\n return res;\n};\nconst filterModelListeners = (attrs, props) => {\n const res = {};\n for (const key in attrs) {\n if (!isModelListener(key) || !(key.slice(9) in props)) {\n res[key] = attrs[key];\n }\n }\n return res;\n};\nconst isElementRoot = (vnode) => {\n return vnode.shapeFlag & (6 | 1) || vnode.type === Comment;\n};\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\n const { props: prevProps, children: prevChildren, component } = prevVNode;\n const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\n const emits = component.emitsOptions;\n if (!!(process.env.NODE_ENV !== \"production\") && (prevChildren || nextChildren) && isHmrUpdating) {\n return true;\n }\n if (nextVNode.dirs || nextVNode.transition) {\n return true;\n }\n if (optimized && patchFlag >= 0) {\n if (patchFlag & 1024) {\n return true;\n }\n if (patchFlag & 16) {\n if (!prevProps) {\n return !!nextProps;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n } else if (patchFlag & 8) {\n const dynamicProps = nextVNode.dynamicProps;\n for (let i = 0; i < dynamicProps.length; i++) {\n const key = dynamicProps[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) {\n return true;\n }\n }\n }\n } else {\n if (prevChildren || nextChildren) {\n if (!nextChildren || !nextChildren.$stable) {\n return true;\n }\n }\n if (prevProps === nextProps) {\n return false;\n }\n if (!prevProps) {\n return !!nextProps;\n }\n if (!nextProps) {\n return true;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n return false;\n}\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\n const nextKeys = Object.keys(nextProps);\n if (nextKeys.length !== Object.keys(prevProps).length) {\n return true;\n }\n for (let i = 0; i < nextKeys.length; i++) {\n const key = nextKeys[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {\n return true;\n }\n }\n return false;\n}\nfunction updateHOCHostEl({ vnode, parent }, el) {\n while (parent && parent.subTree === vnode) {\n (vnode = parent.vnode).el = el;\n parent = parent.parent;\n }\n}\n\nconst isSuspense = (type) => type.__isSuspense;\nconst SuspenseImpl = {\n name: \"Suspense\",\n // In order to make Suspense tree-shakable, we need to avoid importing it\n // directly in the renderer. The renderer checks for the __isSuspense flag\n // on a vnode's type and calls the `process` method, passing in renderer\n // internals.\n __isSuspense: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n if (n1 == null) {\n mountSuspense(\n n2,\n container,\n anchor,\n parentComponent,\n parentSuspense,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n } else {\n patchSuspense(\n n1,\n n2,\n container,\n anchor,\n parentComponent,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n }\n },\n hydrate: hydrateSuspense,\n create: createSuspenseBoundary,\n normalize: normalizeSuspenseChildren\n};\nconst Suspense = SuspenseImpl ;\nfunction triggerEvent(vnode, name) {\n const eventListener = vnode.props && vnode.props[name];\n if (isFunction(eventListener)) {\n eventListener();\n }\n}\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n const {\n p: patch,\n o: { createElement }\n } = rendererInternals;\n const hiddenContainer = createElement(\"div\");\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n container,\n hiddenContainer,\n anchor,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n patch(\n null,\n suspense.pendingBranch = vnode.ssContent,\n hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds\n );\n if (suspense.deps > 0) {\n triggerEvent(vnode, \"onPending\");\n triggerEvent(vnode, \"onFallback\");\n patch(\n null,\n vnode.ssFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds\n );\n setActiveBranch(suspense, vnode.ssFallback);\n } else {\n suspense.resolve(false, true);\n }\n}\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\n const suspense = n2.suspense = n1.suspense;\n suspense.vnode = n2;\n n2.el = n1.el;\n const newBranch = n2.ssContent;\n const newFallback = n2.ssFallback;\n const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\n if (pendingBranch) {\n suspense.pendingBranch = newBranch;\n if (isSameVNodeType(newBranch, pendingBranch)) {\n patch(\n pendingBranch,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else if (isInFallback) {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else {\n suspense.pendingId++;\n if (isHydrating) {\n suspense.isHydrating = false;\n suspense.activeBranch = pendingBranch;\n } else {\n unmount(pendingBranch, parentComponent, suspense);\n }\n suspense.deps = 0;\n suspense.effects.length = 0;\n suspense.hiddenContainer = createElement(\"div\");\n if (isInFallback) {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n suspense.resolve(true);\n } else {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n }\n }\n } else {\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newBranch);\n } else {\n triggerEvent(n2, \"onPending\");\n suspense.pendingBranch = newBranch;\n suspense.pendingId++;\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n const { timeout, pendingId } = suspense;\n if (timeout > 0) {\n setTimeout(() => {\n if (suspense.pendingId === pendingId) {\n suspense.fallback(newFallback);\n }\n }, timeout);\n } else if (timeout === 0) {\n suspense.fallback(newFallback);\n }\n }\n }\n }\n}\nlet hasWarned = false;\nfunction createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\n if (!!(process.env.NODE_ENV !== \"production\") && true && !hasWarned) {\n hasWarned = true;\n console[console.info ? \"info\" : \"log\"](\n ` is an experimental feature and its API will likely change.`\n );\n }\n const {\n p: patch,\n m: move,\n um: unmount,\n n: next,\n o: { parentNode, remove }\n } = rendererInternals;\n let parentSuspenseId;\n const isSuspensible = isVNodeSuspensible(vnode);\n if (isSuspensible) {\n if (parentSuspense == null ? void 0 : parentSuspense.pendingBranch) {\n parentSuspenseId = parentSuspense.pendingId;\n parentSuspense.deps++;\n }\n }\n const timeout = vnode.props ? toNumber(vnode.props.timeout) : void 0;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n assertNumber(timeout, `Suspense timeout`);\n }\n const suspense = {\n vnode,\n parent: parentSuspense,\n parentComponent,\n isSVG,\n container,\n hiddenContainer,\n anchor,\n deps: 0,\n pendingId: 0,\n timeout: typeof timeout === \"number\" ? timeout : -1,\n activeBranch: null,\n pendingBranch: null,\n isInFallback: true,\n isHydrating,\n isUnmounted: false,\n effects: [],\n resolve(resume = false, sync = false) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (!resume && !suspense.pendingBranch) {\n throw new Error(\n `suspense.resolve() is called without a pending branch.`\n );\n }\n if (suspense.isUnmounted) {\n throw new Error(\n `suspense.resolve() is called on an already unmounted suspense boundary.`\n );\n }\n }\n const {\n vnode: vnode2,\n activeBranch,\n pendingBranch,\n pendingId,\n effects,\n parentComponent: parentComponent2,\n container: container2\n } = suspense;\n if (suspense.isHydrating) {\n suspense.isHydrating = false;\n } else if (!resume) {\n const delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = () => {\n if (pendingId === suspense.pendingId) {\n move(pendingBranch, container2, anchor2, 0);\n }\n };\n }\n let { anchor: anchor2 } = suspense;\n if (activeBranch) {\n anchor2 = next(activeBranch);\n unmount(activeBranch, parentComponent2, suspense, true);\n }\n if (!delayEnter) {\n move(pendingBranch, container2, anchor2, 0);\n }\n }\n setActiveBranch(suspense, pendingBranch);\n suspense.pendingBranch = null;\n suspense.isInFallback = false;\n let parent = suspense.parent;\n let hasUnresolvedAncestor = false;\n while (parent) {\n if (parent.pendingBranch) {\n parent.effects.push(...effects);\n hasUnresolvedAncestor = true;\n break;\n }\n parent = parent.parent;\n }\n if (!hasUnresolvedAncestor) {\n queuePostFlushCb(effects);\n }\n suspense.effects = [];\n if (isSuspensible) {\n if (parentSuspense && parentSuspense.pendingBranch && parentSuspenseId === parentSuspense.pendingId) {\n parentSuspense.deps--;\n if (parentSuspense.deps === 0 && !sync) {\n parentSuspense.resolve();\n }\n }\n }\n triggerEvent(vnode2, \"onResolve\");\n },\n fallback(fallbackVNode) {\n if (!suspense.pendingBranch) {\n return;\n }\n const { vnode: vnode2, activeBranch, parentComponent: parentComponent2, container: container2, isSVG: isSVG2 } = suspense;\n triggerEvent(vnode2, \"onFallback\");\n const anchor2 = next(activeBranch);\n const mountFallback = () => {\n if (!suspense.isInFallback) {\n return;\n }\n patch(\n null,\n fallbackVNode,\n container2,\n anchor2,\n parentComponent2,\n null,\n // fallback tree will not have suspense context\n isSVG2,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, fallbackVNode);\n };\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = mountFallback;\n }\n suspense.isInFallback = true;\n unmount(\n activeBranch,\n parentComponent2,\n null,\n // no suspense so unmount hooks fire now\n true\n // shouldRemove\n );\n if (!delayEnter) {\n mountFallback();\n }\n },\n move(container2, anchor2, type) {\n suspense.activeBranch && move(suspense.activeBranch, container2, anchor2, type);\n suspense.container = container2;\n },\n next() {\n return suspense.activeBranch && next(suspense.activeBranch);\n },\n registerDep(instance, setupRenderEffect) {\n const isInPendingSuspense = !!suspense.pendingBranch;\n if (isInPendingSuspense) {\n suspense.deps++;\n }\n const hydratedEl = instance.vnode.el;\n instance.asyncDep.catch((err) => {\n handleError(err, instance, 0);\n }).then((asyncSetupResult) => {\n if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {\n return;\n }\n instance.asyncResolved = true;\n const { vnode: vnode2 } = instance;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n pushWarningContext(vnode2);\n }\n handleSetupResult(instance, asyncSetupResult, false);\n if (hydratedEl) {\n vnode2.el = hydratedEl;\n }\n const placeholder = !hydratedEl && instance.subTree.el;\n setupRenderEffect(\n instance,\n vnode2,\n // component may have been moved before resolve.\n // if this is not a hydration, instance.subTree will be the comment\n // placeholder.\n parentNode(hydratedEl || instance.subTree.el),\n // anchor will not be used if this is hydration, so only need to\n // consider the comment placeholder case.\n hydratedEl ? null : next(instance.subTree),\n suspense,\n isSVG,\n optimized\n );\n if (placeholder) {\n remove(placeholder);\n }\n updateHOCHostEl(instance, vnode2.el);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n popWarningContext();\n }\n if (isInPendingSuspense && --suspense.deps === 0) {\n suspense.resolve();\n }\n });\n },\n unmount(parentSuspense2, doRemove) {\n suspense.isUnmounted = true;\n if (suspense.activeBranch) {\n unmount(\n suspense.activeBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n if (suspense.pendingBranch) {\n unmount(\n suspense.pendingBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n }\n };\n return suspense;\n}\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n node.parentNode,\n document.createElement(\"div\"),\n null,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals,\n true\n /* hydrating */\n );\n const result = hydrateNode(\n node,\n suspense.pendingBranch = vnode.ssContent,\n parentComponent,\n suspense,\n slotScopeIds,\n optimized\n );\n if (suspense.deps === 0) {\n suspense.resolve(false, true);\n }\n return result;\n}\nfunction normalizeSuspenseChildren(vnode) {\n const { shapeFlag, children } = vnode;\n const isSlotChildren = shapeFlag & 32;\n vnode.ssContent = normalizeSuspenseSlot(\n isSlotChildren ? children.default : children\n );\n vnode.ssFallback = isSlotChildren ? normalizeSuspenseSlot(children.fallback) : createVNode(Comment);\n}\nfunction normalizeSuspenseSlot(s) {\n let block;\n if (isFunction(s)) {\n const trackBlock = isBlockTreeEnabled && s._c;\n if (trackBlock) {\n s._d = false;\n openBlock();\n }\n s = s();\n if (trackBlock) {\n s._d = true;\n block = currentBlock;\n closeBlock();\n }\n }\n if (isArray(s)) {\n const singleChild = filterSingleRoot(s);\n if (!!(process.env.NODE_ENV !== \"production\") && !singleChild) {\n warn(` slots expect a single root node.`);\n }\n s = singleChild;\n }\n s = normalizeVNode(s);\n if (block && !s.dynamicChildren) {\n s.dynamicChildren = block.filter((c) => c !== s);\n }\n return s;\n}\nfunction queueEffectWithSuspense(fn, suspense) {\n if (suspense && suspense.pendingBranch) {\n if (isArray(fn)) {\n suspense.effects.push(...fn);\n } else {\n suspense.effects.push(fn);\n }\n } else {\n queuePostFlushCb(fn);\n }\n}\nfunction setActiveBranch(suspense, branch) {\n suspense.activeBranch = branch;\n const { vnode, parentComponent } = suspense;\n const el = vnode.el = branch.el;\n if (parentComponent && parentComponent.subTree === vnode) {\n parentComponent.vnode.el = el;\n updateHOCHostEl(parentComponent, el);\n }\n}\nfunction isVNodeSuspensible(vnode) {\n var _a;\n return ((_a = vnode.props) == null ? void 0 : _a.suspensible) != null && vnode.props.suspensible !== false;\n}\n\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"post\" }) : { flush: \"post\" }\n );\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"sync\" }) : { flush: \"sync\" }\n );\n}\nconst INITIAL_WATCHER_VALUE = {};\nfunction watch(source, cb, options) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isFunction(cb)) {\n warn(\n `\\`watch(fn, options?)\\` signature has been moved to a separate API. Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only supports \\`watch(source, cb, options?) signature.`\n );\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {\n var _a;\n if (!!(process.env.NODE_ENV !== \"production\") && !cb) {\n if (immediate !== void 0) {\n warn(\n `watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (deep !== void 0) {\n warn(\n `watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n }\n const warnInvalidSource = (s) => {\n warn(\n `Invalid watch source: `,\n s,\n `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`\n );\n };\n const instance = getCurrentScope() === ((_a = currentInstance) == null ? void 0 : _a.scope) ? currentInstance : null;\n let getter;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow$1(source);\n } else if (isReactive(source)) {\n getter = () => source;\n deep = true;\n } else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some((s) => isReactive(s) || isShallow$1(s));\n getter = () => source.map((s) => {\n if (isRef(s)) {\n return s.value;\n } else if (isReactive(s)) {\n return traverse(s);\n } else if (isFunction(s)) {\n return callWithErrorHandling(s, instance, 2);\n } else {\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(s);\n }\n });\n } else if (isFunction(source)) {\n if (cb) {\n getter = () => callWithErrorHandling(source, instance, 2);\n } else {\n getter = () => {\n if (instance && instance.isUnmounted) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(\n source,\n instance,\n 3,\n [onCleanup]\n );\n };\n }\n } else {\n getter = NOOP;\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n getter = () => traverse(baseGetter());\n }\n let cleanup;\n let onCleanup = (fn) => {\n cleanup = effect.onStop = () => {\n callWithErrorHandling(fn, instance, 4);\n };\n };\n let ssrCleanup;\n if (isInSSRComponentSetup) {\n onCleanup = NOOP;\n if (!cb) {\n getter();\n } else if (immediate) {\n callWithAsyncErrorHandling(cb, instance, 3, [\n getter(),\n isMultiSource ? [] : void 0,\n onCleanup\n ]);\n }\n if (flush === \"sync\") {\n const ctx = useSSRContext();\n ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);\n } else {\n return NOOP;\n }\n }\n let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active) {\n return;\n }\n if (cb) {\n const newValue = effect.run();\n if (deep || forceTrigger || (isMultiSource ? newValue.some(\n (v, i) => hasChanged(v, oldValue[i])\n ) : hasChanged(newValue, oldValue)) || false) {\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n } else {\n effect.run();\n }\n };\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === \"sync\") {\n scheduler = job;\n } else if (flush === \"post\") {\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\n } else {\n job.pre = true;\n if (instance)\n job.id = instance.uid;\n scheduler = () => queueJob(job);\n }\n const effect = new ReactiveEffect(getter, scheduler);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n effect.onTrack = onTrack;\n effect.onTrigger = onTrigger;\n }\n if (cb) {\n if (immediate) {\n job();\n } else {\n oldValue = effect.run();\n }\n } else if (flush === \"post\") {\n queuePostRenderEffect(\n effect.run.bind(effect),\n instance && instance.suspense\n );\n } else {\n effect.run();\n }\n const unwatch = () => {\n effect.stop();\n if (instance && instance.scope) {\n remove(instance.scope.effects, effect);\n }\n };\n if (ssrCleanup)\n ssrCleanup.push(unwatch);\n return unwatch;\n}\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source) ? source.includes(\".\") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n } else {\n cb = value.handler;\n options = value;\n }\n const cur = currentInstance;\n setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n if (cur) {\n setCurrentInstance(cur);\n } else {\n unsetCurrentInstance();\n }\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split(\".\");\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\nfunction traverse(value, seen) {\n if (!isObject(value) || value[\"__v_skip\"]) {\n return value;\n }\n seen = seen || /* @__PURE__ */ new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n if (isRef(value)) {\n traverse(value.value, seen);\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], seen);\n }\n } else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, seen);\n });\n } else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], seen);\n }\n }\n return value;\n}\n\nfunction validateDirectiveName(name) {\n if (isBuiltInDirective(name)) {\n warn(\"Do not use built-in directive ids as custom directive id: \" + name);\n }\n}\nfunction withDirectives(vnode, directives) {\n const internalInstance = currentRenderingInstance;\n if (internalInstance === null) {\n !!(process.env.NODE_ENV !== \"production\") && warn(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getExposeProxy(internalInstance) || internalInstance.proxy;\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\n if (dir) {\n if (isFunction(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n }\n return vnode;\n}\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\n const bindings = vnode.dirs;\n const oldBindings = prevVNode && prevVNode.dirs;\n for (let i = 0; i < bindings.length; i++) {\n const binding = bindings[i];\n if (oldBindings) {\n binding.oldValue = oldBindings[i].value;\n }\n let hook = binding.dir[name];\n if (hook) {\n pauseTracking();\n callWithAsyncErrorHandling(hook, instance, 8, [\n vnode.el,\n binding,\n vnode,\n prevVNode\n ]);\n resetTracking();\n }\n }\n}\n\nfunction useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: /* @__PURE__ */ new Map()\n };\n onMounted(() => {\n state.isMounted = true;\n });\n onBeforeUnmount(() => {\n state.isUnmounting = true;\n });\n return state;\n}\nconst TransitionHookValidator = [Function, Array];\nconst BaseTransitionPropsValidators = {\n mode: String,\n appear: Boolean,\n persisted: Boolean,\n // enter\n onBeforeEnter: TransitionHookValidator,\n onEnter: TransitionHookValidator,\n onAfterEnter: TransitionHookValidator,\n onEnterCancelled: TransitionHookValidator,\n // leave\n onBeforeLeave: TransitionHookValidator,\n onLeave: TransitionHookValidator,\n onAfterLeave: TransitionHookValidator,\n onLeaveCancelled: TransitionHookValidator,\n // appear\n onBeforeAppear: TransitionHookValidator,\n onAppear: TransitionHookValidator,\n onAfterAppear: TransitionHookValidator,\n onAppearCancelled: TransitionHookValidator\n};\nconst BaseTransitionImpl = {\n name: `BaseTransition`,\n props: BaseTransitionPropsValidators,\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n let prevTransitionKey;\n return () => {\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\n if (!children || !children.length) {\n return;\n }\n let child = children[0];\n if (children.length > 1) {\n let hasFound = false;\n for (const c of children) {\n if (c.type !== Comment) {\n if (!!(process.env.NODE_ENV !== \"production\") && hasFound) {\n warn(\n \" can only be used on a single element or component. Use for lists.\"\n );\n break;\n }\n child = c;\n hasFound = true;\n if (!!!(process.env.NODE_ENV !== \"production\"))\n break;\n }\n }\n }\n const rawProps = toRaw(props);\n const { mode } = rawProps;\n if (!!(process.env.NODE_ENV !== \"production\") && mode && mode !== \"in-out\" && mode !== \"out-in\" && mode !== \"default\") {\n warn(`invalid mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n const innerChild = getKeepAliveChild(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n const enterHooks = resolveTransitionHooks(\n innerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(innerChild, enterHooks);\n const oldChild = instance.subTree;\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\n let transitionKeyChanged = false;\n const { getTransitionKey } = innerChild.type;\n if (getTransitionKey) {\n const key = getTransitionKey();\n if (prevTransitionKey === void 0) {\n prevTransitionKey = key;\n } else if (key !== prevTransitionKey) {\n prevTransitionKey = key;\n transitionKeyChanged = true;\n }\n }\n if (oldInnerChild && oldInnerChild.type !== Comment && (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\n const leavingHooks = resolveTransitionHooks(\n oldInnerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(oldInnerChild, leavingHooks);\n if (mode === \"out-in\") {\n state.isLeaving = true;\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n if (instance.update.active !== false) {\n instance.update();\n }\n };\n return emptyPlaceholder(child);\n } else if (mode === \"in-out\" && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(\n state,\n oldInnerChild\n );\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n el._leaveCb = () => {\n earlyRemove();\n el._leaveCb = void 0;\n delete enterHooks.delayedLeave;\n };\n enterHooks.delayedLeave = delayedLeave;\n };\n }\n }\n return child;\n };\n }\n};\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const { leavingVNodes } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = /* @__PURE__ */ Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\nfunction resolveTransitionHooks(vnode, props, state, instance) {\n const {\n appear,\n mode,\n persisted = false,\n onBeforeEnter,\n onEnter,\n onAfterEnter,\n onEnterCancelled,\n onBeforeLeave,\n onLeave,\n onAfterLeave,\n onLeaveCancelled,\n onBeforeAppear,\n onAppear,\n onAfterAppear,\n onAppearCancelled\n } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook && callWithAsyncErrorHandling(\n hook,\n instance,\n 9,\n args\n );\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if (isArray(hook)) {\n if (hook.every((hook2) => hook2.length <= 1))\n done();\n } else if (hook.length <= 1) {\n done();\n }\n };\n const hooks = {\n mode,\n persisted,\n beforeEnter(el) {\n let hook = onBeforeEnter;\n if (!state.isMounted) {\n if (appear) {\n hook = onBeforeAppear || onBeforeEnter;\n } else {\n return;\n }\n }\n if (el._leaveCb) {\n el._leaveCb(\n true\n /* cancelled */\n );\n }\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el._leaveCb) {\n leavingVNode.el._leaveCb();\n }\n callHook(hook, [el]);\n },\n enter(el) {\n let hook = onEnter;\n let afterHook = onAfterEnter;\n let cancelHook = onEnterCancelled;\n if (!state.isMounted) {\n if (appear) {\n hook = onAppear || onEnter;\n afterHook = onAfterAppear || onAfterEnter;\n cancelHook = onAppearCancelled || onEnterCancelled;\n } else {\n return;\n }\n }\n let called = false;\n const done = el._enterCb = (cancelled) => {\n if (called)\n return;\n called = true;\n if (cancelled) {\n callHook(cancelHook, [el]);\n } else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el._enterCb = void 0;\n };\n if (hook) {\n callAsyncHook(hook, [el, done]);\n } else {\n done();\n }\n },\n leave(el, remove) {\n const key2 = String(vnode.key);\n if (el._enterCb) {\n el._enterCb(\n true\n /* cancelled */\n );\n }\n if (state.isUnmounting) {\n return remove();\n }\n callHook(onBeforeLeave, [el]);\n let called = false;\n const done = el._leaveCb = (cancelled) => {\n if (called)\n return;\n called = true;\n remove();\n if (cancelled) {\n callHook(onLeaveCancelled, [el]);\n } else {\n callHook(onAfterLeave, [el]);\n }\n el._leaveCb = void 0;\n if (leavingVNodesCache[key2] === vnode) {\n delete leavingVNodesCache[key2];\n }\n };\n leavingVNodesCache[key2] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n } else {\n done();\n }\n },\n clone(vnode2) {\n return resolveTransitionHooks(vnode2, props, state, instance);\n }\n };\n return hooks;\n}\nfunction emptyPlaceholder(vnode) {\n if (isKeepAlive(vnode)) {\n vnode = cloneVNode(vnode);\n vnode.children = null;\n return vnode;\n }\n}\nfunction getKeepAliveChild(vnode) {\n return isKeepAlive(vnode) ? vnode.children ? vnode.children[0] : void 0 : vnode;\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 && vnode.component) {\n setTransitionHooks(vnode.component.subTree, hooks);\n } else if (vnode.shapeFlag & 128) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n } else {\n vnode.transition = hooks;\n }\n}\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\n let ret = [];\n let keyedFragmentCount = 0;\n for (let i = 0; i < children.length; i++) {\n let child = children[i];\n const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i);\n if (child.type === Fragment) {\n if (child.patchFlag & 128)\n keyedFragmentCount++;\n ret = ret.concat(\n getTransitionRawChildren(child.children, keepComment, key)\n );\n } else if (keepComment || child.type !== Comment) {\n ret.push(key != null ? cloneVNode(child, { key }) : child);\n }\n }\n if (keyedFragmentCount > 1) {\n for (let i = 0; i < ret.length; i++) {\n ret[i].patchFlag = -2;\n }\n }\n return ret;\n}\n\nfunction defineComponent(options, extraOptions) {\n return isFunction(options) ? (\n // #8326: extend call and options.name access are considered side-effects\n // by Rollup, so we have to wrap it in a pure-annotated IIFE.\n /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()\n ) : options;\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\nfunction defineAsyncComponent(source) {\n if (isFunction(source)) {\n source = { loader: source };\n }\n const {\n loader,\n loadingComponent,\n errorComponent,\n delay = 200,\n timeout,\n // undefined = never times out\n suspensible = true,\n onError: userOnError\n } = source;\n let pendingRequest = null;\n let resolvedComp;\n let retries = 0;\n const retry = () => {\n retries++;\n pendingRequest = null;\n return load();\n };\n const load = () => {\n let thisRequest;\n return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {\n err = err instanceof Error ? err : new Error(String(err));\n if (userOnError) {\n return new Promise((resolve, reject) => {\n const userRetry = () => resolve(retry());\n const userFail = () => reject(err);\n userOnError(err, userRetry, userFail, retries + 1);\n });\n } else {\n throw err;\n }\n }).then((comp) => {\n if (thisRequest !== pendingRequest && pendingRequest) {\n return pendingRequest;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && !comp) {\n warn(\n `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`\n );\n }\n if (comp && (comp.__esModule || comp[Symbol.toStringTag] === \"Module\")) {\n comp = comp.default;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && comp && !isObject(comp) && !isFunction(comp)) {\n throw new Error(`Invalid async component load result: ${comp}`);\n }\n resolvedComp = comp;\n return comp;\n }));\n };\n return defineComponent({\n name: \"AsyncComponentWrapper\",\n __asyncLoader: load,\n get __asyncResolved() {\n return resolvedComp;\n },\n setup() {\n const instance = currentInstance;\n if (resolvedComp) {\n return () => createInnerComp(resolvedComp, instance);\n }\n const onError = (err) => {\n pendingRequest = null;\n handleError(\n err,\n instance,\n 13,\n !errorComponent\n /* do not throw in dev if user provided error component */\n );\n };\n if (suspensible && instance.suspense || isInSSRComponentSetup) {\n return load().then((comp) => {\n return () => createInnerComp(comp, instance);\n }).catch((err) => {\n onError(err);\n return () => errorComponent ? createVNode(errorComponent, {\n error: err\n }) : null;\n });\n }\n const loaded = ref(false);\n const error = ref();\n const delayed = ref(!!delay);\n if (delay) {\n setTimeout(() => {\n delayed.value = false;\n }, delay);\n }\n if (timeout != null) {\n setTimeout(() => {\n if (!loaded.value && !error.value) {\n const err = new Error(\n `Async component timed out after ${timeout}ms.`\n );\n onError(err);\n error.value = err;\n }\n }, timeout);\n }\n load().then(() => {\n loaded.value = true;\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\n queueJob(instance.parent.update);\n }\n }).catch((err) => {\n onError(err);\n error.value = err;\n });\n return () => {\n if (loaded.value && resolvedComp) {\n return createInnerComp(resolvedComp, instance);\n } else if (error.value && errorComponent) {\n return createVNode(errorComponent, {\n error: error.value\n });\n } else if (loadingComponent && !delayed.value) {\n return createVNode(loadingComponent);\n }\n };\n }\n });\n}\nfunction createInnerComp(comp, parent) {\n const { ref: ref2, props, children, ce } = parent.vnode;\n const vnode = createVNode(comp, props, children);\n vnode.ref = ref2;\n vnode.ce = ce;\n delete parent.vnode.ce;\n return vnode;\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\nconst KeepAliveImpl = {\n name: `KeepAlive`,\n // Marker for special handling inside the renderer. We are not using a ===\n // check directly on KeepAlive in the renderer, because importing it directly\n // would prevent it from being tree-shaken.\n __isKeepAlive: true,\n props: {\n include: [String, RegExp, Array],\n exclude: [String, RegExp, Array],\n max: [String, Number]\n },\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const sharedContext = instance.ctx;\n if (!sharedContext.renderer) {\n return () => {\n const children = slots.default && slots.default();\n return children && children.length === 1 ? children[0] : children;\n };\n }\n const cache = /* @__PURE__ */ new Map();\n const keys = /* @__PURE__ */ new Set();\n let current = null;\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n instance.__v_cache = cache;\n }\n const parentSuspense = instance.suspense;\n const {\n renderer: {\n p: patch,\n m: move,\n um: _unmount,\n o: { createElement }\n }\n } = sharedContext;\n const storageContainer = createElement(\"div\");\n sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {\n const instance2 = vnode.component;\n move(vnode, container, anchor, 0, parentSuspense);\n patch(\n instance2.vnode,\n vnode,\n container,\n anchor,\n instance2,\n parentSuspense,\n isSVG,\n vnode.slotScopeIds,\n optimized\n );\n queuePostRenderEffect(() => {\n instance2.isDeactivated = false;\n if (instance2.a) {\n invokeArrayFns(instance2.a);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n sharedContext.deactivate = (vnode) => {\n const instance2 = vnode.component;\n move(vnode, storageContainer, null, 1, parentSuspense);\n queuePostRenderEffect(() => {\n if (instance2.da) {\n invokeArrayFns(instance2.da);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n instance2.isDeactivated = true;\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n function unmount(vnode) {\n resetShapeFlag(vnode);\n _unmount(vnode, instance, parentSuspense, true);\n }\n function pruneCache(filter) {\n cache.forEach((vnode, key) => {\n const name = getComponentName(vnode.type);\n if (name && (!filter || !filter(name))) {\n pruneCacheEntry(key);\n }\n });\n }\n function pruneCacheEntry(key) {\n const cached = cache.get(key);\n if (!current || !isSameVNodeType(cached, current)) {\n unmount(cached);\n } else if (current) {\n resetShapeFlag(current);\n }\n cache.delete(key);\n keys.delete(key);\n }\n watch(\n () => [props.include, props.exclude],\n ([include, exclude]) => {\n include && pruneCache((name) => matches(include, name));\n exclude && pruneCache((name) => !matches(exclude, name));\n },\n // prune post-render after `current` has been updated\n { flush: \"post\", deep: true }\n );\n let pendingCacheKey = null;\n const cacheSubtree = () => {\n if (pendingCacheKey != null) {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }\n };\n onMounted(cacheSubtree);\n onUpdated(cacheSubtree);\n onBeforeUnmount(() => {\n cache.forEach((cached) => {\n const { subTree, suspense } = instance;\n const vnode = getInnerChild(subTree);\n if (cached.type === vnode.type && cached.key === vnode.key) {\n resetShapeFlag(vnode);\n const da = vnode.component.da;\n da && queuePostRenderEffect(da, suspense);\n return;\n }\n unmount(cached);\n });\n });\n return () => {\n pendingCacheKey = null;\n if (!slots.default) {\n return null;\n }\n const children = slots.default();\n const rawVNode = children[0];\n if (children.length > 1) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`KeepAlive should contain exactly one component child.`);\n }\n current = null;\n return children;\n } else if (!isVNode(rawVNode) || !(rawVNode.shapeFlag & 4) && !(rawVNode.shapeFlag & 128)) {\n current = null;\n return rawVNode;\n }\n let vnode = getInnerChild(rawVNode);\n const comp = vnode.type;\n const name = getComponentName(\n isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : comp\n );\n const { include, exclude, max } = props;\n if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {\n current = vnode;\n return rawVNode;\n }\n const key = vnode.key == null ? comp : vnode.key;\n const cachedVNode = cache.get(key);\n if (vnode.el) {\n vnode = cloneVNode(vnode);\n if (rawVNode.shapeFlag & 128) {\n rawVNode.ssContent = vnode;\n }\n }\n pendingCacheKey = key;\n if (cachedVNode) {\n vnode.el = cachedVNode.el;\n vnode.component = cachedVNode.component;\n if (vnode.transition) {\n setTransitionHooks(vnode, vnode.transition);\n }\n vnode.shapeFlag |= 512;\n keys.delete(key);\n keys.add(key);\n } else {\n keys.add(key);\n if (max && keys.size > parseInt(max, 10)) {\n pruneCacheEntry(keys.values().next().value);\n }\n }\n vnode.shapeFlag |= 256;\n current = vnode;\n return isSuspense(rawVNode.type) ? rawVNode : vnode;\n };\n }\n};\nconst KeepAlive = KeepAliveImpl;\nfunction matches(pattern, name) {\n if (isArray(pattern)) {\n return pattern.some((p) => matches(p, name));\n } else if (isString(pattern)) {\n return pattern.split(\",\").includes(name);\n } else if (isRegExp(pattern)) {\n return pattern.test(name);\n }\n return false;\n}\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\", target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\", target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n const wrappedHook = hook.__wdc || (hook.__wdc = () => {\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n const injected = injectHook(\n type,\n hook,\n keepAliveRoot,\n true\n /* prepend */\n );\n onUnmounted(() => {\n remove(keepAliveRoot[type], injected);\n }, target);\n}\nfunction resetShapeFlag(vnode) {\n vnode.shapeFlag &= ~256;\n vnode.shapeFlag &= ~512;\n}\nfunction getInnerChild(vnode) {\n return vnode.shapeFlag & 128 ? vnode.ssContent : vnode;\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n const hooks = target[type] || (target[type] = []);\n const wrappedHook = hook.__weh || (hook.__weh = (...args) => {\n if (target.isUnmounted) {\n return;\n }\n pauseTracking();\n setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n unsetCurrentInstance();\n resetTracking();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n } else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, \"\"));\n warn(\n `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` )\n );\n }\n}\nconst createHook = (lifecycle) => (hook, target = currentInstance) => (\n // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\n (!isInSSRComponentSetup || lifecycle === \"sp\") && injectHook(lifecycle, (...args) => hook(...args), target)\n);\nconst onBeforeMount = createHook(\"bm\");\nconst onMounted = createHook(\"m\");\nconst onBeforeUpdate = createHook(\"bu\");\nconst onUpdated = createHook(\"u\");\nconst onBeforeUnmount = createHook(\"bum\");\nconst onUnmounted = createHook(\"um\");\nconst onServerPrefetch = createHook(\"sp\");\nconst onRenderTriggered = createHook(\n \"rtg\"\n);\nconst onRenderTracked = createHook(\n \"rtc\"\n);\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\", hook, target);\n}\n\nconst COMPONENTS = \"components\";\nconst DIRECTIVES = \"directives\";\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = Symbol.for(\"v-ndc\");\nfunction resolveDynamicComponent(component) {\n if (isString(component)) {\n return resolveAsset(COMPONENTS, component, false) || component;\n } else {\n return component || NULL_DYNAMIC_COMPONENT;\n }\n}\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n if (type === COMPONENTS) {\n const selfName = getComponentName(\n Component,\n false\n /* do not include inferred name to avoid breaking existing code */\n );\n if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {\n return Component;\n }\n }\n const res = (\n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) || // global registration\n resolve(instance.appContext[type], name)\n );\n if (!res && maybeSelfReference) {\n return Component;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && warnMissing && !res) {\n const extra = type === COMPONENTS ? `\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;\n warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`\n );\n }\n}\nfunction resolve(registry, name) {\n return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);\n}\n\nfunction renderList(source, renderItem, cache, index) {\n let ret;\n const cached = cache && cache[index];\n if (isArray(source) || isString(source)) {\n ret = new Array(source.length);\n for (let i = 0, l = source.length; i < l; i++) {\n ret[i] = renderItem(source[i], i, void 0, cached && cached[i]);\n }\n } else if (typeof source === \"number\") {\n if (!!(process.env.NODE_ENV !== \"production\") && !Number.isInteger(source)) {\n warn(`The v-for range expect an integer value but got ${source}.`);\n }\n ret = new Array(source);\n for (let i = 0; i < source; i++) {\n ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);\n }\n } else if (isObject(source)) {\n if (source[Symbol.iterator]) {\n ret = Array.from(\n source,\n (item, i) => renderItem(item, i, void 0, cached && cached[i])\n );\n } else {\n const keys = Object.keys(source);\n ret = new Array(keys.length);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n ret[i] = renderItem(source[key], key, i, cached && cached[i]);\n }\n }\n } else {\n ret = [];\n }\n if (cache) {\n cache[index] = ret;\n }\n return ret;\n}\n\nfunction createSlots(slots, dynamicSlots) {\n for (let i = 0; i < dynamicSlots.length; i++) {\n const slot = dynamicSlots[i];\n if (isArray(slot)) {\n for (let j = 0; j < slot.length; j++) {\n slots[slot[j].name] = slot[j].fn;\n }\n } else if (slot) {\n slots[slot.name] = slot.key ? (...args) => {\n const res = slot.fn(...args);\n if (res)\n res.key = slot.key;\n return res;\n } : slot.fn;\n }\n }\n return slots;\n}\n\nfunction renderSlot(slots, name, props = {}, fallback, noSlotted) {\n if (currentRenderingInstance.isCE || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.isCE) {\n if (name !== \"default\")\n props.name = name;\n return createVNode(\"slot\", props, fallback && fallback());\n }\n let slot = slots[name];\n if (!!(process.env.NODE_ENV !== \"production\") && slot && slot.length > 1) {\n warn(\n `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.`\n );\n slot = () => [];\n }\n if (slot && slot._c) {\n slot._d = false;\n }\n openBlock();\n const validSlotContent = slot && ensureValidVNode(slot(props));\n const rendered = createBlock(\n Fragment,\n {\n key: props.key || // slot content array of a dynamic conditional slot may have a branch\n // key attached in the `createSlots` helper, respect that\n validSlotContent && validSlotContent.key || `_${name}`\n },\n validSlotContent || (fallback ? fallback() : []),\n validSlotContent && slots._ === 1 ? 64 : -2\n );\n if (!noSlotted && rendered.scopeId) {\n rendered.slotScopeIds = [rendered.scopeId + \"-s\"];\n }\n if (slot && slot._c) {\n slot._d = true;\n }\n return rendered;\n}\nfunction ensureValidVNode(vnodes) {\n return vnodes.some((child) => {\n if (!isVNode(child))\n return true;\n if (child.type === Comment)\n return false;\n if (child.type === Fragment && !ensureValidVNode(child.children))\n return false;\n return true;\n }) ? vnodes : null;\n}\n\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if (!!(process.env.NODE_ENV !== \"production\") && !isObject(obj)) {\n warn(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];\n }\n return ret;\n}\n\nconst getPublicInstance = (i) => {\n if (!i)\n return null;\n if (isStatefulComponent(i))\n return getExposeProxy(i) || i.proxy;\n return getPublicInstance(i.parent);\n};\nconst publicPropertiesMap = (\n // Move PURE marker to new line to workaround compiler discarding it\n // due to type annotation\n /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {\n $: (i) => i,\n $el: (i) => i.vnode.el,\n $data: (i) => i.data,\n $props: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.props) : i.props,\n $attrs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.attrs) : i.attrs,\n $slots: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.slots) : i.slots,\n $refs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.refs) : i.refs,\n $parent: (i) => getPublicInstance(i.parent),\n $root: (i) => getPublicInstance(i.root),\n $emit: (i) => i.emit,\n $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type,\n $forceUpdate: (i) => i.f || (i.f = () => queueJob(i.update)),\n $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)),\n $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP\n })\n);\nconst isReservedPrefix = (key) => key === \"_\" || key === \"$\";\nconst hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);\nconst PublicInstanceProxyHandlers = {\n get({ _: instance }, key) {\n const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\n if (!!(process.env.NODE_ENV !== \"production\") && key === \"__isVue\") {\n return true;\n }\n let normalizedProps;\n if (key[0] !== \"$\") {\n const n = accessCache[key];\n if (n !== void 0) {\n switch (n) {\n case 1 /* SETUP */:\n return setupState[key];\n case 2 /* DATA */:\n return data[key];\n case 4 /* CONTEXT */:\n return ctx[key];\n case 3 /* PROPS */:\n return props[key];\n }\n } else if (hasSetupBinding(setupState, key)) {\n accessCache[key] = 1 /* SETUP */;\n return setupState[key];\n } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\n accessCache[key] = 2 /* DATA */;\n return data[key];\n } else if (\n // only cache other properties when instance has declared (thus stable)\n // props\n (normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)\n ) {\n accessCache[key] = 3 /* PROPS */;\n return props[key];\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\n accessCache[key] = 0 /* OTHER */;\n }\n }\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n if (publicGetter) {\n if (key === \"$attrs\") {\n track(instance, \"get\", key);\n !!(process.env.NODE_ENV !== \"production\") && markAttrsAccessed();\n } else if (!!(process.env.NODE_ENV !== \"production\") && key === \"$slots\") {\n track(instance, \"get\", key);\n }\n return publicGetter(instance);\n } else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) && (cssModule = cssModule[key])\n ) {\n return cssModule;\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (\n // global properties\n globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)\n ) {\n {\n return globalProperties[key];\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf(\"__v\") !== 0)) {\n if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {\n warn(\n `Property ${JSON.stringify(\n key\n )} must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.`\n );\n } else if (instance === currentRenderingInstance) {\n warn(\n `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`\n );\n }\n }\n },\n set({ _: instance }, key, value) {\n const { data, setupState, ctx } = instance;\n if (hasSetupBinding(setupState, key)) {\n setupState[key] = value;\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\") && setupState.__isScriptSetup && hasOwn(setupState, key)) {\n warn(`Cannot mutate \n\n\n","\n\n\n\n\n","import { watch as He, ref as c, provide as A, inject as O, onUnmounted as pe, h as U, onBeforeUnmount as R, defineComponent as S, onMounted as _, markRaw as j, nextTick as g, render as mt, reactive as vt, computed as oe } from \"vue\";\nconst ce = (e, o) => {\n for (const t of Object.keys(o))\n e.on(t, o[t]);\n}, ye = (e) => {\n for (const o of Object.keys(e)) {\n const t = e[o];\n t && k(t.cancel) && t.cancel();\n }\n}, Je = (e) => !e || typeof e.charAt != \"function\" ? e : e.charAt(0).toUpperCase() + e.slice(1), k = (e) => typeof e == \"function\", L = (e, o, t) => {\n for (const n in t) {\n const s = \"set\" + Je(n);\n e[s] ? He(\n () => t[n],\n (r, l) => {\n e[s](r, l);\n }\n ) : o[s] && He(\n () => t[n],\n (r) => {\n o[s](r);\n }\n );\n }\n}, f = (e, o, t = {}) => {\n const n = { ...t };\n for (const s in e) {\n const r = o[s], l = e[s];\n r && (r && r.custom === !0 || l !== void 0 && (n[s] = l));\n }\n return n;\n}, T = (e) => {\n const o = {}, t = {};\n for (const n in e)\n if (n.startsWith(\"on\") && !n.startsWith(\"onUpdate\") && n !== \"onReady\") {\n const s = n.slice(2).toLocaleLowerCase();\n o[s] = e[n];\n } else\n t[n] = e[n];\n return { listeners: o, attrs: t };\n}, qe = async (e) => {\n const o = await Promise.all([\n import(\"leaflet/dist/images/marker-icon-2x.png\"),\n import(\"leaflet/dist/images/marker-icon.png\"),\n import(\"leaflet/dist/images/marker-shadow.png\")\n ]);\n delete e.Default.prototype._getIconUrl, e.Default.mergeOptions({\n iconRetinaUrl: o[0].default,\n iconUrl: o[1].default,\n shadowUrl: o[2].default\n });\n}, Y = (e) => {\n const o = c(\n (...n) => console.warn(`Method ${e} has been invoked without being replaced`)\n ), t = (...n) => o.value(...n);\n return t.wrapped = o, A(e, t), t;\n}, V = (e, o) => e.wrapped.value = o, b = typeof self == \"object\" && self.self === self && self || typeof global == \"object\" && global.global === global && global || globalThis, m = (e) => {\n const o = O(e);\n if (o === void 0)\n throw new Error(\n `Attempt to inject ${e.description} before it was provided.`\n );\n return o;\n}, Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n WINDOW_OR_GLOBAL: b,\n assertInject: m,\n bindEventHandlers: ce,\n cancelDebounces: ye,\n capitalizeFirstLetter: Je,\n isFunction: k,\n propsBinder: L,\n propsToLeafletOptions: f,\n provideLeafletWrapper: Y,\n remapEvents: T,\n resetWebpackIcon: qe,\n updateLeafletWrapper: V\n}, Symbol.toStringTag, { value: \"Module\" })), h = Symbol(\n \"useGlobalLeaflet\"\n), M = Symbol(\"addLayer\"), ee = Symbol(\"removeLayer\"), H = Symbol(\n \"registerControl\"\n), me = Symbol(\n \"registerLayerControl\"\n), ve = Symbol(\n \"canSetParentHtml\"\n), be = Symbol(\"setParentHtml\"), fe = Symbol(\"setIcon\"), ge = Symbol(\"bindPopup\"), Le = Symbol(\"bindTooltip\"), he = Symbol(\"unbindPopup\"), Oe = Symbol(\"unbindTooltip\"), Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n AddLayerInjection: M,\n BindPopupInjection: ge,\n BindTooltipInjection: Le,\n CanSetParentHtmlInjection: ve,\n RegisterControlInjection: H,\n RegisterLayerControlInjection: me,\n RemoveLayerInjection: ee,\n SetIconInjection: fe,\n SetParentHtmlInjection: be,\n UnbindPopupInjection: he,\n UnbindTooltipInjection: Oe,\n UseGlobalLeafletInjection: h\n}, Symbol.toStringTag, { value: \"Module\" })), W = {\n options: {\n type: Object,\n default: () => ({}),\n custom: !0\n }\n}, J = (e) => ({ options: e.options, methods: {} }), bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n componentProps: W,\n setupComponent: J\n}, Symbol.toStringTag, { value: \"Module\" })), D = {\n ...W,\n pane: {\n type: String\n },\n attribution: {\n type: String\n },\n name: {\n type: String,\n custom: !0\n },\n layerType: {\n type: String,\n custom: !0\n },\n visible: {\n type: Boolean,\n custom: !0,\n default: !0\n }\n}, q = (e, o, t) => {\n const n = m(M), s = m(ee), { options: r, methods: l } = J(e), a = f(\n e,\n D,\n r\n ), i = () => n({ leafletObject: o.value }), u = () => s({ leafletObject: o.value }), d = {\n ...l,\n setAttribution(y) {\n u(), o.value.options.attribution = y, e.visible && i();\n },\n setName() {\n u(), e.visible && i();\n },\n setLayerType() {\n u(), e.visible && i();\n },\n setVisible(y) {\n o.value && (y ? i() : u());\n },\n bindPopup(y) {\n if (!o.value || !k(o.value.bindPopup)) {\n console.warn(\n \"Attempt to bind popup before bindPopup method available on layer.\"\n );\n return;\n }\n o.value.bindPopup(y);\n },\n bindTooltip(y) {\n if (!o.value || !k(o.value.bindTooltip)) {\n console.warn(\n \"Attempt to bind tooltip before bindTooltip method available on layer.\"\n );\n return;\n }\n o.value.bindTooltip(y);\n },\n unbindTooltip() {\n o.value && (k(o.value.closeTooltip) && o.value.closeTooltip(), k(o.value.unbindTooltip) && o.value.unbindTooltip());\n },\n unbindPopup() {\n o.value && (k(o.value.closePopup) && o.value.closePopup(), k(o.value.unbindPopup) && o.value.unbindPopup());\n },\n updateVisibleProp(y) {\n t.emit(\"update:visible\", y);\n }\n };\n return A(ge, d.bindPopup), A(Le, d.bindTooltip), A(he, d.unbindPopup), A(Oe, d.unbindTooltip), pe(() => {\n d.unbindPopup(), d.unbindTooltip(), u();\n }), { options: a, methods: d };\n}, G = (e, o) => {\n if (e && o.default)\n return U(\"div\", { style: { display: \"none\" } }, o.default());\n}, ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n layerProps: D,\n render: G,\n setupLayer: q\n}, Symbol.toStringTag, { value: \"Module\" })), Se = {\n ...D,\n interactive: {\n type: Boolean,\n default: void 0\n },\n bubblingMouseEvents: {\n type: Boolean,\n default: void 0\n }\n}, Ke = (e, o, t) => {\n const { options: n, methods: s } = q(\n e,\n o,\n t\n );\n return { options: f(\n e,\n Se,\n n\n ), methods: s };\n}, gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n interactiveLayerProps: Se,\n setupInteractiveLayer: Ke\n}, Symbol.toStringTag, { value: \"Module\" })), ne = {\n ...Se,\n stroke: {\n type: Boolean,\n default: void 0\n },\n color: {\n type: String\n },\n weight: {\n type: Number\n },\n opacity: {\n type: Number\n },\n lineCap: {\n type: String\n },\n lineJoin: {\n type: String\n },\n dashArray: {\n type: String\n },\n dashOffset: {\n type: String\n },\n fill: {\n type: Boolean,\n default: void 0\n },\n fillColor: {\n type: String\n },\n fillOpacity: {\n type: Number\n },\n fillRule: {\n type: String\n },\n className: {\n type: String\n }\n}, _e = (e, o, t) => {\n const { options: n, methods: s } = Ke(e, o, t), r = f(\n e,\n ne,\n n\n ), l = m(ee), a = {\n ...s,\n setStroke(i) {\n o.value.setStyle({ stroke: i });\n },\n setColor(i) {\n o.value.setStyle({ color: i });\n },\n setWeight(i) {\n o.value.setStyle({ weight: i });\n },\n setOpacity(i) {\n o.value.setStyle({ opacity: i });\n },\n setLineCap(i) {\n o.value.setStyle({ lineCap: i });\n },\n setLineJoin(i) {\n o.value.setStyle({ lineJoin: i });\n },\n setDashArray(i) {\n o.value.setStyle({ dashArray: i });\n },\n setDashOffset(i) {\n o.value.setStyle({ dashOffset: i });\n },\n setFill(i) {\n o.value.setStyle({ fill: i });\n },\n setFillColor(i) {\n o.value.setStyle({ fillColor: i });\n },\n setFillOpacity(i) {\n o.value.setStyle({ fillOpacity: i });\n },\n setFillRule(i) {\n o.value.setStyle({ fillRule: i });\n },\n setClassName(i) {\n o.value.setStyle({ className: i });\n }\n };\n return R(() => {\n l({ leafletObject: o.value });\n }), { options: r, methods: a };\n}, Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n pathProps: ne,\n setupPath: _e\n}, Symbol.toStringTag, { value: \"Module\" })), re = {\n ...ne,\n /**\n * Radius of the marker in pixels.\n */\n radius: {\n type: Number\n },\n latLng: {\n type: [Object, Array],\n required: !0,\n custom: !0\n }\n}, je = (e, o, t) => {\n const { options: n, methods: s } = _e(\n e,\n o,\n t\n ), r = f(\n e,\n re,\n n\n ), l = {\n ...s,\n setRadius(a) {\n o.value.setRadius(a);\n },\n setLatLng(a) {\n o.value.setLatLng(a);\n }\n };\n return { options: r, methods: l };\n}, ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n circleMarkerProps: re,\n setupCircleMarker: je\n}, Symbol.toStringTag, { value: \"Module\" })), Pe = {\n ...re,\n /**\n * Radius of the circle in meters.\n */\n radius: {\n type: Number\n }\n}, Qe = (e, o, t) => {\n const { options: n, methods: s } = je(e, o, t), r = f(\n e,\n Pe,\n n\n ), l = {\n ...s\n };\n return { options: r, methods: l };\n}, Ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n circleProps: Pe,\n setupCircle: Qe\n}, Symbol.toStringTag, { value: \"Module\" })), Xt = S({\n name: \"LCircle\",\n props: Pe,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = Qe(e, t, o);\n return _(async () => {\n const { circle: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(i(e.latLng, l));\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), Yt = S({\n name: \"LCircleMarker\",\n props: re,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = je(\n e,\n t,\n o\n );\n return _(async () => {\n const { circleMarker: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n i(e.latLng, l)\n );\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), F = {\n ...W,\n position: {\n type: String\n }\n}, K = (e, o) => {\n const { options: t, methods: n } = J(e), s = f(\n e,\n F,\n t\n ), r = {\n ...n,\n setPosition(l) {\n o.value && o.value.setPosition(l);\n }\n };\n return pe(() => {\n o.value && o.value.remove();\n }), { options: s, methods: r };\n}, Xe = (e) => e.default ? U(\"div\", { ref: \"root\" }, e.default()) : null, St = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n controlProps: F,\n renderLControl: Xe,\n setupControl: K\n}, Symbol.toStringTag, { value: \"Module\" })), Vt = S({\n name: \"LControl\",\n props: {\n ...F,\n disableClickPropagation: {\n type: Boolean,\n custom: !0,\n default: !0\n },\n disableScrollPropagation: {\n type: Boolean,\n custom: !0,\n default: !1\n }\n },\n setup(e, o) {\n const t = c(), n = c(), s = O(h), r = m(H), { options: l, methods: a } = K(e, t);\n return _(async () => {\n const { Control: i, DomEvent: u } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\"), d = i.extend({\n onAdd() {\n return n.value;\n }\n });\n t.value = j(new d(l)), L(a, t.value, e), r({ leafletObject: t.value }), e.disableClickPropagation && n.value && u.disableClickPropagation(n.value), e.disableScrollPropagation && n.value && u.disableScrollPropagation(n.value), g(() => o.emit(\"ready\", t.value));\n }), { root: n, leafletObject: t };\n },\n render() {\n return Xe(this.$slots);\n }\n}), Ce = {\n ...F,\n prefix: {\n type: String\n }\n}, Ye = (e, o) => {\n const { options: t, methods: n } = K(\n e,\n o\n ), s = f(\n e,\n Ce,\n t\n ), r = {\n ...n,\n setPrefix(l) {\n o.value.setPrefix(l);\n }\n };\n return { options: s, methods: r };\n}, _t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n controlAttributionProps: Ce,\n setupControlAttribution: Ye\n}, Symbol.toStringTag, { value: \"Module\" })), xt = S({\n name: \"LControlAttribution\",\n props: Ce,\n setup(e, o) {\n const t = c(), n = O(h), s = m(H), { options: r, methods: l } = Ye(e, t);\n return _(async () => {\n const { control: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n a.attribution(r)\n ), L(l, t.value, e), s({ leafletObject: t.value }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), Te = {\n ...F,\n collapsed: {\n type: Boolean,\n default: void 0\n },\n autoZIndex: {\n type: Boolean,\n default: void 0\n },\n hideSingleBase: {\n type: Boolean,\n default: void 0\n },\n sortLayers: {\n type: Boolean,\n default: void 0\n },\n sortFunction: {\n type: Function\n }\n}, Ve = (e, o) => {\n const { options: t } = K(e, o);\n return { options: f(\n e,\n Te,\n t\n ), methods: {\n addLayer(r) {\n r.layerType === \"base\" ? o.value.addBaseLayer(r.leafletObject, r.name) : r.layerType === \"overlay\" && o.value.addOverlay(r.leafletObject, r.name);\n },\n removeLayer(r) {\n o.value.removeLayer(r.leafletObject);\n }\n } };\n}, jt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n controlLayersProps: Te,\n setupControlLayers: Ve\n}, Symbol.toStringTag, { value: \"Module\" })), Rt = S({\n name: \"LControlLayers\",\n props: Te,\n setup(e, o) {\n const t = c(), n = O(h), s = m(me), { options: r, methods: l } = Ve(e, t);\n return _(async () => {\n const { control: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n a.layers(void 0, void 0, r)\n ), L(l, t.value, e), s({\n ...e,\n ...l,\n leafletObject: t.value\n }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), Me = {\n ...F,\n maxWidth: {\n type: Number\n },\n metric: {\n type: Boolean,\n default: void 0\n },\n imperial: {\n type: Boolean,\n default: void 0\n },\n updateWhenIdle: {\n type: Boolean,\n default: void 0\n }\n}, xe = (e, o) => {\n const { options: t, methods: n } = K(\n e,\n o\n );\n return { options: f(\n e,\n Me,\n t\n ), methods: n };\n}, Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n controlScaleProps: Me,\n setupControlScale: xe\n}, Symbol.toStringTag, { value: \"Module\" })), eo = S({\n name: \"LControlScale\",\n props: Me,\n setup(e, o) {\n const t = c(), n = O(h), s = m(H), { options: r, methods: l } = xe(e, t);\n return _(async () => {\n const { control: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(a.scale(r)), L(l, t.value, e), s({ leafletObject: t.value }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), Be = {\n ...F,\n zoomInText: {\n type: String\n },\n zoomInTitle: {\n type: String\n },\n zoomOutText: {\n type: String\n },\n zoomOutTitle: {\n type: String\n }\n}, Re = (e, o) => {\n const { options: t, methods: n } = K(\n e,\n o\n );\n return { options: f(\n e,\n Be,\n t\n ), methods: n };\n}, Ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n controlZoomProps: Be,\n setupControlZoom: Re\n}, Symbol.toStringTag, { value: \"Module\" })), to = S({\n name: \"LControlZoom\",\n props: Be,\n setup(e, o) {\n const t = c(), n = O(h), s = m(H), { options: r, methods: l } = Re(e, t);\n return _(async () => {\n const { control: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(a.zoom(r)), L(l, t.value, e), s({ leafletObject: t.value }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), te = {\n ...D\n}, se = (e, o, t) => {\n const { options: n, methods: s } = q(\n e,\n o,\n t\n ), r = f(\n e,\n te,\n n\n ), l = {\n ...s,\n addLayer(a) {\n o.value.addLayer(a.leafletObject);\n },\n removeLayer(a) {\n o.value.removeLayer(a.leafletObject);\n }\n };\n return A(M, l.addLayer), A(ee, l.removeLayer), { options: r, methods: l };\n}, Tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n layerGroupProps: te,\n setupLayerGroup: se\n}, Symbol.toStringTag, { value: \"Module\" })), we = {\n ...te\n}, et = (e, o, t) => {\n const { options: n, methods: s } = se(\n e,\n o,\n t\n ), r = f(\n e,\n we,\n n\n ), l = {\n ...s\n };\n return { options: r, methods: l };\n}, Mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n featureGroupProps: we,\n setupFeatureGroup: et\n}, Symbol.toStringTag, { value: \"Module\" })), oo = S({\n props: we,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { methods: l, options: a } = et(\n e,\n t,\n o\n );\n return _(async () => {\n const { featureGroup: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n i(void 0, a)\n );\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(l, t.value, e), r({\n ...e,\n ...l,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), Ie = {\n ...te,\n geojson: {\n type: [Object, Array],\n custom: !0\n },\n optionsStyle: {\n type: Function,\n custom: !0\n }\n}, tt = (e, o, t) => {\n const { options: n, methods: s } = se(\n e,\n o,\n t\n ), r = f(\n e,\n Ie,\n n\n );\n Object.prototype.hasOwnProperty.call(e, \"optionsStyle\") && (r.style = e.optionsStyle);\n const l = {\n ...s,\n setGeojson(a) {\n o.value.clearLayers(), o.value.addData(a);\n },\n setOptionsStyle(a) {\n o.value.setStyle(a);\n },\n getGeoJSONData() {\n return o.value.toGeoJSON();\n },\n getBounds() {\n return o.value.getBounds();\n }\n };\n return { options: r, methods: l };\n}, Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n geoJSONProps: Ie,\n setupGeoJSON: tt\n}, Symbol.toStringTag, { value: \"Module\" })), no = S({\n props: Ie,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { methods: l, options: a } = tt(e, t, o);\n return _(async () => {\n const { geoJSON: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(i(e.geojson, a));\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(l, t.value, e), r({\n ...e,\n ...l,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), ae = {\n ...D,\n opacity: {\n type: Number\n },\n zIndex: {\n type: Number\n },\n tileSize: {\n type: [Number, Array, Object]\n },\n noWrap: {\n type: Boolean,\n default: void 0\n },\n minZoom: {\n type: Number\n },\n maxZoom: {\n type: Number\n },\n className: {\n type: String\n }\n}, Ae = (e, o, t) => {\n const { options: n, methods: s } = q(\n e,\n o,\n t\n ), r = f(\n e,\n ae,\n n\n ), l = {\n ...s,\n setTileComponent() {\n var a;\n (a = o.value) == null || a.redraw();\n }\n };\n return pe(() => {\n o.value.off();\n }), { options: r, methods: l };\n}, ot = (e, o, t, n) => e.extend({\n initialize(s) {\n this.tileComponents = {}, this.on(\"tileunload\", this._unloadTile), t.setOptions(this, s);\n },\n createTile(s) {\n const r = this._tileCoordsToKey(s);\n this.tileComponents[r] = o.create(\"div\");\n const l = U({ setup: n, props: [\"coords\"] }, { coords: s });\n return mt(l, this.tileComponents[r]), this.tileComponents[r];\n },\n _unloadTile(s) {\n const r = this._tileCoordsToKey(s.coords);\n this.tileComponents[r] && (this.tileComponents[r].innerHTML = \"\", this.tileComponents[r] = void 0);\n }\n}), wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n CreateVueGridLayer: ot,\n gridLayerProps: ae,\n setupGridLayer: Ae\n}, Symbol.toStringTag, { value: \"Module\" })), ro = S({\n props: {\n ...ae,\n childRender: {\n type: Function,\n required: !0\n }\n },\n setup(e, o) {\n const t = c(), n = c(null), s = c(!1), r = O(h), l = m(M), { options: a, methods: i } = Ae(e, t, o);\n return _(async () => {\n const { GridLayer: u, DomUtil: d, Util: y } = r ? b.L : await import(\"leaflet/dist/leaflet-src.esm\"), w = ot(\n u,\n d,\n y,\n e.childRender\n );\n t.value = j(new w(a));\n const { listeners: v } = T(o.attrs);\n t.value.on(v), L(i, t.value, e), l({\n ...e,\n ...i,\n leafletObject: t.value\n }), s.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { root: n, ready: s, leafletObject: t };\n },\n render() {\n return this.ready ? U(\"div\", { style: { display: \"none\" }, ref: \"root\" }) : null;\n }\n}), de = {\n iconUrl: {\n type: String\n },\n iconRetinaUrl: {\n type: String\n },\n iconSize: {\n type: [Object, Array]\n },\n iconAnchor: {\n type: [Object, Array]\n },\n popupAnchor: {\n type: [Object, Array]\n },\n tooltipAnchor: {\n type: [Object, Array]\n },\n shadowUrl: {\n type: String\n },\n shadowRetinaUrl: {\n type: String\n },\n shadowSize: {\n type: [Object, Array]\n },\n shadowAnchor: {\n type: [Object, Array]\n },\n bgPos: {\n type: [Object, Array]\n },\n className: {\n type: String\n }\n}, It = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n iconProps: de\n}, Symbol.toStringTag, { value: \"Module\" })), so = S({\n name: \"LIcon\",\n props: {\n ...de,\n ...W\n },\n setup(e, o) {\n const t = c(), n = O(h), s = m(ve), r = m(be), l = m(fe);\n let a, i, u, d, y;\n const w = (N, P, B) => {\n const I = N && N.innerHTML;\n if (!P) {\n B && y && s() && r(I);\n return;\n }\n const { listeners: E } = T(o.attrs);\n y && i(y, E);\n const { options: ue } = J(e), $ = f(\n e,\n de,\n ue\n );\n I && ($.html = I), y = $.html ? u($) : d($), a(y, E), l(y);\n }, v = () => {\n g(() => w(t.value, !0, !1));\n }, z = () => {\n g(() => w(t.value, !1, !0));\n }, Z = {\n setIconUrl: v,\n setIconRetinaUrl: v,\n setIconSize: v,\n setIconAnchor: v,\n setPopupAnchor: v,\n setTooltipAnchor: v,\n setShadowUrl: v,\n setShadowRetinaUrl: v,\n setShadowAnchor: v,\n setBgPos: v,\n setClassName: v,\n setHtml: v\n };\n return _(async () => {\n const {\n DomEvent: N,\n divIcon: P,\n icon: B\n } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n a = N.on, i = N.off, u = P, d = B, L(Z, {}, e), new MutationObserver(z).observe(t.value, {\n attributes: !0,\n childList: !0,\n characterData: !0,\n subtree: !0\n }), v();\n }), { root: t };\n },\n render() {\n const e = this.$slots.default ? this.$slots.default() : void 0;\n return U(\"div\", { ref: \"root\" }, e);\n }\n}), Ge = {\n ...D,\n opacity: {\n type: Number\n },\n alt: {\n type: String\n },\n interactive: {\n type: Boolean,\n default: void 0\n },\n crossOrigin: {\n type: Boolean,\n default: void 0\n },\n errorOverlayUrl: {\n type: String\n },\n zIndex: {\n type: Number\n },\n className: {\n type: String\n },\n url: {\n type: String,\n required: !0,\n custom: !0\n },\n bounds: {\n type: [Array, Object],\n required: !0,\n custom: !0\n }\n}, nt = (e, o, t) => {\n const { options: n, methods: s } = q(\n e,\n o,\n t\n ), r = f(\n e,\n Ge,\n n\n ), l = {\n ...s,\n /**\n * Sets the opacity of the overlay.\n * @param {number} opacity\n */\n setOpacity(a) {\n return o.value.setOpacity(a);\n },\n /**\n * Changes the URL of the image.\n * @param {string} url\n */\n setUrl(a) {\n return o.value.setUrl(a);\n },\n /**\n * Update the bounds that this ImageOverlay covers\n * @param {LatLngBounds | Array>} bounds\n */\n setBounds(a) {\n return o.value.setBounds(a);\n },\n /**\n * Get the bounds that this ImageOverlay covers\n * @returns {LatLngBounds}\n */\n getBounds() {\n return o.value.getBounds();\n },\n /**\n * Returns the instance of HTMLImageElement used by this overlay.\n * @returns {HTMLElement}\n */\n getElement() {\n return o.value.getElement();\n },\n /**\n * Brings the layer to the top of all overlays.\n */\n bringToFront() {\n return o.value.bringToFront();\n },\n /**\n * Brings the layer to the bottom of all overlays.\n */\n bringToBack() {\n return o.value.bringToBack();\n },\n /**\n * Changes the zIndex of the image overlay.\n * @param {number} zIndex\n */\n setZIndex(a) {\n return o.value.setZIndex(a);\n }\n };\n return { options: r, methods: l };\n}, At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n imageOverlayProps: Ge,\n setupImageOverlay: nt\n}, Symbol.toStringTag, { value: \"Module\" })), ao = S({\n name: \"LImageOverlay\",\n props: Ge,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = nt(\n e,\n t,\n o\n );\n return _(async () => {\n const { imageOverlay: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n i(e.url, e.bounds, l)\n );\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), lo = S({\n props: te,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { methods: l } = se(e, t, o);\n return _(async () => {\n const { layerGroup: a } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n a(void 0, e.options)\n );\n const { listeners: i } = T(o.attrs);\n t.value.on(i), L(l, t.value, e), r({\n ...e,\n ...l,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n});\nfunction rt(e, o, t) {\n var n, s, r;\n o === void 0 && (o = 50), t === void 0 && (t = {});\n var l = (n = t.isImmediate) != null && n, a = (s = t.callback) != null && s, i = t.maxWait, u = Date.now(), d = [];\n function y() {\n if (i !== void 0) {\n var v = Date.now() - u;\n if (v + o >= i)\n return i - v;\n }\n return o;\n }\n var w = function() {\n var v = [].slice.call(arguments), z = this;\n return new Promise(function(Z, N) {\n var P = l && r === void 0;\n if (r !== void 0 && clearTimeout(r), r = setTimeout(function() {\n if (r = void 0, u = Date.now(), !l) {\n var I = e.apply(z, v);\n a && a(I), d.forEach(function(E) {\n return (0, E.resolve)(I);\n }), d = [];\n }\n }, y()), P) {\n var B = e.apply(z, v);\n return a && a(B), Z(B);\n }\n d.push({ resolve: Z, reject: N });\n });\n };\n return w.cancel = function(v) {\n r !== void 0 && clearTimeout(r), d.forEach(function(z) {\n return (0, z.reject)(v);\n }), d = [];\n }, w;\n}\nconst We = {\n ...W,\n /**\n * The center of the map, supports .sync modifier\n */\n center: {\n type: [Object, Array]\n },\n /**\n * The bounds of the map, supports .sync modifier\n */\n bounds: {\n type: [Array, Object]\n },\n /**\n * The max bounds of the map\n */\n maxBounds: {\n type: [Array, Object]\n },\n /**\n * The zoom of the map, supports .sync modifier\n */\n zoom: {\n type: Number\n },\n /**\n * The minZoom of the map\n */\n minZoom: {\n type: Number\n },\n /**\n * The maxZoom of the map\n */\n maxZoom: {\n type: Number\n },\n /**\n * The paddingBottomRight of the map\n */\n paddingBottomRight: {\n type: [Object, Array]\n },\n /**\n * The paddingTopLeft of the map\n */\n paddingTopLeft: {\n type: Object\n },\n /**\n * The padding of the map\n */\n padding: {\n type: Object\n },\n /**\n * The worldCopyJump option for the map\n */\n worldCopyJump: {\n type: Boolean,\n default: void 0\n },\n /**\n * The CRS to use for the map. Can be an object that defines a coordinate reference\n * system for projecting geographical points into screen coordinates and back\n * (see https://leafletjs.com/reference-1.7.1.html#crs-l-crs-base), or a string\n * name identifying one of Leaflet's defined CRSs, such as \"EPSG4326\".\n */\n crs: {\n type: [String, Object]\n },\n maxBoundsViscosity: {\n type: Number\n },\n inertia: {\n type: Boolean,\n default: void 0\n },\n inertiaDeceleration: {\n type: Number\n },\n inertiaMaxSpeed: {\n type: Number\n },\n easeLinearity: {\n type: Number\n },\n zoomAnimation: {\n type: Boolean,\n default: void 0\n },\n zoomAnimationThreshold: {\n type: Number\n },\n fadeAnimation: {\n type: Boolean,\n default: void 0\n },\n markerZoomAnimation: {\n type: Boolean,\n default: void 0\n },\n noBlockingAnimations: {\n type: Boolean,\n default: void 0\n },\n useGlobalLeaflet: {\n type: Boolean,\n default: !0,\n custom: !0\n }\n}, io = S({\n inheritAttrs: !1,\n emits: [\"ready\", \"update:zoom\", \"update:center\", \"update:bounds\"],\n props: We,\n setup(e, o) {\n const t = c(), n = vt({\n ready: !1,\n layersToAdd: [],\n layersInControl: []\n }), { options: s } = J(e), r = f(\n e,\n We,\n s\n ), { listeners: l, attrs: a } = T(o.attrs), i = Y(M), u = Y(ee), d = Y(H), y = Y(\n me\n );\n A(h, e.useGlobalLeaflet);\n const w = oe(() => {\n const P = {};\n return e.noBlockingAnimations && (P.animate = !1), P;\n }), v = oe(() => {\n const P = w.value;\n return e.padding && (P.padding = e.padding), e.paddingTopLeft && (P.paddingTopLeft = e.paddingTopLeft), e.paddingBottomRight && (P.paddingBottomRight = e.paddingBottomRight), P;\n }), z = {\n moveend: rt((P) => {\n n.leafletRef && (o.emit(\"update:zoom\", n.leafletRef.getZoom()), o.emit(\"update:center\", n.leafletRef.getCenter()), o.emit(\"update:bounds\", n.leafletRef.getBounds()));\n }),\n overlayadd(P) {\n const B = n.layersInControl.find((I) => I.name === P.name);\n B && B.updateVisibleProp(!0);\n },\n overlayremove(P) {\n const B = n.layersInControl.find((I) => I.name === P.name);\n B && B.updateVisibleProp(!1);\n }\n };\n _(async () => {\n e.useGlobalLeaflet && (b.L = b.L || await import(\"leaflet\"));\n const { map: P, CRS: B, Icon: I, latLngBounds: E, latLng: ue, stamp: $ } = e.useGlobalLeaflet ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n try {\n r.beforeMapMount && await r.beforeMapMount();\n } catch (p) {\n console.error(\n `The following error occurred running the provided beforeMapMount hook ${p.message}`\n );\n }\n await qe(I);\n const yt = typeof r.crs == \"string\" ? B[r.crs] : r.crs;\n r.crs = yt || B.EPSG3857;\n const Q = {\n addLayer(p) {\n p.layerType !== void 0 && (n.layerControl === void 0 ? n.layersToAdd.push(p) : n.layersInControl.find(\n (X) => $(X.leafletObject) === $(p.leafletObject)\n ) || (n.layerControl.addLayer(p), n.layersInControl.push(p))), p.visible !== !1 && n.leafletRef.addLayer(p.leafletObject);\n },\n removeLayer(p) {\n p.layerType !== void 0 && (n.layerControl === void 0 ? n.layersToAdd = n.layersToAdd.filter(\n (C) => C.name !== p.name\n ) : (n.layerControl.removeLayer(p.leafletObject), n.layersInControl = n.layersInControl.filter(\n (C) => $(C.leafletObject) !== $(p.leafletObject)\n ))), n.leafletRef.removeLayer(p.leafletObject);\n },\n registerLayerControl(p) {\n n.layerControl = p, n.layersToAdd.forEach((C) => {\n n.layerControl.addLayer(C);\n }), n.layersToAdd = [], d(p);\n },\n registerControl(p) {\n n.leafletRef.addControl(p.leafletObject);\n },\n setZoom(p) {\n const C = n.leafletRef.getZoom();\n p !== C && n.leafletRef.setZoom(p, w.value);\n },\n setCrs(p) {\n const C = n.leafletRef.getBounds();\n n.leafletRef.options.crs = p, n.leafletRef.fitBounds(C, {\n animate: !1,\n padding: [0, 0]\n });\n },\n fitBounds(p) {\n n.leafletRef.fitBounds(p, v.value);\n },\n setBounds(p) {\n if (!p)\n return;\n const C = E(p);\n if (!C.isValid())\n return;\n !(n.lastSetBounds || n.leafletRef.getBounds()).equals(C, 0) && (n.lastSetBounds = C, n.leafletRef.fitBounds(C));\n },\n setCenter(p) {\n if (p == null)\n return;\n const C = ue(p), X = n.lastSetCenter || n.leafletRef.getCenter();\n (X.lat !== C.lat || X.lng !== C.lng) && (n.lastSetCenter = C, n.leafletRef.panTo(C, w.value));\n }\n };\n V(i, Q.addLayer), V(u, Q.removeLayer), V(d, Q.registerControl), V(y, Q.registerLayerControl), n.leafletRef = j(P(t.value, r)), L(Q, n.leafletRef, e), ce(n.leafletRef, z), ce(n.leafletRef, l), n.ready = !0, g(() => o.emit(\"ready\", n.leafletRef));\n }), R(() => {\n ye(z), n.leafletRef && (n.leafletRef.off(), n.leafletRef.remove());\n });\n const Z = oe(() => n.leafletRef), N = oe(() => n.ready);\n return { root: t, ready: N, leafletObject: Z, attrs: a };\n },\n render({ attrs: e }) {\n return e.style || (e.style = {}), e.style.width || (e.style.width = \"100%\"), e.style.height || (e.style.height = \"100%\"), U(\n \"div\",\n {\n ...e,\n ref: \"root\"\n },\n this.ready && this.$slots.default ? this.$slots.default() : {}\n );\n }\n}), Gt = [\"Symbol(Comment)\", \"Symbol(Text)\"], zt = [\"LTooltip\", \"LPopup\"], ze = {\n ...D,\n draggable: {\n type: Boolean,\n default: void 0\n },\n icon: {\n type: [Object]\n },\n zIndexOffset: {\n type: Number\n },\n latLng: {\n type: [Object, Array],\n custom: !0,\n required: !0\n }\n}, st = (e, o, t) => {\n const { options: n, methods: s } = q(\n e,\n o,\n t\n ), r = f(\n e,\n ze,\n n\n ), l = {\n ...s,\n setDraggable(a) {\n o.value.dragging && (a ? o.value.dragging.enable() : o.value.dragging.disable());\n },\n latLngSync(a) {\n t.emit(\"update:latLng\", a.latlng), t.emit(\"update:lat-lng\", a.latlng);\n },\n setLatLng(a) {\n if (a != null && o.value) {\n const i = o.value.getLatLng();\n (!i || !i.equals(a)) && o.value.setLatLng(a);\n }\n }\n };\n return { options: r, methods: l };\n}, at = (e, o) => {\n const t = o.slots.default && o.slots.default();\n return t && t.length && t.some(Nt);\n};\nfunction Nt(e) {\n return !(Gt.includes(e.type.toString()) || zt.includes(e.type.name));\n}\nconst $t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n markerProps: ze,\n setupMarker: st,\n shouldBlankIcon: at\n}, Symbol.toStringTag, { value: \"Module\" })), uo = S({\n name: \"LMarker\",\n props: ze,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M);\n A(\n ve,\n () => {\n var u;\n return !!((u = t.value) != null && u.getElement());\n }\n ), A(be, (u) => {\n var y, w;\n const d = k((y = t.value) == null ? void 0 : y.getElement) && ((w = t.value) == null ? void 0 : w.getElement());\n d && (d.innerHTML = u);\n }), A(\n fe,\n (u) => {\n var d;\n return ((d = t.value) == null ? void 0 : d.setIcon) && t.value.setIcon(u);\n }\n );\n const { options: l, methods: a } = st(e, t, o), i = {\n moveHandler: rt(a.latLngSync)\n };\n return _(async () => {\n const { marker: u, divIcon: d } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n at(l, o) && (l.icon = d({ className: \"\" })), t.value = j(u(e.latLng, l));\n const { listeners: y } = T(o.attrs);\n t.value.on(y), t.value.on(\"move\", i.moveHandler), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), R(() => ye(i)), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), le = {\n ...ne,\n smoothFactor: {\n type: Number\n },\n noClip: {\n type: Boolean,\n default: void 0\n },\n latLngs: {\n type: Array,\n required: !0,\n custom: !0\n }\n}, Ne = (e, o, t) => {\n const { options: n, methods: s } = _e(\n e,\n o,\n t\n ), r = f(\n e,\n le,\n n\n ), l = {\n ...s,\n setSmoothFactor(a) {\n o.value.setStyle({ smoothFactor: a });\n },\n setNoClip(a) {\n o.value.setStyle({ noClip: a });\n },\n addLatLng(a) {\n o.value.addLatLng(a);\n }\n };\n return { options: r, methods: l };\n}, kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n polylineProps: le,\n setupPolyline: Ne\n}, Symbol.toStringTag, { value: \"Module\" })), x = {\n ...le\n}, $e = (e, o, t) => {\n const { options: n, methods: s } = Ne(\n e,\n o,\n t\n ), r = f(\n e,\n x,\n n\n ), l = {\n ...s,\n toGeoJSON(a) {\n return o.value.toGeoJSON(a);\n }\n };\n return { options: r, methods: l };\n}, Ut = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n polygonProps: x,\n setupPolygon: $e\n}, Symbol.toStringTag, { value: \"Module\" })), co = S({\n name: \"LPolygon\",\n props: x,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = $e(e, t, o);\n return _(async () => {\n const { polygon: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(i(e.latLngs, l));\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), po = S({\n name: \"LPolyline\",\n props: le,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = Ne(e, t, o);\n return _(async () => {\n const { polyline: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n i(e.latLngs, l)\n );\n const { listeners: u } = T(o.attrs);\n t.value.on(u), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), ke = {\n ...W,\n content: {\n type: String,\n default: null\n }\n}, Ue = (e, o) => {\n const { options: t, methods: n } = J(e), s = {\n ...n,\n setContent(r) {\n o.value && r !== null && r !== void 0 && o.value.setContent(r);\n }\n };\n return { options: t, methods: s };\n}, De = (e) => e.default ? U(\"div\", { ref: \"root\" }, e.default()) : null, Dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n popperProps: ke,\n render: De,\n setupPopper: Ue\n}, Symbol.toStringTag, { value: \"Module\" })), lt = {\n ...ke,\n latLng: {\n type: [Object, Array],\n default: () => []\n }\n}, it = (e, o) => {\n const { options: t, methods: n } = Ue(e, o);\n return { options: t, methods: n };\n}, Ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n popupProps: lt,\n setupPopup: it\n}, Symbol.toStringTag, { value: \"Module\" })), yo = S({\n name: \"LPopup\",\n props: lt,\n setup(e, o) {\n const t = c(), n = c(null), s = O(h), r = m(ge), l = m(he), { options: a, methods: i } = it(e, t);\n return _(async () => {\n const { popup: u } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(u(a)), e.latLng !== void 0 && t.value.setLatLng(e.latLng), L(i, t.value, e);\n const { listeners: d } = T(o.attrs);\n t.value.on(d), t.value.setContent(e.content || n.value || \"\"), r(t.value), g(() => o.emit(\"ready\", t.value));\n }), R(() => {\n l();\n }), { root: n, leafletObject: t };\n },\n render() {\n return De(this.$slots);\n }\n}), Fe = {\n ...x,\n latLngs: {\n ...x.latLngs,\n required: !1\n },\n bounds: {\n type: Object,\n custom: !0\n }\n}, ut = (e, o, t) => {\n const { options: n, methods: s } = $e(\n e,\n o,\n t\n ), r = f(\n e,\n Fe,\n n\n ), l = {\n ...s,\n setBounds(a) {\n o.value.setBounds(a);\n },\n setLatLngs(a) {\n o.value.setBounds(a);\n }\n };\n return { options: r, methods: l };\n}, Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n rectangleProps: Fe,\n setupRectangle: ut\n}, Symbol.toStringTag, { value: \"Module\" })), mo = S({\n name: \"LRectangle\",\n props: Fe,\n setup(e, o) {\n const t = c(), n = c(!1), s = O(h), r = m(M), { options: l, methods: a } = ut(e, t, o);\n return _(async () => {\n const { rectangle: i, latLngBounds: u } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\"), d = e.bounds ? u(e.bounds) : u(e.latLngs || []);\n t.value = j(i(d, l));\n const { listeners: y } = T(o.attrs);\n t.value.on(y), L(a, t.value, e), r({\n ...e,\n ...a,\n leafletObject: t.value\n }), n.value = !0, g(() => o.emit(\"ready\", t.value));\n }), { ready: n, leafletObject: t };\n },\n render() {\n return G(this.ready, this.$slots);\n }\n}), ie = {\n ...ae,\n tms: {\n type: Boolean,\n default: void 0\n },\n subdomains: {\n type: [String, Array],\n validator: (e) => typeof e == \"string\" ? !0 : Array.isArray(e) ? e.every((o) => typeof o == \"string\") : !1\n },\n detectRetina: {\n type: Boolean,\n default: void 0\n },\n url: {\n type: String,\n required: !0,\n custom: !0\n }\n}, Ze = (e, o, t) => {\n const { options: n, methods: s } = Ae(e, o, t), r = f(\n e,\n ie,\n n\n ), l = {\n ...s\n };\n return { options: r, methods: l };\n}, Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n setupTileLayer: Ze,\n tileLayerProps: ie\n}, Symbol.toStringTag, { value: \"Module\" })), vo = S({\n props: ie,\n setup(e, o) {\n const t = c(), n = O(h), s = m(M), { options: r, methods: l } = Ze(e, t, o);\n return _(async () => {\n const { tileLayer: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(a(e.url, r));\n const { listeners: i } = T(o.attrs);\n t.value.on(i), L(l, t.value, e), s({\n ...e,\n ...l,\n leafletObject: t.value\n }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), ct = {\n ...ke\n}, dt = (e, o) => {\n const { options: t, methods: n } = Ue(e, o), s = m(Oe);\n return R(() => {\n s();\n }), { options: t, methods: n };\n}, Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n setupTooltip: dt,\n tooltipProps: ct\n}, Symbol.toStringTag, { value: \"Module\" })), bo = S({\n name: \"LTooltip\",\n props: ct,\n setup(e, o) {\n const t = c(), n = c(null), s = O(h), r = m(Le), { options: l, methods: a } = dt(e, t);\n return _(async () => {\n const { tooltip: i } = s ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(i(l)), L(a, t.value, e);\n const { listeners: u } = T(o.attrs);\n t.value.on(u), t.value.setContent(e.content || n.value || \"\"), r(t.value), g(() => o.emit(\"ready\", t.value));\n }), { root: n, leafletObject: t };\n },\n render() {\n return De(this.$slots);\n }\n}), Ee = {\n ...ie,\n layers: {\n type: String,\n required: !0\n },\n styles: {\n type: String\n },\n format: {\n type: String\n },\n transparent: {\n type: Boolean,\n default: void 0\n },\n version: {\n type: String\n },\n crs: {\n type: Object\n },\n uppercase: {\n type: Boolean,\n default: void 0\n }\n}, pt = (e, o, t) => {\n const { options: n, methods: s } = Ze(e, o, t);\n return {\n options: f(\n e,\n Ee,\n n\n ),\n methods: {\n ...s\n }\n };\n}, Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n setupWMSTileLayer: pt,\n wmsTileLayerProps: Ee\n}, Symbol.toStringTag, { value: \"Module\" })), fo = S({\n props: Ee,\n setup(e, o) {\n const t = c(), n = O(h), s = m(M), { options: r, methods: l } = pt(\n e,\n t,\n o\n );\n return _(async () => {\n const { tileLayer: a } = n ? b.L : await import(\"leaflet/dist/leaflet-src.esm\");\n t.value = j(\n a.wms(e.url, r)\n );\n const { listeners: i } = T(o.attrs);\n t.value.on(i), L(l, t.value, e), s({\n ...e,\n ...l,\n leafletObject: t.value\n }), g(() => o.emit(\"ready\", t.value));\n }), { leafletObject: t };\n },\n render() {\n return null;\n }\n}), go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n Circle: Ot,\n CircleMarker: ht,\n Component: bt,\n Control: St,\n ControlAttribution: _t,\n ControlLayers: jt,\n ControlScale: Pt,\n ControlZoom: Ct,\n FeatureGroup: Mt,\n GeoJSON: Bt,\n GridLayer: wt,\n Icon: It,\n ImageOverlay: At,\n InteractiveLayer: gt,\n Layer: ft,\n LayerGroup: Tt,\n Marker: $t,\n Path: Lt,\n Polygon: Ut,\n Polyline: kt,\n Popper: Dt,\n Popup: Ft,\n Rectangle: Zt,\n TileLayer: Et,\n Tooltip: Ht,\n WmsTileLayer: Wt\n}, Symbol.toStringTag, { value: \"Module\" }));\nexport {\n go as Functions,\n Qt as InjectionKeys,\n Xt as LCircle,\n Yt as LCircleMarker,\n Vt as LControl,\n xt as LControlAttribution,\n Rt as LControlLayers,\n eo as LControlScale,\n to as LControlZoom,\n oo as LFeatureGroup,\n no as LGeoJson,\n ro as LGridLayer,\n so as LIcon,\n ao as LImageOverlay,\n lo as LLayerGroup,\n io as LMap,\n uo as LMarker,\n co as LPolygon,\n po as LPolyline,\n yo as LPopup,\n mo as LRectangle,\n vo as LTileLayer,\n bo as LTooltip,\n fo as LWmsTileLayer,\n Kt as Utilities\n};\n","\n","\n\n\n\n\n","/* @preserve\n * Leaflet 1.9.3, a JS library for interactive maps. https://leafletjs.com\n * (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade\n */\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.leaflet = {}));\n})(this, (function (exports) { 'use strict';\n\n var version = \"1.9.3\";\n\n /*\r\n * @namespace Util\r\n *\r\n * Various utility functions, used by Leaflet internally.\r\n */\r\n\r\n // @function extend(dest: Object, src?: Object): Object\r\n // Merges the properties of the `src` object (or multiple objects) into `dest` object and returns the latter. Has an `L.extend` shortcut.\r\n function extend(dest) {\r\n \tvar i, j, len, src;\r\n\r\n \tfor (j = 1, len = arguments.length; j < len; j++) {\r\n \t\tsrc = arguments[j];\r\n \t\tfor (i in src) {\r\n \t\t\tdest[i] = src[i];\r\n \t\t}\r\n \t}\r\n \treturn dest;\r\n }\r\n\r\n // @function create(proto: Object, properties?: Object): Object\r\n // Compatibility polyfill for [Object.create](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/create)\r\n var create$2 = Object.create || (function () {\r\n \tfunction F() {}\r\n \treturn function (proto) {\r\n \t\tF.prototype = proto;\r\n \t\treturn new F();\r\n \t};\r\n })();\r\n\r\n // @function bind(fn: Function, …): Function\r\n // Returns a new function bound to the arguments passed, like [Function.prototype.bind](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).\r\n // Has a `L.bind()` shortcut.\r\n function bind(fn, obj) {\r\n \tvar slice = Array.prototype.slice;\r\n\r\n \tif (fn.bind) {\r\n \t\treturn fn.bind.apply(fn, slice.call(arguments, 1));\r\n \t}\r\n\r\n \tvar args = slice.call(arguments, 2);\r\n\r\n \treturn function () {\r\n \t\treturn fn.apply(obj, args.length ? args.concat(slice.call(arguments)) : arguments);\r\n \t};\r\n }\r\n\r\n // @property lastId: Number\r\n // Last unique ID used by [`stamp()`](#util-stamp)\r\n var lastId = 0;\r\n\r\n // @function stamp(obj: Object): Number\r\n // Returns the unique ID of an object, assigning it one if it doesn't have it.\r\n function stamp(obj) {\r\n \tif (!('_leaflet_id' in obj)) {\r\n \t\tobj['_leaflet_id'] = ++lastId;\r\n \t}\r\n \treturn obj._leaflet_id;\r\n }\r\n\r\n // @function throttle(fn: Function, time: Number, context: Object): Function\r\n // Returns a function which executes function `fn` with the given scope `context`\r\n // (so that the `this` keyword refers to `context` inside `fn`'s code). The function\r\n // `fn` will be called no more than one time per given amount of `time`. The arguments\r\n // received by the bound function will be any arguments passed when binding the\r\n // function, followed by any arguments passed when invoking the bound function.\r\n // Has an `L.throttle` shortcut.\r\n function throttle(fn, time, context) {\r\n \tvar lock, args, wrapperFn, later;\r\n\r\n \tlater = function () {\r\n \t\t// reset lock and call if queued\r\n \t\tlock = false;\r\n \t\tif (args) {\r\n \t\t\twrapperFn.apply(context, args);\r\n \t\t\targs = false;\r\n \t\t}\r\n \t};\r\n\r\n \twrapperFn = function () {\r\n \t\tif (lock) {\r\n \t\t\t// called too soon, queue to call later\r\n \t\t\targs = arguments;\r\n\r\n \t\t} else {\r\n \t\t\t// call and lock until later\r\n \t\t\tfn.apply(context, arguments);\r\n \t\t\tsetTimeout(later, time);\r\n \t\t\tlock = true;\r\n \t\t}\r\n \t};\r\n\r\n \treturn wrapperFn;\r\n }\r\n\r\n // @function wrapNum(num: Number, range: Number[], includeMax?: Boolean): Number\r\n // Returns the number `num` modulo `range` in such a way so it lies within\r\n // `range[0]` and `range[1]`. The returned value will be always smaller than\r\n // `range[1]` unless `includeMax` is set to `true`.\r\n function wrapNum(x, range, includeMax) {\r\n \tvar max = range[1],\r\n \t min = range[0],\r\n \t d = max - min;\r\n \treturn x === max && includeMax ? x : ((x - min) % d + d) % d + min;\r\n }\r\n\r\n // @function falseFn(): Function\r\n // Returns a function which always returns `false`.\r\n function falseFn() { return false; }\r\n\r\n // @function formatNum(num: Number, precision?: Number|false): Number\r\n // Returns the number `num` rounded with specified `precision`.\r\n // The default `precision` value is 6 decimal places.\r\n // `false` can be passed to skip any processing (can be useful to avoid round-off errors).\r\n function formatNum(num, precision) {\r\n \tif (precision === false) { return num; }\r\n \tvar pow = Math.pow(10, precision === undefined ? 6 : precision);\r\n \treturn Math.round(num * pow) / pow;\r\n }\r\n\r\n // @function trim(str: String): String\r\n // Compatibility polyfill for [String.prototype.trim](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim)\r\n function trim(str) {\r\n \treturn str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\r\n }\r\n\r\n // @function splitWords(str: String): String[]\r\n // Trims and splits the string on whitespace and returns the array of parts.\r\n function splitWords(str) {\r\n \treturn trim(str).split(/\\s+/);\r\n }\r\n\r\n // @function setOptions(obj: Object, options: Object): Object\r\n // Merges the given properties to the `options` of the `obj` object, returning the resulting options. See `Class options`. Has an `L.setOptions` shortcut.\r\n function setOptions(obj, options) {\r\n \tif (!Object.prototype.hasOwnProperty.call(obj, 'options')) {\r\n \t\tobj.options = obj.options ? create$2(obj.options) : {};\r\n \t}\r\n \tfor (var i in options) {\r\n \t\tobj.options[i] = options[i];\r\n \t}\r\n \treturn obj.options;\r\n }\r\n\r\n // @function getParamString(obj: Object, existingUrl?: String, uppercase?: Boolean): String\r\n // Converts an object into a parameter URL string, e.g. `{a: \"foo\", b: \"bar\"}`\r\n // translates to `'?a=foo&b=bar'`. If `existingUrl` is set, the parameters will\r\n // be appended at the end. If `uppercase` is `true`, the parameter names will\r\n // be uppercased (e.g. `'?A=foo&B=bar'`)\r\n function getParamString(obj, existingUrl, uppercase) {\r\n \tvar params = [];\r\n \tfor (var i in obj) {\r\n \t\tparams.push(encodeURIComponent(uppercase ? i.toUpperCase() : i) + '=' + encodeURIComponent(obj[i]));\r\n \t}\r\n \treturn ((!existingUrl || existingUrl.indexOf('?') === -1) ? '?' : '&') + params.join('&');\r\n }\r\n\r\n var templateRe = /\\{ *([\\w_ -]+) *\\}/g;\r\n\r\n // @function template(str: String, data: Object): String\r\n // Simple templating facility, accepts a template string of the form `'Hello {a}, {b}'`\r\n // and a data object like `{a: 'foo', b: 'bar'}`, returns evaluated string\r\n // `('Hello foo, bar')`. You can also specify functions instead of strings for\r\n // data values — they will be evaluated passing `data` as an argument.\r\n function template(str, data) {\r\n \treturn str.replace(templateRe, function (str, key) {\r\n \t\tvar value = data[key];\r\n\r\n \t\tif (value === undefined) {\r\n \t\t\tthrow new Error('No value provided for variable ' + str);\r\n\r\n \t\t} else if (typeof value === 'function') {\r\n \t\t\tvalue = value(data);\r\n \t\t}\r\n \t\treturn value;\r\n \t});\r\n }\r\n\r\n // @function isArray(obj): Boolean\r\n // Compatibility polyfill for [Array.isArray](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray)\r\n var isArray = Array.isArray || function (obj) {\r\n \treturn (Object.prototype.toString.call(obj) === '[object Array]');\r\n };\r\n\r\n // @function indexOf(array: Array, el: Object): Number\r\n // Compatibility polyfill for [Array.prototype.indexOf](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf)\r\n function indexOf(array, el) {\r\n \tfor (var i = 0; i < array.length; i++) {\r\n \t\tif (array[i] === el) { return i; }\r\n \t}\r\n \treturn -1;\r\n }\r\n\r\n // @property emptyImageUrl: String\r\n // Data URI string containing a base64-encoded empty GIF image.\r\n // Used as a hack to free memory from unused images on WebKit-powered\r\n // mobile devices (by setting image `src` to this string).\r\n var emptyImageUrl = 'data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=';\r\n\r\n // inspired by https://paulirish.com/2011/requestanimationframe-for-smart-animating/\r\n\r\n function getPrefixed(name) {\r\n \treturn window['webkit' + name] || window['moz' + name] || window['ms' + name];\r\n }\r\n\r\n var lastTime = 0;\r\n\r\n // fallback for IE 7-8\r\n function timeoutDefer(fn) {\r\n \tvar time = +new Date(),\r\n \t timeToCall = Math.max(0, 16 - (time - lastTime));\r\n\r\n \tlastTime = time + timeToCall;\r\n \treturn window.setTimeout(fn, timeToCall);\r\n }\r\n\r\n var requestFn = window.requestAnimationFrame || getPrefixed('RequestAnimationFrame') || timeoutDefer;\r\n var cancelFn = window.cancelAnimationFrame || getPrefixed('CancelAnimationFrame') ||\r\n \t\tgetPrefixed('CancelRequestAnimationFrame') || function (id) { window.clearTimeout(id); };\r\n\r\n // @function requestAnimFrame(fn: Function, context?: Object, immediate?: Boolean): Number\r\n // Schedules `fn` to be executed when the browser repaints. `fn` is bound to\r\n // `context` if given. When `immediate` is set, `fn` is called immediately if\r\n // the browser doesn't have native support for\r\n // [`window.requestAnimationFrame`](https://developer.mozilla.org/docs/Web/API/window/requestAnimationFrame),\r\n // otherwise it's delayed. Returns a request ID that can be used to cancel the request.\r\n function requestAnimFrame(fn, context, immediate) {\r\n \tif (immediate && requestFn === timeoutDefer) {\r\n \t\tfn.call(context);\r\n \t} else {\r\n \t\treturn requestFn.call(window, bind(fn, context));\r\n \t}\r\n }\r\n\r\n // @function cancelAnimFrame(id: Number): undefined\r\n // Cancels a previous `requestAnimFrame`. See also [window.cancelAnimationFrame](https://developer.mozilla.org/docs/Web/API/window/cancelAnimationFrame).\r\n function cancelAnimFrame(id) {\r\n \tif (id) {\r\n \t\tcancelFn.call(window, id);\r\n \t}\r\n }\n\n var Util = {\n __proto__: null,\n extend: extend,\n create: create$2,\n bind: bind,\n get lastId () { return lastId; },\n stamp: stamp,\n throttle: throttle,\n wrapNum: wrapNum,\n falseFn: falseFn,\n formatNum: formatNum,\n trim: trim,\n splitWords: splitWords,\n setOptions: setOptions,\n getParamString: getParamString,\n template: template,\n isArray: isArray,\n indexOf: indexOf,\n emptyImageUrl: emptyImageUrl,\n requestFn: requestFn,\n cancelFn: cancelFn,\n requestAnimFrame: requestAnimFrame,\n cancelAnimFrame: cancelAnimFrame\n };\n\n // @class Class\r\n // @aka L.Class\r\n\r\n // @section\r\n // @uninheritable\r\n\r\n // Thanks to John Resig and Dean Edwards for inspiration!\r\n\r\n function Class() {}\r\n\r\n Class.extend = function (props) {\r\n\r\n \t// @function extend(props: Object): Function\r\n \t// [Extends the current class](#class-inheritance) given the properties to be included.\r\n \t// Returns a Javascript function that is a class constructor (to be called with `new`).\r\n \tvar NewClass = function () {\r\n\r\n \t\tsetOptions(this);\r\n\r\n \t\t// call the constructor\r\n \t\tif (this.initialize) {\r\n \t\t\tthis.initialize.apply(this, arguments);\r\n \t\t}\r\n\r\n \t\t// call all constructor hooks\r\n \t\tthis.callInitHooks();\r\n \t};\r\n\r\n \tvar parentProto = NewClass.__super__ = this.prototype;\r\n\r\n \tvar proto = create$2(parentProto);\r\n \tproto.constructor = NewClass;\r\n\r\n \tNewClass.prototype = proto;\r\n\r\n \t// inherit parent's statics\r\n \tfor (var i in this) {\r\n \t\tif (Object.prototype.hasOwnProperty.call(this, i) && i !== 'prototype' && i !== '__super__') {\r\n \t\t\tNewClass[i] = this[i];\r\n \t\t}\r\n \t}\r\n\r\n \t// mix static properties into the class\r\n \tif (props.statics) {\r\n \t\textend(NewClass, props.statics);\r\n \t}\r\n\r\n \t// mix includes into the prototype\r\n \tif (props.includes) {\r\n \t\tcheckDeprecatedMixinEvents(props.includes);\r\n \t\textend.apply(null, [proto].concat(props.includes));\r\n \t}\r\n\r\n \t// mix given properties into the prototype\r\n \textend(proto, props);\r\n \tdelete proto.statics;\r\n \tdelete proto.includes;\r\n\r\n \t// merge options\r\n \tif (proto.options) {\r\n \t\tproto.options = parentProto.options ? create$2(parentProto.options) : {};\r\n \t\textend(proto.options, props.options);\r\n \t}\r\n\r\n \tproto._initHooks = [];\r\n\r\n \t// add method for calling all hooks\r\n \tproto.callInitHooks = function () {\r\n\r\n \t\tif (this._initHooksCalled) { return; }\r\n\r\n \t\tif (parentProto.callInitHooks) {\r\n \t\t\tparentProto.callInitHooks.call(this);\r\n \t\t}\r\n\r\n \t\tthis._initHooksCalled = true;\r\n\r\n \t\tfor (var i = 0, len = proto._initHooks.length; i < len; i++) {\r\n \t\t\tproto._initHooks[i].call(this);\r\n \t\t}\r\n \t};\r\n\r\n \treturn NewClass;\r\n };\r\n\r\n\r\n // @function include(properties: Object): this\r\n // [Includes a mixin](#class-includes) into the current class.\r\n Class.include = function (props) {\r\n \tvar parentOptions = this.prototype.options;\r\n \textend(this.prototype, props);\r\n \tif (props.options) {\r\n \t\tthis.prototype.options = parentOptions;\r\n \t\tthis.mergeOptions(props.options);\r\n \t}\r\n \treturn this;\r\n };\r\n\r\n // @function mergeOptions(options: Object): this\r\n // [Merges `options`](#class-options) into the defaults of the class.\r\n Class.mergeOptions = function (options) {\r\n \textend(this.prototype.options, options);\r\n \treturn this;\r\n };\r\n\r\n // @function addInitHook(fn: Function): this\r\n // Adds a [constructor hook](#class-constructor-hooks) to the class.\r\n Class.addInitHook = function (fn) { // (Function) || (String, args...)\r\n \tvar args = Array.prototype.slice.call(arguments, 1);\r\n\r\n \tvar init = typeof fn === 'function' ? fn : function () {\r\n \t\tthis[fn].apply(this, args);\r\n \t};\r\n\r\n \tthis.prototype._initHooks = this.prototype._initHooks || [];\r\n \tthis.prototype._initHooks.push(init);\r\n \treturn this;\r\n };\r\n\r\n function checkDeprecatedMixinEvents(includes) {\r\n \t/* global L: true */\r\n \tif (typeof L === 'undefined' || !L || !L.Mixin) { return; }\r\n\r\n \tincludes = isArray(includes) ? includes : [includes];\r\n\r\n \tfor (var i = 0; i < includes.length; i++) {\r\n \t\tif (includes[i] === L.Mixin.Events) {\r\n \t\t\tconsole.warn('Deprecated include of L.Mixin.Events: ' +\r\n \t\t\t\t'this property will be removed in future releases, ' +\r\n \t\t\t\t'please inherit from L.Evented instead.', new Error().stack);\r\n \t\t}\r\n \t}\r\n }\n\n /*\r\n * @class Evented\r\n * @aka L.Evented\r\n * @inherits Class\r\n *\r\n * A set of methods shared between event-powered classes (like `Map` and `Marker`). Generally, events allow you to execute some function when something happens with an object (e.g. the user clicks on the map, causing the map to fire `'click'` event).\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * map.on('click', function(e) {\r\n * \talert(e.latlng);\r\n * } );\r\n * ```\r\n *\r\n * Leaflet deals with event listeners by reference, so if you want to add a listener and then remove it, define it as a function:\r\n *\r\n * ```js\r\n * function onClick(e) { ... }\r\n *\r\n * map.on('click', onClick);\r\n * map.off('click', onClick);\r\n * ```\r\n */\r\n\r\n var Events = {\r\n \t/* @method on(type: String, fn: Function, context?: Object): this\r\n \t * Adds a listener function (`fn`) to a particular event type of the object. You can optionally specify the context of the listener (object the this keyword will point to). You can also pass several space-separated types (e.g. `'click dblclick'`).\r\n \t *\r\n \t * @alternative\r\n \t * @method on(eventMap: Object): this\r\n \t * Adds a set of type/listener pairs, e.g. `{click: onClick, mousemove: onMouseMove}`\r\n \t */\r\n \ton: function (types, fn, context) {\r\n\r\n \t\t// types can be a map of types/handlers\r\n \t\tif (typeof types === 'object') {\r\n \t\t\tfor (var type in types) {\r\n \t\t\t\t// we don't process space-separated events here for performance;\r\n \t\t\t\t// it's a hot path since Layer uses the on(obj) syntax\r\n \t\t\t\tthis._on(type, types[type], fn);\r\n \t\t\t}\r\n\r\n \t\t} else {\r\n \t\t\t// types can be a string of space-separated words\r\n \t\t\ttypes = splitWords(types);\r\n\r\n \t\t\tfor (var i = 0, len = types.length; i < len; i++) {\r\n \t\t\t\tthis._on(types[i], fn, context);\r\n \t\t\t}\r\n \t\t}\r\n\r\n \t\treturn this;\r\n \t},\r\n\r\n \t/* @method off(type: String, fn?: Function, context?: Object): this\r\n \t * Removes a previously added listener function. If no function is specified, it will remove all the listeners of that particular event from the object. Note that if you passed a custom context to `on`, you must pass the same context to `off` in order to remove the listener.\r\n \t *\r\n \t * @alternative\r\n \t * @method off(eventMap: Object): this\r\n \t * Removes a set of type/listener pairs.\r\n \t *\r\n \t * @alternative\r\n \t * @method off: this\r\n \t * Removes all listeners to all events on the object. This includes implicitly attached events.\r\n \t */\r\n \toff: function (types, fn, context) {\r\n\r\n \t\tif (!arguments.length) {\r\n \t\t\t// clear all listeners if called without arguments\r\n \t\t\tdelete this._events;\r\n\r\n \t\t} else if (typeof types === 'object') {\r\n \t\t\tfor (var type in types) {\r\n \t\t\t\tthis._off(type, types[type], fn);\r\n \t\t\t}\r\n\r\n \t\t} else {\r\n \t\t\ttypes = splitWords(types);\r\n\r\n \t\t\tvar removeAll = arguments.length === 1;\r\n \t\t\tfor (var i = 0, len = types.length; i < len; i++) {\r\n \t\t\t\tif (removeAll) {\r\n \t\t\t\t\tthis._off(types[i]);\r\n \t\t\t\t} else {\r\n \t\t\t\t\tthis._off(types[i], fn, context);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// attach listener (without syntactic sugar now)\r\n \t_on: function (type, fn, context, _once) {\r\n \t\tif (typeof fn !== 'function') {\r\n \t\t\tconsole.warn('wrong listener type: ' + typeof fn);\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\t// check if fn already there\r\n \t\tif (this._listens(type, fn, context) !== false) {\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\tif (context === this) {\r\n \t\t\t// Less memory footprint.\r\n \t\t\tcontext = undefined;\r\n \t\t}\r\n\r\n \t\tvar newListener = {fn: fn, ctx: context};\r\n \t\tif (_once) {\r\n \t\t\tnewListener.once = true;\r\n \t\t}\r\n\r\n \t\tthis._events = this._events || {};\r\n \t\tthis._events[type] = this._events[type] || [];\r\n \t\tthis._events[type].push(newListener);\r\n \t},\r\n\r\n \t_off: function (type, fn, context) {\r\n \t\tvar listeners,\r\n \t\t i,\r\n \t\t len;\r\n\r\n \t\tif (!this._events) {\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\tlisteners = this._events[type];\r\n \t\tif (!listeners) {\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\tif (arguments.length === 1) { // remove all\r\n \t\t\tif (this._firingCount) {\r\n \t\t\t\t// Set all removed listeners to noop\r\n \t\t\t\t// so they are not called if remove happens in fire\r\n \t\t\t\tfor (i = 0, len = listeners.length; i < len; i++) {\r\n \t\t\t\t\tlisteners[i].fn = falseFn;\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t\t// clear all listeners for a type if function isn't specified\r\n \t\t\tdelete this._events[type];\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\tif (typeof fn !== 'function') {\r\n \t\t\tconsole.warn('wrong listener type: ' + typeof fn);\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\t// find fn and remove it\r\n \t\tvar index = this._listens(type, fn, context);\r\n \t\tif (index !== false) {\r\n \t\t\tvar listener = listeners[index];\r\n \t\t\tif (this._firingCount) {\r\n \t\t\t\t// set the removed listener to noop so that's not called if remove happens in fire\r\n \t\t\t\tlistener.fn = falseFn;\r\n\r\n \t\t\t\t/* copy array in case events are being fired */\r\n \t\t\t\tthis._events[type] = listeners = listeners.slice();\r\n \t\t\t}\r\n \t\t\tlisteners.splice(index, 1);\r\n \t\t}\r\n \t},\r\n\r\n \t// @method fire(type: String, data?: Object, propagate?: Boolean): this\r\n \t// Fires an event of the specified type. You can optionally provide a data\r\n \t// object — the first argument of the listener function will contain its\r\n \t// properties. The event can optionally be propagated to event parents.\r\n \tfire: function (type, data, propagate) {\r\n \t\tif (!this.listens(type, propagate)) { return this; }\r\n\r\n \t\tvar event = extend({}, data, {\r\n \t\t\ttype: type,\r\n \t\t\ttarget: this,\r\n \t\t\tsourceTarget: data && data.sourceTarget || this\r\n \t\t});\r\n\r\n \t\tif (this._events) {\r\n \t\t\tvar listeners = this._events[type];\r\n \t\t\tif (listeners) {\r\n \t\t\t\tthis._firingCount = (this._firingCount + 1) || 1;\r\n \t\t\t\tfor (var i = 0, len = listeners.length; i < len; i++) {\r\n \t\t\t\t\tvar l = listeners[i];\r\n \t\t\t\t\t// off overwrites l.fn, so we need to copy fn to a var\r\n \t\t\t\t\tvar fn = l.fn;\r\n \t\t\t\t\tif (l.once) {\r\n \t\t\t\t\t\tthis.off(type, fn, l.ctx);\r\n \t\t\t\t\t}\r\n \t\t\t\t\tfn.call(l.ctx || this, event);\r\n \t\t\t\t}\r\n\r\n \t\t\t\tthis._firingCount--;\r\n \t\t\t}\r\n \t\t}\r\n\r\n \t\tif (propagate) {\r\n \t\t\t// propagate the event to parents (set with addEventParent)\r\n \t\t\tthis._propagateEvent(event);\r\n \t\t}\r\n\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method listens(type: String, propagate?: Boolean): Boolean\r\n \t// @method listens(type: String, fn: Function, context?: Object, propagate?: Boolean): Boolean\r\n \t// Returns `true` if a particular event type has any listeners attached to it.\r\n \t// The verification can optionally be propagated, it will return `true` if parents have the listener attached to it.\r\n \tlistens: function (type, fn, context, propagate) {\r\n \t\tif (typeof type !== 'string') {\r\n \t\t\tconsole.warn('\"string\" type argument expected');\r\n \t\t}\r\n\r\n \t\t// we don't overwrite the input `fn` value, because we need to use it for propagation\r\n \t\tvar _fn = fn;\r\n \t\tif (typeof fn !== 'function') {\r\n \t\t\tpropagate = !!fn;\r\n \t\t\t_fn = undefined;\r\n \t\t\tcontext = undefined;\r\n \t\t}\r\n\r\n \t\tvar listeners = this._events && this._events[type];\r\n \t\tif (listeners && listeners.length) {\r\n \t\t\tif (this._listens(type, _fn, context) !== false) {\r\n \t\t\t\treturn true;\r\n \t\t\t}\r\n \t\t}\r\n\r\n \t\tif (propagate) {\r\n \t\t\t// also check parents for listeners if event propagates\r\n \t\t\tfor (var id in this._eventParents) {\r\n \t\t\t\tif (this._eventParents[id].listens(type, fn, context, propagate)) { return true; }\r\n \t\t\t}\r\n \t\t}\r\n \t\treturn false;\r\n \t},\r\n\r\n \t// returns the index (number) or false\r\n \t_listens: function (type, fn, context) {\r\n \t\tif (!this._events) {\r\n \t\t\treturn false;\r\n \t\t}\r\n\r\n \t\tvar listeners = this._events[type] || [];\r\n \t\tif (!fn) {\r\n \t\t\treturn !!listeners.length;\r\n \t\t}\r\n\r\n \t\tif (context === this) {\r\n \t\t\t// Less memory footprint.\r\n \t\t\tcontext = undefined;\r\n \t\t}\r\n\r\n \t\tfor (var i = 0, len = listeners.length; i < len; i++) {\r\n \t\t\tif (listeners[i].fn === fn && listeners[i].ctx === context) {\r\n \t\t\t\treturn i;\r\n \t\t\t}\r\n \t\t}\r\n \t\treturn false;\r\n\r\n \t},\r\n\r\n \t// @method once(…): this\r\n \t// Behaves as [`on(…)`](#evented-on), except the listener will only get fired once and then removed.\r\n \tonce: function (types, fn, context) {\r\n\r\n \t\t// types can be a map of types/handlers\r\n \t\tif (typeof types === 'object') {\r\n \t\t\tfor (var type in types) {\r\n \t\t\t\t// we don't process space-separated events here for performance;\r\n \t\t\t\t// it's a hot path since Layer uses the on(obj) syntax\r\n \t\t\t\tthis._on(type, types[type], fn, true);\r\n \t\t\t}\r\n\r\n \t\t} else {\r\n \t\t\t// types can be a string of space-separated words\r\n \t\t\ttypes = splitWords(types);\r\n\r\n \t\t\tfor (var i = 0, len = types.length; i < len; i++) {\r\n \t\t\t\tthis._on(types[i], fn, context, true);\r\n \t\t\t}\r\n \t\t}\r\n\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method addEventParent(obj: Evented): this\r\n \t// Adds an event parent - an `Evented` that will receive propagated events\r\n \taddEventParent: function (obj) {\r\n \t\tthis._eventParents = this._eventParents || {};\r\n \t\tthis._eventParents[stamp(obj)] = obj;\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method removeEventParent(obj: Evented): this\r\n \t// Removes an event parent, so it will stop receiving propagated events\r\n \tremoveEventParent: function (obj) {\r\n \t\tif (this._eventParents) {\r\n \t\t\tdelete this._eventParents[stamp(obj)];\r\n \t\t}\r\n \t\treturn this;\r\n \t},\r\n\r\n \t_propagateEvent: function (e) {\r\n \t\tfor (var id in this._eventParents) {\r\n \t\t\tthis._eventParents[id].fire(e.type, extend({\r\n \t\t\t\tlayer: e.target,\r\n \t\t\t\tpropagatedFrom: e.target\r\n \t\t\t}, e), true);\r\n \t\t}\r\n \t}\r\n };\r\n\r\n // aliases; we should ditch those eventually\r\n\r\n // @method addEventListener(…): this\r\n // Alias to [`on(…)`](#evented-on)\r\n Events.addEventListener = Events.on;\r\n\r\n // @method removeEventListener(…): this\r\n // Alias to [`off(…)`](#evented-off)\r\n\r\n // @method clearAllEventListeners(…): this\r\n // Alias to [`off()`](#evented-off)\r\n Events.removeEventListener = Events.clearAllEventListeners = Events.off;\r\n\r\n // @method addOneTimeEventListener(…): this\r\n // Alias to [`once(…)`](#evented-once)\r\n Events.addOneTimeEventListener = Events.once;\r\n\r\n // @method fireEvent(…): this\r\n // Alias to [`fire(…)`](#evented-fire)\r\n Events.fireEvent = Events.fire;\r\n\r\n // @method hasEventListeners(…): Boolean\r\n // Alias to [`listens(…)`](#evented-listens)\r\n Events.hasEventListeners = Events.listens;\r\n\r\n var Evented = Class.extend(Events);\n\n /*\r\n * @class Point\r\n * @aka L.Point\r\n *\r\n * Represents a point with `x` and `y` coordinates in pixels.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var point = L.point(200, 300);\r\n * ```\r\n *\r\n * All Leaflet methods and options that accept `Point` objects also accept them in a simple Array form (unless noted otherwise), so these lines are equivalent:\r\n *\r\n * ```js\r\n * map.panBy([200, 300]);\r\n * map.panBy(L.point(200, 300));\r\n * ```\r\n *\r\n * Note that `Point` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\n function Point(x, y, round) {\r\n \t// @property x: Number; The `x` coordinate of the point\r\n \tthis.x = (round ? Math.round(x) : x);\r\n \t// @property y: Number; The `y` coordinate of the point\r\n \tthis.y = (round ? Math.round(y) : y);\r\n }\r\n\r\n var trunc = Math.trunc || function (v) {\r\n \treturn v > 0 ? Math.floor(v) : Math.ceil(v);\r\n };\r\n\r\n Point.prototype = {\r\n\r\n \t// @method clone(): Point\r\n \t// Returns a copy of the current point.\r\n \tclone: function () {\r\n \t\treturn new Point(this.x, this.y);\r\n \t},\r\n\r\n \t// @method add(otherPoint: Point): Point\r\n \t// Returns the result of addition of the current and the given points.\r\n \tadd: function (point) {\r\n \t\t// non-destructive, returns a new point\r\n \t\treturn this.clone()._add(toPoint(point));\r\n \t},\r\n\r\n \t_add: function (point) {\r\n \t\t// destructive, used directly for performance in situations where it's safe to modify existing point\r\n \t\tthis.x += point.x;\r\n \t\tthis.y += point.y;\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method subtract(otherPoint: Point): Point\r\n \t// Returns the result of subtraction of the given point from the current.\r\n \tsubtract: function (point) {\r\n \t\treturn this.clone()._subtract(toPoint(point));\r\n \t},\r\n\r\n \t_subtract: function (point) {\r\n \t\tthis.x -= point.x;\r\n \t\tthis.y -= point.y;\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method divideBy(num: Number): Point\r\n \t// Returns the result of division of the current point by the given number.\r\n \tdivideBy: function (num) {\r\n \t\treturn this.clone()._divideBy(num);\r\n \t},\r\n\r\n \t_divideBy: function (num) {\r\n \t\tthis.x /= num;\r\n \t\tthis.y /= num;\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method multiplyBy(num: Number): Point\r\n \t// Returns the result of multiplication of the current point by the given number.\r\n \tmultiplyBy: function (num) {\r\n \t\treturn this.clone()._multiplyBy(num);\r\n \t},\r\n\r\n \t_multiplyBy: function (num) {\r\n \t\tthis.x *= num;\r\n \t\tthis.y *= num;\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method scaleBy(scale: Point): Point\r\n \t// Multiply each coordinate of the current point by each coordinate of\r\n \t// `scale`. In linear algebra terms, multiply the point by the\r\n \t// [scaling matrix](https://en.wikipedia.org/wiki/Scaling_%28geometry%29#Matrix_representation)\r\n \t// defined by `scale`.\r\n \tscaleBy: function (point) {\r\n \t\treturn new Point(this.x * point.x, this.y * point.y);\r\n \t},\r\n\r\n \t// @method unscaleBy(scale: Point): Point\r\n \t// Inverse of `scaleBy`. Divide each coordinate of the current point by\r\n \t// each coordinate of `scale`.\r\n \tunscaleBy: function (point) {\r\n \t\treturn new Point(this.x / point.x, this.y / point.y);\r\n \t},\r\n\r\n \t// @method round(): Point\r\n \t// Returns a copy of the current point with rounded coordinates.\r\n \tround: function () {\r\n \t\treturn this.clone()._round();\r\n \t},\r\n\r\n \t_round: function () {\r\n \t\tthis.x = Math.round(this.x);\r\n \t\tthis.y = Math.round(this.y);\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method floor(): Point\r\n \t// Returns a copy of the current point with floored coordinates (rounded down).\r\n \tfloor: function () {\r\n \t\treturn this.clone()._floor();\r\n \t},\r\n\r\n \t_floor: function () {\r\n \t\tthis.x = Math.floor(this.x);\r\n \t\tthis.y = Math.floor(this.y);\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method ceil(): Point\r\n \t// Returns a copy of the current point with ceiled coordinates (rounded up).\r\n \tceil: function () {\r\n \t\treturn this.clone()._ceil();\r\n \t},\r\n\r\n \t_ceil: function () {\r\n \t\tthis.x = Math.ceil(this.x);\r\n \t\tthis.y = Math.ceil(this.y);\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method trunc(): Point\r\n \t// Returns a copy of the current point with truncated coordinates (rounded towards zero).\r\n \ttrunc: function () {\r\n \t\treturn this.clone()._trunc();\r\n \t},\r\n\r\n \t_trunc: function () {\r\n \t\tthis.x = trunc(this.x);\r\n \t\tthis.y = trunc(this.y);\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method distanceTo(otherPoint: Point): Number\r\n \t// Returns the cartesian distance between the current and the given points.\r\n \tdistanceTo: function (point) {\r\n \t\tpoint = toPoint(point);\r\n\r\n \t\tvar x = point.x - this.x,\r\n \t\t y = point.y - this.y;\r\n\r\n \t\treturn Math.sqrt(x * x + y * y);\r\n \t},\r\n\r\n \t// @method equals(otherPoint: Point): Boolean\r\n \t// Returns `true` if the given point has the same coordinates.\r\n \tequals: function (point) {\r\n \t\tpoint = toPoint(point);\r\n\r\n \t\treturn point.x === this.x &&\r\n \t\t point.y === this.y;\r\n \t},\r\n\r\n \t// @method contains(otherPoint: Point): Boolean\r\n \t// Returns `true` if both coordinates of the given point are less than the corresponding current point coordinates (in absolute values).\r\n \tcontains: function (point) {\r\n \t\tpoint = toPoint(point);\r\n\r\n \t\treturn Math.abs(point.x) <= Math.abs(this.x) &&\r\n \t\t Math.abs(point.y) <= Math.abs(this.y);\r\n \t},\r\n\r\n \t// @method toString(): String\r\n \t// Returns a string representation of the point for debugging purposes.\r\n \ttoString: function () {\r\n \t\treturn 'Point(' +\r\n \t\t formatNum(this.x) + ', ' +\r\n \t\t formatNum(this.y) + ')';\r\n \t}\r\n };\r\n\r\n // @factory L.point(x: Number, y: Number, round?: Boolean)\r\n // Creates a Point object with the given `x` and `y` coordinates. If optional `round` is set to true, rounds the `x` and `y` values.\r\n\r\n // @alternative\r\n // @factory L.point(coords: Number[])\r\n // Expects an array of the form `[x, y]` instead.\r\n\r\n // @alternative\r\n // @factory L.point(coords: Object)\r\n // Expects a plain object of the form `{x: Number, y: Number}` instead.\r\n function toPoint(x, y, round) {\r\n \tif (x instanceof Point) {\r\n \t\treturn x;\r\n \t}\r\n \tif (isArray(x)) {\r\n \t\treturn new Point(x[0], x[1]);\r\n \t}\r\n \tif (x === undefined || x === null) {\r\n \t\treturn x;\r\n \t}\r\n \tif (typeof x === 'object' && 'x' in x && 'y' in x) {\r\n \t\treturn new Point(x.x, x.y);\r\n \t}\r\n \treturn new Point(x, y, round);\r\n }\n\n /*\r\n * @class Bounds\r\n * @aka L.Bounds\r\n *\r\n * Represents a rectangular area in pixel coordinates.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var p1 = L.point(10, 10),\r\n * p2 = L.point(40, 60),\r\n * bounds = L.bounds(p1, p2);\r\n * ```\r\n *\r\n * All Leaflet methods that accept `Bounds` objects also accept them in a simple Array form (unless noted otherwise), so the bounds example above can be passed like this:\r\n *\r\n * ```js\r\n * otherBounds.intersects([[10, 10], [40, 60]]);\r\n * ```\r\n *\r\n * Note that `Bounds` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\n function Bounds(a, b) {\r\n \tif (!a) { return; }\r\n\r\n \tvar points = b ? [a, b] : a;\r\n\r\n \tfor (var i = 0, len = points.length; i < len; i++) {\r\n \t\tthis.extend(points[i]);\r\n \t}\r\n }\r\n\r\n Bounds.prototype = {\r\n \t// @method extend(point: Point): this\r\n \t// Extends the bounds to contain the given point.\r\n\r\n \t// @alternative\r\n \t// @method extend(otherBounds: Bounds): this\r\n \t// Extend the bounds to contain the given bounds\r\n \textend: function (obj) {\r\n \t\tvar min2, max2;\r\n \t\tif (!obj) { return this; }\r\n\r\n \t\tif (obj instanceof Point || typeof obj[0] === 'number' || 'x' in obj) {\r\n \t\t\tmin2 = max2 = toPoint(obj);\r\n \t\t} else {\r\n \t\t\tobj = toBounds(obj);\r\n \t\t\tmin2 = obj.min;\r\n \t\t\tmax2 = obj.max;\r\n\r\n \t\t\tif (!min2 || !max2) { return this; }\r\n \t\t}\r\n\r\n \t\t// @property min: Point\r\n \t\t// The top left corner of the rectangle.\r\n \t\t// @property max: Point\r\n \t\t// The bottom right corner of the rectangle.\r\n \t\tif (!this.min && !this.max) {\r\n \t\t\tthis.min = min2.clone();\r\n \t\t\tthis.max = max2.clone();\r\n \t\t} else {\r\n \t\t\tthis.min.x = Math.min(min2.x, this.min.x);\r\n \t\t\tthis.max.x = Math.max(max2.x, this.max.x);\r\n \t\t\tthis.min.y = Math.min(min2.y, this.min.y);\r\n \t\t\tthis.max.y = Math.max(max2.y, this.max.y);\r\n \t\t}\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method getCenter(round?: Boolean): Point\r\n \t// Returns the center point of the bounds.\r\n \tgetCenter: function (round) {\r\n \t\treturn toPoint(\r\n \t\t (this.min.x + this.max.x) / 2,\r\n \t\t (this.min.y + this.max.y) / 2, round);\r\n \t},\r\n\r\n \t// @method getBottomLeft(): Point\r\n \t// Returns the bottom-left point of the bounds.\r\n \tgetBottomLeft: function () {\r\n \t\treturn toPoint(this.min.x, this.max.y);\r\n \t},\r\n\r\n \t// @method getTopRight(): Point\r\n \t// Returns the top-right point of the bounds.\r\n \tgetTopRight: function () { // -> Point\r\n \t\treturn toPoint(this.max.x, this.min.y);\r\n \t},\r\n\r\n \t// @method getTopLeft(): Point\r\n \t// Returns the top-left point of the bounds (i.e. [`this.min`](#bounds-min)).\r\n \tgetTopLeft: function () {\r\n \t\treturn this.min; // left, top\r\n \t},\r\n\r\n \t// @method getBottomRight(): Point\r\n \t// Returns the bottom-right point of the bounds (i.e. [`this.max`](#bounds-max)).\r\n \tgetBottomRight: function () {\r\n \t\treturn this.max; // right, bottom\r\n \t},\r\n\r\n \t// @method getSize(): Point\r\n \t// Returns the size of the given bounds\r\n \tgetSize: function () {\r\n \t\treturn this.max.subtract(this.min);\r\n \t},\r\n\r\n \t// @method contains(otherBounds: Bounds): Boolean\r\n \t// Returns `true` if the rectangle contains the given one.\r\n \t// @alternative\r\n \t// @method contains(point: Point): Boolean\r\n \t// Returns `true` if the rectangle contains the given point.\r\n \tcontains: function (obj) {\r\n \t\tvar min, max;\r\n\r\n \t\tif (typeof obj[0] === 'number' || obj instanceof Point) {\r\n \t\t\tobj = toPoint(obj);\r\n \t\t} else {\r\n \t\t\tobj = toBounds(obj);\r\n \t\t}\r\n\r\n \t\tif (obj instanceof Bounds) {\r\n \t\t\tmin = obj.min;\r\n \t\t\tmax = obj.max;\r\n \t\t} else {\r\n \t\t\tmin = max = obj;\r\n \t\t}\r\n\r\n \t\treturn (min.x >= this.min.x) &&\r\n \t\t (max.x <= this.max.x) &&\r\n \t\t (min.y >= this.min.y) &&\r\n \t\t (max.y <= this.max.y);\r\n \t},\r\n\r\n \t// @method intersects(otherBounds: Bounds): Boolean\r\n \t// Returns `true` if the rectangle intersects the given bounds. Two bounds\r\n \t// intersect if they have at least one point in common.\r\n \tintersects: function (bounds) { // (Bounds) -> Boolean\r\n \t\tbounds = toBounds(bounds);\r\n\r\n \t\tvar min = this.min,\r\n \t\t max = this.max,\r\n \t\t min2 = bounds.min,\r\n \t\t max2 = bounds.max,\r\n \t\t xIntersects = (max2.x >= min.x) && (min2.x <= max.x),\r\n \t\t yIntersects = (max2.y >= min.y) && (min2.y <= max.y);\r\n\r\n \t\treturn xIntersects && yIntersects;\r\n \t},\r\n\r\n \t// @method overlaps(otherBounds: Bounds): Boolean\r\n \t// Returns `true` if the rectangle overlaps the given bounds. Two bounds\r\n \t// overlap if their intersection is an area.\r\n \toverlaps: function (bounds) { // (Bounds) -> Boolean\r\n \t\tbounds = toBounds(bounds);\r\n\r\n \t\tvar min = this.min,\r\n \t\t max = this.max,\r\n \t\t min2 = bounds.min,\r\n \t\t max2 = bounds.max,\r\n \t\t xOverlaps = (max2.x > min.x) && (min2.x < max.x),\r\n \t\t yOverlaps = (max2.y > min.y) && (min2.y < max.y);\r\n\r\n \t\treturn xOverlaps && yOverlaps;\r\n \t},\r\n\r\n \t// @method isValid(): Boolean\r\n \t// Returns `true` if the bounds are properly initialized.\r\n \tisValid: function () {\r\n \t\treturn !!(this.min && this.max);\r\n \t},\r\n\r\n\r\n \t// @method pad(bufferRatio: Number): Bounds\r\n \t// Returns bounds created by extending or retracting the current bounds by a given ratio in each direction.\r\n \t// For example, a ratio of 0.5 extends the bounds by 50% in each direction.\r\n \t// Negative values will retract the bounds.\r\n \tpad: function (bufferRatio) {\r\n \t\tvar min = this.min,\r\n \t\tmax = this.max,\r\n \t\theightBuffer = Math.abs(min.x - max.x) * bufferRatio,\r\n \t\twidthBuffer = Math.abs(min.y - max.y) * bufferRatio;\r\n\r\n\r\n \t\treturn toBounds(\r\n \t\t\ttoPoint(min.x - heightBuffer, min.y - widthBuffer),\r\n \t\t\ttoPoint(max.x + heightBuffer, max.y + widthBuffer));\r\n \t},\r\n\r\n\r\n \t// @method equals(otherBounds: Bounds): Boolean\r\n \t// Returns `true` if the rectangle is equivalent to the given bounds.\r\n \tequals: function (bounds) {\r\n \t\tif (!bounds) { return false; }\r\n\r\n \t\tbounds = toBounds(bounds);\r\n\r\n \t\treturn this.min.equals(bounds.getTopLeft()) &&\r\n \t\t\tthis.max.equals(bounds.getBottomRight());\r\n \t},\r\n };\r\n\r\n\r\n // @factory L.bounds(corner1: Point, corner2: Point)\r\n // Creates a Bounds object from two corners coordinate pairs.\r\n // @alternative\r\n // @factory L.bounds(points: Point[])\r\n // Creates a Bounds object from the given array of points.\r\n function toBounds(a, b) {\r\n \tif (!a || a instanceof Bounds) {\r\n \t\treturn a;\r\n \t}\r\n \treturn new Bounds(a, b);\r\n }\n\n /*\r\n * @class LatLngBounds\r\n * @aka L.LatLngBounds\r\n *\r\n * Represents a rectangular geographical area on a map.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var corner1 = L.latLng(40.712, -74.227),\r\n * corner2 = L.latLng(40.774, -74.125),\r\n * bounds = L.latLngBounds(corner1, corner2);\r\n * ```\r\n *\r\n * All Leaflet methods that accept LatLngBounds objects also accept them in a simple Array form (unless noted otherwise), so the bounds example above can be passed like this:\r\n *\r\n * ```js\r\n * map.fitBounds([\r\n * \t[40.712, -74.227],\r\n * \t[40.774, -74.125]\r\n * ]);\r\n * ```\r\n *\r\n * Caution: if the area crosses the antimeridian (often confused with the International Date Line), you must specify corners _outside_ the [-180, 180] degrees longitude range.\r\n *\r\n * Note that `LatLngBounds` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\n function LatLngBounds(corner1, corner2) { // (LatLng, LatLng) or (LatLng[])\r\n \tif (!corner1) { return; }\r\n\r\n \tvar latlngs = corner2 ? [corner1, corner2] : corner1;\r\n\r\n \tfor (var i = 0, len = latlngs.length; i < len; i++) {\r\n \t\tthis.extend(latlngs[i]);\r\n \t}\r\n }\r\n\r\n LatLngBounds.prototype = {\r\n\r\n \t// @method extend(latlng: LatLng): this\r\n \t// Extend the bounds to contain the given point\r\n\r\n \t// @alternative\r\n \t// @method extend(otherBounds: LatLngBounds): this\r\n \t// Extend the bounds to contain the given bounds\r\n \textend: function (obj) {\r\n \t\tvar sw = this._southWest,\r\n \t\t ne = this._northEast,\r\n \t\t sw2, ne2;\r\n\r\n \t\tif (obj instanceof LatLng) {\r\n \t\t\tsw2 = obj;\r\n \t\t\tne2 = obj;\r\n\r\n \t\t} else if (obj instanceof LatLngBounds) {\r\n \t\t\tsw2 = obj._southWest;\r\n \t\t\tne2 = obj._northEast;\r\n\r\n \t\t\tif (!sw2 || !ne2) { return this; }\r\n\r\n \t\t} else {\r\n \t\t\treturn obj ? this.extend(toLatLng(obj) || toLatLngBounds(obj)) : this;\r\n \t\t}\r\n\r\n \t\tif (!sw && !ne) {\r\n \t\t\tthis._southWest = new LatLng(sw2.lat, sw2.lng);\r\n \t\t\tthis._northEast = new LatLng(ne2.lat, ne2.lng);\r\n \t\t} else {\r\n \t\t\tsw.lat = Math.min(sw2.lat, sw.lat);\r\n \t\t\tsw.lng = Math.min(sw2.lng, sw.lng);\r\n \t\t\tne.lat = Math.max(ne2.lat, ne.lat);\r\n \t\t\tne.lng = Math.max(ne2.lng, ne.lng);\r\n \t\t}\r\n\r\n \t\treturn this;\r\n \t},\r\n\r\n \t// @method pad(bufferRatio: Number): LatLngBounds\r\n \t// Returns bounds created by extending or retracting the current bounds by a given ratio in each direction.\r\n \t// For example, a ratio of 0.5 extends the bounds by 50% in each direction.\r\n \t// Negative values will retract the bounds.\r\n \tpad: function (bufferRatio) {\r\n \t\tvar sw = this._southWest,\r\n \t\t ne = this._northEast,\r\n \t\t heightBuffer = Math.abs(sw.lat - ne.lat) * bufferRatio,\r\n \t\t widthBuffer = Math.abs(sw.lng - ne.lng) * bufferRatio;\r\n\r\n \t\treturn new LatLngBounds(\r\n \t\t new LatLng(sw.lat - heightBuffer, sw.lng - widthBuffer),\r\n \t\t new LatLng(ne.lat + heightBuffer, ne.lng + widthBuffer));\r\n \t},\r\n\r\n \t// @method getCenter(): LatLng\r\n \t// Returns the center point of the bounds.\r\n \tgetCenter: function () {\r\n \t\treturn new LatLng(\r\n \t\t (this._southWest.lat + this._northEast.lat) / 2,\r\n \t\t (this._southWest.lng + this._northEast.lng) / 2);\r\n \t},\r\n\r\n \t// @method getSouthWest(): LatLng\r\n \t// Returns the south-west point of the bounds.\r\n \tgetSouthWest: function () {\r\n \t\treturn this._southWest;\r\n \t},\r\n\r\n \t// @method getNorthEast(): LatLng\r\n \t// Returns the north-east point of the bounds.\r\n \tgetNorthEast: function () {\r\n \t\treturn this._northEast;\r\n \t},\r\n\r\n \t// @method getNorthWest(): LatLng\r\n \t// Returns the north-west point of the bounds.\r\n \tgetNorthWest: function () {\r\n \t\treturn new LatLng(this.getNorth(), this.getWest());\r\n \t},\r\n\r\n \t// @method getSouthEast(): LatLng\r\n \t// Returns the south-east point of the bounds.\r\n \tgetSouthEast: function () {\r\n \t\treturn new LatLng(this.getSouth(), this.getEast());\r\n \t},\r\n\r\n \t// @method getWest(): Number\r\n \t// Returns the west longitude of the bounds\r\n \tgetWest: function () {\r\n \t\treturn this._southWest.lng;\r\n \t},\r\n\r\n \t// @method getSouth(): Number\r\n \t// Returns the south latitude of the bounds\r\n \tgetSouth: function () {\r\n \t\treturn this._southWest.lat;\r\n \t},\r\n\r\n \t// @method getEast(): Number\r\n \t// Returns the east longitude of the bounds\r\n \tgetEast: function () {\r\n \t\treturn this._northEast.lng;\r\n \t},\r\n\r\n \t// @method getNorth(): Number\r\n \t// Returns the north latitude of the bounds\r\n \tgetNorth: function () {\r\n \t\treturn this._northEast.lat;\r\n \t},\r\n\r\n \t// @method contains(otherBounds: LatLngBounds): Boolean\r\n \t// Returns `true` if the rectangle contains the given one.\r\n\r\n \t// @alternative\r\n \t// @method contains (latlng: LatLng): Boolean\r\n \t// Returns `true` if the rectangle contains the given point.\r\n \tcontains: function (obj) { // (LatLngBounds) or (LatLng) -> Boolean\r\n \t\tif (typeof obj[0] === 'number' || obj instanceof LatLng || 'lat' in obj) {\r\n \t\t\tobj = toLatLng(obj);\r\n \t\t} else {\r\n \t\t\tobj = toLatLngBounds(obj);\r\n \t\t}\r\n\r\n \t\tvar sw = this._southWest,\r\n \t\t ne = this._northEast,\r\n \t\t sw2, ne2;\r\n\r\n \t\tif (obj instanceof LatLngBounds) {\r\n \t\t\tsw2 = obj.getSouthWest();\r\n \t\t\tne2 = obj.getNorthEast();\r\n \t\t} else {\r\n \t\t\tsw2 = ne2 = obj;\r\n \t\t}\r\n\r\n \t\treturn (sw2.lat >= sw.lat) && (ne2.lat <= ne.lat) &&\r\n \t\t (sw2.lng >= sw.lng) && (ne2.lng <= ne.lng);\r\n \t},\r\n\r\n \t// @method intersects(otherBounds: LatLngBounds): Boolean\r\n \t// Returns `true` if the rectangle intersects the given bounds. Two bounds intersect if they have at least one point in common.\r\n \tintersects: function (bounds) {\r\n \t\tbounds = toLatLngBounds(bounds);\r\n\r\n \t\tvar sw = this._southWest,\r\n \t\t ne = this._northEast,\r\n \t\t sw2 = bounds.getSouthWest(),\r\n \t\t ne2 = bounds.getNorthEast(),\r\n\r\n \t\t latIntersects = (ne2.lat >= sw.lat) && (sw2.lat <= ne.lat),\r\n \t\t lngIntersects = (ne2.lng >= sw.lng) && (sw2.lng <= ne.lng);\r\n\r\n \t\treturn latIntersects && lngIntersects;\r\n \t},\r\n\r\n \t// @method overlaps(otherBounds: LatLngBounds): Boolean\r\n \t// Returns `true` if the rectangle overlaps the given bounds. Two bounds overlap if their intersection is an area.\r\n \toverlaps: function (bounds) {\r\n \t\tbounds = toLatLngBounds(bounds);\r\n\r\n \t\tvar sw = this._southWest,\r\n \t\t ne = this._northEast,\r\n \t\t sw2 = bounds.getSouthWest(),\r\n \t\t ne2 = bounds.getNorthEast(),\r\n\r\n \t\t latOverlaps = (ne2.lat > sw.lat) && (sw2.lat < ne.lat),\r\n \t\t lngOverlaps = (ne2.lng > sw.lng) && (sw2.lng < ne.lng);\r\n\r\n \t\treturn latOverlaps && lngOverlaps;\r\n \t},\r\n\r\n \t// @method toBBoxString(): String\r\n \t// Returns a string with bounding box coordinates in a 'southwest_lng,southwest_lat,northeast_lng,northeast_lat' format. Useful for sending requests to web services that return geo data.\r\n \ttoBBoxString: function () {\r\n \t\treturn [this.getWest(), this.getSouth(), this.getEast(), this.getNorth()].join(',');\r\n \t},\r\n\r\n \t// @method equals(otherBounds: LatLngBounds, maxMargin?: Number): Boolean\r\n \t// Returns `true` if the rectangle is equivalent (within a small margin of error) to the given bounds. The margin of error can be overridden by setting `maxMargin` to a small number.\r\n \tequals: function (bounds, maxMargin) {\r\n \t\tif (!bounds) { return false; }\r\n\r\n \t\tbounds = toLatLngBounds(bounds);\r\n\r\n \t\treturn this._southWest.equals(bounds.getSouthWest(), maxMargin) &&\r\n \t\t this._northEast.equals(bounds.getNorthEast(), maxMargin);\r\n \t},\r\n\r\n \t// @method isValid(): Boolean\r\n \t// Returns `true` if the bounds are properly initialized.\r\n \tisValid: function () {\r\n \t\treturn !!(this._southWest && this._northEast);\r\n \t}\r\n };\r\n\r\n // TODO International date line?\r\n\r\n // @factory L.latLngBounds(corner1: LatLng, corner2: LatLng)\r\n // Creates a `LatLngBounds` object by defining two diagonally opposite corners of the rectangle.\r\n\r\n // @alternative\r\n // @factory L.latLngBounds(latlngs: LatLng[])\r\n // Creates a `LatLngBounds` object defined by the geographical points it contains. Very useful for zooming the map to fit a particular set of locations with [`fitBounds`](#map-fitbounds).\r\n function toLatLngBounds(a, b) {\r\n \tif (a instanceof LatLngBounds) {\r\n \t\treturn a;\r\n \t}\r\n \treturn new LatLngBounds(a, b);\r\n }\n\n /* @class LatLng\r\n * @aka L.LatLng\r\n *\r\n * Represents a geographical point with a certain latitude and longitude.\r\n *\r\n * @example\r\n *\r\n * ```\r\n * var latlng = L.latLng(50.5, 30.5);\r\n * ```\r\n *\r\n * All Leaflet methods that accept LatLng objects also accept them in a simple Array form and simple object form (unless noted otherwise), so these lines are equivalent:\r\n *\r\n * ```\r\n * map.panTo([50, 30]);\r\n * map.panTo({lon: 30, lat: 50});\r\n * map.panTo({lat: 50, lng: 30});\r\n * map.panTo(L.latLng(50, 30));\r\n * ```\r\n *\r\n * Note that `LatLng` does not inherit from Leaflet's `Class` object,\r\n * which means new classes can't inherit from it, and new methods\r\n * can't be added to it with the `include` function.\r\n */\r\n\r\n function LatLng(lat, lng, alt) {\r\n \tif (isNaN(lat) || isNaN(lng)) {\r\n \t\tthrow new Error('Invalid LatLng object: (' + lat + ', ' + lng + ')');\r\n \t}\r\n\r\n \t// @property lat: Number\r\n \t// Latitude in degrees\r\n \tthis.lat = +lat;\r\n\r\n \t// @property lng: Number\r\n \t// Longitude in degrees\r\n \tthis.lng = +lng;\r\n\r\n \t// @property alt: Number\r\n \t// Altitude in meters (optional)\r\n \tif (alt !== undefined) {\r\n \t\tthis.alt = +alt;\r\n \t}\r\n }\r\n\r\n LatLng.prototype = {\r\n \t// @method equals(otherLatLng: LatLng, maxMargin?: Number): Boolean\r\n \t// Returns `true` if the given `LatLng` point is at the same position (within a small margin of error). The margin of error can be overridden by setting `maxMargin` to a small number.\r\n \tequals: function (obj, maxMargin) {\r\n \t\tif (!obj) { return false; }\r\n\r\n \t\tobj = toLatLng(obj);\r\n\r\n \t\tvar margin = Math.max(\r\n \t\t Math.abs(this.lat - obj.lat),\r\n \t\t Math.abs(this.lng - obj.lng));\r\n\r\n \t\treturn margin <= (maxMargin === undefined ? 1.0E-9 : maxMargin);\r\n \t},\r\n\r\n \t// @method toString(): String\r\n \t// Returns a string representation of the point (for debugging purposes).\r\n \ttoString: function (precision) {\r\n \t\treturn 'LatLng(' +\r\n \t\t formatNum(this.lat, precision) + ', ' +\r\n \t\t formatNum(this.lng, precision) + ')';\r\n \t},\r\n\r\n \t// @method distanceTo(otherLatLng: LatLng): Number\r\n \t// Returns the distance (in meters) to the given `LatLng` calculated using the [Spherical Law of Cosines](https://en.wikipedia.org/wiki/Spherical_law_of_cosines).\r\n \tdistanceTo: function (other) {\r\n \t\treturn Earth.distance(this, toLatLng(other));\r\n \t},\r\n\r\n \t// @method wrap(): LatLng\r\n \t// Returns a new `LatLng` object with the longitude wrapped so it's always between -180 and +180 degrees.\r\n \twrap: function () {\r\n \t\treturn Earth.wrapLatLng(this);\r\n \t},\r\n\r\n \t// @method toBounds(sizeInMeters: Number): LatLngBounds\r\n \t// Returns a new `LatLngBounds` object in which each boundary is `sizeInMeters/2` meters apart from the `LatLng`.\r\n \ttoBounds: function (sizeInMeters) {\r\n \t\tvar latAccuracy = 180 * sizeInMeters / 40075017,\r\n \t\t lngAccuracy = latAccuracy / Math.cos((Math.PI / 180) * this.lat);\r\n\r\n \t\treturn toLatLngBounds(\r\n \t\t [this.lat - latAccuracy, this.lng - lngAccuracy],\r\n \t\t [this.lat + latAccuracy, this.lng + lngAccuracy]);\r\n \t},\r\n\r\n \tclone: function () {\r\n \t\treturn new LatLng(this.lat, this.lng, this.alt);\r\n \t}\r\n };\r\n\r\n\r\n\r\n // @factory L.latLng(latitude: Number, longitude: Number, altitude?: Number): LatLng\r\n // Creates an object representing a geographical point with the given latitude and longitude (and optionally altitude).\r\n\r\n // @alternative\r\n // @factory L.latLng(coords: Array): LatLng\r\n // Expects an array of the form `[Number, Number]` or `[Number, Number, Number]` instead.\r\n\r\n // @alternative\r\n // @factory L.latLng(coords: Object): LatLng\r\n // Expects an plain object of the form `{lat: Number, lng: Number}` or `{lat: Number, lng: Number, alt: Number}` instead.\r\n\r\n function toLatLng(a, b, c) {\r\n \tif (a instanceof LatLng) {\r\n \t\treturn a;\r\n \t}\r\n \tif (isArray(a) && typeof a[0] !== 'object') {\r\n \t\tif (a.length === 3) {\r\n \t\t\treturn new LatLng(a[0], a[1], a[2]);\r\n \t\t}\r\n \t\tif (a.length === 2) {\r\n \t\t\treturn new LatLng(a[0], a[1]);\r\n \t\t}\r\n \t\treturn null;\r\n \t}\r\n \tif (a === undefined || a === null) {\r\n \t\treturn a;\r\n \t}\r\n \tif (typeof a === 'object' && 'lat' in a) {\r\n \t\treturn new LatLng(a.lat, 'lng' in a ? a.lng : a.lon, a.alt);\r\n \t}\r\n \tif (b === undefined) {\r\n \t\treturn null;\r\n \t}\r\n \treturn new LatLng(a, b, c);\r\n }\n\n /*\r\n * @namespace CRS\r\n * @crs L.CRS.Base\r\n * Object that defines coordinate reference systems for projecting\r\n * geographical points into pixel (screen) coordinates and back (and to\r\n * coordinates in other units for [WMS](https://en.wikipedia.org/wiki/Web_Map_Service) services). See\r\n * [spatial reference system](https://en.wikipedia.org/wiki/Spatial_reference_system).\r\n *\r\n * Leaflet defines the most usual CRSs by default. If you want to use a\r\n * CRS not defined by default, take a look at the\r\n * [Proj4Leaflet](https://github.com/kartena/Proj4Leaflet) plugin.\r\n *\r\n * Note that the CRS instances do not inherit from Leaflet's `Class` object,\r\n * and can't be instantiated. Also, new classes can't inherit from them,\r\n * and methods can't be added to them with the `include` function.\r\n */\r\n\r\n var CRS = {\r\n \t// @method latLngToPoint(latlng: LatLng, zoom: Number): Point\r\n \t// Projects geographical coordinates into pixel coordinates for a given zoom.\r\n \tlatLngToPoint: function (latlng, zoom) {\r\n \t\tvar projectedPoint = this.projection.project(latlng),\r\n \t\t scale = this.scale(zoom);\r\n\r\n \t\treturn this.transformation._transform(projectedPoint, scale);\r\n \t},\r\n\r\n \t// @method pointToLatLng(point: Point, zoom: Number): LatLng\r\n \t// The inverse of `latLngToPoint`. Projects pixel coordinates on a given\r\n \t// zoom into geographical coordinates.\r\n \tpointToLatLng: function (point, zoom) {\r\n \t\tvar scale = this.scale(zoom),\r\n \t\t untransformedPoint = this.transformation.untransform(point, scale);\r\n\r\n \t\treturn this.projection.unproject(untransformedPoint);\r\n \t},\r\n\r\n \t// @method project(latlng: LatLng): Point\r\n \t// Projects geographical coordinates into coordinates in units accepted for\r\n \t// this CRS (e.g. meters for EPSG:3857, for passing it to WMS services).\r\n \tproject: function (latlng) {\r\n \t\treturn this.projection.project(latlng);\r\n \t},\r\n\r\n \t// @method unproject(point: Point): LatLng\r\n \t// Given a projected coordinate returns the corresponding LatLng.\r\n \t// The inverse of `project`.\r\n \tunproject: function (point) {\r\n \t\treturn this.projection.unproject(point);\r\n \t},\r\n\r\n \t// @method scale(zoom: Number): Number\r\n \t// Returns the scale used when transforming projected coordinates into\r\n \t// pixel coordinates for a particular zoom. For example, it returns\r\n \t// `256 * 2^zoom` for Mercator-based CRS.\r\n \tscale: function (zoom) {\r\n \t\treturn 256 * Math.pow(2, zoom);\r\n \t},\r\n\r\n \t// @method zoom(scale: Number): Number\r\n \t// Inverse of `scale()`, returns the zoom level corresponding to a scale\r\n \t// factor of `scale`.\r\n \tzoom: function (scale) {\r\n \t\treturn Math.log(scale / 256) / Math.LN2;\r\n \t},\r\n\r\n \t// @method getProjectedBounds(zoom: Number): Bounds\r\n \t// Returns the projection's bounds scaled and transformed for the provided `zoom`.\r\n \tgetProjectedBounds: function (zoom) {\r\n \t\tif (this.infinite) { return null; }\r\n\r\n \t\tvar b = this.projection.bounds,\r\n \t\t s = this.scale(zoom),\r\n \t\t min = this.transformation.transform(b.min, s),\r\n \t\t max = this.transformation.transform(b.max, s);\r\n\r\n \t\treturn new Bounds(min, max);\r\n \t},\r\n\r\n \t// @method distance(latlng1: LatLng, latlng2: LatLng): Number\r\n \t// Returns the distance between two geographical coordinates.\r\n\r\n \t// @property code: String\r\n \t// Standard code name of the CRS passed into WMS services (e.g. `'EPSG:3857'`)\r\n \t//\r\n \t// @property wrapLng: Number[]\r\n \t// An array of two numbers defining whether the longitude (horizontal) coordinate\r\n \t// axis wraps around a given range and how. Defaults to `[-180, 180]` in most\r\n \t// geographical CRSs. If `undefined`, the longitude axis does not wrap around.\r\n \t//\r\n \t// @property wrapLat: Number[]\r\n \t// Like `wrapLng`, but for the latitude (vertical) axis.\r\n\r\n \t// wrapLng: [min, max],\r\n \t// wrapLat: [min, max],\r\n\r\n \t// @property infinite: Boolean\r\n \t// If true, the coordinate space will be unbounded (infinite in both axes)\r\n \tinfinite: false,\r\n\r\n \t// @method wrapLatLng(latlng: LatLng): LatLng\r\n \t// Returns a `LatLng` where lat and lng has been wrapped according to the\r\n \t// CRS's `wrapLat` and `wrapLng` properties, if they are outside the CRS's bounds.\r\n \twrapLatLng: function (latlng) {\r\n \t\tvar lng = this.wrapLng ? wrapNum(latlng.lng, this.wrapLng, true) : latlng.lng,\r\n \t\t lat = this.wrapLat ? wrapNum(latlng.lat, this.wrapLat, true) : latlng.lat,\r\n \t\t alt = latlng.alt;\r\n\r\n \t\treturn new LatLng(lat, lng, alt);\r\n \t},\r\n\r\n \t// @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds\r\n \t// Returns a `LatLngBounds` with the same size as the given one, ensuring\r\n \t// that its center is within the CRS's bounds.\r\n \t// Only accepts actual `L.LatLngBounds` instances, not arrays.\r\n \twrapLatLngBounds: function (bounds) {\r\n \t\tvar center = bounds.getCenter(),\r\n \t\t newCenter = this.wrapLatLng(center),\r\n \t\t latShift = center.lat - newCenter.lat,\r\n \t\t lngShift = center.lng - newCenter.lng;\r\n\r\n \t\tif (latShift === 0 && lngShift === 0) {\r\n \t\t\treturn bounds;\r\n \t\t}\r\n\r\n \t\tvar sw = bounds.getSouthWest(),\r\n \t\t ne = bounds.getNorthEast(),\r\n \t\t newSw = new LatLng(sw.lat - latShift, sw.lng - lngShift),\r\n \t\t newNe = new LatLng(ne.lat - latShift, ne.lng - lngShift);\r\n\r\n \t\treturn new LatLngBounds(newSw, newNe);\r\n \t}\r\n };\n\n /*\n * @namespace CRS\n * @crs L.CRS.Earth\n *\n * Serves as the base for CRS that are global such that they cover the earth.\n * Can only be used as the base for other CRS and cannot be used directly,\n * since it does not have a `code`, `projection` or `transformation`. `distance()` returns\n * meters.\n */\n\n var Earth = extend({}, CRS, {\n \twrapLng: [-180, 180],\n\n \t// Mean Earth Radius, as recommended for use by\n \t// the International Union of Geodesy and Geophysics,\n \t// see https://rosettacode.org/wiki/Haversine_formula\n \tR: 6371000,\n\n \t// distance between two geographical points using spherical law of cosines approximation\n \tdistance: function (latlng1, latlng2) {\n \t\tvar rad = Math.PI / 180,\n \t\t lat1 = latlng1.lat * rad,\n \t\t lat2 = latlng2.lat * rad,\n \t\t sinDLat = Math.sin((latlng2.lat - latlng1.lat) * rad / 2),\n \t\t sinDLon = Math.sin((latlng2.lng - latlng1.lng) * rad / 2),\n \t\t a = sinDLat * sinDLat + Math.cos(lat1) * Math.cos(lat2) * sinDLon * sinDLon,\n \t\t c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\n \t\treturn this.R * c;\n \t}\n });\n\n /*\r\n * @namespace Projection\r\n * @projection L.Projection.SphericalMercator\r\n *\r\n * Spherical Mercator projection — the most common projection for online maps,\r\n * used by almost all free and commercial tile providers. Assumes that Earth is\r\n * a sphere. Used by the `EPSG:3857` CRS.\r\n */\r\n\r\n var earthRadius = 6378137;\r\n\r\n var SphericalMercator = {\r\n\r\n \tR: earthRadius,\r\n \tMAX_LATITUDE: 85.0511287798,\r\n\r\n \tproject: function (latlng) {\r\n \t\tvar d = Math.PI / 180,\r\n \t\t max = this.MAX_LATITUDE,\r\n \t\t lat = Math.max(Math.min(max, latlng.lat), -max),\r\n \t\t sin = Math.sin(lat * d);\r\n\r\n \t\treturn new Point(\r\n \t\t\tthis.R * latlng.lng * d,\r\n \t\t\tthis.R * Math.log((1 + sin) / (1 - sin)) / 2);\r\n \t},\r\n\r\n \tunproject: function (point) {\r\n \t\tvar d = 180 / Math.PI;\r\n\r\n \t\treturn new LatLng(\r\n \t\t\t(2 * Math.atan(Math.exp(point.y / this.R)) - (Math.PI / 2)) * d,\r\n \t\t\tpoint.x * d / this.R);\r\n \t},\r\n\r\n \tbounds: (function () {\r\n \t\tvar d = earthRadius * Math.PI;\r\n \t\treturn new Bounds([-d, -d], [d, d]);\r\n \t})()\r\n };\n\n /*\r\n * @class Transformation\r\n * @aka L.Transformation\r\n *\r\n * Represents an affine transformation: a set of coefficients `a`, `b`, `c`, `d`\r\n * for transforming a point of a form `(x, y)` into `(a*x + b, c*y + d)` and doing\r\n * the reverse. Used by Leaflet in its projections code.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * var transformation = L.transformation(2, 5, -1, 10),\r\n * \tp = L.point(1, 2),\r\n * \tp2 = transformation.transform(p), // L.point(7, 8)\r\n * \tp3 = transformation.untransform(p2); // L.point(1, 2)\r\n * ```\r\n */\r\n\r\n\r\n // factory new L.Transformation(a: Number, b: Number, c: Number, d: Number)\r\n // Creates a `Transformation` object with the given coefficients.\r\n function Transformation(a, b, c, d) {\r\n \tif (isArray(a)) {\r\n \t\t// use array properties\r\n \t\tthis._a = a[0];\r\n \t\tthis._b = a[1];\r\n \t\tthis._c = a[2];\r\n \t\tthis._d = a[3];\r\n \t\treturn;\r\n \t}\r\n \tthis._a = a;\r\n \tthis._b = b;\r\n \tthis._c = c;\r\n \tthis._d = d;\r\n }\r\n\r\n Transformation.prototype = {\r\n \t// @method transform(point: Point, scale?: Number): Point\r\n \t// Returns a transformed point, optionally multiplied by the given scale.\r\n \t// Only accepts actual `L.Point` instances, not arrays.\r\n \ttransform: function (point, scale) { // (Point, Number) -> Point\r\n \t\treturn this._transform(point.clone(), scale);\r\n \t},\r\n\r\n \t// destructive transform (faster)\r\n \t_transform: function (point, scale) {\r\n \t\tscale = scale || 1;\r\n \t\tpoint.x = scale * (this._a * point.x + this._b);\r\n \t\tpoint.y = scale * (this._c * point.y + this._d);\r\n \t\treturn point;\r\n \t},\r\n\r\n \t// @method untransform(point: Point, scale?: Number): Point\r\n \t// Returns the reverse transformation of the given point, optionally divided\r\n \t// by the given scale. Only accepts actual `L.Point` instances, not arrays.\r\n \tuntransform: function (point, scale) {\r\n \t\tscale = scale || 1;\r\n \t\treturn new Point(\r\n \t\t (point.x / scale - this._b) / this._a,\r\n \t\t (point.y / scale - this._d) / this._c);\r\n \t}\r\n };\r\n\r\n // factory L.transformation(a: Number, b: Number, c: Number, d: Number)\r\n\r\n // @factory L.transformation(a: Number, b: Number, c: Number, d: Number)\r\n // Instantiates a Transformation object with the given coefficients.\r\n\r\n // @alternative\r\n // @factory L.transformation(coefficients: Array): Transformation\r\n // Expects an coefficients array of the form\r\n // `[a: Number, b: Number, c: Number, d: Number]`.\r\n\r\n function toTransformation(a, b, c, d) {\r\n \treturn new Transformation(a, b, c, d);\r\n }\n\n /*\r\n * @namespace CRS\r\n * @crs L.CRS.EPSG3857\r\n *\r\n * The most common CRS for online maps, used by almost all free and commercial\r\n * tile providers. Uses Spherical Mercator projection. Set in by default in\r\n * Map's `crs` option.\r\n */\r\n\r\n var EPSG3857 = extend({}, Earth, {\r\n \tcode: 'EPSG:3857',\r\n \tprojection: SphericalMercator,\r\n\r\n \ttransformation: (function () {\r\n \t\tvar scale = 0.5 / (Math.PI * SphericalMercator.R);\r\n \t\treturn toTransformation(scale, 0.5, -scale, 0.5);\r\n \t}())\r\n });\r\n\r\n var EPSG900913 = extend({}, EPSG3857, {\r\n \tcode: 'EPSG:900913'\r\n });\n\n // @namespace SVG; @section\n // There are several static functions which can be called without instantiating L.SVG:\n\n // @function create(name: String): SVGElement\n // Returns a instance of [SVGElement](https://developer.mozilla.org/docs/Web/API/SVGElement),\n // corresponding to the class name passed. For example, using 'line' will return\n // an instance of [SVGLineElement](https://developer.mozilla.org/docs/Web/API/SVGLineElement).\n function svgCreate(name) {\n \treturn document.createElementNS('http://www.w3.org/2000/svg', name);\n }\n\n // @function pointsToPath(rings: Point[], closed: Boolean): String\n // Generates a SVG path string for multiple rings, with each ring turning\n // into \"M..L..L..\" instructions\n function pointsToPath(rings, closed) {\n \tvar str = '',\n \ti, j, len, len2, points, p;\n\n \tfor (i = 0, len = rings.length; i < len; i++) {\n \t\tpoints = rings[i];\n\n \t\tfor (j = 0, len2 = points.length; j < len2; j++) {\n \t\t\tp = points[j];\n \t\t\tstr += (j ? 'L' : 'M') + p.x + ' ' + p.y;\n \t\t}\n\n \t\t// closes the ring for polygons; \"x\" is VML syntax\n \t\tstr += closed ? (Browser.svg ? 'z' : 'x') : '';\n \t}\n\n \t// SVG complains about empty path strings\n \treturn str || 'M0 0';\n }\n\n /*\r\n * @namespace Browser\r\n * @aka L.Browser\r\n *\r\n * A namespace with static properties for browser/feature detection used by Leaflet internally.\r\n *\r\n * @example\r\n *\r\n * ```js\r\n * if (L.Browser.ielt9) {\r\n * alert('Upgrade your browser, dude!');\r\n * }\r\n * ```\r\n */\r\n\r\n var style = document.documentElement.style;\r\n\r\n // @property ie: Boolean; `true` for all Internet Explorer versions (not Edge).\r\n var ie = 'ActiveXObject' in window;\r\n\r\n // @property ielt9: Boolean; `true` for Internet Explorer versions less than 9.\r\n var ielt9 = ie && !document.addEventListener;\r\n\r\n // @property edge: Boolean; `true` for the Edge web browser.\r\n var edge = 'msLaunchUri' in navigator && !('documentMode' in document);\r\n\r\n // @property webkit: Boolean;\r\n // `true` for webkit-based browsers like Chrome and Safari (including mobile versions).\r\n var webkit = userAgentContains('webkit');\r\n\r\n // @property android: Boolean\r\n // **Deprecated.** `true` for any browser running on an Android platform.\r\n var android = userAgentContains('android');\r\n\r\n // @property android23: Boolean; **Deprecated.** `true` for browsers running on Android 2 or Android 3.\r\n var android23 = userAgentContains('android 2') || userAgentContains('android 3');\r\n\r\n /* See https://stackoverflow.com/a/17961266 for details on detecting stock Android */\r\n var webkitVer = parseInt(/WebKit\\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10); // also matches AppleWebKit\r\n // @property androidStock: Boolean; **Deprecated.** `true` for the Android stock browser (i.e. not Chrome)\r\n var androidStock = android && userAgentContains('Google') && webkitVer < 537 && !('AudioNode' in window);\r\n\r\n // @property opera: Boolean; `true` for the Opera browser\r\n var opera = !!window.opera;\r\n\r\n // @property chrome: Boolean; `true` for the Chrome browser.\r\n var chrome = !edge && userAgentContains('chrome');\r\n\r\n // @property gecko: Boolean; `true` for gecko-based browsers like Firefox.\r\n var gecko = userAgentContains('gecko') && !webkit && !opera && !ie;\r\n\r\n // @property safari: Boolean; `true` for the Safari browser.\r\n var safari = !chrome && userAgentContains('safari');\r\n\r\n var phantom = userAgentContains('phantom');\r\n\r\n // @property opera12: Boolean\r\n // `true` for the Opera browser supporting CSS transforms (version 12 or later).\r\n var opera12 = 'OTransition' in style;\r\n\r\n // @property win: Boolean; `true` when the browser is running in a Windows platform\r\n var win = navigator.platform.indexOf('Win') === 0;\r\n\r\n // @property ie3d: Boolean; `true` for all Internet Explorer versions supporting CSS transforms.\r\n var ie3d = ie && ('transition' in style);\r\n\r\n // @property webkit3d: Boolean; `true` for webkit-based browsers supporting CSS transforms.\r\n var webkit3d = ('WebKitCSSMatrix' in window) && ('m11' in new window.WebKitCSSMatrix()) && !android23;\r\n\r\n // @property gecko3d: Boolean; `true` for gecko-based browsers supporting CSS transforms.\r\n var gecko3d = 'MozPerspective' in style;\r\n\r\n // @property any3d: Boolean\r\n // `true` for all browsers supporting CSS transforms.\r\n var any3d = !window.L_DISABLE_3D && (ie3d || webkit3d || gecko3d) && !opera12 && !phantom;\r\n\r\n // @property mobile: Boolean; `true` for all browsers running in a mobile device.\r\n var mobile = typeof orientation !== 'undefined' || userAgentContains('mobile');\r\n\r\n // @property mobileWebkit: Boolean; `true` for all webkit-based browsers in a mobile device.\r\n var mobileWebkit = mobile && webkit;\r\n\r\n // @property mobileWebkit3d: Boolean\r\n // `true` for all webkit-based browsers in a mobile device supporting CSS transforms.\r\n var mobileWebkit3d = mobile && webkit3d;\r\n\r\n // @property msPointer: Boolean\r\n // `true` for browsers implementing the Microsoft touch events model (notably IE10).\r\n var msPointer = !window.PointerEvent && window.MSPointerEvent;\r\n\r\n // @property pointer: Boolean\r\n // `true` for all browsers supporting [pointer events](https://msdn.microsoft.com/en-us/library/dn433244%28v=vs.85%29.aspx).\r\n var pointer = !!(window.PointerEvent || msPointer);\r\n\r\n // @property touchNative: Boolean\r\n // `true` for all browsers supporting [touch events](https://developer.mozilla.org/docs/Web/API/Touch_events).\r\n // **This does not necessarily mean** that the browser is running in a computer with\r\n // a touchscreen, it only means that the browser is capable of understanding\r\n // touch events.\r\n var touchNative = 'ontouchstart' in window || !!window.TouchEvent;\r\n\r\n // @property touch: Boolean\r\n // `true` for all browsers supporting either [touch](#browser-touch) or [pointer](#browser-pointer) events.\r\n // Note: pointer events will be preferred (if available), and processed for all `touch*` listeners.\r\n var touch = !window.L_NO_TOUCH && (touchNative || pointer);\r\n\r\n // @property mobileOpera: Boolean; `true` for the Opera browser in a mobile device.\r\n var mobileOpera = mobile && opera;\r\n\r\n // @property mobileGecko: Boolean\r\n // `true` for gecko-based browsers running in a mobile device.\r\n var mobileGecko = mobile && gecko;\r\n\r\n // @property retina: Boolean\r\n // `true` for browsers on a high-resolution \"retina\" screen or on any screen when browser's display zoom is more than 100%.\r\n var retina = (window.devicePixelRatio || (window.screen.deviceXDPI / window.screen.logicalXDPI)) > 1;\r\n\r\n // @property passiveEvents: Boolean\r\n // `true` for browsers that support passive events.\r\n var passiveEvents = (function () {\r\n \tvar supportsPassiveOption = false;\r\n \ttry {\r\n \t\tvar opts = Object.defineProperty({}, 'passive', {\r\n \t\t\tget: function () { // eslint-disable-line getter-return\r\n \t\t\t\tsupportsPassiveOption = true;\r\n \t\t\t}\r\n \t\t});\r\n \t\twindow.addEventListener('testPassiveEventSupport', falseFn, opts);\r\n \t\twindow.removeEventListener('testPassiveEventSupport', falseFn, opts);\r\n \t} catch (e) {\r\n \t\t// Errors can safely be ignored since this is only a browser support test.\r\n \t}\r\n \treturn supportsPassiveOption;\r\n }());\r\n\r\n // @property canvas: Boolean\r\n // `true` when the browser supports [``](https://developer.mozilla.org/docs/Web/API/Canvas_API).\r\n var canvas$1 = (function () {\r\n \treturn !!document.createElement('canvas').getContext;\r\n }());\r\n\r\n // @property svg: Boolean\r\n // `true` when the browser supports [SVG](https://developer.mozilla.org/docs/Web/SVG).\r\n var svg$1 = !!(document.createElementNS && svgCreate('svg').createSVGRect);\r\n\r\n var inlineSvg = !!svg$1 && (function () {\r\n \tvar div = document.createElement('div');\r\n \tdiv.innerHTML = '';\r\n \treturn (div.firstChild && div.firstChild.namespaceURI) === 'http://www.w3.org/2000/svg';\r\n })();\r\n\r\n // @property vml: Boolean\r\n // `true` if the browser supports [VML](https://en.wikipedia.org/wiki/Vector_Markup_Language).\r\n var vml = !svg$1 && (function () {\r\n \ttry {\r\n \t\tvar div = document.createElement('div');\r\n \t\tdiv.innerHTML = '';\r\n\r\n \t\tvar shape = div.firstChild;\r\n \t\tshape.style.behavior = 'url(#default#VML)';\r\n\r\n \t\treturn shape && (typeof shape.adj === 'object');\r\n\r\n \t} catch (e) {\r\n \t\treturn false;\r\n \t}\r\n }());\r\n\r\n\r\n // @property mac: Boolean; `true` when the browser is running in a Mac platform\r\n var mac = navigator.platform.indexOf('Mac') === 0;\r\n\r\n // @property mac: Boolean; `true` when the browser is running in a Linux platform\r\n var linux = navigator.platform.indexOf('Linux') === 0;\r\n\r\n function userAgentContains(str) {\r\n \treturn navigator.userAgent.toLowerCase().indexOf(str) >= 0;\r\n }\r\n\r\n\r\n var Browser = {\r\n \tie: ie,\r\n \tielt9: ielt9,\r\n \tedge: edge,\r\n \twebkit: webkit,\r\n \tandroid: android,\r\n \tandroid23: android23,\r\n \tandroidStock: androidStock,\r\n \topera: opera,\r\n \tchrome: chrome,\r\n \tgecko: gecko,\r\n \tsafari: safari,\r\n \tphantom: phantom,\r\n \topera12: opera12,\r\n \twin: win,\r\n \tie3d: ie3d,\r\n \twebkit3d: webkit3d,\r\n \tgecko3d: gecko3d,\r\n \tany3d: any3d,\r\n \tmobile: mobile,\r\n \tmobileWebkit: mobileWebkit,\r\n \tmobileWebkit3d: mobileWebkit3d,\r\n \tmsPointer: msPointer,\r\n \tpointer: pointer,\r\n \ttouch: touch,\r\n \ttouchNative: touchNative,\r\n \tmobileOpera: mobileOpera,\r\n \tmobileGecko: mobileGecko,\r\n \tretina: retina,\r\n \tpassiveEvents: passiveEvents,\r\n \tcanvas: canvas$1,\r\n \tsvg: svg$1,\r\n \tvml: vml,\r\n \tinlineSvg: inlineSvg,\r\n \tmac: mac,\r\n \tlinux: linux\r\n };\n\n /*\n * Extends L.DomEvent to provide touch support for Internet Explorer and Windows-based devices.\n */\n\n var POINTER_DOWN = Browser.msPointer ? 'MSPointerDown' : 'pointerdown';\n var POINTER_MOVE = Browser.msPointer ? 'MSPointerMove' : 'pointermove';\n var POINTER_UP = Browser.msPointer ? 'MSPointerUp' : 'pointerup';\n var POINTER_CANCEL = Browser.msPointer ? 'MSPointerCancel' : 'pointercancel';\n var pEvent = {\n \ttouchstart : POINTER_DOWN,\n \ttouchmove : POINTER_MOVE,\n \ttouchend : POINTER_UP,\n \ttouchcancel : POINTER_CANCEL\n };\n var handle = {\n \ttouchstart : _onPointerStart,\n \ttouchmove : _handlePointer,\n \ttouchend : _handlePointer,\n \ttouchcancel : _handlePointer\n };\n var _pointers = {};\n var _pointerDocListener = false;\n\n // Provides a touch events wrapper for (ms)pointer events.\n // ref https://www.w3.org/TR/pointerevents/ https://www.w3.org/Bugs/Public/show_bug.cgi?id=22890\n\n function addPointerListener(obj, type, handler) {\n \tif (type === 'touchstart') {\n \t\t_addPointerDocListener();\n \t}\n \tif (!handle[type]) {\n \t\tconsole.warn('wrong event specified:', type);\n \t\treturn falseFn;\n \t}\n \thandler = handle[type].bind(this, handler);\n \tobj.addEventListener(pEvent[type], handler, false);\n \treturn handler;\n }\n\n function removePointerListener(obj, type, handler) {\n \tif (!pEvent[type]) {\n \t\tconsole.warn('wrong event specified:', type);\n \t\treturn;\n \t}\n \tobj.removeEventListener(pEvent[type], handler, false);\n }\n\n function _globalPointerDown(e) {\n \t_pointers[e.pointerId] = e;\n }\n\n function _globalPointerMove(e) {\n \tif (_pointers[e.pointerId]) {\n \t\t_pointers[e.pointerId] = e;\n \t}\n }\n\n function _globalPointerUp(e) {\n \tdelete _pointers[e.pointerId];\n }\n\n function _addPointerDocListener() {\n \t// need to keep track of what pointers and how many are active to provide e.touches emulation\n \tif (!_pointerDocListener) {\n \t\t// we listen document as any drags that end by moving the touch off the screen get fired there\n \t\tdocument.addEventListener(POINTER_DOWN, _globalPointerDown, true);\n \t\tdocument.addEventListener(POINTER_MOVE, _globalPointerMove, true);\n \t\tdocument.addEventListener(POINTER_UP, _globalPointerUp, true);\n \t\tdocument.addEventListener(POINTER_CANCEL, _globalPointerUp, true);\n\n \t\t_pointerDocListener = true;\n \t}\n }\n\n function _handlePointer(handler, e) {\n \tif (e.pointerType === (e.MSPOINTER_TYPE_MOUSE || 'mouse')) { return; }\n\n \te.touches = [];\n \tfor (var i in _pointers) {\n \t\te.touches.push(_pointers[i]);\n \t}\n \te.changedTouches = [e];\n\n \thandler(e);\n }\n\n function _onPointerStart(handler, e) {\n \t// IE10 specific: MsTouch needs preventDefault. See #2000\n \tif (e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH) {\n \t\tpreventDefault(e);\n \t}\n \t_handlePointer(handler, e);\n }\n\n /*\r\n * Extends the event handling code with double tap support for mobile browsers.\r\n *\r\n * Note: currently most browsers fire native dblclick, with only a few exceptions\r\n * (see https://github.com/Leaflet/Leaflet/issues/7012#issuecomment-595087386)\r\n */\r\n\r\n function makeDblclick(event) {\r\n \t// in modern browsers `type` cannot be just overridden:\r\n \t// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Getter_only\r\n \tvar newEvent = {},\r\n \t prop, i;\r\n \tfor (i in event) {\r\n \t\tprop = event[i];\r\n \t\tnewEvent[i] = prop && prop.bind ? prop.bind(event) : prop;\r\n \t}\r\n \tevent = newEvent;\r\n \tnewEvent.type = 'dblclick';\r\n \tnewEvent.detail = 2;\r\n \tnewEvent.isTrusted = false;\r\n \tnewEvent._simulated = true; // for debug purposes\r\n \treturn newEvent;\r\n }\r\n\r\n var delay = 200;\r\n function addDoubleTapListener(obj, handler) {\r\n \t// Most browsers handle double tap natively\r\n \tobj.addEventListener('dblclick', handler);\r\n\r\n \t// On some platforms the browser doesn't fire native dblclicks for touch events.\r\n \t// It seems that in all such cases `detail` property of `click` event is always `1`.\r\n \t// So here we rely on that fact to avoid excessive 'dblclick' simulation when not needed.\r\n \tvar last = 0,\r\n \t detail;\r\n \tfunction simDblclick(e) {\r\n \t\tif (e.detail !== 1) {\r\n \t\t\tdetail = e.detail; // keep in sync to avoid false dblclick in some cases\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\tif (e.pointerType === 'mouse' ||\r\n \t\t\t(e.sourceCapabilities && !e.sourceCapabilities.firesTouchEvents)) {\r\n\r\n \t\t\treturn;\r\n \t\t}\r\n\r\n \t\t// When clicking on an , the browser generates a click on its\r\n \t\t//