From 190b5fe52729c1cf543b7d7b8e77aef9455502ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=96=8C?= <259278618@qq.com> Date: Thu, 30 Jul 2026 15:11:46 +0800 Subject: [PATCH] 1 --- web/dist/assets/index-CB8CRFzz.js | 38 ------------------------------- web/dist/index.html | 2 +- web/src/App.vue | 19 ++++++++++++++++ 3 files changed, 20 insertions(+), 39 deletions(-) delete mode 100644 web/dist/assets/index-CB8CRFzz.js diff --git a/web/dist/assets/index-CB8CRFzz.js b/web/dist/assets/index-CB8CRFzz.js deleted file mode 100644 index 82eaa26..0000000 --- a/web/dist/assets/index-CB8CRFzz.js +++ /dev/null @@ -1,38 +0,0 @@ -(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const u of a)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(a){const u={};return a.integrity&&(u.integrity=a.integrity),a.referrerPolicy&&(u.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?u.credentials="include":a.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(a){if(a.ep)return;a.ep=!0;const u=s(a);fetch(a.href,u)}})();/** -* @vue/shared v3.5.40 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Qo(e){const i=Object.create(null);for(const s of e.split(","))i[s]=1;return s=>s in i}const Lt={},jn=[],Ze=()=>{},yl=()=>!1,As=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Rs=e=>e.startsWith("onUpdate:"),ee=Object.assign,tr=(e,i)=>{const s=e.indexOf(i);s>-1&&e.splice(s,1)},mh=Object.prototype.hasOwnProperty,Pt=(e,i)=>mh.call(e,i),it=Array.isArray,Wn=e=>Mi(e)==="[object Map]",Ms=e=>Mi(e)==="[object Set]",ba=e=>Mi(e)==="[object Date]",rt=e=>typeof e=="function",kt=e=>typeof e=="string",Ue=e=>typeof e=="symbol",Tt=e=>e!==null&&typeof e=="object",wl=e=>(Tt(e)||rt(e))&&rt(e.then)&&rt(e.catch),bl=Object.prototype.toString,Mi=e=>bl.call(e),gh=e=>Mi(e).slice(8,-1),xl=e=>Mi(e)==="[object Object]",er=e=>kt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yi=Qo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Is=e=>{const i=Object.create(null);return(s=>i[s]||(i[s]=e(s)))},vh=/-\w/g,Ee=Is(e=>e.replace(vh,i=>i.slice(1).toUpperCase())),yh=/\B([A-Z])/g,cn=Is(e=>e.replace(yh,"-$1").toLowerCase()),Pl=Is(e=>e.charAt(0).toUpperCase()+e.slice(1)),yo=Is(e=>e?`on${Pl(e)}`:""),Fe=(e,i)=>!Object.is(e,i),fs=(e,...i)=>{for(let s=0;s{Object.defineProperty(e,i,{configurable:!0,enumerable:!1,writable:r,value:s})},ks=e=>{const i=parseFloat(e);return isNaN(i)?e:i};let xa;const Bs=()=>xa||(xa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nr(e){if(it(e)){const i={};for(let s=0;s{if(s){const r=s.split(bh);r.length>1&&(i[r[0].trim()]=r[1].trim())}}),i}function Vn(e){let i="";if(kt(e))i=e;else if(it(e))for(let s=0;sIi(s,i))}const Ll=e=>!!(e&&e.__v_isRef===!0),$t=e=>kt(e)?e:e==null?"":it(e)||Tt(e)&&(e.toString===bl||!rt(e.toString))?Ll(e)?$t(e.value):JSON.stringify(e,El,2):String(e),El=(e,i)=>Ll(i)?El(e,i.value):Wn(i)?{[`Map(${i.size})`]:[...i.entries()].reduce((s,[r,a],u)=>(s[wo(r,u)+" =>"]=a,s),{})}:Ms(i)?{[`Set(${i.size})`]:[...i.values()].map(s=>wo(s))}:Ue(i)?wo(i):Tt(i)&&!it(i)&&!xl(i)?String(i):i,wo=(e,i="")=>{var s;return Ue(e)?`Symbol(${(s=e.description)!=null?s:i})`:e};/** -* @vue/reactivity v3.5.40 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Kt;class Oh{constructor(i=!1){this.detached=i,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!i&&Kt&&(Kt.active?(this.parent=Kt,this.index=(Kt.scopes||(Kt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,s;if(this.scopes){const r=this.scopes.slice();for(i=0,s=r.length;i0&&--this._on===0){if(Kt===this)Kt=this.prevScope;else{let i=Kt;for(;i;){if(i.prevScope===this){i.prevScope=this.prevScope;break}i=i.prevScope}}this.prevScope=void 0}}stop(i){if(this._active){this._active=!1;let s,r;for(s=0,r=this.effects.length;s0)return;if(bi){let i=bi;for(bi=void 0;i;){const s=i.next;i.next=void 0,i.flags&=-9,i=s}}let e;for(;wi;){let i=wi;for(wi=void 0;i;){const s=i.next;if(i.next=void 0,i.flags&=-9,i.flags&1)try{i.trigger()}catch(r){e||(e=r)}i=s}}if(e)throw e}function Rl(e){for(let i=e.deps;i;i=i.nextDep)i.version=-1,i.prevActiveLink=i.dep.activeLink,i.dep.activeLink=i}function Ml(e){let i,s=e.depsTail,r=s;for(;r;){const a=r.prevDep;r.version===-1?(r===s&&(s=a),or(r),Ah(r)):i=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=a}e.deps=i,e.depsTail=s}function Do(e){for(let i=e.deps;i;i=i.nextDep)if(i.dep.version!==i.version||i.dep.computed&&(Il(i.dep.computed)||i.dep.version!==i.version))return!0;return!!e._dirty}function Il(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Li)||(e.globalVersion=Li,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Do(e))))return;e.flags|=2;const i=e.dep,s=Ot,r=Oe;Ot=e,Oe=!0;try{Rl(e);const a=e.fn(e._value);(i.version===0||Fe(a,e._value))&&(e.flags|=128,e._value=a,i.version++)}catch(a){throw i.version++,a}finally{Ot=s,Oe=r,Ml(e),e.flags&=-3}}function or(e,i=!1){const{dep:s,prevSub:r,nextSub:a}=e;if(r&&(r.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=r,e.nextSub=void 0),s.subs===e&&(s.subs=r,!r&&s.computed)){s.computed.flags&=-5;for(let u=s.computed.deps;u;u=u.nextDep)or(u,!0)}!i&&!--s.sc&&s.map&&s.map.delete(s.key)}function Ah(e){const{prevDep:i,nextDep:s}=e;i&&(i.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=i,e.nextDep=void 0)}let Oe=!0;const kl=[];function Ye(){kl.push(Oe),Oe=!1}function Qe(){const e=kl.pop();Oe=e===void 0?!0:e}function Pa(e){const{cleanup:i}=e;if(e.cleanup=void 0,i){const s=Ot;Ot=void 0;try{i()}finally{Ot=s}}}let Li=0;class Rh{constructor(i,s){this.sub=i,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class rr{constructor(i){this.computed=i,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(i){if(!Ot||!Oe||Ot===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==Ot)s=this.activeLink=new Rh(Ot,this),Ot.deps?(s.prevDep=Ot.depsTail,Ot.depsTail.nextDep=s,Ot.depsTail=s):Ot.deps=Ot.depsTail=s,Bl(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const r=s.nextDep;r.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=r),s.prevDep=Ot.depsTail,s.nextDep=void 0,Ot.depsTail.nextDep=s,Ot.depsTail=s,Ot.deps===s&&(Ot.deps=r)}return s}trigger(i){this.version++,Li++,this.notify(i)}notify(i){ir();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{sr()}}}function Bl(e){if(e.dep.sc++,e.sub.flags&4){const i=e.dep.computed;if(i&&!e.dep.subs){i.flags|=20;for(let r=i.deps;r;r=r.nextDep)Bl(r)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Fo=new WeakMap,xn=Symbol(""),Zo=Symbol(""),Ei=Symbol("");function Yt(e,i,s){if(Oe&&Ot){let r=Fo.get(e);r||Fo.set(e,r=new Map);let a=r.get(s);a||(r.set(s,a=new rr),a.map=r,a.key=s),a.track()}}function Je(e,i,s,r,a,u){const h=Fo.get(e);if(!h){Li++;return}const f=d=>{d&&d.trigger()};if(ir(),i==="clear")h.forEach(f);else{const d=it(e),g=d&&er(s);if(d&&s==="length"){const _=Number(r);h.forEach((y,O)=>{(O==="length"||O===Ei||!Ue(O)&&O>=_)&&f(y)})}else switch((s!==void 0||h.has(void 0))&&f(h.get(s)),g&&f(h.get(Ei)),i){case"add":d?g&&f(h.get("length")):(f(h.get(xn)),Wn(e)&&f(h.get(Zo)));break;case"delete":d||(f(h.get(xn)),Wn(e)&&f(h.get(Zo)));break;case"set":Wn(e)&&f(h.get(xn));break}}sr()}function Fn(e){const i=xt(e);return i===e?i:(Yt(i,"iterate",Ei),we(e)?i:i.map(Ce))}function Ns(e){return Yt(e=xt(e),"iterate",Ei),e}function ze(e,i){return tn(e)?Gn(Pn(e)?Ce(i):i):Ce(i)}const Mh={__proto__:null,[Symbol.iterator](){return xo(this,Symbol.iterator,e=>ze(this,e))},concat(...e){return Fn(this).concat(...e.map(i=>it(i)?Fn(i):i))},entries(){return xo(this,"entries",e=>(e[1]=ze(this,e[1]),e))},every(e,i){return $e(this,"every",e,i,void 0,arguments)},filter(e,i){return $e(this,"filter",e,i,s=>s.map(r=>ze(this,r)),arguments)},find(e,i){return $e(this,"find",e,i,s=>ze(this,s),arguments)},findIndex(e,i){return $e(this,"findIndex",e,i,void 0,arguments)},findLast(e,i){return $e(this,"findLast",e,i,s=>ze(this,s),arguments)},findLastIndex(e,i){return $e(this,"findLastIndex",e,i,void 0,arguments)},forEach(e,i){return $e(this,"forEach",e,i,void 0,arguments)},includes(...e){return Po(this,"includes",e)},indexOf(...e){return Po(this,"indexOf",e)},join(e){return Fn(this).join(e)},lastIndexOf(...e){return Po(this,"lastIndexOf",e)},map(e,i){return $e(this,"map",e,i,void 0,arguments)},pop(){return fi(this,"pop")},push(...e){return fi(this,"push",e)},reduce(e,...i){return Ta(this,"reduce",e,i)},reduceRight(e,...i){return Ta(this,"reduceRight",e,i)},shift(){return fi(this,"shift")},some(e,i){return $e(this,"some",e,i,void 0,arguments)},splice(...e){return fi(this,"splice",e)},toReversed(){return Fn(this).toReversed()},toSorted(e){return Fn(this).toSorted(e)},toSpliced(...e){return Fn(this).toSpliced(...e)},unshift(...e){return fi(this,"unshift",e)},values(){return xo(this,"values",e=>ze(this,e))}};function xo(e,i,s){const r=Ns(e),a=r[i]();return r!==e&&!we(e)&&(a._next=a.next,a.next=()=>{const u=a._next();return u.done||(u.value=s(u.value)),u}),a}const Ih=Array.prototype;function $e(e,i,s,r,a,u){const h=Ns(e),f=h!==e&&!we(e),d=h[i];if(d!==Ih[i]){const y=d.apply(e,u);return f?Ce(y):y}let g=s;h!==e&&(f?g=function(y,O){return s.call(this,ze(e,y),O,e)}:s.length>2&&(g=function(y,O){return s.call(this,y,O,e)}));const _=d.call(h,g,r);return f&&a?a(_):_}function Ta(e,i,s,r){const a=Ns(e),u=a!==e&&!we(e);let h=s,f=!1;a!==e&&(u?(f=r.length===0,h=function(g,_,y){return f&&(f=!1,g=ze(e,g)),s.call(this,g,ze(e,_),y,e)}):s.length>3&&(h=function(g,_,y){return s.call(this,g,_,y,e)}));const d=a[i](h,...r);return f?ze(e,d):d}function Po(e,i,s){const r=xt(e);Yt(r,"iterate",Ei);const a=r[i](...s);return(a===-1||a===!1)&&cr(s[0])?(s[0]=xt(s[0]),r[i](...s)):a}function fi(e,i,s=[]){Ye(),ir();const r=xt(e)[i].apply(e,s);return sr(),Qe(),r}const kh=Qo("__proto__,__v_isRef,__isVue"),Nl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ue));function Bh(e){Ue(e)||(e=String(e));const i=xt(this);return Yt(i,"has",e),i.hasOwnProperty(e)}class zl{constructor(i=!1,s=!1){this._isReadonly=i,this._isShallow=s}get(i,s,r){if(s==="__v_skip")return i.__v_skip;const a=this._isReadonly,u=this._isShallow;if(s==="__v_isReactive")return!a;if(s==="__v_isReadonly")return a;if(s==="__v_isShallow")return u;if(s==="__v_raw")return r===(a?u?Vh:Hl:u?Zl:Fl).get(i)||Object.getPrototypeOf(i)===Object.getPrototypeOf(r)?i:void 0;const h=it(i);if(!a){let d;if(h&&(d=Mh[s]))return d;if(s==="hasOwnProperty")return Bh}const f=Reflect.get(i,s,Qt(i)?i:r);if((Ue(s)?Nl.has(s):kh(s))||(a||Yt(i,"get",s),u))return f;if(Qt(f)){const d=h&&er(s)?f:f.value;return a&&Tt(d)?Uo(d):d}return Tt(f)?a?Uo(f):lr(f):f}}class Dl extends zl{constructor(i=!1){super(!1,i)}set(i,s,r,a){let u=i[s];const h=it(i)&&er(s);if(!this._isShallow){const g=tn(u);if(!we(r)&&!tn(r)&&(u=xt(u),r=xt(r)),!h&&Qt(u)&&!Qt(r))return g||(u.value=r),!0}const f=h?Number(s)e,os=e=>Reflect.getPrototypeOf(e);function Zh(e,i,s){return function(...r){const a=this.__v_raw,u=xt(a),h=Wn(u),f=e==="entries"||e===Symbol.iterator&&h,d=e==="keys"&&h,g=a[e](...r),_=s?Ho:i?Gn:Ce;return!i&&Yt(u,"iterate",d?Zo:xn),ee(Object.create(g),{next(){const{value:y,done:O}=g.next();return O?{value:y,done:O}:{value:f?[_(y[0]),_(y[1])]:_(y),done:O}}})}}function rs(e){return function(...i){return e==="delete"?!1:e==="clear"?void 0:this}}function Hh(e,i){const s={get(a){const u=this.__v_raw,h=xt(u),f=xt(a);e||(Fe(a,f)&&Yt(h,"get",a),Yt(h,"get",f));const{has:d}=os(h),g=i?Ho:e?Gn:Ce;if(d.call(h,a))return g(u.get(a));if(d.call(h,f))return g(u.get(f));u!==h&&u.get(a)},get size(){const a=this.__v_raw;return!e&&Yt(xt(a),"iterate",xn),a.size},has(a){const u=this.__v_raw,h=xt(u),f=xt(a);return e||(Fe(a,f)&&Yt(h,"has",a),Yt(h,"has",f)),a===f?u.has(a):u.has(a)||u.has(f)},forEach(a,u){const h=this,f=h.__v_raw,d=xt(f),g=i?Ho:e?Gn:Ce;return!e&&Yt(d,"iterate",xn),f.forEach((_,y)=>a.call(u,g(_),g(y),h))}};return ee(s,e?{add:rs("add"),set:rs("set"),delete:rs("delete"),clear:rs("clear")}:{add(a){const u=xt(this),h=os(u),f=xt(a),d=!i&&!we(a)&&!tn(a)?f:a;return h.has.call(u,d)||Fe(a,d)&&h.has.call(u,a)||Fe(f,d)&&h.has.call(u,f)||(u.add(d),Je(u,"add",d,d)),this},set(a,u){!i&&!we(u)&&!tn(u)&&(u=xt(u));const h=xt(this),{has:f,get:d}=os(h);let g=f.call(h,a);g||(a=xt(a),g=f.call(h,a));const _=d.call(h,a);return h.set(a,u),g?Fe(u,_)&&Je(h,"set",a,u):Je(h,"add",a,u),this},delete(a){const u=xt(this),{has:h,get:f}=os(u);let d=h.call(u,a);d||(a=xt(a),d=h.call(u,a)),f&&f.call(u,a);const g=u.delete(a);return d&&Je(u,"delete",a,void 0),g},clear(){const a=xt(this),u=a.size!==0,h=a.clear();return u&&Je(a,"clear",void 0,void 0),h}}),["keys","values","entries",Symbol.iterator].forEach(a=>{s[a]=Zh(a,e,i)}),s}function ar(e,i){const s=Hh(e,i);return(r,a,u)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?r:Reflect.get(Pt(s,a)&&a in r?s:r,a,u)}const Uh={get:ar(!1,!1)},jh={get:ar(!1,!0)},Wh={get:ar(!0,!1)};const Fl=new WeakMap,Zl=new WeakMap,Hl=new WeakMap,Vh=new WeakMap;function qh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lr(e){return tn(e)?e:ur(e,!1,zh,Uh,Fl)}function $h(e){return ur(e,!1,Fh,jh,Zl)}function Uo(e){return ur(e,!0,Dh,Wh,Hl)}function ur(e,i,s,r,a){if(!Tt(e)||e.__v_raw&&!(i&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const u=a.get(e);if(u)return u;const h=qh(gh(e));if(h===0)return e;const f=new Proxy(e,h===2?r:s);return a.set(e,f),f}function Pn(e){return tn(e)?Pn(e.__v_raw):!!(e&&e.__v_isReactive)}function tn(e){return!!(e&&e.__v_isReadonly)}function we(e){return!!(e&&e.__v_isShallow)}function cr(e){return e?!!e.__v_raw:!1}function xt(e){const i=e&&e.__v_raw;return i?xt(i):e}function Kh(e){return!Pt(e,"__v_skip")&&Object.isExtensible(e)&&Tl(e,"__v_skip",!0),e}const Ce=e=>Tt(e)?lr(e):e,Gn=e=>Tt(e)?Uo(e):e;function Qt(e){return e?e.__v_isRef===!0:!1}function Ut(e){return Gh(e,!1)}function Gh(e,i){return Qt(e)?e:new Jh(e,i)}class Jh{constructor(i,s){this.dep=new rr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?i:xt(i),this._value=s?i:Ce(i),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(i){const s=this._rawValue,r=this.__v_isShallow||we(i)||tn(i);i=r?i:xt(i),Fe(i,s)&&(this._rawValue=i,this._value=r?i:Ce(i),this.dep.trigger())}}function Xh(e){return Qt(e)?e.value:e}const Yh={get:(e,i,s)=>i==="__v_raw"?e:Xh(Reflect.get(e,i,s)),set:(e,i,s,r)=>{const a=e[i];return Qt(a)&&!Qt(s)?(a.value=s,!0):Reflect.set(e,i,s,r)}};function Ul(e){return Pn(e)?e:new Proxy(e,Yh)}class Qh{constructor(i,s,r){this.fn=i,this.setter=s,this._value=void 0,this.dep=new rr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Li-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ot!==this)return Al(this,!0),!0}get value(){const i=this.dep.track();return Il(this),i&&(i.version=this.dep.version),this._value}set value(i){this.setter&&this.setter(i)}}function tf(e,i,s=!1){let r,a;return rt(e)?r=e:(r=e.get,a=e.set),new Qh(r,a,s)}const as={},vs=new WeakMap;let yn;function ef(e,i=!1,s=yn){if(s){let r=vs.get(s);r||vs.set(s,r=[]),r.push(e)}}function nf(e,i,s=Lt){const{immediate:r,deep:a,once:u,scheduler:h,augmentJob:f,call:d}=s,g=z=>a?z:we(z)||a===!1||a===0?Xe(z,1):Xe(z);let _,y,O,N,V=!1,A=!1;if(Qt(e)?(y=()=>e.value,V=we(e)):Pn(e)?(y=()=>g(e),V=!0):it(e)?(A=!0,V=e.some(z=>Pn(z)||we(z)),y=()=>e.map(z=>{if(Qt(z))return z.value;if(Pn(z))return g(z);if(rt(z))return d?d(z,2):z()})):rt(e)?i?y=d?()=>d(e,2):e:y=()=>{if(O){Ye();try{O()}finally{Qe()}}const z=yn;yn=_;try{return d?d(e,3,[N]):e(N)}finally{yn=z}}:y=Ze,i&&a){const z=y,tt=a===!0?1/0:a;y=()=>Xe(z(),tt)}const U=Ch(),S=()=>{_.stop(),U&&U.active&&tr(U.effects,_)};if(u&&i){const z=i;i=(...tt)=>{const st=z(...tt);return S(),st}}let k=A?new Array(e.length).fill(as):as;const B=z=>{if(!(!(_.flags&1)||!_.dirty&&!z))if(i){const tt=_.run();if(z||a||V||(A?tt.some((st,At)=>Fe(st,k[At])):Fe(tt,k))){O&&O();const st=yn;yn=_;try{const At=[tt,k===as?void 0:A&&k[0]===as?[]:k,N];k=tt,d?d(i,3,At):i(...At)}finally{yn=st}}}else _.run()};return f&&f(B),_=new Ol(y),_.scheduler=h?()=>h(B,!1):B,N=z=>ef(z,!1,_),O=_.onStop=()=>{const z=vs.get(_);if(z){if(d)d(z,4);else for(const tt of z)tt();vs.delete(_)}},i?r?B(!0):k=_.run():h?h(B.bind(null,!0),!0):_.run(),S.pause=_.pause.bind(_),S.resume=_.resume.bind(_),S.stop=S,S}function Xe(e,i=1/0,s){if(i<=0||!Tt(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=i))return e;if(s.set(e,i),i--,Qt(e))Xe(e.value,i,s);else if(it(e))for(let r=0;r{Xe(r,i,s)});else if(xl(e)){for(const r in e)Xe(e[r],i,s);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Xe(e[r],i,s)}return e}/** -* @vue/runtime-core v3.5.40 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function ki(e,i,s,r){try{return r?e(...r):e()}catch(a){zs(a,i,s)}}function Ae(e,i,s,r){if(rt(e)){const a=ki(e,i,s,r);return a&&wl(a)&&a.catch(u=>{zs(u,i,s)}),a}if(it(e)){const a=[];for(let u=0;u>>1,a=re[r],u=Oi(a);u=Oi(s)?re.push(e):re.splice(of(i),0,e),e.flags|=1,Vl()}}function Vl(){ys||(ys=jl.then($l))}function rf(e){it(e)?qn.push(...e):ln&&e.id===-1?ln.splice(Un+1,0,e):e.flags&1||(qn.push(e),e.flags|=1),Vl()}function Sa(e,i,s=Ne+1){for(;sOi(s)-Oi(r));if(qn.length=0,ln){ln.push(...i);return}for(ln=i,Un=0;Une.id==null?e.flags&2?-1:1/0:e.id;function $l(e){try{for(Ne=0;Ne{r._d&&Na(-1);const u=ws(i),h=Tn.length;let f;try{f=e(...a)}finally{for(let d=Tn.length;d>h;d--)vu();ws(u),r._d&&Na(1)}return f};return r._n=!0,r._c=!0,r._d=!0,r}function ls(e,i){if(ye===null)return e;const s=Hs(ye),r=e.dirs||(e.dirs=[]);for(let a=0;a1)return s&&rt(i)?i.call(r&&r.proxy):i}}const uf=Symbol.for("v-scx"),cf=()=>ds(uf);function xi(e,i,s){return Gl(e,i,s)}function Gl(e,i,s=Lt){const{immediate:r,deep:a,flush:u,once:h}=s,f=ee({},s),d=i&&r||!i&&u!=="post";let g;if(Ai){if(u==="sync"){const N=cf();g=N.__watcherHandles||(N.__watcherHandles=[])}else if(!d){const N=()=>{};return N.stop=Ze,N.resume=Ze,N.pause=Ze,N}}const _=le;f.call=(N,V,A)=>Ae(N,_,V,A);let y=!1;u==="post"?f.scheduler=N=>{ce(N,_&&_.suspense)}:u!=="sync"&&(y=!0,f.scheduler=(N,V)=>{V?N():hr(N)}),f.augmentJob=N=>{i&&(N.flags|=4),y&&(N.flags|=2,_&&(N.id=_.uid,N.i=_))};const O=nf(e,i,f);return Ai&&(g?g.push(O):d&&O()),O}function hf(e,i,s){const r=this.proxy,a=kt(e)?e.includes(".")?Jl(r,e):()=>r[e]:e.bind(r,r);let u;rt(i)?u=i:(u=i.handler,s=i);const h=Bi(this),f=Gl(a,u.bind(r),s);return h(),f}function Jl(e,i){const s=i.split(".");return()=>{let r=e;for(let a=0;ae.__isTeleport,To=Symbol("_leaveCb");function fr(e,i){e.shapeFlag&6&&e.component?(e.transition=i,fr(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 Xl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function La(e,i){let s;return!!((s=Object.getOwnPropertyDescriptor(e,i))&&!s.configurable)}const bs=new WeakMap;function Pi(e,i,s,r,a=!1){if(it(e)){e.forEach((A,U)=>Pi(A,i&&(it(i)?i[U]:i),s,r,a));return}if(Ti(r)&&!a){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Pi(e,i,s,r.component.subTree);return}const u=r.shapeFlag&4?Hs(r.component):r.el,h=a?null:u,{i:f,r:d}=e,g=i&&i.r,_=f.refs===Lt?f.refs={}:f.refs,y=f.setupState,O=xt(y),N=y===Lt?yl:A=>La(_,A)?!1:Pt(O,A),V=(A,U)=>!(U&&La(_,U));if(g!=null&&g!==d){if(Ea(i),kt(g))_[g]=null,N(g)&&(y[g]=null);else if(Qt(g)){const A=i;V(g,A.k)&&(g.value=null),A.k&&(_[A.k]=null)}}if(rt(d))ki(d,f,12,[h,_]);else{const A=kt(d),U=Qt(d);if(A||U){const S=()=>{if(e.f){const k=A?N(d)?y[d]:_[d]:V()||!e.k?d.value:_[e.k];if(a)it(k)&&tr(k,u);else if(it(k))k.includes(u)||k.push(u);else if(A)_[d]=[u],N(d)&&(y[d]=_[d]);else{const B=[u];V(d,e.k)&&(d.value=B),e.k&&(_[e.k]=B)}}else A?(_[d]=h,N(d)&&(y[d]=h)):U&&(V(d,e.k)&&(d.value=h),e.k&&(_[e.k]=h))};if(h){const k=()=>{S(),bs.delete(e)};k.id=-1,bs.set(e,k),ce(k,s)}else Ea(e),S()}}}function Ea(e){const i=bs.get(e);i&&(i.flags|=8,bs.delete(e))}Bs().requestIdleCallback;Bs().cancelIdleCallback;const Ti=e=>!!e.type.__asyncLoader,Yl=e=>e.type.__isKeepAlive;function pf(e,i){Ql(e,"a",i)}function _f(e,i){Ql(e,"da",i)}function Ql(e,i,s=le){const r=e.__wdc||(e.__wdc=()=>{let a=s;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(Ds(i,r,s),s){let a=s.parent;for(;a&&a.parent;)Yl(a.parent.vnode)&&mf(r,i,s,a),a=a.parent}}function mf(e,i,s,r){const a=Ds(i,e,r,!0);dr(()=>{tr(r[i],a)},s)}function Ds(e,i,s=le,r=!1){if(s){const a=s[e]||(s[e]=[]),u=i.__weh||(i.__weh=(...h)=>{Ye();const f=Bi(s),d=Ae(i,s,e,h);return f(),Qe(),d});return r?a.unshift(u):a.push(u),u}}const en=e=>(i,s=le)=>{(!Ai||e==="sp")&&Ds(e,(...r)=>i(...r),s)},gf=en("bm"),tu=en("m"),vf=en("bu"),yf=en("u"),wf=en("bum"),dr=en("um"),bf=en("sp"),xf=en("rtg"),Pf=en("rtc");function Tf(e,i=le){Ds("ec",e,i)}const Sf=Symbol.for("v-ndc");function di(e,i,s,r){let a;const u=s,h=it(e);if(h||kt(e)){const f=h&&Pn(e);let d=!1,g=!1;f&&(d=!we(e),g=tn(e),e=Ns(e)),a=new Array(e.length);for(let _=0,y=e.length;_i(f,d,void 0,u));else{const f=Object.keys(e);a=new Array(f.length);for(let d=0,g=f.length;de?Pu(e)?Hs(e):jo(e.parent):null,Si=ee(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=>jo(e.parent),$root:e=>jo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>nu(e),$forceUpdate:e=>e.f||(e.f=()=>{hr(e.update)}),$nextTick:e=>e.n||(e.n=Wl.bind(e.proxy)),$watch:e=>hf.bind(e)}),So=(e,i)=>e!==Lt&&!e.__isScriptSetup&&Pt(e,i),Lf={get({_:e},i){if(i==="__v_skip")return!0;const{ctx:s,setupState:r,data:a,props:u,accessCache:h,type:f,appContext:d}=e;if(i[0]!=="$"){const O=h[i];if(O!==void 0)switch(O){case 1:return r[i];case 2:return a[i];case 4:return s[i];case 3:return u[i]}else{if(So(r,i))return h[i]=1,r[i];if(a!==Lt&&Pt(a,i))return h[i]=2,a[i];if(Pt(u,i))return h[i]=3,u[i];if(s!==Lt&&Pt(s,i))return h[i]=4,s[i];Wo&&(h[i]=0)}}const g=Si[i];let _,y;if(g)return i==="$attrs"&&Yt(e.attrs,"get",""),g(e);if((_=f.__cssModules)&&(_=_[i]))return _;if(s!==Lt&&Pt(s,i))return h[i]=4,s[i];if(y=d.config.globalProperties,Pt(y,i))return y[i]},set({_:e},i,s){const{data:r,setupState:a,ctx:u}=e;return So(a,i)?(a[i]=s,!0):r!==Lt&&Pt(r,i)?(r[i]=s,!0):Pt(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:a,props:u,type:h}},f){let d;return!!(s[f]||e!==Lt&&f[0]!=="$"&&Pt(e,f)||So(i,f)||Pt(u,f)||Pt(r,f)||Pt(Si,f)||Pt(a.config.globalProperties,f)||(d=h.__cssModules)&&d[f])},defineProperty(e,i,s){return s.get!=null?e._.accessCache[i]=0:Pt(s,"value")&&this.set(e,i,s.value,null),Reflect.defineProperty(e,i,s)}};function Oa(e){return it(e)?e.reduce((i,s)=>(i[s]=null,i),{}):e}let Wo=!0;function Ef(e){const i=nu(e),s=e.proxy,r=e.ctx;Wo=!1,i.beforeCreate&&Ca(i.beforeCreate,e,"bc");const{data:a,computed:u,methods:h,watch:f,provide:d,inject:g,created:_,beforeMount:y,mounted:O,beforeUpdate:N,updated:V,activated:A,deactivated:U,beforeDestroy:S,beforeUnmount:k,destroyed:B,unmounted:z,render:tt,renderTracked:st,renderTriggered:At,errorCaptured:Wt,serverPrefetch:ne,expose:Rt,inheritAttrs:vt,components:Ct,directives:xe,filters:wt}=i;if(g&&Of(g,r,null),h)for(const ft in h){const $=h[ft];rt($)&&(r[ft]=$.bind(s))}if(a){const ft=a.call(s,s);Tt(ft)&&(e.data=lr(ft))}if(Wo=!0,u)for(const ft in u){const $=u[ft],ie=rt($)?$.bind(s,s):rt($.get)?$.get.bind(s,s):Ze,j=!rt($)&&rt($.set)?$.set.bind(s):Ze,D=Su({get:ie,set:j});Object.defineProperty(r,ft,{enumerable:!0,configurable:!0,get:()=>D.value,set:W=>D.value=W})}if(f)for(const ft in f)eu(f[ft],r,s,ft);if(d){const ft=rt(d)?d.call(s):d;Reflect.ownKeys(ft).forEach($=>{lf($,ft[$])})}_&&Ca(_,e,"c");function ct(ft,$){it($)?$.forEach(ie=>ft(ie.bind(s))):$&&ft($.bind(s))}if(ct(gf,y),ct(tu,O),ct(vf,N),ct(yf,V),ct(pf,A),ct(_f,U),ct(Tf,Wt),ct(Pf,st),ct(xf,At),ct(wf,k),ct(dr,z),ct(bf,ne),it(Rt))if(Rt.length){const ft=e.exposed||(e.exposed={});Rt.forEach($=>{Object.defineProperty(ft,$,{get:()=>s[$],set:ie=>s[$]=ie,enumerable:!0})})}else e.exposed||(e.exposed={});tt&&e.render===Ze&&(e.render=tt),vt!=null&&(e.inheritAttrs=vt),Ct&&(e.components=Ct),xe&&(e.directives=xe),ne&&Xl(e)}function Of(e,i,s=Ze){it(e)&&(e=Vo(e));for(const r in e){const a=e[r];let u;Tt(a)?"default"in a?u=ds(a.from||r,a.default,!0):u=ds(a.from||r):u=ds(a),Qt(u)?Object.defineProperty(i,r,{enumerable:!0,configurable:!0,get:()=>u.value,set:h=>u.value=h}):i[r]=u}}function Ca(e,i,s){Ae(it(e)?e.map(r=>r.bind(i.proxy)):e.bind(i.proxy),i,s)}function eu(e,i,s,r){let a=r.includes(".")?Jl(s,r):()=>s[r];if(kt(e)){const u=i[e];rt(u)&&xi(a,u)}else if(rt(e))xi(a,e.bind(s));else if(Tt(e))if(it(e))e.forEach(u=>eu(u,i,s,r));else{const u=rt(e.handler)?e.handler.bind(s):i[e.handler];rt(u)&&xi(a,u,e)}}function nu(e){const i=e.type,{mixins:s,extends:r}=i,{mixins:a,optionsCache:u,config:{optionMergeStrategies:h}}=e.appContext,f=u.get(i);let d;return f?d=f:!a.length&&!s&&!r?d=i:(d={},a.length&&a.forEach(g=>xs(d,g,h,!0)),xs(d,i,h)),Tt(i)&&u.set(i,d),d}function xs(e,i,s,r=!1){const{mixins:a,extends:u}=i;u&&xs(e,u,s,!0),a&&a.forEach(h=>xs(e,h,s,!0));for(const h in i)if(!(r&&h==="expose")){const f=Cf[h]||s&&s[h];e[h]=f?f(e[h],i[h]):i[h]}return e}const Cf={data:Aa,props:Ra,emits:Ra,methods:mi,computed:mi,beforeCreate:oe,created:oe,beforeMount:oe,mounted:oe,beforeUpdate:oe,updated:oe,beforeDestroy:oe,beforeUnmount:oe,destroyed:oe,unmounted:oe,activated:oe,deactivated:oe,errorCaptured:oe,serverPrefetch:oe,components:mi,directives:mi,watch:Rf,provide:Aa,inject:Af};function Aa(e,i){return i?e?function(){return ee(rt(e)?e.call(this,this):e,rt(i)?i.call(this,this):i)}:i:e}function Af(e,i){return mi(Vo(e),Vo(i))}function Vo(e){if(it(e)){const i={};for(let s=0;si==="modelValue"||i==="model-value"?e.modelModifiers:e[`${i}Modifiers`]||e[`${Ee(i)}Modifiers`]||e[`${cn(i)}Modifiers`];function Bf(e,i,...s){if(e.isUnmounted)return;const r=e.vnode.props||Lt;let a=s;const u=i.startsWith("update:"),h=u&&kf(r,i.slice(7));h&&(h.trim&&(a=s.map(_=>kt(_)?_.trim():_)),h.number&&(a=s.map(ks)));let f,d=r[f=yo(i)]||r[f=yo(Ee(i))];!d&&u&&(d=r[f=yo(cn(i))]),d&&Ae(d,e,6,a);const g=r[f+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,Ae(g,e,6,a)}}const Nf=new WeakMap;function su(e,i,s=!1){const r=s?Nf:i.emitsCache,a=r.get(e);if(a!==void 0)return a;const u=e.emits;let h={},f=!1;if(!rt(e)){const d=g=>{const _=su(g,i,!0);_&&(f=!0,ee(h,_))};!s&&i.mixins.length&&i.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!u&&!f?(Tt(e)&&r.set(e,null),null):(it(u)?u.forEach(d=>h[d]=null):ee(h,u),Tt(e)&&r.set(e,h),h)}function Fs(e,i){return!e||!As(i)?!1:(i=i.slice(2),i=i==="Once"?i:i.replace(/Once$/,""),Pt(e,i[0].toLowerCase()+i.slice(1))||Pt(e,cn(i))||Pt(e,i))}function Ma(e){const{type:i,vnode:s,proxy:r,withProxy:a,propsOptions:[u],slots:h,attrs:f,emit:d,render:g,renderCache:_,props:y,data:O,setupState:N,ctx:V,inheritAttrs:A}=e,U=ws(e);let S,k;try{if(s.shapeFlag&4){const z=a||r,tt=z;S=De(g.call(tt,z,_,y,N,O,V)),k=f}else{const z=i;S=De(z.length>1?z(y,{attrs:f,slots:h,emit:d}):z(y,null)),k=i.props?f:zf(f)}}catch(z){Tn.length=0,zs(z,e,1),S=He(un)}let B=S;if(k&&A!==!1){const z=Object.keys(k),{shapeFlag:tt}=B;z.length&&tt&7&&(u&&z.some(Rs)&&(k=Df(k,u)),B=Jn(B,k,!1,!0))}return s.dirs&&(B=Jn(B,null,!1,!0),B.dirs=B.dirs?B.dirs.concat(s.dirs):s.dirs),s.transition&&fr(B,s.transition),S=B,ws(U),S}const zf=e=>{let i;for(const s in e)(s==="class"||s==="style"||As(s))&&((i||(i={}))[s]=e[s]);return i},Df=(e,i)=>{const s={};for(const r in e)(!Rs(r)||!(r.slice(9)in i))&&(s[r]=e[r]);return s};function Ff(e,i,s){const{props:r,children:a,component:u}=e,{props:h,children:f,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?Ia(r,h,g):!!h;if(d&8){const _=i.dynamicProps;for(let y=0;y<_.length;y++){const O=_[y];if(ou(h,r,O)&&!Fs(g,O))return!0}}}else return(a||f)&&(!f||!f.$stable)?!0:r===h?!1:r?h?Ia(r,h,g):!0:!!h;return!1}function Ia(e,i,s){const r=Object.keys(i);if(r.length!==Object.keys(e).length)return!0;for(let a=0;aObject.create(ru),lu=e=>Object.getPrototypeOf(e)===ru;function Hf(e,i,s,r=!1){const a={},u=au();e.propsDefaults=Object.create(null),uu(e,i,a,u);for(const h in e.propsOptions[0])h in a||(a[h]=void 0);s?e.props=r?a:$h(a):e.type.props?e.props=a:e.props=u,e.attrs=u}function Uf(e,i,s,r){const{props:a,attrs:u,vnode:{patchFlag:h}}=e,f=xt(a),[d]=e.propsOptions;let g=!1;if((r||h>0)&&!(h&16)){if(h&8){const _=e.vnode.dynamicProps;for(let y=0;y<_.length;y++){let O=_[y];if(Fs(e.emitsOptions,O))continue;const N=i[O];if(d)if(Pt(u,O))N!==u[O]&&(u[O]=N,g=!0);else{const V=Ee(O);a[V]=qo(d,f,V,N,e,!1)}else N!==u[O]&&(u[O]=N,g=!0)}}}else{uu(e,i,a,u)&&(g=!0);let _;for(const y in f)(!i||!Pt(i,y)&&((_=cn(y))===y||!Pt(i,_)))&&(d?s&&(s[y]!==void 0||s[_]!==void 0)&&(a[y]=qo(d,f,y,void 0,e,!0)):delete a[y]);if(u!==f)for(const y in u)(!i||!Pt(i,y))&&(delete u[y],g=!0)}g&&Je(e.attrs,"set","")}function uu(e,i,s,r){const[a,u]=e.propsOptions;let h=!1,f;if(i)for(let d in i){if(yi(d))continue;const g=i[d];let _;a&&Pt(a,_=Ee(d))?!u||!u.includes(_)?s[_]=g:(f||(f={}))[_]=g:Fs(e.emitsOptions,d)||(!(d in r)||g!==r[d])&&(r[d]=g,h=!0)}if(u){const d=xt(s),g=f||Lt;for(let _=0;_{d=!0;const[O,N]=cu(y,i,!0);ee(h,O),N&&f.push(...N)};!s&&i.mixins.length&&i.mixins.forEach(_),e.extends&&_(e.extends),e.mixins&&e.mixins.forEach(_)}if(!u&&!d)return Tt(e)&&r.set(e,jn),jn;if(it(u))for(let _=0;_e==="_"||e==="_ctx"||e==="$stable",_r=e=>it(e)?e.map(De):[De(e)],Wf=(e,i,s)=>{if(i._n)return i;const r=af((...a)=>_r(i(...a)),s);return r._c=!1,r},hu=(e,i,s)=>{const r=e._ctx;for(const a in e){if(pr(a))continue;const u=e[a];if(rt(u))i[a]=Wf(a,u,r);else if(u!=null){const h=_r(u);i[a]=()=>h}}},fu=(e,i)=>{const s=_r(i);e.slots.default=()=>s},du=(e,i,s)=>{for(const r in i)(s||!pr(r))&&(e[r]=i[r])},Vf=(e,i,s)=>{const r=e.slots=au();if(e.vnode.shapeFlag&32){const a=i._;a?(du(r,i,s),s&&Tl(r,"_",a,!0)):hu(i,r)}else i&&fu(e,i)},qf=(e,i,s)=>{const{vnode:r,slots:a}=e;let u=!0,h=Lt;if(r.shapeFlag&32){const f=i._;f?s&&f===1?u=!1:du(a,i,s):(u=!i.$stable,hu(i,a)),h=i}else i&&(fu(e,i),h={default:1});if(u)for(const f in a)!pr(f)&&h[f]==null&&delete a[f]},ce=Xf;function $f(e){return Kf(e)}function Kf(e,i){const s=Bs();s.__VUE__=!0;const{insert:r,remove:a,patchProp:u,createElement:h,createText:f,createComment:d,setText:g,setElementText:_,parentNode:y,nextSibling:O,setScopeId:N=Ze,insertStaticContent:V}=e,A=(m,b,E,R=null,P=null,C=null,Z=void 0,F=null,H=!!b.dynamicChildren)=>{if(m===b)return;m&&!pi(m,b)&&(R=St(m),W(m,P,C,!0),m=null),b.patchFlag===-2&&(H=!1,b.dynamicChildren=null);const{type:M,ref:X,shapeFlag:K}=b;switch(M){case Zs:U(m,b,E,R);break;case un:S(m,b,E,R);break;case Eo:m==null&&k(b,E,R,Z);break;case ae:Ct(m,b,E,R,P,C,Z,F,H);break;default:K&1?tt(m,b,E,R,P,C,Z,F,H):K&6?xe(m,b,E,R,P,C,Z,F,H):(K&64||K&128)&&M.process(m,b,E,R,P,C,Z,F,H,Te)}X!=null&&P?Pi(X,m&&m.ref,C,b||m,!b):X==null&&m&&m.ref!=null&&Pi(m.ref,null,C,m,!0)},U=(m,b,E,R)=>{if(m==null)r(b.el=f(b.children),E,R);else{const P=b.el=m.el;b.children!==m.children&&g(P,b.children)}},S=(m,b,E,R)=>{m==null?r(b.el=d(b.children||""),E,R):b.el=m.el},k=(m,b,E,R)=>{[m.el,m.anchor]=V(m.children,b,E,R,m.el,m.anchor)},B=({el:m,anchor:b},E,R)=>{let P;for(;m&&m!==b;)P=O(m),r(m,E,R),m=P;r(b,E,R)},z=({el:m,anchor:b})=>{let E;for(;m&&m!==b;)E=O(m),a(m),m=E;a(b)},tt=(m,b,E,R,P,C,Z,F,H)=>{if(b.type==="svg"?Z="svg":b.type==="math"&&(Z="mathml"),m==null)st(b,E,R,P,C,Z,F,H);else{const M=m.el&&m.el._isVueCE?m.el:null;try{M&&M._beginPatch(),ne(m,b,P,C,Z,F,H)}finally{M&&M._endPatch()}}},st=(m,b,E,R,P,C,Z,F)=>{let H,M;const{props:X,shapeFlag:K,transition:Q,dirs:nt}=m;if(H=m.el=h(m.type,C,X&&X.is,X),K&8?_(H,m.children):K&16&&Wt(m.children,H,null,R,P,Lo(m,C),Z,F),nt&&gn(m,null,R,"created"),At(H,m,m.scopeId,Z,R),X){for(const bt in X)bt!=="value"&&!yi(bt)&&u(H,bt,null,X[bt],C,R);"value"in X&&u(H,"value",null,X.value,C),(M=X.onVnodeBeforeMount)&&Be(M,R,m)}nt&&gn(m,null,R,"beforeMount");const ht=Gf(P,Q);ht&&Q.beforeEnter(H),r(H,b,E),((M=X&&X.onVnodeMounted)||ht||nt)&&ce(()=>{try{M&&Be(M,R,m),ht&&Q.enter(H),nt&&gn(m,null,R,"mounted")}finally{}},P)},At=(m,b,E,R,P)=>{if(E&&N(m,E),R)for(let C=0;C{for(let M=H;M{const F=b.el=m.el;let{patchFlag:H,dynamicChildren:M,dirs:X}=b;H|=m.patchFlag&16;const K=m.props||Lt,Q=b.props||Lt;let nt;if(E&&vn(E,!1),(nt=Q.onVnodeBeforeUpdate)&&Be(nt,E,b,m),X&&gn(b,m,E,"beforeUpdate"),E&&vn(E,!0),M&&(!m.dynamicChildren||m.dynamicChildren.length!==M.length)&&(H=0,Z=!1,M=null),(K.innerHTML&&Q.innerHTML==null||K.textContent&&Q.textContent==null)&&_(F,""),M?Rt(m.dynamicChildren,M,F,E,R,Lo(b,P),C):Z||$(m,b,F,null,E,R,Lo(b,P),C,!1),H>0){if(H&16)vt(F,K,Q,E,P);else if(H&2&&K.class!==Q.class&&u(F,"class",null,Q.class,P),H&4&&u(F,"style",K.style,Q.style,P),H&8){const ht=b.dynamicProps;for(let bt=0;bt{nt&&Be(nt,E,b,m),X&&gn(b,m,E,"updated")},R)},Rt=(m,b,E,R,P,C,Z)=>{for(let F=0;F{if(b!==E){if(b!==Lt)for(const C in b)!yi(C)&&!(C in E)&&u(m,C,b[C],null,P,R);for(const C in E){if(yi(C))continue;const Z=E[C],F=b[C];Z!==F&&C!=="value"&&u(m,C,F,Z,P,R)}"value"in E&&u(m,"value",b.value,E.value,P)}},Ct=(m,b,E,R,P,C,Z,F,H)=>{const M=b.el=m?m.el:f(""),X=b.anchor=m?m.anchor:f("");let{patchFlag:K,dynamicChildren:Q,slotScopeIds:nt}=b;nt&&(F=F?F.concat(nt):nt),m==null?(r(M,E,R),r(X,E,R),Wt(b.children||[],E,X,P,C,Z,F,H)):K>0&&K&64&&Q&&m.dynamicChildren&&m.dynamicChildren.length===Q.length?(Rt(m.dynamicChildren,Q,E,P,C,Z,F),(b.key!=null||P&&b===P.subTree)&&pu(m,b,!0)):$(m,b,E,X,P,C,Z,F,H)},xe=(m,b,E,R,P,C,Z,F,H)=>{b.slotScopeIds=F,m==null?b.shapeFlag&512?P.ctx.activate(b,E,R,Z,H):wt(b,E,R,P,C,Z,H):Pe(m,b,H)},wt=(m,b,E,R,P,C,Z)=>{const F=m.component=sd(m,R,P);if(Yl(m)&&(F.ctx.renderer=Te),rd(F,!1,Z),F.asyncDep){if(P&&P.registerDep(F,ct,Z),!m.el){const H=F.subTree=He(un);S(null,H,b,E),m.placeholder=H.el}}else ct(F,m,b,E,P,C,Z)},Pe=(m,b,E)=>{const R=b.component=m.component;if(Ff(m,b,E))if(R.asyncDep&&!R.asyncResolved){ft(R,b,E);return}else R.next=b,R.update();else b.el=m.el,R.vnode=b},ct=(m,b,E,R,P,C,Z)=>{const F=()=>{if(m.isMounted){let{next:K,bu:Q,u:nt,parent:ht,vnode:bt}=m;{const pe=_u(m);if(pe){K&&(K.el=bt.el,ft(m,K,Z)),pe.asyncDep.then(()=>{ce(()=>{m.isUnmounted||M()},P)});return}}let yt=K,It;vn(m,!1),K?(K.el=bt.el,ft(m,K,Z)):K=bt,Q&&fs(Q),(It=K.props&&K.props.onVnodeBeforeUpdate)&&Be(It,ht,K,bt),vn(m,!0);const zt=Ma(m),fe=m.subTree;m.subTree=zt,A(fe,zt,y(fe.el),St(fe),m,P,C),K.el=zt.el,yt===null&&Zf(m,zt.el),nt&&ce(nt,P),(It=K.props&&K.props.onVnodeUpdated)&&ce(()=>Be(It,ht,K,bt),P)}else{let K;const{el:Q,props:nt}=b,{bm:ht,m:bt,parent:yt,root:It,type:zt}=m,fe=Ti(b);vn(m,!1),ht&&fs(ht),!fe&&(K=nt&&nt.onVnodeBeforeMount)&&Be(K,yt,b),vn(m,!0);{It.ce&&It.ce._hasShadowRoot()&&It.ce._injectChildStyle(zt,m.parent?m.parent.type:void 0);const pe=m.subTree=Ma(m);A(null,pe,E,R,m,P,C),b.el=pe.el}if(bt&&ce(bt,P),!fe&&(K=nt&&nt.onVnodeMounted)){const pe=b;ce(()=>Be(K,yt,pe),P)}(b.shapeFlag&256||yt&&Ti(yt.vnode)&&yt.vnode.shapeFlag&256)&&m.a&&ce(m.a,P),m.isMounted=!0,b=E=R=null}};m.scope.on();const H=m.effect=new Ol(F);m.scope.off();const M=m.update=H.run.bind(H),X=m.job=H.runIfDirty.bind(H);X.i=m,X.id=m.uid,H.scheduler=()=>hr(X),vn(m,!0),M()},ft=(m,b,E)=>{b.component=m;const R=m.vnode.props;m.vnode=b,m.next=null,Uf(m,b.props,R,E),qf(m,b.children,E),Ye(),Sa(m),Qe()},$=(m,b,E,R,P,C,Z,F,H=!1)=>{const M=m&&m.children,X=m?m.shapeFlag:0,K=b.children,{patchFlag:Q,shapeFlag:nt}=b;if(Q>0){if(Q&128){j(M,K,E,R,P,C,Z,F,H);return}else if(Q&256){ie(M,K,E,R,P,C,Z,F,H);return}}nt&8?(X&16&&J(M,P,C),K!==M&&_(E,K)):X&16?nt&16?j(M,K,E,R,P,C,Z,F,H):J(M,P,C,!0):(X&8&&_(E,""),nt&16&&Wt(K,E,R,P,C,Z,F,H))},ie=(m,b,E,R,P,C,Z,F,H)=>{m=m||jn,b=b||jn;const M=m.length,X=b.length,K=Math.min(M,X);let Q;for(Q=0;QX?J(m,P,C,!0,!1,K):Wt(b,E,R,P,C,Z,F,H,K)},j=(m,b,E,R,P,C,Z,F,H)=>{let M=0;const X=b.length;let K=m.length-1,Q=X-1;for(;M<=K&&M<=Q;){const nt=m[M],ht=b[M]=H?Ge(b[M]):De(b[M]);if(pi(nt,ht))A(nt,ht,E,null,P,C,Z,F,H);else break;M++}for(;M<=K&&M<=Q;){const nt=m[K],ht=b[Q]=H?Ge(b[Q]):De(b[Q]);if(pi(nt,ht))A(nt,ht,E,null,P,C,Z,F,H);else break;K--,Q--}if(M>K){if(M<=Q){const nt=Q+1,ht=ntQ)for(;M<=K;)W(m[M],P,C,!0),M++;else{const nt=M,ht=M,bt=new Map;for(M=ht;M<=Q;M++){const Jt=b[M]=H?Ge(b[M]):De(b[M]);Jt.key!=null&&bt.set(Jt.key,M)}let yt,It=0;const zt=Q-ht+1;let fe=!1,pe=0;const sn=new Array(zt);for(M=0;M=zt){W(Jt,P,C,!0);continue}let _e;if(Jt.key!=null)_e=bt.get(Jt.key);else for(yt=ht;yt<=Q;yt++)if(sn[yt-ht]===0&&pi(Jt,b[yt])){_e=yt;break}_e===void 0?W(Jt,P,C,!0):(sn[_e-ht]=M+1,_e>=pe?pe=_e:fe=!0,A(Jt,b[_e],E,null,P,C,Z,F,H),It++)}const Cn=fe?Jf(sn):jn;for(yt=Cn.length-1,M=zt-1;M>=0;M--){const Jt=ht+M,_e=b[Jt],on=b[Jt+1],Zi=Jt+1{const{el:C,type:Z,transition:F,children:H,shapeFlag:M}=m;if(M&6){D(m.component.subTree,b,E,R);return}if(M&128){m.suspense.move(b,E,R);return}if(M&64){Z.move(m,b,E,Te);return}if(Z===ae){r(C,b,E);for(let K=0;KF.enter(C),P));else{const{leave:K,delayLeave:Q,afterLeave:nt}=F,ht=()=>{m.ctx.isUnmounted?a(C):r(C,b,E)},bt=()=>{const yt=C._isLeaving||!!C[To];C._isLeaving&&C[To](!0),F.persisted&&!yt?ht():K(C,()=>{ht(),nt&&nt()})};Q?Q(C,ht,bt):bt()}else r(C,b,E)},W=(m,b,E,R=!1,P=!1)=>{const{type:C,props:Z,ref:F,children:H,dynamicChildren:M,shapeFlag:X,patchFlag:K,dirs:Q,cacheIndex:nt,memo:ht}=m;if(K===-2&&(P=!1),F!=null&&(Ye(),Pi(F,null,E,m,!0),Qe()),nt!=null&&(b.renderCache[nt]=void 0),X&256){b.ctx.deactivate(m);return}const bt=X&1&&Q,yt=!Ti(m);let It;if(yt&&(It=Z&&Z.onVnodeBeforeUnmount)&&Be(It,b,m),X&6)pt(m.component,E,R);else{if(X&128){m.suspense.unmount(E,R);return}bt&&gn(m,null,b,"beforeUnmount"),X&64?m.type.remove(m,b,E,Te,R):M&&!M.hasOnce&&(C!==ae||K>0&&K&64)?J(M,b,E,!1,!0):(C===ae&&K&384||!P&&X&16)&&J(H,b,E),R&&mt(m)}const zt=ht!=null&&nt==null;(yt&&(It=Z&&Z.onVnodeUnmounted)||bt||zt)&&ce(()=>{It&&Be(It,b,m),bt&&gn(m,null,b,"unmounted"),zt&&(m.el=null)},E)},mt=m=>{const{type:b,el:E,anchor:R,transition:P}=m;if(b===ae){lt(E,R);return}if(b===Eo){z(m);return}const C=()=>{a(E),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(m.shapeFlag&1&&P&&!P.persisted){const{leave:Z,delayLeave:F}=P,H=()=>Z(E,C);F?F(m.el,C,H):H()}else C()},lt=(m,b)=>{let E;for(;m!==b;)E=O(m),a(m),m=E;a(b)},pt=(m,b,E)=>{const{bum:R,scope:P,job:C,subTree:Z,um:F,m:H,a:M}=m;Ba(H),Ba(M),R&&fs(R),P.stop(),C&&(C.flags|=8,W(Z,m,b,E)),F&&ce(F,b),ce(()=>{m.isUnmounted=!0},b)},J=(m,b,E,R=!1,P=!1,C=0)=>{for(let Z=C;Z{if(m.shapeFlag&6)return St(m.component.subTree);if(m.shapeFlag&128)return m.suspense.next();const b=O(m.anchor||m.el),E=b&&b[ff];return E?O(E):b};let Vt=!1;const nn=(m,b,E)=>{let R;m==null?b._vnode&&(W(b._vnode,null,null,!0),R=b._vnode.component):A(b._vnode||null,m,b,null,null,null,E),b._vnode=m,Vt||(Vt=!0,Sa(R),ql(),Vt=!1)},Te={p:A,um:W,m:D,r:mt,mt:wt,mc:Wt,pc:$,pbc:Rt,n:St,o:e};return{render:nn,hydrate:void 0,createApp:If(nn)}}function Lo({type:e,props:i},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&i&&i.encoding&&i.encoding.includes("html")?void 0:s}function vn({effect:e,job:i},s){s?(e.flags|=32,i.flags|=4):(e.flags&=-33,i.flags&=-5)}function Gf(e,i){return(!e||e&&!e.pendingBranch)&&i&&!i.persisted}function pu(e,i,s=!1){const r=e.children,a=i.children;if(it(r)&&it(a))for(let u=0;u>1,e[s[f]]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}function _u(e){const i=e.subTree.component;if(i)return i.asyncDep&&!i.asyncResolved?i:_u(i)}function Ba(e){if(e)for(let i=0;ie.__isSuspense;function Xf(e,i){i&&i.pendingBranch?it(e)?i.effects.push(...e):i.effects.push(e):rf(e)}const ae=Symbol.for("v-fgt"),Zs=Symbol.for("v-txt"),un=Symbol.for("v-cmt"),Eo=Symbol.for("v-stc"),Tn=[];let de=null;function Zt(e=!1){Tn.push(de=e?null:[])}function vu(){Tn.pop(),de=Tn[Tn.length-1]||null}let Ci=1;function Na(e,i=!1){Ci+=e,e<0&&de&&i&&(de.hasOnce=!0)}function yu(e){return e.dynamicChildren=Ci>0?de||jn:null,vu(),Ci>0&&de&&de.push(e),e}function jt(e,i,s,r,a,u){return yu(_t(e,i,s,r,a,u,!0))}function Yf(e,i,s,r,a){return yu(He(e,i,s,r,a,!0))}function wu(e){return e?e.__v_isVNode===!0:!1}function pi(e,i){return e.type===i.type&&e.key===i.key}const bu=({key:e})=>e??null,ps=({ref:e,ref_key:i,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?kt(e)||Qt(e)||rt(e)?{i:ye,r:e,k:i,f:!!s}:e:null);function _t(e,i=null,s=null,r=0,a=null,u=e===ae?0:1,h=!1,f=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:i,key:i&&bu(i),ref:i&&ps(i),scopeId:Kl,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:u,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ye};return f?(Ps(d,s),u&128&&e.normalize(d)):s&&(d.shapeFlag|=kt(s)?8:16),Ci>0&&!h&&de&&(d.patchFlag>0||u&6)&&d.patchFlag!==32&&de.push(d),d}const He=Qf;function Qf(e,i=null,s=null,r=0,a=null,u=!1){if((!e||e===Sf)&&(e=un),wu(e)){const f=Jn(e,i,!0);return s&&Ps(f,s),Ci>0&&!u&&de&&(f.shapeFlag&6?de[de.indexOf(e)]=f:de.push(f)),f.patchFlag=-2,f}if(cd(e)&&(e=e.__vccOpts),i){i=td(i);let{class:f,style:d}=i;f&&!kt(f)&&(i.class=Vn(f)),Tt(d)&&(cr(d)&&!it(d)&&(d=ee({},d)),i.style=nr(d))}const h=kt(e)?1:gu(e)?128:df(e)?64:Tt(e)?4:rt(e)?2:0;return _t(e,i,s,r,a,h,u,!0)}function td(e){return e?cr(e)||lu(e)?ee({},e):e:null}function Jn(e,i,s=!1,r=!1){const{props:a,ref:u,patchFlag:h,children:f,transition:d}=e,g=i?ed(a||{},i):a,_={__v_isVNode:!0,__v_skip:!0,type:e.type,props:g,key:g&&bu(g),ref:i&&i.ref?s&&u?it(u)?u.concat(ps(i)):[u,ps(i)]:ps(i):u,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:f,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:i&&e.type!==ae?h===-1?16:h|16:h,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:d,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jn(e.ssContent),ssFallback:e.ssFallback&&Jn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return d&&r&&fr(_,d.clone(_)),_}function xu(e=" ",i=0){return He(Zs,null,e,i)}function us(e="",i=!1){return i?(Zt(),Yf(un,null,e)):He(un,null,e)}function De(e){return e==null||typeof e=="boolean"?He(un):it(e)?He(ae,null,e.slice()):wu(e)?Ge(e):He(Zs,null,String(e))}function Ge(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jn(e)}function Ps(e,i){let s=0;const{shapeFlag:r}=e;if(i==null)i=null;else if(it(i))s=16;else if(typeof i=="object")if(r&65){const a=i.default;a&&(a._c&&(a._d=!1),Ps(e,a()),a._c&&(a._d=!0));return}else{s=32;const a=i._;!a&&!lu(i)?i._ctx=ye:a===3&&ye&&(ye.slots._===1?i._=1:(i._=2,e.patchFlag|=1024))}else if(rt(i)){if(r&65){Ps(e,{default:i});return}i={default:i,_ctx:ye},s=32}else i=String(i),r&64?(s=16,i=[xu(i)]):s=8;e.children=i,e.shapeFlag|=s}function ed(...e){const i={};for(let s=0;sle||ye;let Ts,$o;{const e=Bs(),i=(s,r)=>{let a;return(a=e[s])||(a=e[s]=[]),a.push(r),u=>{a.length>1?a.forEach(h=>h(u)):a[0](u)}};Ts=i("__VUE_INSTANCE_SETTERS__",s=>le=s),$o=i("__VUE_SSR_SETTERS__",s=>Ai=s)}const Bi=e=>{const i=le;return Ts(e),e.scope.on(),()=>{e.scope.off(),Ts(i)}},za=()=>{le&&le.scope.off(),Ts(null)};function Pu(e){return e.vnode.shapeFlag&4}let Ai=!1;function rd(e,i=!1,s=!1){i&&$o(i);const{props:r,children:a}=e.vnode,u=Pu(e);Hf(e,r,u,i),Vf(e,a,s||i);const h=u?ad(e,i):void 0;return i&&$o(!1),h}function ad(e,i){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Lf);const{setup:r}=s;if(r){Ye();const a=e.setupContext=r.length>1?ud(e):null,u=Bi(e),h=ki(r,e,0,[e.props,a]),f=wl(h);if(Qe(),u(),(f||e.sp)&&!Ti(e)&&Xl(e),f){if(h.then(za,za),i)return h.then(d=>{Da(e,d)}).catch(d=>{zs(d,e,0)});e.asyncDep=h}else Da(e,h)}else Tu(e)}function Da(e,i,s){rt(i)?e.type.__ssrInlineRender?e.ssrRender=i:e.render=i:Tt(i)&&(e.setupState=Ul(i)),Tu(e)}function Tu(e,i,s){const r=e.type;e.render||(e.render=r.render||Ze);{const a=Bi(e);Ye();try{Ef(e)}finally{Qe(),a()}}}const ld={get(e,i){return Yt(e,"get",""),e[i]}};function ud(e){const i=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,ld),slots:e.slots,emit:e.emit,expose:i}}function Hs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ul(Kh(e.exposed)),{get(i,s){if(s in i)return i[s];if(s in Si)return Si[s](e)},has(i,s){return s in i||s in Si}})):e.proxy}function cd(e){return rt(e)&&"__vccOpts"in e}const Su=(e,i)=>tf(e,i,Ai),hd="3.5.40";/** -* @vue/runtime-dom v3.5.40 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Ko;const Fa=typeof window<"u"&&window.trustedTypes;if(Fa)try{Ko=Fa.createPolicy("vue",{createHTML:e=>e})}catch{}const Lu=Ko?e=>Ko.createHTML(e):e=>e,fd="http://www.w3.org/2000/svg",dd="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,Za=Ke&&Ke.createElement("template"),pd={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 a=i==="svg"?Ke.createElementNS(fd,e):i==="mathml"?Ke.createElementNS(dd,e):s?Ke.createElement(e,{is:s}):Ke.createElement(e);return e==="select"&&r&&r.multiple!=null&&a.setAttribute("multiple",r.multiple),a},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,i)=>{e.nodeValue=i},setElementText:(e,i)=>{e.textContent=i},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,i){e.setAttribute(i,"")},insertStaticContent(e,i,s,r,a,u){const h=s?s.previousSibling:i.lastChild;if(a&&(a===u||a.nextSibling))for(;i.insertBefore(a.cloneNode(!0),s),!(a===u||!(a=a.nextSibling)););else{Za.innerHTML=Lu(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const f=Za.content;if(r==="svg"||r==="mathml"){const d=f.firstChild;for(;d.firstChild;)f.appendChild(d.firstChild);f.removeChild(d)}i.insertBefore(f,s)}return[h?h.nextSibling:i.firstChild,s?s.previousSibling:i.lastChild]}},_d=Symbol("_vtc");function md(e,i,s){const r=e[_d];r&&(i=(i?[i,...r]:[...r]).join(" ")),i==null?e.removeAttribute("class"):s?e.setAttribute("class",i):e.className=i}const Ha=Symbol("_vod"),gd=Symbol("_vsh"),vd=Symbol(""),yd=/(?:^|;)\s*display\s*:/;function wd(e,i,s){const r=e.style,a=kt(s);let u=!1;if(s&&!a){if(i)if(kt(i))for(const h of i.split(";")){const f=h.slice(0,h.indexOf(":")).trim();s[f]==null&&gi(r,f,"")}else for(const h in i)s[h]==null&&gi(r,h,"");for(const h in s){h==="display"&&(u=!0);const f=s[h];f!=null?xd(e,h,!kt(i)&&i?i[h]:void 0,f)||gi(r,h,f):gi(r,h,"")}}else if(a){if(i!==s){const h=r[vd];h&&(s+=";"+h),r.cssText=s,u=yd.test(s)}}else i&&e.removeAttribute("style");Ha in e&&(e[Ha]=u?r.display:"",e[gd]&&(r.display="none"))}const Ua=/\s*!important$/;function gi(e,i,s){if(it(s))s.forEach(r=>gi(e,i,r));else if(s==null&&(s=""),i.startsWith("--"))e.setProperty(i,s);else{const r=bd(e,i);Ua.test(s)?e.setProperty(cn(r),s.replace(Ua,""),"important"):e[r]=s}}const ja=["Webkit","Moz","ms"],Oo={};function bd(e,i){const s=Oo[i];if(s)return s;let r=Ee(i);if(r!=="filter"&&r in e)return Oo[i]=r;r=Pl(r);for(let a=0;aCo||(Od.then(()=>Co=0),Co=Date.now());function Ad(e,i){const s=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=s.attached)return;const a=s.value;if(it(a)){const u=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{u.call(r),r._stopped=!0};const h=a.slice(),f=[r];for(let d=0;de.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Rd=(e,i,s,r,a,u)=>{const h=a==="svg";i==="class"?md(e,r,h):i==="style"?wd(e,s,r):As(i)?Rs(i)||Td(e,i,s,r,u):(i[0]==="."?(i=i.slice(1),!0):i[0]==="^"?(i=i.slice(1),!1):Md(e,i,r,h))?(qa(e,i,r),!e.tagName.includes("-")&&(i==="value"||i==="checked"||i==="selected")&&Va(e,i,r,h,u,i!=="value")):e._isVueCE&&(Id(e,i)||e._def.__asyncLoader&&(/[A-Z]/.test(i)||!kt(r)))?qa(e,Ee(i),r,u,i):(i==="true-value"?e._trueValue=r:i==="false-value"&&(e._falseValue=r),Va(e,i,r,h))};function Md(e,i,s,r){if(r)return!!(i==="innerHTML"||i==="textContent"||i in e&&Ka(i)&&rt(s));if(i==="spellcheck"||i==="draggable"||i==="translate"||i==="autocorrect"||i==="sandbox"&&e.tagName==="IFRAME"||i==="form"||i==="list"&&e.tagName==="INPUT"||i==="type"&&e.tagName==="TEXTAREA")return!1;if(i==="width"||i==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return Ka(i)&&kt(s)?!1:i in e}function Id(e,i){const s=e._def.props;if(!s)return!1;const r=Ee(i);return Array.isArray(s)?s.some(a=>Ee(a)===r):Object.keys(s).some(a=>Ee(a)===r)}const Ss=e=>{const i=e.props["onUpdate:modelValue"]||!1;return it(i)?s=>fs(i,s):i};function kd(e){e.target.composing=!0}function Ga(e){const i=e.target;i.composing&&(i.composing=!1,i.dispatchEvent(new Event("input")))}const Kn=Symbol("_assign");function Ja(e,i,s){return i&&(e=e.trim()),s&&(e=ks(e)),e}const Bd={created(e,{modifiers:{lazy:i,trim:s,number:r}},a){e[Kn]=Ss(a);const u=r||a.props&&a.props.type==="number";wn(e,i?"change":"input",h=>{h.target.composing||e[Kn](Ja(e.value,s,u))}),(s||u)&&wn(e,"change",()=>{e.value=Ja(e.value,s,u)}),i||(wn(e,"compositionstart",kd),wn(e,"compositionend",Ga),wn(e,"change",Ga))},mounted(e,{value:i}){e.value=i??""},beforeUpdate(e,{value:i,oldValue:s,modifiers:{lazy:r,trim:a,number:u}},h){if(e[Kn]=Ss(h),e.composing)return;const f=(u||e.type==="number")&&!/^0\d/.test(e.value)?ks(e.value):e.value,d=i??"";if(f===d)return;const g=e.getRootNode();(g instanceof Document||g instanceof ShadowRoot)&&g.activeElement===e&&e.type!=="range"&&(r&&i===s||a&&e.value.trim()===d)||(e.value=d)}},Ao={deep:!0,created(e,{value:i,modifiers:{number:s}},r){e._modelValue=i,wn(e,"change",()=>{const a=Array.prototype.filter.call(e.options,u=>u.selected).map(u=>s?ks(Ls(u)):Ls(u));e[Kn](e.multiple?Ms(e._modelValue)?new Set(a):a:a[0]),e._assigning=!0,Wl(()=>{e._assigning=!1})}),e[Kn]=Ss(r)},mounted(e,{value:i}){Xa(e,i)},beforeUpdate(e,{value:i},s){e._modelValue=i,e[Kn]=Ss(s)},updated(e,{value:i}){e._assigning||Xa(e,i)}};function Xa(e,i){const s=e.multiple,r=it(i);if(!(s&&!r&&!Ms(i))){for(let a=0,u=e.options.length;aString(g)===String(f)):h.selected=Eh(i,f)>-1}else h.selected=i.has(f);else if(Ii(Ls(h),i)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Ls(e){return"_value"in e?e._value:e.value}const Nd=["ctrl","shift","alt","meta"],zd={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,i)=>Nd.some(s=>e[`${s}Key`]&&!i.includes(s))},Ro=(e,i)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),r=i.join(".");return s[r]||(s[r]=((a,...u)=>{for(let h=0;h{const s=e._withKeys||(e._withKeys={}),r=i.join(".");return s[r]||(s[r]=(a=>{if(!("key"in a))return;const u=cn(a.key);if(i.some(h=>h===u||Dd[h]===u))return e(a)}))},Fd=ee({patchProp:Rd},pd);let Ya;function Zd(){return Ya||(Ya=$f(Fd))}const Hd=((...e)=>{const i=Zd().createApp(...e),{mount:s}=i;return i.mount=r=>{const a=jd(r);if(!a)return;const u=i._component;!rt(u)&&!u.render&&!u.template&&(u.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const h=s(a,!1,Ud(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),h},i});function Ud(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function jd(e){return kt(e)?document.querySelector(e):e}function Eu(e,i){return function(){return e.apply(i,arguments)}}const{toString:Wd}=Object.prototype,{getPrototypeOf:Xn}=Object,{iterator:Ni,toStringTag:Ou}=Symbol,Es=(({hasOwnProperty:e})=>(i,s)=>e.call(i,s))(Object.prototype),Ri=(e,i)=>{let s=e;const r=[];for(;s!=null&&s!==Object.prototype;){if(r.indexOf(s)!==-1)return!1;if(r.push(s),Es(s,i))return!0;s=Xn(s)}return!1},Vd=(e,i)=>e!=null&&Ri(e,i)?e[i]:void 0,mr=(e=>i=>{const s=Wd.call(i);return e[s]||(e[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),be=e=>(e=e.toLowerCase(),i=>mr(i)===e),Us=e=>i=>typeof i===e,{isArray:Ln}=Array,En=Us("undefined");function Yn(e){return e!==null&&!En(e)&&e.constructor!==null&&!En(e.constructor)&&he(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Cu=be("ArrayBuffer");function qd(e){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(e):i=e&&e.buffer&&Cu(e.buffer),i}const $d=Us("string"),he=Us("function"),Au=Us("number"),Qn=e=>e!==null&&typeof e=="object",Kd=e=>e===!0||e===!1,_s=e=>{if(!Qn(e))return!1;const i=Xn(e);return(i===null||i===Object.prototype||Xn(i)===null)&&!Ri(e,Ou)&&!Ri(e,Ni)},Gd=e=>{if(!Qn(e)||Yn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Jd=be("Date"),Xd=be("File"),Yd=e=>!!(e&&typeof e.uri<"u"),Qd=e=>e&&typeof e.getParts<"u",tp=be("Blob"),ep=be("FileList"),np=be("Set"),ip=e=>Qn(e)&&he(e.pipe);function sp(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Qa=sp(),tl=typeof Qa.FormData<"u"?Qa.FormData:void 0,op=e=>{if(!e)return!1;if(tl&&e instanceof tl)return!0;const i=Xn(e);if(!i||i===Object.prototype||!he(e.append))return!1;const s=mr(e);return s==="formdata"||s==="object"&&he(e.toString)&&e.toString()==="[object FormData]"},rp=be("URLSearchParams"),[ap,lp,up,cp]=["ReadableStream","Request","Response","Headers"].map(be),hp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function zi(e,i,{allOwnKeys:s=!1}={}){if(e===null||typeof e>"u")return;let r,a;if(typeof e!="object"&&(e=[e]),Ln(e))for(r=0,a=e.length;r0;)if(a=s[r],i===a.toLowerCase())return a;return null}const bn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Mu=e=>!En(e)&&e!==bn;function Go(...e){const{caseless:i,skipUndefined:s}=Mu(this)&&this||{},r={},a=(u,h)=>{if(h==="__proto__"||h==="constructor"||h==="prototype")return;const f=i&&typeof h=="string"&&Ru(r,h)||h,d=Es(r,f)?r[f]:void 0;_s(d)&&_s(u)?r[f]=Go(d,u):_s(u)?r[f]=Go({},u):Ln(u)?r[f]=u.slice():(!s||!En(u))&&(r[f]=u)};for(let u=0,h=e.length;u(zi(i,(a,u)=>{s&&he(a)?Object.defineProperty(e,u,{__proto__:null,value:Eu(a,s),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,u,{__proto__:null,value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),dp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),pp=(e,i,s,r)=>{e.prototype=Object.create(i.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:i.prototype}),s&&Object.assign(e.prototype,s)},_p=(e,i,s,r)=>{let a,u,h;const f={};if(i=i||{},e==null)return i;do{for(a=Object.getOwnPropertyNames(e),u=a.length;u-- >0;)h=a[u],(!r||r(h,e,i))&&!f[h]&&(i[h]=e[h],f[h]=!0);e=s!==!1&&Xn(e)}while(e&&(!s||s(e,i))&&e!==Object.prototype);return i},mp=(e,i,s)=>{e=String(e),(s===void 0||s>e.length)&&(s=e.length),s-=i.length;const r=e.indexOf(i,s);return r!==-1&&r===s},gp=e=>{if(!e)return null;if(Ln(e))return e;let i=e.length;if(!Au(i))return null;const s=new Array(i);for(;i-- >0;)s[i]=e[i];return s},vp=(e=>i=>e&&i instanceof e)(typeof Uint8Array<"u"&&Xn(Uint8Array)),yp=(e,i)=>{const r=(e&&e[Ni]).call(e);let a;for(;(a=r.next())&&!a.done;){const u=a.value;i.call(e,u[0],u[1])}},wp=(e,i)=>{let s;const r=[];for(;(s=e.exec(i))!==null;)r.push(s);return r},bp=be("HTMLFormElement"),xp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,r,a){return r.toUpperCase()+a}),{propertyIsEnumerable:Pp}=Object.prototype,Tp=be("RegExp"),Iu=(e,i)=>{const s=Object.getOwnPropertyDescriptors(e),r={};zi(s,(a,u)=>{let h;(h=i(a,u,e))!==!1&&(r[u]=h||a)}),Object.defineProperties(e,r)},Sp=e=>{Iu(e,(i,s)=>{if(he(e)&&["arguments","caller","callee"].includes(s))return!1;const r=e[s];if(he(r)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},Lp=(e,i)=>{const s={},r=a=>{a.forEach(u=>{s[u]=!0})};return Ln(e)?r(e):r(String(e).split(i)),s},Ep=()=>{},Op=(e,i)=>e!=null&&Number.isFinite(e=+e)?e:i;function Cp(e){return!!(e&&he(e.append)&&e[Ou]==="FormData"&&e[Ni])}const Ap=e=>{const i=new WeakSet,s=r=>{if(Qn(r)){if(i.has(r))return;if(Yn(r))return r;if(!("toJSON"in r)){i.add(r);let a;if(np(r)){a=[];for(const u of r){const h=s(u);!En(h)&&a.push(h)}}else a=Ln(r)?[]:{},zi(r,(u,h)=>{const f=s(u);!En(f)&&(a[h]=f)});return i.delete(r),a}}return r};return s(e)},Rp=be("AsyncFunction"),Mp=e=>e&&(Qn(e)||he(e))&&he(e.then)&&he(e.catch),ku=((e,i)=>e?setImmediate:i?((s,r)=>(bn.addEventListener("message",({source:a,data:u})=>{a===bn&&u===s&&r.length&&r.shift()()},!1),a=>{r.push(a),bn.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",he(bn.postMessage)),Ip=typeof queueMicrotask<"u"?queueMicrotask.bind(bn):typeof process<"u"&&process.nextTick||ku,Bu=e=>e!=null&&he(e[Ni]),kp=e=>e!=null&&Ri(e,Ni)&&Bu(e),w={isArray:Ln,isArrayBuffer:Cu,isBuffer:Yn,isFormData:op,isArrayBufferView:qd,isString:$d,isNumber:Au,isBoolean:Kd,isObject:Qn,isPlainObject:_s,isEmptyObject:Gd,isReadableStream:ap,isRequest:lp,isResponse:up,isHeaders:cp,isUndefined:En,isDate:Jd,isFile:Xd,isReactNativeBlob:Yd,isReactNative:Qd,isBlob:tp,isRegExp:Tp,isFunction:he,isStream:ip,isURLSearchParams:rp,isTypedArray:vp,isFileList:ep,forEach:zi,merge:Go,extend:fp,trim:hp,stripBOM:dp,inherits:pp,toFlatObject:_p,kindOf:mr,kindOfTest:be,endsWith:mp,toArray:gp,forEachEntry:yp,matchAll:wp,isHTMLForm:bp,hasOwnProperty:Es,hasOwnProp:Es,hasOwnInPrototypeChain:Ri,getSafeProp:Vd,reduceDescriptors:Iu,freezeMethods:Sp,toObjectSet:Lp,toCamelCase:xp,noop:Ep,toFiniteNumber:Op,findKey:Ru,global:bn,isContextDefined:Mu,isSpecCompliantForm:Cp,toJSONObject:Ap,isAsyncFn:Rp,isThenable:Mp,setImmediate:ku,asap:Ip,isIterable:Bu,isSafeIterable:kp},Bp=w.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Np=e=>{const i={};let s,r,a;return e&&e.split(` -`).forEach(function(h){a=h.indexOf(":"),s=h.substring(0,a).trim().toLowerCase(),r=h.substring(a+1).trim();const f=w.hasOwnProp(i,s);!s||f&&w.hasOwnProp(Bp,s)||(s==="set-cookie"?f?i[s].push(r):i[s]=[r]:i[s]=f?i[s]+", "+r:r)}),i};function zp(e){let i=0,s=e.length;for(;ii;){const r=e.charCodeAt(s-1);if(r!==9&&r!==32)break;s-=1}return i===0&&s===e.length?e:e.slice(i,s)}const Dp=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Fp=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function gr(e,i){return w.isArray(e)?e.map(s=>gr(s,i)):zp(String(e).replace(i,""))}const Zp=e=>gr(e,Dp),Hp=e=>gr(e,Fp);function Nu(e){const i=Object.create(null);return w.forEach(e.toJSON(),(s,r)=>{i[r]=Hp(s)}),i}const el=Symbol("internals");function _i(e){return e&&String(e).trim().toLowerCase()}function ms(e){return e===!1||e==null?e:w.isArray(e)?e.map(ms):Zp(String(e))}function Up(e){const i=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=s.exec(e);)i[r[1]]=r[2];return i}const jp=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function Mo(e){let i=0,s=e.length;for(;ii;){const r=e.charCodeAt(s-1);if(r!==9&&r!==32)break;s-=1}return i===0&&s===e.length?e:e.slice(i,s)}function Wp(e){const i=e.length-1;if(i<1||e.charCodeAt(0)!==34||e.charCodeAt(i)!==34)return e;let s="";for(let r=1;r=i))return e;s+=e[r]}return s}function Vp(e){const i=Object.create(null),s=String(e);let r=0,a=!1,u=!1;function h(f){const d=Mo(s.slice(r,f)),g=d.indexOf("=");if(g<1)return;const _=Mo(d.slice(0,g));if(!jp.test(_))return;const y=_.toLowerCase();if(y==="__proto__"||y==="constructor"||y==="prototype")return;const O=Mo(d.slice(g+1));i[y]=Wp(O)}for(let f=0;f/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Io(e,i,s,r,a){if(w.isFunction(r))return r.call(this,i,s);if(a&&(i=s),!!w.isString(i)){if(w.isString(r))return i.indexOf(r)!==-1;if(w.isRegExp(r))return r.test(i)}}function $p(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,s,r)=>s.toUpperCase()+r)}function Kp(e,i){const s=w.toCamelCase(" "+i);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+s,{__proto__:null,value:function(a,u,h){return this[r].call(this,i,a,u,h)},configurable:!0})})}let te=class{constructor(i){i&&this.set(i)}set(i,s,r){const a=this;function u(f,d,g){const _=_i(d);if(!_)return;const y=w.findKey(a,_);(!y||a[y]===void 0||g===!0||g===void 0&&a[y]!==!1)&&(a[y||d]=ms(f))}const h=(f,d)=>w.forEach(f,(g,_)=>u(g,_,d));if(w.isPlainObject(i)||i instanceof this.constructor)h(i,s);else if(w.isString(i)&&(i=i.trim())&&!qp(i))h(Np(i),s);else if(w.isObject(i)&&w.isSafeIterable(i)){let f=Object.create(null),d,g;for(const _ of i){if(!w.isArray(_))throw new TypeError("Object iterator must return a key-value pair");g=_[0],w.hasOwnProp(f,g)?(d=f[g],f[g]=w.isArray(d)?[...d,_[1]]:[d,_[1]]):f[g]=_[1]}h(f,s)}else i!=null&&u(s,i,r);return this}get(i,s){if(i=_i(i),i){const r=w.findKey(this,i);if(r){const a=this[r];if(!s)return a;if(s===!0)return Up(a);if(w.isFunction(s))return s.call(this,a,r);if(w.isRegExp(s))return s.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,s){if(i=_i(i),i){const r=w.findKey(this,i);return!!(r&&this[r]!==void 0&&(!s||Io(this,this[r],r,s)))}return!1}delete(i,s){const r=this;let a=!1;function u(h){if(h=_i(h),h){const f=w.findKey(r,h);f&&(!s||Io(r,r[f],f,s))&&(delete r[f],a=!0)}}return w.isArray(i)?i.forEach(u):u(i),a}clear(i){const s=Object.keys(this);let r=s.length,a=!1;for(;r--;){const u=s[r];(!i||Io(this,this[u],u,i,!0))&&(delete this[u],a=!0)}return a}normalize(i){const s=this,r={};return w.forEach(this,(a,u)=>{const h=w.findKey(r,u);if(h){s[h]=ms(a),delete s[u];return}const f=i?$p(u):String(u).trim();f!==u&&delete s[u],s[f]=ms(a),r[f]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const s=Object.create(null);return w.forEach(this,(r,a)=>{r!=null&&r!==!1&&(s[a]=i&&w.isArray(r)?r.join(", "):r)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,s])=>i+": "+s).join(` -`)}getSetCookie(){const i=this.get("set-cookie");return w.isArray(i)?i:i==null||i===!1?[]:[i]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static parseParameters(i){return Vp(i)}static concat(i,...s){const r=new this(i);return s.forEach(a=>r.set(a)),r}static accessor(i){const r=(this[el]=this[el]={accessors:{}}).accessors,a=this.prototype;function u(h){const f=_i(h);r[f]||(Kp(a,h),r[f]=!0)}return w.isArray(i)?i.forEach(u):u(i),this}};te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);w.reduceDescriptors(te.prototype,({value:e},i)=>{let s=i[0].toUpperCase()+i.slice(1);return{get:()=>e,set(r){this[s]=r}}});w.freezeMethods(te);const Os="[REDACTED ****]";function Gp(e){if(w.hasOwnProp(e,"toJSON"))return!0;let i=Object.getPrototypeOf(e);for(;i&&i!==Object.prototype;){if(w.hasOwnProp(i,"toJSON"))return!0;i=Object.getPrototypeOf(i)}return!1}function Jp(e,i){const s=new Set(i.map(u=>String(u).toLowerCase())),r=[],a=u=>{if(u===null||typeof u!="object"||w.isBuffer(u))return u;if(r.indexOf(u)!==-1)return;u instanceof te&&(u=u.toJSON()),r.push(u);let h;if(w.isArray(u))h=[],u.forEach((f,d)=>{const g=a(f);w.isUndefined(g)||(h[d]=g)});else{if(!w.isPlainObject(u)&&Gp(u))return r.pop(),u;h=Object.create(null);for(const[f,d]of Object.entries(u)){const g=s.has(f.toLowerCase())?Os:a(d);w.isUndefined(g)||(h[f]=g)}}return r.pop(),h};return a(e)}function nl(e){try{return String(e)}catch{return""}}function Xp(e){return e.errors.map(s=>{try{return s&&s.message?nl(s.message):nl(s)}catch{return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}let q=class zu extends Error{static from(i,s,r,a,u,h){let f=i.message;!f&&w.isArray(i.errors)&&i.errors.length&&(f=Xp(i));const d=new zu(f,s||i.code,r,a,u);return Object.defineProperty(d,"cause",{__proto__:null,value:i,writable:!0,enumerable:!1,configurable:!0}),d.name=i.name,i.status!=null&&d.status==null&&(d.status=i.status),h&&Object.assign(d,h),d}constructor(i,s,r,a,u){super(i),Object.defineProperty(this,"message",{__proto__:null,value:i,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,s&&(this.code=s),r&&(this.config=r),a&&(this.request=a),u&&(this.response=u,this.status=u.status)}toJSON(){const i=this.config,s=i&&w.hasOwnProp(i,"redact")?i.redact:void 0,r=w.isArray(s)&&s.length>0?Jp(i,s):w.toJSONObject(i);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};q.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";q.ERR_BAD_OPTION="ERR_BAD_OPTION";q.ECONNABORTED="ECONNABORTED";q.ETIMEDOUT="ETIMEDOUT";q.ECONNREFUSED="ECONNREFUSED";q.ERR_NETWORK="ERR_NETWORK";q.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";q.ERR_DEPRECATED="ERR_DEPRECATED";q.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";q.ERR_BAD_REQUEST="ERR_BAD_REQUEST";q.ERR_CANCELED="ERR_CANCELED";q.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";q.ERR_INVALID_URL="ERR_INVALID_URL";q.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Yp=null,Du=100;function Jo(e){return w.isPlainObject(e)||w.isArray(e)}function Fu(e){return w.endsWith(e,"[]")?e.slice(0,-2):e}function ko(e,i,s){return e?e.concat(i).map(function(a,u){return a=Fu(a),!s&&u?"["+a+"]":a}).join(s?".":""):i}function Qp(e){return w.isArray(e)&&!e.some(Jo)}const t_=w.toFlatObject(w,{},null,function(i){return/^is[A-Z]/.test(i)});function js(e,i,s){if(!w.isObject(e))throw new TypeError("target must be an object");i=i||new FormData,s=w.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(k,B){return!w.isUndefined(B[k])});const r=s.metaTokens,a=s.visitor||V,u=s.dots,h=s.indexes,f=s.Blob||typeof Blob<"u"&&Blob,d=s.maxDepth===void 0?Du:s.maxDepth,g=f&&w.isSpecCompliantForm(i),_=[];if(!w.isFunction(a))throw new TypeError("visitor must be a function");function y(S){if(S===null)return"";if(w.isDate(S))return S.toISOString();if(w.isBoolean(S))return S.toString();if(!g&&w.isBlob(S))throw new q("Blob is not supported. Use a Buffer instead.");if(w.isArrayBuffer(S)||w.isTypedArray(S)){if(g&&typeof f=="function")return new f([S]);throw new q("Blob is not supported. Use a Buffer instead.",q.ERR_NOT_SUPPORT)}return S}function O(S){if(S>d)throw new q("Object is too deeply nested ("+S+" levels). Max depth: "+d,q.ERR_FORM_DATA_DEPTH_EXCEEDED)}function N(S,k){if(d===1/0)return JSON.stringify(S);const B=[];return JSON.stringify(S,function(tt,st){if(!w.isObject(st))return st;for(;B.length&&B[B.length-1]!==this;)B.pop();return B.push(st),O(k+B.length-1),st})}function V(S,k,B){let z=S;if(w.isReactNative(i)&&w.isReactNativeBlob(S))return i.append(ko(B,k,u),y(S)),!1;if(S&&!B&&typeof S=="object"){if(w.endsWith(k,"{}"))k=r?k:k.slice(0,-2),S=N(S,1);else if(w.isArray(S)&&Qp(S)||(w.isFileList(S)||w.endsWith(k,"[]"))&&(z=w.toArray(S)))return k=Fu(k),z.forEach(function(st,At){!(w.isUndefined(st)||st===null)&&i.append(h===!0?ko([k],At,u):h===null?k:k+"[]",y(st))}),!1}return Jo(S)?!0:(i.append(ko(B,k,u),y(S)),!1)}const A=Object.assign(t_,{defaultVisitor:V,convertValue:y,isVisitable:Jo});function U(S,k,B=0){if(!w.isUndefined(S)){if(O(B),_.indexOf(S)!==-1)throw new Error("Circular reference detected in "+k.join("."));_.push(S),w.forEach(S,function(tt,st){(!(w.isUndefined(tt)||tt===null)&&a.call(i,tt,w.isString(st)?st.trim():st,k,A))===!0&&U(tt,k?k.concat(st):[st],B+1)}),_.pop()}}if(!w.isObject(e))throw new TypeError("data must be an object");return U(e),i}function il(e){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return i[r]})}function vr(e,i){this._pairs=[],e&&js(e,this,i)}const Zu=vr.prototype;Zu.append=function(i,s){this._pairs.push([i,s])};Zu.toString=function(i){const s=i?r=>i.call(this,r,il):il;return this._pairs.map(function(a){return s(a[0])+"="+s(a[1])},"").join("&")};function e_(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Hu(e,i,s){if(!i)return e;e=e||"";const r=w.isFunction(s)?{serialize:s}:s,a=w.getSafeProp(r,"encode")||e_,u=w.getSafeProp(r,"serialize");let h;if(u?h=u(i,r):h=w.isURLSearchParams(i)?i.toString():new vr(i,r).toString(a),h){const f=e.indexOf("#");f!==-1&&(e=e.slice(0,f)),e+=(e.indexOf("?")===-1?"?":"&")+h}return e}class sl{constructor(){this.handlers=[]}use(i,s,r){return this.handlers.push({fulfilled:i,rejected:s,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){w.forEach(this.handlers,function(r){r!==null&&i(r)})}}const yr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},n_=typeof URLSearchParams<"u"?URLSearchParams:vr,i_=typeof FormData<"u"?FormData:null,s_=typeof Blob<"u"?Blob:null,o_={isBrowser:!0,classes:{URLSearchParams:n_,FormData:i_,Blob:s_},protocols:["http","https","file","blob","url","data"]},wr=typeof window<"u"&&typeof document<"u",Xo=typeof navigator=="object"&&navigator||void 0,r_=wr&&(!Xo||["ReactNative","NativeScript","NS"].indexOf(Xo.product)<0),a_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",l_=wr&&window.location.href||"http://localhost",u_=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:wr,hasStandardBrowserEnv:r_,hasStandardBrowserWebWorkerEnv:a_,navigator:Xo,origin:l_},Symbol.toStringTag,{value:"Module"})),Gt={...u_,...o_};function c_(e,i){return js(e,new Gt.classes.URLSearchParams,{visitor:function(s,r,a,u){return Gt.isNode&&w.isBuffer(s)?(this.append(r,s.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...i})}const ol=Du;function Uu(e){if(e>ol)throw new q("FormData field is too deeply nested ("+e+" levels). Max depth: "+ol,q.ERR_FORM_DATA_DEPTH_EXCEEDED)}function h_(e){const i=[],s=/[^.[\]]+|\[([^.[\]]*)]/g;let r;for(;(r=s.exec(e))!==null;)Uu(i.length),i.push(r[0]==="[]"?"":r[1]||r[0]);return i}function f_(e){const i={},s=Object.keys(e);let r;const a=s.length;let u;for(r=0;r=s.length;return h=!h&&w.isArray(a)?a.length:h,d?(w.hasOwnProp(a,h)?a[h]=w.isArray(a[h])?a[h].concat(r):[a[h],r]:a[h]=r,!f):((!w.hasOwnProp(a,h)||!w.isObject(a[h]))&&(a[h]=[]),i(s,r,a[h],u)&&w.isArray(a[h])&&(a[h]=f_(a[h])),!f)}if(w.isFormData(e)&&w.isFunction(e.entries)){const s={};return w.forEachEntry(e,(r,a)=>{i(h_(r),a,s,0)}),s}return null}const Zn=(e,i)=>e!=null&&w.hasOwnProp(e,i)?e[i]:void 0;function d_(e,i,s){if(w.isString(e))try{return(i||JSON.parse)(e),w.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(s||JSON.stringify)(e)}const Di={transitional:yr,adapter:["xhr","http","fetch"],transformRequest:[function(i,s){const r=s.getContentType()||"",a=r.indexOf("application/json")>-1,u=w.isObject(i);if(u&&w.isHTMLForm(i)&&(i=new FormData(i)),w.isFormData(i))return a?JSON.stringify(ju(i)):i;if(w.isArrayBuffer(i)||w.isBuffer(i)||w.isStream(i)||w.isFile(i)||w.isBlob(i)||w.isReadableStream(i))return i;if(w.isArrayBufferView(i))return i.buffer;if(w.isURLSearchParams(i))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let f;if(u){const d=Zn(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return c_(i,d).toString();if((f=w.isFileList(i))||r.indexOf("multipart/form-data")>-1){const g=Zn(this,"env"),_=g&&g.FormData;return js(f?{"files[]":i}:i,_&&new _,d)}}return u||a?(s.setContentType("application/json",!1),d_(i)):i}],transformResponse:[function(i){const s=Zn(this,"transitional")||Di.transitional,r=s&&s.forcedJSONParsing,a=Zn(this,"responseType"),u=a==="json";if(w.isResponse(i)||w.isReadableStream(i))return i;if(i&&w.isString(i)&&(r&&!a||u)){const f=!(s&&s.silentJSONParsing)&&u;try{return JSON.parse(i,Zn(this,"parseReviver"))}catch(d){if(f)throw d.name==="SyntaxError"?q.from(d,q.ERR_BAD_RESPONSE,this,null,Zn(this,"response")):d}}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Gt.classes.FormData,Blob:Gt.classes.Blob},validateStatus:function(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};w.forEach(["delete","get","head","post","put","patch","query"],e=>{Di.headers[e]={}});function Bo(e,i){const s=this||Di,r=i||s,a=te.from(r.headers);let u=r.data;return w.forEach(e,function(f){u=f.call(s,u,a.normalize(),i?i.status:void 0)}),a.normalize(),u}function Wu(e){return!!(e&&e.__CANCEL__)}let Fi=class extends q{constructor(i,s,r){super(i??"canceled",q.ERR_CANCELED,s,r),this.name="CanceledError",this.__CANCEL__=!0}};function Vu(e,i,s){const r=s.config.validateStatus;!s.status||!r||r(s.status)?e(s):i(new q("Request failed with status code "+s.status,s.status>=400&&s.status<500?q.ERR_BAD_REQUEST:q.ERR_BAD_RESPONSE,s.config,s.request,s))}function p_(e){const i=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return i&&i[1]||""}function __(e,i){e=e||10;const s=new Array(e),r=new Array(e);let a=0,u=0,h;return i=i!==void 0?i:1e3,function(d){const g=Date.now(),_=r[u];h||(h=g),s[a]=d,r[a]=g;let y=u,O=0;for(;y!==a;)O+=s[y++],y=y%e;if(a=(a+1)%e,a===u&&(u=(u+1)%e),g-h{s=_,a=null,u&&(clearTimeout(u),u=null),e(...g)};return[(...g)=>{const _=Date.now(),y=_-s;y>=r?h(g,_):(a=g,u||(u=setTimeout(()=>{u=null,h(a)},r-y)))},()=>a&&h(a)]}const Cs=(e,i,s=3)=>{let r=0;const a=__(50,250);return m_(u=>{if(!u||typeof u.loaded!="number")return;const h=u.loaded,f=u.lengthComputable?u.total:void 0,d=Math.max(0,f!=null?Math.min(h,f):h),g=Math.max(0,d-r),_=a(g);r=Math.max(r,d);const y={loaded:d,total:f,progress:f?d/f:void 0,bytes:g,rate:_||void 0,estimated:_&&f?(f-d)/_:void 0,event:u,lengthComputable:f!=null,[i?"download":"upload"]:!0};e(y)},s)},rl=(e,i)=>{const s=e!=null;return[r=>i[0]({lengthComputable:s,total:e,loaded:r}),i[1]]},al=(e,i=w.asap)=>(...s)=>i(()=>e(...s)),g_=Gt.hasStandardBrowserEnv?((e,i)=>s=>(s=new URL(s,Gt.origin),e.protocol===s.protocol&&e.host===s.host&&(i||e.port===s.port)))(new URL(Gt.origin),Gt.navigator&&/(msie|trident)/i.test(Gt.navigator.userAgent)):()=>!0,v_=Gt.hasStandardBrowserEnv?{write(e,i,s,r,a,u,h){if(typeof document>"u")return;const f=[`${e}=${encodeURIComponent(i)}`];w.isNumber(s)&&f.push(`expires=${new Date(s).toUTCString()}`),w.isString(r)&&f.push(`path=${r}`),w.isString(a)&&f.push(`domain=${a}`),u===!0&&f.push("secure"),w.isString(h)&&f.push(`SameSite=${h}`),document.cookie=f.join("; ")},read(e){if(typeof document>"u")return null;const i=document.cookie.split(";");for(let s=0;s0&&e.charCodeAt(s-1)===47;)s--;return e.slice(0,s)+"/"+i.replace(/^\/+/,"")}const b_=/^https?:(?!\/\/)/i,x_=/[\t\n\r]/g;function P_(e){let i=0;for(;i`${s}${r}${Os}`)}function L_(e){const i=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Os}@`),s=i.indexOf("#"),a=(s===-1?i:i.slice(0,s)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Os}`);return s===-1?a:`${a}#${S_(i.slice(s+1))}`}function ll(e,i){if(typeof e=="string"){const s=T_(e);if(b_.test(s))throw new q(`Invalid URL ${JSON.stringify(L_(s))}: missing "//" after protocol`,q.ERR_INVALID_URL,i)}}function qu(e,i,s,r){ll(i,r);let a=!y_(i);return e&&(a||s===!1)?(ll(e,r),w_(e,i)):i}const ul=e=>e instanceof te?{...e}:e,E_=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(i=>Object.getOwnPropertyDescriptor(e,i).enumerable)):Object.keys(e);function On(e,i){e=e||{},i=i||{};const s=Object.create(null);Object.defineProperty(s,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(_,y,O,N){return w.isPlainObject(_)&&w.isPlainObject(y)?w.merge.call({caseless:N},_,y):w.isPlainObject(y)?w.merge({},y):w.isArray(y)?y.slice():y}function a(_,y,O,N){if(w.isUndefined(y)){if(!w.isUndefined(_))return r(void 0,_,O,N)}else return r(_,y,O,N)}function u(_,y){if(!w.isUndefined(y))return r(void 0,y)}function h(_,y){if(w.isUndefined(y)){if(!w.isUndefined(_))return r(void 0,_)}else return r(void 0,y)}function f(_){const y=w.hasOwnProp(i,"transitional")?i.transitional:void 0;if(!w.isUndefined(y))if(w.isPlainObject(y)){if(w.hasOwnProp(y,_))return y[_]}else return;const O=w.hasOwnProp(e,"transitional")?e.transitional:void 0;if(w.isPlainObject(O)&&w.hasOwnProp(O,_))return O[_]}function d(_,y,O){if(w.hasOwnProp(i,O))return r(_,y);if(w.hasOwnProp(e,O))return r(void 0,_)}const g={url:u,method:u,data:u,baseURL:h,transformRequest:h,transformResponse:h,paramsSerializer:h,timeout:h,timeoutMessage:h,withCredentials:h,withXSRFToken:h,adapter:h,responseType:h,xsrfCookieName:h,xsrfHeaderName:h,onUploadProgress:h,onDownloadProgress:h,decompress:h,maxContentLength:h,maxBodyLength:h,beforeRedirect:h,transport:h,httpAgent:h,httpsAgent:h,cancelToken:h,socketPath:h,allowedSocketPaths:h,responseEncoding:h,validateStatus:d,headers:(_,y,O)=>a(ul(_),ul(y),O,!0)};return w.forEach(E_({...e,...i}),function(y){if(y==="__proto__"||y==="constructor"||y==="prototype")return;const O=w.hasOwnProp(g,y)?g[y]:a,N=w.hasOwnProp(e,y)?e[y]:void 0,V=w.hasOwnProp(i,y)?i[y]:void 0,A=O(N,V,y);w.isUndefined(A)&&O!==d||(s[y]=A)}),w.hasOwnProp(i,"validateStatus")&&w.isUndefined(i.validateStatus)&&f("validateStatusUndefinedResolves")===!1&&(w.hasOwnProp(e,"validateStatus")?s.validateStatus=r(void 0,e.validateStatus):delete s.validateStatus),s}const O_=["content-type","content-length"];function C_(e,i,s){if(s!=="content-only"){e.set(i);return}Object.entries(i||{}).forEach(([r,a])=>{O_.includes(r.toLowerCase())&&e.set(r,a)})}const A_=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(i,s)=>String.fromCharCode(parseInt(s,16)));function $u(e){const i=On({},e),s=O=>w.hasOwnProp(i,O)?i[O]:void 0,r=s("data");let a=s("withXSRFToken");const u=s("xsrfHeaderName"),h=s("xsrfCookieName");let f=s("headers");const d=s("auth"),g=s("baseURL"),_=s("allowAbsoluteUrls"),y=s("url");if(i.headers=f=te.from(f),i.url=Hu(qu(g,y,_,i),s("params"),s("paramsSerializer")),d){const O=w.getSafeProp(d,"username")||"",N=w.getSafeProp(d,"password")||"";try{f.set("Authorization","Basic "+btoa(O+":"+(N?A_(N):"")))}catch(V){throw q.from(V,q.ERR_BAD_OPTION_VALUE,e)}}if(w.isFormData(r)&&(Gt.hasStandardBrowserEnv||Gt.hasStandardBrowserWebWorkerEnv||w.isReactNative(r)?f.setContentType(void 0):w.isFunction(r.getHeaders)&&C_(f,r.getHeaders(),s("formDataHeaderPolicy"))),Gt.hasStandardBrowserEnv&&(w.isFunction(a)&&(a=a(i)),a===!0||a==null&&g_(i.url))){const N=u&&h&&v_.read(h);N&&f.set(u,N)}return i}const R_=typeof XMLHttpRequest<"u",M_=R_&&function(e){return new Promise(function(s,r){const a=$u(e);let u=a.data;const h=te.from(a.headers).normalize();let{responseType:f,onUploadProgress:d,onDownloadProgress:g}=a,_,y,O,N,V;function A(){N&&N(),V&&V(),a.cancelToken&&a.cancelToken.unsubscribe(_),a.signal&&a.signal.removeEventListener("abort",_)}let U=new XMLHttpRequest;U.open(a.method.toUpperCase(),a.url,!0),U.timeout=a.timeout;function S(){if(!U)return;const B=te.from("getAllResponseHeaders"in U&&U.getAllResponseHeaders()),tt={data:!f||f==="text"||f==="json"?U.responseText:U.response,status:U.status,statusText:U.statusText,headers:B,config:e,request:U};Vu(function(At){s(At),A()},function(At){r(At),A()},tt),U=null}"onloadend"in U?U.onloadend=S:U.onreadystatechange=function(){!U||U.readyState!==4||U.status===0&&!(U.responseURL&&U.responseURL.startsWith("file:"))||setTimeout(S)},U.onabort=function(){U&&(r(new q("Request aborted",q.ECONNABORTED,e,U)),A(),U=null)},U.onerror=function(z){const tt=z&&z.message?z.message:"Network Error",st=new q(tt,q.ERR_NETWORK,e,U);st.event=z||null,r(st),A(),U=null},U.ontimeout=function(){let z=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const tt=a.transitional||yr;a.timeoutErrorMessage&&(z=a.timeoutErrorMessage),r(new q(z,tt.clarifyTimeoutError?q.ETIMEDOUT:q.ECONNABORTED,e,U)),A(),U=null},u===void 0&&h.setContentType(null),"setRequestHeader"in U&&w.forEach(Nu(h),function(z,tt){U.setRequestHeader(tt,z)}),w.isUndefined(a.withCredentials)||(U.withCredentials=!!a.withCredentials),f&&f!=="json"&&(U.responseType=a.responseType),g&&([O,V]=Cs(g,!0),U.addEventListener("progress",O)),d&&U.upload&&([y,N]=Cs(d),U.upload.addEventListener("progress",y),U.upload.addEventListener("loadend",N)),(a.cancelToken||a.signal)&&(_=B=>{U&&(r(!B||B.type?new Fi(null,e,U):B),U.abort(),A(),U=null)},a.cancelToken&&a.cancelToken.subscribe(_),a.signal&&(a.signal.aborted?_():a.signal.addEventListener("abort",_)));const k=p_(a.url);if(k&&!Gt.protocols.includes(k)){r(new q("Unsupported protocol "+k+":",q.ERR_BAD_REQUEST,e)),A();return}U.send(u||null)})},I_=(e,i)=>{if(e=e?e.filter(Boolean):[],!i&&!e.length)return;const s=new AbortController;let r=!1;const a=function(d){if(!r){r=!0,h();const g=d instanceof Error?d:this.reason;s.abort(g instanceof q?g:new Fi(g instanceof Error?g.message:g))}};let u=i&&setTimeout(()=>{u=null,a(new q(`timeout of ${i}ms exceeded`,q.ETIMEDOUT))},i);const h=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(a):d.removeEventListener("abort",a)}),e=null)};e.forEach(d=>{if(!r){if(d.aborted){a.call(d);return}d.addEventListener("abort",a,{once:!0})}});const{signal:f}=s;return f.unsubscribe=()=>w.asap(h),f},k_=function*(e,i){let s=e.byteLength;if(s{const a=B_(e,i);let u=0,h,f=d=>{h||(h=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:g,value:_}=await a.next();if(g){f(),d.close();return}let y=_.byteLength;if(s){let O=u+=y;s(O)}d.enqueue(new Uint8Array(_))}catch(g){throw f(g),g}},cancel(d){return f(d),a.return()}},{highWaterMark:2})},hl=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Ku=(e,i,s)=>i+2e<=57?e-48:(e&223)-55,z_=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,D_=e=>e===9||e===10||e===12||e===13||e===32,F_=e=>{const i=Math.floor(e/4),s=e%4;return i*3+(s===2?1:s===3?2:0)},Z_=e=>{const i=e.length;let s=0;return i>0&&e.charCodeAt(i-1)===61&&(s++,i>1&&e.charCodeAt(i-2)===61&&s++),Math.floor((i-s)*3/4)},H_=e=>{const i=e.length;let s=0,r=0,a=!1;for(let u=0;u0){a=!0;continue}s++}}return a||r>2||r>0&&(s+r)%4!==0||s%4===1?Z_(e):F_(s)},U_=(e,i)=>{if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const s=e.indexOf(",");if(s<0)return 0;const r=e.slice(5,s),a=e.slice(s+1);if(/;base64/i.test(r))return i(a);let h=0;for(let f=0,d=a.length;f=55296&&g<=56319&&f+1=56320&&_<=57343?(h+=4,f++):h+=3}else h+=3}return h};function j_(e){const i=typeof e=="string"?e.indexOf("#"):-1;return U_(i===-1?e:e.slice(0,i),H_)}const br="1.19.0",dl=64*1024,{isFunction:hs}=w,W_=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(i,s)=>String.fromCharCode(parseInt(s,16))),pl=e=>{if(!w.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},_l=(e,...i)=>{try{return!!e(...i)}catch{return!1}},V_=e=>{const i=e.indexOf("://");let s=e;return i!==-1&&(s=s.slice(i+3)),s.includes("@")||s.includes(":")},q_=e=>{const i=w.global!==void 0&&w.global!==null?w.global:globalThis,{ReadableStream:s,TextEncoder:r}=i;e=w.merge.call({skipUndefined:!0},{Request:i.Request,Response:i.Response},e);const{fetch:a,Request:u,Response:h}=e,f=a?hs(a):typeof fetch=="function",d=hs(u),g=hs(h);if(!f)return!1;const _=f&&hs(s),y=f&&(typeof r=="function"?(S=>k=>S.encode(k))(new r):async S=>new Uint8Array(await new u(S).arrayBuffer())),O=d&&_&&_l(()=>{let S=!1;const k=new u(Gt.origin,{body:new s,method:"POST",get duplex(){return S=!0,"half"}}),B=k.headers.has("Content-Type");return k.body!=null&&k.body.cancel(),S&&!B}),N=g&&_&&_l(()=>w.isReadableStream(new h("").body)),V={stream:N&&(S=>S.body)};f&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!V[S]&&(V[S]=(k,B)=>{let z=k&&k[S];if(z)return z.call(k);throw new q(`Response type '${S}' is not supported`,q.ERR_NOT_SUPPORT,B)})});const A=async S=>{if(S==null)return 0;if(w.isBlob(S))return S.size;if(w.isSpecCompliantForm(S))return(await new u(Gt.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(w.isArrayBufferView(S)||w.isArrayBuffer(S))return S.byteLength;if(w.isURLSearchParams(S)&&(S=S+""),w.isString(S))return(await y(S)).byteLength},U=async(S,k)=>{const B=w.toFiniteNumber(S.getContentLength());return B??A(k)};return async S=>{let{url:k,method:B,data:z,signal:tt,cancelToken:st,timeout:At,onDownloadProgress:Wt,onUploadProgress:ne,responseType:Rt,headers:vt,withCredentials:Ct="same-origin",fetchOptions:xe,maxContentLength:wt,maxBodyLength:Pe}=$u(S);const ct=w.isNumber(wt)&&wt>-1,ft=w.isNumber(Pe)&&Pe>-1,$=J=>w.hasOwnProp(S,J)?S[J]:void 0;let ie=a||fetch;Rt=Rt?(Rt+"").toLowerCase():"text";let j=I_([tt,st&&st.toAbortSignal()],At),D=null;const W=j&&j.unsubscribe&&(()=>{j.unsubscribe()});let mt,lt=null;const pt=()=>new q("Request body larger than maxBodyLength limit",q.ERR_BAD_REQUEST,S,D);try{let J;const St=$("auth");if(St){const P=w.getSafeProp(St,"username")||"",C=w.getSafeProp(St,"password")||"";J={username:P,password:C}}if(V_(k)){const P=new URL(k,Gt.origin);if(!J&&(P.username||P.password)){const C=pl(P.username),Z=pl(P.password);J={username:C,password:Z}}(P.username||P.password)&&(P.username="",P.password="",k=P.href)}if(J&&(vt.delete("authorization"),vt.set("Authorization","Basic "+btoa(W_((J.username||"")+":"+(J.password||""))))),ct&&typeof k=="string"&&k.startsWith("data:")&&j_(k)>wt)throw new q("maxContentLength size of "+wt+" exceeded",q.ERR_BAD_RESPONSE,S,D);if(ft&&B!=="get"&&B!=="head"){const P=await A(z);if(typeof P=="number"&&isFinite(P)&&(mt=P,P>Pe))throw pt()}const Vt=ft&&(w.isReadableStream(z)||w.isStream(z)),nn=(P,C,Z)=>cl(P,dl,F=>{if(ft&&F>Pe)throw lt=pt();C&&C(F)},Z);if(O&&B!=="get"&&B!=="head"&&(ne||Vt)){if(mt=mt??await U(vt,z),mt!==0||Vt){let P=new u(k,{method:"POST",body:z,duplex:"half"}),C;if(w.isFormData(z)&&(C=P.headers.get("content-type"))&&vt.setContentType(C),P.body){const[Z,F]=ne&&rl(mt,Cs(al(ne)))||[];z=nn(P.body,Z,F)}}}else if(Vt&&!d&&_&&B!=="get"&&B!=="head")z=nn(z);else if(Vt&&d&&!O&&B!=="get"&&B!=="head")throw new q("Stream request bodies are not supported by the current fetch implementation",q.ERR_NOT_SUPPORT,S,D);w.isString(Ct)||(Ct=Ct?"include":"omit");const Te=d&&"credentials"in u.prototype;if(w.isFormData(z)){const P=vt.getContentType();P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P)&&vt.delete("content-type")}vt.set("User-Agent","axios/"+br,!1);const hn={...xe,signal:j,method:B.toUpperCase(),headers:Nu(vt.normalize()),body:z,duplex:"half",credentials:Te?Ct:void 0};D=d&&new u(k,hn);let m=await(d?ie(D,xe):ie(k,hn));const b=te.from(m.headers);if(ct){const P=w.toFiniteNumber(b.getContentLength());if(P!=null&&P>wt)throw new q("maxContentLength size of "+wt+" exceeded",q.ERR_BAD_RESPONSE,S,D)}const E=N&&(Rt==="stream"||Rt==="response");if(N&&m.body&&(Wt||ct||E&&W)){const P={};["status","statusText","headers"].forEach(X=>{P[X]=m[X]});const C=w.toFiniteNumber(b.getContentLength()),[Z,F]=Wt&&rl(C,Cs(al(Wt),!0))||[];let H=0;const M=X=>{if(ct&&(H=X,H>wt))throw new q("maxContentLength size of "+wt+" exceeded",q.ERR_BAD_RESPONSE,S,D);Z&&Z(X)};m=new h(cl(m.body,dl,M,()=>{F&&F(),W&&W()}),P)}Rt=Rt||"text";let R=await V[w.findKey(V,Rt)||"text"](m,S);if(ct&&!N&&!E){let P;if(R!=null&&(typeof R.byteLength=="number"?P=R.byteLength:typeof R.size=="number"?P=R.size:typeof R=="string"&&(P=typeof r=="function"?new r().encode(R).byteLength:R.length)),typeof P=="number"&&P>wt)throw new q("maxContentLength size of "+wt+" exceeded",q.ERR_BAD_RESPONSE,S,D)}return!E&&W&&W(),await new Promise((P,C)=>{Vu(P,C,{data:R,headers:te.from(m.headers),status:m.status,statusText:m.statusText,config:S,request:D})})}catch(J){if(W&&W(),j&&j.aborted&&j.reason instanceof q){const St=j.reason;throw St.config=S,D&&(St.request=D),J!==St&&Object.defineProperty(St,"cause",{__proto__:null,value:J,writable:!0,enumerable:!1,configurable:!0}),St}if(lt)throw D&&!lt.request&&(lt.request=D),lt;if(J instanceof q)throw D&&!J.request&&(J.request=D),J;if(J&&J.name==="TypeError"&&/Load failed|fetch/i.test(J.message)){const St=new q("Network Error",q.ERR_NETWORK,S,D,J&&J.response);throw Object.defineProperty(St,"cause",{__proto__:null,value:J.cause||J,writable:!0,enumerable:!1,configurable:!0}),St}throw q.from(J,J&&J.code,S,D,J&&J.response)}}},$_=new Map,Gu=e=>{let i=e&&e.env||{};const{fetch:s,Request:r,Response:a}=i,u=[r,a,s];let h=u.length,f=h,d,g,_=$_;for(;f--;)d=u[f],g=_.get(d),g===void 0&&_.set(d,g=f?new Map:q_(i)),_=g;return g};Gu();const xr={http:Yp,xhr:M_,fetch:{get:Gu}};w.forEach(xr,(e,i)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:i})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:i})}});const ml=e=>`- ${e}`,K_=e=>w.isFunction(e)||e===null||e===!1;function G_(e,i){e=w.isArray(e)?e:[e];const{length:s}=e;let r,a;const u={};for(let h=0;h`adapter ${d} `+(g===!1?"is not supported by the environment":"is not available in the build"));let f=s?h.length>1?`since : -`+h.map(ml).join(` -`):" "+ml(h[0]):"as no adapter specified";throw new q("There is no suitable adapter to dispatch the request "+f,q.ERR_NOT_SUPPORT)}return a}const Ju={getAdapter:G_,adapters:xr};function No(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Fi(null,e)}function zo(e){return No(e),e.headers=te.from(e.headers),e.data=Bo.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ju.getAdapter(e.adapter||Di.adapter,e)(e).then(function(r){No(e),e.response=r;try{r.data=Bo.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=te.from(r.headers),r},function(r){if(!Wu(r)&&(No(e),r&&r.response)){e.response=r.response;try{r.response.data=Bo.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=te.from(r.response.headers)}return Promise.reject(r)})}const Ws={};["object","boolean","number","function","string","symbol"].forEach((e,i)=>{Ws[e]=function(r){return typeof r===e||"a"+(i<1?"n ":" ")+e}});const gl={};Ws.transitional=function(i,s,r){function a(u,h){return"[Axios v"+br+"] Transitional option '"+u+"'"+h+(r?". "+r:"")}return(u,h,f)=>{if(i===!1)throw new q(a(h," has been removed"+(s?" in "+s:"")),q.ERR_DEPRECATED);return s&&!gl[h]&&(gl[h]=!0,console.warn(a(h," has been deprecated since v"+s+" and will be removed in the near future"))),i?i(u,h,f):!0}};Ws.spelling=function(i){return(s,r)=>(console.warn(`${r} is likely a misspelling of ${i}`),!0)};function J_(e,i,s){if(typeof e!="object"||e===null)throw new q("options must be an object",q.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const u=r[a],h=Object.prototype.hasOwnProperty.call(i,u)?i[u]:void 0;if(h){const f=e[u],d=f===void 0||h(f,u,e);if(d!==!0)throw new q("option "+u+" must be "+d,q.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new q("Unknown option "+u,q.ERR_BAD_OPTION)}}const gs={assertOptions:J_,validators:Ws},Xt=gs.validators;let Sn=class{constructor(i){this.defaults=i||{},this.interceptors={request:new sl,response:new sl}}async request(i,s){try{return await this._request(i,s)}catch(r){if(r instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const u=(()=>{if(!a.stack)return"";const h=a.stack.indexOf(` -`);return h===-1?"":a.stack.slice(h+1)})();try{if(!r.stack)r.stack=u;else if(u){const h=u.indexOf(` -`),f=h===-1?-1:u.indexOf(` -`,h+1),d=f===-1?"":u.slice(f+1);String(r.stack).endsWith(d)||(r.stack+=` -`+u)}}catch{}}throw r}}_request(i,s){typeof i=="string"?(s=s||{},s.url=i):s=i||{},s=On(this.defaults,s);const{transitional:r,paramsSerializer:a,headers:u}=s;r!==void 0&&gs.assertOptions(r,{silentJSONParsing:Xt.transitional(Xt.boolean),forcedJSONParsing:Xt.transitional(Xt.boolean),clarifyTimeoutError:Xt.transitional(Xt.boolean),legacyInterceptorReqResOrdering:Xt.transitional(Xt.boolean),advertiseZstdAcceptEncoding:Xt.transitional(Xt.boolean),validateStatusUndefinedResolves:Xt.transitional(Xt.boolean)},!1),a!=null&&(w.isFunction(a)?s.paramsSerializer={serialize:a}:gs.assertOptions(a,{encode:Xt.function,serialize:Xt.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),gs.assertOptions(s,{baseUrl:Xt.spelling("baseURL"),withXsrfToken:Xt.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let h=u&&w.merge(u.common,u[s.method]);u&&w.forEach(["delete","get","head","post","put","patch","query","common"],V=>{delete u[V]}),s.headers=te.concat(h,u);const f=[];let d=!0;this.interceptors.request.forEach(function(A){if(typeof A.runWhen=="function"&&A.runWhen(s)===!1)return;d=d&&A.synchronous;const U=s.transitional||yr;U&&U.legacyInterceptorReqResOrdering?f.unshift(A.fulfilled,A.rejected):f.push(A.fulfilled,A.rejected)});const g=[];this.interceptors.response.forEach(function(A){g.push(A.fulfilled,A.rejected)});let _,y=0,O;if(!d){const V=[zo.bind(this),void 0];for(V.unshift(...f),V.push(...g),O=V.length,_=Promise.resolve(s);yzo.call(this,N)))}catch(S){_=Promise.reject(S)}break}}if(!_)try{_=zo.call(this,N)}catch(V){_=Promise.reject(V)}for(y=0,O=g.length;y{if(!r._listeners)return;let u=r._listeners.length;for(;u-- >0;)r._listeners[u](a);r._listeners=null}),this.promise.then=a=>{let u;const h=new Promise(f=>{r.subscribe(f),u=f}).then(a);return h.cancel=function(){r.unsubscribe(u)},h},i(function(u,h,f){r.reason||(r.reason=new Fi(u,h,f),s(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]}unsubscribe(i){if(!this._listeners)return;const s=this._listeners.indexOf(i);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const i=new AbortController,s=r=>{i.abort(r)};return this.subscribe(s),i.signal.unsubscribe=()=>this.unsubscribe(s),i.signal}static source(){let i;return{token:new Xu(function(a){i=a}),cancel:i}}};function Y_(e){return function(s){return e.apply(null,s)}}function Q_(e){return w.isObject(e)&&e.isAxiosError===!0}const Yo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Yo).forEach(([e,i])=>{Yo[i]=e});function Yu(e){const i=new Sn(e),s=Eu(Sn.prototype.request,i);return w.extend(s,Sn.prototype,i,{allOwnKeys:!0}),w.extend(s,i,null,{allOwnKeys:!0}),s.create=function(a){return Yu(On(e,a))},s}const Nt=Yu(Di);Nt.Axios=Sn;Nt.CanceledError=Fi;Nt.CancelToken=X_;Nt.isCancel=Wu;Nt.VERSION=br;Nt.toFormData=js;Nt.AxiosError=q;Nt.Cancel=Nt.CanceledError;Nt.all=function(i){return Promise.all(i)};Nt.spread=Y_;Nt.isAxiosError=Q_;Nt.mergeConfig=On;Nt.AxiosHeaders=te;Nt.formToJSON=e=>ju(w.isHTMLForm(e)?new FormData(e):e);Nt.getAdapter=Ju.getAdapter;Nt.HttpStatusCode=Yo;Nt.default=Nt;const{Axios:jm,AxiosError:Wm,CanceledError:Vm,isCancel:qm,CancelToken:$m,VERSION:Km,all:Gm,Cancel:Jm,isAxiosError:Xm,spread:Ym,toFormData:Qm,AxiosHeaders:tg,HttpStatusCode:eg,formToJSON:ng,getAdapter:ig,mergeConfig:sg,create:og}=Nt,Qu=Nt.create({baseURL:"",timeout:3e4});async function tm(e,i="",s=1,r=0,a=0,u=3e3){const h={keywords:e,page:s};return i&&(h.city=i),r&&(h.longitude=r),a&&(h.latitude=a),u&&(h.radius=u),(await Qu.get("/poi/search",{params:h})).data.data}async function em(e,i=""){const s={keywords:e};return i&&(s.city=i),(await Qu.get("/poi/suggest",{params:s})).data.data}function nm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vi={exports:{}};/* @preserve - * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com - * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade - */var im=vi.exports,vl;function sm(){return vl||(vl=1,(function(e,i){(function(s,r){r(i)})(im,(function(s){var r="1.9.4";function a(t){var n,o,l,c;for(o=1,l=arguments.length;o"u"||!L||!L.Mixin)){t=B(t)?t:[t];for(var n=0;n0?Math.floor(t):Math.ceil(t)};$.prototype={clone:function(){return new $(this.x,this.y)},add:function(t){return this.clone()._add(j(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(j(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 $(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new $(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=ie(this.x),this.y=ie(this.y),this},distanceTo:function(t){t=j(t);var n=t.x-this.x,o=t.y-this.y;return Math.sqrt(n*n+o*o)},equals:function(t){return t=j(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=j(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+O(this.x)+", "+O(this.y)+")"}};function j(t,n,o){return t instanceof $?t:B(t)?new $(t[0],t[1]):t==null?t:typeof t=="object"&&"x"in t&&"y"in t?new $(t.x,t.y):new $(t,n,o)}function D(t,n){if(t)for(var o=n?[t,n]:t,l=0,c=o.length;l=this.min.x&&o.x<=this.max.x&&n.y>=this.min.y&&o.y<=this.max.y},intersects:function(t){t=W(t);var n=this.min,o=this.max,l=t.min,c=t.max,p=c.x>=n.x&&l.x<=o.x,v=c.y>=n.y&&l.y<=o.y;return p&&v},overlaps:function(t){t=W(t);var n=this.min,o=this.max,l=t.min,c=t.max,p=c.x>n.x&&l.xn.y&&l.y=n.lat&&c.lat<=o.lat&&l.lng>=n.lng&&c.lng<=o.lng},intersects:function(t){t=lt(t);var n=this._southWest,o=this._northEast,l=t.getSouthWest(),c=t.getNorthEast(),p=c.lat>=n.lat&&l.lat<=o.lat,v=c.lng>=n.lng&&l.lng<=o.lng;return p&&v},overlaps:function(t){t=lt(t);var n=this._southWest,o=this._northEast,l=t.getSouthWest(),c=t.getNorthEast(),p=c.lat>n.lat&&l.latn.lng&&l.lng1,oc=(function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",y,n),window.removeEventListener("testPassiveEventSupport",y,n)}catch{}return t})(),rc=(function(){return!!document.createElement("canvas").getContext})(),Vs=!!(document.createElementNS&&R("svg").createSVGRect),ac=!!Vs&&(function(){var t=document.createElement("div");return t.innerHTML="",(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"})(),lc=!Vs&&(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}})(),uc=navigator.platform.indexOf("Mac")===0,cc=navigator.platform.indexOf("Linux")===0;function Re(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Y={ie:Z,ielt9:F,edge:H,webkit:M,android:X,android23:K,androidStock:nt,opera:ht,chrome:bt,gecko:yt,safari:It,phantom:zt,opera12:fe,win:pe,ie3d:sn,webkit3d:Cn,gecko3d:Jt,any3d:_e,mobile:on,mobileWebkit:Zi,mobileWebkit3d:tc,msPointer:Pr,pointer:Tr,touch:ec,touchNative:Sr,mobileOpera:nc,mobileGecko:ic,retina:sc,passiveEvents:oc,canvas:rc,svg:Vs,vml:lc,inlineSvg:ac,mac:uc,linux:cc},Lr=Y.msPointer?"MSPointerDown":"pointerdown",Er=Y.msPointer?"MSPointerMove":"pointermove",Or=Y.msPointer?"MSPointerUp":"pointerup",Cr=Y.msPointer?"MSPointerCancel":"pointercancel",qs={touchstart:Lr,touchmove:Er,touchend:Or,touchcancel:Cr},Ar={touchstart:mc,touchmove:Hi,touchend:Hi,touchcancel:Hi},An={},Rr=!1;function hc(t,n,o){return n==="touchstart"&&_c(),Ar[n]?(o=Ar[n].bind(this,o),t.addEventListener(qs[n],o,!1),o):(console.warn("wrong event specified:",n),y)}function fc(t,n,o){if(!qs[n]){console.warn("wrong event specified:",n);return}t.removeEventListener(qs[n],o,!1)}function dc(t){An[t.pointerId]=t}function pc(t){An[t.pointerId]&&(An[t.pointerId]=t)}function Mr(t){delete An[t.pointerId]}function _c(){Rr||(document.addEventListener(Lr,dc,!0),document.addEventListener(Er,pc,!0),document.addEventListener(Or,Mr,!0),document.addEventListener(Cr,Mr,!0),Rr=!0)}function Hi(t,n){if(n.pointerType!==(n.MSPOINTER_TYPE_MOUSE||"mouse")){n.touches=[];for(var o in An)n.touches.push(An[o]);n.changedTouches=[n],t(n)}}function mc(t,n){n.MSPOINTER_TYPE_TOUCH&&n.pointerType===n.MSPOINTER_TYPE_TOUCH&&qt(n),Hi(t,n)}function gc(t){var n={},o,l;for(l in t)o=t[l],n[l]=o&&o.bind?o.bind(t):o;return t=n,n.type="dblclick",n.detail=2,n.isTrusted=!1,n._simulated=!0,n}var vc=200;function yc(t,n){t.addEventListener("dblclick",n);var o=0,l;function c(p){if(p.detail!==1){l=p.detail;return}if(!(p.pointerType==="mouse"||p.sourceCapabilities&&!p.sourceCapabilities.firesTouchEvents)){var v=zr(p);if(!(v.some(function(T){return T instanceof HTMLLabelElement&&T.attributes.for})&&!v.some(function(T){return T instanceof HTMLInputElement||T instanceof HTMLSelectElement}))){var x=Date.now();x-o<=vc?(l++,l===2&&n(gc(p))):l=1,o=x}}}return t.addEventListener("click",c),{dblclick:n,simDblclick:c}}function wc(t,n){t.removeEventListener("dblclick",n.dblclick),t.removeEventListener("click",n.simDblclick)}var $s=Wi(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ti=Wi(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Ir=ti==="webkitTransition"||ti==="OTransition"?ti+"End":"transitionend";function kr(t){return typeof t=="string"?document.getElementById(t):t}function ei(t,n){var o=t.style[n]||t.currentStyle&&t.currentStyle[n];if((!o||o==="auto")&&document.defaultView){var l=document.defaultView.getComputedStyle(t,null);o=l?l[n]:null}return o==="auto"?null:o}function gt(t,n,o){var l=document.createElement(t);return l.className=n||"",o&&o.appendChild(l),l}function Mt(t){var n=t.parentNode;n&&n.removeChild(t)}function Ui(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function Rn(t){var n=t.parentNode;n&&n.lastChild!==t&&n.appendChild(t)}function Mn(t){var n=t.parentNode;n&&n.firstChild!==t&&n.insertBefore(t,n.firstChild)}function Ks(t,n){if(t.classList!==void 0)return t.classList.contains(n);var o=ji(t);return o.length>0&&new RegExp("(^|\\s)"+n+"(\\s|$)").test(o)}function at(t,n){if(t.classList!==void 0)for(var o=V(n),l=0,c=o.length;l0?2*window.devicePixelRatio:1;function Fr(t){return Y.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/Pc: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 ro(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 Tc={__proto__:null,on:ot,off:Et,stopPropagation:pn,disableScrollPropagation:oo,disableClickPropagation:oi,preventDefault:qt,stop:_n,getPropagationPath:zr,getMousePosition:Dr,getWheelDelta:Fr,isExternalTarget:ro,addListener:ot,removeListener:Et},Zr=ft.extend({run:function(t,n,o,l){this.stop(),this._el=t,this._inProgress=!0,this._duration=o||.25,this._easeOutPower=1/Math.max(l||.5,.2),this._startPos=dn(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=vt(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(),l=this._limitCenter(o,this._zoom,lt(t));return o.equals(l)||this.panTo(l,n),this._enforcingBounds=!1,this},panInside:function(t,n){n=n||{};var o=j(n.paddingTopLeft||n.padding||[0,0]),l=j(n.paddingBottomRight||n.padding||[0,0]),c=this.project(this.getCenter()),p=this.project(t),v=this.getPixelBounds(),x=W([v.min.add(o),v.max.subtract(l)]),T=x.getSize();if(!x.contains(p)){this._enforcingBounds=!0;var I=p.subtract(x.getCenter()),G=x.extend(p).getSize().subtract(T);c.x+=I.x<0?-G.x:G.x,c.y+=I.y<0?-G.y:G.y,this.panTo(this.unproject(c),n),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=a({animate:!1,pan:!0},t===!0?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var o=this.getSize(),l=n.divideBy(2).round(),c=o.divideBy(2).round(),p=l.subtract(c);return!p.x&&!p.y?this:(t.animate&&t.pan?this.panBy(p):(t.pan&&this._rawPanBy(p),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=a({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,l=new pt(n,o),c=l.toBounds(t.coords.accuracy*2),p=this._locateOptions;if(p.setView){var v=this.getBoundsZoom(c);this.setView(l,p.maxZoom?Math.min(v,p.maxZoom):v)}var x={latlng:l,bounds:c,timestamp:t.timestamp};for(var T in t.coords)typeof t.coords[T]=="number"&&(x[T]=t.coords[T]);this.fire("locationfound",x)}},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(),Mt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Ct(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)Mt(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":""),l=gt("div",o,n||this._mapPane);return t&&(this._panes[t]=l),l},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 mt(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=lt(t),o=j(o||[0,0]);var l=this.getZoom()||0,c=this.getMinZoom(),p=this.getMaxZoom(),v=t.getNorthWest(),x=t.getSouthEast(),T=this.getSize().subtract(o),I=W(this.project(x,l),this.project(v,l)).getSize(),G=Y.any3d?this.options.zoomSnap:1,et=T.x/I.x,ut=T.y/I.y,se=n?Math.max(et,ut):Math.min(et,ut);return l=this.getScaleZoom(se,l),G&&(l=Math.round(l/(G/100))*(G/100),l=n?Math.ceil(l/G)*G:Math.floor(l/G)*G),Math.max(c,Math.min(p,l))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new $(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 D(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 l=o.zoom(t*o.scale(n));return isNaN(l)?1/0:l},project:function(t,n){return n=n===void 0?this._zoom:n,this.options.crs.latLngToPoint(J(t),n)},unproject:function(t,n){return n=n===void 0?this._zoom:n,this.options.crs.pointToLatLng(j(t),n)},layerPointToLatLng:function(t){var n=j(t).add(this.getPixelOrigin());return this.unproject(n)},latLngToLayerPoint:function(t){var n=this.project(J(t))._round();return n._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(J(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(lt(t))},distance:function(t,n){return this.options.crs.distance(J(t),J(n))},containerPointToLayerPoint:function(t){return j(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return j(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var n=this.containerPointToLayerPoint(j(t));return this.layerPointToLatLng(n)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(J(t)))},mouseEventToContainerPoint:function(t){return Dr(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=kr(t);if(n){if(n._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");ot(n,"scroll",this._onScroll,this),this._containerId=d(n)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&Y.any3d,at(t,"leaflet-container"+(Y.touch?" leaflet-touch":"")+(Y.retina?" leaflet-retina":"")+(Y.ielt9?" leaflet-oldie":"")+(Y.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var n=ei(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),Dt(this._mapPane,new $(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(at(t.markerPane,"leaflet-zoom-hide"),at(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,n,o){Dt(this._mapPane,new $(0,0));var l=!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"),l&&this.fire("load")},_moveStart:function(t,n){return t&&this.fire("zoomstart"),n||this.fire("movestart"),this},_move:function(t,n,o,l){n===void 0&&(n=this._zoom);var c=this._zoom!==n;return this._zoom=n,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),l?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 Ct(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){Dt(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?Et:ot;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),Y.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Ct(this._resizeRequest),this._resizeRequest=vt(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=[],l,c=n==="mouseout"||n==="mouseover",p=t.target||t.srcElement,v=!1;p;){if(l=this._targets[d(p)],l&&(n==="click"||n==="preclick")&&this._draggableMoved(l)){v=!0;break}if(l&&l.listens(n,!0)&&(c&&!ro(p,t)||(o.push(l),c))||p===this._container)break;p=p.parentNode}return!o.length&&!v&&!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"&&to(n),this._fireDOMEvent(t,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,o){if(t.type==="click"){var l=a({},t);l.type="preclick",this._fireDOMEvent(l,l.type,o)}var c=this._findEventTargets(t,n);if(o){for(var p=[],v=0;v0?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(),l=Y.any3d?this.options.zoomSnap:1;return l&&(t=Math.round(t/l)*l),Math.max(n,Math.min(o,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Bt(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=gt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(n){var o=$s,l=this._proxy.style[o];fn(this._proxy,this.project(n.center,n.zoom),this.getZoomScale(n.zoom,1)),l===this._proxy.style[o]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Mt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),n=this.getZoom();fn(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 l=this.getZoomScale(n),c=this._getCenterOffset(t)._divideBy(1-1/l);return o.animate!==!0&&!this.getSize().contains(c)?!1:(vt(function(){this._moveStart(!0,o.noMoveStart||!1)._animateZoom(t,n,!0)},this),!0)},_animateZoom:function(t,n,o,l){this._mapPane&&(o&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=n,at(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:n,noUpdate:l}),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&&Bt(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 Sc(t,n){return new dt(t,n)}var Se=wt.extend({options:{position:"topright"},initialize:function(t){A(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(),l=t._controlCorners[o];return at(n,"leaflet-control"),o.indexOf("bottom")!==-1?l.insertBefore(n,l.firstChild):l.appendChild(n),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Mt(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()}}),ri=function(t){return new Se(t)};dt.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=gt("div",n+"control-container",this._container);function l(c,p){var v=n+c+" "+n+p;t[c+p]=gt("div",v,o)}l("top","left"),l("top","right"),l("bottom","left"),l("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)Mt(this._controlCorners[t]);Mt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Hr=Se.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,n,o,l){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='",l=document.createElement("div");return l.innerHTML=o,l.firstChild},_addItem:function(t){var n=document.createElement("label"),o=this._map.hasLayer(t.layer),l;t.overlay?(l=document.createElement("input"),l.type="checkbox",l.className="leaflet-control-layers-selector",l.defaultChecked=o):l=this._createRadioElement("leaflet-base-layers_"+d(this),o),this._layerControlInputs.push(l),l.layerId=d(t.layer),ot(l,"click",this._onInputClick,this);var c=document.createElement("span");c.innerHTML=" "+t.name;var p=document.createElement("span");n.appendChild(p),p.appendChild(l),p.appendChild(c);var v=t.overlay?this._overlaysList:this._baseLayersList;return v.appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){if(!this._preventClick){var t=this._layerControlInputs,n,o,l=[],c=[];this._handlingClick=!0;for(var p=t.length-1;p>=0;p--)n=t[p],o=this._getLayer(n.layerId).layer,n.checked?l.push(o):n.checked||c.push(o);for(p=0;p=0;c--)n=t[c],o=this._getLayer(n.layerId).layer,n.disabled=o.options.minZoom!==void 0&&lo.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;this._preventClick=!0,ot(t,"click",qt),this.expand();var n=this;setTimeout(function(){Et(t,"click",qt),n._preventClick=!1})}}),Lc=function(t,n,o){return new Hr(t,n,o)},ao=Se.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var n="leaflet-control-zoom",o=gt("div",n+" leaflet-bar"),l=this.options;return this._zoomInButton=this._createButton(l.zoomInText,l.zoomInTitle,n+"-in",o,this._zoomIn),this._zoomOutButton=this._createButton(l.zoomOutText,l.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,l,c){var p=gt("a",o,l);return p.innerHTML=t,p.href="#",p.title=n,p.setAttribute("role","button"),p.setAttribute("aria-label",n),oi(p),ot(p,"click",_n),ot(p,"click",c,this),ot(p,"click",this._refocusOnMap,this),p},_updateDisabled:function(){var t=this._map,n="leaflet-disabled";Bt(this._zoomInButton,n),Bt(this._zoomOutButton,n),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(at(this._zoomOutButton,n),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(at(this._zoomInButton,n),this._zoomInButton.setAttribute("aria-disabled","true"))}});dt.mergeOptions({zoomControl:!0}),dt.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ao,this.addControl(this.zoomControl))});var Ec=function(t){return new ao(t)},Ur=Se.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var n="leaflet-control-scale",o=gt("div",n),l=this.options;return this._addScales(l,n+"-line",o),t.on(l.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=gt("div",n,o)),t.imperial&&(this._iScale=gt("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,l,c;n>5280?(o=n/5280,l=this._getRoundNum(o),this._updateScale(this._iScale,l+" mi",l/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}}),Oc=function(t){return new Ur(t)},Cc='',lo=Se.extend({options:{position:"bottomright",prefix:''+(Y.inlineSvg?Cc+" ":"")+"Leaflet"},initialize:function(t){A(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=gt("div","leaflet-control-attribution"),oi(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(' ')}}});dt.mergeOptions({attributionControl:!0}),dt.addInitHook(function(){this.options.attributionControl&&new lo().addTo(this)});var Ac=function(t){return new lo(t)};Se.Layers=Hr,Se.Zoom=ao,Se.Scale=Ur,Se.Attribution=lo,ri.layers=Lc,ri.zoom=Ec,ri.scale=Oc,ri.attribution=Ac;var Ie=wt.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}});Ie.addTo=function(t,n){return t.addHandler(n,this),this};var Rc={Events:ct},jr=Y.touch?"touchstart mousedown":"mousedown",rn=ft.extend({options:{clickTolerance:3},initialize:function(t,n,o,l){A(this,l),this._element=t,this._dragStartTarget=n||t,this._preventOutline=o},enable:function(){this._enabled||(ot(this._dragStartTarget,jr,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(rn._dragging===this&&this.finishDrag(!0),Et(this._dragStartTarget,jr,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!Ks(this._element,"leaflet-zoom-anim"))){if(t.touches&&t.touches.length!==1){rn._dragging===this&&this.finishDrag();return}if(!(rn._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches)&&(rn._dragging=this,this._preventOutline&&to(this._element),Xs(),ni(),!this._moving)){this.fire("down");var n=t.touches?t.touches[0]:t,o=Br(this._element);this._startPoint=new $(n.clientX,n.clientY),this._startPos=dn(this._element),this._parentScale=eo(o);var l=t.type==="mousedown";ot(document,l?"mousemove":"touchmove",this._onMove,this),ot(document,l?"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 $(n.clientX,n.clientY)._subtract(this._startPoint);!o.x&&!o.y||Math.abs(o.x)+Math.abs(o.y)p&&(v=x,p=T);p>o&&(n[v]=1,co(t,n,o,l,v),co(t,n,o,v,c))}function Bc(t,n){for(var o=[t[0]],l=1,c=0,p=t.length;ln&&(o.push(t[l]),c=l);return cn.max.x&&(o|=2),t.yn.max.y&&(o|=8),o}function Nc(t,n){var o=n.x-t.x,l=n.y-t.y;return o*o+l*l}function ai(t,n,o,l){var c=n.x,p=n.y,v=o.x-c,x=o.y-p,T=v*v+x*x,I;return T>0&&(I=((t.x-c)*v+(t.y-p)*x)/T,I>1?(c=o.x,p=o.y):I>0&&(c+=v*I,p+=x*I)),v=t.x-c,x=t.y-p,l?v*v+x*x:new $(c,p)}function ge(t){return!B(t[0])||typeof t[0][0]!="object"&&typeof t[0][0]<"u"}function Jr(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),ge(t)}function Xr(t,n){var o,l,c,p,v,x,T,I;if(!t||t.length===0)throw new Error("latlngs not passed");ge(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var G=J([0,0]),et=lt(t),ut=et.getNorthWest().distanceTo(et.getSouthWest())*et.getNorthEast().distanceTo(et.getNorthWest());ut<1700&&(G=uo(t));var se=t.length,Ht=[];for(o=0;ol){T=(p-l)/c,I=[x.x-T*(x.x-v.x),x.y-T*(x.y-v.y)];break}var ue=n.unproject(j(I));return J([ue.lat+G.lat,ue.lng+G.lng])}var zc={__proto__:null,simplify:qr,pointToSegmentDistance:$r,closestPointOnSegment:Ic,clipSegment:Gr,_getEdgeIntersection:$i,_getBitCode:mn,_sqClosestPointOnSegment:ai,isFlat:ge,_flat:Jr,polylineCenter:Xr},ho={project:function(t){return new $(t.lng,t.lat)},unproject:function(t){return new pt(t.y,t.x)},bounds:new D([-180,-90],[180,90])},fo={R:6378137,R_MINOR:6356752314245179e-9,bounds:new D([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(t){var n=Math.PI/180,o=this.R,l=t.lat*n,c=this.R_MINOR/o,p=Math.sqrt(1-c*c),v=p*Math.sin(l),x=Math.tan(Math.PI/4-l/2)/Math.pow((1-v)/(1+v),p/2);return l=-o*Math.log(Math.max(x,1e-10)),new $(t.lng*n*o,l)},unproject:function(t){for(var n=180/Math.PI,o=this.R,l=this.R_MINOR/o,c=Math.sqrt(1-l*l),p=Math.exp(-t.y/o),v=Math.PI/2-2*Math.atan(p),x=0,T=.1,I;x<15&&Math.abs(T)>1e-7;x++)I=c*Math.sin(v),I=Math.pow((1-I)/(1+I),c/2),T=Math.PI/2-2*Math.atan(p*I)-v,v+=T;return new pt(v*n,t.x*n/o)}},Dc={__proto__:null,LonLat:ho,Mercator:fo,SphericalMercator:Te},Fc=a({},Vt,{code:"EPSG:3395",projection:fo,transformation:(function(){var t=.5/(Math.PI*fo.R);return m(t,.5,-t,.5)})()}),Yr=a({},Vt,{code:"EPSG:4326",projection:ho,transformation:m(1/180,1,-1/180,.5)}),Zc=a({},St,{projection:ho,transformation:m(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,l=n.lat-t.lat;return Math.sqrt(o*o+l*l)},infinite:!0});St.Earth=Vt,St.EPSG3395=Fc,St.EPSG3857=b,St.EPSG900913=E,St.EPSG4326=Yr,St.Simple=Zc;var Le=ft.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})}}});dt.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?B(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 pt&&n[0].equals(n[o-1])&&n.pop(),n},_setLatLngs:function(t){We.prototype._setLatLngs.call(this,t),ge(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return ge(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,n=this.options.weight,o=new $(n,n);if(t=new D(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 l=0,c=this._rings.length,p;lt.y!=c.y>t.y&&t.x<(c.x-l.x)*(t.y-l.y)/(c.y-l.y)+l.x&&(n=!n);return n||We.prototype._containsPoint.call(this,t,!0)}});function Kc(t,n){return new Bn(t,n)}var Ve=je.extend({initialize:function(t,n){A(this,n),this._layers={},t&&this.addData(t)},addData:function(t){var n=B(t)?t:t.features,o,l,c;if(n){for(o=0,l=n.length;o0&&c.push(c[0].slice()),c}function Nn(t,n){return t.feature?a({},t.feature,{geometry:n}):Qi(n)}function Qi(t){return t.type==="Feature"||t.type==="FeatureCollection"?t:{type:"Feature",properties:{},geometry:t}}var go={toGeoJSON:function(t){return Nn(this,{type:"Point",coordinates:mo(this.getLatLng(),t)})}};Ki.include(go),po.include(go),Gi.include(go),We.include({toGeoJSON:function(t){var n=!ge(this._latlngs),o=Yi(this._latlngs,n?1:0,!1,t);return Nn(this,{type:(n?"Multi":"")+"LineString",coordinates:o})}}),Bn.include({toGeoJSON:function(t){var n=!ge(this._latlngs),o=n&&!ge(this._latlngs[0]),l=Yi(this._latlngs,o?2:n?1:0,!0,t);return n||(l=[l]),Nn(this,{type:(o?"Multi":"")+"Polygon",coordinates:l})}}),In.include({toMultiPoint:function(t){var n=[];return this.eachLayer(function(o){n.push(o.toGeoJSON(t).geometry.coordinates)}),Nn(this,{type:"MultiPoint",coordinates:n})},toGeoJSON:function(t){var n=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(n==="MultiPoint")return this.toMultiPoint(t);var o=n==="GeometryCollection",l=[];return this.eachLayer(function(c){if(c.toGeoJSON){var p=c.toGeoJSON(t);if(o)l.push(p.geometry);else{var v=Qi(p);v.type==="FeatureCollection"?l.push.apply(l,v.features):l.push(v)}}}),o?Nn(this,{geometries:l,type:"GeometryCollection"}):{type:"FeatureCollection",features:l}}});function ea(t,n){return new Ve(t,n)}var Gc=ea,ts=Le.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,n,o){this._url=t,this._bounds=lt(n),A(this,o)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(at(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Mt(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&Rn(this._image),this},bringToBack:function(){return this._map&&Mn(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=lt(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t=this._url.tagName==="IMG",n=this._image=t?this._url:gt("img");if(at(n,"leaflet-image-layer"),this._zoomAnimated&&at(n,"leaflet-zoom-animated"),this.options.className&&at(n,this.options.className),n.onselectstart=y,n.onmousemove=y,n.onload=h(this.fire,this,"load"),n.onerror=h(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(n.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t){this._url=n.src;return}n.src=this._url,n.alt=this.options.alt},_animateZoom:function(t){var n=this._map.getZoomScale(t.zoom),o=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;fn(this._image,o,n)},_reset:function(){var t=this._image,n=new D(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),o=n.getSize();Dt(t,n.min),t.style.width=o.x+"px",t.style.height=o.y+"px"},_updateOpacity:function(){me(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),Jc=function(t,n,o){return new ts(t,n,o)},na=ts.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var t=this._url.tagName==="VIDEO",n=this._image=t?this._url:gt("video");if(at(n,"leaflet-image-layer"),this._zoomAnimated&&at(n,"leaflet-zoom-animated"),this.options.className&&at(n,this.options.className),n.onselectstart=y,n.onmousemove=y,n.onloadeddata=h(this.fire,this,"load"),t){for(var o=n.getElementsByTagName("source"),l=[],c=0;c0?l:[n.src];return}B(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 p=0;pc?(n.height=c+"px",at(t,p)):Bt(t,p),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var n=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),o=this._getAnchor();Dt(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(ei(this._container,"marginBottom"),10)||0,o=this._container.offsetHeight+n,l=this._containerWidth,c=new $(this._containerLeft,-o-this._containerBottom);c._add(dn(this._container));var p=t.layerPointToContainerPoint(c),v=j(this.options.autoPanPadding),x=j(this.options.autoPanPaddingTopLeft||v),T=j(this.options.autoPanPaddingBottomRight||v),I=t.getSize(),G=0,et=0;p.x+l+T.x>I.x&&(G=p.x+l-I.x+T.x),p.x-G-x.x<0&&(G=p.x-x.x),p.y+o+T.y>I.y&&(et=p.y+o-I.y+T.y),p.y-et-x.y<0&&(et=p.y-x.y),(G||et)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([G,et]))}},_getAnchor:function(){return j(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Qc=function(t,n){return new es(t,n)};dt.mergeOptions({closePopupOnClick:!0}),dt.include({openPopup:function(t,n,o){return this._initOverlay(es,t,n,o).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),Le.include({bindPopup:function(t,n){return this._popup=this._initOverlay(es,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 je||(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)){_n(t);var n=t.layer||t.target;if(this._popup._source===n&&!(n instanceof an)){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 ns=ke.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){ke.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){ke.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=ke.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=gt("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,l=this._map,c=this._container,p=l.latLngToContainerPoint(l.getCenter()),v=l.layerPointToContainerPoint(t),x=this.options.direction,T=c.offsetWidth,I=c.offsetHeight,G=j(this.options.offset),et=this._getAnchor();x==="top"?(n=T/2,o=I):x==="bottom"?(n=T/2,o=0):x==="center"?(n=T/2,o=I/2):x==="right"?(n=0,o=I/2):x==="left"?(n=T,o=I/2):v.xthis.options.maxZoom||ol?this._retainParent(c,p,v,l):!1)},_retainChildren:function(t,n,o,l){for(var c=2*t;c<2*t+2;c++)for(var p=2*n;p<2*n+2;p++){var v=new $(c,p);v.z=o+1;var x=this._tileCoordsToKey(v),T=this._tiles[x];if(T&&T.active){T.retain=!0;continue}else T&&T.loaded&&(T.retain=!0);o+1this.options.maxZoom||this.options.minZoom!==void 0&&c1){this._setView(t,o);return}for(var et=c.min.y;et<=c.max.y;et++)for(var ut=c.min.x;ut<=c.max.x;ut++){var se=new $(ut,et);if(se.z=this._tileZoom,!!this._isValidTile(se)){var Ht=this._tiles[this._tileCoordsToKey(se)];Ht?Ht.current=!0:v.push(se)}}if(v.sort(function(ue,Dn){return ue.distanceTo(p)-Dn.distanceTo(p)}),v.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var ve=document.createDocumentFragment();for(ut=0;uto.max.x)||!n.wrapLat&&(t.yo.max.y))return!1}if(!this.options.bounds)return!0;var l=this._tileCoordsToBounds(t);return lt(this.options.bounds).overlaps(l)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var n=this._map,o=this.getTileSize(),l=t.scaleBy(o),c=l.add(o),p=n.unproject(l,t.z),v=n.unproject(c,t.z);return[p,v]},_tileCoordsToBounds:function(t){var n=this._tileCoordsToNwSe(t),o=new mt(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 $(+n[0],+n[1]);return o.z=+n[2],o},_removeTile:function(t){var n=this._tiles[t];n&&(Mt(n.el),delete this._tiles[t],this.fire("tileunload",{tile:n.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){at(t,"leaflet-tile");var n=this.getTileSize();t.style.width=n.x+"px",t.style.height=n.y+"px",t.onselectstart=y,t.onmousemove=y,Y.ielt9&&this.options.opacity<1&&me(t,this.options.opacity)},_addTile:function(t,n){var o=this._getTilePos(t),l=this._tileCoordsToKey(t),c=this.createTile(this._wrapCoords(t),h(this._tileReady,this,t));this._initTile(c),this.createTile.length<2&&vt(h(this._tileReady,this,t,null,c)),Dt(c,o),this._tiles[l]={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 l=this._tileCoordsToKey(t);o=this._tiles[l],o&&(o.loaded=+new Date,this._map._fadeAnimated?(me(o.el,0),Ct(this._fadeFrame),this._fadeFrame=vt(this._updateOpacity,this)):(o.active=!0,this._pruneTiles()),n||(at(o.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:o.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Y.ielt9||!this._map._fadeAnimated?vt(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 $(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 D(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 nh(t){return new ui(t)}var zn=ui.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=A(this,n),n.detectRetina&&Y.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 ot(o,"load",h(this._tileOnLoad,this,n,o)),ot(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:Y.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 k(this._url,a(n,this.options))},_tileOnLoad:function(t,n){Y.ielt9?setTimeout(h(t,this,null,n),0):t(null,n)},_tileOnError:function(t,n,o){var l=this.options.errorTileUrl;l&&n.getAttribute("src")!==l&&(n.src=l),t(o,n)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,n=this.options.maxZoom,o=this.options.zoomReverse,l=this.options.zoomOffset;return o&&(t=n-t),t+l},_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=y,n.onerror=y,!n.complete)){n.src=tt;var o=this._tiles[t].coords;Mt(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",tt),ui.prototype._removeTile.call(this,t)},_tileReady:function(t,n,o){if(!(!this._map||o&&o.getAttribute("src")===tt))return ui.prototype._tileReady.call(this,t,n,o)}});function oa(t,n){return new zn(t,n)}var ra=zn.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=a({},this.defaultWmsParams);for(var l in n)l in this.options||(o[l]=n[l]);n=A(this,n);var c=n.detectRetina&&Y.retina?2:1,p=this.getTileSize();o.width=p.x*c,o.height=p.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,zn.prototype.onAdd.call(this,t)},getTileUrl:function(t){var n=this._tileCoordsToNwSe(t),o=this._crs,l=W(o.project(n[0]),o.project(n[1])),c=l.min,p=l.max,v=(this._wmsVersion>=1.3&&this._crs===Yr?[c.y,c.x,p.y,p.x]:[c.x,c.y,p.x,p.y]).join(","),x=zn.prototype.getTileUrl.call(this,t);return x+U(this.wmsParams,x,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+v},setParams:function(t,n){return a(this.wmsParams,t),n||this.redraw(),this}});function ih(t,n){return new ra(t,n)}zn.WMS=ra,oa.wms=ih;var qe=Le.extend({options:{padding:.1},initialize:function(t){A(this,t),d(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),at(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),l=this._map.getSize().multiplyBy(.5+this.options.padding),c=this._map.project(this._center,n),p=l.multiplyBy(-o).add(c).subtract(this._map._getNewPixelOrigin(t,n));Y.any3d?fn(this._container,p,o):Dt(this._container,p)},_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 D(o,o.add(n.multiplyBy(1+t*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),aa=qe.extend({options:{tolerance:0},getEvents:function(){var t=qe.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){qe.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");ot(t,"mousemove",this._onMouseMove,this),ot(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ot(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){Ct(this._redrawRequest),delete this._ctx,Mt(this._container),Et(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)){qe.prototype._update.call(this);var t=this._bounds,n=this._container,o=t.getSize(),l=Y.retina?2:1;Dt(n,t.min),n.width=l*o.x,n.height=l*o.y,n.style.width=o.x+"px",n.style.height=o.y+"px",Y.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){qe.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,l=n.prev;o?o.prev=l:this._drawLast=l,l?l.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=[],l,c;for(c=0;c')}}catch{}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}})(),sh={_initContainer:function(){this._container=gt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(qe.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var n=t._container=ci("shape");at(n,"leaflet-vml-shape "+(this.options.className||"")),n.coordsize="1 1",t._path=ci("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;Mt(n),t.removeInteractiveTarget(n),delete this._layers[d(t)]},_updateStyle:function(t){var n=t._stroke,o=t._fill,l=t.options,c=t._container;c.stroked=!!l.stroke,c.filled=!!l.fill,l.stroke?(n||(n=t._stroke=ci("stroke")),c.appendChild(n),n.weight=l.weight+"px",n.color=l.color,n.opacity=l.opacity,l.dashArray?n.dashStyle=B(l.dashArray)?l.dashArray.join(" "):l.dashArray.replace(/( *, *)/g," "):n.dashStyle="",n.endcap=l.lineCap.replace("butt","flat"),n.joinstyle=l.lineJoin):n&&(c.removeChild(n),t._stroke=null),l.fill?(o||(o=t._fill=ci("fill")),c.appendChild(o),o.color=l.fillColor||l.color,o.opacity=l.fillOpacity):o&&(c.removeChild(o),t._fill=null)},_updateCircle:function(t){var n=t._point.round(),o=Math.round(t._radius),l=Math.round(t._radiusY||o);this._setPath(t,t._empty()?"M0 0":"AL "+n.x+","+n.y+" "+o+","+l+" 0,"+65535*360)},_setPath:function(t,n){t._path.v=n},_bringToFront:function(t){Rn(t._container)},_bringToBack:function(t){Mn(t._container)}},is=Y.vml?ci:R,hi=qe.extend({_initContainer:function(){this._container=is("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=is("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Mt(this._container),Et(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){qe.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)),Dt(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=is("path");t.options.className&&at(n,t.options.className),t.options.interactive&&at(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){Mt(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,P(t._parts,n))},_updateCircle:function(t){var n=t._point,o=Math.max(Math.round(t._radius),1),l=Math.max(Math.round(t._radiusY),1)||o,c="a"+o+","+l+" 0 1,0 ",p=t._empty()?"M0 0":"M"+(n.x-o)+","+n.y+c+o*2+",0 "+c+-o*2+",0 ";this._setPath(t,p)},_setPath:function(t,n){t._path.setAttribute("d",n)},_bringToFront:function(t){Rn(t._path)},_bringToBack:function(t){Mn(t._path)}});Y.vml&&hi.include(sh);function ua(t){return Y.svg||Y.vml?new hi(t):null}dt.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&&la(t)||ua(t)}});var ca=Bn.extend({initialize:function(t,n){Bn.prototype.initialize.call(this,this._boundsToLatLngs(t),n)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=lt(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function oh(t,n){return new ca(t,n)}hi.create=is,hi.pointsToPath=P,Ve.geometryToLayer=Ji,Ve.coordsToLatLng=_o,Ve.coordsToLatLngs=Xi,Ve.latLngToCoords=mo,Ve.latLngsToCoords=Yi,Ve.getFeature=Nn,Ve.asFeature=Qi,dt.mergeOptions({boxZoom:!0});var ha=Ie.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(){ot(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Et(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Mt(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(),ni(),Xs(),this._startPoint=this._map.mouseEventToContainerPoint(t),ot(document,{contextmenu:_n,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=gt("div","leaflet-zoom-box",this._container),at(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var n=new D(this._point,this._startPoint),o=n.getSize();Dt(this._box,n.min),this._box.style.width=o.x+"px",this._box.style.height=o.y+"px"},_finish:function(){this._moved&&(Mt(this._box),Bt(this._container,"leaflet-crosshair")),ii(),Ys(),Et(document,{contextmenu:_n,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 mt(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())}});dt.addInitHook("addHandler","boxZoom",ha),dt.mergeOptions({doubleClickZoom:!0});var fa=Ie.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(),l=n.options.zoomDelta,c=t.originalEvent.shiftKey?o-l:o+l;n.options.doubleClickZoom==="center"?n.setZoom(c):n.setZoomAround(t.containerPoint,c)}});dt.addInitHook("addHandler","doubleClickZoom",fa),dt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var da=Ie.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new rn(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))}at(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Bt(this._map._container,"leaflet-grab"),Bt(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=lt(this._map.options.maxBounds);this._offsetLimit=W(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,l=this._draggable._newPos.x,c=(l-n+o)%t+n-o,p=(l+n+o)%t-n-o,v=Math.abs(c+o)0?p:-p))-n;this._delta=0,this._startTime=null,v&&(t.options.scrollWheelZoom==="center"?t.setZoom(n+v):t.setZoomAround(this._lastMousePos,n+v))}});dt.addInitHook("addHandler","scrollWheelZoom",_a);var rh=600;dt.mergeOptions({tapHold:Y.touchNative&&Y.safari&&Y.mobile,tapTolerance:15});var ma=Ie.extend({addHooks:function(){ot(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Et(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 $(n.clientX,n.clientY),this._holdTimeout=setTimeout(h(function(){this._cancel(),this._isTapValid()&&(ot(document,"touchend",qt),ot(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",n))},this),rh),ot(document,"touchend touchcancel contextmenu",this._cancel,this),ot(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){Et(document,"touchend",qt),Et(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),Et(document,"touchend touchcancel contextmenu",this._cancel,this),Et(document,"touchmove",this._onMove,this)},_onMove:function(t){var n=t.touches[0];this._newPos=new $(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)}});dt.addInitHook("addHandler","tapHold",ma),dt.mergeOptions({touchZoom:Y.touch,bounceAtZoomLimits:!0});var ga=Ie.extend({addHooks:function(){at(this._map._container,"leaflet-touch-zoom"),ot(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Bt(this._map._container,"leaflet-touch-zoom"),Et(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]),l=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(l)._divideBy(2))),this._startDist=o.distanceTo(l),this._startZoom=n.getZoom(),this._moved=!1,this._zooming=!0,n._stop(),ot(document,"touchmove",this._onTouchMove,this),ot(document,"touchend touchcancel",this._onTouchEnd,this),qt(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!this._zooming)){var n=this._map,o=n.mouseEventToContainerPoint(t.touches[0]),l=n.mouseEventToContainerPoint(t.touches[1]),c=o.distanceTo(l)/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 p=o._add(l)._divideBy(2)._subtract(this._centerPoint);if(c===1&&p.x===0&&p.y===0)return;this._center=n.unproject(n.project(this._pinchStartLatLng,this._zoom).subtract(p),this._zoom)}this._moved||(n._moveStart(!0,!1),this._moved=!0),Ct(this._animRequest);var v=h(n._move,n,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=vt(v,this,!0),qt(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,Ct(this._animRequest),Et(document,"touchmove",this._onTouchMove,this),Et(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))}});dt.addInitHook("addHandler","touchZoom",ga),dt.BoxZoom=ha,dt.DoubleClickZoom=fa,dt.Drag=da,dt.Keyboard=pa,dt.ScrollWheelZoom=_a,dt.TapHold=ma,dt.TouchZoom=ga,s.Bounds=D,s.Browser=Y,s.CRS=St,s.Canvas=aa,s.Circle=po,s.CircleMarker=Gi,s.Class=wt,s.Control=Se,s.DivIcon=sa,s.DivOverlay=ke,s.DomEvent=Tc,s.DomUtil=xc,s.Draggable=rn,s.Evented=ft,s.FeatureGroup=je,s.GeoJSON=Ve,s.GridLayer=ui,s.Handler=Ie,s.Icon=kn,s.ImageOverlay=ts,s.LatLng=pt,s.LatLngBounds=mt,s.Layer=Le,s.LayerGroup=In,s.LineUtil=zc,s.Map=dt,s.Marker=Ki,s.Mixin=Rc,s.Path=an,s.Point=$,s.PolyUtil=Mc,s.Polygon=Bn,s.Polyline=We,s.Popup=es,s.PosAnimation=Zr,s.Projection=Dc,s.Rectangle=ca,s.Renderer=qe,s.SVG=hi,s.SVGOverlay=ia,s.TileLayer=zn,s.Tooltip=ns,s.Transformation=hn,s.Util=xe,s.VideoOverlay=na,s.bind=h,s.bounds=W,s.canvas=la,s.circle=qc,s.circleMarker=Vc,s.control=ri,s.divIcon=eh,s.extend=a,s.featureGroup=Uc,s.geoJSON=ea,s.geoJson=Gc,s.gridLayer=nh,s.icon=jc,s.imageOverlay=Jc,s.latLng=J,s.latLngBounds=lt,s.layerGroup=Hc,s.map=Sc,s.marker=Wc,s.point=j,s.polygon=Kc,s.polyline=$c,s.popup=Qc,s.rectangle=oh,s.setOptions=A,s.stamp=d,s.svg=ua,s.svgOverlay=Yc,s.tileLayer=oa,s.tooltip=th,s.transformation=m,s.version=r,s.videoOverlay=Xc;var ah=window.L;s.noConflict=function(){return window.L=ah,this},window.L=s}))})(vi,vi.exports)),vi.exports}var om=sm();const Hn=nm(om),rm=(e,i)=>{const s=e.__vccOpts||e;for(const[r,a]of i)s[r]=a;return s},am="https://webrd0{s}.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}",lm={__name:"PoiMap",emits:["marker-click","map-click"],setup(e,{expose:i,emit:s}){const r=Ut(null);let a=null,u=null,h=[],f=null;const d=s,g=["1","2","3","4"];tu(()=>{a=Hn.map(r.value,{center:[39.9042,116.4074],zoom:12,zoomControl:!0}),Hn.tileLayer(am,{subdomains:g,attribution:"© 高德地图",maxZoom:18}).addTo(a),u=Hn.layerGroup().addTo(a),a.on("click",S=>{d("map-click",{lat:S.latlng.lat,lng:S.latlng.lng})})}),dr(()=>{a&&(a.remove(),a=null)});function _(){u.clearLayers(),h=[]}function y(S){if(_(),!a||!S.length)return;const k=Hn.divIcon({className:"",html:` - - - `,iconSize:[32,42],iconAnchor:[16,42],popupAnchor:[0,-42]});S.forEach(B=>{const z=parseFloat(B.latitude),tt=parseFloat(B.longitude);if(isNaN(z)||isNaN(tt))return;const st=Hn.marker([z,tt],{icon:k}).addTo(u);st.bindPopup(` -
-

${B.name}

- - - ${B.businessArea?``:""} -
- `),st.on("click",()=>{d("marker-click",B)}),h.push(st)})}function O(S){const k=parseFloat(S.latitude),B=parseFloat(S.longitude);if(!(isNaN(k)||isNaN(B)))for(const z of h){const tt=z.getLatLng();if(Math.abs(tt.lat-k)<.001&&Math.abs(tt.lng-B)<.001){z.openPopup();break}}}function N(S,k,B){a&&a.setView([S,k],B||12)}function V(S,k,B){A(),a&&(f=Hn.circle([S,k],{radius:B,color:"#1a73e8",fillColor:"#1a73e8",fillOpacity:.08,weight:2,dashArray:"6, 6"}).addTo(a))}function A(){f&&(a.removeLayer(f),f=null)}function U(S){f&&f.setRadius(S)}return i({addMarkers:y,clearMarkers:_,focusMarker:O,drawRadiusCircle:V,clearRadiusCircle:A,updateRadiusCircle:U,flyTo:N}),(S,k)=>(Zt(),jt("div",{ref_key:"mapContainer",ref:r,class:"map-container"},null,512))}},um=rm(lm,[["__scopeId","data-v-e60bcf90"]]),cm={class:"app"},hm={class:"top-bar"},fm={class:"search-form"},dm={class:"input-wrap"},pm={key:0,class:"suggest-dropdown"},_m=["onMousedown","onMouseenter"],mm={class:"suggest-name"},gm={key:0,class:"suggest-city"},vm=["value"],ym=["disabled"],wm={value:""},bm=["value"],xm=["value"],Pm=["disabled"],Tm={key:0,class:"center-badge"},Sm={key:0,class:"panel-loading"},Lm={key:1,class:"panel-error"},Em={key:2,class:"panel-empty"},Om={class:"panel-header"},Cm={class:"panel-title"},Am={class:"panel-page"},Rm={class:"panel-list"},Mm=["onClick"],Im={class:"card-name"},km={class:"card-phone"},Bm={class:"card-addr"},Nm={class:"panel-footer"},zm=["disabled"],Dm=["disabled"],Fm={__name:"App",setup(e){const i=Ut(null),s=Ut(""),r=Ut(""),a=Ut(3e3),u=Ut(0),h=Ut(0),f=Ut([]),d=Ut(0),g=Ut(!1),_=Ut(!1),y=Ut(""),O=Ut(1),N=Ut(1),V=Ut(null),A=Ut([]),U=Ut(-1);let S=null;const k=Ut(""),B=["北京","天津","上海","重庆","广东","浙江","江苏","福建","山东","四川","湖北","湖南","河南","河北","安徽","江西","陕西","山西","辽宁","吉林","黑龙江","广西","内蒙古","西藏","新疆","宁夏","青海","甘肃","贵州","云南","海南"],z={北京:["北京"],天津:["天津"],上海:["上海"],重庆:["重庆"],广东:["广州","深圳","东莞","佛山","珠海","中山","惠州","汕头","江门","湛江","肇庆","茂名","揭阳","梅州","清远","韶关","阳江","河源","汕尾","潮州","云浮"],浙江:["杭州","宁波","温州","绍兴","嘉兴","金华","台州","湖州","衢州","舟山","丽水"],江苏:["南京","苏州","无锡","常州","南通","徐州","扬州","盐城","淮安","连云港","镇江","泰州","宿迁"],福建:["福州","厦门","泉州","漳州","莆田","宁德","龙岩","三明","南平"],山东:["济南","青岛","烟台","潍坊","临沂","淄博","济宁","威海","泰安","德州","聊城","东营","枣庄","日照","滨州","菏泽"],四川:["成都","绵阳","德阳","宜宾","南充","泸州","自贡","乐山","眉山","达州","内江","遂宁","广安","攀枝花","资阳","广元","雅安","巴中"],湖北:["武汉","襄阳","宜昌","荆州","黄冈","十堰","孝感","荆门","鄂州","黄石","咸宁","随州"],湖南:["长沙","株洲","湘潭","衡阳","岳阳","常德","益阳","邵阳","郴州","怀化","永州","娄底","湘西"],河南:["郑州","洛阳","南阳","许昌","周口","新乡","安阳","开封","商丘","信阳","驻马店","平顶山","焦作","濮阳","三门峡","漯河","鹤壁"],河北:["石家庄","唐山","保定","邯郸","沧州","廊坊","秦皇岛","张家口","衡水","邢台","承德"],安徽:["合肥","芜湖","安庆","阜阳","滁州","马鞍山","蚌埠","宿州","六安","宣城","铜陵","池州","淮南","淮北","黄山"],江西:["南昌","赣州","九江","宜春","吉安","上饶","抚州","萍乡","景德镇","新余","鹰潭"],陕西:["西安","咸阳","宝鸡","渭南","汉中","延安","榆林","安康","商洛","铜川"],山西:["太原","大同","长治","临汾","晋中","运城","晋城","吕梁","忻州","阳泉","朔州"],辽宁:["沈阳","大连","鞍山","抚顺","锦州","营口","盘锦","丹东","本溪","辽阳","朝阳","阜新","葫芦岛","铁岭"],吉林:["长春","吉林","延边","四平","通化","松原","白城","辽源","白山"],黑龙江:["哈尔滨","大庆","齐齐哈尔","牡丹江","佳木斯","绥化","鸡西","鹤岗","双鸭山","伊春","七台河","黑河","大兴安岭"],广西:["南宁","桂林","柳州","北海","玉林","百色","梧州","贵港","钦州","河池","防城港","崇左","来宾","贺州"],内蒙古:["呼和浩特","包头","赤峰","鄂尔多斯","通辽","呼伦贝尔","乌兰察布","巴彦淖尔","兴安","锡林郭勒","阿拉善"],西藏:["拉萨","日喀则","昌都","林芝","山南","那曲","阿里"],新疆:["乌鲁木齐","克拉玛依","吐鲁番","哈密","昌吉","伊犁","喀什","阿克苏","和田","塔城","阿勒泰","博尔塔拉","巴音郭楞","克孜勒苏"],宁夏:["银川","石嘴山","吴忠","固原","中卫"],青海:["西宁","海东","海西","海南","海北","黄南","玉树","果洛"],甘肃:["兰州","天水","白银","金昌","嘉峪关","武威","张掖","平凉","酒泉","庆阳","定西","陇南","临夏","甘南"],贵州:["贵阳","遵义","六盘水","安顺","毕节","铜仁","黔东南","黔南","黔西南"],云南:["昆明","大理","丽江","曲靖","玉溪","红河","楚雄","普洱","昭通","文山","西双版纳","保山","德宏","临沧","怒江","迪庆"],海南:["海口","三亚","儋州","三沙","琼海","文昌","万宁","陵水","五指山"]},tt=Su(()=>z[k.value]||[]),st={北京:[39.9042,116.4074],天津:[39.1252,117.1908],上海:[31.2304,121.4737],重庆:[29.4316,106.9123],广州:[23.1291,113.2644],深圳:[22.5431,114.0579],东莞:[23.0208,113.7518],佛山:[23.0219,113.1219],珠海:[22.271,113.5767],中山:[22.515,113.3926],惠州:[23.111,114.4162],汕头:[23.3545,116.6822],江门:[22.5786,113.0945],湛江:[21.2713,110.3594],肇庆:[23.0469,112.4653],茂名:[21.663,110.9252],揭阳:[23.5499,116.3727],梅州:[24.2884,116.1176],清远:[23.681,113.056],韶关:[24.8104,113.5975],阳江:[21.8583,111.9822],河源:[23.7437,114.7009],汕尾:[22.787,115.3753],潮州:[23.6564,116.63],云浮:[22.915,112.0445],杭州:[30.2741,120.1551],宁波:[29.8683,121.544],温州:[28,120.6994],绍兴:[30.03,120.58],嘉兴:[30.7711,120.7551],金华:[29.0792,119.6474],台州:[28.6562,121.4208],湖州:[30.8931,120.0875],衢州:[28.9359,118.8742],舟山:[29.9855,122.2076],丽水:[28.468,119.9228],南京:[32.0603,118.7969],苏州:[31.299,120.5853],无锡:[31.491,120.3119],常州:[31.8107,119.9737],南通:[31.9798,120.8938],徐州:[34.2044,117.2858],扬州:[32.3937,119.4126],盐城:[33.3876,120.1633],淮安:[33.5516,119.1131],连云港:[34.5969,119.2215],镇江:[32.1898,119.4251],泰州:[32.4555,119.9227],宿迁:[33.963,118.2755],福州:[26.0745,119.2965],厦门:[24.4798,118.0895],泉州:[24.8741,118.6756],漳州:[24.5134,117.647],莆田:[25.454,119.0077],宁德:[26.6657,119.5479],龙岩:[25.0751,117.017],三明:[26.2634,117.6392],南平:[26.6417,118.1779],济南:[36.6512,116.9972],青岛:[36.0671,120.3826],烟台:[37.4645,121.4479],潍坊:[36.7068,119.1618],临沂:[35.1046,118.3564],淄博:[36.8135,118.055],济宁:[35.4148,116.5872],威海:[37.5133,122.121],泰安:[36.1994,117.0875],德州:[37.4363,116.3594],聊城:[36.4568,115.9854],东营:[37.4341,118.6746],枣庄:[34.8105,117.3211],日照:[35.4204,119.5272],滨州:[37.3819,117.9724],菏泽:[35.2337,115.4812],成都:[30.5728,104.0668],绵阳:[31.4675,104.6791],德阳:[31.1268,104.398],宜宾:[28.7519,104.6417],南充:[30.7991,106.0827],泸州:[28.8717,105.443],自贡:[29.339,104.7784],乐山:[29.5527,103.7654],眉山:[30.0595,103.8265],达州:[31.2091,107.4677],内江:[29.5802,105.0584],遂宁:[30.5329,105.5929],广安:[30.456,106.6332],攀枝花:[26.5823,101.7186],资阳:[30.1286,104.6276],广元:[32.4355,105.845],雅安:[29.9765,103.0094],巴中:[31.8674,106.7477],武汉:[30.5928,114.3055],襄阳:[32.009,112.1226],宜昌:[30.692,111.2864],荆州:[30.3345,112.2407],黄冈:[30.4544,114.8724],十堰:[32.6319,110.7939],孝感:[30.9178,113.9168],荆门:[31.0354,112.1992],鄂州:[30.3908,114.895],黄石:[30.201,115.0769],咸宁:[29.8327,114.3222],随州:[31.6902,113.3826],长沙:[28.2282,112.9388],株洲:[27.8278,113.1339],湘潭:[27.8298,112.9442],衡阳:[26.8932,112.572],岳阳:[29.3572,113.1288],常德:[29.0316,111.6985],益阳:[28.5889,112.3551],邵阳:[27.2389,111.4673],郴州:[25.7705,113.0145],怀化:[27.5697,109.9985],永州:[26.4207,111.6132],娄底:[27.7,112.0004],湘西:[28.3118,109.7394],郑州:[34.747,113.6247],洛阳:[34.6202,112.4545],南阳:[32.9908,112.5286],许昌:[34.0355,113.8523],周口:[33.626,114.6473],新乡:[35.3036,113.9269],安阳:[36.0969,114.3931],开封:[34.7973,114.3073],商丘:[34.414,115.6554],信阳:[32.1471,114.0932],驻马店:[32.9815,114.022],平顶山:[33.7662,113.1924],焦作:[35.2159,113.2418],濮阳:[35.7624,115.0297],三门峡:[34.7731,111.1999],漯河:[33.5814,114.0165],鹤壁:[35.8995,114.2975],石家庄:[38.0423,114.5145],唐山:[39.6303,118.1824],保定:[38.8739,115.4646],邯郸:[36.6256,114.5391],沧州:[38.3044,116.8387],廊坊:[39.5379,116.6838],秦皇岛:[39.8891,119.5997],张家口:[40.768,114.8862],衡水:[37.7389,115.6707],邢台:[37.0736,114.5047],承德:[40.9495,117.9593],合肥:[31.8206,117.2272],芜湖:[31.3525,118.4329],安庆:[30.5429,117.0635],阜阳:[32.8901,115.8141],滁州:[32.3019,118.3071],马鞍山:[31.6714,118.5071],蚌埠:[32.9188,117.3894],宿州:[33.6476,116.9639],六安:[31.7331,116.5199],宣城:[30.9404,118.7587],铜陵:[30.8789,117.8107],池州:[30.6648,117.4916],淮南:[32.6261,116.9997],淮北:[33.9653,116.7985],黄山:[29.7153,118.337],南昌:[28.6829,115.8582],赣州:[25.831,114.9356],九江:[29.6619,115.9973],宜春:[27.8143,114.4161],吉安:[27.113,114.9934],上饶:[28.4546,117.9435],抚州:[27.9479,116.3581],萍乡:[27.6229,113.8548],景德镇:[29.2686,117.1784],新余:[27.8178,114.9171],鹰潭:[28.2588,117.0692],西安:[34.3416,108.9398],咸阳:[34.3293,108.7092],宝鸡:[34.3621,107.2373],渭南:[34.5205,109.5103],汉中:[33.0677,107.0236],延安:[36.5854,109.4888],榆林:[38.2855,109.7345],安康:[32.6849,109.0291],商洛:[33.8683,109.9202],铜川:[34.897,108.9451],太原:[37.8706,112.5499],大同:[40.0769,113.3001],长治:[36.1954,113.1164],临汾:[36.088,111.5193],晋中:[37.6875,112.7528],运城:[35.0265,111.007],晋城:[35.4905,112.8513],吕梁:[37.5193,111.1446],忻州:[38.417,112.734],阳泉:[37.8568,113.5803],朔州:[39.3315,112.4327],沈阳:[41.8057,123.4315],大连:[38.914,121.6148],鞍山:[41.1078,122.9945],抚顺:[41.8796,123.9572],锦州:[41.0952,121.127],营口:[40.6241,122.2351],盘锦:[41.1198,122.0708],丹东:[40.0024,124.3567],本溪:[41.487,123.7716],辽阳:[41.2691,123.2378],朝阳:[41.5737,120.4508],阜新:[42.021,121.6703],葫芦岛:[40.7109,120.8372],铁岭:[42.286,123.8426],长春:[43.896,125.3265],吉林:[43.8379,126.5493],延边:[42.8907,129.5094],四平:[43.1639,124.3504],通化:[41.7278,125.9395],松原:[45.141,124.8255],白城:[45.6193,122.8389],辽源:[42.8877,125.1437],白山:[41.9406,126.4244],哈尔滨:[45.8038,126.535],大庆:[46.5967,125.1041],齐齐哈尔:[47.3543,123.918],牡丹江:[44.5528,129.6186],佳木斯:[46.7998,130.3194],绥化:[46.6368,126.9692],鸡西:[45.2953,130.9661],鹤岗:[47.3499,130.2978],双鸭山:[46.6467,131.1585],伊春:[47.7277,128.8404],七台河:[45.7708,131.0153],黑河:[50.2454,127.5284],大兴安岭:[50.5506,126.205],南宁:[22.817,108.3665],桂林:[25.2344,110.1798],柳州:[24.3249,109.428],北海:[21.4679,109.1197],玉林:[22.6529,110.1411],百色:[23.902,106.6184],梧州:[23.4769,111.2786],贵港:[23.1131,109.598],钦州:[21.9799,108.6541],河池:[24.6929,108.0854],防城港:[21.6869,108.3783],崇左:[22.3795,107.3652],来宾:[23.7332,109.2213],贺州:[24.4035,111.5667],呼和浩特:[40.8422,111.7498],包头:[40.6571,109.8402],赤峰:[42.2576,118.8888],鄂尔多斯:[39.6083,109.7809],通辽:[43.653,122.2445],呼伦贝尔:[49.2,119.76],乌兰察布:[40.9935,113.131],巴彦淖尔:[40.7274,107.3862],兴安:[46.082,122.038],锡林郭勒:[43.9335,116.048],阿拉善:[38.8483,105.6878],拉萨:[29.65,91.1],日喀则:[29.267,88.881],昌都:[31.14,97.17],林芝:[29.65,94.36],山南:[29.23,91.77],那曲:[31.47,92.06],阿里:[30.4,81.14],乌鲁木齐:[43.8256,87.6168],克拉玛依:[45.575,84.882],吐鲁番:[42.94,89.19],哈密:[42.82,93.51],昌吉:[44.013,87.305],伊犁:[43.92,81.32],喀什:[39.47,75.99],阿克苏:[41.17,80.26],和田:[37.11,79.92],塔城:[46.75,82.98],阿勒泰:[47.87,88.14],博尔塔拉:[44.9,82.07],巴音郭楞:[41.77,86.15],克孜勒苏:[39.71,76.17],银川:[38.471,106.259],石嘴山:[38.986,106.385],吴忠:[37.999,106.201],固原:[36.017,106.286],中卫:[37.517,105.196],西宁:[36.623,101.78],海东:[36.502,102.104],海西:[37.373,97.371],海南:[36.28,100.62],海北:[36.96,100.9],黄南:[35.52,102.02],玉树:[33,97.01],果洛:[34.48,100.24],兰州:[36.0611,103.8343],天水:[34.5811,105.725],白银:[36.5447,104.1382],金昌:[38.521,102.188],嘉峪关:[39.773,98.29],武威:[37.9277,102.6379],张掖:[38.9349,100.4599],平凉:[35.5434,106.6682],酒泉:[39.7368,98.494],庆阳:[35.71,107.644],定西:[35.58,104.625],陇南:[33.37,104.92],临夏:[35.6,103.21],甘南:[34.99,102.91],贵阳:[26.647,106.6302],遵义:[27.7254,106.927],六盘水:[26.5927,104.83],安顺:[26.2537,105.9462],毕节:[27.302,105.29],铜仁:[27.73,109.18],黔东南:[26.58,107.97],黔南:[26.26,107.52],黔西南:[25.09,104.9],昆明:[25.0389,102.7183],大理:[25.6065,100.228],丽江:[26.872,100.23],曲靖:[25.49,103.8],玉溪:[24.352,102.547],红河:[23.37,103.38],楚雄:[25.04,101.54],普洱:[22.83,100.97],昭通:[27.34,103.72],文山:[23.38,104.24],西双版纳:[22.01,100.8],保山:[25.12,99.17],德宏:[24.44,98.59],临沧:[23.89,100.09],怒江:[25.85,98.86],迪庆:[27.82,99.71],海口:[20.044,110.35],三亚:[18.254,109.502],儋州:[19.521,109.581],三沙:[16.83,112.34],琼海:[19.259,110.466],文昌:[19.544,110.798],万宁:[18.797,110.389],陵水:[18.506,110.037],五指山:[18.775,109.517]},At=[{value:1e3,label:"1km"},{value:3e3,label:"3km"},{value:5e3,label:"5km"},{value:1e4,label:"10km"},{value:2e4,label:"20km"},{value:5e4,label:"50km"}];xi(r,(j,D)=>{if(!j||j===D||!i.value)return;const W=st[j];W&&(u.value=0,h.value=0,i.value.clearRadiusCircle(),i.value.flyTo(W[0],W[1]))}),xi(a,j=>{h.value&&u.value&&i.value&&i.value.updateRadiusCircle(j)});async function Wt(j){if(!j.trim()){A.value=[];return}try{const D=await em(j,r.value);A.value=(D.tips||[]).slice(0,8),U.value=-1}catch{A.value=[]}}function ne(){clearTimeout(S),S=setTimeout(()=>Wt(s.value),200)}function Rt(){A.value=[],U.value=-1}function vt(){setTimeout(Rt,150)}function Ct(j){const D=A.value.length;D!==0&&(U.value=(U.value+j+D)%D)}function xe(j){s.value=j.name,Rt(),wt()}async function wt(){var W,mt;y.value="";const j=s.value.trim(),D=h.value&&u.value;if(!j&&!D){y.value="请输入关键词或点击地图选择搜索范围",_.value=!0;return}g.value=!0,_.value=!0,V.value=null;try{const lt=await tm(j,r.value,O.value,h.value,u.value,a.value);f.value=lt.list||[],d.value=lt.total||0,N.value=lt.maxPage||1,O.value=lt.page||1,i.value&&f.value.length>0&&i.value.addMarkers(f.value)}catch(lt){y.value=((mt=(W=lt.response)==null?void 0:W.data)==null?void 0:mt.message)||lt.message||"请求失败",f.value=[],d.value=0,N.value=1}finally{g.value=!1}}function Pe(j){V.value=j,i.value&&i.value.focusMarker(j)}function ct(j){V.value=j}function ft({lat:j,lng:D}){u.value=j,h.value=D,k.value="",r.value="",i.value&&i.value.drawRadiusCircle(j,D,a.value)}function $(){u.value=0,h.value=0,i.value&&i.value.clearRadiusCircle()}function ie(){r.value=""}return(j,D)=>(Zt(),jt("div",cm,[He(um,{ref_key:"mapRef",ref:i,onMarkerClick:ct,onMapClick:ft},null,512),_t("div",hm,[_t("div",fm,[_t("div",dm,[ls(_t("input",{"onUpdate:modelValue":D[0]||(D[0]=W=>s.value=W),class:"input",placeholder:"关键词(选填,如:火锅店)",onInput:ne,onCompositionend:ne,onKeydown:[D[1]||(D[1]=cs(W=>{wt(),Rt()},["enter"])),D[2]||(D[2]=cs(Ro(W=>Ct(1),["prevent"]),["down"])),D[3]||(D[3]=cs(Ro(W=>Ct(-1),["prevent"]),["up"])),cs(Rt,["esc"])],onBlur:vt,autocomplete:"off"},null,544),[[Bd,s.value]])]),A.value.length>0?(Zt(),jt("ul",pm,[(Zt(!0),jt(ae,null,di(A.value,(W,mt)=>(Zt(),jt("li",{key:W.poiId||mt,class:Vn(["suggest-item",{active:mt===U.value}]),onMousedown:Ro(lt=>xe(W),["prevent"]),onMouseenter:lt=>U.value=mt},[_t("span",mm,$t(W.name),1),W.city?(Zt(),jt("span",gm,$t(W.city),1)):us("",!0)],42,_m))),128))])):us("",!0),ls(_t("select",{"onUpdate:modelValue":D[4]||(D[4]=W=>k.value=W),class:"select province-select",onChange:ie},[D[9]||(D[9]=_t("option",{value:""},"所有省份",-1)),(Zt(),jt(ae,null,di(B,W=>_t("option",{key:W,value:W},$t(W),9,vm)),64))],544),[[Ao,k.value]]),ls(_t("select",{"onUpdate:modelValue":D[5]||(D[5]=W=>r.value=W),class:"select city-select",disabled:!k.value},[_t("option",wm,$t(k.value?"所有城市":"请先选省份"),1),(Zt(!0),jt(ae,null,di(tt.value,W=>(Zt(),jt("option",{key:W,value:W},$t(W),9,bm))),128))],8,ym),[[Ao,r.value]]),ls(_t("select",{"onUpdate:modelValue":D[6]||(D[6]=W=>a.value=W),class:"select radius-select"},[(Zt(),jt(ae,null,di(At,W=>_t("option",{key:W.value,value:W.value},$t(W.label),9,xm)),64))],512),[[Ao,a.value]]),_t("button",{class:"btn",disabled:g.value,onClick:wt},$t(g.value?"搜索中...":"搜索"),9,Pm)]),u.value||h.value?(Zt(),jt("div",Tm,[_t("span",null,"中心点:"+$t(h.value.toFixed(4))+", "+$t(u.value.toFixed(4)),1),_t("button",{class:"clear-center",onClick:$},"×")])):us("",!0)]),_.value?(Zt(),jt("div",{key:0,class:Vn(["side-panel",{"has-results":f.value.length>0}])},[g.value?(Zt(),jt("div",Sm,[...D[10]||(D[10]=[_t("div",{class:"spinner"},null,-1),_t("span",null,"正在查询...",-1)])])):y.value?(Zt(),jt("div",Lm,$t(y.value),1)):f.value.length===0?(Zt(),jt("div",Em,[...D[11]||(D[11]=[xu(" 未找到相关商户",-1),_t("br",null,null,-1),_t("small",null,"请尝试其他关键词",-1)])])):(Zt(),jt(ae,{key:3},[_t("div",Om,[_t("span",Cm,"共 "+$t(d.value)+" 条结果",1),_t("span",Am,"第 "+$t(O.value)+"/"+$t(N.value)+" 页",1)]),_t("div",Rm,[(Zt(!0),jt(ae,null,di(f.value,W=>(Zt(),jt("div",{key:W.poiId,class:Vn(["result-card",{active:V.value&&V.value.poiId===W.poiId}]),onClick:mt=>Pe(W)},[_t("div",Im,$t(W.name),1),_t("div",km,$t(W.phone||"暂无电话"),1),_t("div",Bm,$t(W.address),1)],10,Mm))),128))]),_t("div",Nm,[_t("button",{class:"page-btn",disabled:O.value<=1,onClick:D[7]||(D[7]=W=>{O.value--,wt()})},"上一页",8,zm),_t("button",{class:"page-btn",disabled:O.value>=N.value,onClick:D[8]||(D[8]=W=>{O.value++,wt()})},"下一页",8,Dm)])],64))],2)):us("",!0),D[12]||(D[12]=_t("div",{class:"hint-bar"},[_t("span",null,"点击地图设置搜索中心点")],-1))]))}};Hd(Fm).mount("#app"); diff --git a/web/dist/index.html b/web/dist/index.html index fad8729..d377138 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -4,7 +4,7 @@ Pointly-Tel - 高德POI商户查询 - + diff --git a/web/src/App.vue b/web/src/App.vue index 2dda25c..48afb0b 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -341,6 +341,15 @@ function onSuggestArrow(dir) { function selectSuggestion(item) { keywords.value = item.name hideSuggestions() + // 联想位置有坐标则设为搜索中心点 + if (item.longitude && item.latitude) { + const lat = parseFloat(item.latitude) + const lng = parseFloat(item.longitude) + if (!isNaN(lat) && !isNaN(lng)) { + centerLat.value = lat + centerLng.value = lng + } + } doSearch() } @@ -356,6 +365,16 @@ async function doSearch() { return } + // 搜索前跳转地图到目标区域 + if (mapRef.value) { + if (hasCoord) { + mapRef.value.flyTo(centerLat.value, centerLng.value, 14) + } else if (city.value && cityCoords[city.value]) { + const coord = cityCoords[city.value] + mapRef.value.flyTo(coord[0], coord[1], 12) + } + } + loading.value = true searched.value = true activePoi.value = null