UNPKG

imooc-element-components-hql

Version:

1,717 lines (1,716 loc) 106 kB
/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function mu(e) { const t = /* @__PURE__ */ Object.create(null); for (const r of e.split(",")) t[r] = 1; return (r) => r in t; } const z = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Su = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], De = () => { }, wu = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), k = Object.assign, Eu = Object.prototype.hasOwnProperty, N = (e, t) => Eu.call(e, t), w = Array.isArray, we = (e) => Et(e) === "[object Map]", ka = (e) => Et(e) === "[object Set]", C = (e) => typeof e == "function", B = (e) => typeof e == "string", he = (e) => typeof e == "symbol", P = (e) => e !== null && typeof e == "object", Ou = (e) => (P(e) || C(e)) && C(e.then) && C(e.catch), Ba = Object.prototype.toString, Et = (e) => Ba.call(e), Ga = (e) => Et(e).slice(8, -1), za = (e) => Et(e) === "[object Object]", Yn = (e) => B(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Xn = (e) => { const t = /* @__PURE__ */ Object.create(null); return (r) => t[r] || (t[r] = e(r)); }, Cu = /-(\w)/g, pt = Xn( (e) => e.replace(Cu, (t, r) => r ? r.toUpperCase() : "") ), ke = Xn((e) => e.charAt(0).toUpperCase() + e.slice(1)), Tu = Xn( (e) => e ? `on${ke(e)}` : "" ), pe = (e, t) => !Object.is(e, t), Ru = (e, t, r, n = !1) => { Object.defineProperty(e, t, { configurable: !0, enumerable: !1, writable: n, value: r }); }; let Ni; const Ot = () => Ni || (Ni = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}); function Ct(e) { if (w(e)) { const t = {}; for (let r = 0; r < e.length; r++) { const n = e[r], i = B(n) ? Iu(n) : Ct(n); if (i) for (const s in i) t[s] = i[s]; } return t; } else if (B(e) || P(e)) return e; } const Nu = /;(?![^(]*\))/g, Au = /:([^]+)/, qu = /\/\*[^]*?\*\//g; function Iu(e) { const t = {}; return e.replace(qu, "").split(Nu).forEach((r) => { if (r) { const n = r.split(Au); n.length > 1 && (t[n[0].trim()] = n[1].trim()); } }), t; } function Zn(e) { let t = ""; if (B(e)) t = e; else if (w(e)) for (let r = 0; r < e.length; r++) { const n = Zn(e[r]); n && (t += n + " "); } else if (P(e)) for (const r in e) e[r] && (t += r + " "); return t.trim(); } const Wa = (e) => !!(e && e.__v_isRef === !0), Ja = (e) => B(e) ? e : e == null ? "" : w(e) || P(e) && (e.toString === Ba || !C(e.toString)) ? Wa(e) ? Ja(e.value) : JSON.stringify(e, Ya, 2) : String(e), Ya = (e, t) => Wa(t) ? Ya(e, t.value) : we(t) ? { [`Map(${t.size})`]: [...t.entries()].reduce( (r, [n, i], s) => (r[jt(n, s) + " =>"] = i, r), {} ) } : ka(t) ? { [`Set(${t.size})`]: [...t.values()].map((r) => jt(r)) } : he(t) ? jt(t) : P(t) && !w(t) && !za(t) ? String(t) : t, jt = (e, t = "") => { var r; return ( // Symbol.description in es2019+ so we need to cast here to pass // the lib: es2016 check he(e) ? `Symbol(${(r = e.description) != null ? r : t})` : e ); }; /** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ function ae(e, ...t) { console.warn(`[Vue warn] ${e}`, ...t); } let b; const Pt = /* @__PURE__ */ new WeakSet(); class xu { constructor(t) { this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0; } pause() { this.flags |= 64; } resume() { this.flags & 64 && (this.flags &= -65, Pt.has(this) && (Pt.delete(this), this.trigger())); } /** * @internal */ notify() { this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Za(this); } run() { if (!(this.flags & 1)) return this.fn(); this.flags |= 2, Ai(this), Qa(this); const t = b, r = X; b = this, X = !0; try { return this.fn(); } finally { process.env.NODE_ENV !== "production" && b !== this && ae( "Active effect was not restored correctly - this is likely a Vue internal bug." ), eo(this), b = t, X = r, this.flags &= -3; } } stop() { if (this.flags & 1) { for (let t = this.deps; t; t = t.nextDep) ti(t); this.deps = this.depsTail = void 0, Ai(this), this.onStop && this.onStop(), this.flags &= -2; } } trigger() { this.flags & 64 ? Pt.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty(); } /** * @internal */ runIfDirty() { Hn(this) && this.run(); } get dirty() { return Hn(this); } } let Xa = 0, Ke, He; function Za(e, t = !1) { if (e.flags |= 8, t) { e.next = He, He = e; return; } e.next = Ke, Ke = e; } function Qn() { Xa++; } function ei() { if (--Xa > 0) return; if (He) { let t = He; for (He = void 0; t; ) { const r = t.next; t.next = void 0, t.flags &= -9, t = r; } } let e; for (; Ke; ) { let t = Ke; for (Ke = void 0; t; ) { const r = t.next; if (t.next = void 0, t.flags &= -9, t.flags & 1) try { t.trigger(); } catch (n) { e || (e = n); } t = r; } } if (e) throw e; } function Qa(e) { for (let t = e.deps; t; t = t.nextDep) t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t; } function eo(e) { let t, r = e.depsTail, n = r; for (; n; ) { const i = n.prevDep; n.version === -1 ? (n === r && (r = i), ti(n), Du(n)) : t = n, n.dep.activeLink = n.prevActiveLink, n.prevActiveLink = void 0, n = i; } e.deps = t, e.depsTail = r; } function Hn(e) { for (let t = e.deps; t; t = t.nextDep) if (t.dep.version !== t.version || t.dep.computed && (to(t.dep.computed) || t.dep.version !== t.version)) return !0; return !!e._dirty; } function to(e) { if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Be)) return; e.globalVersion = Be; const t = e.dep; if (e.flags |= 2, t.version > 0 && !e.isSSR && e.deps && !Hn(e)) { e.flags &= -3; return; } const r = b, n = X; b = e, X = !0; try { Qa(e); const i = e.fn(e._value); (t.version === 0 || pe(i, e._value)) && (e._value = i, t.version++); } catch (i) { throw t.version++, i; } finally { b = r, X = n, eo(e), e.flags &= -3; } } function ti(e, t = !1) { const { dep: r, prevSub: n, nextSub: i } = e; if (n && (n.nextSub = i, e.prevSub = void 0), i && (i.prevSub = n, e.nextSub = void 0), process.env.NODE_ENV !== "production" && r.subsHead === e && (r.subsHead = i), r.subs === e && (r.subs = n, !n && r.computed)) { r.computed.flags &= -5; for (let s = r.computed.deps; s; s = s.nextDep) ti(s, !0); } !t && !--r.sc && r.map && r.map.delete(r.key); } function Du(e) { const { prevDep: t, nextDep: r } = e; t && (t.nextDep = r, e.prevDep = void 0), r && (r.prevDep = t, e.nextDep = void 0); } let X = !0; const ro = []; function Ye() { ro.push(X), X = !1; } function Xe() { const e = ro.pop(); X = e === void 0 ? !0 : e; } function Ai(e) { const { cleanup: t } = e; if (e.cleanup = void 0, t) { const r = b; b = void 0; try { t(); } finally { b = r; } } } let Be = 0; class ju { constructor(t, r) { this.sub = t, this.dep = r, this.version = r.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0; } } class ri { constructor(t) { this.computed = t, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0); } track(t) { if (!b || !X || b === this.computed) return; let r = this.activeLink; if (r === void 0 || r.sub !== b) r = this.activeLink = new ju(b, this), b.deps ? (r.prevDep = b.depsTail, b.depsTail.nextDep = r, b.depsTail = r) : b.deps = b.depsTail = r, no(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 = b.depsTail, r.nextDep = void 0, b.depsTail.nextDep = r, b.depsTail = r, b.deps === r && (b.deps = n); } return process.env.NODE_ENV !== "production" && b.onTrack && b.onTrack( k( { effect: b }, t ) ), r; } trigger(t) { this.version++, Be++, this.notify(t); } notify(t) { Qn(); 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( k( { effect: r.sub }, t ) ); for (let r = this.subs; r; r = r.prevSub) r.sub.notify() && r.sub.dep.notify(); } finally { ei(); } } } function no(e) { if (e.dep.sc++, e.sub.flags & 4) { const t = e.dep.computed; if (t && !e.dep.subs) { t.flags |= 20; for (let n = t.deps; n; n = n.nextDep) no(n); } const r = e.dep.subs; r !== e && (e.prevSub = r, r && (r.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e; } } const Un = /* @__PURE__ */ new WeakMap(), Ee = Symbol( process.env.NODE_ENV !== "production" ? "Object iterate" : "" ), kn = Symbol( process.env.NODE_ENV !== "production" ? "Map keys iterate" : "" ), Ge = Symbol( process.env.NODE_ENV !== "production" ? "Array iterate" : "" ); function j(e, t, r) { if (X && b) { let n = Un.get(e); n || Un.set(e, n = /* @__PURE__ */ new Map()); let i = n.get(r); i || (n.set(r, i = new ri()), i.map = n, i.key = r), process.env.NODE_ENV !== "production" ? i.track({ target: e, type: t, key: r }) : i.track(); } } function fe(e, t, r, n, i, s) { const a = Un.get(e); if (!a) { Be++; return; } const o = (u) => { u && (process.env.NODE_ENV !== "production" ? u.trigger({ target: e, type: t, key: r, newValue: n, oldValue: i, oldTarget: s }) : u.trigger()); }; if (Qn(), t === "clear") a.forEach(o); else { const u = w(e), l = u && Yn(r); if (u && r === "length") { const d = Number(n); a.forEach((c, f) => { (f === "length" || f === Ge || !he(f) && f >= d) && o(c); }); } else switch ((r !== void 0 || a.has(void 0)) && o(a.get(r)), l && o(a.get(Ge)), t) { case "add": u ? l && o(a.get("length")) : (o(a.get(Ee)), we(e) && o(a.get(kn))); break; case "delete": u || (o(a.get(Ee)), we(e) && o(a.get(kn))); break; case "set": we(e) && o(a.get(Ee)); break; } } ei(); } function qe(e) { const t = v(e); return t === e ? t : (j(t, "iterate", Ge), F(e) ? t : t.map(M)); } function Tt(e) { return j(e = v(e), "iterate", Ge), e; } const Pu = { __proto__: null, [Symbol.iterator]() { return Vt(this, Symbol.iterator, M); }, concat(...e) { return qe(this).concat( ...e.map((t) => w(t) ? qe(t) : t) ); }, entries() { return Vt(this, "entries", (e) => (e[1] = M(e[1]), e)); }, every(e, t) { return te(this, "every", e, t, void 0, arguments); }, filter(e, t) { return te(this, "filter", e, t, (r) => r.map(M), arguments); }, find(e, t) { return te(this, "find", e, t, M, arguments); }, findIndex(e, t) { return te(this, "findIndex", e, t, void 0, arguments); }, findLast(e, t) { return te(this, "findLast", e, t, M, arguments); }, findLastIndex(e, t) { return te(this, "findLastIndex", e, t, void 0, arguments); }, // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement forEach(e, t) { return te(this, "forEach", e, t, void 0, arguments); }, includes(...e) { return Mt(this, "includes", e); }, indexOf(...e) { return Mt(this, "indexOf", e); }, join(e) { return qe(this).join(e); }, // keys() iterator only reads `length`, no optimisation required lastIndexOf(...e) { return Mt(this, "lastIndexOf", e); }, map(e, t) { return te(this, "map", e, t, void 0, arguments); }, pop() { return Pe(this, "pop"); }, push(...e) { return Pe(this, "push", e); }, reduce(e, ...t) { return qi(this, "reduce", e, t); }, reduceRight(e, ...t) { return qi(this, "reduceRight", e, t); }, shift() { return Pe(this, "shift"); }, // slice could use ARRAY_ITERATE but also seems to beg for range tracking some(e, t) { return te(this, "some", e, t, void 0, arguments); }, splice(...e) { return Pe(this, "splice", e); }, toReversed() { return qe(this).toReversed(); }, toSorted(e) { return qe(this).toSorted(e); }, toSpliced(...e) { return qe(this).toSpliced(...e); }, unshift(...e) { return Pe(this, "unshift", e); }, values() { return Vt(this, "values", M); } }; function Vt(e, t, r) { const n = Tt(e), i = n[t](); return n !== e && !F(e) && (i._next = i.next, i.next = () => { const s = i._next(); return s.value && (s.value = r(s.value)), s; }), i; } const Vu = Array.prototype; function te(e, t, r, n, i, s) { const a = Tt(e), o = a !== e && !F(e), u = a[t]; if (u !== Vu[t]) { const c = u.apply(e, s); return o ? M(c) : c; } let l = r; a !== e && (o ? l = function(c, f) { return r.call(this, M(c), f, e); } : r.length > 2 && (l = function(c, f) { return r.call(this, c, f, e); })); const d = u.call(a, l, n); return o && i ? i(d) : d; } function qi(e, t, r, n) { const i = Tt(e); let s = r; return i !== e && (F(e) ? r.length > 3 && (s = function(a, o, u) { return r.call(this, a, o, u, e); }) : s = function(a, o, u) { return r.call(this, a, M(o), u, e); }), i[t](s, ...n); } function Mt(e, t, r) { const n = v(e); j(n, "iterate", Ge); const i = n[t](...r); return (i === -1 || i === !1) && ht(r[0]) ? (r[0] = v(r[0]), n[t](...r)) : i; } function Pe(e, t, r = []) { Ye(), Qn(); const n = v(e)[t].apply(e, r); return ei(), Xe(), n; } const Mu = /* @__PURE__ */ mu("__proto__,__v_isRef,__isVue"), io = new Set( /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(he) ); function $u(e) { he(e) || (e = String(e)); const t = v(this); return j(t, "has", e), t.hasOwnProperty(e); } class so { constructor(t = !1, r = !1) { this._isReadonly = t, this._isShallow = r; } get(t, r, n) { if (r === "__v_skip") return t.__v_skip; const i = this._isReadonly, s = this._isShallow; if (r === "__v_isReactive") return !i; if (r === "__v_isReadonly") return i; if (r === "__v_isShallow") return s; if (r === "__v_raw") return n === (i ? s ? co : uo : s ? Wu : oo).get(t) || // 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(t) === Object.getPrototypeOf(n) ? t : void 0; const a = w(t); if (!i) { let u; if (a && (u = Pu[r])) return u; if (r === "hasOwnProperty") return $u; } const o = Reflect.get( t, 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 K(t) ? t : n ); return (he(r) ? io.has(r) : Mu(r)) || (i || j(t, "get", r), s) ? o : K(o) ? a && Yn(r) ? o : o.value : P(o) ? i ? fo(o) : lo(o) : o; } } class Lu extends so { constructor(t = !1) { super(!1, t); } set(t, r, n, i) { let s = t[r]; if (!this._isShallow) { const u = oe(s); if (!F(n) && !oe(n) && (s = v(s), n = v(n)), !w(t) && K(s) && !K(n)) return u ? !1 : (s.value = n, !0); } const a = w(t) && Yn(r) ? Number(r) < t.length : N(t, r), o = Reflect.set( t, r, n, K(t) ? t : i ); return t === v(i) && (a ? pe(n, s) && fe(t, "set", r, n, s) : fe(t, "add", r, n)), o; } deleteProperty(t, r) { const n = N(t, r), i = t[r], s = Reflect.deleteProperty(t, r); return s && n && fe(t, "delete", r, void 0, i), s; } has(t, r) { const n = Reflect.has(t, r); return (!he(r) || !io.has(r)) && j(t, "has", r), n; } ownKeys(t) { return j( t, "iterate", w(t) ? "length" : Ee ), Reflect.ownKeys(t); } } class ao extends so { constructor(t = !1) { super(!0, t); } set(t, r) { return process.env.NODE_ENV !== "production" && ae( `Set operation on key "${String(r)}" failed: target is readonly.`, t ), !0; } deleteProperty(t, r) { return process.env.NODE_ENV !== "production" && ae( `Delete operation on key "${String(r)}" failed: target is readonly.`, t ), !0; } } const Fu = /* @__PURE__ */ new Lu(), Ku = /* @__PURE__ */ new ao(), Hu = /* @__PURE__ */ new ao(!0), Bn = (e) => e, it = (e) => Reflect.getPrototypeOf(e); function Uu(e, t, r) { return function(...n) { const i = this.__v_raw, s = v(i), a = we(s), o = e === "entries" || e === Symbol.iterator && a, u = e === "keys" && a, l = i[e](...n), d = r ? Bn : t ? Gn : M; return !t && j( s, "iterate", u ? kn : Ee ), { // iterator protocol next() { const { value: c, done: f } = l.next(); return f ? { value: c, done: f } : { value: o ? [d(c[0]), d(c[1])] : d(c), done: f }; }, // iterable protocol [Symbol.iterator]() { return this; } }; }; } function st(e) { return function(...t) { if (process.env.NODE_ENV !== "production") { const r = t[0] ? `on key "${t[0]}" ` : ""; ae( `${ke(e)} operation ${r}failed: target is readonly.`, v(this) ); } return e === "delete" ? !1 : e === "clear" ? void 0 : this; }; } function ku(e, t) { const r = { get(i) { const s = this.__v_raw, a = v(s), o = v(i); e || (pe(i, o) && j(a, "get", i), j(a, "get", o)); const { has: u } = it(a), l = t ? Bn : e ? Gn : M; if (u.call(a, i)) return l(s.get(i)); if (u.call(a, o)) return l(s.get(o)); s !== a && s.get(i); }, get size() { const i = this.__v_raw; return !e && j(v(i), "iterate", Ee), Reflect.get(i, "size", i); }, has(i) { const s = this.__v_raw, a = v(s), o = v(i); return e || (pe(i, o) && j(a, "has", i), j(a, "has", o)), i === o ? s.has(i) : s.has(i) || s.has(o); }, forEach(i, s) { const a = this, o = a.__v_raw, u = v(o), l = t ? Bn : e ? Gn : M; return !e && j(u, "iterate", Ee), o.forEach((d, c) => i.call(s, l(d), l(c), a)); } }; return k( r, e ? { add: st("add"), set: st("set"), delete: st("delete"), clear: st("clear") } : { add(i) { !t && !F(i) && !oe(i) && (i = v(i)); const s = v(this); return it(s).has.call(s, i) || (s.add(i), fe(s, "add", i, i)), this; }, set(i, s) { !t && !F(s) && !oe(s) && (s = v(s)); const a = v(this), { has: o, get: u } = it(a); let l = o.call(a, i); l ? process.env.NODE_ENV !== "production" && Ii(a, o, i) : (i = v(i), l = o.call(a, i)); const d = u.call(a, i); return a.set(i, s), l ? pe(s, d) && fe(a, "set", i, s, d) : fe(a, "add", i, s), this; }, delete(i) { const s = v(this), { has: a, get: o } = it(s); let u = a.call(s, i); u ? process.env.NODE_ENV !== "production" && Ii(s, a, i) : (i = v(i), u = a.call(s, i)); const l = o ? o.call(s, i) : void 0, d = s.delete(i); return u && fe(s, "delete", i, void 0, l), d; }, clear() { const i = v(this), s = i.size !== 0, a = process.env.NODE_ENV !== "production" ? we(i) ? new Map(i) : new Set(i) : void 0, o = i.clear(); return s && fe( i, "clear", void 0, void 0, a ), o; } } ), [ "keys", "values", "entries", Symbol.iterator ].forEach((i) => { r[i] = Uu(i, e, t); }), r; } function ni(e, t) { const r = ku(e, t); return (n, i, s) => i === "__v_isReactive" ? !e : i === "__v_isReadonly" ? e : i === "__v_raw" ? n : Reflect.get( N(r, i) && i in n ? r : n, i, s ); } const Bu = { get: /* @__PURE__ */ ni(!1, !1) }, Gu = { get: /* @__PURE__ */ ni(!0, !1) }, zu = { get: /* @__PURE__ */ ni(!0, !0) }; function Ii(e, t, r) { const n = v(r); if (n !== r && t.call(e, n)) { const i = Ga(e); ae( `Reactive ${i} contains both the raw and reactive versions of the same object${i === "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 oo = /* @__PURE__ */ new WeakMap(), Wu = /* @__PURE__ */ new WeakMap(), uo = /* @__PURE__ */ new WeakMap(), co = /* @__PURE__ */ new WeakMap(); function Ju(e) { switch (e) { case "Object": case "Array": return 1; case "Map": case "Set": case "WeakMap": case "WeakSet": return 2; default: return 0; } } function Yu(e) { return e.__v_skip || !Object.isExtensible(e) ? 0 : Ju(Ga(e)); } function lo(e) { return oe(e) ? e : ii( e, !1, Fu, Bu, oo ); } function fo(e) { return ii( e, !0, Ku, Gu, uo ); } function at(e) { return ii( e, !0, Hu, zu, co ); } function ii(e, t, r, n, i) { if (!P(e)) return process.env.NODE_ENV !== "production" && ae( `value cannot be made ${t ? "readonly" : "reactive"}: ${String( e )}` ), e; if (e.__v_raw && !(t && e.__v_isReactive)) return e; const s = i.get(e); if (s) return s; const a = Yu(e); if (a === 0) return e; const o = new Proxy( e, a === 2 ? n : r ); return i.set(e, o), o; } function Oe(e) { return oe(e) ? Oe(e.__v_raw) : !!(e && e.__v_isReactive); } function oe(e) { return !!(e && e.__v_isReadonly); } function F(e) { return !!(e && e.__v_isShallow); } function ht(e) { return e ? !!e.__v_raw : !1; } function v(e) { const t = e && e.__v_raw; return t ? v(t) : e; } function Xu(e) { return !N(e, "__v_skip") && Object.isExtensible(e) && Ru(e, "__v_skip", !0), e; } const M = (e) => P(e) ? lo(e) : e, Gn = (e) => P(e) ? fo(e) : e; function K(e) { return e ? e.__v_isRef === !0 : !1; } function $t(e) { return Zu(e, !1); } function Zu(e, t) { return K(e) ? e : new Qu(e, t); } class Qu { constructor(t, r) { this.dep = new ri(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = r ? t : v(t), this._value = r ? t : M(t), 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(t) { const r = this._rawValue, n = this.__v_isShallow || F(t) || oe(t); t = n ? t : v(t), pe(t, r) && (this._rawValue = t, this._value = n ? t : M(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({ target: this, type: "set", key: "value", newValue: t, oldValue: r }) : this.dep.trigger()); } } function D(e) { return K(e) ? e.value : e; } const ec = { get: (e, t, r) => t === "__v_raw" ? e : D(Reflect.get(e, t, r)), set: (e, t, r, n) => { const i = e[t]; return K(i) && !K(r) ? (i.value = r, !0) : Reflect.set(e, t, r, n); } }; function tc(e) { return Oe(e) ? e : new Proxy(e, ec); } class rc { constructor(t, r, n) { this.fn = t, this.setter = r, this._value = void 0, this.dep = new ri(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Be - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !r, this.isSSR = n; } /** * @internal */ notify() { if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion b !== this) return Za(this, !0), !0; process.env.NODE_ENV; } get value() { const t = process.env.NODE_ENV !== "production" ? this.dep.track({ target: this, type: "get", key: "value" }) : this.dep.track(); return to(this), t && (t.version = this.dep.version), this._value; } set value(t) { this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && ae("Write operation failed: computed value is readonly"); } } function nc(e, t, r = !1) { let n, i; C(e) ? n = e : (n = e.get, i = e.set); const s = new rc(n, i, r); return process.env.NODE_ENV, s; } const ot = {}, _t = /* @__PURE__ */ new WeakMap(); let me; function ic(e, t = !1, r = me) { if (r) { let n = _t.get(r); n || _t.set(r, n = []), n.push(e); } else process.env.NODE_ENV !== "production" && !t && ae( "onWatcherCleanup() was called when there was no active watcher to associate with." ); } function sc(e, t, r = z) { const { immediate: n, deep: i, once: s, scheduler: a, augmentJob: o, call: u } = r, l = (_) => { (r.onWarn || ae)( "Invalid watch source: ", _, "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types." ); }, d = (_) => i ? _ : F(_) || i === !1 || i === 0 ? ie(_, 1) : ie(_); let c, f, h, y, O = !1, q = !1; if (K(e) ? (f = () => e.value, O = F(e)) : Oe(e) ? (f = () => d(e), O = !0) : w(e) ? (q = !0, O = e.some((_) => Oe(_) || F(_)), f = () => e.map((_) => { if (K(_)) return _.value; if (Oe(_)) return d(_); if (C(_)) return u ? u(_, 2) : _(); process.env.NODE_ENV !== "production" && l(_); })) : C(e) ? t ? f = u ? () => u(e, 2) : e : f = () => { if (h) { Ye(); try { h(); } finally { Xe(); } } const _ = me; me = c; try { return u ? u(e, 3, [y]) : e(y); } finally { me = _; } } : (f = De, process.env.NODE_ENV !== "production" && l(e)), t && i) { const _ = f, R = i === !0 ? 1 / 0 : i; f = () => ie(_(), R); } const I = () => { c.stop(); }; if (s && t) { const _ = t; t = (...R) => { _(...R), I(); }; } let p = q ? new Array(e.length).fill(ot) : ot; const T = (_) => { if (!(!(c.flags & 1) || !c.dirty && !_)) if (t) { const R = c.run(); if (i || O || (q ? R.some((H, G) => pe(H, p[G])) : pe(R, p))) { h && h(); const H = me; me = c; try { const G = [ R, // pass undefined as the old value when it's changed for the first time p === ot ? void 0 : q && p[0] === ot ? [] : p, y ]; u ? u(t, 3, G) : ( // @ts-expect-error t(...G) ), p = R; } finally { me = H; } } } else c.run(); }; return o && o(T), c = new xu(f), c.scheduler = a ? () => a(T, !1) : T, y = (_) => ic(_, !1, c), h = c.onStop = () => { const _ = _t.get(c); if (_) { if (u) u(_, 4); else for (const R of _) R(); _t.delete(c); } }, process.env.NODE_ENV !== "production" && (c.onTrack = r.onTrack, c.onTrigger = r.onTrigger), t ? n ? T(!0) : p = c.run() : a ? a(T.bind(null, !0), !0) : c.run(), I.pause = c.pause.bind(c), I.resume = c.resume.bind(c), I.stop = I, I; } function ie(e, t = 1 / 0, r) { if (t <= 0 || !P(e) || e.__v_skip || (r = r || /* @__PURE__ */ new Set(), r.has(e))) return e; if (r.add(e), t--, K(e)) ie(e.value, t, r); else if (w(e)) for (let n = 0; n < e.length; n++) ie(e[n], t, r); else if (ka(e) || we(e)) e.forEach((n) => { ie(n, t, r); }); else if (za(e)) { for (const n in e) ie(e[n], t, r); for (const n of Object.getOwnPropertySymbols(e)) Object.prototype.propertyIsEnumerable.call(e, n) && ie(e[n], t, r); } return e; } /** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ const Ce = []; function ac(e) { Ce.push(e); } function oc() { Ce.pop(); } let Lt = !1; function S(e, ...t) { if (Lt) return; Lt = !0, Ye(); const r = Ce.length ? Ce[Ce.length - 1].component : null, n = r && r.appContext.config.warnHandler, i = uc(); if (n) Rt( n, r, 11, [ // eslint-disable-next-line no-restricted-syntax e + t.map((s) => { var a, o; return (o = (a = s.toString) == null ? void 0 : a.call(s)) != null ? o : JSON.stringify(s); }).join(""), r && r.proxy, i.map( ({ vnode: s }) => `at <${jo(r, s.type)}>` ).join(` `), i ] ); else { const s = [`[Vue warn]: ${e}`, ...t]; i.length && s.push(` `, ...cc(i)), console.warn(...s); } Xe(), Lt = !1; } function uc() { let e = Ce[Ce.length - 1]; if (!e) return []; const t = []; for (; e; ) { const r = t[0]; r && r.vnode === e ? r.recurseCount++ : t.push({ vnode: e, recurseCount: 0 }); const n = e.component && e.component.parent; e = n && n.vnode; } return t; } function cc(e) { const t = []; return e.forEach((r, n) => { t.push(...n === 0 ? [] : [` `], ...lc(r)); }), t; } function lc({ vnode: e, recurseCount: t }) { const r = t > 0 ? `... (${t} recursive calls)` : "", n = e.component ? e.component.parent == null : !1, i = ` at <${jo( e.component, e.type, n )}`, s = ">" + r; return e.props ? [i, ...fc(e.props), s] : [i + s]; } function fc(e) { const t = [], r = Object.keys(e); return r.slice(0, 3).forEach((n) => { t.push(...po(n, e[n])); }), r.length > 3 && t.push(" ..."), t; } function po(e, t, r) { return B(t) ? (t = JSON.stringify(t), r ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? r ? t : [`${e}=${t}`] : K(t) ? (t = po(e, v(t.value), !0), r ? t : [`${e}=Ref<`, t, ">"]) : C(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = v(t), r ? t : [`${e}=`, t]); } const si = { 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 Rt(e, t, r, n) { try { return n ? e(...n) : e(); } catch (i) { oi(i, t, r); } } function ai(e, t, r, n) { if (C(e)) { const i = Rt(e, t, r, n); return i && Ou(i) && i.catch((s) => { oi(s, t, r); }), i; } if (w(e)) { const i = []; for (let s = 0; s < e.length; s++) i.push(ai(e[s], t, r, n)); return i; } else process.env.NODE_ENV !== "production" && S( `Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}` ); } function oi(e, t, r, n = !0) { const i = t ? t.vnode : null, { errorHandler: s, throwUnhandledErrorInProduction: a } = t && t.appContext.config || z; if (t) { let o = t.parent; const u = t.proxy, l = process.env.NODE_ENV !== "production" ? si[r] : `https://vuejs.org/error-reference/#runtime-${r}`; for (; o; ) { const d = o.ec; if (d) { for (let c = 0; c < d.length; c++) if (d[c](e, u, l) === !1) return; } o = o.parent; } if (s) { Ye(), Rt(s, null, 10, [ e, u, l ]), Xe(); return; } } dc(e, r, i, n, a); } function dc(e, t, r, n = !0, i = !1) { if (process.env.NODE_ENV !== "production") { const s = si[t]; if (r && ac(r), S(`Unhandled error${s ? ` during execution of ${s}` : ""}`), r && oc(), n) throw e; console.error(e); } else { if (i) throw e; console.error(e); } } const J = []; let ne = -1; const je = []; let le = null, xe = 0; const ho = /* @__PURE__ */ Promise.resolve(); let gt = null; const pc = 100; function hc(e) { const t = gt || ho; return e ? t.then(this ? e.bind(this) : e) : t; } function _c(e) { let t = ne + 1, r = J.length; for (; t < r; ) { const n = t + r >>> 1, i = J[n], s = ze(i); s < e || s === e && i.flags & 2 ? t = n + 1 : r = n; } return t; } function ui(e) { if (!(e.flags & 1)) { const t = ze(e), r = J[J.length - 1]; !r || // fast path when the job id is larger than the tail !(e.flags & 2) && t >= ze(r) ? J.push(e) : J.splice(_c(t), 0, e), e.flags |= 1, _o(); } } function _o() { gt || (gt = ho.then(vo)); } function go(e) { w(e) ? je.push(...e) : le && e.id === -1 ? le.splice(xe + 1, 0, e) : e.flags & 1 || (je.push(e), e.flags |= 1), _o(); } function gc(e) { if (je.length) { const t = [...new Set(je)].sort( (r, n) => ze(r) - ze(n) ); if (je.length = 0, le) { le.push(...t); return; } for (le = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), xe = 0; xe < le.length; xe++) { const r = le[xe]; process.env.NODE_ENV !== "production" && yo(e, r) || (r.flags & 4 && (r.flags &= -2), r.flags & 8 || r(), r.flags &= -2); } le = null, xe = 0; } } const ze = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id; function vo(e) { process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()); const t = process.env.NODE_ENV !== "production" ? (r) => yo(e, r) : De; try { for (ne = 0; ne < J.length; ne++) { const r = J[ne]; if (r && !(r.flags & 8)) { if (process.env.NODE_ENV !== "production" && t(r)) continue; r.flags & 4 && (r.flags &= -2), Rt( r, r.i, r.i ? 15 : 14 ), r.flags & 4 || (r.flags &= -2); } } } finally { for (; ne < J.length; ne++) { const r = J[ne]; r && (r.flags &= -2); } ne = -1, J.length = 0, gc(e), gt = null, (J.length || je.length) && vo(e); } } function yo(e, t) { const r = e.get(t) || 0; if (r > pc) { const n = t.i, i = n && fi(n.type); return oi( `Maximum recursive updates exceeded${i ? ` in component <${i}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`, null, 10 ), !0; } return e.set(t, r + 1), !1; } const Ft = /* @__PURE__ */ new Map(); process.env.NODE_ENV !== "production" && (Ot().__VUE_HMR_RUNTIME__ = { createRecord: Kt(vc), rerender: Kt(yc), reload: Kt(bc) }); const vt = /* @__PURE__ */ new Map(); function vc(e, t) { return vt.has(e) ? !1 : (vt.set(e, { initialDef: yt(t), instances: /* @__PURE__ */ new Set() }), !0); } function yt(e) { return Po(e) ? e.__vccOpts : e; } function yc(e, t) { const r = vt.get(e); r && (r.initialDef.render = t, [...r.instances].forEach((n) => { t && (n.render = t, yt(n.type).render = t), n.renderCache = [], n.update(); })); } function bc(e, t) { const r = vt.get(e); if (!r) return; t = yt(t), xi(r.initialDef, t); const n = [...r.instances]; for (let i = 0; i < n.length; i++) { const s = n[i], a = yt(s.type); let o = Ft.get(a); o || (a !== r.initialDef && xi(a, t), Ft.set(a, o = /* @__PURE__ */ new Set())), o.add(s), s.appContext.propsCache.delete(s.type), s.appContext.emitsCache.delete(s.type), s.appContext.optionsCache.delete(s.type), s.ceReload ? (o.add(s), s.ceReload(t.styles), o.delete(s)) : s.parent ? ui(() => { s.parent.update(), o.delete(s); }) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn( "[HMR] Root or manually mounted instance modified. Full reload required." ), s.root.ce && s !== s.root && s.root.ce._removeChildStyle(a); } go(() => { Ft.clear(); }); } function xi(e, t) { k(e, t); for (const r in e) r !== "__file" && !(r in t) && delete e[r]; } function Kt(e) { return (t, r) => { try { return e(t, r); } catch (n) { console.error(n), console.warn( "[HMR] Something went wrong during Vue component hot-reload. Full reload required." ); } }; } let de, Ve = [], zn = !1; function mc(e, ...t) { de ? de.emit(e, ...t) : zn || Ve.push({ event: e, args: t }); } function bo(e, t) { var r, n; de = e, de ? (de.enabled = !0, Ve.forEach(({ event: i, args: s }) => de.emit(i, ...s)), Ve = []) : /* 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")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((s) => { bo(s, t); }), setTimeout(() => { de || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, zn = !0, Ve = []); }, 3e3)) : (zn = !0, Ve = []); } const Sc = /* @__PURE__ */ wc( "component:updated" /* COMPONENT_UPDATED */ ); /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function wc(e) { return (t) => { mc( e, t.appContext.app, t.uid, t.parent ? t.parent.uid : void 0, t ); }; } let A = null, mo = null; function Di(e) { const t = A; return A = e, mo = e && e.type.__scopeId || null, t; } function Ht(e, t = A, r) { if (!t || e._n) return e; const n = (...i) => { n._d && Fi(-1); const s = Di(t); let a; try { a = e(...i); } finally { Di(s), n._d && Fi(1); } return process.env.NODE_ENV !== "production" && Sc(t), a; }; return n._n = !0, n._c = !0, n._d = !0, n; } function Ec(e, t) { if (A === null) return process.env.NODE_ENV !== "production" && S("withDirectives can only be used inside render functions."), e; const r = Do(A), n = e.dirs || (e.dirs = []); for (let i = 0; i < t.length; i++) { let [s, a, o, u = z] = t[i]; s && (C(s) && (s = { mounted: s, updated: s }), s.deep && ie(a), n.push({ dir: s, instance: r, value: a, oldValue: void 0, arg: o, modifiers: u })); } return e; } const Oc = (e) => e.__isTeleport; function So(e, t) { e.shapeFlag & 6 && e.component ? (e.transition = t, So(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t; } /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function Cc(e, t) { return C(e) ? ( // #8236: extend call and options.name access are considered side-effects // by Rollup, so we have to wrap it in a pure-annotated IIFE. k({ name: e.name }, t, { setup: e }) ) : e; } Ot().requestIdleCallback; Ot().cancelIdleCallback; const Tc = (e) => !!e.type.__asyncLoader; function Rc(e, t, r = _e, n = !1) { if (r) { const i = r[e] || (r[e] = []), s = t.__weh || (t.__weh = (...a) => { Ye(); const o = xo(r), u = ai(t, r, e, a); return o(), Xe(), u; }); return n ? i.unshift(s) : i.push(s), s; } else if (process.env.NODE_ENV !== "production") { const i = Tu(si[e].replace(/ hook$/, "")); S( `${i} 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 Nc = (e) => (t, r = _e) => { (!Je || e === "sp") && Rc(e, (...n) => t(...n), r); }, Ac = Nc("m"), bt = "components", qc = "directives"; function Ie(e, t) { return ci(bt, e, !0, t) || e; } const wo = Symbol.for("v-ndc"); function Ic(e) { return B(e) ? ci(bt, e, !1) || e : e || wo; } function xc(e) { return ci(qc, e); } function ci(e, t, r = !0, n = !1) { const i = A || _e; if (i) { const s = i.type; if (e === bt) { const o = fi( s, !1 ); if (o && (o === t || o === pt(t) || o === ke(pt(t)))) return s; } const a = ( // local registration // check instance[type] first which is resolved for options API ji(i[e] || s[e], t) || // global registration ji(i.appContext[e], t) ); if (!a && n) return s; if (process.env.NODE_ENV !== "production" && r && !a) { const o = e === bt ? ` If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ""; S(`Failed to resolve ${e.slice(0, -1)}: ${t}${o}`); } return a; } else process.env.NODE_ENV !== "production" && S( `resolve${ke(e.slice(0, -1))} can only be used in render() or setup().` ); } function ji(e, t) { return e && (e[t] || e[pt(t)] || e[ke(pt(t))]); } function Dc(e, t, r, n) { let i; const s = r, a = w(e); if (a || B(e)) { const o = a && Oe(e); let u = !1; o && (u = !F(e), e = Tt(e)), i = new Array(e.length); for (let l = 0, d = e.length; l < d; l++) i[l] = t( u ? M(e[l]) : e[l], l, void 0, s ); } else if (typeof e == "number") { process.env.NODE_ENV !== "production" && !Number.isInteger(e) && S(`The v-for range expect an integer value but got ${e}.`), i = new Array(e); for (let o = 0; o < e; o++) i[o] = t(o + 1, o, void 0, s); } else if (P(e)) if (e[Symbol.iterator]) i = Array.from( e, (o, u) => t(o, u, void 0, s) ); else { const o = Object.keys(e); i = new Array(o.length); for (let u = 0, l = o.length; u < l; u++) { const d = o[u]; i[u] = t(e[d], d, u, s); } } else i = []; return i; } function ut(e, t, r = {}, n, i) { if (A.ce || A.parent && Tc(A.parent) && A.parent.ce) return t !== "default" && (r.name = t), V(), Se( Q, null, [se("slot", r, n)], 64 ); let s = e[t]; process.env.NODE_ENV !== "production" && s && s.length > 1 && (S( "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." ), s = () => []), s && s._c && (s._d = !1), V(); const a = s && Eo(s(r)), o = 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, u = Se( Q, { key: (o && !he(o) ? o : `_${t}`) + // #7256 force differentiate fallback content from actual content "" }, a || [], a && e._ === 1 ? 64 : -2 ); return s && s._c && (s._d = !0), u; } function Eo(e) { return e.some((t) => Ro(t) ? !(t.type === St || t.type === Q && !Eo(t.children)) : !0) ? e : null; } const Wn = (e) => e ? nl(e) ? Do(e) : Wn(e.parent) : null, Ue = ( // Move PURE marker to new line to workaround compiler discarding it // due to type annotation /* @__PURE__ */ k(/* @__PURE__ */ Object.create(null), { $: (e) => e, $el: (e) => e.vnode.el, $data: (e) => e.data, $props: (e) => process.env.NODE_ENV !== "production" ? at(e.props) : e.props, $attrs: (e) => process.env.NODE_ENV !== "production" ? at(e.attrs) : e.attrs, $slots: (e) => process.env.NODE_ENV !== "production" ? at(e.slots) : e.slots, $refs: (e) => process.env.NODE_ENV !== "production" ? at(e.refs) : e.refs, $parent: (e) => Wn(e.parent), $root: (e) => Wn(e.root), $host: (e) => e.ce, $emit: (e) => e.emit, $options: (e) => Vc(e), $forceUpdate: (e) => e.f || (e.f = () => { ui(e.update); }), $nextTick: (e) => e.n || (e.n = hc.bind(e.proxy)), $watch: (e) => Gc.bind(e) }) ), jc = (e) => e === "_" || e === "$", Ut = (e, t) => e !== z && !e.__isScriptSetup && N(e, t), Pc = { get({ _: e }, t) { if (t === "__v_skip") return !0; const { ctx: r, setupState: n, data: i, props: s, accessCache: a, type: o, appContext: u } = e; if (process.env.NODE_ENV !== "production" && t === "__isVue") return !0; let l; if (t[0] !== "$") { const h = a[t]; if (h !== void 0) switch (h) { case 1: return n[t]; case 2: return i[t]; case 4: return r[t]; case 3: return s[t]; } else { if (Ut(n, t)) return a[t] = 1, n[t]; if (i !== z && N(i, t)) return a[t] = 2, i[t]; if ( // only cache other properties when instance has declared (thus stable) // props (l = e.propsOptions[0]) && N(l, t) ) return a[t] = 3, s[t]; if (r !== z && N(r, t)) return a[t] = 4, r[t]; a[t] = 0; } } const d = Ue[t]; let c, f; if (d) return t === "$attrs" ? (j(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && j(e, "get", t), d(e); if ( // css module (injected by vue-loader) (c = o.__cssModules) && (c = c[t]) ) return c; if (r !== z && N(r, t)) return a[t] = 4, r[t]; if ( // global properties f = u.config.globalProperties, N(f, t) ) return f[t]; process.env.NODE_ENV !== "production" && A && (!B(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading // to infinite warning loop t.indexOf("__v") !== 0) && (i !== z && jc(t[0]) && N(i, t) ? S( `Property ${JSON.stringify( t )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.` ) : e === A && S( `Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.` )); }, set({ _: e }, t, r) { const { data: n, setupState: i, ctx: s } = e; return Ut(i, t) ? (i[t] = r, !0) : process.env.NODE_ENV !== "production" && i.__isScriptSetup && N(i, t) ? (S(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : n !== z && N(n, t) ? (n[t] = r, !0) : N(e.props, t) ? (process.env.NODE_ENV !== "production" && S(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && S( `Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.` ), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, { enumerable: !0, configurable: !0, value: r }) : s[t] = r, !0); }, has({ _: { data: e, setupState: t, accessCache: r, ctx: n, appContext: i, propsOptions: s } }, a) { let o; return !!r[a] || e !== z && N(e, a) || Ut(t, a) || (o = s[0]) && N(o, a) || N(n, a) || N(Ue, a) || N(i.config.globalProperties, a); }, defineProperty(e, t, r) { return r.get != null ? e._.accessCache[t] = 0 : N(r, "value") && this.set(e, t, r.value, null), Reflect.defineProperty(e, t, r); } }; process.env.NODE_ENV !== "production" && (Pc.ownKeys = (e) => (S( "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead." ), Reflect.ownKeys(e))); function Pi(e) { return w(e) ? e.reduce( (t, r) => (t[r] = null, t), {} ) : e; } function Vc(e) { const t = e.type, { mixins: r, extends: n } = t, { mixins: i, optionsCache: s, config: { optionMergeStrategies: a } } = e.appContext, o = s.get(t); let u; return o ? u = o : !i.length && !r && !n ? u = t : (u = {}, i.length && i.forEach( (l) => mt(u, l, a, !0) ), mt(u, t, a)), P(t) && s.set(t, u), u; } function mt(e, t, r, n = !1) { const { mixins: i, extends: s } = t; s && mt(e, s, r, !0), i && i.forEach( (a) => mt(e, a, r, !0) ); for (const a in t) if (n && a === "expose") process.env.NODE_ENV !== "production" && S( '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.' ); else { const o = Mc[a] || r && r[a]; e[a] = o ? o(e[a], t[a]) : t[a]; } return e; } const Mc = { data: Vi, props: $i, emits: $i, // objects methods: Me, computed: Me, // lifecycle beforeCreate: L, created: L, beforeMount: L, mounted: L, beforeUpdate: L, updated: L, beforeDestroy: L, beforeUnmount: L, destroyed: L, unmounted: L, activated: L, deactivated: L, errorCaptured: L, serverPrefetch: L, // assets components: Me, directives: Me,