UNPKG

imooc-element-components-hql

Version:

1,712 lines 591 kB
/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function Rs(o) { const s = /* @__PURE__ */ Object.create(null); for (const r of o.split(",")) s[r] = 1; return (r) => r in s; } const He = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Is = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], mt = () => { }, Ps = (o) => o.charCodeAt(0) === 111 && o.charCodeAt(1) === 110 && // uppercase letter (o.charCodeAt(2) > 122 || o.charCodeAt(2) < 97), Re = Object.assign, Ns = Object.prototype.hasOwnProperty, ce = (o, s) => Ns.call(o, s), se = Array.isArray, gt = (o) => sn(o) === "[object Map]", Ms = (o) => sn(o) === "[object Set]", he = (o) => typeof o == "function", Oe = (o) => typeof o == "string", yt = (o) => typeof o == "symbol", xe = (o) => o !== null && typeof o == "object", Os = (o) => (xe(o) || he(o)) && he(o.then) && he(o.catch), bs = Object.prototype.toString, sn = (o) => bs.call(o), Sl = (o) => sn(o).slice(8, -1), Bs = (o) => sn(o) === "[object Object]", Lo = (o) => Oe(o) && o !== "NaN" && o[0] !== "-" && "" + parseInt(o, 10) === o, Ho = (o) => { const s = /* @__PURE__ */ Object.create(null); return (r) => s[r] || (s[r] = o(r)); }, Fs = /-(\w)/g, Zt = Ho( (o) => o.replace(Fs, (s, r) => r ? r.toUpperCase() : "") ), Ot = Ho((o) => o.charAt(0).toUpperCase() + o.slice(1)), Ls = Ho( (o) => o ? `on${Ot(o)}` : "" ), tt = (o, s) => !Object.is(o, s), Hs = (o, s, r, n = !1) => { Object.defineProperty(o, s, { configurable: !0, enumerable: !1, writable: n, value: r }); }; let la; const un = () => la || (la = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}); function wo(o) { if (se(o)) { const s = {}; for (let r = 0; r < o.length; r++) { const n = o[r], e = Oe(n) ? $s(n) : wo(n); if (e) for (const t in e) s[t] = e[t]; } return s; } else if (Oe(o) || xe(o)) return o; } const ws = /;(?![^(]*\))/g, js = /:([^]+)/, Us = /\/\*[^]*?\*\//g; function $s(o) { const s = {}; return o.replace(Us, "").split(ws).forEach((r) => { if (r) { const n = r.split(js); n.length > 1 && (s[n[0].trim()] = n[1].trim()); } }), s; } function jo(o) { let s = ""; if (Oe(o)) s = o; else if (se(o)) for (let r = 0; r < o.length; r++) { const n = jo(o[r]); n && (s += n + " "); } else if (xe(o)) for (const r in o) o[r] && (s += r + " "); return s.trim(); } /** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ function rt(o, ...s) { console.warn(`[Vue warn] ${o}`, ...s); } let ie; const An = /* @__PURE__ */ new WeakSet(); class Vs { constructor(s) { this.fn = s, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0; } pause() { this.flags |= 64; } resume() { this.flags & 64 && (this.flags &= -65, An.has(this) && (An.delete(this), this.trigger())); } /** * @internal */ notify() { this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Qs(this); } run() { if (!(this.flags & 1)) return this.fn(); this.flags |= 2, sa(this), Tl(this); const s = ie, r = $e; ie = this, $e = !0; try { return this.fn(); } finally { process.env.NODE_ENV !== "production" && ie !== this && rt( "Active effect was not restored correctly - this is likely a Vue internal bug." ), Dl(this), ie = s, $e = r, this.flags &= -3; } } stop() { if (this.flags & 1) { for (let s = this.deps; s; s = s.nextDep) Vo(s); this.deps = this.depsTail = void 0, sa(this), this.onStop && this.onStop(), this.flags &= -2; } } trigger() { this.flags & 64 ? An.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty(); } /** * @internal */ runIfDirty() { Io(this) && this.run(); } get dirty() { return Io(this); } } let Cl = 0, Pt, Nt; function Qs(o, s = !1) { if (o.flags |= 8, s) { o.next = Nt, Nt = o; return; } o.next = Pt, Pt = o; } function Uo() { Cl++; } function $o() { if (--Cl > 0) return; if (Nt) { let s = Nt; for (Nt = void 0; s; ) { const r = s.next; s.next = void 0, s.flags &= -9, s = r; } } let o; for (; Pt; ) { let s = Pt; for (Pt = void 0; s; ) { const r = s.next; if (s.next = void 0, s.flags &= -9, s.flags & 1) try { s.trigger(); } catch (n) { o || (o = n); } s = r; } } if (o) throw o; } function Tl(o) { for (let s = o.deps; s; s = s.nextDep) s.version = -1, s.prevActiveLink = s.dep.activeLink, s.dep.activeLink = s; } function Dl(o) { let s, r = o.depsTail, n = r; for (; n; ) { const e = n.prevDep; n.version === -1 ? (n === r && (r = e), Vo(n), zs(n)) : s = n, n.dep.activeLink = n.prevActiveLink, n.prevActiveLink = void 0, n = e; } o.deps = s, o.depsTail = r; } function Io(o) { for (let s = o.deps; s; s = s.nextDep) if (s.dep.version !== s.version || s.dep.computed && (Ys(s.dep.computed) || s.dep.version !== s.version)) return !0; return !!o._dirty; } function Ys(o) { if (o.flags & 4 && !(o.flags & 16) || (o.flags &= -17, o.globalVersion === kt)) return; o.globalVersion = kt; const s = o.dep; if (o.flags |= 2, s.version > 0 && !o.isSSR && o.deps && !Io(o)) { o.flags &= -3; return; } const r = ie, n = $e; ie = o, $e = !0; try { Tl(o); const e = o.fn(o._value); (s.version === 0 || tt(e, o._value)) && (o._value = e, s.version++); } catch (e) { throw s.version++, e; } finally { ie = r, $e = n, Dl(o), o.flags &= -3; } } function Vo(o, s = !1) { const { dep: r, prevSub: n, nextSub: e } = o; if (n && (n.nextSub = e, o.prevSub = void 0), e && (e.prevSub = n, o.nextSub = void 0), process.env.NODE_ENV !== "production" && r.subsHead === o && (r.subsHead = e), r.subs === o && (r.subs = n, !n && r.computed)) { r.computed.flags &= -5; for (let t = r.computed.deps; t; t = t.nextDep) Vo(t, !0); } !s && !--r.sc && r.map && r.map.delete(r.key); } function zs(o) { const { prevDep: s, nextDep: r } = o; s && (s.nextDep = r, o.prevDep = void 0), r && (r.prevDep = s, o.nextDep = void 0); } let $e = !0; const Rl = []; function Lt() { Rl.push($e), $e = !1; } function Ht() { const o = Rl.pop(); $e = o === void 0 ? !0 : o; } function sa(o) { const { cleanup: s } = o; if (o.cleanup = void 0, s) { const r = ie; ie = void 0; try { s(); } finally { ie = r; } } } let kt = 0; class Gs { constructor(s, r) { this.sub = s, this.dep = r, this.version = r.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0; } } class Il { constructor(s) { this.computed = s, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0); } track(s) { if (!ie || !$e || ie === this.computed) return; let r = this.activeLink; if (r === void 0 || r.sub !== ie) r = this.activeLink = new Gs(ie, this), ie.deps ? (r.prevDep = ie.depsTail, ie.depsTail.nextDep = r, ie.depsTail = r) : ie.deps = ie.depsTail = r, Pl(r); else if (r.version === -1 && (r.version = this.version, r.nextDep)) { const n = r.nextDep; n.prevDep = r.prevDep, r.prevDep && (r.prevDep.nextDep = n), r.prevDep = ie.depsTail, r.nextDep = void 0, ie.depsTail.nextDep = r, ie.depsTail = r, ie.deps === r && (ie.deps = n); } return process.env.NODE_ENV !== "production" && ie.onTrack && ie.onTrack( Re( { effect: ie }, s ) ), r; } trigger(s) { this.version++, kt++, this.notify(s); } notify(s) { Uo(); try { if (process.env.NODE_ENV !== "production") for (let r = this.subsHead; r; r = r.nextSub) r.sub.onTrigger && !(r.sub.flags & 8) && r.sub.onTrigger( Re( { effect: r.sub }, s ) ); for (let r = this.subs; r; r = r.prevSub) r.sub.notify() && r.sub.dep.notify(); } finally { $o(); } } } function Pl(o) { if (o.dep.sc++, o.sub.flags & 4) { const s = o.dep.computed; if (s && !o.dep.subs) { s.flags |= 20; for (let n = s.deps; n; n = n.nextDep) Pl(n); } const r = o.dep.subs; r !== o && (o.prevSub = r, r && (r.nextSub = o)), process.env.NODE_ENV !== "production" && o.dep.subsHead === void 0 && (o.dep.subsHead = o), o.dep.subs = o; } } const Po = /* @__PURE__ */ new WeakMap(), lt = Symbol( process.env.NODE_ENV !== "production" ? "Object iterate" : "" ), No = Symbol( process.env.NODE_ENV !== "production" ? "Map keys iterate" : "" ), bt = Symbol( process.env.NODE_ENV !== "production" ? "Array iterate" : "" ); function me(o, s, r) { if ($e && ie) { let n = Po.get(o); n || Po.set(o, n = /* @__PURE__ */ new Map()); let e = n.get(r); e || (n.set(r, e = new Il()), e.map = n, e.key = r), process.env.NODE_ENV !== "production" ? e.track({ target: o, type: s, key: r }) : e.track(); } } function qe(o, s, r, n, e, t) { const a = Po.get(o); if (!a) { kt++; return; } const i = (l) => { l && (process.env.NODE_ENV !== "production" ? l.trigger({ target: o, type: s, key: r, newValue: n, oldValue: e, oldTarget: t }) : l.trigger()); }; if (Uo(), s === "clear") a.forEach(i); else { const l = se(o), c = l && Lo(r); if (l && r === "length") { const g = Number(n); a.forEach((u, m) => { (m === "length" || m === bt || !yt(m) && m >= g) && i(u); }); } else switch ((r !== void 0 || a.has(void 0)) && i(a.get(r)), c && i(a.get(bt)), s) { case "add": l ? c && i(a.get("length")) : (i(a.get(lt)), gt(o) && i(a.get(No))); break; case "delete": l || (i(a.get(lt)), gt(o) && i(a.get(No))); break; case "set": gt(o) && i(a.get(lt)); break; } } $o(); } function vt(o) { const s = ae(o); return s === o ? s : (me(s, "iterate", bt), Se(o) ? s : s.map(ye)); } function fn(o) { return me(o = ae(o), "iterate", bt), o; } const Ks = { __proto__: null, [Symbol.iterator]() { return yn(this, Symbol.iterator, ye); }, concat(...o) { return vt(this).concat( ...o.map((s) => se(s) ? vt(s) : s) ); }, entries() { return yn(this, "entries", (o) => (o[1] = ye(o[1]), o)); }, every(o, s) { return We(this, "every", o, s, void 0, arguments); }, filter(o, s) { return We(this, "filter", o, s, (r) => r.map(ye), arguments); }, find(o, s) { return We(this, "find", o, s, ye, arguments); }, findIndex(o, s) { return We(this, "findIndex", o, s, void 0, arguments); }, findLast(o, s) { return We(this, "findLast", o, s, ye, arguments); }, findLastIndex(o, s) { return We(this, "findLastIndex", o, s, void 0, arguments); }, // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement forEach(o, s) { return We(this, "forEach", o, s, void 0, arguments); }, includes(...o) { return En(this, "includes", o); }, indexOf(...o) { return En(this, "indexOf", o); }, join(o) { return vt(this).join(o); }, // keys() iterator only reads `length`, no optimisation required lastIndexOf(...o) { return En(this, "lastIndexOf", o); }, map(o, s) { return We(this, "map", o, s, void 0, arguments); }, pop() { return xt(this, "pop"); }, push(...o) { return xt(this, "push", o); }, reduce(o, ...s) { return ua(this, "reduce", o, s); }, reduceRight(o, ...s) { return ua(this, "reduceRight", o, s); }, shift() { return xt(this, "shift"); }, // slice could use ARRAY_ITERATE but also seems to beg for range tracking some(o, s) { return We(this, "some", o, s, void 0, arguments); }, splice(...o) { return xt(this, "splice", o); }, toReversed() { return vt(this).toReversed(); }, toSorted(o) { return vt(this).toSorted(o); }, toSpliced(...o) { return vt(this).toSpliced(...o); }, unshift(...o) { return xt(this, "unshift", o); }, values() { return yn(this, "values", ye); } }; function yn(o, s, r) { const n = fn(o), e = n[s](); return n !== o && !Se(o) && (e._next = e.next, e.next = () => { const t = e._next(); return t.value && (t.value = r(t.value)), t; }), e; } const Ws = Array.prototype; function We(o, s, r, n, e, t) { const a = fn(o), i = a !== o && !Se(o), l = a[s]; if (l !== Ws[s]) { const u = l.apply(o, t); return i ? ye(u) : u; } let c = r; a !== o && (i ? c = function(u, m) { return r.call(this, ye(u), m, o); } : r.length > 2 && (c = function(u, m) { return r.call(this, u, m, o); })); const g = l.call(a, c, n); return i && e ? e(g) : g; } function ua(o, s, r, n) { const e = fn(o); let t = r; return e !== o && (Se(o) ? r.length > 3 && (t = function(a, i, l) { return r.call(this, a, i, l, o); }) : t = function(a, i, l) { return r.call(this, a, ye(i), l, o); }), e[s](t, ...n); } function En(o, s, r) { const n = ae(o); me(n, "iterate", bt); const e = n[s](...r); return (e === -1 || e === !1) && qt(r[0]) ? (r[0] = ae(r[0]), n[s](...r)) : e; } function xt(o, s, r = []) { Lt(), Uo(); const n = ae(o)[s].apply(o, r); return $o(), Ht(), n; } const Js = /* @__PURE__ */ Rs("__proto__,__v_isRef,__isVue"), Nl = new Set( /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((o) => o !== "arguments" && o !== "caller").map((o) => Symbol[o]).filter(yt) ); function Xs(o) { yt(o) || (o = String(o)); const s = ae(this); return me(s, "has", o), s.hasOwnProperty(o); } class Ml { constructor(s = !1, r = !1) { this._isReadonly = s, this._isShallow = r; } get(s, r, n) { if (r === "__v_skip") return s.__v_skip; const e = this._isReadonly, t = this._isShallow; if (r === "__v_isReactive") return !e; if (r === "__v_isReadonly") return e; if (r === "__v_isShallow") return t; if (r === "__v_raw") return n === (e ? t ? Fl : Bl : t ? au : bl).get(s) || // receiver is not the reactive proxy, but has the same prototype // this means the receiver is a user proxy of the reactive proxy Object.getPrototypeOf(s) === Object.getPrototypeOf(n) ? s : void 0; const a = se(s); if (!e) { let l; if (a && (l = Ks[r])) return l; if (r === "hasOwnProperty") return Xs; } const i = Reflect.get( s, r, // if this is a proxy wrapping a ref, return methods using the raw ref // as receiver so that we don't have to call `toRaw` on the ref in all // its class methods Ce(s) ? s : n ); return (yt(r) ? Nl.has(r) : Js(r)) || (e || me(s, "get", r), t) ? i : Ce(i) ? a && Lo(r) ? i : i.value : xe(i) ? e ? Hl(i) : Ll(i) : i; } } class Zs extends Ml { constructor(s = !1) { super(!1, s); } set(s, r, n, e) { let t = s[r]; if (!this._isShallow) { const l = Xe(t); if (!Se(n) && !Xe(n) && (t = ae(t), n = ae(n)), !se(s) && Ce(t) && !Ce(n)) return l ? !1 : (t.value = n, !0); } const a = se(s) && Lo(r) ? Number(r) < s.length : ce(s, r), i = Reflect.set( s, r, n, Ce(s) ? s : e ); return s === ae(e) && (a ? tt(n, t) && qe(s, "set", r, n, t) : qe(s, "add", r, n)), i; } deleteProperty(s, r) { const n = ce(s, r), e = s[r], t = Reflect.deleteProperty(s, r); return t && n && qe(s, "delete", r, void 0, e), t; } has(s, r) { const n = Reflect.has(s, r); return (!yt(r) || !Nl.has(r)) && me(s, "has", r), n; } ownKeys(s) { return me( s, "iterate", se(s) ? "length" : lt ), Reflect.ownKeys(s); } } class Ol extends Ml { constructor(s = !1) { super(!0, s); } set(s, r) { return process.env.NODE_ENV !== "production" && rt( `Set operation on key "${String(r)}" failed: target is readonly.`, s ), !0; } deleteProperty(s, r) { return process.env.NODE_ENV !== "production" && rt( `Delete operation on key "${String(r)}" failed: target is readonly.`, s ), !0; } } const ks = /* @__PURE__ */ new Zs(), qs = /* @__PURE__ */ new Ol(), _s = /* @__PURE__ */ new Ol(!0), Mo = (o) => o, Vt = (o) => Reflect.getPrototypeOf(o); function eu(o, s, r) { return function(...n) { const e = this.__v_raw, t = ae(e), a = gt(t), i = o === "entries" || o === Symbol.iterator && a, l = o === "keys" && a, c = e[o](...n), g = r ? Mo : s ? Oo : ye; return !s && me( t, "iterate", l ? No : lt ), { // iterator protocol next() { const { value: u, done: m } = c.next(); return m ? { value: u, done: m } : { value: i ? [g(u[0]), g(u[1])] : g(u), done: m }; }, // iterable protocol [Symbol.iterator]() { return this; } }; }; } function Qt(o) { return function(...s) { if (process.env.NODE_ENV !== "production") { const r = s[0] ? `on key "${s[0]}" ` : ""; rt( `${Ot(o)} operation ${r}failed: target is readonly.`, ae(this) ); } return o === "delete" ? !1 : o === "clear" ? void 0 : this; }; } function tu(o, s) { const r = { get(e) { const t = this.__v_raw, a = ae(t), i = ae(e); o || (tt(e, i) && me(a, "get", e), me(a, "get", i)); const { has: l } = Vt(a), c = s ? Mo : o ? Oo : ye; if (l.call(a, e)) return c(t.get(e)); if (l.call(a, i)) return c(t.get(i)); t !== a && t.get(e); }, get size() { const e = this.__v_raw; return !o && me(ae(e), "iterate", lt), Reflect.get(e, "size", e); }, has(e) { const t = this.__v_raw, a = ae(t), i = ae(e); return o || (tt(e, i) && me(a, "has", e), me(a, "has", i)), e === i ? t.has(e) : t.has(e) || t.has(i); }, forEach(e, t) { const a = this, i = a.__v_raw, l = ae(i), c = s ? Mo : o ? Oo : ye; return !o && me(l, "iterate", lt), i.forEach((g, u) => e.call(t, c(g), c(u), a)); } }; return Re( r, o ? { add: Qt("add"), set: Qt("set"), delete: Qt("delete"), clear: Qt("clear") } : { add(e) { !s && !Se(e) && !Xe(e) && (e = ae(e)); const t = ae(this); return Vt(t).has.call(t, e) || (t.add(e), qe(t, "add", e, e)), this; }, set(e, t) { !s && !Se(t) && !Xe(t) && (t = ae(t)); const a = ae(this), { has: i, get: l } = Vt(a); let c = i.call(a, e); c ? process.env.NODE_ENV !== "production" && fa(a, i, e) : (e = ae(e), c = i.call(a, e)); const g = l.call(a, e); return a.set(e, t), c ? tt(t, g) && qe(a, "set", e, t, g) : qe(a, "add", e, t), this; }, delete(e) { const t = ae(this), { has: a, get: i } = Vt(t); let l = a.call(t, e); l ? process.env.NODE_ENV !== "production" && fa(t, a, e) : (e = ae(e), l = a.call(t, e)); const c = i ? i.call(t, e) : void 0, g = t.delete(e); return l && qe(t, "delete", e, void 0, c), g; }, clear() { const e = ae(this), t = e.size !== 0, a = process.env.NODE_ENV !== "production" ? gt(e) ? new Map(e) : new Set(e) : void 0, i = e.clear(); return t && qe( e, "clear", void 0, void 0, a ), i; } } ), [ "keys", "values", "entries", Symbol.iterator ].forEach((e) => { r[e] = eu(e, o, s); }), r; } function Qo(o, s) { const r = tu(o, s); return (n, e, t) => e === "__v_isReactive" ? !o : e === "__v_isReadonly" ? o : e === "__v_raw" ? n : Reflect.get( ce(r, e) && e in n ? r : n, e, t ); } const nu = { get: /* @__PURE__ */ Qo(!1, !1) }, ru = { get: /* @__PURE__ */ Qo(!0, !1) }, ou = { get: /* @__PURE__ */ Qo(!0, !0) }; function fa(o, s, r) { const n = ae(r); if (n !== r && s.call(o, n)) { const e = Sl(o); rt( `Reactive ${e} contains both the raw and reactive versions of the same object${e === "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 bl = /* @__PURE__ */ new WeakMap(), au = /* @__PURE__ */ new WeakMap(), Bl = /* @__PURE__ */ new WeakMap(), Fl = /* @__PURE__ */ new WeakMap(); function iu(o) { switch (o) { case "Object": case "Array": return 1; case "Map": case "Set": case "WeakMap": case "WeakSet": return 2; default: return 0; } } function lu(o) { return o.__v_skip || !Object.isExtensible(o) ? 0 : iu(Sl(o)); } function Ll(o) { return Xe(o) ? o : Yo( o, !1, ks, nu, bl ); } function Hl(o) { return Yo( o, !0, qs, ru, Bl ); } function Yt(o) { return Yo( o, !0, _s, ou, Fl ); } function Yo(o, s, r, n, e) { if (!xe(o)) return process.env.NODE_ENV !== "production" && rt( `value cannot be made ${s ? "readonly" : "reactive"}: ${String( o )}` ), o; if (o.__v_raw && !(s && o.__v_isReactive)) return o; const t = e.get(o); if (t) return t; const a = lu(o); if (a === 0) return o; const i = new Proxy( o, a === 2 ? n : r ); return e.set(o, i), i; } function st(o) { return Xe(o) ? st(o.__v_raw) : !!(o && o.__v_isReactive); } function Xe(o) { return !!(o && o.__v_isReadonly); } function Se(o) { return !!(o && o.__v_isShallow); } function qt(o) { return o ? !!o.__v_raw : !1; } function ae(o) { const s = o && o.__v_raw; return s ? ae(s) : o; } function su(o) { return !ce(o, "__v_skip") && Object.isExtensible(o) && Hs(o, "__v_skip", !0), o; } const ye = (o) => xe(o) ? Ll(o) : o, Oo = (o) => xe(o) ? Hl(o) : o; function Ce(o) { return o ? o.__v_isRef === !0 : !1; } function zt(o) { return uu(o, !1); } function uu(o, s) { return Ce(o) ? o : new fu(o, s); } class fu { constructor(s, r) { this.dep = new Il(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = r ? s : ae(s), this._value = r ? s : ye(s), this.__v_isShallow = r; } get value() { return process.env.NODE_ENV !== "production" ? this.dep.track({ target: this, type: "get", key: "value" }) : this.dep.track(), this._value; } set value(s) { const r = this._rawValue, n = this.__v_isShallow || Se(s) || Xe(s); s = n ? s : ae(s), tt(s, r) && (this._rawValue = s, this._value = n ? s : ye(s), process.env.NODE_ENV !== "production" ? this.dep.trigger({ target: this, type: "set", key: "value", newValue: s, oldValue: r }) : this.dep.trigger()); } } function pe(o) { return Ce(o) ? o.value : o; } const cu = { get: (o, s, r) => s === "__v_raw" ? o : pe(Reflect.get(o, s, r)), set: (o, s, r, n) => { const e = o[s]; return Ce(e) && !Ce(r) ? (e.value = r, !0) : Reflect.set(o, s, r, n); } }; function du(o) { return st(o) ? o : new Proxy(o, cu); } const Gt = {}, _t = /* @__PURE__ */ new WeakMap(); let it; function vu(o, s = !1, r = it) { if (r) { let n = _t.get(r); n || _t.set(r, n = []), n.push(o); } else process.env.NODE_ENV !== "production" && !s && rt( "onWatcherCleanup() was called when there was no active watcher to associate with." ); } function pu(o, s, r = He) { const { immediate: n, deep: e, once: t, scheduler: a, augmentJob: i, call: l } = r, c = (E) => { (r.onWarn || rt)( "Invalid watch source: ", E, "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types." ); }, g = (E) => e ? E : Se(E) || e === !1 || e === 0 ? _e(E, 1) : _e(E); let u, m, d, f, p = !1, v = !1; if (Ce(o) ? (m = () => o.value, p = Se(o)) : st(o) ? (m = () => g(o), p = !0) : se(o) ? (v = !0, p = o.some((E) => st(E) || Se(E)), m = () => o.map((E) => { if (Ce(E)) return E.value; if (st(E)) return g(E); if (he(E)) return l ? l(E, 2) : E(); process.env.NODE_ENV !== "production" && c(E); })) : he(o) ? s ? m = l ? () => l(o, 2) : o : m = () => { if (d) { Lt(); try { d(); } finally { Ht(); } } const E = it; it = u; try { return l ? l(o, 3, [f]) : o(f); } finally { it = E; } } : (m = mt, process.env.NODE_ENV !== "production" && c(o)), s && e) { const E = m, S = e === !0 ? 1 / 0 : e; m = () => _e(E(), S); } const A = () => { u.stop(); }; if (t && s) { const E = s; s = (...S) => { E(...S), A(); }; } let h = v ? new Array(o.length).fill(Gt) : Gt; const y = (E) => { if (!(!(u.flags & 1) || !u.dirty && !E)) if (s) { const S = u.run(); if (e || p || (v ? S.some((C, T) => tt(C, h[T])) : tt(S, h))) { d && d(); const C = it; it = u; try { const T = [ S, // pass undefined as the old value when it's changed for the first time h === Gt ? void 0 : v && h[0] === Gt ? [] : h, f ]; l ? l(s, 3, T) : ( // @ts-expect-error s(...T) ), h = S; } finally { it = C; } } } else u.run(); }; return i && i(y), u = new Vs(m), u.scheduler = a ? () => a(y, !1) : y, f = (E) => vu(E, !1, u), d = u.onStop = () => { const E = _t.get(u); if (E) { if (l) l(E, 4); else for (const S of E) S(); _t.delete(u); } }, process.env.NODE_ENV !== "production" && (u.onTrack = r.onTrack, u.onTrigger = r.onTrigger), s ? n ? y(!0) : h = u.run() : a ? a(y.bind(null, !0), !0) : u.run(), A.pause = u.pause.bind(u), A.resume = u.resume.bind(u), A.stop = A, A; } function _e(o, s = 1 / 0, r) { if (s <= 0 || !xe(o) || o.__v_skip || (r = r || /* @__PURE__ */ new Set(), r.has(o))) return o; if (r.add(o), s--, Ce(o)) _e(o.value, s, r); else if (se(o)) for (let n = 0; n < o.length; n++) _e(o[n], s, r); else if (Ms(o) || gt(o)) o.forEach((n) => { _e(n, s, r); }); else if (Bs(o)) { for (const n in o) _e(o[n], s, r); for (const n of Object.getOwnPropertySymbols(o)) Object.prototype.propertyIsEnumerable.call(o, n) && _e(o[n], s, r); } return o; } /** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ const ut = []; function hu(o) { ut.push(o); } function mu() { ut.pop(); } let xn = !1; function le(o, ...s) { if (xn) return; xn = !0, Lt(); const r = ut.length ? ut[ut.length - 1].component : null, n = r && r.appContext.config.warnHandler, e = gu(); if (n) cn( n, r, 11, [ // eslint-disable-next-line no-restricted-syntax o + s.map((t) => { var a, i; return (i = (a = t.toString) == null ? void 0 : a.call(t)) != null ? i : JSON.stringify(t); }).join(""), r && r.proxy, e.map( ({ vnode: t }) => `at <${is(r, t.type)}>` ).join(` `), e ] ); else { const t = [`[Vue warn]: ${o}`, ...s]; e.length && t.push(` `, ...Au(e)), console.warn(...t); } Ht(), xn = !1; } function gu() { let o = ut[ut.length - 1]; if (!o) return []; const s = []; for (; o; ) { const r = s[0]; r && r.vnode === o ? r.recurseCount++ : s.push({ vnode: o, recurseCount: 0 }); const n = o.component && o.component.parent; o = n && n.vnode; } return s; } function Au(o) { const s = []; return o.forEach((r, n) => { s.push(...n === 0 ? [] : [` `], ...yu(r)); }), s; } function yu({ vnode: o, recurseCount: s }) { const r = s > 0 ? `... (${s} recursive calls)` : "", n = o.component ? o.component.parent == null : !1, e = ` at <${is( o.component, o.type, n )}`, t = ">" + r; return o.props ? [e, ...Eu(o.props), t] : [e + t]; } function Eu(o) { const s = [], r = Object.keys(o); return r.slice(0, 3).forEach((n) => { s.push(...wl(n, o[n])); }), r.length > 3 && s.push(" ..."), s; } function wl(o, s, r) { return Oe(s) ? (s = JSON.stringify(s), r ? s : [`${o}=${s}`]) : typeof s == "number" || typeof s == "boolean" || s == null ? r ? s : [`${o}=${s}`] : Ce(s) ? (s = wl(o, ae(s.value), !0), r ? s : [`${o}=Ref<`, s, ">"]) : he(s) ? [`${o}=fn${s.name ? `<${s.name}>` : ""}`] : (s = ae(s), r ? s : [`${o}=`, s]); } const zo = { sp: "serverPrefetch hook", bc: "beforeCreate hook", c: "created hook", bm: "beforeMount hook", m: "mounted hook", bu: "beforeUpdate hook", u: "updated", bum: "beforeUnmount hook", um: "unmounted hook", a: "activated hook", da: "deactivated hook", ec: "errorCaptured hook", rtc: "renderTracked hook", rtg: "renderTriggered hook", 0: "setup function", 1: "render function", 2: "watcher getter", 3: "watcher callback", 4: "watcher cleanup function", 5: "native event handler", 6: "component event handler", 7: "vnode hook", 8: "directive hook", 9: "transition hook", 10: "app errorHandler", 11: "app warnHandler", 12: "ref function", 13: "async component loader", 14: "scheduler flush", 15: "component update", 16: "app unmount cleanup function" }; function cn(o, s, r, n) { try { return n ? o(...n) : o(); } catch (e) { Ko(e, s, r); } } function Go(o, s, r, n) { if (he(o)) { const e = cn(o, s, r, n); return e && Os(e) && e.catch((t) => { Ko(t, s, r); }), e; } if (se(o)) { const e = []; for (let t = 0; t < o.length; t++) e.push(Go(o[t], s, r, n)); return e; } else process.env.NODE_ENV !== "production" && le( `Invalid value type passed to callWithAsyncErrorHandling(): ${typeof o}` ); } function Ko(o, s, r, n = !0) { const e = s ? s.vnode : null, { errorHandler: t, throwUnhandledErrorInProduction: a } = s && s.appContext.config || He; if (s) { let i = s.parent; const l = s.proxy, c = process.env.NODE_ENV !== "production" ? zo[r] : `https://vuejs.org/error-reference/#runtime-${r}`; for (; i; ) { const g = i.ec; if (g) { for (let u = 0; u < g.length; u++) if (g[u](o, l, c) === !1) return; } i = i.parent; } if (t) { Lt(), cn(t, null, 10, [ o, l, c ]), Ht(); return; } } xu(o, r, e, n, a); } function xu(o, s, r, n = !0, e = !1) { if (process.env.NODE_ENV !== "production") { const t = zo[s]; if (r && hu(r), le(`Unhandled error${t ? ` during execution of ${t}` : ""}`), r && mu(), n) throw o; console.error(o); } else { if (e) throw o; console.error(o); } } const we = []; let Je = -1; const At = []; let ke = null, ht = 0; const jl = /* @__PURE__ */ Promise.resolve(); let en = null; const Su = 100; function Ul(o) { const s = en || jl; return o ? s.then(this ? o.bind(this) : o) : s; } function Cu(o) { let s = Je + 1, r = we.length; for (; s < r; ) { const n = s + r >>> 1, e = we[n], t = Bt(e); t < o || t === o && e.flags & 2 ? s = n + 1 : r = n; } return s; } function Wo(o) { if (!(o.flags & 1)) { const s = Bt(o), r = we[we.length - 1]; !r || // fast path when the job id is larger than the tail !(o.flags & 2) && s >= Bt(r) ? we.push(o) : we.splice(Cu(s), 0, o), o.flags |= 1, $l(); } } function $l() { en || (en = jl.then(Ql)); } function Vl(o) { se(o) ? At.push(...o) : ke && o.id === -1 ? ke.splice(ht + 1, 0, o) : o.flags & 1 || (At.push(o), o.flags |= 1), $l(); } function Tu(o) { if (At.length) { const s = [...new Set(At)].sort( (r, n) => Bt(r) - Bt(n) ); if (At.length = 0, ke) { ke.push(...s); return; } for (ke = s, process.env.NODE_ENV !== "production" && (o = o || /* @__PURE__ */ new Map()), ht = 0; ht < ke.length; ht++) { const r = ke[ht]; process.env.NODE_ENV !== "production" && Yl(o, r) || (r.flags & 4 && (r.flags &= -2), r.flags & 8 || r(), r.flags &= -2); } ke = null, ht = 0; } } const Bt = (o) => o.id == null ? o.flags & 2 ? -1 : 1 / 0 : o.id; function Ql(o) { process.env.NODE_ENV !== "production" && (o = o || /* @__PURE__ */ new Map()); const s = process.env.NODE_ENV !== "production" ? (r) => Yl(o, r) : mt; try { for (Je = 0; Je < we.length; Je++) { const r = we[Je]; if (r && !(r.flags & 8)) { if (process.env.NODE_ENV !== "production" && s(r)) continue; r.flags & 4 && (r.flags &= -2), cn( r, r.i, r.i ? 15 : 14 ), r.flags & 4 || (r.flags &= -2); } } } finally { for (; Je < we.length; Je++) { const r = we[Je]; r && (r.flags &= -2); } Je = -1, we.length = 0, Tu(o), en = null, (we.length || At.length) && Ql(o); } } function Yl(o, s) { const r = o.get(s) || 0; if (r > Su) { const n = s.i, e = n && Xo(n.type); return Ko( `Maximum recursive updates exceeded${e ? ` in component <${e}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`, null, 10 ), !0; } return o.set(s, r + 1), !1; } const Sn = /* @__PURE__ */ new Map(); process.env.NODE_ENV !== "production" && (un().__VUE_HMR_RUNTIME__ = { createRecord: Cn(Du), rerender: Cn(Ru), reload: Cn(Iu) }); const tn = /* @__PURE__ */ new Map(); function Du(o, s) { return tn.has(o) ? !1 : (tn.set(o, { initialDef: nn(s), instances: /* @__PURE__ */ new Set() }), !0); } function nn(o) { return ls(o) ? o.__vccOpts : o; } function Ru(o, s) { const r = tn.get(o); r && (r.initialDef.render = s, [...r.instances].forEach((n) => { s && (n.render = s, nn(n.type).render = s), n.renderCache = [], n.update(); })); } function Iu(o, s) { const r = tn.get(o); if (!r) return; s = nn(s), ca(r.initialDef, s); const n = [...r.instances]; for (let e = 0; e < n.length; e++) { const t = n[e], a = nn(t.type); let i = Sn.get(a); i || (a !== r.initialDef && ca(a, s), Sn.set(a, i = /* @__PURE__ */ new Set())), i.add(t), t.appContext.propsCache.delete(t.type), t.appContext.emitsCache.delete(t.type), t.appContext.optionsCache.delete(t.type), t.ceReload ? (i.add(t), t.ceReload(s.styles), i.delete(t)) : t.parent ? Wo(() => { t.parent.update(), i.delete(t); }) : t.appContext.reload ? t.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn( "[HMR] Root or manually mounted instance modified. Full reload required." ), t.root.ce && t !== t.root && t.root.ce._removeChildStyle(a); } Vl(() => { Sn.clear(); }); } function ca(o, s) { Re(o, s); for (const r in o) r !== "__file" && !(r in s) && delete o[r]; } function Cn(o) { return (s, r) => { try { return o(s, r); } catch (n) { console.error(n), console.warn( "[HMR] Something went wrong during Vue component hot-reload. Full reload required." ); } }; } let et, St = [], bo = !1; function Pu(o, ...s) { et ? et.emit(o, ...s) : bo || St.push({ event: o, args: s }); } function zl(o, s) { var r, n; et = o, et ? (et.enabled = !0, St.forEach(({ event: e, args: t }) => et.emit(e, ...t)), St = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully window.HTMLElement && // also exclude jsdom // eslint-disable-next-line no-restricted-syntax !((n = (r = window.navigator) == null ? void 0 : r.userAgent) != null && n.includes("jsdom")) ? ((s.__VUE_DEVTOOLS_HOOK_REPLAY__ = s.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((t) => { zl(t, s); }), setTimeout(() => { et || (s.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, bo = !0, St = []); }, 3e3)) : (bo = !0, St = []); } const Nu = /* @__PURE__ */ Mu( "component:updated" /* COMPONENT_UPDATED */ ); /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function Mu(o) { return (s) => { Pu( o, s.appContext.app, s.uid, s.parent ? s.parent.uid : void 0, s ); }; } let ge = null, Gl = null; function da(o) { const s = ge; return ge = o, Gl = o && o.type.__scopeId || null, s; } function pt(o, s = ge, r) { if (!s || o._n) return o; const n = (...e) => { n._d && ya(-1); const t = da(s); let a; try { a = o(...e); } finally { da(t), n._d && ya(1); } return process.env.NODE_ENV !== "production" && Nu(s), a; }; return n._n = !0, n._c = !0, n._d = !0, n; } const Ou = (o) => o.__isTeleport; function Kl(o, s) { o.shapeFlag & 6 && o.component ? (o.transition = s, Kl(o.component.subTree, s)) : o.shapeFlag & 128 ? (o.ssContent.transition = s.clone(o.ssContent), o.ssFallback.transition = s.clone(o.ssFallback)) : o.transition = s; } /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function bu(o, s) { return he(o) ? ( // #8236: extend call and options.name access are considered side-effects // by Rollup, so we have to wrap it in a pure-annotated IIFE. Re({ name: o.name }, s, { setup: o }) ) : o; } un().requestIdleCallback; un().cancelIdleCallback; const Bu = (o) => !!o.type.__asyncLoader; function Fu(o, s, r = ft, n = !1) { if (r) { const e = r[o] || (r[o] = []), t = s.__weh || (s.__weh = (...a) => { Lt(); const i = as(r), l = Go(s, r, o, a); return i(), Ht(), l; }); return n ? e.unshift(t) : e.push(t), t; } else if (process.env.NODE_ENV !== "production") { const e = Ls(zo[o].replace(/ hook$/, "")); le( `${e} 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 Lu = (o) => (s, r = ft) => { (!ln || o === "sp") && Fu(o, (...n) => s(...n), r); }, Hu = Lu("m"), Wl = "components"; function Tn(o, s) { return Xl(Wl, o, !0, s) || o; } const Jl = Symbol.for("v-ndc"); function Dn(o) { return Oe(o) ? Xl(Wl, o, !1) || o : o || Jl; } function Xl(o, s, r = !0, n = !1) { const e = ge || ft; if (e) { const t = e.type; { const i = Xo( t, !1 ); if (i && (i === s || i === Zt(s) || i === Ot(Zt(s)))) return t; } const a = ( // local registration // check instance[type] first which is resolved for options API va(e[o] || t[o], s) || // global registration va(e.appContext[o], s) ); return !a && n ? t : (process.env.NODE_ENV !== "production" && r && !a && le(`Failed to resolve ${o.slice(0, -1)}: ${s} If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`), a); } else process.env.NODE_ENV !== "production" && le( `resolve${Ot(o.slice(0, -1))} can only be used in render() or setup().` ); } function va(o, s) { return o && (o[s] || o[Zt(s)] || o[Ot(Zt(s))]); } function pa(o, s, r, n) { let e; const t = r, a = se(o); if (a || Oe(o)) { const i = a && st(o); let l = !1; i && (l = !Se(o), o = fn(o)), e = new Array(o.length); for (let c = 0, g = o.length; c < g; c++) e[c] = s( l ? ye(o[c]) : o[c], c, void 0, t ); } else if (typeof o == "number") { process.env.NODE_ENV !== "production" && !Number.isInteger(o) && le(`The v-for range expect an integer value but got ${o}.`), e = new Array(o); for (let i = 0; i < o; i++) e[i] = s(i + 1, i, void 0, t); } else if (xe(o)) if (o[Symbol.iterator]) e = Array.from( o, (i, l) => s(i, l, void 0, t) ); else { const i = Object.keys(o); e = new Array(i.length); for (let l = 0, c = i.length; l < c; l++) { const g = i[l]; e[l] = s(o[g], g, l, t); } } else e = []; return e; } function Rn(o, s, r = {}, n, e) { if (ge.ce || ge.parent && Bu(ge.parent) && ge.parent.ce) return s !== "default" && (r.name = s), De(), Ye( nt, null, [wt("slot", r, n)], 64 ); let t = o[s]; process.env.NODE_ENV !== "production" && t && t.length > 1 && (le( "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." ), t = () => []), t && t._c && (t._d = !1), De(); const a = t && Zl(t(r)), i = r.key || // slot content array of a dynamic conditional slot may have a branch // key attached in the `createSlots` helper, respect that a && a.key, l = Ye( nt, { key: (i && !yt(i) ? i : `_${s}`) + // #7256 force differentiate fallback content from actual content "" }, a || [], a && o._ === 1 ? 64 : -2 ); return l.scopeId && (l.slotScopeIds = [l.scopeId + "-s"]), t && t._c && (t._d = !0), l; } function Zl(o) { return o.some((s) => es(s) ? !(s.type === on || s.type === nt && !Zl(s.children)) : !0) ? o : null; } const Bo = (o) => o ? af(o) ? lf(o) : Bo(o.parent) : null, Mt = ( // Move PURE marker to new line to workaround compiler discarding it // due to type annotation /* @__PURE__ */ Re(/* @__PURE__ */ Object.create(null), { $: (o) => o, $el: (o) => o.vnode.el, $data: (o) => o.data, $props: (o) => process.env.NODE_ENV !== "production" ? Yt(o.props) : o.props, $attrs: (o) => process.env.NODE_ENV !== "production" ? Yt(o.attrs) : o.attrs, $slots: (o) => process.env.NODE_ENV !== "production" ? Yt(o.slots) : o.slots, $refs: (o) => process.env.NODE_ENV !== "production" ? Yt(o.refs) : o.refs, $parent: (o) => Bo(o.parent), $root: (o) => Bo(o.root), $host: (o) => o.ce, $emit: (o) => o.emit, $options: (o) => Uu(o), $forceUpdate: (o) => o.f || (o.f = () => { Wo(o.update); }), $nextTick: (o) => o.n || (o.n = Ul.bind(o.proxy)), $watch: (o) => Zu.bind(o) }) ), wu = (o) => o === "_" || o === "$", In = (o, s) => o !== He && !o.__isScriptSetup && ce(o, s), ju = { get({ _: o }, s) { if (s === "__v_skip") return !0; const { ctx: r, setupState: n, data: e, props: t, accessCache: a, type: i, appContext: l } = o; if (process.env.NODE_ENV !== "production" && s === "__isVue") return !0; let c; if (s[0] !== "$") { const d = a[s]; if (d !== void 0) switch (d) { case 1: return n[s]; case 2: return e[s]; case 4: return r[s]; case 3: return t[s]; } else { if (In(n, s)) return a[s] = 1, n[s]; if (e !== He && ce(e, s)) return a[s] = 2, e[s]; if ( // only cache other properties when instance has declared (thus stable) // props (c = o.propsOptions[0]) && ce(c, s) ) return a[s] = 3, t[s]; if (r !== He && ce(r, s)) return a[s] = 4, r[s]; a[s] = 0; } } const g = Mt[s]; let u, m; if (g) return s === "$attrs" ? (me(o.attrs, "get", ""), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && s === "$slots" && me(o, "get", s), g(o); if ( // css module (injected by vue-loader) (u = i.__cssModules) && (u = u[s]) ) return u; if (r !== He && ce(r, s)) return a[s] = 4, r[s]; if ( // global properties m = l.config.globalProperties, ce(m, s) ) return m[s]; process.env.NODE_ENV !== "production" && ge && (!Oe(s) || // #1091 avoid internal isRef/isVNode checks on component instance leading // to infinite warning loop s.indexOf("__v") !== 0) && (e !== He && wu(s[0]) && ce(e, s) ? le( `Property ${JSON.stringify( s )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.` ) : o === ge && le( `Property ${JSON.stringify(s)} was accessed during render but is not defined on instance.` )); }, set({ _: o }, s, r) { const { data: n, setupState: e, ctx: t } = o; return In(e, s) ? (e[s] = r, !0) : process.env.NODE_ENV !== "production" && e.__isScriptSetup && ce(e, s) ? (le(`Cannot mutate <script setup> binding "${s}" from Options API.`), !1) : n !== He && ce(n, s) ? (n[s] = r, !0) : ce(o.props, s) ? (process.env.NODE_ENV !== "production" && le(`Attempting to mutate prop "${s}". Props are readonly.`), !1) : s[0] === "$" && s.slice(1) in o ? (process.env.NODE_ENV !== "production" && le( `Attempting to mutate public property "${s}". Properties starting with $ are reserved and readonly.` ), !1) : (process.env.NODE_ENV !== "production" && s in o.appContext.config.globalProperties ? Object.defineProperty(t, s, { enumerable: !0, configurable: !0, value: r }) : t[s] = r, !0); }, has({ _: { data: o, setupState: s, accessCache: r, ctx: n, appContext: e, propsOptions: t } }, a) { let i; return !!r[a] || o !== He && ce(o, a) || In(s, a) || (i = t[0]) && ce(i, a) || ce(n, a) || ce(Mt, a) || ce(e.config.globalProperties, a); }, defineProperty(o, s, r) { return r.get != null ? o._.accessCache[s] = 0 : ce(r, "value") && this.set(o, s, r.value, null), Reflect.defineProperty(o, s, r); } }; process.env.NODE_ENV !== "production" && (ju.ownKeys = (o) => (le( "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead." ), Reflect.ownKeys(o))); function ha(o) { return se(o) ? o.reduce( (s, r) => (s[r] = null, s), {} ) : o; } function Uu(o) { const s = o.type, { mixins: r, extends: n } = s, { mixins: e, optionsCache: t, config: { optionMergeStrategies: a } } = o.appContext, i = t.get(s); let l; return i ? l = i : !e.length && !r && !n ? l = s : (l = {}, e.length && e.forEach( (c) => rn(l, c, a, !0) ), rn(l, s, a)), xe(s) && t.set(s, l), l; } function rn(o, s, r, n = !1) { const { mixins: e, extends: t } = s; t && rn(o, t, r, !0), e && e.forEach( (a) => rn(o, a, r, !0) ); for (const a in s) if (n && a === "expose") process.env.NODE_ENV !== "production" && le( '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.' ); else { const i = $u[a] || r && r[a]; o[a] = i ? i(o[a], s[a]) : s[a]; } return o; } const $u = { data: ma, props: Aa, emits: Aa, // objects methods: Ct, computed: Ct, // lifecycle beforeCreate: Ee, created: Ee, beforeMount: Ee, mounted: Ee, beforeUpdate: Ee, updated: Ee, beforeDestroy: Ee, beforeUnmount: Ee, destroyed: Ee, unmounted: Ee, activated: Ee, deactivated: Ee, errorCaptured: Ee, serverPrefetch: Ee, // assets components: Ct, directives: Ct, // watch watch: Qu, // provide / inject provide: ma, inject: Vu }; function ma(o, s) { return s ? o ? function() { return Re( he(o) ? o.call(this, this) : o, he(s) ? s.call(this, this) : s ); } : s : o; } function Vu(o, s) { return Ct(ga(o), ga(s)); } function ga(o) { if (se(o)) { const s = {}; for (let r = 0; r < o.length; r++) s[o[r]] = o[r]; return s; } return o; } function Ee(o, s) { return o ? [...new Set([].concat(o, s))] : s; } function Ct(o, s) { return o ? Re(/* @__PURE__ */ Object.create(null), o, s) : s; } function Aa(o, s) { return o ? se(o) && se(s) ? [.../* @__PURE__ */ new Set([...o, ...s])] : Re( /* @__PURE__ */ Object.create(null), ha(o), ha(s ?? {}) ) : s; } function Qu(o, s) { if (!o) return s; if (!s) return o; const r = Re(/* @__PURE__ */ Object.create(null), o); for (const n in s) r[n] = Ee(o[n], s[n]); return r; } let Yu = null; function zu(o, s, r = !1) { const n = ft || ge; if (n || Yu) { const e = n ? n.parent == null ? n.vnode.appContext && n.vnode.appContext.provides : n.parent.provides : void 0; if (e && o in e) return e[o]; if (arguments.length > 1) return r && he(s) ? s.call(n && n.proxy) : s; process.env.NODE_ENV !== "production" && le(`injection "${String(o)}" not found.`); } else process.env.NODE_ENV !== "production" && le("inject() can only be used inside setup() or functional components."); } const Gu = {}, kl = (o) => Object.getPrototypeOf(o) === Gu, Ku = _u, Wu = Symbol.for("v-scx"), Ju = () => { { const o = zu(Wu); return o || process.env.NODE_ENV !== "production" && le( "Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build." ), o; } }; function Xu(o, s, r) { return process.env.NODE_ENV !== "production" && !he(s) && le( "`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." ), ql(o, s,