@phila/phila-ui-map-core 0.0.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +146 -0
- package/dist/components.css +1 -0
- package/dist/components.d.ts +1007 -0
- package/dist/components.js +866 -0
- package/dist/components.mjs +25347 -0
- package/dist/composables.d.ts +39 -0
- package/dist/composables.js +1 -0
- package/dist/composables.mjs +5 -0
- package/dist/index-DJPTWX6O.js +2223 -0
- package/dist/index-K0bKFr5g.cjs +5 -0
- package/dist/index.d.ts +998 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +17 -0
- package/dist/styles/map.css +0 -0
- package/dist/utils.d.ts +130 -0
- package/dist/utils.js +1 -0
- package/dist/utils.mjs +1 -0
- package/package.json +72 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";function Tn(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const se=process.env.NODE_ENV!=="production"?Object.freeze({}):{},In=process.env.NODE_ENV!=="production"?Object.freeze([]):[],ne=()=>{},$n=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),D=Object.assign,Pn=Object.prototype.hasOwnProperty,Ve=(e,t)=>Pn.call(e,t),m=Array.isArray,G=e=>Fe(e)==="[object Map]",At=e=>Fe(e)==="[object Set]",v=e=>typeof e=="function",I=e=>typeof e=="string",J=e=>typeof e=="symbol",b=e=>e!==null&&typeof e=="object",An=e=>(b(e)||v(e))&&v(e.then)&&v(e.catch),Mt=Object.prototype.toString,Fe=e=>Mt.call(e),kt=e=>Fe(e).slice(8,-1),jt=e=>Fe(e)==="[object Object]",ut=e=>I(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ht=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ft=Ht(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mn=Ht(e=>e?`on${Ft(e)}`:""),U=(e,t)=>!Object.is(e,t),kn=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})};let St;const We=()=>St||(St=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Le(e){if(m(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=I(s)?Wn(s):Le(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(I(e)||b(e))return e}const jn=/;(?![^(]*\))/g,Hn=/:([^]+)/,Fn=/\/\*[^]*?\*\//g;function Wn(e){const t={};return e.replace(Fn,"").split(jn).forEach(n=>{if(n){const s=n.split(Hn);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ke(e){let t="";if(I(e))t=e;else if(m(e))for(let n=0;n<e.length;n++){const s=Ke(e[n]);s&&(t+=s+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Wt=e=>!!(e&&e.__v_isRef===!0),Lt=e=>I(e)?e:e==null?"":m(e)||b(e)&&(e.toString===Mt||!v(e.toString))?Wt(e)?Lt(e.value):JSON.stringify(e,Kt,2):String(e),Kt=(e,t)=>Wt(t)?Kt(e,t.value):G(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Ye(s,o)+" =>"]=r,n),{})}:At(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ye(n))}:J(t)?Ye(t):b(t)&&!m(t)&&!jt(t)?String(t):t,Ye=(e,t="")=>{var n;return J(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function k(e,...t){}let g;const qe=new WeakSet;class Ln{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,qe.has(this)&&(qe.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ut(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ot(this),Bt(this);const t=g,n=$;g=this,$=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&g!==this&&k("Active effect was not restored correctly - this is likely a Vue internal bug."),Jt(this),g=t,$=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)dt(t);this.deps=this.depsTail=void 0,Ot(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?qe.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){nt(this)&&this.run()}get dirty(){return nt(this)}}let zt=0,de,he;function Ut(e,t=!1){if(e.flags|=8,t){e.next=he,he=e;return}e.next=de,de=e}function ft(){zt++}function pt(){if(--zt>0)return;if(he){let t=he;for(he=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;de;){let t=de;for(de=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Bt(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Jt(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),dt(s),Kn(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function nt(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Yt(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Yt(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===_e)||(e.globalVersion=_e,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!nt(e))))return;e.flags|=2;const t=e.dep,n=g,s=$;g=e,$=!0;try{Bt(e);const r=e.fn(e._value);(t.version===0||U(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{g=n,$=s,Jt(e),e.flags&=-3}}function dt(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=r),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)dt(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Kn(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let $=!0;const qt=[];function ce(){qt.push($),$=!1}function le(){const e=qt.pop();$=e===void 0?!0:e}function Ot(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=g;g=void 0;try{t()}finally{g=n}}}let _e=0;class zn{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ht{constructor(t){this.computed=t,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,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!g||!$||g===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==g)n=this.activeLink=new zn(g,this),g.deps?(n.prevDep=g.depsTail,g.depsTail.nextDep=n,g.depsTail=n):g.deps=g.depsTail=n,Gt(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=g.depsTail,n.nextDep=void 0,g.depsTail.nextDep=n,g.depsTail=n,g.deps===n&&(g.deps=s)}return process.env.NODE_ENV!=="production"&&g.onTrack&&g.onTrack(D({effect:g},t)),n}trigger(t){this.version++,_e++,this.notify(t)}notify(t){ft();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(D({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{pt()}}}function Gt(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Gt(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const rt=new WeakMap,Q=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),st=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),ge=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function x(e,t,n){if($&&g){let s=rt.get(e);s||rt.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new ht),r.map=s,r.key=n),process.env.NODE_ENV!=="production"?r.track({target:e,type:t,key:n}):r.track()}}function K(e,t,n,s,r,o){const i=rt.get(e);if(!i){_e++;return}const c=l=>{l&&(process.env.NODE_ENV!=="production"?l.trigger({target:e,type:t,key:n,newValue:s,oldValue:r,oldTarget:o}):l.trigger())};if(ft(),t==="clear")i.forEach(c);else{const l=m(e),f=l&&ut(n);if(l&&n==="length"){const p=Number(s);i.forEach((a,u)=>{(u==="length"||u===ge||!J(u)&&u>=p)&&c(a)})}else switch((n!==void 0||i.has(void 0))&&c(i.get(n)),f&&c(i.get(ge)),t){case"add":l?f&&c(i.get("length")):(c(i.get(Q)),G(e)&&c(i.get(st)));break;case"delete":l||(c(i.get(Q)),G(e)&&c(i.get(st)));break;case"set":G(e)&&c(i.get(Q));break}}pt()}function ee(e){const t=h(e);return t===e?t:(x(t,"iterate",ge),S(e)?t:t.map(A))}function ze(e){return x(e=h(e),"iterate",ge),e}function W(e,t){return P(e)?B(e)?oe(A(t)):oe(t):A(t)}const Un={__proto__:null,[Symbol.iterator](){return Ge(this,Symbol.iterator,e=>W(this,e))},concat(...e){return ee(this).concat(...e.map(t=>m(t)?ee(t):t))},entries(){return Ge(this,"entries",e=>(e[1]=W(this,e[1]),e))},every(e,t){return j(this,"every",e,t,void 0,arguments)},filter(e,t){return j(this,"filter",e,t,n=>n.map(s=>W(this,s)),arguments)},find(e,t){return j(this,"find",e,t,n=>W(this,n),arguments)},findIndex(e,t){return j(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return j(this,"findLast",e,t,n=>W(this,n),arguments)},findLastIndex(e,t){return j(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return j(this,"forEach",e,t,void 0,arguments)},includes(...e){return Qe(this,"includes",e)},indexOf(...e){return Qe(this,"indexOf",e)},join(e){return ee(this).join(e)},lastIndexOf(...e){return Qe(this,"lastIndexOf",e)},map(e,t){return j(this,"map",e,t,void 0,arguments)},pop(){return ue(this,"pop")},push(...e){return ue(this,"push",e)},reduce(e,...t){return xt(this,"reduce",e,t)},reduceRight(e,...t){return xt(this,"reduceRight",e,t)},shift(){return ue(this,"shift")},some(e,t){return j(this,"some",e,t,void 0,arguments)},splice(...e){return ue(this,"splice",e)},toReversed(){return ee(this).toReversed()},toSorted(e){return ee(this).toSorted(e)},toSpliced(...e){return ee(this).toSpliced(...e)},unshift(...e){return ue(this,"unshift",e)},values(){return Ge(this,"values",e=>W(this,e))}};function Ge(e,t,n){const s=ze(e),r=s[t]();return s!==e&&!S(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const Bn=Array.prototype;function j(e,t,n,s,r,o){const i=ze(e),c=i!==e&&!S(e),l=i[t];if(l!==Bn[t]){const a=l.apply(e,o);return c?A(a):a}let f=n;i!==e&&(c?f=function(a,u){return n.call(this,W(e,a),u,e)}:n.length>2&&(f=function(a,u){return n.call(this,a,u,e)}));const p=l.call(i,f,s);return c&&r?r(p):p}function xt(e,t,n,s){const r=ze(e);let o=n;return r!==e&&(S(e)?n.length>3&&(o=function(i,c,l){return n.call(this,i,c,l,e)}):o=function(i,c,l){return n.call(this,i,W(e,c),l,e)}),r[t](o,...s)}function Qe(e,t,n){const s=h(e);x(s,"iterate",ge);const r=s[t](...n);return(r===-1||r===!1)&&Re(n[0])?(n[0]=h(n[0]),s[t](...n)):r}function ue(e,t,n=[]){ce(),ft();const s=h(e)[t].apply(e,n);return pt(),le(),s}const Jn=Tn("__proto__,__v_isRef,__isVue"),Qt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(J));function Yn(e){J(e)||(e=String(e));const t=h(this);return x(t,"has",e),t.hasOwnProperty(e)}class Xt{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?nn:tn:o?sr:en).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=m(t);if(!r){let l;if(i&&(l=Un[n]))return l;if(n==="hasOwnProperty")return Yn}const c=Reflect.get(t,n,O(t)?t:s);if((J(n)?Qt.has(n):Jn(n))||(r||x(t,"get",n),o))return c;if(O(c)){const l=i&&ut(n)?c:c.value;return r&&b(l)?it(l):l}return b(c)?r?it(c):rn(c):c}}class qn extends Xt{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=m(t)&&ut(n);if(!this._isShallow){const f=P(o);if(!S(s)&&!P(s)&&(o=h(o),s=h(s)),!i&&O(o)&&!O(s))return f?(process.env.NODE_ENV!=="production"&&k(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(o.value=s,!0)}const c=i?Number(n)<t.length:Ve(t,n),l=Reflect.set(t,n,s,O(t)?t:r);return t===h(r)&&(c?U(s,o)&&K(t,"set",n,s,o):K(t,"add",n,s)),l}deleteProperty(t,n){const s=Ve(t,n),r=t[n],o=Reflect.deleteProperty(t,n);return o&&s&&K(t,"delete",n,void 0,r),o}has(t,n){const s=Reflect.has(t,n);return(!J(n)||!Qt.has(n))&&x(t,"has",n),s}ownKeys(t){return x(t,"iterate",m(t)?"length":Q),Reflect.ownKeys(t)}}class Zt extends Xt{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&k(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&k(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Gn=new qn,Qn=new Zt,Xn=new Zt(!0),ot=e=>e,we=e=>Reflect.getPrototypeOf(e);function Zn(e,t,n){return function(...s){const r=this.__v_raw,o=h(r),i=G(o),c=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=r[e](...s),p=n?ot:t?oe:A;return!t&&x(o,"iterate",l?st:Q),{next(){const{value:a,done:u}=f.next();return u?{value:a,done:u}:{value:c?[p(a[0]),p(a[1])]:p(a),done:u}},[Symbol.iterator](){return this}}}}function Ne(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";k(`${Ft(e)} operation ${n}failed: target is readonly.`,h(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function er(e,t){const n={get(r){const o=this.__v_raw,i=h(o),c=h(r);e||(U(r,c)&&x(i,"get",r),x(i,"get",c));const{has:l}=we(i),f=t?ot:e?oe:A;if(l.call(i,r))return f(o.get(r));if(l.call(i,c))return f(o.get(c));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&x(h(r),"iterate",Q),r.size},has(r){const o=this.__v_raw,i=h(o),c=h(r);return e||(U(r,c)&&x(i,"has",r),x(i,"has",c)),r===c?o.has(r):o.has(r)||o.has(c)},forEach(r,o){const i=this,c=i.__v_raw,l=h(c),f=t?ot:e?oe:A;return!e&&x(l,"iterate",Q),c.forEach((p,a)=>r.call(o,f(p),f(a),i))}};return D(n,e?{add:Ne("add"),set:Ne("set"),delete:Ne("delete"),clear:Ne("clear")}:{add(r){!t&&!S(r)&&!P(r)&&(r=h(r));const o=h(this);return we(o).has.call(o,r)||(o.add(r),K(o,"add",r,r)),this},set(r,o){!t&&!S(o)&&!P(o)&&(o=h(o));const i=h(this),{has:c,get:l}=we(i);let f=c.call(i,r);f?process.env.NODE_ENV!=="production"&&Dt(i,c,r):(r=h(r),f=c.call(i,r));const p=l.call(i,r);return i.set(r,o),f?U(o,p)&&K(i,"set",r,o,p):K(i,"add",r,o),this},delete(r){const o=h(this),{has:i,get:c}=we(o);let l=i.call(o,r);l?process.env.NODE_ENV!=="production"&&Dt(o,i,r):(r=h(r),l=i.call(o,r));const f=c?c.call(o,r):void 0,p=o.delete(r);return l&&K(o,"delete",r,void 0,f),p},clear(){const r=h(this),o=r.size!==0,i=process.env.NODE_ENV!=="production"?G(r)?new Map(r):new Set(r):void 0,c=r.clear();return o&&K(r,"clear",void 0,void 0,i),c}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Zn(r,e,t)}),n}function _t(e,t){const n=er(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Ve(n,r)&&r in s?n:s,r,o)}const tr={get:_t(!1,!1)},nr={get:_t(!0,!1)},rr={get:_t(!0,!0)};function Dt(e,t,n){const s=h(n);if(s!==n&&t.call(e,s)){const r=kt(e);k(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const en=new WeakMap,sr=new WeakMap,tn=new WeakMap,nn=new WeakMap;function or(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ir(e){return e.__v_skip||!Object.isExtensible(e)?0:or(kt(e))}function rn(e){return P(e)?e:gt(e,!1,Gn,tr,en)}function it(e){return gt(e,!0,Qn,nr,tn)}function Se(e){return gt(e,!0,Xn,rr,nn)}function gt(e,t,n,s,r){if(!b(e))return process.env.NODE_ENV!=="production"&&k(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=ir(e);if(o===0)return e;const i=r.get(e);if(i)return i;const c=new Proxy(e,o===2?s:n);return r.set(e,c),c}function B(e){return P(e)?B(e.__v_raw):!!(e&&e.__v_isReactive)}function P(e){return!!(e&&e.__v_isReadonly)}function S(e){return!!(e&&e.__v_isShallow)}function Re(e){return e?!!e.__v_raw:!1}function h(e){const t=e&&e.__v_raw;return t?h(t):e}function cr(e){return!Ve(e,"__v_skip")&&Object.isExtensible(e)&&kn(e,"__v_skip",!0),e}const A=e=>b(e)?rn(e):e,oe=e=>b(e)?it(e):e;function O(e){return e?e.__v_isRef===!0:!1}function lr(e){return ar(e,!1)}function ar(e,t){return O(e)?e:new ur(e,t)}class ur{constructor(t,n){this.dep=new ht,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:h(t),this._value=n?t:A(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||S(t)||P(t);t=s?t:h(t),U(t,n)&&(this._rawValue=t,this._value=s?t:A(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function fr(e){return O(e)?e.value:e}const pr={get:(e,t,n)=>t==="__v_raw"?e:fr(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return O(r)&&!O(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function dr(e){return B(e)?e:new Proxy(e,pr)}class hr{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ht(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=_e-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&g!==this)return Ut(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Yt(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&k("Write operation failed: computed value is readonly")}}function _r(e,t,n=!1){let s,r;v(e)?s=e:(s=e.get,r=e.set);const o=new hr(s,r,n);return process.env.NODE_ENV,o}const Oe={},Ce=new WeakMap;let q;function gr(e,t=!1,n=q){if(n){let s=Ce.get(n);s||Ce.set(n,s=[]),s.push(e)}else process.env.NODE_ENV!=="production"&&!t&&k("onWatcherCleanup() was called when there was no active watcher to associate with.")}function mr(e,t,n=se){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:c,call:l}=n,f=_=>{(n.onWarn||k)("Invalid watch source: ",_,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},p=_=>r?_:S(_)||r===!1||r===0?F(_,1):F(_);let a,u,d,E,C=!1,Ee=!1;if(O(e)?(u=()=>e.value,C=S(e)):B(e)?(u=()=>p(e),C=!0):m(e)?(Ee=!0,C=e.some(_=>B(_)||S(_)),u=()=>e.map(_=>{if(O(_))return _.value;if(B(_))return p(_);if(v(_))return l?l(_,2):_();process.env.NODE_ENV!=="production"&&f(_)})):v(e)?t?u=l?()=>l(e,2):e:u=()=>{if(d){ce();try{d()}finally{le()}}const _=q;q=a;try{return l?l(e,3,[E]):e(E)}finally{q=_}}:(u=ne,process.env.NODE_ENV!=="production"&&f(e)),t&&r){const _=u,M=r===!0?1/0:r;u=()=>F(_(),M)}const Z=()=>{a.stop()};if(o&&t){const _=t;t=(...M)=>{_(...M),Z()}}let Y=Ee?new Array(e.length).fill(Oe):Oe;const ae=_=>{if(!(!(a.flags&1)||!a.dirty&&!_))if(t){const M=a.run();if(r||C||(Ee?M.some((Je,be)=>U(Je,Y[be])):U(M,Y))){d&&d();const Je=q;q=a;try{const be=[M,Y===Oe?void 0:Ee&&Y[0]===Oe?[]:Y,E];Y=M,l?l(t,3,be):t(...be)}finally{q=Je}}}else a.run()};return c&&c(ae),a=new Ln(u),a.scheduler=i?()=>i(ae,!1):ae,E=_=>gr(_,!1,a),d=a.onStop=()=>{const _=Ce.get(a);if(_){if(l)l(_,4);else for(const M of _)M();Ce.delete(a)}},process.env.NODE_ENV!=="production"&&(a.onTrack=n.onTrack,a.onTrigger=n.onTrigger),t?s?ae(!0):Y=a.run():i?i(ae.bind(null,!0),!0):a.run(),Z.pause=a.pause.bind(a),Z.resume=a.resume.bind(a),Z.stop=Z,Z}function F(e,t=1/0,n){if(t<=0||!b(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,O(e))F(e.value,t,n);else if(m(e))for(let s=0;s<e.length;s++)F(e[s],t,n);else if(At(e)||G(e))e.forEach(s=>{F(s,t,n)});else if(jt(e)){for(const s in e)F(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&F(e[s],t,n)}return e}const X=[];function vr(e){X.push(e)}function yr(){X.pop()}let Xe=!1;function y(e,...t){if(Xe)return;Xe=!0,ce();const n=X.length?X[X.length-1].component:null,s=n&&n.appContext.config.warnHandler,r=Er();if(s)Ue(s,n,11,[e+t.map(o=>{var i,c;return(c=(i=o.toString)==null?void 0:i.call(o))!=null?c:JSON.stringify(o)}).join(""),n&&n.proxy,r.map(({vnode:o})=>`at <${Rn(n,o.type)}>`).join(`
|
|
2
|
+
`),r]);else{const o=[`[Vue warn]: ${e}`,...t];r.length&&o.push(`
|
|
3
|
+
`,...br(r))}le(),Xe=!1}function Er(){let e=X[X.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function br(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[`
|
|
4
|
+
`],...wr(n))}),t}function wr({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,r=` at <${Rn(e.component,e.type,s)}`,o=">"+n;return e.props?[r,...Nr(e.props),o]:[r+o]}function Nr(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...sn(s,e[s]))}),n.length>3&&t.push(" ..."),t}function sn(e,t,n){return I(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:O(t)?(t=sn(e,h(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):v(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=h(t),n?t:[`${e}=`,t])}const mt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Ue(e,t,n,s){try{return s?e(...s):e()}catch(r){yt(r,t,n)}}function vt(e,t,n,s){if(v(e)){const r=Ue(e,t,n,s);return r&&An(r)&&r.catch(o=>{yt(o,t,n)}),r}if(m(e)){const r=[];for(let o=0;o<e.length;o++)r.push(vt(e[o],t,n,s));return r}else process.env.NODE_ENV!=="production"&&y(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function yt(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||se;if(t){let c=t.parent;const l=t.proxy,f=process.env.NODE_ENV!=="production"?mt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const p=c.ec;if(p){for(let a=0;a<p.length;a++)if(p[a](e,l,f)===!1)return}c=c.parent}if(o){ce(),Ue(o,null,10,[e,l,f]),le();return}}Sr(e,n,r,s,i)}function Sr(e,t,n,s=!0,r=!1){if(process.env.NODE_ENV!=="production"){const o=mt[t];if(n&&vr(n),y(`Unhandled error${o?` during execution of ${o}`:""}`),n&&yr(),s)throw e}else if(r)throw e}const T=[];let H=-1;const re=[];let L=null,te=0;const on=Promise.resolve();let Te=null;const Or=100;function cn(e){const t=Te||on;return e?t.then(this?e.bind(this):e):t}function xr(e){let t=H+1,n=T.length;for(;t<n;){const s=t+n>>>1,r=T[s],o=me(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Et(e){if(!(e.flags&1)){const t=me(e),n=T[T.length-1];!n||!(e.flags&2)&&t>=me(n)?T.push(e):T.splice(xr(t),0,e),e.flags|=1,ln()}}function ln(){Te||(Te=on.then(un))}function an(e){m(e)?re.push(...e):L&&e.id===-1?L.splice(te+1,0,e):e.flags&1||(re.push(e),e.flags|=1),ln()}function Dr(e){if(re.length){const t=[...new Set(re)].sort((n,s)=>me(n)-me(s));if(re.length=0,L){L.push(...t);return}for(L=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),te=0;te<L.length;te++){const n=L[te];process.env.NODE_ENV!=="production"&&fn(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}L=null,te=0}}const me=e=>e.id==null?e.flags&2?-1:1/0:e.id;function un(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>fn(e,n):ne;try{for(H=0;H<T.length;H++){const n=T[H];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Ue(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;H<T.length;H++){const n=T[H];n&&(n.flags&=-2)}H=-1,T.length=0,Dr(e),Te=null,(T.length||re.length)&&un(e)}}function fn(e,t){const n=e.get(t)||0;if(n>Or){const s=t.i,r=s&&Vn(s.type);return yt(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}const Ze=new Map;process.env.NODE_ENV!=="production"&&(We().__VUE_HMR_RUNTIME__={createRecord:et(Vr),rerender:et(Rr),reload:et(Cr)});const Ie=new Map;function Vr(e,t){return Ie.has(e)?!1:(Ie.set(e,{initialDef:$e(t),instances:new Set}),!0)}function $e(e){return Cn(e)?e.__vccOpts:e}function Rr(e,t){const n=Ie.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,$e(s.type).render=t),s.renderCache=[],s.job.flags&8||s.update()}))}function Cr(e,t){const n=Ie.get(e);if(!n)return;t=$e(t),Vt(n.initialDef,t);const s=[...n.instances];for(let r=0;r<s.length;r++){const o=s[r],i=$e(o.type);let c=Ze.get(i);c||(i!==n.initialDef&&Vt(i,t),Ze.set(i,c=new Set)),c.add(o),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(c.add(o),o.ceReload(t.styles),c.delete(o)):o.parent?Et(()=>{o.job.flags&8||(o.parent.update(),c.delete(o))}):o.appContext.reload?o.appContext.reload():typeof window<"u"&&window.location.reload(),o.root.ce&&o!==o.root&&o.root.ce._removeChildStyle(i)}an(()=>{Ze.clear()})}function Vt(e,t){D(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function et(e){return(t,n)=>{try{return e(t,n)}catch{}}}let z,fe=[],ct=!1;function Tr(e,...t){z?z.emit(e,...t):ct||fe.push({event:e,args:t})}function pn(e,t){var n,s;z=e,z?(z.enabled=!0,fe.forEach(({event:r,args:o})=>z.emit(r,...o)),fe=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{pn(o,t)}),setTimeout(()=>{z||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ct=!0,fe=[])},3e3)):(ct=!0,fe=[])}const Ir=$r("component:updated");function $r(e){return t=>{Tr(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}let w=null,dn=null;function Rt(e){const t=w;return w=e,dn=e&&e.type.__scopeId||null,t}function Pr(e,t=w,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Pt(-1);const o=Rt(t);let i;try{i=e(...r)}finally{Rt(o),s._d&&Pt(1)}return process.env.NODE_ENV!=="production"&&Ir(t),i};return s._n=!0,s._c=!0,s._d=!0,s}function Ar(e,t){if(w===null)return process.env.NODE_ENV!=="production"&&y("withDirectives can only be used inside render functions."),e;const n=Dn(w),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,c,l=se]=t[r];o&&(v(o)&&(o={mounted:o,updated:o}),o.deep&&F(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:c,modifiers:l}))}return e}function Mr(e,t){if(process.env.NODE_ENV!=="production"&&(!V||V.isMounted)&&y("provide() can only be used inside setup()."),V){let n=V.provides;const s=V.parent&&V.parent.provides;s===n&&(n=V.provides=Object.create(s)),n[e]=t}}function Pe(e,t,n=!1){const s=On();if(s||ts){let r=s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&v(t)?t.call(s&&s.proxy):t;process.env.NODE_ENV!=="production"&&y(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&y("inject() can only be used inside setup() or functional components.")}const kr=Symbol.for("v-scx"),jr=()=>{{const e=Pe(kr);return e||process.env.NODE_ENV!=="production"&&y("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Hr(e,t){return bt(e,null,t)}function Fr(e,t,n){return process.env.NODE_ENV!=="production"&&!v(t)&&y("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),bt(e,t,n)}function bt(e,t,n=se){const{immediate:s,deep:r,flush:o,once:i}=n;process.env.NODE_ENV!=="production"&&!t&&(s!==void 0&&y('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&y('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&y('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const c=D({},n);process.env.NODE_ENV!=="production"&&(c.onWarn=y);const l=t&&s||!t&&o!=="post";let f;if(ye){if(o==="sync"){const d=jr();f=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=ne,d.resume=ne,d.pause=ne,d}}const p=V;c.call=(d,E,C)=>vt(d,p,E,C);let a=!1;o==="post"?c.scheduler=d=>{rs(d,p&&p.suspense)}:o!=="sync"&&(a=!0,c.scheduler=(d,E)=>{E?d():Et(d)}),c.augmentJob=d=>{t&&(d.flags|=4),a&&(d.flags|=2,p&&(d.id=p.uid,d.i=p))};const u=mr(e,t,c);return ye&&(f?f.push(u):l&&u()),u}function Wr(e,t,n){const s=this.proxy,r=I(e)?e.includes(".")?Lr(s,e):()=>s[e]:e.bind(s,s);let o;v(t)?o=t:(o=t.handler,n=t);const i=xn(this),c=bt(r,o.bind(s),n);return i(),c}function Lr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Kr=e=>e.__isTeleport;function hn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,hn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function zr(e,t){return v(e)?D({name:e.name},t,{setup:e}):e}We().requestIdleCallback;We().cancelIdleCallback;const Ur=e=>!!e.type.__asyncLoader;function Br(e,t,n=V,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{ce();const c=xn(n),l=vt(t,n,e,i);return c(),le(),l});return s?r.unshift(o):r.push(o),o}else if(process.env.NODE_ENV!=="production"){const r=Mn(mt[e].replace(/ hook$/,""));y(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const _n=e=>(t,n=V)=>{(!ye||e==="sp")&&Br(e,(...s)=>t(...s),n)},gn=_n("m"),mn=_n("bum"),Jr=Symbol.for("v-ndc");function Yr(e,t,n,s){let r;const o=n,i=m(e);if(i||I(e)){const c=i&&B(e);let l=!1,f=!1;c&&(l=!S(e),f=P(e),e=ze(e)),r=new Array(e.length);for(let p=0,a=e.length;p<a;p++)r[p]=t(l?f?oe(A(e[p])):A(e[p]):e[p],p,void 0,o)}else if(typeof e=="number"){process.env.NODE_ENV!=="production"&&!Number.isInteger(e)&&y(`The v-for range expect an integer value but got ${e}.`),r=new Array(e);for(let c=0;c<e;c++)r[c]=t(c+1,c,void 0,o)}else if(b(e))if(e[Symbol.iterator])r=Array.from(e,(c,l)=>t(c,l,void 0,o));else{const c=Object.keys(e);r=new Array(c.length);for(let l=0,f=c.length;l<f;l++){const p=c[l];r[l]=t(e[p],p,l,o)}}else r=[];return r}function qr(e,t,n={},s,r){if(w.ce||w.parent&&Ur(w.parent)&&w.parent.ce){const f=Object.keys(n).length>0;return ke(),je(ie,null,[Be("slot",n,s)],f?-2:64)}let o=e[t];process.env.NODE_ENV!=="production"&&o&&o.length>1&&(y("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),o=()=>[]),o&&o._c&&(o._d=!1),ke();const i=o&&vn(o(n)),c=n.key||i&&i.key,l=je(ie,{key:(c&&!J(c)?c:`_${t}`)+(!i&&s?"_fb":"")},i||[],i&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function vn(e){return e.some(t=>bn(t)?!(t.type===Me||t.type===ie&&!vn(t.children)):!0)?e:null}const lt=e=>e?hs(e)?Dn(e):lt(e.parent):null,tt=D(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Se(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Se(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Se(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Se(e.refs):e.refs,$parent:e=>lt(e.parent),$root:e=>lt(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qr(e),$forceUpdate:e=>e.f||(e.f=()=>{Et(e.update)}),$nextTick:e=>e.n||(e.n=cn.bind(e.proxy)),$watch:e=>Wr.bind(e)}),Gr={};process.env.NODE_ENV!=="production"&&(Gr.ownKeys=e=>(y("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function Ct(e){return m(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Qr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,c=o.get(t);let l;return c?l=c:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(f=>Ae(l,f,i,!0)),Ae(l,t,i)),b(t)&&o.set(t,l),l}function Ae(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Ae(e,o,n,!0),r&&r.forEach(i=>Ae(e,i,n,!0));for(const i in t)if(s&&i==="expose")process.env.NODE_ENV!=="production"&&y('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const c=Xr[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Xr={data:Tt,props:$t,emits:$t,methods:pe,computed:pe,beforeCreate:N,created:N,beforeMount:N,mounted:N,beforeUpdate:N,updated:N,beforeDestroy:N,beforeUnmount:N,destroyed:N,unmounted:N,activated:N,deactivated:N,errorCaptured:N,serverPrefetch:N,components:pe,directives:pe,watch:es,provide:Tt,inject:Zr};function Tt(e,t){return t?e?function(){return D(v(e)?e.call(this,this):e,v(t)?t.call(this,this):t)}:t:e}function Zr(e,t){return pe(It(e),It(t))}function It(e){if(m(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function N(e,t){return e?[...new Set([].concat(e,t))]:t}function pe(e,t){return e?D(Object.create(null),e,t):t}function $t(e,t){return e?m(e)&&m(t)?[...new Set([...e,...t])]:D(Object.create(null),Ct(e),Ct(t??{})):t}function es(e,t){if(!e)return t;if(!t)return e;const n=D(Object.create(null),e);for(const s in t)n[s]=N(e[s],t[s]);return n}let ts=null;const ns={},yn=e=>Object.getPrototypeOf(e)===ns,rs=os,ss=e=>e.__isSuspense;function os(e,t){t&&t.pendingBranch?m(e)?t.effects.push(...e):t.effects.push(e):an(e)}const ie=Symbol.for("v-fgt"),is=Symbol.for("v-txt"),Me=Symbol.for("v-cmt"),xe=[];let R=null;function ke(e=!1){xe.push(R=e?null:[])}function cs(){xe.pop(),R=xe[xe.length-1]||null}let ve=1;function Pt(e,t=!1){ve+=e,e<0&&R&&t&&(R.hasOnce=!0)}function En(e){return e.dynamicChildren=ve>0?R||In:null,cs(),ve>0&&R&&R.push(e),e}function ls(e,t,n,s,r,o){return En(wt(e,t,n,s,r,o,!0))}function je(e,t,n,s,r){return En(Be(e,t,n,s,r,!0))}function bn(e){return e?e.__v_isVNode===!0:!1}const as=(...e)=>Nn(...e),wn=({key:e})=>e??null,De=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?I(e)||O(e)||v(e)?{i:w,r:e,k:t,f:!!n}:e:null);function wt(e,t=null,n=null,s=0,r=null,o=e===ie?0:1,i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wn(t),ref:t&&De(t),scopeId:dn,slotScopeIds:null,children:n,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:w};return c?(Nt(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=I(n)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&y("VNode created with invalid key (NaN). VNode type:",l.type),ve>0&&!i&&R&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&R.push(l),l}const Be=process.env.NODE_ENV!=="production"?as:Nn;function Nn(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Jr)&&(process.env.NODE_ENV!=="production"&&!e&&y(`Invalid vnode type when creating vnode: ${e}.`),e=Me),bn(e)){const c=He(e,t,!0);return n&&Nt(c,n),ve>0&&!o&&R&&(c.shapeFlag&6?R[R.indexOf(e)]=c:R.push(c)),c.patchFlag=-2,c}if(Cn(e)&&(e=e.__vccOpts),t){t=us(t);let{class:c,style:l}=t;c&&!I(c)&&(t.class=Ke(c)),b(l)&&(Re(l)&&!m(l)&&(l=D({},l)),t.style=Le(l))}const i=I(e)?1:ss(e)?128:Kr(e)?64:b(e)?4:v(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&Re(e)&&(e=h(e),y("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
5
|
+
Component that was made reactive: `,e)),wt(e,t,n,s,r,i,o,!0)}function us(e){return e?Re(e)||yn(e)?D({},e):e:null}function He(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:c,transition:l}=e,f=t?ds(r||{},t):r,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&wn(f),ref:t&&t.ref?n&&o?m(o)?o.concat(De(t)):[o,De(t)]:De(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&i===-1&&m(c)?c.map(Sn):c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ie?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&He(e.ssContent),ssFallback:e.ssFallback&&He(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&hn(p,l.clone(p)),p}function Sn(e){const t=He(e);return m(e.children)&&(t.children=e.children.map(Sn)),t}function fs(e=" ",t=0){return Be(is,null,e,t)}function ps(e="",t=!1){return t?(ke(),je(Me,null,e)):Be(Me,null,e)}function Nt(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(m(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Nt(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!yn(t)?t._ctx=w:r===3&&w&&(w.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else v(t)?(t={default:t,_ctx:w},n=32):(t=String(t),s&64?(n=16,t=[fs(t)]):n=8);e.children=t,e.shapeFlag|=n}function ds(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Ke([t.class,s.class]));else if(r==="style")t.style=Le([t.style,s.style]);else if($n(r)){const o=t[r],i=s[r];i&&o!==i&&!(m(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}let V=null;const On=()=>V||w;let at;{const e=We(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};at=t("__VUE_INSTANCE_SETTERS__",n=>V=n),t("__VUE_SSR_SETTERS__",n=>ye=n)}const xn=e=>{const t=V;return at(e),e.scope.on(),()=>{e.scope.off(),at(t)}};function hs(e){return e.vnode.shapeFlag&4}let ye=!1;process.env.NODE_ENV;function Dn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(dr(cr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in tt)return tt[n](e)},has(t,n){return n in t||n in tt}})):e.proxy}const _s=/(?:^|[-_])\w/g,gs=e=>e.replace(_s,t=>t.toUpperCase()).replace(/[-_]/g,"");function Vn(e,t=!0){return v(e)?e.displayName||e.name:e.name||t&&e.__name}function Rn(e,t,n=!1){let s=Vn(t);if(!s&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(s=r[1])}if(!s&&e){const r=o=>{for(const i in o)if(o[i]===t)return i};s=r(e.components)||e.parent&&r(e.parent.type.components)||r(e.appContext.components)}return s?gs(s):n?"App":"Anonymous"}function Cn(e){return v(e)&&"__vccOpts"in e}const ms=(e,t)=>{const n=_r(e,t,ye);if(process.env.NODE_ENV!=="production"){const s=On();s&&s.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function vs(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},s={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(a){if(!b(a))return null;if(a.__isVue)return["div",e,"VueInstance"];if(O(a)){ce();const u=a.value;return le(),["div",{},["span",e,p(a)],"<",c(u),">"]}else{if(B(a))return["div",{},["span",e,S(a)?"ShallowReactive":"Reactive"],"<",c(a),`>${P(a)?" (readonly)":""}`];if(P(a))return["div",{},["span",e,S(a)?"ShallowReadonly":"Readonly"],"<",c(a),">"]}return null},hasBody(a){return a&&a.__isVue},body(a){if(a&&a.__isVue)return["div",{},...o(a.$)]}};function o(a){const u=[];a.type.props&&a.props&&u.push(i("props",h(a.props))),a.setupState!==se&&u.push(i("setup",a.setupState)),a.data!==se&&u.push(i("data",h(a.data)));const d=l(a,"computed");d&&u.push(i("computed",d));const E=l(a,"inject");return E&&u.push(i("injected",E)),u.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:a}]]),u}function i(a,u){return u=D({},u),Object.keys(u).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},a],["div",{style:"padding-left:1.25em"},...Object.keys(u).map(d=>["div",{},["span",s,d+": "],c(u[d],!1)])]]:["span",{}]}function c(a,u=!0){return typeof a=="number"?["span",t,a]:typeof a=="string"?["span",n,JSON.stringify(a)]:typeof a=="boolean"?["span",s,a]:b(a)?["object",{object:u?h(a):a}]:["span",n,String(a)]}function l(a,u){const d=a.type;if(v(d))return;const E={};for(const C in a.ctx)f(d,C,u)&&(E[C]=a.ctx[C]);return E}function f(a,u,d){const E=a[d];if(m(E)&&E.includes(u)||b(E)&&u in E||a.extends&&f(a.extends,u,d)||a.mixins&&a.mixins.some(C=>f(C,u,d)))return!0}function p(a){return S(a)?"ShallowRef":a.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const ys=process.env.NODE_ENV!=="production"?y:ne;process.env.NODE_ENV;process.env.NODE_ENV;function Es(){vs()}process.env.NODE_ENV!=="production"&&Es();function bs(e,t){const n=Pe("map"),s=Pe("registerControl",null);let r=null;return gn(()=>{const o=async()=>{if(!n?.value){setTimeout(o,10);return}const i=t(n.value);r=i instanceof Promise?await i:i,s?s(r,e.position):n.value.addControl(r,e.position)};o()}),mn(()=>{if(n&&n.value&&r)try{n.value.removeControl(r)}catch{}}),{map:n,control:r}}function ws(e,t,n,s,r){return{onAdd(o){if(this._map=o,this._container=document.createElement("div"),this._container.className="maplibregl-ctrl maplibregl-ctrl-group",this._button=document.createElement("button"),this._button.className="map-button",this._button.type="button",this._button.title=n||"",this._button.onclick=r||null,t)this._button.style.backgroundImage=`url("${t}")`,this._button.style.backgroundSize="cover",this._button.style.backgroundPosition="center",this._button.style.backgroundRepeat="no-repeat",this._button.classList.add("has-image");else if(e){const i=document.createElement("i");i.className=e,i.style.fontSize=`${s||16}px`,this._button.appendChild(i)}return this._container.appendChild(this._button),this._container},onRemove(){this._container&&this._container.parentNode&&this._container.parentNode.removeChild(this._container),this._map=void 0}}}exports.Fragment=ie;exports.computed=ms;exports.createBaseVNode=wt;exports.createBlock=je;exports.createButtonControl=ws;exports.createCommentVNode=ps;exports.createElementBlock=ls;exports.defineComponent=zr;exports.inject=Pe;exports.nextTick=cn;exports.normalizeClass=Ke;exports.normalizeStyle=Le;exports.onBeforeUnmount=mn;exports.onMounted=gn;exports.openBlock=ke;exports.provide=Mr;exports.ref=lr;exports.renderList=Yr;exports.renderSlot=qr;exports.toDisplayString=Lt;exports.useMapControl=bs;exports.warn=ys;exports.watch=Fr;exports.watchEffect=Hr;exports.withCtx=Pr;exports.withDirectives=Ar;
|