UNPKG

imooc-element-components-hql

Version:

1,743 lines (1,742 loc) 201 kB
/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function Nc(e) { const n = /* @__PURE__ */ Object.create(null); for (const c of e.split(",")) n[c] = 1; return (c) => c in n; } const I = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, wc = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], oe = () => { }, Oc = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), V = Object.assign, Sc = Object.prototype.hasOwnProperty, b = (e, n) => Sc.call(e, n), E = Array.isArray, ae = (e) => je(e) === "[object Map]", xc = (e) => je(e) === "[object Set]", N = (e) => typeof e == "function", $ = (e) => typeof e == "string", Ee = (e) => typeof e == "symbol", y = (e) => e !== null && typeof e == "object", yc = (e) => (y(e) || N(e)) && N(e.then) && N(e.catch), Dc = Object.prototype.toString, je = (e) => Dc.call(e), jn = (e) => je(e).slice(8, -1), Vc = (e) => je(e) === "[object Object]", fn = (e) => $(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Wn = (e) => { const n = /* @__PURE__ */ Object.create(null); return (c) => n[c] || (n[c] = e(c)); }, Rc = /-(\w)/g, Re = Wn( (e) => e.replace(Rc, (n, c) => c ? c.toUpperCase() : "") ), Ce = Wn((e) => e.charAt(0).toUpperCase() + e.slice(1)), B = (e, n) => !Object.is(e, n), Cc = (e, n, c, a = !1) => { Object.defineProperty(e, n, { configurable: !0, enumerable: !1, writable: a, value: c }); }; let xn; const We = () => xn || (xn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}); function hn(e) { if (E(e)) { const n = {}; for (let c = 0; c < e.length; c++) { const a = e[c], o = $(a) ? $c(a) : hn(a); if (o) for (const d in o) n[d] = o[d]; } return n; } else if ($(e) || y(e)) return e; } const Tc = /;(?![^(]*\))/g, Ic = /:([^]+)/, Pc = /\/\*[^]*?\*\//g; function $c(e) { const n = {}; return e.replace(Pc, "").split(Tc).forEach((c) => { if (c) { const a = c.split(Ic); a.length > 1 && (n[a[0].trim()] = a[1].trim()); } }), n; } function pn(e) { let n = ""; if ($(e)) n = e; else if (E(e)) for (let c = 0; c < e.length; c++) { const a = pn(e[c]); a && (n += a + " "); } else if (y(e)) for (const c in e) e[c] && (n += c + " "); return n.trim(); } /** * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ function J(e, ...n) { console.warn(`[Vue warn] ${e}`, ...n); } let _; const Je = /* @__PURE__ */ new WeakSet(); class Ac { constructor(n) { this.fn = n, 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, Je.has(this) && (Je.delete(this), this.trigger())); } /** * @internal */ notify() { this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Mc(this); } run() { if (!(this.flags & 1)) return this.fn(); this.flags |= 2, yn(this), Kn(this); const n = _, c = A; _ = this, A = !0; try { return this.fn(); } finally { process.env.NODE_ENV !== "production" && _ !== this && J( "Active effect was not restored correctly - this is likely a Vue internal bug." ), Un(this), _ = n, A = c, this.flags &= -3; } } stop() { if (this.flags & 1) { for (let n = this.deps; n; n = n.nextDep) En(n); this.deps = this.depsTail = void 0, yn(this), this.onStop && this.onStop(), this.flags &= -2; } } trigger() { this.flags & 64 ? Je.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty(); } /** * @internal */ runIfDirty() { on(this) && this.run(); } get dirty() { return on(this); } } let Ln = 0, se, le; function Mc(e, n = !1) { if (e.flags |= 8, n) { e.next = le, le = e; return; } e.next = se, se = e; } function _n() { Ln++; } function gn() { if (--Ln > 0) return; if (le) { let n = le; for (le = void 0; n; ) { const c = n.next; n.next = void 0, n.flags &= -9, n = c; } } let e; for (; se; ) { let n = se; for (se = void 0; n; ) { const c = n.next; if (n.next = void 0, n.flags &= -9, n.flags & 1) try { n.trigger(); } catch (a) { e || (e = a); } n = c; } } if (e) throw e; } function Kn(e) { for (let n = e.deps; n; n = n.nextDep) n.version = -1, n.prevActiveLink = n.dep.activeLink, n.dep.activeLink = n; } function Un(e) { let n, c = e.depsTail, a = c; for (; a; ) { const o = a.prevDep; a.version === -1 ? (a === c && (c = o), En(a), Hc(a)) : n = a, a.dep.activeLink = a.prevActiveLink, a.prevActiveLink = void 0, a = o; } e.deps = n, e.depsTail = c; } function on(e) { for (let n = e.deps; n; n = n.nextDep) if (n.dep.version !== n.version || n.dep.computed && (Fc(n.dep.computed) || n.dep.version !== n.version)) return !0; return !!e._dirty; } function Fc(e) { if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Te)) return; e.globalVersion = Te; const n = e.dep; if (e.flags |= 2, n.version > 0 && !e.isSSR && e.deps && !on(e)) { e.flags &= -3; return; } const c = _, a = A; _ = e, A = !0; try { Kn(e); const o = e.fn(e._value); (n.version === 0 || B(o, e._value)) && (e._value = o, n.version++); } catch (o) { throw n.version++, o; } finally { _ = c, A = a, Un(e), e.flags &= -3; } } function En(e, n = !1) { const { dep: c, prevSub: a, nextSub: o } = e; if (a && (a.nextSub = o, e.prevSub = void 0), o && (o.prevSub = a, e.nextSub = void 0), process.env.NODE_ENV !== "production" && c.subsHead === e && (c.subsHead = o), c.subs === e && (c.subs = a, !a && c.computed)) { c.computed.flags &= -5; for (let d = c.computed.deps; d; d = d.nextDep) En(d, !0); } !n && !--c.sc && c.map && c.map.delete(c.key); } function Hc(e) { const { prevDep: n, nextDep: c } = e; n && (n.nextDep = c, e.prevDep = void 0), c && (c.prevDep = n, e.nextDep = void 0); } let A = !0; const zn = []; function Le() { zn.push(A), A = !1; } function Ke() { const e = zn.pop(); A = e === void 0 ? !0 : e; } function yn(e) { const { cleanup: n } = e; if (e.cleanup = void 0, n) { const c = _; _ = void 0; try { n(); } finally { _ = c; } } } let Te = 0; class jc { constructor(n, c) { this.sub = n, this.dep = c, this.version = c.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0; } } class Bn { constructor(n) { this.computed = n, 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(n) { if (!_ || !A || _ === this.computed) return; let c = this.activeLink; if (c === void 0 || c.sub !== _) c = this.activeLink = new jc(_, this), _.deps ? (c.prevDep = _.depsTail, _.depsTail.nextDep = c, _.depsTail = c) : _.deps = _.depsTail = c, Jn(c); else if (c.version === -1 && (c.version = this.version, c.nextDep)) { const a = c.nextDep; a.prevDep = c.prevDep, c.prevDep && (c.prevDep.nextDep = a), c.prevDep = _.depsTail, c.nextDep = void 0, _.depsTail.nextDep = c, _.depsTail = c, _.deps === c && (_.deps = a); } return process.env.NODE_ENV !== "production" && _.onTrack && _.onTrack( V( { effect: _ }, n ) ), c; } trigger(n) { this.version++, Te++, this.notify(n); } notify(n) { _n(); try { if (process.env.NODE_ENV !== "production") for (let c = this.subsHead; c; c = c.nextSub) c.sub.onTrigger && !(c.sub.flags & 8) && c.sub.onTrigger( V( { effect: c.sub }, n ) ); for (let c = this.subs; c; c = c.prevSub) c.sub.notify() && c.sub.dep.notify(); } finally { gn(); } } } function Jn(e) { if (e.dep.sc++, e.sub.flags & 4) { const n = e.dep.computed; if (n && !e.dep.subs) { n.flags |= 20; for (let a = n.deps; a; a = a.nextDep) Jn(a); } const c = e.dep.subs; c !== e && (e.prevSub = c, c && (c.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e; } } const an = /* @__PURE__ */ new WeakMap(), Q = Symbol( process.env.NODE_ENV !== "production" ? "Object iterate" : "" ), dn = Symbol( process.env.NODE_ENV !== "production" ? "Map keys iterate" : "" ), pe = Symbol( process.env.NODE_ENV !== "production" ? "Array iterate" : "" ); function w(e, n, c) { if (A && _) { let a = an.get(e); a || an.set(e, a = /* @__PURE__ */ new Map()); let o = a.get(c); o || (a.set(c, o = new Bn()), o.map = a, o.key = c), process.env.NODE_ENV !== "production" ? o.track({ target: e, type: n, key: c }) : o.track(); } } function K(e, n, c, a, o, d) { const m = an.get(e); if (!m) { Te++; return; } const t = (i) => { i && (process.env.NODE_ENV !== "production" ? i.trigger({ target: e, type: n, key: c, newValue: a, oldValue: o, oldTarget: d }) : i.trigger()); }; if (_n(), n === "clear") m.forEach(t); else { const i = E(e), l = i && fn(c); if (i && c === "length") { const f = Number(a); m.forEach((r, u) => { (u === "length" || u === pe || !Ee(u) && u >= f) && t(r); }); } else switch ((c !== void 0 || m.has(void 0)) && t(m.get(c)), l && t(m.get(pe)), n) { case "add": i ? l && t(m.get("length")) : (t(m.get(Q)), ae(e) && t(m.get(dn))); break; case "delete": i || (t(m.get(Q)), ae(e) && t(m.get(dn))); break; case "set": ae(e) && t(m.get(Q)); break; } } gn(); } function ee(e) { const n = h(e); return n === e ? n : (w(n, "iterate", pe), D(e) ? n : n.map(S)); } function Ue(e) { return w(e = h(e), "iterate", pe), e; } const Wc = { __proto__: null, [Symbol.iterator]() { return Ye(this, Symbol.iterator, S); }, concat(...e) { return ee(this).concat( ...e.map((n) => E(n) ? ee(n) : n) ); }, entries() { return Ye(this, "entries", (e) => (e[1] = S(e[1]), e)); }, every(e, n) { return H(this, "every", e, n, void 0, arguments); }, filter(e, n) { return H(this, "filter", e, n, (c) => c.map(S), arguments); }, find(e, n) { return H(this, "find", e, n, S, arguments); }, findIndex(e, n) { return H(this, "findIndex", e, n, void 0, arguments); }, findLast(e, n) { return H(this, "findLast", e, n, S, arguments); }, findLastIndex(e, n) { return H(this, "findLastIndex", e, n, void 0, arguments); }, // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement forEach(e, n) { return H(this, "forEach", e, n, void 0, arguments); }, includes(...e) { return qe(this, "includes", e); }, indexOf(...e) { return qe(this, "indexOf", e); }, join(e) { return ee(this).join(e); }, // keys() iterator only reads `length`, no optimisation required lastIndexOf(...e) { return qe(this, "lastIndexOf", e); }, map(e, n) { return H(this, "map", e, n, void 0, arguments); }, pop() { return te(this, "pop"); }, push(...e) { return te(this, "push", e); }, reduce(e, ...n) { return Dn(this, "reduce", e, n); }, reduceRight(e, ...n) { return Dn(this, "reduceRight", e, n); }, shift() { return te(this, "shift"); }, // slice could use ARRAY_ITERATE but also seems to beg for range tracking some(e, n) { return H(this, "some", e, n, void 0, arguments); }, splice(...e) { return te(this, "splice", e); }, toReversed() { return ee(this).toReversed(); }, toSorted(e) { return ee(this).toSorted(e); }, toSpliced(...e) { return ee(this).toSpliced(...e); }, unshift(...e) { return te(this, "unshift", e); }, values() { return Ye(this, "values", S); } }; function Ye(e, n, c) { const a = Ue(e), o = a[n](); return a !== e && !D(e) && (o._next = o.next, o.next = () => { const d = o._next(); return d.value && (d.value = c(d.value)), d; }), o; } const Lc = Array.prototype; function H(e, n, c, a, o, d) { const m = Ue(e), t = m !== e && !D(e), i = m[n]; if (i !== Lc[n]) { const r = i.apply(e, d); return t ? S(r) : r; } let l = c; m !== e && (t ? l = function(r, u) { return c.call(this, S(r), u, e); } : c.length > 2 && (l = function(r, u) { return c.call(this, r, u, e); })); const f = i.call(m, l, a); return t && o ? o(f) : f; } function Dn(e, n, c, a) { const o = Ue(e); let d = c; return o !== e && (D(e) ? c.length > 3 && (d = function(m, t, i) { return c.call(this, m, t, i, e); }) : d = function(m, t, i) { return c.call(this, m, S(t), i, e); }), o[n](d, ...a); } function qe(e, n, c) { const a = h(e); w(a, "iterate", pe); const o = a[n](...c); return (o === -1 || o === !1) && Ie(c[0]) ? (c[0] = h(c[0]), a[n](...c)) : o; } function te(e, n, c = []) { Le(), _n(); const a = h(e)[n].apply(e, c); return gn(), Ke(), a; } const Kc = /* @__PURE__ */ Nc("__proto__,__v_isRef,__isVue"), Yn = new Set( /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ee) ); function Uc(e) { Ee(e) || (e = String(e)); const n = h(this); return w(n, "has", e), n.hasOwnProperty(e); } class qn { constructor(n = !1, c = !1) { this._isReadonly = n, this._isShallow = c; } get(n, c, a) { if (c === "__v_skip") return n.__v_skip; const o = this._isReadonly, d = this._isShallow; if (c === "__v_isReactive") return !o; if (c === "__v_isReadonly") return o; if (c === "__v_isShallow") return d; if (c === "__v_raw") return a === (o ? d ? Zn : Xn : d ? kc : Qn).get(n) || // 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(n) === Object.getPrototypeOf(a) ? n : void 0; const m = E(n); if (!o) { let i; if (m && (i = Wc[c])) return i; if (c === "hasOwnProperty") return Uc; } const t = Reflect.get( n, c, // 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 O(n) ? n : a ); return (Ee(c) ? Yn.has(c) : Kc(c)) || (o || w(n, "get", c), d) ? t : O(t) ? m && fn(c) ? t : t.value : y(t) ? o ? ec(t) : kn(t) : t; } } class zc extends qn { constructor(n = !1) { super(!1, n); } set(n, c, a, o) { let d = n[c]; if (!this._isShallow) { const i = W(d); if (!D(a) && !W(a) && (d = h(d), a = h(a)), !E(n) && O(d) && !O(a)) return i ? !1 : (d.value = a, !0); } const m = E(n) && fn(c) ? Number(c) < n.length : b(n, c), t = Reflect.set( n, c, a, O(n) ? n : o ); return n === h(o) && (m ? B(a, d) && K(n, "set", c, a, d) : K(n, "add", c, a)), t; } deleteProperty(n, c) { const a = b(n, c), o = n[c], d = Reflect.deleteProperty(n, c); return d && a && K(n, "delete", c, void 0, o), d; } has(n, c) { const a = Reflect.has(n, c); return (!Ee(c) || !Yn.has(c)) && w(n, "has", c), a; } ownKeys(n) { return w( n, "iterate", E(n) ? "length" : Q ), Reflect.ownKeys(n); } } class Gn extends qn { constructor(n = !1) { super(!0, n); } set(n, c) { return process.env.NODE_ENV !== "production" && J( `Set operation on key "${String(c)}" failed: target is readonly.`, n ), !0; } deleteProperty(n, c) { return process.env.NODE_ENV !== "production" && J( `Delete operation on key "${String(c)}" failed: target is readonly.`, n ), !0; } } const Bc = /* @__PURE__ */ new zc(), Jc = /* @__PURE__ */ new Gn(), Yc = /* @__PURE__ */ new Gn(!0), mn = (e) => e, we = (e) => Reflect.getPrototypeOf(e); function qc(e, n, c) { return function(...a) { const o = this.__v_raw, d = h(o), m = ae(d), t = e === "entries" || e === Symbol.iterator && m, i = e === "keys" && m, l = o[e](...a), f = c ? mn : n ? tn : S; return !n && w( d, "iterate", i ? dn : Q ), { // iterator protocol next() { const { value: r, done: u } = l.next(); return u ? { value: r, done: u } : { value: t ? [f(r[0]), f(r[1])] : f(r), done: u }; }, // iterable protocol [Symbol.iterator]() { return this; } }; }; } function Oe(e) { return function(...n) { if (process.env.NODE_ENV !== "production") { const c = n[0] ? `on key "${n[0]}" ` : ""; J( `${Ce(e)} operation ${c}failed: target is readonly.`, h(this) ); } return e === "delete" ? !1 : e === "clear" ? void 0 : this; }; } function Gc(e, n) { const c = { get(o) { const d = this.__v_raw, m = h(d), t = h(o); e || (B(o, t) && w(m, "get", o), w(m, "get", t)); const { has: i } = we(m), l = n ? mn : e ? tn : S; if (i.call(m, o)) return l(d.get(o)); if (i.call(m, t)) return l(d.get(t)); d !== m && d.get(o); }, get size() { const o = this.__v_raw; return !e && w(h(o), "iterate", Q), Reflect.get(o, "size", o); }, has(o) { const d = this.__v_raw, m = h(d), t = h(o); return e || (B(o, t) && w(m, "has", o), w(m, "has", t)), o === t ? d.has(o) : d.has(o) || d.has(t); }, forEach(o, d) { const m = this, t = m.__v_raw, i = h(t), l = n ? mn : e ? tn : S; return !e && w(i, "iterate", Q), t.forEach((f, r) => o.call(d, l(f), l(r), m)); } }; return V( c, e ? { add: Oe("add"), set: Oe("set"), delete: Oe("delete"), clear: Oe("clear") } : { add(o) { !n && !D(o) && !W(o) && (o = h(o)); const d = h(this); return we(d).has.call(d, o) || (d.add(o), K(d, "add", o, o)), this; }, set(o, d) { !n && !D(d) && !W(d) && (d = h(d)); const m = h(this), { has: t, get: i } = we(m); let l = t.call(m, o); l ? process.env.NODE_ENV !== "production" && Vn(m, t, o) : (o = h(o), l = t.call(m, o)); const f = i.call(m, o); return m.set(o, d), l ? B(d, f) && K(m, "set", o, d, f) : K(m, "add", o, d), this; }, delete(o) { const d = h(this), { has: m, get: t } = we(d); let i = m.call(d, o); i ? process.env.NODE_ENV !== "production" && Vn(d, m, o) : (o = h(o), i = m.call(d, o)); const l = t ? t.call(d, o) : void 0, f = d.delete(o); return i && K(d, "delete", o, void 0, l), f; }, clear() { const o = h(this), d = o.size !== 0, m = process.env.NODE_ENV !== "production" ? ae(o) ? new Map(o) : new Set(o) : void 0, t = o.clear(); return d && K( o, "clear", void 0, void 0, m ), t; } } ), [ "keys", "values", "entries", Symbol.iterator ].forEach((o) => { c[o] = qc(o, e, n); }), c; } function bn(e, n) { const c = Gc(e, n); return (a, o, d) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? a : Reflect.get( b(c, o) && o in a ? c : a, o, d ); } const Qc = { get: /* @__PURE__ */ bn(!1, !1) }, Xc = { get: /* @__PURE__ */ bn(!0, !1) }, Zc = { get: /* @__PURE__ */ bn(!0, !0) }; function Vn(e, n, c) { const a = h(c); if (a !== c && n.call(e, a)) { const o = jn(e); J( `Reactive ${o} contains both the raw and reactive versions of the same object${o === "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 Qn = /* @__PURE__ */ new WeakMap(), kc = /* @__PURE__ */ new WeakMap(), Xn = /* @__PURE__ */ new WeakMap(), Zn = /* @__PURE__ */ new WeakMap(); function eo(e) { switch (e) { case "Object": case "Array": return 1; case "Map": case "Set": case "WeakMap": case "WeakSet": return 2; default: return 0; } } function no(e) { return e.__v_skip || !Object.isExtensible(e) ? 0 : eo(jn(e)); } function kn(e) { return W(e) ? e : vn( e, !1, Bc, Qc, Qn ); } function ec(e) { return vn( e, !0, Jc, Xc, Xn ); } function Se(e) { return vn( e, !0, Yc, Zc, Zn ); } function vn(e, n, c, a, o) { if (!y(e)) return process.env.NODE_ENV !== "production" && J( `value cannot be made ${n ? "readonly" : "reactive"}: ${String( e )}` ), e; if (e.__v_raw && !(n && e.__v_isReactive)) return e; const d = o.get(e); if (d) return d; const m = no(e); if (m === 0) return e; const t = new Proxy( e, m === 2 ? a : c ); return o.set(e, t), t; } function X(e) { return W(e) ? X(e.__v_raw) : !!(e && e.__v_isReactive); } function W(e) { return !!(e && e.__v_isReadonly); } function D(e) { return !!(e && e.__v_isShallow); } function Ie(e) { return e ? !!e.__v_raw : !1; } function h(e) { const n = e && e.__v_raw; return n ? h(n) : e; } function co(e) { return !b(e, "__v_skip") && Object.isExtensible(e) && Cc(e, "__v_skip", !0), e; } const S = (e) => y(e) ? kn(e) : e, tn = (e) => y(e) ? ec(e) : e; function O(e) { return e ? e.__v_isRef === !0 : !1; } function ne(e) { return oo(e, !1); } function oo(e, n) { return O(e) ? e : new ao(e, n); } class ao { constructor(n, c) { this.dep = new Bn(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = c ? n : h(n), this._value = c ? n : S(n), this.__v_isShallow = c; } get value() { return process.env.NODE_ENV !== "production" ? this.dep.track({ target: this, type: "get", key: "value" }) : this.dep.track(), this._value; } set value(n) { const c = this._rawValue, a = this.__v_isShallow || D(n) || W(n); n = a ? n : h(n), B(n, c) && (this._rawValue = n, this._value = a ? n : S(n), process.env.NODE_ENV !== "production" ? this.dep.trigger({ target: this, type: "set", key: "value", newValue: n, oldValue: c }) : this.dep.trigger()); } } function F(e) { return O(e) ? e.value : e; } const mo = { get: (e, n, c) => n === "__v_raw" ? e : F(Reflect.get(e, n, c)), set: (e, n, c, a) => { const o = e[n]; return O(o) && !O(c) ? (o.value = c, !0) : Reflect.set(e, n, c, a); } }; function to(e) { return X(e) ? e : new Proxy(e, mo); } const xe = {}, Pe = /* @__PURE__ */ new WeakMap(); let G; function ro(e, n = !1, c = G) { if (c) { let a = Pe.get(c); a || Pe.set(c, a = []), a.push(e); } else process.env.NODE_ENV !== "production" && !n && J( "onWatcherCleanup() was called when there was no active watcher to associate with." ); } function io(e, n, c = I) { const { immediate: a, deep: o, once: d, scheduler: m, augmentJob: t, call: i } = c, l = (p) => { (c.onWarn || J)( "Invalid watch source: ", p, "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types." ); }, f = (p) => o ? p : D(p) || o === !1 || o === 0 ? U(p, 1) : U(p); let r, u, s, v, T = !1, ve = !1; if (O(e) ? (u = () => e.value, T = D(e)) : X(e) ? (u = () => f(e), T = !0) : E(e) ? (ve = !0, T = e.some((p) => X(p) || D(p)), u = () => e.map((p) => { if (O(p)) return p.value; if (X(p)) return f(p); if (N(p)) return i ? i(p, 2) : p(); process.env.NODE_ENV !== "production" && l(p); })) : N(e) ? n ? u = i ? () => i(e, 2) : e : u = () => { if (s) { Le(); try { s(); } finally { Ke(); } } const p = G; G = r; try { return i ? i(e, 3, [v]) : e(v); } finally { G = p; } } : (u = oe, process.env.NODE_ENV !== "production" && l(e)), n && o) { const p = u, M = o === !0 ? 1 / 0 : o; u = () => U(p(), M); } const k = () => { r.stop(); }; if (d && n) { const p = n; n = (...M) => { p(...M), k(); }; } let Y = ve ? new Array(e.length).fill(xe) : xe; const me = (p) => { if (!(!(r.flags & 1) || !r.dirty && !p)) if (n) { const M = r.run(); if (o || T || (ve ? M.some((Be, Ne) => B(Be, Y[Ne])) : B(M, Y))) { s && s(); const Be = G; G = r; try { const Ne = [ M, // pass undefined as the old value when it's changed for the first time Y === xe ? void 0 : ve && Y[0] === xe ? [] : Y, v ]; i ? i(n, 3, Ne) : ( // @ts-expect-error n(...Ne) ), Y = M; } finally { G = Be; } } } else r.run(); }; return t && t(me), r = new Ac(u), r.scheduler = m ? () => m(me, !1) : me, v = (p) => ro(p, !1, r), s = r.onStop = () => { const p = Pe.get(r); if (p) { if (i) i(p, 4); else for (const M of p) M(); Pe.delete(r); } }, process.env.NODE_ENV !== "production" && (r.onTrack = c.onTrack, r.onTrigger = c.onTrigger), n ? a ? me(!0) : Y = r.run() : m ? m(me.bind(null, !0), !0) : r.run(), k.pause = r.pause.bind(r), k.resume = r.resume.bind(r), k.stop = k, k; } function U(e, n = 1 / 0, c) { if (n <= 0 || !y(e) || e.__v_skip || (c = c || /* @__PURE__ */ new Set(), c.has(e))) return e; if (c.add(e), n--, O(e)) U(e.value, n, c); else if (E(e)) for (let a = 0; a < e.length; a++) U(e[a], n, c); else if (xc(e) || ae(e)) e.forEach((a) => { U(a, n, c); }); else if (Vc(e)) { for (const a in e) U(e[a], n, c); for (const a of Object.getOwnPropertySymbols(e)) Object.prototype.propertyIsEnumerable.call(e, a) && U(e[a], n, c); } return e; } /** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ const Z = []; function so(e) { Z.push(e); } function lo() { Z.pop(); } let Ge = !1; function g(e, ...n) { if (Ge) return; Ge = !0, Le(); const c = Z.length ? Z[Z.length - 1].component : null, a = c && c.appContext.config.warnHandler, o = uo(); if (a) ze( a, c, 11, [ // eslint-disable-next-line no-restricted-syntax e + n.map((d) => { var m, t; return (t = (m = d.toString) == null ? void 0 : m.call(d)) != null ? t : JSON.stringify(d); }).join(""), c && c.proxy, o.map( ({ vnode: d }) => `at <${bc(c, d.type)}>` ).join(` `), o ] ); else { const d = [`[Vue warn]: ${e}`, ...n]; o.length && d.push(` `, ...fo(o)), console.warn(...d); } Ke(), Ge = !1; } function uo() { let e = Z[Z.length - 1]; if (!e) return []; const n = []; for (; e; ) { const c = n[0]; c && c.vnode === e ? c.recurseCount++ : n.push({ vnode: e, recurseCount: 0 }); const a = e.component && e.component.parent; e = a && a.vnode; } return n; } function fo(e) { const n = []; return e.forEach((c, a) => { n.push(...a === 0 ? [] : [` `], ...ho(c)); }), n; } function ho({ vnode: e, recurseCount: n }) { const c = n > 0 ? `... (${n} recursive calls)` : "", a = e.component ? e.component.parent == null : !1, o = ` at <${bc( e.component, e.type, a )}`, d = ">" + c; return e.props ? [o, ...po(e.props), d] : [o + d]; } function po(e) { const n = [], c = Object.keys(e); return c.slice(0, 3).forEach((a) => { n.push(...nc(a, e[a])); }), c.length > 3 && n.push(" ..."), n; } function nc(e, n, c) { return $(n) ? (n = JSON.stringify(n), c ? n : [`${e}=${n}`]) : typeof n == "number" || typeof n == "boolean" || n == null ? c ? n : [`${e}=${n}`] : O(n) ? (n = nc(e, h(n.value), !0), c ? n : [`${e}=Ref<`, n, ">"]) : N(n) ? [`${e}=fn${n.name ? `<${n.name}>` : ""}`] : (n = h(n), c ? n : [`${e}=`, n]); } const cc = { 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 ze(e, n, c, a) { try { return a ? e(...a) : e(); } catch (o) { Nn(o, n, c); } } function oc(e, n, c, a) { if (N(e)) { const o = ze(e, n, c, a); return o && yc(o) && o.catch((d) => { Nn(d, n, c); }), o; } if (E(e)) { const o = []; for (let d = 0; d < e.length; d++) o.push(oc(e[d], n, c, a)); return o; } else process.env.NODE_ENV !== "production" && g( `Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}` ); } function Nn(e, n, c, a = !0) { const o = n ? n.vnode : null, { errorHandler: d, throwUnhandledErrorInProduction: m } = n && n.appContext.config || I; if (n) { let t = n.parent; const i = n.proxy, l = process.env.NODE_ENV !== "production" ? cc[c] : `https://vuejs.org/error-reference/#runtime-${c}`; for (; t; ) { const f = t.ec; if (f) { for (let r = 0; r < f.length; r++) if (f[r](e, i, l) === !1) return; } t = t.parent; } if (d) { Le(), ze(d, null, 10, [ e, i, l ]), Ke(); return; } } _o(e, c, o, a, m); } function _o(e, n, c, a = !0, o = !1) { if (process.env.NODE_ENV !== "production") { const d = cc[n]; if (c && so(c), g(`Unhandled error${d ? ` during execution of ${d}` : ""}`), c && lo(), a) throw e; console.error(e); } else { if (o) throw e; console.error(e); } } const P = []; let j = -1; const de = []; let L = null, ce = 0; const ac = /* @__PURE__ */ Promise.resolve(); let $e = null; const go = 100; function Eo(e) { const n = $e || ac; return e ? n.then(this ? e.bind(this) : e) : n; } function bo(e) { let n = j + 1, c = P.length; for (; n < c; ) { const a = n + c >>> 1, o = P[a], d = _e(o); d < e || d === e && o.flags & 2 ? n = a + 1 : c = a; } return n; } function wn(e) { if (!(e.flags & 1)) { const n = _e(e), c = P[P.length - 1]; !c || // fast path when the job id is larger than the tail !(e.flags & 2) && n >= _e(c) ? P.push(e) : P.splice(bo(n), 0, e), e.flags |= 1, dc(); } } function dc() { $e || ($e = ac.then(tc)); } function mc(e) { E(e) ? de.push(...e) : L && e.id === -1 ? L.splice(ce + 1, 0, e) : e.flags & 1 || (de.push(e), e.flags |= 1), dc(); } function vo(e) { if (de.length) { const n = [...new Set(de)].sort( (c, a) => _e(c) - _e(a) ); if (de.length = 0, L) { L.push(...n); return; } for (L = n, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), ce = 0; ce < L.length; ce++) { const c = L[ce]; process.env.NODE_ENV !== "production" && rc(e, c) || (c.flags & 4 && (c.flags &= -2), c.flags & 8 || c(), c.flags &= -2); } L = null, ce = 0; } } const _e = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id; function tc(e) { process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()); const n = process.env.NODE_ENV !== "production" ? (c) => rc(e, c) : oe; try { for (j = 0; j < P.length; j++) { const c = P[j]; if (c && !(c.flags & 8)) { if (process.env.NODE_ENV !== "production" && n(c)) continue; c.flags & 4 && (c.flags &= -2), ze( c, c.i, c.i ? 15 : 14 ), c.flags & 4 || (c.flags &= -2); } } } finally { for (; j < P.length; j++) { const c = P[j]; c && (c.flags &= -2); } j = -1, P.length = 0, vo(e), $e = null, (P.length || de.length) && tc(e); } } function rc(e, n) { const c = e.get(n) || 0; if (c > go) { const a = n.i, o = a && Sn(a.type); return Nn( `Maximum recursive updates exceeded${o ? ` in component <${o}>` : ""}. 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(n, c + 1), !1; } const Qe = /* @__PURE__ */ new Map(); process.env.NODE_ENV !== "production" && (We().__VUE_HMR_RUNTIME__ = { createRecord: Xe(No), rerender: Xe(wo), reload: Xe(Oo) }); const Ae = /* @__PURE__ */ new Map(); function No(e, n) { return Ae.has(e) ? !1 : (Ae.set(e, { initialDef: Me(n), instances: /* @__PURE__ */ new Set() }), !0); } function Me(e) { return vc(e) ? e.__vccOpts : e; } function wo(e, n) { const c = Ae.get(e); c && (c.initialDef.render = n, [...c.instances].forEach((a) => { n && (a.render = n, Me(a.type).render = n), a.renderCache = [], a.update(); })); } function Oo(e, n) { const c = Ae.get(e); if (!c) return; n = Me(n), Rn(c.initialDef, n); const a = [...c.instances]; for (let o = 0; o < a.length; o++) { const d = a[o], m = Me(d.type); let t = Qe.get(m); t || (m !== c.initialDef && Rn(m, n), Qe.set(m, t = /* @__PURE__ */ new Set())), t.add(d), d.appContext.propsCache.delete(d.type), d.appContext.emitsCache.delete(d.type), d.appContext.optionsCache.delete(d.type), d.ceReload ? (t.add(d), d.ceReload(n.styles), t.delete(d)) : d.parent ? wn(() => { d.parent.update(), t.delete(d); }) : d.appContext.reload ? d.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn( "[HMR] Root or manually mounted instance modified. Full reload required." ), d.root.ce && d !== d.root && d.root.ce._removeChildStyle(m); } mc(() => { Qe.clear(); }); } function Rn(e, n) { V(e, n); for (const c in e) c !== "__file" && !(c in n) && delete e[c]; } function Xe(e) { return (n, c) => { try { return e(n, c); } catch (a) { console.error(a), console.warn( "[HMR] Something went wrong during Vue component hot-reload. Full reload required." ); } }; } let z, re = [], rn = !1; function So(e, ...n) { z ? z.emit(e, ...n) : rn || re.push({ event: e, args: n }); } function ic(e, n) { var c, a; z = e, z ? (z.enabled = !0, re.forEach(({ event: o, args: d }) => z.emit(o, ...d)), re = []) : /* 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 !((a = (c = window.navigator) == null ? void 0 : c.userAgent) != null && a.includes("jsdom")) ? ((n.__VUE_DEVTOOLS_HOOK_REPLAY__ = n.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((d) => { ic(d, n); }), setTimeout(() => { z || (n.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, rn = !0, re = []); }, 3e3)) : (rn = !0, re = []); } const xo = /* @__PURE__ */ yo( "component:updated" /* COMPONENT_UPDATED */ ); /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function yo(e) { return (n) => { So( e, n.appContext.app, n.uid, n.parent ? n.parent.uid : void 0, n ); }; } let R = null, sc = null; function Cn(e) { const n = R; return R = e, sc = e && e.type.__scopeId || null, n; } function Ze(e, n = R, c) { if (!n || e._n) return e; const a = (...o) => { a._d && Fn(-1); const d = Cn(n); let m; try { m = e(...o); } finally { Cn(d), a._d && Fn(1); } return process.env.NODE_ENV !== "production" && xo(n), m; }; return a._n = !0, a._c = !0, a._d = !0, a; } const Do = (e) => e.__isTeleport; function lc(e, n) { e.shapeFlag & 6 && e.component ? (e.transition = n, lc(e.component.subTree, n)) : e.shapeFlag & 128 ? (e.ssContent.transition = n.clone(e.ssContent), e.ssFallback.transition = n.clone(e.ssFallback)) : e.transition = n; } /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function Vo(e, n) { return N(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. V({ name: e.name }, n, { setup: e }) ) : e; } We().requestIdleCallback; We().cancelIdleCallback; const Ro = "components"; function Tn(e, n) { return To(Ro, e, !0, n) || e; } const Co = Symbol.for("v-ndc"); function To(e, n, c = !0, a = !1) { const o = R || be; if (o) { const d = o.type; { const t = Sn( d, !1 ); if (t && (t === n || t === Re(n) || t === Ce(Re(n)))) return d; } const m = ( // local registration // check instance[type] first which is resolved for options API In(o[e] || d[e], n) || // global registration In(o.appContext[e], n) ); return !m && a ? d : (process.env.NODE_ENV !== "production" && c && !m && g(`Failed to resolve ${e.slice(0, -1)}: ${n} If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`), m); } else process.env.NODE_ENV !== "production" && g( `resolve${Ce(e.slice(0, -1))} can only be used in render() or setup().` ); } function In(e, n) { return e && (e[n] || e[Re(n)] || e[Ce(Re(n))]); } function ke(e, n, c, a) { let o; const d = c, m = E(e); if (m || $(e)) { const t = m && X(e); let i = !1; t && (i = !D(e), e = Ue(e)), o = new Array(e.length); for (let l = 0, f = e.length; l < f; l++) o[l] = n( i ? S(e[l]) : e[l], l, void 0, d ); } else if (typeof e == "number") { process.env.NODE_ENV !== "production" && !Number.isInteger(e) && g(`The v-for range expect an integer value but got ${e}.`), o = new Array(e); for (let t = 0; t < e; t++) o[t] = n(t + 1, t, void 0, d); } else if (y(e)) if (e[Symbol.iterator]) o = Array.from( e, (t, i) => n(t, i, void 0, d) ); else { const t = Object.keys(e); o = new Array(t.length); for (let i = 0, l = t.length; i < l; i++) { const f = t[i]; o[i] = n(e[f], f, i, d); } } else o = []; return o; } const sn = (e) => e ? oa(e) ? aa(e) : sn(e.parent) : null, ue = ( // Move PURE marker to new line to workaround compiler discarding it // due to type annotation /* @__PURE__ */ V(/* @__PURE__ */ Object.create(null), { $: (e) => e, $el: (e) => e.vnode.el, $data: (e) => e.data, $props: (e) => process.env.NODE_ENV !== "production" ? Se(e.props) : e.props, $attrs: (e) => process.env.NODE_ENV !== "production" ? Se(e.attrs) : e.attrs, $slots: (e) => process.env.NODE_ENV !== "production" ? Se(e.slots) : e.slots, $refs: (e) => process.env.NODE_ENV !== "production" ? Se(e.refs) : e.refs, $parent: (e) => sn(e.parent), $root: (e) => sn(e.root), $host: (e) => e.ce, $emit: (e) => e.emit, $options: (e) => $o(e), $forceUpdate: (e) => e.f || (e.f = () => { wn(e.update); }), $nextTick: (e) => e.n || (e.n = Eo.bind(e.proxy)), $watch: (e) => zo.bind(e) }) ), Io = (e) => e === "_" || e === "$", en = (e, n) => e !== I && !e.__isScriptSetup && b(e, n), Po = { get({ _: e }, n) { if (n === "__v_skip") return !0; const { ctx: c, setupState: a, data: o, props: d, accessCache: m, type: t, appContext: i } = e; if (process.env.NODE_ENV !== "production" && n === "__isVue") return !0; let l; if (n[0] !== "$") { const s = m[n]; if (s !== void 0) switch (s) { case 1: return a[n]; case 2: return o[n]; case 4: return c[n]; case 3: return d[n]; } else { if (en(a, n)) return m[n] = 1, a[n]; if (o !== I && b(o, n)) return m[n] = 2, o[n]; if ( // only cache other properties when instance has declared (thus stable) // props (l = e.propsOptions[0]) && b(l, n) ) return m[n] = 3, d[n]; if (c !== I && b(c, n)) return m[n] = 4, c[n]; m[n] = 0; } } const f = ue[n]; let r, u; if (f) return n === "$attrs" ? (w(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && n === "$slots" && w(e, "get", n), f(e); if ( // css module (injected by vue-loader) (r = t.__cssModules) && (r = r[n]) ) return r; if (c !== I && b(c, n)) return m[n] = 4, c[n]; if ( // global properties u = i.config.globalProperties, b(u, n) ) return u[n]; process.env.NODE_ENV !== "production" && R && (!$(n) || // #1091 avoid internal isRef/isVNode checks on component instance leading // to infinite warning loop n.indexOf("__v") !== 0) && (o !== I && Io(n[0]) && b(o, n) ? g( `Property ${JSON.stringify( n )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.` ) : e === R && g( `Property ${JSON.stringify(n)} was accessed during render but is not defined on instance.` )); }, set({ _: e }, n, c) { const { data: a, setupState: o, ctx: d } = e; return en(o, n) ? (o[n] = c, !0) : process.env.NODE_ENV !== "production" && o.__isScriptSetup && b(o, n) ? (g(`Cannot mutate <script setup> binding "${n}" from Options API.`), !1) : a !== I && b(a, n) ? (a[n] = c, !0) : b(e.props, n) ? (process.env.NODE_ENV !== "production" && g(`Attempting to mutate prop "${n}". Props are readonly.`), !1) : n[0] === "$" && n.slice(1) in e ? (process.env.NODE_ENV !== "production" && g( `Attempting to mutate public property "${n}". Properties starting with $ are reserved and readonly.` ), !1) : (process.env.NODE_ENV !== "production" && n in e.appContext.config.globalProperties ? Object.defineProperty(d, n, { enumerable: !0, configurable: !0, value: c }) : d[n] = c, !0); }, has({ _: { data: e, setupState: n, accessCache: c, ctx: a, appContext: o, propsOptions: d } }, m) { let t; return !!c[m] || e !== I && b(e, m) || en(n, m) || (t = d[0]) && b(t, m) || b(a, m) || b(ue, m) || b(o.config.globalProperties, m); }, defineProperty(e, n, c) { return c.get != null ? e._.accessCache[n] = 0 : b(c, "value") && this.set(e, n, c.value, null), Reflect.defineProperty(e, n, c); } }; process.env.NODE_ENV !== "production" && (Po.ownKeys = (e) => (g( "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 Pn(e) { return E(e) ? e.reduce( (n, c) => (n[c] = null, n), {} ) : e; } function $o(e) { const n = e.type, { mixins: c, extends: a } = n, { mixins: o, optionsCache: d, config: { optionMergeStrategies: m } } = e.appContext, t = d.get(n); let i; return t ? i = t : !o.length && !c && !a ? i = n : (i = {}, o.length && o.forEach( (l) => Fe(i, l, m, !0) ), Fe(i, n, m)), y(n) && d.set(n, i), i; } function Fe(e, n, c, a = !1) { const { mixins: o, extends: d } = n; d && Fe(e, d, c, !0), o && o.forEach( (m) => Fe(e, m, c, !0) ); for (const m in n) if (a && m === "expose") process.env.NODE_ENV !== "production" && g( '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.' ); else { const t = Ao[m] || c && c[m]; e[m] = t ? t(e[m], n[m]) : n[m]; } return e; } const Ao = { data: $n, props: Mn, emits: Mn, // objects methods: ie, computed: ie, // lifecycle beforeCreate: x, created: x, beforeMount: x, mounted: x, beforeUpdate: x, updated: x, beforeDestroy: x, beforeUnmount: x, destroyed: x, unmounted: x, activated: x, deactivated: x, errorCaptured: x, serverPrefetch: x, // assets components: ie, directives: ie, // watch watch: Fo, // provide / inject provide: $n, inject: Mo }; function $n(e, n) { return n ? e ? function() { return V( N(e) ? e.call(this, this) : e, N(n) ? n.call(this, this) : n ); } : n : e; } function Mo(e, n) { return ie(An(e), An(n)); } function An(e) { if (E(e)) { const n = {}; for (let c = 0; c < e.length; c++) n[e[c]] = e[c]; return n; } return e; } function x(e, n) { return e ? [...new Set([].concat(e, n))] : n; } function ie(e, n) { return e ? V(/* @__PURE__ */ Object.create(null), e, n) : n; } function Mn(e, n) { return e ? E(e) && E(n) ? [.../* @__PURE__ */ new Set([...e, ...n])] : V( /* @__PURE__ */ Object.create(null), Pn(e), Pn(n ?? {}) ) : n; } function Fo(e, n) { if (!e) return n; if (!n) return e; const c = V(/* @__PURE__ */ Object.create(null), e); for (const a in n) c[a] = x(e[a], n[a]); return c; } let Ho = null; function jo(e, n, c = !1) { const a = be || R; if (a || Ho) { const o = a ? a.parent == null ? a.vnode.appContext && a.vnode.appContext.provides : a.parent.provides : void 0; if (o && e in o) return o[e]; if (arguments.length > 1) return c && N(n) ? n.call(a && a.proxy) : n; process.env.NODE_ENV !== "production" && g(`injection "${String(e)}" not found.`); } else process.env.NODE_ENV !== "production" && g("inject() can only be used inside setup() or functional components."); } const Wo = {}, uc = (e) => Object.getPrototypeOf(e) === Wo, Lo = Yo, Ko = Symbol.for("v-scx"), Uo = () => { { const e = jo(Ko); return e || process.env.NODE_ENV !== "production" && g( "Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build." ), e; } }; function nn(e, n, c) { return process.env.NODE_ENV !== "production" && !N(n) && g( "`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." ), fc(e, n, c); } function fc(e, n, c = I) { const { immediate: a, deep: o, flush: d, once: m } = c; process.env.NODE_ENV !== "production" && !n && (a !== void 0 && g( 'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.' ), o !== void 0 && g( 'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.' ), m !== void 0 && g( 'watch() "once" option is only respected when using the watch(source, callback, options?) signature.' )); const t = V({}, c); process.env.NODE_ENV !== "production" && (t.onWarn = g); const i = n && a || !n && d !== "post"; let l; if (un) { if (d === "sync") { const s = Uo(); l = s.__watcherHandles || (s.__watcherHandles = []); } else if (!i) { const s = () => { }; return s.stop = oe, s.resume = oe, s.pause = oe, s; } } const f = be; t.call = (s, v, T) => oc(s, f, v, T); let r = !1; d === "post" ? t.scheduler = (s) => { Lo(s, f && f.suspense); } : d !== "sync" && (r = !0, t.scheduler = (s, v) => { v ? s() : wn(s); }), t.augmentJob = (s) => { n && (s.flags |= 4), r && (s.flags |= 2, f && (s.id = f.uid, s.i = f)); }; const u = io(e, n, t); return un && (l ? l.push(u) : i && u()), u; } function zo(e, n, c) { const a = this.proxy, o = $(e) ? e.includes(".") ? Bo(a, e) : () => a[e] : e.bind(a, a); let d; N(n) ? d = n : (d = n.handler, c = n); const m = ca(this), t = fc(o, d.bind(a), c); return m(), t; } function Bo(e, n) { const c = n.split("."); return () => { let a = e; for (let o = 0; o < c.length && a; o++) a = a[c[o]]; return a; }; } const Jo = (e) => e.__isSuspense; function Yo(e, n) { n && n.pendingBranch ? E(e) ? n.effects.push(...e) : n.effects.push(e) : mc(e); } const fe = Symbol.for("v-fgt"), qo = Symbol.for("v-txt"), Go = Symbol.for("v-cmt"), De = []; let C = null; function q(e = !1) { De.push(C = e ? null : []); } function Qo() { De.pop(), C = De[De.length - 1] || null; } let ge = 1; function Fn(e, n = !1) { ge += e, e < 0 && C && n && (C.hasOnce = !0); } function hc(e) { return e.dynamicChildren = ge > 0 ? C || wc : null, Qo(), ge > 0 && C && C.push(e), e; } function ye(e, n, c, a, o, d) { return hc( _c( e, n, c, a, o, d,