diff --git a/bundle/lux.dist.mjs b/bundle/lux.dist.mjs index da4564cc..a1389a8b 100644 --- a/bundle/lux.dist.mjs +++ b/bundle/lux.dist.mjs @@ -1,61 +1,61 @@ -var xC = Object.defineProperty; -var bC = (t, e, n) => e in t ? xC(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n; -var ri = (t, e, n) => (bC(t, typeof e != "symbol" ? e + "" : e, n), n); -import { get as Ky, transformExtent as wC, getTransform as EC, transform as Lb } from "ol/proj"; -import { register as SC } from "ol/proj/proj4"; -import TC from "ol/Map"; -import MC from "ol/View"; -import IC from "ol/layer/Image"; -import CE from "ol/source/ImageWMS"; -import OC from "ol/layer/Tile"; +var bC = Object.defineProperty; +var wC = (t, e, n) => e in t ? bC(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n; +var ri = (t, e, n) => (wC(t, typeof e != "symbol" ? e + "" : e, n), n); +import { get as Ky, transformExtent as EC, getTransform as SC, transform as Db } from "ol/proj"; +import { register as TC } from "ol/proj/proj4"; +import MC from "ol/Map"; +import IC from "ol/View"; +import OC from "ol/layer/Image"; +import PE from "ol/source/ImageWMS"; +import CC from "ol/layer/Tile"; import AE from "ol/source/WMTS"; -import CC from "ol/tilegrid/WMTS"; +import PC from "ol/tilegrid/WMTS"; import { getTopLeft as AC } from "ol/extent"; -import PC from "ol/layer/Layer"; -import { toDegrees as kC } from "ol/math"; -import { toLonLat as LC } from "ol/proj.js"; -import * as Db from "ol/events"; -import DC from "ol/ObjectEventType"; -import { CLASS_UNSELECTABLE as PE, CLASS_CONTROL as kE } from "ol/css"; -import LE from "ol/control/Control"; -import NC from "ol/control/FullScreen"; -import RC from "ol/control/Zoom"; -import zC from "ol/control/ZoomToExtent"; -import FC from "ol/format/WMTSCapabilities.js"; +import kC from "ol/layer/Layer"; +import { toDegrees as LC } from "ol/math"; +import { toLonLat as DC } from "ol/proj.js"; +import * as Nb from "ol/events"; +import NC from "ol/ObjectEventType"; +import { CLASS_UNSELECTABLE as kE, CLASS_CONTROL as LE } from "ol/css"; +import DE from "ol/control/Control"; +import RC from "ol/control/FullScreen"; +import zC from "ol/control/Zoom"; +import FC from "ol/control/ZoomToExtent"; +import BC from "ol/format/WMTSCapabilities.js"; import { getRenderPixel as gy } from "ol/render"; -import { unByKey as BC } from "ol/Observable"; -import Nb from "ol/render/EventType"; -import VC from "ol/layer/Group.js"; -function UC(t, e) { +import { unByKey as VC } from "ol/Observable"; +import Rb from "ol/render/EventType"; +import UC from "ol/layer/Group.js"; +function jC(t, e) { for (var n = 0; n < e.length; n++) { - const o = e[n]; - if (typeof o != "string" && !Array.isArray(o)) { - for (const s in o) + const a = e[n]; + if (typeof a != "string" && !Array.isArray(a)) { + for (const s in a) if (s !== "default" && !(s in t)) { - const h = Object.getOwnPropertyDescriptor(o, s); - h && Object.defineProperty(t, s, h.get ? h : { + const f = Object.getOwnPropertyDescriptor(a, s); + f && Object.defineProperty(t, s, f.get ? f : { enumerable: !0, - get: () => o[s] + get: () => a[s] }); } } } return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" })); } -function Uu(t, e) { - const n = /* @__PURE__ */ Object.create(null), o = t.split(","); - for (let s = 0; s < o.length; s++) - n[o[s]] = !0; +function ju(t, e) { + const n = /* @__PURE__ */ Object.create(null), a = t.split(","); + for (let s = 0; s < a.length; s++) + n[a[s]] = !0; return e ? (s) => !!n[s.toLowerCase()] : (s) => !!n[s]; } -function ju(t) { +function Gu(t) { if (er(t)) { const e = {}; for (let n = 0; n < t.length; n++) { - const o = t[n], s = Hn(o) ? qC(o) : ju(o); + const a = t[n], s = Hn(a) ? WC(a) : Gu(a); if (s) - for (const h in s) - e[h] = s[h]; + for (const f in s) + e[f] = s[f]; } return e; } else { @@ -65,70 +65,70 @@ function ju(t) { return t; } } -const jC = /;(?![^(]*\))/g, GC = /:([^]+)/, $C = /\/\*.*?\*\//gs; -function qC(t) { +const GC = /;(?![^(]*\))/g, $C = /:([^]+)/, qC = /\/\*.*?\*\//gs; +function WC(t) { const e = {}; - return t.replace($C, "").split(jC).forEach((n) => { + return t.replace(qC, "").split(GC).forEach((n) => { if (n) { - const o = n.split(GC); - o.length > 1 && (e[o[0].trim()] = o[1].trim()); + const a = n.split($C); + a.length > 1 && (e[a[0].trim()] = a[1].trim()); } }), e; } -function Pr(t) { +function Br(t) { let e = ""; if (Hn(t)) e = t; else if (er(t)) for (let n = 0; n < t.length; n++) { - const o = Pr(t[n]); - o && (e += o + " "); + const a = Br(t[n]); + a && (e += a + " "); } else if (fn(t)) for (const n in t) t[n] && (e += n + " "); return e.trim(); } -const WC = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", HC = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", ZC = /* @__PURE__ */ Uu(WC), XC = /* @__PURE__ */ Uu(HC), KC = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", YC = /* @__PURE__ */ Uu(KC); -function DE(t) { +const HC = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", ZC = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", XC = /* @__PURE__ */ ju(HC), KC = /* @__PURE__ */ ju(ZC), YC = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", JC = /* @__PURE__ */ ju(YC); +function NE(t) { return !!t || t === ""; } -const Gt = (t) => Hn(t) ? t : t == null ? "" : er(t) || fn(t) && (t.toString === FE || !yr(t.toString)) ? JSON.stringify(t, NE, 2) : String(t), NE = (t, e) => e && e.__v_isRef ? NE(t, e.value) : Gc(e) ? { - [`Map(${e.size})`]: [...e.entries()].reduce((n, [o, s]) => (n[`${o} =>`] = s, n), {}) -} : zE(e) ? { +const Ht = (t) => Hn(t) ? t : t == null ? "" : er(t) || fn(t) && (t.toString === BE || !yr(t.toString)) ? JSON.stringify(t, RE, 2) : String(t), RE = (t, e) => e && e.__v_isRef ? RE(t, e.value) : $c(e) ? { + [`Map(${e.size})`]: [...e.entries()].reduce((n, [a, s]) => (n[`${a} =>`] = s, n), {}) +} : FE(e) ? { [`Set(${e.size})`]: [...e.values()] -} : fn(e) && !er(e) && !BE(e) ? String(e) : e, wn = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, bf = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], ao = () => { -}, RE = () => !1, JC = /^on[^a-z]/, Vd = (t) => JC.test(t), vg = (t) => t.startsWith("onUpdate:"), Wn = Object.assign, b1 = (t, e) => { +} : fn(e) && !er(e) && !VE(e) ? String(e) : e, wn = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, wf = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], ao = () => { +}, zE = () => !1, QC = /^on[^a-z]/, Ud = (t) => QC.test(t), _g = (t) => t.startsWith("onUpdate:"), Wn = Object.assign, wx = (t, e) => { const n = t.indexOf(e); n > -1 && t.splice(n, 1); -}, QC = Object.prototype.hasOwnProperty, jr = (t, e) => QC.call(t, e), er = Array.isArray, Gc = (t) => uv(t) === "[object Map]", zE = (t) => uv(t) === "[object Set]", yr = (t) => typeof t == "function", Hn = (t) => typeof t == "string", w1 = (t) => typeof t == "symbol", fn = (t) => t !== null && typeof t == "object", E1 = (t) => fn(t) && yr(t.then) && yr(t.catch), FE = Object.prototype.toString, uv = (t) => FE.call(t), S1 = (t) => uv(t).slice(8, -1), BE = (t) => uv(t) === "[object Object]", T1 = (t) => Hn(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, Yy = /* @__PURE__ */ Uu( +}, eP = Object.prototype.hasOwnProperty, jr = (t, e) => eP.call(t, e), er = Array.isArray, $c = (t) => cv(t) === "[object Map]", FE = (t) => cv(t) === "[object Set]", yr = (t) => typeof t == "function", Hn = (t) => typeof t == "string", Ex = (t) => typeof t == "symbol", fn = (t) => t !== null && typeof t == "object", Sx = (t) => fn(t) && yr(t.then) && yr(t.catch), BE = Object.prototype.toString, cv = (t) => BE.call(t), Tx = (t) => cv(t).slice(8, -1), VE = (t) => cv(t) === "[object Object]", Mx = (t) => Hn(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, Yy = /* @__PURE__ */ ju( ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted" -), eA = /* @__PURE__ */ Uu("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"), cv = (t) => { +), tP = /* @__PURE__ */ ju("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"), hv = (t) => { const e = /* @__PURE__ */ Object.create(null); return (n) => e[n] || (e[n] = t(n)); -}, tA = /-(\w)/g, ya = cv((t) => t.replace(tA, (e, n) => n ? n.toUpperCase() : "")), rA = /\B([A-Z])/g, ta = cv((t) => t.replace(rA, "-$1").toLowerCase()), Kc = cv((t) => t.charAt(0).toUpperCase() + t.slice(1)), Dc = cv((t) => t ? `on${Kc(t)}` : ""), Sd = (t, e) => !Object.is(t, e), Up = (t, e) => { +}, rP = /-(\w)/g, ya = hv((t) => t.replace(rP, (e, n) => n ? n.toUpperCase() : "")), nP = /\B([A-Z])/g, ta = hv((t) => t.replace(nP, "-$1").toLowerCase()), Yc = hv((t) => t.charAt(0).toUpperCase() + t.slice(1)), Nc = hv((t) => t ? `on${Yc(t)}` : ""), Td = (t, e) => !Object.is(t, e), jp = (t, e) => { for (let n = 0; n < t.length; n++) t[n](e); -}, _g = (t, e, n) => { +}, xg = (t, e, n) => { Object.defineProperty(t, e, { configurable: !0, enumerable: !1, value: n }); -}, nA = (t) => { +}, iP = (t) => { const e = parseFloat(t); return isNaN(e) ? t : e; -}, w0 = (t) => { +}, E0 = (t) => { const e = Hn(t) ? Number(t) : NaN; return isNaN(e) ? t : e; }; -let Rb; -const VE = () => Rb || (Rb = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}); -function xg(t, ...e) { +let zb; +const UE = () => zb || (zb = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}); +function bg(t, ...e) { console.warn(`[Vue warn] ${t}`, ...e); } let pa; -class UE { +class jE { constructor(e = !1) { this.detached = e, this._active = !0, this.effects = [], this.cleanups = [], this.parent = pa, !e && pa && (this.index = (pa.scopes || (pa.scopes = [])).push(this) - 1); } @@ -144,7 +144,7 @@ class UE { pa = n; } } else - process.env.NODE_ENV !== "production" && xg("cannot run an inactive effect scope."); + process.env.NODE_ENV !== "production" && bg("cannot run an inactive effect scope."); } on() { pa = this; @@ -154,13 +154,13 @@ class UE { } stop(e) { if (this._active) { - let n, o; - for (n = 0, o = this.effects.length; n < o; n++) + let n, a; + for (n = 0, a = this.effects.length; n < a; n++) this.effects[n].stop(); - for (n = 0, o = this.cleanups.length; n < o; n++) + for (n = 0, a = this.cleanups.length; n < a; n++) this.cleanups[n](); if (this.scopes) - for (n = 0, o = this.scopes.length; n < o; n++) + for (n = 0, a = this.scopes.length; n < a; n++) this.scopes[n].stop(!0); if (!this.detached && this.parent && !e) { const s = this.parent.scopes.pop(); @@ -170,64 +170,64 @@ class UE { } } } -function jE(t) { - return new UE(t); +function GE(t) { + return new jE(t); } -function iA(t, e = pa) { +function oP(t, e = pa) { e && e.active && e.effects.push(t); } -function GE() { +function $E() { return pa; } -function oA(t) { - pa ? pa.cleanups.push(t) : process.env.NODE_ENV !== "production" && xg("onScopeDispose() is called when there is no active effect scope to be associated with."); +function aP(t) { + pa ? pa.cleanups.push(t) : process.env.NODE_ENV !== "production" && bg("onScopeDispose() is called when there is no active effect scope to be associated with."); } -const Td = (t) => { +const Md = (t) => { const e = new Set(t); return e.w = 0, e.n = 0, e; -}, $E = (t) => (t.w & Nu) > 0, qE = (t) => (t.n & Nu) > 0, aA = ({ deps: t }) => { +}, qE = (t) => (t.w & Ru) > 0, WE = (t) => (t.n & Ru) > 0, sP = ({ deps: t }) => { if (t.length) for (let e = 0; e < t.length; e++) - t[e].w |= Nu; -}, sA = (t) => { + t[e].w |= Ru; +}, lP = (t) => { const { deps: e } = t; if (e.length) { let n = 0; - for (let o = 0; o < e.length; o++) { - const s = e[o]; - $E(s) && !qE(s) ? s.delete(t) : e[n++] = s, s.w &= ~Nu, s.n &= ~Nu; + for (let a = 0; a < e.length; a++) { + const s = e[a]; + qE(s) && !WE(s) ? s.delete(t) : e[n++] = s, s.w &= ~Ru, s.n &= ~Ru; } e.length = n; } -}, bg = /* @__PURE__ */ new WeakMap(); -let Yp = 0, Nu = 1; -const E0 = 30; +}, wg = /* @__PURE__ */ new WeakMap(); +let Jp = 0, Ru = 1; +const S0 = 30; let No; -const $c = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), S0 = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : ""); -class M1 { - constructor(e, n = null, o) { - this.fn = e, this.scheduler = n, this.active = !0, this.deps = [], this.parent = void 0, iA(this, o); +const qc = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), T0 = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : ""); +class Ix { + constructor(e, n = null, a) { + this.fn = e, this.scheduler = n, this.active = !0, this.deps = [], this.parent = void 0, oP(this, a); } run() { if (!this.active) return this.fn(); - let e = No, n = Au; + let e = No, n = Pu; for (; e; ) { if (e === this) return; e = e.parent; } try { - return this.parent = No, No = this, Au = !0, Nu = 1 << ++Yp, Yp <= E0 ? aA(this) : zb(this), this.fn(); + return this.parent = No, No = this, Pu = !0, Ru = 1 << ++Jp, Jp <= S0 ? sP(this) : Fb(this), this.fn(); } finally { - Yp <= E0 && sA(this), Nu = 1 << --Yp, No = this.parent, Au = n, this.parent = void 0, this.deferStop && this.stop(); + Jp <= S0 && lP(this), Ru = 1 << --Jp, No = this.parent, Pu = n, this.parent = void 0, this.deferStop && this.stop(); } } stop() { - No === this ? this.deferStop = !0 : this.active && (zb(this), this.onStop && this.onStop(), this.active = !1); + No === this ? this.deferStop = !0 : this.active && (Fb(this), this.onStop && this.onStop(), this.active = !1); } } -function zb(t) { +function Fb(t) { const { deps: e } = t; if (e.length) { for (let n = 0; n < e.length; n++) @@ -235,218 +235,218 @@ function zb(t) { e.length = 0; } } -let Au = !0; -const WE = []; -function th() { - WE.push(Au), Au = !1; -} +let Pu = !0; +const HE = []; function rh() { - const t = WE.pop(); - Au = t === void 0 ? !0 : t; + HE.push(Pu), Pu = !1; +} +function nh() { + const t = HE.pop(); + Pu = t === void 0 ? !0 : t; } function Bo(t, e, n) { - if (Au && No) { - let o = bg.get(t); - o || bg.set(t, o = /* @__PURE__ */ new Map()); - let s = o.get(n); - s || o.set(n, s = Td()); - const h = process.env.NODE_ENV !== "production" ? { effect: No, target: t, type: e, key: n } : void 0; - T0(s, h); + if (Pu && No) { + let a = wg.get(t); + a || wg.set(t, a = /* @__PURE__ */ new Map()); + let s = a.get(n); + s || a.set(n, s = Md()); + const f = process.env.NODE_ENV !== "production" ? { effect: No, target: t, type: e, key: n } : void 0; + M0(s, f); } } -function T0(t, e) { +function M0(t, e) { let n = !1; - Yp <= E0 ? qE(t) || (t.n |= Nu, n = !$E(t)) : n = !t.has(No), n && (t.add(No), No.deps.push(t), process.env.NODE_ENV !== "production" && No.onTrack && No.onTrack(Object.assign({ effect: No }, e))); + Jp <= S0 ? WE(t) || (t.n |= Ru, n = !qE(t)) : n = !t.has(No), n && (t.add(No), No.deps.push(t), process.env.NODE_ENV !== "production" && No.onTrack && No.onTrack(Object.assign({ effect: No }, e))); } -function Gl(t, e, n, o, s, h) { - const a = bg.get(t); - if (!a) +function Gl(t, e, n, a, s, f) { + const o = wg.get(t); + if (!o) return; let m = []; if (e === "clear") - m = [...a.values()]; + m = [...o.values()]; else if (n === "length" && er(t)) { - const b = Number(o); - a.forEach((T, M) => { + const b = Number(a); + o.forEach((T, M) => { (M === "length" || M >= b) && m.push(T); }); } else - switch (n !== void 0 && m.push(a.get(n)), e) { + switch (n !== void 0 && m.push(o.get(n)), e) { case "add": - er(t) ? T1(n) && m.push(a.get("length")) : (m.push(a.get($c)), Gc(t) && m.push(a.get(S0))); + er(t) ? Mx(n) && m.push(o.get("length")) : (m.push(o.get(qc)), $c(t) && m.push(o.get(T0))); break; case "delete": - er(t) || (m.push(a.get($c)), Gc(t) && m.push(a.get(S0))); + er(t) || (m.push(o.get(qc)), $c(t) && m.push(o.get(T0))); break; case "set": - Gc(t) && m.push(a.get($c)); + $c(t) && m.push(o.get(qc)); break; } - const g = process.env.NODE_ENV !== "production" ? { target: t, type: e, key: n, newValue: o, oldValue: s, oldTarget: h } : void 0; + const g = process.env.NODE_ENV !== "production" ? { target: t, type: e, key: n, newValue: a, oldValue: s, oldTarget: f } : void 0; if (m.length === 1) - m[0] && (process.env.NODE_ENV !== "production" ? pf(m[0], g) : pf(m[0])); + m[0] && (process.env.NODE_ENV !== "production" ? df(m[0], g) : df(m[0])); else { const b = []; for (const T of m) T && b.push(...T); - process.env.NODE_ENV !== "production" ? pf(Td(b), g) : pf(Td(b)); + process.env.NODE_ENV !== "production" ? df(Md(b), g) : df(Md(b)); } } -function pf(t, e) { +function df(t, e) { const n = er(t) ? t : [...t]; - for (const o of n) - o.computed && Fb(o, e); - for (const o of n) - o.computed || Fb(o, e); + for (const a of n) + a.computed && Bb(a, e); + for (const a of n) + a.computed || Bb(a, e); } -function Fb(t, e) { +function Bb(t, e) { (t !== No || t.allowRecurse) && (process.env.NODE_ENV !== "production" && t.onTrigger && t.onTrigger(Wn({ effect: t }, e)), t.scheduler ? t.scheduler() : t.run()); } -function lA(t, e) { +function uP(t, e) { var n; - return (n = bg.get(t)) === null || n === void 0 ? void 0 : n.get(e); + return (n = wg.get(t)) === null || n === void 0 ? void 0 : n.get(e); } -const uA = /* @__PURE__ */ Uu("__proto__,__v_isRef,__isVue"), HE = new Set( - /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(w1) -), cA = /* @__PURE__ */ hv(), hA = /* @__PURE__ */ hv(!1, !0), fA = /* @__PURE__ */ hv(!0), pA = /* @__PURE__ */ hv(!0, !0), Bb = /* @__PURE__ */ dA(); -function dA() { +const cP = /* @__PURE__ */ ju("__proto__,__v_isRef,__isVue"), ZE = new Set( + /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(Ex) +), hP = /* @__PURE__ */ fv(), fP = /* @__PURE__ */ fv(!1, !0), pP = /* @__PURE__ */ fv(!0), dP = /* @__PURE__ */ fv(!0, !0), Vb = /* @__PURE__ */ mP(); +function mP() { const t = {}; return ["includes", "indexOf", "lastIndexOf"].forEach((e) => { t[e] = function(...n) { - const o = hr(this); - for (let h = 0, a = this.length; h < a; h++) - Bo(o, "get", h + ""); - const s = o[e](...n); - return s === -1 || s === !1 ? o[e](...n.map(hr)) : s; + const a = hr(this); + for (let f = 0, o = this.length; f < o; f++) + Bo(a, "get", f + ""); + const s = a[e](...n); + return s === -1 || s === !1 ? a[e](...n.map(hr)) : s; }; }), ["push", "pop", "shift", "unshift", "splice"].forEach((e) => { t[e] = function(...n) { - th(); - const o = hr(this)[e].apply(this, n); - return rh(), o; + rh(); + const a = hr(this)[e].apply(this, n); + return nh(), a; }; }), t; } -function mA(t) { +function yP(t) { const e = hr(this); return Bo(e, "has", t), e.hasOwnProperty(t); } -function hv(t = !1, e = !1) { - return function(o, s, h) { +function fv(t = !1, e = !1) { + return function(a, s, f) { if (s === "__v_isReactive") return !t; if (s === "__v_isReadonly") return t; if (s === "__v_isShallow") return e; - if (s === "__v_raw" && h === (t ? e ? tS : eS : e ? QE : JE).get(o)) - return o; - const a = er(o); + if (s === "__v_raw" && f === (t ? e ? rS : tS : e ? eS : QE).get(a)) + return a; + const o = er(a); if (!t) { - if (a && jr(Bb, s)) - return Reflect.get(Bb, s, h); + if (o && jr(Vb, s)) + return Reflect.get(Vb, s, f); if (s === "hasOwnProperty") - return mA; + return yP; } - const m = Reflect.get(o, s, h); - return (w1(s) ? HE.has(s) : uA(s)) || (t || Bo(o, "get", s), e) ? m : hn(m) ? a && T1(s) ? m : m.value : fn(m) ? t ? rS(m) : dv(m) : m; + const m = Reflect.get(a, s, f); + return (Ex(s) ? ZE.has(s) : cP(s)) || (t || Bo(a, "get", s), e) ? m : hn(m) ? o && Mx(s) ? m : m.value : fn(m) ? t ? nS(m) : mv(m) : m; }; } -const yA = /* @__PURE__ */ ZE(), gA = /* @__PURE__ */ ZE(!0); -function ZE(t = !1) { - return function(n, o, s, h) { - let a = n[o]; - if (Ru(a) && hn(a) && !hn(s)) +const gP = /* @__PURE__ */ XE(), vP = /* @__PURE__ */ XE(!0); +function XE(t = !1) { + return function(n, a, s, f) { + let o = n[a]; + if (zu(o) && hn(o) && !hn(s)) return !1; - if (!t && (!wg(s) && !Ru(s) && (a = hr(a), s = hr(s)), !er(n) && hn(a) && !hn(s))) - return a.value = s, !0; - const m = er(n) && T1(o) ? Number(o) < n.length : jr(n, o), g = Reflect.set(n, o, s, h); - return n === hr(h) && (m ? Sd(s, a) && Gl(n, "set", o, s, a) : Gl(n, "add", o, s)), g; + if (!t && (!Eg(s) && !zu(s) && (o = hr(o), s = hr(s)), !er(n) && hn(o) && !hn(s))) + return o.value = s, !0; + const m = er(n) && Mx(a) ? Number(a) < n.length : jr(n, a), g = Reflect.set(n, a, s, f); + return n === hr(f) && (m ? Td(s, o) && Gl(n, "set", a, s, o) : Gl(n, "add", a, s)), g; }; } -function vA(t, e) { - const n = jr(t, e), o = t[e], s = Reflect.deleteProperty(t, e); - return s && n && Gl(t, "delete", e, void 0, o), s; +function _P(t, e) { + const n = jr(t, e), a = t[e], s = Reflect.deleteProperty(t, e); + return s && n && Gl(t, "delete", e, void 0, a), s; } -function _A(t, e) { +function xP(t, e) { const n = Reflect.has(t, e); - return (!w1(e) || !HE.has(e)) && Bo(t, "has", e), n; -} -function xA(t) { - return Bo(t, "iterate", er(t) ? "length" : $c), Reflect.ownKeys(t); -} -const XE = { - get: cA, - set: yA, - deleteProperty: vA, - has: _A, - ownKeys: xA -}, KE = { - get: fA, + return (!Ex(e) || !ZE.has(e)) && Bo(t, "has", e), n; +} +function bP(t) { + return Bo(t, "iterate", er(t) ? "length" : qc), Reflect.ownKeys(t); +} +const KE = { + get: hP, + set: gP, + deleteProperty: _P, + has: xP, + ownKeys: bP +}, YE = { + get: pP, set(t, e) { - return process.env.NODE_ENV !== "production" && xg(`Set operation on key "${String(e)}" failed: target is readonly.`, t), !0; + return process.env.NODE_ENV !== "production" && bg(`Set operation on key "${String(e)}" failed: target is readonly.`, t), !0; }, deleteProperty(t, e) { - return process.env.NODE_ENV !== "production" && xg(`Delete operation on key "${String(e)}" failed: target is readonly.`, t), !0; - } -}, bA = /* @__PURE__ */ Wn({}, XE, { - get: hA, - set: gA -}), wA = /* @__PURE__ */ Wn({}, KE, { - get: pA -}), I1 = (t) => t, fv = (t) => Reflect.getPrototypeOf(t); -function vy(t, e, n = !1, o = !1) { + return process.env.NODE_ENV !== "production" && bg(`Delete operation on key "${String(e)}" failed: target is readonly.`, t), !0; + } +}, wP = /* @__PURE__ */ Wn({}, KE, { + get: fP, + set: vP +}), EP = /* @__PURE__ */ Wn({}, YE, { + get: dP +}), Ox = (t) => t, pv = (t) => Reflect.getPrototypeOf(t); +function vy(t, e, n = !1, a = !1) { t = t.__v_raw; - const s = hr(t), h = hr(e); - n || (e !== h && Bo(s, "get", e), Bo(s, "get", h)); - const { has: a } = fv(s), m = o ? I1 : n ? O1 : Md; - if (a.call(s, e)) + const s = hr(t), f = hr(e); + n || (e !== f && Bo(s, "get", e), Bo(s, "get", f)); + const { has: o } = pv(s), m = a ? Ox : n ? Cx : Id; + if (o.call(s, e)) return m(t.get(e)); - if (a.call(s, h)) - return m(t.get(h)); + if (o.call(s, f)) + return m(t.get(f)); t !== s && t.get(e); } function _y(t, e = !1) { - const n = this.__v_raw, o = hr(n), s = hr(t); - return e || (t !== s && Bo(o, "has", t), Bo(o, "has", s)), t === s ? n.has(t) : n.has(t) || n.has(s); + const n = this.__v_raw, a = hr(n), s = hr(t); + return e || (t !== s && Bo(a, "has", t), Bo(a, "has", s)), t === s ? n.has(t) : n.has(t) || n.has(s); } function xy(t, e = !1) { - return t = t.__v_raw, !e && Bo(hr(t), "iterate", $c), Reflect.get(t, "size", t); + return t = t.__v_raw, !e && Bo(hr(t), "iterate", qc), Reflect.get(t, "size", t); } -function Vb(t) { +function Ub(t) { t = hr(t); const e = hr(this); - return fv(e).has.call(e, t) || (e.add(t), Gl(e, "add", t, t)), this; + return pv(e).has.call(e, t) || (e.add(t), Gl(e, "add", t, t)), this; } -function Ub(t, e) { +function jb(t, e) { e = hr(e); - const n = hr(this), { has: o, get: s } = fv(n); - let h = o.call(n, t); - h ? process.env.NODE_ENV !== "production" && YE(n, o, t) : (t = hr(t), h = o.call(n, t)); - const a = s.call(n, t); - return n.set(t, e), h ? Sd(e, a) && Gl(n, "set", t, e, a) : Gl(n, "add", t, e), this; -} -function jb(t) { - const e = hr(this), { has: n, get: o } = fv(e); + const n = hr(this), { has: a, get: s } = pv(n); + let f = a.call(n, t); + f ? process.env.NODE_ENV !== "production" && JE(n, a, t) : (t = hr(t), f = a.call(n, t)); + const o = s.call(n, t); + return n.set(t, e), f ? Td(e, o) && Gl(n, "set", t, e, o) : Gl(n, "add", t, e), this; +} +function Gb(t) { + const e = hr(this), { has: n, get: a } = pv(e); let s = n.call(e, t); - s ? process.env.NODE_ENV !== "production" && YE(e, n, t) : (t = hr(t), s = n.call(e, t)); - const h = o ? o.call(e, t) : void 0, a = e.delete(t); - return s && Gl(e, "delete", t, void 0, h), a; + s ? process.env.NODE_ENV !== "production" && JE(e, n, t) : (t = hr(t), s = n.call(e, t)); + const f = a ? a.call(e, t) : void 0, o = e.delete(t); + return s && Gl(e, "delete", t, void 0, f), o; } -function Gb() { - const t = hr(this), e = t.size !== 0, n = process.env.NODE_ENV !== "production" ? Gc(t) ? new Map(t) : new Set(t) : void 0, o = t.clear(); - return e && Gl(t, "clear", void 0, void 0, n), o; +function $b() { + const t = hr(this), e = t.size !== 0, n = process.env.NODE_ENV !== "production" ? $c(t) ? new Map(t) : new Set(t) : void 0, a = t.clear(); + return e && Gl(t, "clear", void 0, void 0, n), a; } function by(t, e) { - return function(o, s) { - const h = this, a = h.__v_raw, m = hr(a), g = e ? I1 : t ? O1 : Md; - return !t && Bo(m, "iterate", $c), a.forEach((b, T) => o.call(s, g(b), g(T), h)); + return function(a, s) { + const f = this, o = f.__v_raw, m = hr(o), g = e ? Ox : t ? Cx : Id; + return !t && Bo(m, "iterate", qc), o.forEach((b, T) => a.call(s, g(b), g(T), f)); }; } function wy(t, e, n) { - return function(...o) { - const s = this.__v_raw, h = hr(s), a = Gc(h), m = t === "entries" || t === Symbol.iterator && a, g = t === "keys" && a, b = s[t](...o), T = n ? I1 : e ? O1 : Md; - return !e && Bo(h, "iterate", g ? S0 : $c), { + return function(...a) { + const s = this.__v_raw, f = hr(s), o = $c(f), m = t === "entries" || t === Symbol.iterator && o, g = t === "keys" && o, b = s[t](...a), T = n ? Ox : e ? Cx : Id; + return !e && Bo(f, "iterate", g ? T0 : qc), { next() { const { value: M, done: I } = b.next(); return I ? { value: M, done: I } : { @@ -464,62 +464,62 @@ function du(t) { return function(...e) { if (process.env.NODE_ENV !== "production") { const n = e[0] ? `on key "${e[0]}" ` : ""; - console.warn(`${Kc(t)} operation ${n}failed: target is readonly.`, hr(this)); + console.warn(`${Yc(t)} operation ${n}failed: target is readonly.`, hr(this)); } return t === "delete" ? !1 : this; }; } -function EA() { +function SP() { const t = { - get(h) { - return vy(this, h); + get(f) { + return vy(this, f); }, get size() { return xy(this); }, has: _y, - add: Vb, - set: Ub, - delete: jb, - clear: Gb, + add: Ub, + set: jb, + delete: Gb, + clear: $b, forEach: by(!1, !1) }, e = { - get(h) { - return vy(this, h, !1, !0); + get(f) { + return vy(this, f, !1, !0); }, get size() { return xy(this); }, has: _y, - add: Vb, - set: Ub, - delete: jb, - clear: Gb, + add: Ub, + set: jb, + delete: Gb, + clear: $b, forEach: by(!1, !0) }, n = { - get(h) { - return vy(this, h, !0); + get(f) { + return vy(this, f, !0); }, get size() { return xy(this, !0); }, - has(h) { - return _y.call(this, h, !0); + has(f) { + return _y.call(this, f, !0); }, add: du("add"), set: du("set"), delete: du("delete"), clear: du("clear"), forEach: by(!0, !1) - }, o = { - get(h) { - return vy(this, h, !0, !0); + }, a = { + get(f) { + return vy(this, f, !0, !0); }, get size() { return xy(this, !0); }, - has(h) { - return _y.call(this, h, !0); + has(f) { + return _y.call(this, f, !0); }, add: du("add"), set: du("set"), @@ -527,38 +527,38 @@ function EA() { clear: du("clear"), forEach: by(!0, !0) }; - return ["keys", "values", "entries", Symbol.iterator].forEach((h) => { - t[h] = wy(h, !1, !1), n[h] = wy(h, !0, !1), e[h] = wy(h, !1, !0), o[h] = wy(h, !0, !0); + return ["keys", "values", "entries", Symbol.iterator].forEach((f) => { + t[f] = wy(f, !1, !1), n[f] = wy(f, !0, !1), e[f] = wy(f, !1, !0), a[f] = wy(f, !0, !0); }), [ t, n, e, - o + a ]; } -const [SA, TA, MA, IA] = /* @__PURE__ */ EA(); -function pv(t, e) { - const n = e ? t ? IA : MA : t ? TA : SA; - return (o, s, h) => s === "__v_isReactive" ? !t : s === "__v_isReadonly" ? t : s === "__v_raw" ? o : Reflect.get(jr(n, s) && s in o ? n : o, s, h); -} -const OA = { - get: /* @__PURE__ */ pv(!1, !1) -}, CA = { - get: /* @__PURE__ */ pv(!1, !0) -}, AA = { - get: /* @__PURE__ */ pv(!0, !1) -}, PA = { - get: /* @__PURE__ */ pv(!0, !0) +const [TP, MP, IP, OP] = /* @__PURE__ */ SP(); +function dv(t, e) { + const n = e ? t ? OP : IP : t ? MP : TP; + return (a, s, f) => s === "__v_isReactive" ? !t : s === "__v_isReadonly" ? t : s === "__v_raw" ? a : Reflect.get(jr(n, s) && s in a ? n : a, s, f); +} +const CP = { + get: /* @__PURE__ */ dv(!1, !1) +}, PP = { + get: /* @__PURE__ */ dv(!1, !0) +}, AP = { + get: /* @__PURE__ */ dv(!0, !1) +}, kP = { + get: /* @__PURE__ */ dv(!0, !0) }; -function YE(t, e, n) { - const o = hr(n); - if (o !== n && e.call(t, o)) { - const s = S1(t); +function JE(t, e, n) { + const a = hr(n); + if (a !== n && e.call(t, a)) { + const s = Tx(t); console.warn(`Reactive ${s} contains both the raw and reactive versions of the same object${s === "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 JE = /* @__PURE__ */ new WeakMap(), QE = /* @__PURE__ */ new WeakMap(), eS = /* @__PURE__ */ new WeakMap(), tS = /* @__PURE__ */ new WeakMap(); -function kA(t) { +const QE = /* @__PURE__ */ new WeakMap(), eS = /* @__PURE__ */ new WeakMap(), tS = /* @__PURE__ */ new WeakMap(), rS = /* @__PURE__ */ new WeakMap(); +function LP(t) { switch (t) { case "Object": case "Array": @@ -572,119 +572,119 @@ function kA(t) { return 0; } } -function LA(t) { - return t.__v_skip || !Object.isExtensible(t) ? 0 : kA(S1(t)); +function DP(t) { + return t.__v_skip || !Object.isExtensible(t) ? 0 : LP(Tx(t)); } -function dv(t) { - return Ru(t) ? t : mv(t, !1, XE, OA, JE); +function mv(t) { + return zu(t) ? t : yv(t, !1, KE, CP, QE); } -function DA(t) { - return mv(t, !1, bA, CA, QE); +function NP(t) { + return yv(t, !1, wP, PP, eS); } -function rS(t) { - return mv(t, !0, KE, AA, eS); +function nS(t) { + return yv(t, !0, YE, AP, tS); } -function df(t) { - return mv(t, !0, wA, PA, tS); +function mf(t) { + return yv(t, !0, EP, kP, rS); } -function mv(t, e, n, o, s) { +function yv(t, e, n, a, s) { if (!fn(t)) return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(t)}`), t; if (t.__v_raw && !(e && t.__v_isReactive)) return t; - const h = s.get(t); - if (h) - return h; - const a = LA(t); - if (a === 0) + const f = s.get(t); + if (f) + return f; + const o = DP(t); + if (o === 0) return t; - const m = new Proxy(t, a === 2 ? o : n); + const m = new Proxy(t, o === 2 ? a : n); return s.set(t, m), m; } -function ls(t) { - return Ru(t) ? ls(t.__v_raw) : !!(t && t.__v_isReactive); +function ss(t) { + return zu(t) ? ss(t.__v_raw) : !!(t && t.__v_isReactive); } -function Ru(t) { +function zu(t) { return !!(t && t.__v_isReadonly); } -function wg(t) { +function Eg(t) { return !!(t && t.__v_isShallow); } -function Eg(t) { - return ls(t) || Ru(t); +function Sg(t) { + return ss(t) || zu(t); } function hr(t) { const e = t && t.__v_raw; return e ? hr(e) : t; } -function rs(t) { - return _g(t, "__v_skip", !0), t; +function ts(t) { + return xg(t, "__v_skip", !0), t; } -const Md = (t) => fn(t) ? dv(t) : t, O1 = (t) => fn(t) ? rS(t) : t; -function nS(t) { - Au && No && (t = hr(t), process.env.NODE_ENV !== "production" ? T0(t.dep || (t.dep = Td()), { +const Id = (t) => fn(t) ? mv(t) : t, Cx = (t) => fn(t) ? nS(t) : t; +function iS(t) { + Pu && No && (t = hr(t), process.env.NODE_ENV !== "production" ? M0(t.dep || (t.dep = Md()), { target: t, type: "get", key: "value" - }) : T0(t.dep || (t.dep = Td()))); + }) : M0(t.dep || (t.dep = Md()))); } -function iS(t, e) { +function oS(t, e) { t = hr(t); const n = t.dep; - n && (process.env.NODE_ENV !== "production" ? pf(n, { + n && (process.env.NODE_ENV !== "production" ? df(n, { target: t, type: "set", key: "value", newValue: e - }) : pf(n)); + }) : df(n)); } function hn(t) { return !!(t && t.__v_isRef === !0); } -function _r(t) { - return oS(t, !1); +function Er(t) { + return aS(t, !1); } function Bn(t) { - return oS(t, !0); + return aS(t, !0); } -function oS(t, e) { - return hn(t) ? t : new NA(t, e); +function aS(t, e) { + return hn(t) ? t : new RP(t, e); } -class NA { +class RP { constructor(e, n) { - this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? e : hr(e), this._value = n ? e : Md(e); + this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? e : hr(e), this._value = n ? e : Id(e); } get value() { - return nS(this), this._value; + return iS(this), this._value; } set value(e) { - const n = this.__v_isShallow || wg(e) || Ru(e); - e = n ? e : hr(e), Sd(e, this._rawValue) && (this._rawValue = e, this._value = n ? e : Md(e), iS(this, e)); + const n = this.__v_isShallow || Eg(e) || zu(e); + e = n ? e : hr(e), Td(e, this._rawValue) && (this._rawValue = e, this._value = n ? e : Id(e), oS(this, e)); } } function se(t) { return hn(t) ? t.value : t; } -const RA = { +const zP = { get: (t, e, n) => se(Reflect.get(t, e, n)), - set: (t, e, n, o) => { + set: (t, e, n, a) => { const s = t[e]; - return hn(s) && !hn(n) ? (s.value = n, !0) : Reflect.set(t, e, n, o); + return hn(s) && !hn(n) ? (s.value = n, !0) : Reflect.set(t, e, n, a); } }; -function aS(t) { - return ls(t) ? t : new Proxy(t, RA); +function sS(t) { + return ss(t) ? t : new Proxy(t, zP); } -function $b(t) { - process.env.NODE_ENV !== "production" && !Eg(t) && console.warn("toRefs() expects a reactive object but received a plain one."); +function qb(t) { + process.env.NODE_ENV !== "production" && !Sg(t) && console.warn("toRefs() expects a reactive object but received a plain one."); const e = er(t) ? new Array(t.length) : {}; for (const n in t) - e[n] = ud(t, n); + e[n] = cd(t, n); return e; } -class zA { - constructor(e, n, o) { - this._object = e, this._key = n, this._defaultValue = o, this.__v_isRef = !0; +class FP { + constructor(e, n, a) { + this._object = e, this._key = n, this._defaultValue = a, this.__v_isRef = !0; } get value() { const e = this._object[this._key]; @@ -694,67 +694,67 @@ class zA { this._object[this._key] = e; } get dep() { - return lA(hr(this._object), this._key); + return uP(hr(this._object), this._key); } } -function ud(t, e, n) { - const o = t[e]; - return hn(o) ? o : new zA(t, e, n); +function cd(t, e, n) { + const a = t[e]; + return hn(a) ? a : new FP(t, e, n); } -var sS; -class FA { - constructor(e, n, o, s) { - this._setter = n, this.dep = void 0, this.__v_isRef = !0, this[sS] = !1, this._dirty = !0, this.effect = new M1(e, () => { - this._dirty || (this._dirty = !0, iS(this)); - }), this.effect.computed = this, this.effect.active = this._cacheable = !s, this.__v_isReadonly = o; +var lS; +class BP { + constructor(e, n, a, s) { + this._setter = n, this.dep = void 0, this.__v_isRef = !0, this[lS] = !1, this._dirty = !0, this.effect = new Ix(e, () => { + this._dirty || (this._dirty = !0, oS(this)); + }), this.effect.computed = this, this.effect.active = this._cacheable = !s, this.__v_isReadonly = a; } get value() { const e = hr(this); - return nS(e), (e._dirty || !e._cacheable) && (e._dirty = !1, e._value = e.effect.run()), e._value; + return iS(e), (e._dirty || !e._cacheable) && (e._dirty = !1, e._value = e.effect.run()), e._value; } set value(e) { this._setter(e); } } -sS = "__v_isReadonly"; -function BA(t, e, n = !1) { - let o, s; - const h = yr(t); - h ? (o = t, s = process.env.NODE_ENV !== "production" ? () => { +lS = "__v_isReadonly"; +function VP(t, e, n = !1) { + let a, s; + const f = yr(t); + f ? (a = t, s = process.env.NODE_ENV !== "production" ? () => { console.warn("Write operation failed: computed value is readonly"); - } : ao) : (o = t.get, s = t.set); - const a = new FA(o, s, h || !s, n); - return process.env.NODE_ENV !== "production" && e && !n && (a.effect.onTrack = e.onTrack, a.effect.onTrigger = e.onTrigger), a; + } : ao) : (a = t.get, s = t.set); + const o = new BP(a, s, f || !s, n); + return process.env.NODE_ENV !== "production" && e && !n && (o.effect.onTrack = e.onTrack, o.effect.onTrigger = e.onTrigger), o; } -const qc = []; +const Wc = []; function Jy(t) { - qc.push(t); + Wc.push(t); } function Qy() { - qc.pop(); + Wc.pop(); } function lt(t, ...e) { if (process.env.NODE_ENV === "production") return; - th(); - const n = qc.length ? qc[qc.length - 1].component : null, o = n && n.appContext.config.warnHandler, s = VA(); - if (o) - Bl(o, n, 11, [ + rh(); + const n = Wc.length ? Wc[Wc.length - 1].component : null, a = n && n.appContext.config.warnHandler, s = UP(); + if (a) + Bl(a, n, 11, [ t + e.join(""), n && n.proxy, - s.map(({ vnode: h }) => `at <${Ev(n, h.type)}>`).join(` + s.map(({ vnode: f }) => `at <${Sv(n, f.type)}>`).join(` `), s ]); else { - const h = [`[Vue warn]: ${t}`, ...e]; - s.length && h.push(` -`, ...UA(s)), console.warn(...h); + const f = [`[Vue warn]: ${t}`, ...e]; + s.length && f.push(` +`, ...jP(s)), console.warn(...f); } - rh(); + nh(); } -function VA() { - let t = qc[qc.length - 1]; +function UP() { + let t = Wc[Wc.length - 1]; if (!t) return []; const e = []; @@ -764,35 +764,35 @@ function VA() { vnode: t, recurseCount: 0 }); - const o = t.component && t.component.parent; - t = o && o.vnode; + const a = t.component && t.component.parent; + t = a && a.vnode; } return e; } -function UA(t) { +function jP(t) { const e = []; - return t.forEach((n, o) => { - e.push(...o === 0 ? [] : [` -`], ...jA(n)); + return t.forEach((n, a) => { + e.push(...a === 0 ? [] : [` +`], ...GP(n)); }), e; } -function jA({ vnode: t, recurseCount: e }) { - const n = e > 0 ? `... (${e} recursive calls)` : "", o = t.component ? t.component.parent == null : !1, s = ` at <${Ev(t.component, t.type, o)}`, h = ">" + n; - return t.props ? [s, ...GA(t.props), h] : [s + h]; +function GP({ vnode: t, recurseCount: e }) { + const n = e > 0 ? `... (${e} recursive calls)` : "", a = t.component ? t.component.parent == null : !1, s = ` at <${Sv(t.component, t.type, a)}`, f = ">" + n; + return t.props ? [s, ...$P(t.props), f] : [s + f]; } -function GA(t) { +function $P(t) { const e = [], n = Object.keys(t); - return n.slice(0, 3).forEach((o) => { - e.push(...lS(o, t[o])); + return n.slice(0, 3).forEach((a) => { + e.push(...uS(a, t[a])); }), n.length > 3 && e.push(" ..."), e; } -function lS(t, e, n) { - return Hn(e) ? (e = JSON.stringify(e), n ? e : [`${t}=${e}`]) : typeof e == "number" || typeof e == "boolean" || e == null ? n ? e : [`${t}=${e}`] : hn(e) ? (e = lS(t, hr(e.value), !0), n ? e : [`${t}=Ref<`, e, ">"]) : yr(e) ? [`${t}=fn${e.name ? `<${e.name}>` : ""}`] : (e = hr(e), n ? e : [`${t}=`, e]); +function uS(t, e, n) { + return Hn(e) ? (e = JSON.stringify(e), n ? e : [`${t}=${e}`]) : typeof e == "number" || typeof e == "boolean" || e == null ? n ? e : [`${t}=${e}`] : hn(e) ? (e = uS(t, hr(e.value), !0), n ? e : [`${t}=Ref<`, e, ">"]) : yr(e) ? [`${t}=fn${e.name ? `<${e.name}>` : ""}`] : (e = hr(e), n ? e : [`${t}=`, e]); } -function $A(t, e) { +function qP(t, e) { process.env.NODE_ENV !== "production" && t !== void 0 && (typeof t != "number" ? lt(`${e} is not a valid number - got ${JSON.stringify(t)}.`) : isNaN(t) && lt(`${e} is NaN - the duration expression might be incorrect.`)); } -const C1 = { +const Px = { sp: "serverPrefetch hook", bc: "beforeCreate hook", c: "created hook", @@ -823,115 +823,115 @@ const C1 = { [13]: "async component loader", [14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core" }; -function Bl(t, e, n, o) { +function Bl(t, e, n, a) { let s; try { - s = o ? t(...o) : t(); - } catch (h) { - yv(h, e, n); + s = a ? t(...a) : t(); + } catch (f) { + gv(f, e, n); } return s; } -function Da(t, e, n, o) { +function Da(t, e, n, a) { if (yr(t)) { - const h = Bl(t, e, n, o); - return h && E1(h) && h.catch((a) => { - yv(a, e, n); - }), h; + const f = Bl(t, e, n, a); + return f && Sx(f) && f.catch((o) => { + gv(o, e, n); + }), f; } const s = []; - for (let h = 0; h < t.length; h++) - s.push(Da(t[h], e, n, o)); + for (let f = 0; f < t.length; f++) + s.push(Da(t[f], e, n, a)); return s; } -function yv(t, e, n, o = !0) { +function gv(t, e, n, a = !0) { const s = e ? e.vnode : null; if (e) { - let h = e.parent; - const a = e.proxy, m = process.env.NODE_ENV !== "production" ? C1[n] : n; - for (; h; ) { - const b = h.ec; + let f = e.parent; + const o = e.proxy, m = process.env.NODE_ENV !== "production" ? Px[n] : n; + for (; f; ) { + const b = f.ec; if (b) { for (let T = 0; T < b.length; T++) - if (b[T](t, a, m) === !1) + if (b[T](t, o, m) === !1) return; } - h = h.parent; + f = f.parent; } const g = e.appContext.config.errorHandler; if (g) { - Bl(g, null, 10, [t, a, m]); + Bl(g, null, 10, [t, o, m]); return; } } - qA(t, n, s, o); + WP(t, n, s, a); } -function qA(t, e, n, o = !0) { +function WP(t, e, n, a = !0) { if (process.env.NODE_ENV !== "production") { - const s = C1[e]; - if (n && Jy(n), lt(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Qy(), o) + const s = Px[e]; + if (n && Jy(n), lt(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Qy(), a) throw t; console.error(t); } else console.error(t); } -let Id = !1, M0 = !1; +let Od = !1, I0 = !1; const xo = []; let Vs = 0; -const wf = []; -let Bs = null, bu = 0; -const uS = /* @__PURE__ */ Promise.resolve(); -let A1 = null; -const WA = 100; -function Sg(t) { - const e = A1 || uS; +const Ef = []; +let Fs = null, bu = 0; +const cS = /* @__PURE__ */ Promise.resolve(); +let Ax = null; +const HP = 100; +function Tg(t) { + const e = Ax || cS; return t ? e.then(this ? t.bind(this) : t) : e; } -function HA(t) { +function ZP(t) { let e = Vs + 1, n = xo.length; for (; e < n; ) { - const o = e + n >>> 1; - Od(xo[o]) < t ? e = o + 1 : n = o; + const a = e + n >>> 1; + Cd(xo[a]) < t ? e = a + 1 : n = a; } return e; } -function gv(t) { - (!xo.length || !xo.includes(t, Id && t.allowRecurse ? Vs + 1 : Vs)) && (t.id == null ? xo.push(t) : xo.splice(HA(t.id), 0, t), cS()); +function vv(t) { + (!xo.length || !xo.includes(t, Od && t.allowRecurse ? Vs + 1 : Vs)) && (t.id == null ? xo.push(t) : xo.splice(ZP(t.id), 0, t), hS()); } -function cS() { - !Id && !M0 && (M0 = !0, A1 = uS.then(pS)); +function hS() { + !Od && !I0 && (I0 = !0, Ax = cS.then(dS)); } -function ZA(t) { +function XP(t) { const e = xo.indexOf(t); e > Vs && xo.splice(e, 1); } -function hS(t) { - er(t) ? wf.push(...t) : (!Bs || !Bs.includes(t, t.allowRecurse ? bu + 1 : bu)) && wf.push(t), cS(); +function fS(t) { + er(t) ? Ef.push(...t) : (!Fs || !Fs.includes(t, t.allowRecurse ? bu + 1 : bu)) && Ef.push(t), hS(); } -function qb(t, e = Id ? Vs + 1 : 0) { +function Wb(t, e = Od ? Vs + 1 : 0) { for (process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); e < xo.length; e++) { const n = xo[e]; if (n && n.pre) { - if (process.env.NODE_ENV !== "production" && P1(t, n)) + if (process.env.NODE_ENV !== "production" && kx(t, n)) continue; xo.splice(e, 1), e--, n(); } } } -function fS(t) { - if (wf.length) { - const e = [...new Set(wf)]; - if (wf.length = 0, Bs) { - Bs.push(...e); +function pS(t) { + if (Ef.length) { + const e = [...new Set(Ef)]; + if (Ef.length = 0, Fs) { + Fs.push(...e); return; } - for (Bs = e, process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), Bs.sort((n, o) => Od(n) - Od(o)), bu = 0; bu < Bs.length; bu++) - process.env.NODE_ENV !== "production" && P1(t, Bs[bu]) || Bs[bu](); - Bs = null, bu = 0; + for (Fs = e, process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), Fs.sort((n, a) => Cd(n) - Cd(a)), bu = 0; bu < Fs.length; bu++) + process.env.NODE_ENV !== "production" && kx(t, Fs[bu]) || Fs[bu](); + Fs = null, bu = 0; } } -const Od = (t) => t.id == null ? 1 / 0 : t.id, XA = (t, e) => { - const n = Od(t) - Od(e); +const Cd = (t) => t.id == null ? 1 / 0 : t.id, KP = (t, e) => { + const n = Cd(t) - Cd(e); if (n === 0) { if (t.pre && !e.pre) return -1; @@ -940,9 +940,9 @@ const Od = (t) => t.id == null ? 1 / 0 : t.id, XA = (t, e) => { } return n; }; -function pS(t) { - M0 = !1, Id = !0, process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), xo.sort(XA); - const e = process.env.NODE_ENV !== "production" ? (n) => P1(t, n) : ao; +function dS(t) { + I0 = !1, Od = !0, process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), xo.sort(KP); + const e = process.env.NODE_ENV !== "production" ? (n) => kx(t, n) : ao; try { for (Vs = 0; Vs < xo.length; Vs++) { const n = xo[Vs]; @@ -953,68 +953,68 @@ function pS(t) { } } } finally { - Vs = 0, xo.length = 0, fS(t), Id = !1, A1 = null, (xo.length || wf.length) && pS(t); + Vs = 0, xo.length = 0, pS(t), Od = !1, Ax = null, (xo.length || Ef.length) && dS(t); } } -function P1(t, e) { +function kx(t, e) { if (!t.has(e)) t.set(e, 1); else { const n = t.get(e); - if (n > WA) { - const o = e.ownerInstance, s = o && B1(o.type); + if (n > HP) { + const a = e.ownerInstance, s = a && Vx(a.type); return lt(`Maximum recursive updates exceeded${s ? ` in component <${s}>` : ""}. 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.`), !0; } else t.set(e, n + 1); } } -let Pu = !1; -const cf = /* @__PURE__ */ new Set(); -process.env.NODE_ENV !== "production" && (VE().__VUE_HMR_RUNTIME__ = { - createRecord: A_(dS), - rerender: A_(JA), - reload: A_(QA) +let Au = !1; +const hf = /* @__PURE__ */ new Set(); +process.env.NODE_ENV !== "production" && (UE().__VUE_HMR_RUNTIME__ = { + createRecord: A_(mS), + rerender: A_(QP), + reload: A_(eA) }); -const Yc = /* @__PURE__ */ new Map(); -function KA(t) { +const Jc = /* @__PURE__ */ new Map(); +function YP(t) { const e = t.type.__hmrId; - let n = Yc.get(e); - n || (dS(e, t.type), n = Yc.get(e)), n.instances.add(t); + let n = Jc.get(e); + n || (mS(e, t.type), n = Jc.get(e)), n.instances.add(t); } -function YA(t) { - Yc.get(t.type.__hmrId).instances.delete(t); +function JP(t) { + Jc.get(t.type.__hmrId).instances.delete(t); } -function dS(t, e) { - return Yc.has(t) ? !1 : (Yc.set(t, { - initialDef: cd(e), +function mS(t, e) { + return Jc.has(t) ? !1 : (Jc.set(t, { + initialDef: hd(e), instances: /* @__PURE__ */ new Set() }), !0); } -function cd(t) { - return ZS(t) ? t.__vccOpts : t; +function hd(t) { + return KS(t) ? t.__vccOpts : t; } -function JA(t, e) { - const n = Yc.get(t); - !n || (n.initialDef.render = e, [...n.instances].forEach((o) => { - e && (o.render = e, cd(o.type).render = e), o.renderCache = [], Pu = !0, o.update(), Pu = !1; +function QP(t, e) { + const n = Jc.get(t); + !n || (n.initialDef.render = e, [...n.instances].forEach((a) => { + e && (a.render = e, hd(a.type).render = e), a.renderCache = [], Au = !0, a.update(), Au = !1; })); } -function QA(t, e) { - const n = Yc.get(t); +function eA(t, e) { + const n = Jc.get(t); if (!n) return; - e = cd(e), Wb(n.initialDef, e); - const o = [...n.instances]; - for (const s of o) { - const h = cd(s.type); - cf.has(h) || (h !== n.initialDef && Wb(h, e), cf.add(h)), s.appContext.optionsCache.delete(s.type), s.ceReload ? (cf.add(h), s.ceReload(e.styles), cf.delete(h)) : s.parent ? gv(s.parent.update) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn("[HMR] Root or manually mounted instance modified. Full reload required."); - } - hS(() => { - for (const s of o) - cf.delete(cd(s.type)); + e = hd(e), Hb(n.initialDef, e); + const a = [...n.instances]; + for (const s of a) { + const f = hd(s.type); + hf.has(f) || (f !== n.initialDef && Hb(f, e), hf.add(f)), s.appContext.optionsCache.delete(s.type), s.ceReload ? (hf.add(f), s.ceReload(e.styles), hf.delete(f)) : s.parent ? vv(s.parent.update) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn("[HMR] Root or manually mounted instance modified. Full reload required."); + } + fS(() => { + for (const s of a) + hf.delete(hd(s.type)); }); } -function Wb(t, e) { +function Hb(t, e) { Wn(t, e); for (const n in t) n !== "__file" && !(n in e) && delete t[n]; @@ -1023,78 +1023,78 @@ function A_(t) { return (e, n) => { try { return t(e, n); - } catch (o) { - console.error(o), console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required."); + } catch (a) { + console.error(a), console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required."); } }; } -let Us, Jp = [], I0 = !1; -function Ud(t, ...e) { - Us ? Us.emit(t, ...e) : I0 || Jp.push({ event: t, args: e }); +let Us, Qp = [], O0 = !1; +function jd(t, ...e) { + Us ? Us.emit(t, ...e) : O0 || Qp.push({ event: t, args: e }); } -function mS(t, e) { - var n, o; - Us = t, Us ? (Us.enabled = !0, Jp.forEach(({ event: s, args: h }) => Us.emit(s, ...h)), Jp = []) : typeof window < "u" && window.HTMLElement && !(!((o = (n = window.navigator) === null || n === void 0 ? void 0 : n.userAgent) === null || o === void 0) && o.includes("jsdom")) ? ((e.__VUE_DEVTOOLS_HOOK_REPLAY__ = e.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((h) => { - mS(h, e); +function yS(t, e) { + var n, a; + Us = t, Us ? (Us.enabled = !0, Qp.forEach(({ event: s, args: f }) => Us.emit(s, ...f)), Qp = []) : typeof window < "u" && window.HTMLElement && !(!((a = (n = window.navigator) === null || n === void 0 ? void 0 : n.userAgent) === null || a === void 0) && a.includes("jsdom")) ? ((e.__VUE_DEVTOOLS_HOOK_REPLAY__ = e.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((f) => { + yS(f, e); }), setTimeout(() => { - Us || (e.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, I0 = !0, Jp = []); - }, 3e3)) : (I0 = !0, Jp = []); + Us || (e.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, O0 = !0, Qp = []); + }, 3e3)) : (O0 = !0, Qp = []); } -function eP(t, e) { - Ud("app:init", t, e, { - Fragment: cn, +function tA(t, e) { + jd("app:init", t, e, { + Fragment: on, Text: $d, Comment: Xi, Static: eg }); } -function tP(t) { - Ud("app:unmount", t); +function rA(t) { + jd("app:unmount", t); } -const rP = /* @__PURE__ */ k1("component:added"), yS = /* @__PURE__ */ k1("component:updated"), nP = /* @__PURE__ */ k1("component:removed"), iP = (t) => { - Us && typeof Us.cleanupBuffer == "function" && !Us.cleanupBuffer(t) && nP(t); +const nA = /* @__PURE__ */ Lx("component:added"), gS = /* @__PURE__ */ Lx("component:updated"), iA = /* @__PURE__ */ Lx("component:removed"), oA = (t) => { + Us && typeof Us.cleanupBuffer == "function" && !Us.cleanupBuffer(t) && iA(t); }; -function k1(t) { +function Lx(t) { return (e) => { - Ud(t, e.appContext.app, e.uid, e.parent ? e.parent.uid : void 0, e); + jd(t, e.appContext.app, e.uid, e.parent ? e.parent.uid : void 0, e); }; } -const oP = /* @__PURE__ */ gS("perf:start"), aP = /* @__PURE__ */ gS("perf:end"); -function gS(t) { - return (e, n, o) => { - Ud(t, e.appContext.app, e.uid, e, n, o); +const aA = /* @__PURE__ */ vS("perf:start"), sA = /* @__PURE__ */ vS("perf:end"); +function vS(t) { + return (e, n, a) => { + jd(t, e.appContext.app, e.uid, e, n, a); }; } -function sP(t, e, n) { - Ud("component:emit", t.appContext.app, t, e, n); +function lA(t, e, n) { + jd("component:emit", t.appContext.app, t, e, n); } -function lP(t, e, ...n) { +function uA(t, e, ...n) { if (t.isUnmounted) return; - const o = t.vnode.props || wn; + const a = t.vnode.props || wn; if (process.env.NODE_ENV !== "production") { const { emitsOptions: T, propsOptions: [M] } = t; if (T) if (!(e in T)) - (!M || !(Dc(e) in M)) && lt(`Component emitted event "${e}" but it is neither declared in the emits option nor as an "${Dc(e)}" prop.`); + (!M || !(Nc(e) in M)) && lt(`Component emitted event "${e}" but it is neither declared in the emits option nor as an "${Nc(e)}" prop.`); else { const I = T[e]; yr(I) && (I(...n) || lt(`Invalid event arguments: event validation failed for event "${e}".`)); } } let s = n; - const h = e.startsWith("update:"), a = h && e.slice(7); - if (a && a in o) { - const T = `${a === "modelValue" ? "model" : a}Modifiers`, { number: M, trim: I } = o[T] || wn; - I && (s = n.map((P) => Hn(P) ? P.trim() : P)), M && (s = n.map(nA)); + const f = e.startsWith("update:"), o = f && e.slice(7); + if (o && o in a) { + const T = `${o === "modelValue" ? "model" : o}Modifiers`, { number: M, trim: I } = a[T] || wn; + I && (s = n.map((A) => Hn(A) ? A.trim() : A)), M && (s = n.map(iP)); } - if (process.env.NODE_ENV !== "production" && sP(t, e, s), process.env.NODE_ENV !== "production") { + if (process.env.NODE_ENV !== "production" && lA(t, e, s), process.env.NODE_ENV !== "production") { const T = e.toLowerCase(); - T !== e && o[Dc(T)] && lt(`Event "${T}" is emitted in component ${Ev(t, t.type)} but the handler is registered for "${e}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ta(e)}" instead of "${e}".`); + T !== e && a[Nc(T)] && lt(`Event "${T}" is emitted in component ${Sv(t, t.type)} but the handler is registered for "${e}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ta(e)}" instead of "${e}".`); } - let m, g = o[m = Dc(e)] || o[m = Dc(ya(e))]; - !g && h && (g = o[m = Dc(ta(e))]), g && Da(g, t, 6, s); - const b = o[m + "Once"]; + let m, g = a[m = Nc(e)] || a[m = Nc(ya(e))]; + !g && f && (g = a[m = Nc(ta(e))]), g && Da(g, t, 6, s); + const b = a[m + "Once"]; if (b) { if (!t.emitted) t.emitted = {}; @@ -1103,223 +1103,223 @@ function lP(t, e, ...n) { t.emitted[m] = !0, Da(b, t, 6, s); } } -function vS(t, e, n = !1) { - const o = e.emitsCache, s = o.get(t); +function _S(t, e, n = !1) { + const a = e.emitsCache, s = a.get(t); if (s !== void 0) return s; - const h = t.emits; - let a = {}, m = !1; + const f = t.emits; + let o = {}, m = !1; if (!yr(t)) { const g = (b) => { - const T = vS(b, e, !0); - T && (m = !0, Wn(a, T)); + const T = _S(b, e, !0); + T && (m = !0, Wn(o, T)); }; !n && e.mixins.length && e.mixins.forEach(g), t.extends && g(t.extends), t.mixins && t.mixins.forEach(g); } - return !h && !m ? (fn(t) && o.set(t, null), null) : (er(h) ? h.forEach((g) => a[g] = null) : Wn(a, h), fn(t) && o.set(t, a), a); + return !f && !m ? (fn(t) && a.set(t, null), null) : (er(f) ? f.forEach((g) => o[g] = null) : Wn(o, f), fn(t) && a.set(t, o), o); } -function vv(t, e) { - return !t || !Vd(e) ? !1 : (e = e.slice(2).replace(/Once$/, ""), jr(t, e[0].toLowerCase() + e.slice(1)) || jr(t, ta(e)) || jr(t, e)); +function _v(t, e) { + return !t || !Ud(e) ? !1 : (e = e.slice(2).replace(/Once$/, ""), jr(t, e[0].toLowerCase() + e.slice(1)) || jr(t, ta(e)) || jr(t, e)); } -let zi = null, _S = null; -function Tg(t) { +let zi = null, xS = null; +function Mg(t) { const e = zi; - return zi = t, _S = t && t.type.__scopeId || null, e; + return zi = t, xS = t && t.type.__scopeId || null, e; } -function jd(t, e = zi, n) { +function ku(t, e = zi, n) { if (!e || t._n) return t; - const o = (...s) => { - o._d && ow(-1); - const h = Tg(e); - let a; + const a = (...s) => { + a._d && aw(-1); + const f = Mg(e); + let o; try { - a = t(...s); + o = t(...s); } finally { - Tg(h), o._d && ow(1); + Mg(f), a._d && aw(1); } - return process.env.NODE_ENV !== "production" && yS(e), a; + return process.env.NODE_ENV !== "production" && gS(e), o; }; - return o._n = !0, o._c = !0, o._d = !0, o; + return a._n = !0, a._c = !0, a._d = !0, a; } -let O0 = !1; -function Mg() { - O0 = !0; +let C0 = !1; +function Ig() { + C0 = !0; } -function P_(t) { - const { type: e, vnode: n, proxy: o, withProxy: s, props: h, propsOptions: [a], slots: m, attrs: g, emit: b, render: T, renderCache: M, data: I, setupState: P, ctx: z, inheritAttrs: V } = t; +function k_(t) { + const { type: e, vnode: n, proxy: a, withProxy: s, props: f, propsOptions: [o], slots: m, attrs: g, emit: b, render: T, renderCache: M, data: I, setupState: A, ctx: z, inheritAttrs: V } = t; let q, re; - const X = Tg(t); - process.env.NODE_ENV !== "production" && (O0 = !1); + const X = Mg(t); + process.env.NODE_ENV !== "production" && (C0 = !1); try { if (n.shapeFlag & 4) { - const ve = s || o; - q = ns(T.call(ve, ve, M, h, P, I, z)), re = g; + const ve = s || a; + q = rs(T.call(ve, ve, M, f, A, I, z)), re = g; } else { const ve = e; - process.env.NODE_ENV !== "production" && g === h && Mg(), q = ns(ve.length > 1 ? ve(h, process.env.NODE_ENV !== "production" ? { + process.env.NODE_ENV !== "production" && g === f && Ig(), q = rs(ve.length > 1 ? ve(f, process.env.NODE_ENV !== "production" ? { get attrs() { - return Mg(), g; + return Ig(), g; }, slots: m, emit: b - } : { attrs: g, slots: m, emit: b }) : ve(h, null)), re = e.props ? g : cP(g); + } : { attrs: g, slots: m, emit: b }) : ve(f, null)), re = e.props ? g : hA(g); } } catch (ve) { - pd.length = 0, yv(ve, t, 1), q = Ft(Xi); + dd.length = 0, gv(ve, t, 1), q = kt(Xi); } let ae = q, ce; - if (process.env.NODE_ENV !== "production" && q.patchFlag > 0 && q.patchFlag & 2048 && ([ae, ce] = uP(q)), re && V !== !1) { - const ve = Object.keys(re), { shapeFlag: Re } = ae; + if (process.env.NODE_ENV !== "production" && q.patchFlag > 0 && q.patchFlag & 2048 && ([ae, ce] = cA(q)), re && V !== !1) { + const ve = Object.keys(re), { shapeFlag: Ne } = ae; if (ve.length) { - if (Re & 7) - a && ve.some(vg) && (re = hP(re, a)), ae = Qs(ae, re); - else if (process.env.NODE_ENV !== "production" && !O0 && ae.type !== Xi) { - const Fe = Object.keys(g), Pe = [], Se = []; - for (let Ie = 0, Xe = Fe.length; Ie < Xe; Ie++) { - const $e = Fe[Ie]; - Vd($e) ? vg($e) || Pe.push($e[2].toLowerCase() + $e.slice(3)) : Se.push($e); + if (Ne & 7) + o && ve.some(_g) && (re = fA(re, o)), ae = Qs(ae, re); + else if (process.env.NODE_ENV !== "production" && !C0 && ae.type !== Xi) { + const ze = Object.keys(g), Ae = [], Se = []; + for (let Ie = 0, Xe = ze.length; Ie < Xe; Ie++) { + const $e = ze[Ie]; + Ud($e) ? _g($e) || Ae.push($e[2].toLowerCase() + $e.slice(3)) : Se.push($e); } - Se.length && lt(`Extraneous non-props attributes (${Se.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`), Pe.length && lt(`Extraneous non-emits event listeners (${Pe.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`); + Se.length && lt(`Extraneous non-props attributes (${Se.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`), Ae.length && lt(`Extraneous non-emits event listeners (${Ae.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`); } } } - return n.dirs && (process.env.NODE_ENV !== "production" && !Hb(ae) && lt("Runtime directive used on component with non-element root node. The directives will not function as intended."), ae = Qs(ae), ae.dirs = ae.dirs ? ae.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !Hb(ae) && lt("Component inside renders non-element root node that cannot be animated."), ae.transition = n.transition), process.env.NODE_ENV !== "production" && ce ? ce(ae) : q = ae, Tg(X), q; + return n.dirs && (process.env.NODE_ENV !== "production" && !Zb(ae) && lt("Runtime directive used on component with non-element root node. The directives will not function as intended."), ae = Qs(ae), ae.dirs = ae.dirs ? ae.dirs.concat(n.dirs) : n.dirs), n.transition && (process.env.NODE_ENV !== "production" && !Zb(ae) && lt("Component inside renders non-element root node that cannot be animated."), ae.transition = n.transition), process.env.NODE_ENV !== "production" && ce ? ce(ae) : q = ae, Mg(X), q; } -const uP = (t) => { - const e = t.children, n = t.dynamicChildren, o = xS(e); - if (!o) +const cA = (t) => { + const e = t.children, n = t.dynamicChildren, a = bS(e); + if (!a) return [t, void 0]; - const s = e.indexOf(o), h = n ? n.indexOf(o) : -1, a = (m) => { - e[s] = m, n && (h > -1 ? n[h] = m : m.patchFlag > 0 && (t.dynamicChildren = [...n, m])); + const s = e.indexOf(a), f = n ? n.indexOf(a) : -1, o = (m) => { + e[s] = m, n && (f > -1 ? n[f] = m : m.patchFlag > 0 && (t.dynamicChildren = [...n, m])); }; - return [ns(o), a]; + return [rs(a), o]; }; -function xS(t) { +function bS(t) { let e; for (let n = 0; n < t.length; n++) { - const o = t[n]; - if (kf(o)) { - if (o.type !== Xi || o.children === "v-if") { + const a = t[n]; + if (Lf(a)) { + if (a.type !== Xi || a.children === "v-if") { if (e) return; - e = o; + e = a; } } else return; } return e; } -const cP = (t) => { +const hA = (t) => { let e; for (const n in t) - (n === "class" || n === "style" || Vd(n)) && ((e || (e = {}))[n] = t[n]); + (n === "class" || n === "style" || Ud(n)) && ((e || (e = {}))[n] = t[n]); return e; -}, hP = (t, e) => { +}, fA = (t, e) => { const n = {}; - for (const o in t) - (!vg(o) || !(o.slice(9) in e)) && (n[o] = t[o]); + for (const a in t) + (!_g(a) || !(a.slice(9) in e)) && (n[a] = t[a]); return n; -}, Hb = (t) => t.shapeFlag & 7 || t.type === Xi; -function fP(t, e, n) { - const { props: o, children: s, component: h } = t, { props: a, children: m, patchFlag: g } = e, b = h.emitsOptions; - if (process.env.NODE_ENV !== "production" && (s || m) && Pu || e.dirs || e.transition) +}, Zb = (t) => t.shapeFlag & 7 || t.type === Xi; +function pA(t, e, n) { + const { props: a, children: s, component: f } = t, { props: o, children: m, patchFlag: g } = e, b = f.emitsOptions; + if (process.env.NODE_ENV !== "production" && (s || m) && Au || e.dirs || e.transition) return !0; if (n && g >= 0) { if (g & 1024) return !0; if (g & 16) - return o ? Zb(o, a, b) : !!a; + return a ? Xb(a, o, b) : !!o; if (g & 8) { const T = e.dynamicProps; for (let M = 0; M < T.length; M++) { const I = T[M]; - if (a[I] !== o[I] && !vv(b, I)) + if (o[I] !== a[I] && !_v(b, I)) return !0; } } } else - return (s || m) && (!m || !m.$stable) ? !0 : o === a ? !1 : o ? a ? Zb(o, a, b) : !0 : !!a; + return (s || m) && (!m || !m.$stable) ? !0 : a === o ? !1 : a ? o ? Xb(a, o, b) : !0 : !!o; return !1; } -function Zb(t, e, n) { - const o = Object.keys(e); - if (o.length !== Object.keys(t).length) +function Xb(t, e, n) { + const a = Object.keys(e); + if (a.length !== Object.keys(t).length) return !0; - for (let s = 0; s < o.length; s++) { - const h = o[s]; - if (e[h] !== t[h] && !vv(n, h)) + for (let s = 0; s < a.length; s++) { + const f = a[s]; + if (e[f] !== t[f] && !_v(n, f)) return !0; } return !1; } -function pP({ vnode: t, parent: e }, n) { +function dA({ vnode: t, parent: e }, n) { for (; e && e.subTree === t; ) (t = e.vnode).el = n, e = e.parent; } -const dP = (t) => t.__isSuspense; -function mP(t, e) { - e && e.pendingBranch ? er(t) ? e.effects.push(...t) : e.effects.push(t) : hS(t); +const mA = (t) => t.__isSuspense; +function yA(t, e) { + e && e.pendingBranch ? er(t) ? e.effects.push(...t) : e.effects.push(t) : fS(t); } -function bS(t, e) { +function wS(t, e) { if (!di) process.env.NODE_ENV !== "production" && lt("provide() can only be used inside setup()."); else { let n = di.provides; - const o = di.parent && di.parent.provides; - o === n && (n = di.provides = Object.create(o)), n[t] = e; + const a = di.parent && di.parent.provides; + a === n && (n = di.provides = Object.create(a)), n[t] = e; } } -function Ef(t, e, n = !1) { - const o = di || zi; - if (o) { - const s = o.parent == null ? o.vnode.appContext && o.vnode.appContext.provides : o.parent.provides; +function Sf(t, e, n = !1) { + const a = di || zi; + if (a) { + const s = a.parent == null ? a.vnode.appContext && a.vnode.appContext.provides : a.parent.provides; if (s && t in s) return s[t]; if (arguments.length > 1) - return n && yr(e) ? e.call(o.proxy) : e; + return n && yr(e) ? e.call(a.proxy) : e; process.env.NODE_ENV !== "production" && lt(`injection "${String(t)}" not found.`); } else process.env.NODE_ENV !== "production" && lt("inject() can only be used inside setup() or functional components."); } function va(t, e) { - return L1(t, null, e); + return Dx(t, null, e); } const Ey = {}; -function Pn(t, e, n) { - return process.env.NODE_ENV !== "production" && !yr(e) && lt("`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."), L1(t, e, n); +function An(t, e, n) { + return process.env.NODE_ENV !== "production" && !yr(e) && lt("`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."), Dx(t, e, n); } -function L1(t, e, { immediate: n, deep: o, flush: s, onTrack: h, onTrigger: a } = wn) { - process.env.NODE_ENV !== "production" && !e && (n !== void 0 && lt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'), o !== void 0 && lt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.')); +function Dx(t, e, { immediate: n, deep: a, flush: s, onTrack: f, onTrigger: o } = wn) { + process.env.NODE_ENV !== "production" && !e && (n !== void 0 && lt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'), a !== void 0 && lt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.')); const m = (ce) => { lt("Invalid watch source: ", ce, "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."); - }, g = GE() === (di == null ? void 0 : di.scope) ? di : null; + }, g = $E() === (di == null ? void 0 : di.scope) ? di : null; let b, T = !1, M = !1; - if (hn(t) ? (b = () => t.value, T = wg(t)) : ls(t) ? (b = () => t, o = !0) : er(t) ? (M = !0, T = t.some((ce) => ls(ce) || wg(ce)), b = () => t.map((ce) => { + if (hn(t) ? (b = () => t.value, T = Eg(t)) : ss(t) ? (b = () => t, a = !0) : er(t) ? (M = !0, T = t.some((ce) => ss(ce) || Eg(ce)), b = () => t.map((ce) => { if (hn(ce)) return ce.value; - if (ls(ce)) - return jc(ce); + if (ss(ce)) + return Gc(ce); if (yr(ce)) return Bl(ce, g, 2); process.env.NODE_ENV !== "production" && m(ce); })) : yr(t) ? e ? b = () => Bl(t, g, 2) : b = () => { if (!(g && g.isUnmounted)) - return I && I(), Da(t, g, 3, [P]); - } : (b = ao, process.env.NODE_ENV !== "production" && m(t)), e && o) { + return I && I(), Da(t, g, 3, [A]); + } : (b = ao, process.env.NODE_ENV !== "production" && m(t)), e && a) { const ce = b; - b = () => jc(ce()); + b = () => Gc(ce()); } - let I, P = (ce) => { + let I, A = (ce) => { I = X.onStop = () => { Bl(ce, g, 4); }; }, z; if (Ad) - if (P = ao, e ? n && Da(e, g, 3, [ + if (A = ao, e ? n && Da(e, g, 3, [ b(), M ? [] : void 0, - P + A ]) : b(), s === "sync") { const ce = Ek(); z = ce.__watcherHandles || (ce.__watcherHandles = []); @@ -1330,60 +1330,60 @@ function L1(t, e, { immediate: n, deep: o, flush: s, onTrack: h, onTrigger: a } if (!!X.active) if (e) { const ce = X.run(); - (o || T || (M ? ce.some((ve, Re) => Sd(ve, V[Re])) : Sd(ce, V))) && (I && I(), Da(e, g, 3, [ + (a || T || (M ? ce.some((ve, Ne) => Td(ve, V[Ne])) : Td(ce, V))) && (I && I(), Da(e, g, 3, [ ce, V === Ey ? void 0 : M && V[0] === Ey ? [] : V, - P + A ]), V = ce); } else X.run(); }; q.allowRecurse = !!e; let re; - s === "sync" ? re = q : s === "post" ? re = () => ea(q, g && g.suspense) : (q.pre = !0, g && (q.id = g.uid), re = () => gv(q)); - const X = new M1(b, re); - process.env.NODE_ENV !== "production" && (X.onTrack = h, X.onTrigger = a), e ? n ? q() : V = X.run() : s === "post" ? ea(X.run.bind(X), g && g.suspense) : X.run(); + s === "sync" ? re = q : s === "post" ? re = () => ea(q, g && g.suspense) : (q.pre = !0, g && (q.id = g.uid), re = () => vv(q)); + const X = new Ix(b, re); + process.env.NODE_ENV !== "production" && (X.onTrack = f, X.onTrigger = o), e ? n ? q() : V = X.run() : s === "post" ? ea(X.run.bind(X), g && g.suspense) : X.run(); const ae = () => { - X.stop(), g && g.scope && b1(g.scope.effects, X); + X.stop(), g && g.scope && wx(g.scope.effects, X); }; return z && z.push(ae), ae; } -function yP(t, e, n) { - const o = this.proxy, s = Hn(t) ? t.includes(".") ? wS(o, t) : () => o[t] : t.bind(o, o); - let h; - yr(e) ? h = e : (h = e.handler, n = e); - const a = di; - Lf(this); - const m = L1(s, h.bind(o), n); - return a ? Lf(a) : Hc(), m; +function gA(t, e, n) { + const a = this.proxy, s = Hn(t) ? t.includes(".") ? ES(a, t) : () => a[t] : t.bind(a, a); + let f; + yr(e) ? f = e : (f = e.handler, n = e); + const o = di; + Df(this); + const m = Dx(s, f.bind(a), n); + return o ? Df(o) : Zc(), m; } -function wS(t, e) { +function ES(t, e) { const n = e.split("."); return () => { - let o = t; - for (let s = 0; s < n.length && o; s++) - o = o[n[s]]; - return o; + let a = t; + for (let s = 0; s < n.length && a; s++) + a = a[n[s]]; + return a; }; } -function jc(t, e) { +function Gc(t, e) { if (!fn(t) || t.__v_skip || (e = e || /* @__PURE__ */ new Set(), e.has(t))) return t; if (e.add(t), hn(t)) - jc(t.value, e); + Gc(t.value, e); else if (er(t)) for (let n = 0; n < t.length; n++) - jc(t[n], e); - else if (zE(t) || Gc(t)) + Gc(t[n], e); + else if (FE(t) || $c(t)) t.forEach((n) => { - jc(n, e); + Gc(n, e); }); - else if (BE(t)) + else if (VE(t)) for (const n in t) - jc(t[n], e); + Gc(t[n], e); return t; } -function gP() { +function vA() { const t = { isMounted: !1, isLeaving: !1, @@ -1392,11 +1392,11 @@ function gP() { }; return _a(() => { t.isMounted = !0; - }), IS(() => { + }), OS(() => { t.isUnmounting = !0; }), t; } -const Ia = [Function, Array], vP = { +const Ia = [Function, Array], _A = { name: "BaseTransition", props: { mode: String, @@ -1416,83 +1416,83 @@ const Ia = [Function, Array], vP = { onAppearCancelled: Ia }, setup(t, { slots: e }) { - const n = bv(), o = gP(); + const n = wv(), a = vA(); let s; return () => { - const h = e.default && TS(e.default(), !0); - if (!h || !h.length) + const f = e.default && MS(e.default(), !0); + if (!f || !f.length) return; - let a = h[0]; - if (h.length > 1) { + let o = f[0]; + if (f.length > 1) { let V = !1; - for (const q of h) + for (const q of f) if (q.type !== Xi) { if (process.env.NODE_ENV !== "production" && V) { lt(" can only be used on a single element or component. Use for lists."); break; } - if (a = q, V = !0, process.env.NODE_ENV === "production") + if (o = q, V = !0, process.env.NODE_ENV === "production") break; } } const m = hr(t), { mode: g } = m; - if (process.env.NODE_ENV !== "production" && g && g !== "in-out" && g !== "out-in" && g !== "default" && lt(`invalid mode: ${g}`), o.isLeaving) - return k_(a); - const b = Xb(a); + if (process.env.NODE_ENV !== "production" && g && g !== "in-out" && g !== "out-in" && g !== "default" && lt(`invalid mode: ${g}`), a.isLeaving) + return L_(o); + const b = Kb(o); if (!b) - return k_(a); - const T = C0(b, m, o, n); + return L_(o); + const T = P0(b, m, a, n); A0(b, T); - const M = n.subTree, I = M && Xb(M); - let P = !1; + const M = n.subTree, I = M && Kb(M); + let A = !1; const { getTransitionKey: z } = b.type; if (z) { const V = z(); - s === void 0 ? s = V : V !== s && (s = V, P = !0); + s === void 0 ? s = V : V !== s && (s = V, A = !0); } - if (I && I.type !== Xi && (!Bc(b, I) || P)) { - const V = C0(I, m, o, n); + if (I && I.type !== Xi && (!Vc(b, I) || A)) { + const V = P0(I, m, a, n); if (A0(I, V), g === "out-in") - return o.isLeaving = !0, V.afterLeave = () => { - o.isLeaving = !1, n.update.active !== !1 && n.update(); - }, k_(a); + return a.isLeaving = !0, V.afterLeave = () => { + a.isLeaving = !1, n.update.active !== !1 && n.update(); + }, L_(o); g === "in-out" && b.type !== Xi && (V.delayLeave = (q, re, X) => { - const ae = SS(o, I); + const ae = TS(a, I); ae[String(I.key)] = I, q._leaveCb = () => { re(), q._leaveCb = void 0, delete T.delayedLeave; }, T.delayedLeave = X; }); } - return a; + return o; }; } -}, ES = vP; -function SS(t, e) { +}, SS = _A; +function TS(t, e) { const { leavingVNodes: n } = t; - let o = n.get(e.type); - return o || (o = /* @__PURE__ */ Object.create(null), n.set(e.type, o)), o; + let a = n.get(e.type); + return a || (a = /* @__PURE__ */ Object.create(null), n.set(e.type, a)), a; } -function C0(t, e, n, o) { - const { appear: s, mode: h, persisted: a = !1, onBeforeEnter: m, onEnter: g, onAfterEnter: b, onEnterCancelled: T, onBeforeLeave: M, onLeave: I, onAfterLeave: P, onLeaveCancelled: z, onBeforeAppear: V, onAppear: q, onAfterAppear: re, onAppearCancelled: X } = e, ae = String(t.key), ce = SS(n, t), ve = (Pe, Se) => { - Pe && Da(Pe, o, 9, Se); - }, Re = (Pe, Se) => { +function P0(t, e, n, a) { + const { appear: s, mode: f, persisted: o = !1, onBeforeEnter: m, onEnter: g, onAfterEnter: b, onEnterCancelled: T, onBeforeLeave: M, onLeave: I, onAfterLeave: A, onLeaveCancelled: z, onBeforeAppear: V, onAppear: q, onAfterAppear: re, onAppearCancelled: X } = e, ae = String(t.key), ce = TS(n, t), ve = (Ae, Se) => { + Ae && Da(Ae, a, 9, Se); + }, Ne = (Ae, Se) => { const Ie = Se[1]; - ve(Pe, Se), er(Pe) ? Pe.every((Xe) => Xe.length <= 1) && Ie() : Pe.length <= 1 && Ie(); - }, Fe = { - mode: h, - persisted: a, - beforeEnter(Pe) { + ve(Ae, Se), er(Ae) ? Ae.every((Xe) => Xe.length <= 1) && Ie() : Ae.length <= 1 && Ie(); + }, ze = { + mode: f, + persisted: o, + beforeEnter(Ae) { let Se = m; if (!n.isMounted) if (s) Se = V || m; else return; - Pe._leaveCb && Pe._leaveCb(!0); + Ae._leaveCb && Ae._leaveCb(!0); const Ie = ce[ae]; - Ie && Bc(t, Ie) && Ie.el._leaveCb && Ie.el._leaveCb(), ve(Se, [Pe]); + Ie && Vc(t, Ie) && Ie.el._leaveCb && Ie.el._leaveCb(), ve(Se, [Ae]); }, - enter(Pe) { + enter(Ae) { let Se = g, Ie = b, Xe = T; if (!n.isMounted) if (s) @@ -1500,62 +1500,62 @@ function C0(t, e, n, o) { else return; let $e = !1; - const at = Pe._enterCb = (be) => { - $e || ($e = !0, be ? ve(Xe, [Pe]) : ve(Ie, [Pe]), Fe.delayedLeave && Fe.delayedLeave(), Pe._enterCb = void 0); + const at = Ae._enterCb = (be) => { + $e || ($e = !0, be ? ve(Xe, [Ae]) : ve(Ie, [Ae]), ze.delayedLeave && ze.delayedLeave(), Ae._enterCb = void 0); }; - Se ? Re(Se, [Pe, at]) : at(); + Se ? Ne(Se, [Ae, at]) : at(); }, - leave(Pe, Se) { + leave(Ae, Se) { const Ie = String(t.key); - if (Pe._enterCb && Pe._enterCb(!0), n.isUnmounting) + if (Ae._enterCb && Ae._enterCb(!0), n.isUnmounting) return Se(); - ve(M, [Pe]); + ve(M, [Ae]); let Xe = !1; - const $e = Pe._leaveCb = (at) => { - Xe || (Xe = !0, Se(), at ? ve(z, [Pe]) : ve(P, [Pe]), Pe._leaveCb = void 0, ce[Ie] === t && delete ce[Ie]); + const $e = Ae._leaveCb = (at) => { + Xe || (Xe = !0, Se(), at ? ve(z, [Ae]) : ve(A, [Ae]), Ae._leaveCb = void 0, ce[Ie] === t && delete ce[Ie]); }; - ce[Ie] = t, I ? Re(I, [Pe, $e]) : $e(); + ce[Ie] = t, I ? Ne(I, [Ae, $e]) : $e(); }, - clone(Pe) { - return C0(Pe, e, n, o); + clone(Ae) { + return P0(Ae, e, n, a); } }; - return Fe; + return ze; } -function k_(t) { +function L_(t) { if (Gd(t)) return t = Qs(t), t.children = null, t; } -function Xb(t) { +function Kb(t) { return Gd(t) ? t.children ? t.children[0] : void 0 : t; } function A0(t, e) { t.shapeFlag & 6 && t.component ? A0(t.component.subTree, e) : t.shapeFlag & 128 ? (t.ssContent.transition = e.clone(t.ssContent), t.ssFallback.transition = e.clone(t.ssFallback)) : t.transition = e; } -function TS(t, e = !1, n) { - let o = [], s = 0; - for (let h = 0; h < t.length; h++) { - let a = t[h]; - const m = n == null ? a.key : String(n) + String(a.key != null ? a.key : h); - a.type === cn ? (a.patchFlag & 128 && s++, o = o.concat(TS(a.children, e, m))) : (e || a.type !== Xi) && o.push(m != null ? Qs(a, { key: m }) : a); +function MS(t, e = !1, n) { + let a = [], s = 0; + for (let f = 0; f < t.length; f++) { + let o = t[f]; + const m = n == null ? o.key : String(n) + String(o.key != null ? o.key : f); + o.type === on ? (o.patchFlag & 128 && s++, a = a.concat(MS(o.children, e, m))) : (e || o.type !== Xi) && a.push(m != null ? Qs(o, { key: m }) : o); } if (s > 1) - for (let h = 0; h < o.length; h++) - o[h].patchFlag = -2; - return o; + for (let f = 0; f < a.length; f++) + a[f].patchFlag = -2; + return a; } -function ar(t) { +function ir(t) { return yr(t) ? { setup: t, name: t.name } : t; } -const hd = (t) => !!t.type.__asyncLoader, Gd = (t) => t.type.__isKeepAlive; -function _P(t, e) { - MS(t, "a", e); +const fd = (t) => !!t.type.__asyncLoader, Gd = (t) => t.type.__isKeepAlive; +function xA(t, e) { + IS(t, "a", e); } -function xP(t, e) { - MS(t, "da", e); +function bA(t, e) { + IS(t, "da", e); } -function MS(t, e, n = di) { - const o = t.__wdc || (t.__wdc = () => { +function IS(t, e, n = di) { + const a = t.__wdc || (t.__wdc = () => { let s = n; for (; s; ) { if (s.isDeactivated) @@ -1564,53 +1564,53 @@ function MS(t, e, n = di) { } return t(); }); - if (_v(e, o, n), n) { + if (xv(e, a, n), n) { let s = n.parent; for (; s && s.parent; ) - Gd(s.parent.vnode) && bP(o, e, n, s), s = s.parent; + Gd(s.parent.vnode) && wA(a, e, n, s), s = s.parent; } } -function bP(t, e, n, o) { - const s = _v(e, t, o, !0); - Gu(() => { - b1(o[e], s); +function wA(t, e, n, a) { + const s = xv(e, t, a, !0); + $u(() => { + wx(a[e], s); }, n); } -function _v(t, e, n = di, o = !1) { +function xv(t, e, n = di, a = !1) { if (n) { - const s = n[t] || (n[t] = []), h = e.__weh || (e.__weh = (...a) => { + const s = n[t] || (n[t] = []), f = e.__weh || (e.__weh = (...o) => { if (n.isUnmounted) return; - th(), Lf(n); - const m = Da(e, n, t, a); - return Hc(), rh(), m; + rh(), Df(n); + const m = Da(e, n, t, o); + return Zc(), nh(), m; }); - return o ? s.unshift(h) : s.push(h), h; + return a ? s.unshift(f) : s.push(f), f; } else if (process.env.NODE_ENV !== "production") { - const s = Dc(C1[t].replace(/ hook$/, "")); + const s = Nc(Px[t].replace(/ hook$/, "")); lt(`${s} 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 Hl = (t) => (e, n = di) => (!Ad || t === "sp") && _v(t, (...o) => e(...o), n), wP = Hl("bm"), _a = Hl("m"), EP = Hl("bu"), SP = Hl("u"), IS = Hl("bum"), Gu = Hl("um"), TP = Hl("sp"), MP = Hl("rtg"), IP = Hl("rtc"); -function OP(t, e = di) { - _v("ec", t, e); +const Hl = (t) => (e, n = di) => (!Ad || t === "sp") && xv(t, (...a) => e(...a), n), EA = Hl("bm"), _a = Hl("m"), SA = Hl("bu"), TA = Hl("u"), OS = Hl("bum"), $u = Hl("um"), MA = Hl("sp"), IA = Hl("rtg"), OA = Hl("rtc"); +function CA(t, e = di) { + xv("ec", t, e); } -function OS(t) { - eA(t) && lt("Do not use built-in directive ids as custom directive id: " + t); +function CS(t) { + tP(t) && lt("Do not use built-in directive ids as custom directive id: " + t); } -function Ig(t, e) { +function Og(t, e) { const n = zi; if (n === null) return process.env.NODE_ENV !== "production" && lt("withDirectives can only be used inside render functions."), t; - const o = wv(n) || n.proxy, s = t.dirs || (t.dirs = []); - for (let h = 0; h < e.length; h++) { - let [a, m, g, b = wn] = e[h]; - a && (yr(a) && (a = { - mounted: a, - updated: a - }), a.deep && jc(m), s.push({ - dir: a, - instance: o, + const a = Ev(n) || n.proxy, s = t.dirs || (t.dirs = []); + for (let f = 0; f < e.length; f++) { + let [o, m, g, b = wn] = e[f]; + o && (yr(o) && (o = { + mounted: o, + updated: o + }), o.deep && Gc(m), s.push({ + dir: o, + instance: a, value: m, oldValue: void 0, arg: g, @@ -1619,230 +1619,230 @@ function Ig(t, e) { } return t; } -function Sc(t, e, n, o) { - const s = t.dirs, h = e && e.dirs; - for (let a = 0; a < s.length; a++) { - const m = s[a]; - h && (m.oldValue = h[a].value); - let g = m.dir[o]; - g && (th(), Da(g, n, 8, [ +function Tc(t, e, n, a) { + const s = t.dirs, f = e && e.dirs; + for (let o = 0; o < s.length; o++) { + const m = s[o]; + f && (m.oldValue = f[o].value); + let g = m.dir[a]; + g && (rh(), Da(g, n, 8, [ t.el, m, t, e - ]), rh()); + ]), nh()); } } -const P0 = "components", CP = "directives"; -function AP(t, e) { - return CS(P0, t, !0, e) || t; +const k0 = "components", PA = "directives"; +function AA(t, e) { + return PS(k0, t, !0, e) || t; } -const PP = Symbol(); -function D1(t) { - return CS(CP, t); +const kA = Symbol(); +function Nx(t) { + return PS(PA, t); } -function CS(t, e, n = !0, o = !1) { +function PS(t, e, n = !0, a = !1) { const s = zi || di; if (s) { - const h = s.type; - if (t === P0) { - const m = B1(h, !1); - if (m && (m === e || m === ya(e) || m === Kc(ya(e)))) - return h; + const f = s.type; + if (t === k0) { + const m = Vx(f, !1); + if (m && (m === e || m === ya(e) || m === Yc(ya(e)))) + return f; } - const a = Kb(s[t] || h[t], e) || Kb(s.appContext[t], e); - if (!a && o) - return h; - if (process.env.NODE_ENV !== "production" && n && !a) { - const m = t === P0 ? ` + const o = Yb(s[t] || f[t], e) || Yb(s.appContext[t], e); + if (!o && a) + return f; + if (process.env.NODE_ENV !== "production" && n && !o) { + const m = t === k0 ? ` If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ""; lt(`Failed to resolve ${t.slice(0, -1)}: ${e}${m}`); } - return a; + return o; } else - process.env.NODE_ENV !== "production" && lt(`resolve${Kc(t.slice(0, -1))} can only be used in render() or setup().`); + process.env.NODE_ENV !== "production" && lt(`resolve${Yc(t.slice(0, -1))} can only be used in render() or setup().`); } -function Kb(t, e) { - return t && (t[e] || t[ya(e)] || t[Kc(ya(e))]); +function Yb(t, e) { + return t && (t[e] || t[ya(e)] || t[Yc(ya(e))]); } -function Ra(t, e, n, o) { +function Ra(t, e, n, a) { let s; - const h = n && n[o]; + const f = n && n[a]; if (er(t) || Hn(t)) { s = new Array(t.length); - for (let a = 0, m = t.length; a < m; a++) - s[a] = e(t[a], a, void 0, h && h[a]); + for (let o = 0, m = t.length; o < m; o++) + s[o] = e(t[o], o, void 0, f && f[o]); } else if (typeof t == "number") { process.env.NODE_ENV !== "production" && !Number.isInteger(t) && lt(`The v-for range expect an integer value but got ${t}.`), s = new Array(t); - for (let a = 0; a < t; a++) - s[a] = e(a + 1, a, void 0, h && h[a]); + for (let o = 0; o < t; o++) + s[o] = e(o + 1, o, void 0, f && f[o]); } else if (fn(t)) if (t[Symbol.iterator]) - s = Array.from(t, (a, m) => e(a, m, void 0, h && h[m])); + s = Array.from(t, (o, m) => e(o, m, void 0, f && f[m])); else { - const a = Object.keys(t); - s = new Array(a.length); - for (let m = 0, g = a.length; m < g; m++) { - const b = a[m]; - s[m] = e(t[b], b, m, h && h[m]); + const o = Object.keys(t); + s = new Array(o.length); + for (let m = 0, g = o.length; m < g; m++) { + const b = o[m]; + s[m] = e(t[b], b, m, f && f[m]); } } else s = []; - return n && (n[o] = s), s; -} -function kP(t, e, n = {}, o, s) { - if (zi.isCE || zi.parent && hd(zi.parent) && zi.parent.isCE) - return e !== "default" && (n.name = e), Ft("slot", n, o && o()); - let h = t[e]; - process.env.NODE_ENV !== "production" && h && h.length > 1 && (lt("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."), h = () => []), h && h._c && (h._d = !1), Ve(); - const a = h && AS(h(n)), m = on(cn, { - key: n.key || a && a.key || `_${e}` - }, a || (o ? o() : []), a && t._ === 1 ? 64 : -2); - return !s && m.scopeId && (m.slotScopeIds = [m.scopeId + "-s"]), h && h._c && (h._d = !0), m; -} -function AS(t) { - return t.some((e) => kf(e) ? !(e.type === Xi || e.type === cn && !AS(e.children)) : !0) ? t : null; -} -const k0 = (t) => t ? WS(t) ? wv(t) || t.proxy : k0(t.parent) : null, Wc = /* @__PURE__ */ Wn(/* @__PURE__ */ Object.create(null), { + return n && (n[a] = s), s; +} +function AS(t, e, n = {}, a, s) { + if (zi.isCE || zi.parent && fd(zi.parent) && zi.parent.isCE) + return e !== "default" && (n.name = e), kt("slot", n, a && a()); + let f = t[e]; + process.env.NODE_ENV !== "production" && f && f.length > 1 && (lt("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."), f = () => []), f && f._c && (f._d = !1), Be(); + const o = f && kS(f(n)), m = an(on, { + key: n.key || o && o.key || `_${e}` + }, o || (a ? a() : []), o && t._ === 1 ? 64 : -2); + return !s && m.scopeId && (m.slotScopeIds = [m.scopeId + "-s"]), f && f._c && (f._d = !0), m; +} +function kS(t) { + return t.some((e) => Lf(e) ? !(e.type === Xi || e.type === on && !kS(e.children)) : !0) ? t : null; +} +const L0 = (t) => t ? ZS(t) ? Ev(t) || t.proxy : L0(t.parent) : null, Hc = /* @__PURE__ */ Wn(/* @__PURE__ */ Object.create(null), { $: (t) => t, $el: (t) => t.vnode.el, $data: (t) => t.data, - $props: (t) => process.env.NODE_ENV !== "production" ? df(t.props) : t.props, - $attrs: (t) => process.env.NODE_ENV !== "production" ? df(t.attrs) : t.attrs, - $slots: (t) => process.env.NODE_ENV !== "production" ? df(t.slots) : t.slots, - $refs: (t) => process.env.NODE_ENV !== "production" ? df(t.refs) : t.refs, - $parent: (t) => k0(t.parent), - $root: (t) => k0(t.root), + $props: (t) => process.env.NODE_ENV !== "production" ? mf(t.props) : t.props, + $attrs: (t) => process.env.NODE_ENV !== "production" ? mf(t.attrs) : t.attrs, + $slots: (t) => process.env.NODE_ENV !== "production" ? mf(t.slots) : t.slots, + $refs: (t) => process.env.NODE_ENV !== "production" ? mf(t.refs) : t.refs, + $parent: (t) => L0(t.parent), + $root: (t) => L0(t.root), $emit: (t) => t.emit, - $options: (t) => R1(t), - $forceUpdate: (t) => t.f || (t.f = () => gv(t.update)), - $nextTick: (t) => t.n || (t.n = Sg.bind(t.proxy)), - $watch: (t) => yP.bind(t) -}), N1 = (t) => t === "_" || t === "$", L_ = (t, e) => t !== wn && !t.__isScriptSetup && jr(t, e), PS = { + $options: (t) => zx(t), + $forceUpdate: (t) => t.f || (t.f = () => vv(t.update)), + $nextTick: (t) => t.n || (t.n = Tg.bind(t.proxy)), + $watch: (t) => gA.bind(t) +}), Rx = (t) => t === "_" || t === "$", D_ = (t, e) => t !== wn && !t.__isScriptSetup && jr(t, e), LS = { get({ _: t }, e) { - const { ctx: n, setupState: o, data: s, props: h, accessCache: a, type: m, appContext: g } = t; + const { ctx: n, setupState: a, data: s, props: f, accessCache: o, type: m, appContext: g } = t; if (process.env.NODE_ENV !== "production" && e === "__isVue") return !0; let b; if (e[0] !== "$") { - const P = a[e]; - if (P !== void 0) - switch (P) { + const A = o[e]; + if (A !== void 0) + switch (A) { case 1: - return o[e]; + return a[e]; case 2: return s[e]; case 4: return n[e]; case 3: - return h[e]; + return f[e]; } else { - if (L_(o, e)) - return a[e] = 1, o[e]; + if (D_(a, e)) + return o[e] = 1, a[e]; if (s !== wn && jr(s, e)) - return a[e] = 2, s[e]; + return o[e] = 2, s[e]; if ((b = t.propsOptions[0]) && jr(b, e)) - return a[e] = 3, h[e]; + return o[e] = 3, f[e]; if (n !== wn && jr(n, e)) - return a[e] = 4, n[e]; - L0 && (a[e] = 0); + return o[e] = 4, n[e]; + D0 && (o[e] = 0); } } - const T = Wc[e]; + const T = Hc[e]; let M, I; if (T) - return e === "$attrs" && (Bo(t, "get", e), process.env.NODE_ENV !== "production" && Mg()), T(t); + return e === "$attrs" && (Bo(t, "get", e), process.env.NODE_ENV !== "production" && Ig()), T(t); if ((M = m.__cssModules) && (M = M[e])) return M; if (n !== wn && jr(n, e)) - return a[e] = 4, n[e]; + return o[e] = 4, n[e]; if (I = g.config.globalProperties, jr(I, e)) return I[e]; - process.env.NODE_ENV !== "production" && zi && (!Hn(e) || e.indexOf("__v") !== 0) && (s !== wn && N1(e[0]) && jr(s, e) ? lt(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`) : t === zi && lt(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`)); + process.env.NODE_ENV !== "production" && zi && (!Hn(e) || e.indexOf("__v") !== 0) && (s !== wn && Rx(e[0]) && jr(s, e) ? lt(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`) : t === zi && lt(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`)); }, set({ _: t }, e, n) { - const { data: o, setupState: s, ctx: h } = t; - return L_(s, e) ? (s[e] = n, !0) : process.env.NODE_ENV !== "production" && s.__isScriptSetup && jr(s, e) ? (lt(`Cannot mutate + + diff --git a/src/components/layer-tree/layer-tree-node.vue b/src/components/layer-tree/layer-tree-node.vue index 0237c6c7..be6b0158 100644 --- a/src/components/layer-tree/layer-tree-node.vue +++ b/src/components/layer-tree/layer-tree-node.vue @@ -2,6 +2,7 @@ import { useTranslation } from 'i18next-vue' import { computed } from 'vue' import { useMetadataStore } from '@/stores/metadata.store' +import ExpandablePanel from '@/components/common/expandable-panel.vue' import type { LayerTreeNodeModel } from './layer-tree.model' @@ -32,28 +33,15 @@ function toggleParent(node: LayerTreeNodeModel) {