imooc-element-components-hql
Version:
1,725 lines • 60.7 kB
JavaScript
/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
/*! #__NO_SIDE_EFFECTS__ */
// @__NO_SIDE_EFFECTS__
function an(e) {
const t = /* @__PURE__ */ Object.create(null);
for (const n of e.split(",")) t[n] = 1;
return (n) => n in t;
}
const C = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, un = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], Z = () => {
}, fn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), V = Object.assign, pn = Object.prototype.hasOwnProperty, N = (e, t) => pn.call(e, t), m = Array.isArray, k = (e) => Pe(e) === "[object Map]", dn = (e) => Pe(e) === "[object Set]", v = (e) => typeof e == "function", A = (e) => typeof e == "string", fe = (e) => typeof e == "symbol", y = (e) => e !== null && typeof e == "object", hn = (e) => (y(e) || v(e)) && v(e.then) && v(e.catch), gn = Object.prototype.toString, Pe = (e) => gn.call(e), Dt = (e) => Pe(e).slice(8, -1), _n = (e) => Pe(e) === "[object Object]", rt = (e) => A(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Vt = (e) => {
const t = /* @__PURE__ */ Object.create(null);
return (n) => t[n] || (t[n] = e(n));
}, mn = /-(\w)/g, we = Vt(
(e) => e.replace(mn, (t, n) => n ? n.toUpperCase() : "")
), Oe = Vt((e) => e.charAt(0).toUpperCase() + e.slice(1)), L = (e, t) => !Object.is(e, t), En = (e, t, n, s = !1) => {
Object.defineProperty(e, t, {
configurable: !0,
enumerable: !1,
writable: s,
value: n
});
};
let _t;
const $e = () => _t || (_t = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function st(e) {
if (m(e)) {
const t = {};
for (let n = 0; n < e.length; n++) {
const s = e[n], r = A(s) ? wn(s) : st(s);
if (r)
for (const i in r)
t[i] = r[i];
}
return t;
} else if (A(e) || y(e))
return e;
}
const bn = /;(?![^(]*\))/g, Nn = /:([^]+)/, vn = /\/\*[^]*?\*\//g;
function wn(e) {
const t = {};
return e.replace(vn, "").split(bn).forEach((n) => {
if (n) {
const s = n.split(Nn);
s.length > 1 && (t[s[0].trim()] = s[1].trim());
}
}), t;
}
function it(e) {
let t = "";
if (A(e))
t = e;
else if (m(e))
for (let n = 0; n < e.length; n++) {
const s = it(e[n]);
s && (t += s + " ");
}
else if (y(e))
for (const n in e)
e[n] && (t += n + " ");
return t.trim();
}
/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
function U(e, ...t) {
console.warn(`[Vue warn] ${e}`, ...t);
}
let _;
const je = /* @__PURE__ */ new WeakSet();
class On {
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, je.has(this) && (je.delete(this), this.trigger()));
}
/**
* @internal
*/
notify() {
this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Sn(this);
}
run() {
if (!(this.flags & 1))
return this.fn();
this.flags |= 2, mt(this), Rt(this);
const t = _, n = P;
_ = this, P = !0;
try {
return this.fn();
} finally {
process.env.NODE_ENV !== "production" && _ !== this && U(
"Active effect was not restored correctly - this is likely a Vue internal bug."
), Ct(this), _ = t, P = n, this.flags &= -3;
}
}
stop() {
if (this.flags & 1) {
for (let t = this.deps; t; t = t.nextDep)
lt(t);
this.deps = this.depsTail = void 0, mt(this), this.onStop && this.onStop(), this.flags &= -2;
}
}
trigger() {
this.flags & 64 ? je.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
}
/**
* @internal
*/
runIfDirty() {
Ye(this) && this.run();
}
get dirty() {
return Ye(this);
}
}
let Tt = 0, oe, ce;
function Sn(e, t = !1) {
if (e.flags |= 8, t) {
e.next = ce, ce = e;
return;
}
e.next = oe, oe = e;
}
function ot() {
Tt++;
}
function ct() {
if (--Tt > 0)
return;
if (ce) {
let t = ce;
for (ce = void 0; t; ) {
const n = t.next;
t.next = void 0, t.flags &= -9, t = n;
}
}
let e;
for (; oe; ) {
let t = oe;
for (oe = void 0; t; ) {
const n = t.next;
if (t.next = void 0, t.flags &= -9, t.flags & 1)
try {
t.trigger();
} catch (s) {
e || (e = s);
}
t = n;
}
}
if (e) throw e;
}
function Rt(e) {
for (let t = e.deps; t; t = t.nextDep)
t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
}
function Ct(e) {
let t, n = e.depsTail, s = n;
for (; s; ) {
const r = s.prevDep;
s.version === -1 ? (s === n && (n = r), lt(s), yn(s)) : t = s, s.dep.activeLink = s.prevActiveLink, s.prevActiveLink = void 0, s = r;
}
e.deps = t, e.depsTail = n;
}
function Ye(e) {
for (let t = e.deps; t; t = t.nextDep)
if (t.dep.version !== t.version || t.dep.computed && (xn(t.dep.computed) || t.dep.version !== t.version))
return !0;
return !!e._dirty;
}
function xn(e) {
if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === Se))
return;
e.globalVersion = Se;
const t = e.dep;
if (e.flags |= 2, t.version > 0 && !e.isSSR && e.deps && !Ye(e)) {
e.flags &= -3;
return;
}
const n = _, s = P;
_ = e, P = !0;
try {
Rt(e);
const r = e.fn(e._value);
(t.version === 0 || L(r, e._value)) && (e._value = r, t.version++);
} catch (r) {
throw t.version++, r;
} finally {
_ = n, P = s, Ct(e), e.flags &= -3;
}
}
function lt(e, t = !1) {
const { dep: n, prevSub: s, nextSub: r } = e;
if (s && (s.nextSub = r, e.prevSub = void 0), r && (r.prevSub = s, e.nextSub = void 0), process.env.NODE_ENV !== "production" && n.subsHead === e && (n.subsHead = r), n.subs === e && (n.subs = s, !s && n.computed)) {
n.computed.flags &= -5;
for (let i = n.computed.deps; i; i = i.nextDep)
lt(i, !0);
}
!t && !--n.sc && n.map && n.map.delete(n.key);
}
function yn(e) {
const { prevDep: t, nextDep: n } = e;
t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
}
let P = !0;
const It = [];
function Ae() {
It.push(P), P = !1;
}
function Me() {
const e = It.pop();
P = e === void 0 ? !0 : e;
}
function mt(e) {
const { cleanup: t } = e;
if (e.cleanup = void 0, t) {
const n = _;
_ = void 0;
try {
t();
} finally {
_ = n;
}
}
}
let Se = 0;
class Dn {
constructor(t, n) {
this.sub = t, this.dep = n, this.version = n.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
}
}
class Pt {
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 (!_ || !P || _ === this.computed)
return;
let n = this.activeLink;
if (n === void 0 || n.sub !== _)
n = this.activeLink = new Dn(_, this), _.deps ? (n.prevDep = _.depsTail, _.depsTail.nextDep = n, _.depsTail = n) : _.deps = _.depsTail = n, $t(n);
else if (n.version === -1 && (n.version = this.version, n.nextDep)) {
const s = n.nextDep;
s.prevDep = n.prevDep, n.prevDep && (n.prevDep.nextDep = s), n.prevDep = _.depsTail, n.nextDep = void 0, _.depsTail.nextDep = n, _.depsTail = n, _.deps === n && (_.deps = s);
}
return process.env.NODE_ENV !== "production" && _.onTrack && _.onTrack(
V(
{
effect: _
},
t
)
), n;
}
trigger(t) {
this.version++, Se++, this.notify(t);
}
notify(t) {
ot();
try {
if (process.env.NODE_ENV !== "production")
for (let n = this.subsHead; n; n = n.nextSub)
n.sub.onTrigger && !(n.sub.flags & 8) && n.sub.onTrigger(
V(
{
effect: n.sub
},
t
)
);
for (let n = this.subs; n; n = n.prevSub)
n.sub.notify() && n.sub.dep.notify();
} finally {
ct();
}
}
}
function $t(e) {
if (e.dep.sc++, e.sub.flags & 4) {
const t = e.dep.computed;
if (t && !e.dep.subs) {
t.flags |= 20;
for (let s = t.deps; s; s = s.nextDep)
$t(s);
}
const n = e.dep.subs;
n !== e && (e.prevSub = n, n && (n.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
}
}
const qe = /* @__PURE__ */ new WeakMap(), J = Symbol(
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
), Ge = Symbol(
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
), ae = Symbol(
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
);
function w(e, t, n) {
if (P && _) {
let s = qe.get(e);
s || qe.set(e, s = /* @__PURE__ */ new Map());
let r = s.get(n);
r || (s.set(n, r = new Pt()), r.map = s, r.key = n), process.env.NODE_ENV !== "production" ? r.track({
target: e,
type: t,
key: n
}) : r.track();
}
}
function W(e, t, n, s, r, i) {
const o = qe.get(e);
if (!o) {
Se++;
return;
}
const c = (a) => {
a && (process.env.NODE_ENV !== "production" ? a.trigger({
target: e,
type: t,
key: n,
newValue: s,
oldValue: r,
oldTarget: i
}) : a.trigger());
};
if (ot(), t === "clear")
o.forEach(c);
else {
const a = m(e), f = a && rt(n);
if (a && n === "length") {
const d = Number(s);
o.forEach((l, u) => {
(u === "length" || u === ae || !fe(u) && u >= d) && c(l);
});
} else
switch ((n !== void 0 || o.has(void 0)) && c(o.get(n)), f && c(o.get(ae)), t) {
case "add":
a ? f && c(o.get("length")) : (c(o.get(J)), k(e) && c(o.get(Ge)));
break;
case "delete":
a || (c(o.get(J)), k(e) && c(o.get(Ge)));
break;
case "set":
k(e) && c(o.get(J));
break;
}
}
ct();
}
function G(e) {
const t = h(e);
return t === e ? t : (w(t, "iterate", ae), D(e) ? t : t.map(S));
}
function at(e) {
return w(e = h(e), "iterate", ae), e;
}
const Vn = {
__proto__: null,
[Symbol.iterator]() {
return We(this, Symbol.iterator, S);
},
concat(...e) {
return G(this).concat(
...e.map((t) => m(t) ? G(t) : t)
);
},
entries() {
return We(this, "entries", (e) => (e[1] = S(e[1]), e));
},
every(e, t) {
return M(this, "every", e, t, void 0, arguments);
},
filter(e, t) {
return M(this, "filter", e, t, (n) => n.map(S), arguments);
},
find(e, t) {
return M(this, "find", e, t, S, arguments);
},
findIndex(e, t) {
return M(this, "findIndex", e, t, void 0, arguments);
},
findLast(e, t) {
return M(this, "findLast", e, t, S, arguments);
},
findLastIndex(e, t) {
return M(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 M(this, "forEach", e, t, void 0, arguments);
},
includes(...e) {
return Ke(this, "includes", e);
},
indexOf(...e) {
return Ke(this, "indexOf", e);
},
join(e) {
return G(this).join(e);
},
// keys() iterator only reads `length`, no optimisation required
lastIndexOf(...e) {
return Ke(this, "lastIndexOf", e);
},
map(e, t) {
return M(this, "map", e, t, void 0, arguments);
},
pop() {
return se(this, "pop");
},
push(...e) {
return se(this, "push", e);
},
reduce(e, ...t) {
return Et(this, "reduce", e, t);
},
reduceRight(e, ...t) {
return Et(this, "reduceRight", e, t);
},
shift() {
return se(this, "shift");
},
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
some(e, t) {
return M(this, "some", e, t, void 0, arguments);
},
splice(...e) {
return se(this, "splice", e);
},
toReversed() {
return G(this).toReversed();
},
toSorted(e) {
return G(this).toSorted(e);
},
toSpliced(...e) {
return G(this).toSpliced(...e);
},
unshift(...e) {
return se(this, "unshift", e);
},
values() {
return We(this, "values", S);
}
};
function We(e, t, n) {
const s = at(e), r = s[t]();
return s !== e && !D(e) && (r._next = r.next, r.next = () => {
const i = r._next();
return i.value && (i.value = n(i.value)), i;
}), r;
}
const Tn = Array.prototype;
function M(e, t, n, s, r, i) {
const o = at(e), c = o !== e && !D(e), a = o[t];
if (a !== Tn[t]) {
const l = a.apply(e, i);
return c ? S(l) : l;
}
let f = n;
o !== e && (c ? f = function(l, u) {
return n.call(this, S(l), u, e);
} : n.length > 2 && (f = function(l, u) {
return n.call(this, l, u, e);
}));
const d = a.call(o, f, s);
return c && r ? r(d) : d;
}
function Et(e, t, n, s) {
const r = at(e);
let i = n;
return r !== e && (D(e) ? n.length > 3 && (i = function(o, c, a) {
return n.call(this, o, c, a, e);
}) : i = function(o, c, a) {
return n.call(this, o, S(c), a, e);
}), r[t](i, ...s);
}
function Ke(e, t, n) {
const s = h(e);
w(s, "iterate", ae);
const r = s[t](...n);
return (r === -1 || r === !1) && xe(n[0]) ? (n[0] = h(n[0]), s[t](...n)) : r;
}
function se(e, t, n = []) {
Ae(), ot();
const s = h(e)[t].apply(e, n);
return ct(), Me(), s;
}
const Rn = /* @__PURE__ */ an("__proto__,__v_isRef,__isVue"), At = new Set(
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(fe)
);
function Cn(e) {
fe(e) || (e = String(e));
const t = h(this);
return w(t, "has", e), t.hasOwnProperty(e);
}
class Mt {
constructor(t = !1, n = !1) {
this._isReadonly = t, this._isShallow = n;
}
get(t, n, s) {
if (n === "__v_skip") return t.__v_skip;
const r = this._isReadonly, i = this._isShallow;
if (n === "__v_isReactive")
return !r;
if (n === "__v_isReadonly")
return r;
if (n === "__v_isShallow")
return i;
if (n === "__v_raw")
return s === (r ? i ? Wt : jt : i ? Kn : Ht).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(s) ? t : void 0;
const o = m(t);
if (!r) {
let a;
if (o && (a = Vn[n]))
return a;
if (n === "hasOwnProperty")
return Cn;
}
const c = Reflect.get(
t,
n,
// 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
x(t) ? t : s
);
return (fe(n) ? At.has(n) : Rn(n)) || (r || w(t, "get", n), i) ? c : x(c) ? o && rt(n) ? c : c.value : y(c) ? r ? Lt(c) : Kt(c) : c;
}
}
class In extends Mt {
constructor(t = !1) {
super(!1, t);
}
set(t, n, s, r) {
let i = t[n];
if (!this._isShallow) {
const a = H(i);
if (!D(s) && !H(s) && (i = h(i), s = h(s)), !m(t) && x(i) && !x(s))
return a ? !1 : (i.value = s, !0);
}
const o = m(t) && rt(n) ? Number(n) < t.length : N(t, n), c = Reflect.set(
t,
n,
s,
x(t) ? t : r
);
return t === h(r) && (o ? L(s, i) && W(t, "set", n, s, i) : W(t, "add", n, s)), c;
}
deleteProperty(t, n) {
const s = N(t, n), r = t[n], i = Reflect.deleteProperty(t, n);
return i && s && W(t, "delete", n, void 0, r), i;
}
has(t, n) {
const s = Reflect.has(t, n);
return (!fe(n) || !At.has(n)) && w(t, "has", n), s;
}
ownKeys(t) {
return w(
t,
"iterate",
m(t) ? "length" : J
), Reflect.ownKeys(t);
}
}
class Ft extends Mt {
constructor(t = !1) {
super(!0, t);
}
set(t, n) {
return process.env.NODE_ENV !== "production" && U(
`Set operation on key "${String(n)}" failed: target is readonly.`,
t
), !0;
}
deleteProperty(t, n) {
return process.env.NODE_ENV !== "production" && U(
`Delete operation on key "${String(n)}" failed: target is readonly.`,
t
), !0;
}
}
const Pn = /* @__PURE__ */ new In(), $n = /* @__PURE__ */ new Ft(), An = /* @__PURE__ */ new Ft(!0), Qe = (e) => e, ge = (e) => Reflect.getPrototypeOf(e);
function Mn(e, t, n) {
return function(...s) {
const r = this.__v_raw, i = h(r), o = k(i), c = e === "entries" || e === Symbol.iterator && o, a = e === "keys" && o, f = r[e](...s), d = n ? Qe : t ? Xe : S;
return !t && w(
i,
"iterate",
a ? Ge : J
), {
// iterator protocol
next() {
const { value: l, done: u } = f.next();
return u ? { value: l, done: u } : {
value: c ? [d(l[0]), d(l[1])] : d(l),
done: u
};
},
// iterable protocol
[Symbol.iterator]() {
return this;
}
};
};
}
function _e(e) {
return function(...t) {
if (process.env.NODE_ENV !== "production") {
const n = t[0] ? `on key "${t[0]}" ` : "";
U(
`${Oe(e)} operation ${n}failed: target is readonly.`,
h(this)
);
}
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
};
}
function Fn(e, t) {
const n = {
get(r) {
const i = this.__v_raw, o = h(i), c = h(r);
e || (L(r, c) && w(o, "get", r), w(o, "get", c));
const { has: a } = ge(o), f = t ? Qe : e ? Xe : S;
if (a.call(o, r))
return f(i.get(r));
if (a.call(o, c))
return f(i.get(c));
i !== o && i.get(r);
},
get size() {
const r = this.__v_raw;
return !e && w(h(r), "iterate", J), Reflect.get(r, "size", r);
},
has(r) {
const i = this.__v_raw, o = h(i), c = h(r);
return e || (L(r, c) && w(o, "has", r), w(o, "has", c)), r === c ? i.has(r) : i.has(r) || i.has(c);
},
forEach(r, i) {
const o = this, c = o.__v_raw, a = h(c), f = t ? Qe : e ? Xe : S;
return !e && w(a, "iterate", J), c.forEach((d, l) => r.call(i, f(d), f(l), o));
}
};
return V(
n,
e ? {
add: _e("add"),
set: _e("set"),
delete: _e("delete"),
clear: _e("clear")
} : {
add(r) {
!t && !D(r) && !H(r) && (r = h(r));
const i = h(this);
return ge(i).has.call(i, r) || (i.add(r), W(i, "add", r, r)), this;
},
set(r, i) {
!t && !D(i) && !H(i) && (i = h(i));
const o = h(this), { has: c, get: a } = ge(o);
let f = c.call(o, r);
f ? process.env.NODE_ENV !== "production" && bt(o, c, r) : (r = h(r), f = c.call(o, r));
const d = a.call(o, r);
return o.set(r, i), f ? L(i, d) && W(o, "set", r, i, d) : W(o, "add", r, i), this;
},
delete(r) {
const i = h(this), { has: o, get: c } = ge(i);
let a = o.call(i, r);
a ? process.env.NODE_ENV !== "production" && bt(i, o, r) : (r = h(r), a = o.call(i, r));
const f = c ? c.call(i, r) : void 0, d = i.delete(r);
return a && W(i, "delete", r, void 0, f), d;
},
clear() {
const r = h(this), i = r.size !== 0, o = process.env.NODE_ENV !== "production" ? k(r) ? new Map(r) : new Set(r) : void 0, c = r.clear();
return i && W(
r,
"clear",
void 0,
void 0,
o
), c;
}
}
), [
"keys",
"values",
"entries",
Symbol.iterator
].forEach((r) => {
n[r] = Mn(r, e, t);
}), n;
}
function ut(e, t) {
const n = Fn(e, t);
return (s, r, i) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? s : Reflect.get(
N(n, r) && r in s ? n : s,
r,
i
);
}
const Hn = {
get: /* @__PURE__ */ ut(!1, !1)
}, jn = {
get: /* @__PURE__ */ ut(!0, !1)
}, Wn = {
get: /* @__PURE__ */ ut(!0, !0)
};
function bt(e, t, n) {
const s = h(n);
if (s !== n && t.call(e, s)) {
const r = Dt(e);
U(
`Reactive ${r} contains both the raw and reactive versions of the same object${r === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
);
}
}
const Ht = /* @__PURE__ */ new WeakMap(), Kn = /* @__PURE__ */ new WeakMap(), jt = /* @__PURE__ */ new WeakMap(), Wt = /* @__PURE__ */ new WeakMap();
function Ln(e) {
switch (e) {
case "Object":
case "Array":
return 1;
case "Map":
case "Set":
case "WeakMap":
case "WeakSet":
return 2;
default:
return 0;
}
}
function Un(e) {
return e.__v_skip || !Object.isExtensible(e) ? 0 : Ln(Dt(e));
}
function Kt(e) {
return H(e) ? e : ft(
e,
!1,
Pn,
Hn,
Ht
);
}
function Lt(e) {
return ft(
e,
!0,
$n,
jn,
jt
);
}
function me(e) {
return ft(
e,
!0,
An,
Wn,
Wt
);
}
function ft(e, t, n, s, r) {
if (!y(e))
return process.env.NODE_ENV !== "production" && U(
`value cannot be made ${t ? "readonly" : "reactive"}: ${String(
e
)}`
), e;
if (e.__v_raw && !(t && e.__v_isReactive))
return e;
const i = r.get(e);
if (i)
return i;
const o = Un(e);
if (o === 0)
return e;
const c = new Proxy(
e,
o === 2 ? s : n
);
return r.set(e, c), c;
}
function ee(e) {
return H(e) ? ee(e.__v_raw) : !!(e && e.__v_isReactive);
}
function H(e) {
return !!(e && e.__v_isReadonly);
}
function D(e) {
return !!(e && e.__v_isShallow);
}
function xe(e) {
return e ? !!e.__v_raw : !1;
}
function h(e) {
const t = e && e.__v_raw;
return t ? h(t) : e;
}
function zn(e) {
return !N(e, "__v_skip") && Object.isExtensible(e) && En(e, "__v_skip", !0), e;
}
const S = (e) => y(e) ? Kt(e) : e, Xe = (e) => y(e) ? Lt(e) : e;
function x(e) {
return e ? e.__v_isRef === !0 : !1;
}
function Le(e) {
return Bn(e, !1);
}
function Bn(e, t) {
return x(e) ? e : new Jn(e, t);
}
class Jn {
constructor(t, n) {
this.dep = new Pt(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t : h(t), this._value = n ? t : S(t), this.__v_isShallow = n;
}
get value() {
return process.env.NODE_ENV !== "production" ? this.dep.track({
target: this,
type: "get",
key: "value"
}) : this.dep.track(), this._value;
}
set value(t) {
const n = this._rawValue, s = this.__v_isShallow || D(t) || H(t);
t = s ? t : h(t), L(t, n) && (this._rawValue = t, this._value = s ? t : S(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
target: this,
type: "set",
key: "value",
newValue: t,
oldValue: n
}) : this.dep.trigger());
}
}
function Ut(e) {
return x(e) ? e.value : e;
}
const Yn = {
get: (e, t, n) => t === "__v_raw" ? e : Ut(Reflect.get(e, t, n)),
set: (e, t, n, s) => {
const r = e[t];
return x(r) && !x(n) ? (r.value = n, !0) : Reflect.set(e, t, n, s);
}
};
function qn(e) {
return ee(e) ? e : new Proxy(e, Yn);
}
const Ee = {}, ye = /* @__PURE__ */ new WeakMap();
let B;
function Gn(e, t = !1, n = B) {
if (n) {
let s = ye.get(n);
s || ye.set(n, s = []), s.push(e);
} else process.env.NODE_ENV !== "production" && !t && U(
"onWatcherCleanup() was called when there was no active watcher to associate with."
);
}
function Qn(e, t, n = C) {
const { immediate: s, deep: r, once: i, scheduler: o, augmentJob: c, call: a } = n, f = (g) => {
(n.onWarn || U)(
"Invalid watch source: ",
g,
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
);
}, d = (g) => r ? g : D(g) || r === !1 || r === 0 ? K(g, 1) : K(g);
let l, u, p, b, T = !1, de = !1;
if (x(e) ? (u = () => e.value, T = D(e)) : ee(e) ? (u = () => d(e), T = !0) : m(e) ? (de = !0, T = e.some((g) => ee(g) || D(g)), u = () => e.map((g) => {
if (x(g))
return g.value;
if (ee(g))
return d(g);
if (v(g))
return a ? a(g, 2) : g();
process.env.NODE_ENV !== "production" && f(g);
})) : v(e) ? t ? u = a ? () => a(e, 2) : e : u = () => {
if (p) {
Ae();
try {
p();
} finally {
Me();
}
}
const g = B;
B = l;
try {
return a ? a(e, 3, [b]) : e(b);
} finally {
B = g;
}
} : (u = Z, process.env.NODE_ENV !== "production" && f(e)), t && r) {
const g = u, $ = r === !0 ? 1 / 0 : r;
u = () => K(g(), $);
}
const q = () => {
l.stop();
};
if (i && t) {
const g = t;
t = (...$) => {
g(...$), q();
};
}
let z = de ? new Array(e.length).fill(Ee) : Ee;
const re = (g) => {
if (!(!(l.flags & 1) || !l.dirty && !g))
if (t) {
const $ = l.run();
if (r || T || (de ? $.some((He, he) => L(He, z[he])) : L($, z))) {
p && p();
const He = B;
B = l;
try {
const he = [
$,
// pass undefined as the old value when it's changed for the first time
z === Ee ? void 0 : de && z[0] === Ee ? [] : z,
b
];
a ? a(t, 3, he) : (
// @ts-expect-error
t(...he)
), z = $;
} finally {
B = He;
}
}
} else
l.run();
};
return c && c(re), l = new On(u), l.scheduler = o ? () => o(re, !1) : re, b = (g) => Gn(g, !1, l), p = l.onStop = () => {
const g = ye.get(l);
if (g) {
if (a)
a(g, 4);
else
for (const $ of g) $();
ye.delete(l);
}
}, process.env.NODE_ENV !== "production" && (l.onTrack = n.onTrack, l.onTrigger = n.onTrigger), t ? s ? re(!0) : z = l.run() : o ? o(re.bind(null, !0), !0) : l.run(), q.pause = l.pause.bind(l), q.resume = l.resume.bind(l), q.stop = q, q;
}
function K(e, t = 1 / 0, n) {
if (t <= 0 || !y(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
return e;
if (n.add(e), t--, x(e))
K(e.value, t, n);
else if (m(e))
for (let s = 0; s < e.length; s++)
K(e[s], t, n);
else if (dn(e) || k(e))
e.forEach((s) => {
K(s, t, n);
});
else if (_n(e)) {
for (const s in e)
K(e[s], t, n);
for (const s of Object.getOwnPropertySymbols(e))
Object.prototype.propertyIsEnumerable.call(e, s) && K(e[s], t, n);
}
return e;
}
/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
const Y = [];
function Xn(e) {
Y.push(e);
}
function Zn() {
Y.pop();
}
let Ue = !1;
function E(e, ...t) {
if (Ue) return;
Ue = !0, Ae();
const n = Y.length ? Y[Y.length - 1].component : null, s = n && n.appContext.config.warnHandler, r = kn();
if (s)
Fe(
s,
n,
11,
[
// eslint-disable-next-line no-restricted-syntax
e + t.map((i) => {
var o, c;
return (c = (o = i.toString) == null ? void 0 : o.call(i)) != null ? c : JSON.stringify(i);
}).join(""),
n && n.proxy,
r.map(
({ vnode: i }) => `at <${cn(n, i.type)}>`
).join(`
`),
r
]
);
else {
const i = [`[Vue warn]: ${e}`, ...t];
r.length && i.push(`
`, ...er(r)), console.warn(...i);
}
Me(), Ue = !1;
}
function kn() {
let e = Y[Y.length - 1];
if (!e)
return [];
const t = [];
for (; e; ) {
const n = t[0];
n && n.vnode === e ? n.recurseCount++ : t.push({
vnode: e,
recurseCount: 0
});
const s = e.component && e.component.parent;
e = s && s.vnode;
}
return t;
}
function er(e) {
const t = [];
return e.forEach((n, s) => {
t.push(...s === 0 ? [] : [`
`], ...tr(n));
}), t;
}
function tr({ vnode: e, recurseCount: t }) {
const n = t > 0 ? `... (${t} recursive calls)` : "", s = e.component ? e.component.parent == null : !1, r = ` at <${cn(
e.component,
e.type,
s
)}`, i = ">" + n;
return e.props ? [r, ...nr(e.props), i] : [r + i];
}
function nr(e) {
const t = [], n = Object.keys(e);
return n.slice(0, 3).forEach((s) => {
t.push(...zt(s, e[s]));
}), n.length > 3 && t.push(" ..."), t;
}
function zt(e, t, n) {
return A(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : x(t) ? (t = zt(e, h(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : v(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = h(t), n ? t : [`${e}=`, t]);
}
const Bt = {
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 Fe(e, t, n, s) {
try {
return s ? e(...s) : e();
} catch (r) {
pt(r, t, n);
}
}
function Jt(e, t, n, s) {
if (v(e)) {
const r = Fe(e, t, n, s);
return r && hn(r) && r.catch((i) => {
pt(i, t, n);
}), r;
}
if (m(e)) {
const r = [];
for (let i = 0; i < e.length; i++)
r.push(Jt(e[i], t, n, s));
return r;
} else process.env.NODE_ENV !== "production" && E(
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
);
}
function pt(e, t, n, s = !0) {
const r = t ? t.vnode : null, { errorHandler: i, throwUnhandledErrorInProduction: o } = t && t.appContext.config || C;
if (t) {
let c = t.parent;
const a = t.proxy, f = process.env.NODE_ENV !== "production" ? Bt[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
for (; c; ) {
const d = c.ec;
if (d) {
for (let l = 0; l < d.length; l++)
if (d[l](e, a, f) === !1)
return;
}
c = c.parent;
}
if (i) {
Ae(), Fe(i, null, 10, [
e,
a,
f
]), Me();
return;
}
}
rr(e, n, r, s, o);
}
function rr(e, t, n, s = !0, r = !1) {
if (process.env.NODE_ENV !== "production") {
const i = Bt[t];
if (n && Xn(n), E(`Unhandled error${i ? ` during execution of ${i}` : ""}`), n && Zn(), s)
throw e;
console.error(e);
} else {
if (r)
throw e;
console.error(e);
}
}
const R = [];
let F = -1;
const te = [];
let j = null, Q = 0;
const Yt = /* @__PURE__ */ Promise.resolve();
let De = null;
const sr = 100;
function ir(e) {
const t = De || Yt;
return e ? t.then(this ? e.bind(this) : e) : t;
}
function or(e) {
let t = F + 1, n = R.length;
for (; t < n; ) {
const s = t + n >>> 1, r = R[s], i = ue(r);
i < e || i === e && r.flags & 2 ? t = s + 1 : n = s;
}
return t;
}
function dt(e) {
if (!(e.flags & 1)) {
const t = ue(e), n = R[R.length - 1];
!n || // fast path when the job id is larger than the tail
!(e.flags & 2) && t >= ue(n) ? R.push(e) : R.splice(or(t), 0, e), e.flags |= 1, qt();
}
}
function qt() {
De || (De = Yt.then(Qt));
}
function Gt(e) {
m(e) ? te.push(...e) : j && e.id === -1 ? j.splice(Q + 1, 0, e) : e.flags & 1 || (te.push(e), e.flags |= 1), qt();
}
function cr(e) {
if (te.length) {
const t = [...new Set(te)].sort(
(n, s) => ue(n) - ue(s)
);
if (te.length = 0, j) {
j.push(...t);
return;
}
for (j = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), Q = 0; Q < j.length; Q++) {
const n = j[Q];
process.env.NODE_ENV !== "production" && Xt(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
}
j = null, Q = 0;
}
}
const ue = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
function Qt(e) {
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
const t = process.env.NODE_ENV !== "production" ? (n) => Xt(e, n) : Z;
try {
for (F = 0; F < R.length; F++) {
const n = R[F];
if (n && !(n.flags & 8)) {
if (process.env.NODE_ENV !== "production" && t(n))
continue;
n.flags & 4 && (n.flags &= -2), Fe(
n,
n.i,
n.i ? 15 : 14
), n.flags & 4 || (n.flags &= -2);
}
}
} finally {
for (; F < R.length; F++) {
const n = R[F];
n && (n.flags &= -2);
}
F = -1, R.length = 0, cr(e), De = null, (R.length || te.length) && Qt(e);
}
}
function Xt(e, t) {
const n = e.get(t) || 0;
if (n > sr) {
const s = t.i, r = s && gt(s.type);
return pt(
`Maximum recursive updates exceeded${r ? ` in component <${r}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
null,
10
), !0;
}
return e.set(t, n + 1), !1;
}
const ze = /* @__PURE__ */ new Map();
process.env.NODE_ENV !== "production" && ($e().__VUE_HMR_RUNTIME__ = {
createRecord: Be(lr),
rerender: Be(ar),
reload: Be(ur)
});
const Ve = /* @__PURE__ */ new Map();
function lr(e, t) {
return Ve.has(e) ? !1 : (Ve.set(e, {
initialDef: Te(t),
instances: /* @__PURE__ */ new Set()
}), !0);
}
function Te(e) {
return ln(e) ? e.__vccOpts : e;
}
function ar(e, t) {
const n = Ve.get(e);
n && (n.initialDef.render = t, [...n.instances].forEach((s) => {
t && (s.render = t, Te(s.type).render = t), s.renderCache = [], s.update();
}));
}
function ur(e, t) {
const n = Ve.get(e);
if (!n) return;
t = Te(t), Nt(n.initialDef, t);
const s = [...n.instances];
for (let r = 0; r < s.length; r++) {
const i = s[r], o = Te(i.type);
let c = ze.get(o);
c || (o !== n.initialDef && Nt(o, t), ze.set(o, c = /* @__PURE__ */ new Set())), c.add(i), i.appContext.propsCache.delete(i.type), i.appContext.emitsCache.delete(i.type), i.appContext.optionsCache.delete(i.type), i.ceReload ? (c.add(i), i.ceReload(t.styles), c.delete(i)) : i.parent ? dt(() => {
i.parent.update(), c.delete(i);
}) : i.appContext.reload ? i.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
"[HMR] Root or manually mounted instance modified. Full reload required."
), i.root.ce && i !== i.root && i.root.ce._removeChildStyle(o);
}
Gt(() => {
ze.clear();
});
}
function Nt(e, t) {
V(e, t);
for (const n in e)
n !== "__file" && !(n in t) && delete e[n];
}
function Be(e) {
return (t, n) => {
try {
return e(t, n);
} catch (s) {
console.error(s), console.warn(
"[HMR] Something went wrong during Vue component hot-reload. Full reload required."
);
}
};
}
let X, be = [];
function Zt(e, t) {
var n, s;
X = e, X ? (X.enabled = !0, be.forEach(({ event: r, args: i }) => X.emit(r, ...i)), be = []) : /* 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
!((s = (n = window.navigator) == null ? void 0 : n.userAgent) != null && s.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((i) => {
Zt(i, t);
}), setTimeout(() => {
X || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, be = []);
}, 3e3)) : be = [];
}
let ne = null, fr = null;
const pr = (e) => e.__isTeleport;
function kt(e, t) {
e.shapeFlag & 6 && e.component ? (e.transition = t, kt(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 dr(e, t) {
return v(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 }, t, { setup: e })
) : e;
}
$e().requestIdleCallback;
$e().cancelIdleCallback;
const hr = "components";
function gr(e, t) {
return mr(hr, e, !0, t) || e;
}
const _r = Symbol.for("v-ndc");
function mr(e, t, n = !0, s = !1) {
const r = pe;
if (r) {
const i = r.type;
{
const c = gt(
i,
!1
);
if (c && (c === t || c === we(t) || c === Oe(we(t))))
return i;
}
const o = (
// local registration
// check instance[type] first which is resolved for options API
vt(r[e] || i[e], t) || // global registration
vt(r.appContext[e], t)
);
return !o && s ? i : (process.env.NODE_ENV !== "production" && n && !o && E(`Failed to resolve ${e.slice(0, -1)}: ${t}
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`), o);
} else process.env.NODE_ENV !== "production" && E(
`resolve${Oe(e.slice(0, -1))} can only be used in render() or setup().`
);
}
function vt(e, t) {
return e && (e[t] || e[we(t)] || e[Oe(we(t))]);
}
const Ze = (e) => e ? zr(e) ? Br(e) : Ze(e.parent) : null, le = (
// 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" ? me(e.props) : e.props,
$attrs: (e) => process.env.NODE_ENV !== "production" ? me(e.attrs) : e.attrs,
$slots: (e) => process.env.NODE_ENV !== "production" ? me(e.slots) : e.slots,
$refs: (e) => process.env.NODE_ENV !== "production" ? me(e.refs) : e.refs,
$parent: (e) => Ze(e.parent),
$root: (e) => Ze(e.root),
$host: (e) => e.ce,
$emit: (e) => e.emit,
$options: (e) => br(e),
$forceUpdate: (e) => e.f || (e.f = () => {
dt(e.update);
}),
$nextTick: (e) => e.n || (e.n = ir.bind(e.proxy)),
$watch: (e) => Tr.bind(e)
})
), Je = (e, t) => e !== C && !e.__isScriptSetup && N(e, t), Er = {
get({ _: e }, t) {
if (t === "__v_skip")
return !0;
const { ctx: n, setupState: s, data: r, props: i, accessCache: o, type: c, appContext: a } = e;
if (process.env.NODE_ENV !== "production" && t === "__isVue")
return !0;
let f;
if (t[0] !== "$") {
const p = o[t];
if (p !== void 0)
switch (p) {
case 1:
return s[t];
case 2:
return r[t];
case 4:
return n[t];
case 3:
return i[t];
}
else {
if (Je(s, t))
return o[t] = 1, s[t];
if (r !== C && N(r, t))
return o[t] = 2, r[t];
if (
// only cache other properties when instance has declared (thus stable)
// props
(f = e.propsOptions[0]) && N(f, t)
)
return o[t] = 3, i[t];
if (n !== C && N(n, t))
return o[t] = 4, n[t];
o[t] = 0;
}
}
const d = le[t];
let l, u;
if (d)
return t === "$attrs" ? (w(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && w(e, "get", t), d(e);
if (
// css module (injected by vue-loader)
(l = c.__cssModules) && (l = l[t])
)
return l;
if (n !== C && N(n, t))
return o[t] = 4, n[t];
if (
// global properties
u = a.config.globalProperties, N(u, t)
)
return u[t];
process.env.NODE_ENV;
},
set({ _: e }, t, n) {
const { data: s, setupState: r, ctx: i } = e;
return Je(r, t) ? (r[t] = n, !0) : process.env.NODE_ENV !== "production" && r.__isScriptSetup && N(r, t) ? (E(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : s !== C && N(s, t) ? (s[t] = n, !0) : N(e.props, t) ? (process.env.NODE_ENV !== "production" && E(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && E(
`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(i, t, {
enumerable: !0,
configurable: !0,
value: n
}) : i[t] = n, !0);
},
has({
_: { data: e, setupState: t, accessCache: n, ctx: s, appContext: r, propsOptions: i }
}, o) {
let c;
return !!n[o] || e !== C && N(e, o) || Je(t, o) || (c = i[0]) && N(c, o) || N(s, o) || N(le, o) || N(r.config.globalProperties, o);
},
defineProperty(e, t, n) {
return n.get != null ? e._.accessCache[t] = 0 : N(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
}
};
process.env.NODE_ENV !== "production" && (Er.ownKeys = (e) => (E(
"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 wt(e) {
return m(e) ? e.reduce(
(t, n) => (t[n] = null, t),
{}
) : e;
}
function br(e) {
const t = e.type, { mixins: n, extends: s } = t, {
mixins: r,
optionsCache: i,
config: { optionMergeStrategies: o }
} = e.appContext, c = i.get(t);
let a;
return c ? a = c : !r.length && !n && !s ? a = t : (a = {}, r.length && r.forEach(
(f) => Re(a, f, o, !0)
), Re(a, t, o)), y(t) && i.set(t, a), a;
}
function Re(e, t, n, s = !1) {
const { mixins: r, extends: i } = t;
i && Re(e, i, n, !0), r && r.forEach(
(o) => Re(e, o, n, !0)
);
for (const o in t)
if (s && o === "expose")
process.env.NODE_ENV !== "production" && E(
'"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
);
else {
const c = Nr[o] || n && n[o];
e[o] = c ? c(e[o], t[o]) : t[o];
}
return e;
}
const Nr = {
data: Ot,
props: xt,
emits: xt,
// objects
methods: ie,
computed: ie,
// lifecycle
beforeCreate: O,
created: O,
beforeMount: O,
mounted: O,
beforeUpdate: O,
updated: O,
beforeDestroy: O,
beforeUnmount: O,
destroyed: O,
unmounted: O,
activated: O,
deactivated: O,
errorCaptured: O,
serverPrefetch: O,
// assets
components: ie,
directives: ie,
// watch
watch: wr,
// provide / inject
provide: Ot,
inject: vr
};
function Ot(e, t) {
return t ? e ? function() {
return V(
v(e) ? e.call(this, this) : e,
v(t) ? t.call(this, this) : t
);
} : t : e;
}
function vr(e, t) {
return ie(St(e), St(t));
}
function St(e) {
if (m(e)) {
const t = {};
for (let n = 0; n < e.length; n++)
t[e[n]] = e[n];
return t;
}
return e;
}
function O(e, t) {
return e ? [...new Set([].concat(e, t))] : t;
}
function ie(e, t) {
return e ? V(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function xt(e, t) {
return e ? m(e) && m(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : V(
/* @__PURE__ */ Object.create(null),
wt(e),
wt(t ?? {})
) : t;
}
function wr(e, t) {
if (!e) return t;
if (!t) return e;
const n = V(/* @__PURE__ */ Object.create(null), e);
for (const s in t)
n[s] = O(e[s], t[s]);
return n;
}
let Or = null;
function Sr(e, t, n = !1) {
const s = pe || ne;
if (s || Or) {
const r = s ? s.parent == null ? s.vnode.appContext && s.vnode.appContext.provides : s.parent.provides : void 0;
if (r && e in r)
return r[e];
if (arguments.length > 1)
return n && v(t) ? t.call(s && s.proxy) : t;
process.env.NODE_ENV !== "production" && E(`injection "${String(e)}" not found.`);
} else process.env.NODE_ENV !== "production" && E("inject() can only be used inside setup() or functional components.");
}
const xr = {}, en = (e) => Object.getPrototypeOf(e) === xr, yr = Ir, Dr = Symbol.for("v-scx"), Vr = () => {
{
const e = Sr(Dr);
return e || process.env.NODE_ENV !== "production" && E(
"Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
), e;
}
};
function yt(e, t, n) {
return process.env.NODE_ENV !== "production" && !v(t) && E(
"`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."
), tn(e, t, n);
}
function tn(e, t, n = C) {
const { immediate: s, deep: r, flush: i, once: o } = n;
process.env.NODE_ENV !== "production" && !t && (s !== void 0 && E(
'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
), r !== void 0 && E(
'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
), o !== void 0 && E(
'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
));
const c = V({}, n);
process.env.NODE_ENV !== "production" && (c.onWarn = E);
const a = t && s || !t && i !== "post";
let f;
if (nt) {
if (i === "sync") {
const p = Vr();
f = p.__watcherHandles || (p.__watcherHandles = []);
} else if (!a) {
const p = () => {
};
return p.stop = Z, p.resume = Z, p.pause = Z, p;
}
}
const d = pe;
c.call = (p, b, T) => Jt(p, d, b, T);
let l = !1;
i === "post" ? c.scheduler = (p) => {
yr(p, d && d.suspense);
} : i !== "sync" && (l = !0, c.scheduler = (p, b) => {
b ? p() : dt(p);
}), c.augmentJob = (p) => {
t && (p.flags |= 4), l && (p.flags |= 2, d && (p.id = d.uid, p.i = d));
};
const u = Qn(e, t, c);
return nt && (f ? f.push(u) : a && u()), u;
}
function Tr(e, t, n) {
const s = this.proxy, r = A(e) ? e.includes(".") ? Rr(s, e) : () => s[e] : e.bind(s, s);
let i;
v(t) ? i = t : (i = t.handler, n = t);
const o = Ur(this), c = tn(r, i.bind(s), n);
return o(), c;
}
function Rr(e, t) {
const n = t.split(".");
return () => {
let s = e;
for (let r = 0; r < n.length && s; r++)
s = s[n[r]];
return s;
};
}
const Cr = (e) => e.__isSuspense;
function Ir(e, t) {
t && t.pendingBranch ? m(e) ? t.effects.push(...e) : t.effects.push(e) : Gt(e);
}
const nn = Symbol.for("v-fgt"), Pr = Symbol.for("v-txt"), $r = Symbol.for("v-cmt"), Ne = [];
let I = null;
function Ar(e = !1) {
Ne.push(I = e ? null : []);
}
function Mr() {
Ne.pop(), I = Ne[Ne.length - 1] || null;
}
function Fr(e) {
return e.dynamicChildren = I || un, Mr(), I && I.push(e), e;
}
function Hr(e, t, n, s, r, i) {
return Fr(
Ce(
e,
t,
n,
s,
r,
i,
!0
)
);
}
function jr(e) {
return e ? e.__v_isVNode === !0 : !1;
}
const Wr = (...e) => sn(
...e
), rn = ({ key: e }) => e ?? null, ve = ({
ref: e,
ref_key: t,
ref_for: n
}) => (typeof e == "number" && (e = "" + e), e != null ? A(e) || x(e) || v(e) ? { i: ne, r: e, k: t, f: !!n } : e : null);
function Ce(e, t = null, n = null, s = 0, r = null, i = e === nn ? 0 : 1, o = !1, c = !1) {
const a = {
__v_isVNode: !0,
__v_skip: !0,
type: e,
props: t,
key: t && rn(t),
ref: t && ve(t),
scopeId: fr,
slotScopeIds: null,
children: n,
component: null,
suspense: null,
ssContent: null,
ssFallback: null,
dirs: null,
transition: null,
el: null,
anchor: null,
target: null,
targetStart: null,
targetAnchor: null,
staticCount: 0,
shapeFlag: i,
patchFlag: s,
dynamicProps: r,
dynamicChildren: null,
appContext: null,
ctx: ne
};
return c ? (ht(a, n), i & 128 && e.normalize(a)) : n && (a.shapeFlag |= A(n) ? 8 : 16), process.env.NODE_ENV !== "production" && a.key !== a.key && E("VNode created with invalid key (NaN). VNode type:", a.type), // avoid a block node from tracking itself
!o && // has current parent block
I && // presence of a patch flag indicates this node needs patching on updates.
// component nodes also should always be patched, because even if the
// component doesn't need to update, it needs to persist the instance on to
// the next vnode so that it can be properly unmounted later.
(a.patchFlag > 0 || i & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
// vnode should not be considered dynamic due to handler caching.
a.patchFlag !== 32 && I.push(a), a;
}
const ke = process.env.NODE_ENV !== "production" ? Wr : sn;
function sn(e, t = null, n = null, s = 0, r = null, i = !1) {
if ((!e || e === _r) && (process.env.NODE_ENV !== "production" && !e && E(`Invalid vnode type when creating vnode: ${e}.`), e = $r), jr(e)) {
const c = Ie(
e,
t,
!0
/* mergeRef: true */
);
return n && ht(c, n), !i && I && (c.shapeFlag & 6 ? I[I.indexOf(e)] = c : I.push(c)), c.patchFlag = -2, c;
}
if (ln(e) && (e = e.__vccOpts), t) {
t = Kr(t);
let { class: c, style: a } = t;
c && !A(c) && (t.class = it(c)), y(a) && (xe(a) && !m(a) && (a = V({}, a)), t.style = st(a));
}
const o = A(e) ? 1 :