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