xz-design
Version:
快住组件库
1,765 lines • 51.1 kB
JavaScript
/**
* @vue/shared v3.4.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
function fn(e, t) {
const n = new Set(e.split(","));
return t ? (r) => n.has(r.toLowerCase()) : (r) => n.has(r);
}
const D = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, pn = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], Q = () => {
}, dn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), C = Object.assign, hn = Object.prototype.hasOwnProperty, m = (e, t) => hn.call(e, t), h = Array.isArray, U = (e) => Se(e) === "[object Map]", bt = (e) => Se(e) === "[object Set]", w = (e) => typeof e == "function", x = (e) => typeof e == "string", k = (e) => typeof e == "symbol", O = (e) => e !== null && typeof e == "object", _n = (e) => (O(e) || w(e)) && w(e.then) && w(e.catch), vt = Object.prototype.toString, Se = (e) => vt.call(e), St = (e) => Se(e).slice(8, -1), yt = (e) => Se(e) === "[object Object]", We = (e) => x(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, gn = (e) => {
const t = /* @__PURE__ */ Object.create(null);
return (n) => t[n] || (t[n] = e(n));
}, mn = gn((e) => e.charAt(0).toUpperCase() + e.slice(1)), L = (e, t) => !Object.is(e, t), En = (e, t, n) => {
Object.defineProperty(e, t, {
configurable: !0,
enumerable: !1,
value: n
});
};
let ot;
const xt = () => ot || (ot = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
function Be(e) {
if (h(e)) {
const t = {};
for (let n = 0; n < e.length; n++) {
const r = e[n], s = x(r) ? bn(r) : Be(r);
if (s)
for (const o in s)
t[o] = s[o];
}
return t;
} else if (x(e) || O(e))
return e;
}
const wn = /;(?![^(]*\))/g, Nn = /:([^]+)/, On = /\/\*[^]*?\*\//g;
function bn(e) {
const t = {};
return e.replace(On, "").split(wn).forEach((n) => {
if (n) {
const r = n.split(Nn);
r.length > 1 && (t[r[0].trim()] = r[1].trim());
}
}), t;
}
function Je(e) {
let t = "";
if (x(e))
t = e;
else if (h(e))
for (let n = 0; n < e.length; n++) {
const r = Je(e[n]);
r && (t += r + " ");
}
else if (O(e))
for (const n in e)
e[n] && (t += n + " ");
return t.trim();
}
const Te = (e) => x(e) ? e : e == null ? "" : h(e) || O(e) && (e.toString === vt || !w(e.toString)) ? JSON.stringify(e, Rt, 2) : String(e), Rt = (e, t) => t && t.__v_isRef ? Rt(e, t.value) : U(t) ? {
[`Map(${t.size})`]: [...t.entries()].reduce(
(n, [r, s], o) => (n[Ie(r, o) + " =>"] = s, n),
{}
)
} : bt(t) ? {
[`Set(${t.size})`]: [...t.values()].map((n) => Ie(n))
} : k(t) ? Ie(t) : O(t) && !h(t) && !yt(t) ? String(t) : t, Ie = (e, t = "") => {
var n;
return k(e) ? `Symbol(${(n = e.description) != null ? n : t})` : e;
};
/**
* @vue/reactivity v3.4.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
function it(e, ...t) {
console.warn(`[Vue warn] ${e}`, ...t);
}
let vn;
function Sn(e, t = vn) {
t && t.active && t.effects.push(e);
}
let W;
class Vt {
constructor(t, n, r, s) {
this.fn = t, this.trigger = n, this.scheduler = r, this.active = !0, this.deps = [], this._dirtyLevel = 2, this._trackId = 0, this._runnings = 0, this._shouldSchedule = !1, this._depsLength = 0, Sn(this, s);
}
get dirty() {
if (this._dirtyLevel === 1) {
qe();
for (let t = 0; t < this._depsLength; t++) {
const n = this.deps[t];
if (n.computed && (yn(n.computed), this._dirtyLevel >= 2))
break;
}
this._dirtyLevel < 2 && (this._dirtyLevel = 0), Ye();
}
return this._dirtyLevel >= 2;
}
set dirty(t) {
this._dirtyLevel = t ? 2 : 0;
}
run() {
if (this._dirtyLevel = 0, !this.active)
return this.fn();
let t = F, n = W;
try {
return F = !0, W = this, this._runnings++, ct(this), this.fn();
} finally {
lt(this), this._runnings--, W = n, F = t;
}
}
stop() {
var t;
this.active && (ct(this), lt(this), (t = this.onStop) == null || t.call(this), this.active = !1);
}
}
function yn(e) {
return e.value;
}
function ct(e) {
e._trackId++, e._depsLength = 0;
}
function lt(e) {
if (e.deps && e.deps.length > e._depsLength) {
for (let t = e._depsLength; t < e.deps.length; t++)
Ct(e.deps[t], e);
e.deps.length = e._depsLength;
}
}
function Ct(e, t) {
const n = e.get(t);
n !== void 0 && t._trackId !== n && (e.delete(t), e.size === 0 && e.cleanup());
}
let F = !0, Me = 0;
const It = [];
function qe() {
It.push(F), F = !1;
}
function Ye() {
const e = It.pop();
F = e === void 0 ? !0 : e;
}
function Ge() {
Me++;
}
function Qe() {
for (Me--; !Me && Ae.length; )
Ae.shift()();
}
function Dt(e, t, n) {
var r;
if (t.get(e) !== e._trackId) {
t.set(e, e._trackId);
const s = e.deps[e._depsLength];
s !== t ? (s && Ct(s, e), e.deps[e._depsLength++] = t) : e._depsLength++, process.env.NODE_ENV !== "production" && ((r = e.onTrack) == null || r.call(e, C({ effect: e }, n)));
}
}
const Ae = [];
function Pt(e, t, n) {
var r;
Ge();
for (const s of e.keys())
if (e.get(s) === s._trackId) {
if (s._dirtyLevel < t) {
const o = s._dirtyLevel;
s._dirtyLevel = t, o === 0 && (s._shouldSchedule = !0, process.env.NODE_ENV !== "production" && ((r = s.onTrigger) == null || r.call(s, C({ effect: s }, n))), s.trigger());
}
s.scheduler && s._shouldSchedule && (!s._runnings || s.allowRecurse) && (s._shouldSchedule = !1, Ae.push(s.scheduler));
}
Qe();
}
const $t = (e, t) => {
const n = /* @__PURE__ */ new Map();
return n.cleanup = e, n.computed = t, n;
}, Fe = /* @__PURE__ */ new WeakMap(), B = Symbol(process.env.NODE_ENV !== "production" ? "iterate" : ""), je = Symbol(process.env.NODE_ENV !== "production" ? "Map key iterate" : "");
function v(e, t, n) {
if (F && W) {
let r = Fe.get(e);
r || Fe.set(e, r = /* @__PURE__ */ new Map());
let s = r.get(n);
s || r.set(n, s = $t(() => r.delete(n))), Dt(
W,
s,
process.env.NODE_ENV !== "production" ? {
target: e,
type: t,
key: n
} : void 0
);
}
}
function j(e, t, n, r, s, o) {
const i = Fe.get(e);
if (!i)
return;
let l = [];
if (t === "clear")
l = [...i.values()];
else if (n === "length" && h(e)) {
const u = Number(r);
i.forEach((p, _) => {
(_ === "length" || !k(_) && _ >= u) && l.push(p);
});
} else
switch (n !== void 0 && l.push(i.get(n)), t) {
case "add":
h(e) ? We(n) && l.push(i.get("length")) : (l.push(i.get(B)), U(e) && l.push(i.get(je)));
break;
case "delete":
h(e) || (l.push(i.get(B)), U(e) && l.push(i.get(je)));
break;
case "set":
U(e) && l.push(i.get(B));
break;
}
Ge();
for (const u of l)
u && Pt(
u,
2,
process.env.NODE_ENV !== "production" ? {
target: e,
type: t,
key: n,
newValue: r,
oldValue: s,
oldTarget: o
} : void 0
);
Qe();
}
const xn = /* @__PURE__ */ fn("__proto__,__v_isRef,__isVue"), Tt = new Set(
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(k)
), ut = /* @__PURE__ */ Rn();
function Rn() {
const e = {};
return ["includes", "indexOf", "lastIndexOf"].forEach((t) => {
e[t] = function(...n) {
const r = a(this);
for (let o = 0, i = this.length; o < i; o++)
v(r, "get", o + "");
const s = r[t](...n);
return s === -1 || s === !1 ? r[t](...n.map(a)) : s;
};
}), ["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
e[t] = function(...n) {
qe(), Ge();
const r = a(this)[t].apply(this, n);
return Qe(), Ye(), r;
};
}), e;
}
function Vn(e) {
const t = a(this);
return v(t, "has", e), t.hasOwnProperty(e);
}
class Mt {
constructor(t = !1, n = !1) {
this._isReadonly = t, this._shallow = n;
}
get(t, n, r) {
const s = this._isReadonly, o = this._shallow;
if (n === "__v_isReactive")
return !s;
if (n === "__v_isReadonly")
return s;
if (n === "__v_isShallow")
return o;
if (n === "__v_raw")
return r === (s ? o ? Ht : Lt : o ? Kn : jt).get(t) || // receiver is not the reactive proxy, but has the same prototype
// this means the reciever is a user proxy of the reactive proxy
Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0;
const i = h(t);
if (!s) {
if (i && m(ut, n))
return Reflect.get(ut, n, r);
if (n === "hasOwnProperty")
return Vn;
}
const l = Reflect.get(t, n, r);
return (k(n) ? Tt.has(n) : xn(n)) || (s || v(t, "get", n), o) ? l : y(l) ? i && We(n) ? l : l.value : O(l) ? s ? zt(l) : Kt(l) : l;
}
}
class Cn extends Mt {
constructor(t = !1) {
super(!1, t);
}
set(t, n, r, s) {
let o = t[n];
if (!this._shallow) {
const u = H(o);
if (!Ee(r) && !H(r) && (o = a(o), r = a(r)), !h(t) && y(o) && !y(r))
return u ? !1 : (o.value = r, !0);
}
const i = h(t) && We(n) ? Number(n) < t.length : m(t, n), l = Reflect.set(t, n, r, s);
return t === a(s) && (i ? L(r, o) && j(t, "set", n, r, o) : j(t, "add", n, r)), l;
}
deleteProperty(t, n) {
const r = m(t, n), s = t[n], o = Reflect.deleteProperty(t, n);
return o && r && j(t, "delete", n, void 0, s), o;
}
has(t, n) {
const r = Reflect.has(t, n);
return (!k(n) || !Tt.has(n)) && v(t, "has", n), r;
}
ownKeys(t) {
return v(
t,
"iterate",
h(t) ? "length" : B
), Reflect.ownKeys(t);
}
}
class At extends Mt {
constructor(t = !1) {
super(!0, t);
}
set(t, n) {
return process.env.NODE_ENV !== "production" && it(
`Set operation on key "${String(n)}" failed: target is readonly.`,
t
), !0;
}
deleteProperty(t, n) {
return process.env.NODE_ENV !== "production" && it(
`Delete operation on key "${String(n)}" failed: target is readonly.`,
t
), !0;
}
}
const In = /* @__PURE__ */ new Cn(), Dn = /* @__PURE__ */ new At(), Pn = /* @__PURE__ */ new At(!0), Xe = (e) => e, ye = (e) => Reflect.getPrototypeOf(e);
function ce(e, t, n = !1, r = !1) {
e = e.__v_raw;
const s = a(e), o = a(t);
n || (L(t, o) && v(s, "get", t), v(s, "get", o));
const { has: i } = ye(s), l = r ? Xe : n ? et : se;
if (i.call(s, t))
return l(e.get(t));
if (i.call(s, o))
return l(e.get(o));
e !== s && e.get(t);
}
function le(e, t = !1) {
const n = this.__v_raw, r = a(n), s = a(e);
return t || (L(e, s) && v(r, "has", e), v(r, "has", s)), e === s ? n.has(e) : n.has(e) || n.has(s);
}
function ue(e, t = !1) {
return e = e.__v_raw, !t && v(a(e), "iterate", B), Reflect.get(e, "size", e);
}
function at(e) {
e = a(e);
const t = a(this);
return ye(t).has.call(t, e) || (t.add(e), j(t, "add", e, e)), this;
}
function ft(e, t) {
t = a(t);
const n = a(this), { has: r, get: s } = ye(n);
let o = r.call(n, e);
o ? process.env.NODE_ENV !== "production" && Ft(n, r, e) : (e = a(e), o = r.call(n, e));
const i = s.call(n, e);
return n.set(e, t), o ? L(t, i) && j(n, "set", e, t, i) : j(n, "add", e, t), this;
}
function pt(e) {
const t = a(this), { has: n, get: r } = ye(t);
let s = n.call(t, e);
s ? process.env.NODE_ENV !== "production" && Ft(t, n, e) : (e = a(e), s = n.call(t, e));
const o = r ? r.call(t, e) : void 0, i = t.delete(e);
return s && j(t, "delete", e, void 0, o), i;
}
function dt() {
const e = a(this), t = e.size !== 0, n = process.env.NODE_ENV !== "production" ? U(e) ? new Map(e) : new Set(e) : void 0, r = e.clear();
return t && j(e, "clear", void 0, void 0, n), r;
}
function ae(e, t) {
return function(r, s) {
const o = this, i = o.__v_raw, l = a(i), u = t ? Xe : e ? et : se;
return !e && v(l, "iterate", B), i.forEach((p, _) => r.call(s, u(p), u(_), o));
};
}
function fe(e, t, n) {
return function(...r) {
const s = this.__v_raw, o = a(s), i = U(o), l = e === "entries" || e === Symbol.iterator && i, u = e === "keys" && i, p = s[e](...r), _ = n ? Xe : t ? et : se;
return !t && v(
o,
"iterate",
u ? je : B
), {
// iterator protocol
next() {
const { value: c, done: f } = p.next();
return f ? { value: c, done: f } : {
value: l ? [_(c[0]), _(c[1])] : _(c),
done: f
};
},
// iterable protocol
[Symbol.iterator]() {
return this;
}
};
};
}
function T(e) {
return function(...t) {
if (process.env.NODE_ENV !== "production") {
const n = t[0] ? `on key "${t[0]}" ` : "";
console.warn(
`${mn(e)} operation ${n}failed: target is readonly.`,
a(this)
);
}
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
};
}
function $n() {
const e = {
get(o) {
return ce(this, o);
},
get size() {
return ue(this);
},
has: le,
add: at,
set: ft,
delete: pt,
clear: dt,
forEach: ae(!1, !1)
}, t = {
get(o) {
return ce(this, o, !1, !0);
},
get size() {
return ue(this);
},
has: le,
add: at,
set: ft,
delete: pt,
clear: dt,
forEach: ae(!1, !0)
}, n = {
get(o) {
return ce(this, o, !0);
},
get size() {
return ue(this, !0);
},
has(o) {
return le.call(this, o, !0);
},
add: T("add"),
set: T("set"),
delete: T("delete"),
clear: T("clear"),
forEach: ae(!0, !1)
}, r = {
get(o) {
return ce(this, o, !0, !0);
},
get size() {
return ue(this, !0);
},
has(o) {
return le.call(this, o, !0);
},
add: T("add"),
set: T("set"),
delete: T("delete"),
clear: T("clear"),
forEach: ae(!0, !0)
};
return ["keys", "values", "entries", Symbol.iterator].forEach((o) => {
e[o] = fe(
o,
!1,
!1
), n[o] = fe(
o,
!0,
!1
), t[o] = fe(
o,
!1,
!0
), r[o] = fe(
o,
!0,
!0
);
}), [
e,
n,
t,
r
];
}
const [
Tn,
Mn,
An,
Fn
] = /* @__PURE__ */ $n();
function Ze(e, t) {
const n = t ? e ? Fn : An : e ? Mn : Tn;
return (r, s, o) => s === "__v_isReactive" ? !e : s === "__v_isReadonly" ? e : s === "__v_raw" ? r : Reflect.get(
m(n, s) && s in r ? n : r,
s,
o
);
}
const jn = {
get: /* @__PURE__ */ Ze(!1, !1)
}, Ln = {
get: /* @__PURE__ */ Ze(!0, !1)
}, Hn = {
get: /* @__PURE__ */ Ze(!0, !0)
};
function Ft(e, t, n) {
const r = a(n);
if (r !== n && t.call(e, r)) {
const s = St(e);
console.warn(
`Reactive ${s} contains both the raw and reactive versions of the same object${s === "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 jt = /* @__PURE__ */ new WeakMap(), Kn = /* @__PURE__ */ new WeakMap(), Lt = /* @__PURE__ */ new WeakMap(), Ht = /* @__PURE__ */ new WeakMap();
function zn(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 : zn(St(e));
}
function Kt(e) {
return H(e) ? e : ke(
e,
!1,
In,
jn,
jt
);
}
function zt(e) {
return ke(
e,
!0,
Dn,
Ln,
Lt
);
}
function pe(e) {
return ke(
e,
!0,
Pn,
Hn,
Ht
);
}
function ke(e, t, n, r, s) {
if (!O(e))
return process.env.NODE_ENV !== "production" && console.warn(`value cannot be made reactive: ${String(e)}`), e;
if (e.__v_raw && !(t && e.__v_isReactive))
return e;
const o = s.get(e);
if (o)
return o;
const i = Un(e);
if (i === 0)
return e;
const l = new Proxy(
e,
i === 2 ? r : n
);
return s.set(e, l), l;
}
function J(e) {
return H(e) ? J(e.__v_raw) : !!(e && e.__v_isReactive);
}
function H(e) {
return !!(e && e.__v_isReadonly);
}
function Ee(e) {
return !!(e && e.__v_isShallow);
}
function Le(e) {
return J(e) || H(e);
}
function a(e) {
const t = e && e.__v_raw;
return t ? a(t) : e;
}
function Wn(e) {
return En(e, "__v_skip", !0), e;
}
const se = (e) => O(e) ? Kt(e) : e, et = (e) => O(e) ? zt(e) : e;
class Bn {
constructor(t, n, r, s) {
this._setter = n, this.dep = void 0, this.__v_isRef = !0, this.__v_isReadonly = !1, this.effect = new Vt(
() => t(this._value),
() => He(this, 1)
), this.effect.computed = this, this.effect.active = this._cacheable = !s, this.__v_isReadonly = r;
}
get value() {
const t = a(this);
return (!t._cacheable || t.effect.dirty) && L(t._value, t._value = t.effect.run()) && He(t, 2), Ut(t), t._value;
}
set value(t) {
this._setter(t);
}
// #region polyfill _dirty for backward compatibility third party code for Vue <= 3.3.x
get _dirty() {
return this.effect.dirty;
}
set _dirty(t) {
this.effect.dirty = t;
}
// #endregion
}
function Ut(e) {
F && W && (e = a(e), Dt(
W,
e.dep || (e.dep = $t(
() => e.dep = void 0,
e instanceof Bn ? e : void 0
)),
process.env.NODE_ENV !== "production" ? {
target: e,
type: "get",
key: "value"
} : void 0
));
}
function He(e, t = 2, n) {
e = a(e);
const r = e.dep;
r && Pt(
r,
t,
process.env.NODE_ENV !== "production" ? {
target: e,
type: "set",
key: "value",
newValue: n
} : void 0
);
}
function y(e) {
return !!(e && e.__v_isRef === !0);
}
function ht(e) {
return Jn(e, !1);
}
function Jn(e, t) {
return y(e) ? e : new qn(e, t);
}
class qn {
constructor(t, n) {
this.__v_isShallow = n, this.dep = void 0, this.__v_isRef = !0, this._rawValue = n ? t : a(t), this._value = n ? t : se(t);
}
get value() {
return Ut(this), this._value;
}
set value(t) {
const n = this.__v_isShallow || Ee(t) || H(t);
t = n ? t : a(t), L(t, this._rawValue) && (this._rawValue = t, this._value = n ? t : se(t), He(this, 2, t));
}
}
function Yn(e) {
return y(e) ? e.value : e;
}
const Gn = {
get: (e, t, n) => Yn(Reflect.get(e, t, n)),
set: (e, t, n, r) => {
const s = e[t];
return y(s) && !y(n) ? (s.value = n, !0) : Reflect.set(e, t, n, r);
}
};
function Qn(e) {
return J(e) ? e : new Proxy(e, Gn);
}
/**
* @vue/runtime-core v3.4.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
const q = [];
function Xn(e) {
q.push(e);
}
function Zn() {
q.pop();
}
function E(e, ...t) {
qe();
const n = q.length ? q[q.length - 1].component : null, r = n && n.appContext.config.warnHandler, s = kn();
if (r)
Y(
r,
n,
11,
[
e + t.join(""),
n && n.proxy,
s.map(
({ vnode: o }) => `at <${ln(n, o.type)}>`
).join(`
`),
s
]
);
else {
const o = [`[Vue warn]: ${e}`, ...t];
s.length && o.push(`
`, ...er(s)), console.warn(...o);
}
Ye();
}
function kn() {
let e = q[q.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 r = e.component && e.component.parent;
e = r && r.vnode;
}
return t;
}
function er(e) {
const t = [];
return e.forEach((n, r) => {
t.push(...r === 0 ? [] : [`
`], ...tr(n));
}), t;
}
function tr({ vnode: e, recurseCount: t }) {
const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, s = ` at <${ln(
e.component,
e.type,
r
)}`, o = ">" + n;
return e.props ? [s, ...nr(e.props), o] : [s + o];
}
function nr(e) {
const t = [], n = Object.keys(e);
return n.slice(0, 3).forEach((r) => {
t.push(...Wt(r, e[r]));
}), n.length > 3 && t.push(" ..."), t;
}
function Wt(e, t, n) {
return x(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : y(t) ? (t = Wt(e, a(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : w(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = a(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. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."
};
function Y(e, t, n, r) {
let s;
try {
s = r ? e(...r) : e();
} catch (o) {
tt(o, t, n);
}
return s;
}
function _e(e, t, n, r) {
if (w(e)) {
const o = Y(e, t, n, r);
return o && _n(o) && o.catch((i) => {
tt(i, t, n);
}), o;
}
const s = [];
for (let o = 0; o < e.length; o++)
s.push(_e(e[o], t, n, r));
return s;
}
function tt(e, t, n, r = !0) {
const s = t ? t.vnode : null;
if (t) {
let o = t.parent;
const i = t.proxy, l = process.env.NODE_ENV !== "production" ? Bt[n] : `https://vuejs.org/errors/#runtime-${n}`;
for (; o; ) {
const p = o.ec;
if (p) {
for (let _ = 0; _ < p.length; _++)
if (p[_](e, i, l) === !1)
return;
}
o = o.parent;
}
const u = t.appContext.config.errorHandler;
if (u) {
Y(
u,
null,
10,
[e, i, l]
);
return;
}
}
rr(e, n, s, r);
}
function rr(e, t, n, r = !0) {
if (process.env.NODE_ENV !== "production") {
const s = Bt[t];
if (n && Xn(n), E(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Zn(), r)
throw e;
console.error(e);
} else
console.error(e);
}
let we = !1, Ke = !1;
const R = [];
let A = 0;
const Z = [];
let P = null, M = 0;
const Jt = /* @__PURE__ */ Promise.resolve();
let nt = null;
const sr = 100;
function or(e) {
const t = nt || Jt;
return e ? t.then(this ? e.bind(this) : e) : t;
}
function ir(e) {
let t = A + 1, n = R.length;
for (; t < n; ) {
const r = t + n >>> 1, s = R[r], o = oe(s);
o < e || o === e && s.pre ? t = r + 1 : n = r;
}
return t;
}
function rt(e) {
(!R.length || !R.includes(
e,
we && e.allowRecurse ? A + 1 : A
)) && (e.id == null ? R.push(e) : R.splice(ir(e.id), 0, e), qt());
}
function qt() {
!we && !Ke && (Ke = !0, nt = Jt.then(Gt));
}
function Yt(e) {
h(e) ? Z.push(...e) : (!P || !P.includes(
e,
e.allowRecurse ? M + 1 : M
)) && Z.push(e), qt();
}
function cr(e) {
if (Z.length) {
const t = [...new Set(Z)].sort(
(n, r) => oe(n) - oe(r)
);
if (Z.length = 0, P) {
P.push(...t);
return;
}
for (P = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), M = 0; M < P.length; M++)
process.env.NODE_ENV !== "production" && Qt(e, P[M]) || P[M]();
P = null, M = 0;
}
}
const oe = (e) => e.id == null ? 1 / 0 : e.id, lr = (e, t) => {
const n = oe(e) - oe(t);
if (n === 0) {
if (e.pre && !t.pre)
return -1;
if (t.pre && !e.pre)
return 1;
}
return n;
};
function Gt(e) {
Ke = !1, we = !0, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), R.sort(lr);
const t = process.env.NODE_ENV !== "production" ? (n) => Qt(e, n) : Q;
try {
for (A = 0; A < R.length; A++) {
const n = R[A];
if (n && n.active !== !1) {
if (process.env.NODE_ENV !== "production" && t(n))
continue;
Y(n, null, 14);
}
}
} finally {
A = 0, R.length = 0, cr(e), we = !1, nt = null, (R.length || Z.length) && Gt(e);
}
}
function Qt(e, t) {
if (!e.has(t))
e.set(t, 1);
else {
const n = e.get(t);
if (n > sr) {
const r = t.ownerInstance, s = r && cn(r.type);
return tt(
`Maximum recursive updates exceeded${s ? ` in component <${s}>` : ""}. 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;
} else
e.set(t, n + 1);
}
}
const ee = /* @__PURE__ */ new Set();
process.env.NODE_ENV !== "production" && (xt().__VUE_HMR_RUNTIME__ = {
createRecord: De(ur),
rerender: De(ar),
reload: De(fr)
});
const Ne = /* @__PURE__ */ new Map();
function ur(e, t) {
return Ne.has(e) ? !1 : (Ne.set(e, {
initialDef: ne(t),
instances: /* @__PURE__ */ new Set()
}), !0);
}
function ne(e) {
return un(e) ? e.__vccOpts : e;
}
function ar(e, t) {
const n = Ne.get(e);
n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
t && (r.render = t, ne(r.type).render = t), r.renderCache = [], r.effect.dirty = !0, r.update();
}));
}
function fr(e, t) {
const n = Ne.get(e);
if (!n)
return;
t = ne(t), _t(n.initialDef, t);
const r = [...n.instances];
for (const s of r) {
const o = ne(s.type);
ee.has(o) || (o !== n.initialDef && _t(o, t), ee.add(o)), s.appContext.propsCache.delete(s.type), s.appContext.emitsCache.delete(s.type), s.appContext.optionsCache.delete(s.type), s.ceReload ? (ee.add(o), s.ceReload(t.styles), ee.delete(o)) : s.parent ? (s.parent.effect.dirty = !0, rt(s.parent.update)) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
"[HMR] Root or manually mounted instance modified. Full reload required."
);
}
Yt(() => {
for (const s of r)
ee.delete(
ne(s.type)
);
});
}
function _t(e, t) {
C(e, t);
for (const n in e)
n !== "__file" && !(n in t) && delete e[n];
}
function De(e) {
return (t, n) => {
try {
return e(t, n);
} catch (r) {
console.error(r), console.warn(
"[HMR] Something went wrong during Vue component hot-reload. Full reload required."
);
}
};
}
let G, de = [];
function Xt(e, t) {
var n, r;
G = e, G ? (G.enabled = !0, de.forEach(({ event: s, args: o }) => G.emit(s, ...o)), de = []) : /* 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
!((r = (n = window.navigator) == null ? void 0 : n.userAgent) != null && r.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((o) => {
Xt(o, t);
}), setTimeout(() => {
G || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, de = []);
}, 3e3)) : de = [];
}
let $ = null, pr = null;
const dr = Symbol.for("v-ndc"), hr = (e) => e.__isSuspense;
function _r(e, t) {
t && t.pendingBranch ? h(e) ? t.effects.push(...e) : t.effects.push(e) : Yt(e);
}
const gr = Symbol.for("v-scx"), mr = () => {
{
const e = Rr(gr);
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;
}
}, he = {};
function Er(e, t, {
immediate: n,
deep: r,
flush: s,
once: o,
onTrack: i,
onTrigger: l
} = D) {
if (t && o) {
const d = t;
t = (...Ce) => {
d(...Ce), Ve();
};
}
process.env.NODE_ENV !== "production" && r !== void 0 && typeof r == "number" && E(
'watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'
), process.env.NODE_ENV !== "production" && !t && (n !== 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 u = (d) => {
E(
"Invalid watch source: ",
d,
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
);
}, p = xe, _ = (d) => r === !0 ? d : (
// for deep: false, only traverse root-level properties
X(d, r === !1 ? 1 : void 0)
);
let c, f = !1, g = !1;
if (y(e) ? (c = () => e.value, f = Ee(e)) : J(e) ? (c = () => _(e), f = !0) : h(e) ? (g = !0, f = e.some((d) => J(d) || Ee(d)), c = () => e.map((d) => {
if (y(d))
return d.value;
if (J(d))
return _(d);
if (w(d))
return Y(d, p, 2);
process.env.NODE_ENV !== "production" && u(d);
})) : w(e) ? t ? c = () => Y(e, p, 2) : c = () => (N && N(), _e(
e,
p,
3,
[I]
)) : (c = Q, process.env.NODE_ENV !== "production" && u(e)), t && r) {
const d = c;
c = () => X(d());
}
let N, I = (d) => {
N = S.onStop = () => {
Y(d, p, 4), N = S.onStop = void 0;
};
}, Re;
if (on)
if (I = Q, t ? n && _e(t, p, 3, [
c(),
g ? [] : void 0,
I
]) : c(), s === "sync") {
const d = mr();
Re = d.__watcherHandles || (d.__watcherHandles = []);
} else
return Q;
let K = g ? new Array(e.length).fill(he) : he;
const z = () => {
if (!(!S.active || !S.dirty))
if (t) {
const d = S.run();
(r || f || (g ? d.some((Ce, an) => L(Ce, K[an])) : L(d, K))) && (N && N(), _e(t, p, 3, [
d,
// pass undefined as the old value when it's changed for the first time
K === he ? void 0 : g && K[0] === he ? [] : K,
I
]), K = d);
} else
S.run();
};
z.allowRecurse = !!t;
let ie;
s === "sync" ? ie = z : s === "post" ? ie = () => Ot(z, p && p.suspense) : (z.pre = !0, p && (z.id = p.uid), ie = () => rt(z));
const S = new Vt(c, Q, ie), Ve = () => {
S.stop();
};
return process.env.NODE_ENV !== "production" && (S.onTrack = i, S.onTrigger = l), t ? n ? z() : K = S.run() : s === "post" ? Ot(
S.run.bind(S),
p && p.suspense
) : S.run(), Re && Re.push(Ve), Ve;
}
function wr(e, t, n) {
const r = this.proxy, s = x(e) ? e.includes(".") ? Nr(r, e) : () => r[e] : e.bind(r, r);
let o;
w(t) ? o = t : (o = t.handler, n = t);
const i = Lr(this), l = Er(s, o.bind(r), n);
return i(), l;
}
function Nr(e, t) {
const n = t.split(".");
return () => {
let r = e;
for (let s = 0; s < n.length && r; s++)
r = r[n[s]];
return r;
};
}
function X(e, t, n = 0, r) {
if (!O(e) || e.__v_skip)
return e;
if (t && t > 0) {
if (n >= t)
return e;
n++;
}
if (r = r || /* @__PURE__ */ new Set(), r.has(e))
return e;
if (r.add(e), y(e))
X(e.value, t, n, r);
else if (h(e))
for (let s = 0; s < e.length; s++)
X(e[s], t, n, r);
else if (bt(e) || U(e))
e.forEach((s) => {
X(s, t, n, r);
});
else if (yt(e))
for (const s in e)
X(e[s], t, n, r);
return e;
}
const ze = (e) => e ? Hr(e) ? Kr(e) || e.proxy : ze(e.parent) : null, re = (
// Move PURE marker to new line to workaround compiler discarding it
// due to type annotation
/* @__PURE__ */ C(/* @__PURE__ */ Object.create(null), {
$: (e) => e,
$el: (e) => e.vnode.el,
$data: (e) => e.data,
$props: (e) => process.env.NODE_ENV !== "production" ? pe(e.props) : e.props,
$attrs: (e) => process.env.NODE_ENV !== "production" ? pe(e.attrs) : e.attrs,
$slots: (e) => process.env.NODE_ENV !== "production" ? pe(e.slots) : e.slots,
$refs: (e) => process.env.NODE_ENV !== "production" ? pe(e.refs) : e.refs,
$parent: (e) => ze(e.parent),
$root: (e) => ze(e.root),
$emit: (e) => e.emit,
$options: (e) => vr(e),
$forceUpdate: (e) => e.f || (e.f = () => {
e.effect.dirty = !0, rt(e.update);
}),
$nextTick: (e) => e.n || (e.n = or.bind(e.proxy)),
$watch: (e) => wr.bind(e)
})
), Or = (e) => e === "_" || e === "$", Pe = (e, t) => e !== D && !e.__isScriptSetup && m(e, t), br = {
get({ _: e }, t) {
const { ctx: n, setupState: r, data: s, props: o, accessCache: i, type: l, appContext: u } = e;
if (process.env.NODE_ENV !== "production" && t === "__isVue")
return !0;
let p;
if (t[0] !== "$") {
const g = i[t];
if (g !== void 0)
switch (g) {
case 1:
return r[t];
case 2:
return s[t];
case 4:
return n[t];
case 3:
return o[t];
}
else {
if (Pe(r, t))
return i[t] = 1, r[t];
if (s !== D && m(s, t))
return i[t] = 2, s[t];
if (
// only cache other properties when instance has declared (thus stable)
// props
(p = e.propsOptions[0]) && m(p, t)
)
return i[t] = 3, o[t];
if (n !== D && m(n, t))
return i[t] = 4, n[t];
i[t] = 0;
}
}
const _ = re[t];
let c, f;
if (_)
return t === "$attrs" ? (v(e, "get", t), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && v(e, "get", t), _(e);
if (
// css module (injected by vue-loader)
(c = l.__cssModules) && (c = c[t])
)
return c;
if (n !== D && m(n, t))
return i[t] = 4, n[t];
if (
// global properties
f = u.config.globalProperties, m(f, t)
)
return f[t];
process.env.NODE_ENV !== "production" && $ && (!x(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
// to infinite warning loop
t.indexOf("__v") !== 0) && (s !== D && Or(t[0]) && m(s, t) ? E(
`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 === $ && E(
`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`
));
},
set({ _: e }, t, n) {
const { data: r, setupState: s, ctx: o } = e;
return Pe(s, t) ? (s[t] = n, !0) : process.env.NODE_ENV !== "production" && s.__isScriptSetup && m(s, t) ? (E(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : r !== D && m(r, t) ? (r[t] = n, !0) : m(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(o, t, {
enumerable: !0,
configurable: !0,
value: n
}) : o[t] = n, !0);
},
has({
_: { data: e, setupState: t, accessCache: n, ctx: r, appContext: s, propsOptions: o }
}, i) {
let l;
return !!n[i] || e !== D && m(e, i) || Pe(t, i) || (l = o[0]) && m(l, i) || m(r, i) || m(re, i) || m(s.config.globalProperties, i);
},
defineProperty(e, t, n) {
return n.get != null ? e._.accessCache[t] = 0 : m(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
}
};
process.env.NODE_ENV !== "production" && (br.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 gt(e) {
return h(e) ? e.reduce(
(t, n) => (t[n] = null, t),
{}
) : e;
}
function vr(e) {
const t = e.type, { mixins: n, extends: r } = t, {
mixins: s,
optionsCache: o,
config: { optionMergeStrategies: i }
} = e.appContext, l = o.get(t);
let u;
return l ? u = l : !s.length && !n && !r ? u = t : (u = {}, s.length && s.forEach(
(p) => Oe(u, p, i, !0)
), Oe(u, t, i)), O(t) && o.set(t, u), u;
}
function Oe(e, t, n, r = !1) {
const { mixins: s, extends: o } = t;
o && Oe(e, o, n, !0), s && s.forEach(
(i) => Oe(e, i, n, !0)
);
for (const i in t)
if (r && i === "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 l = Sr[i] || n && n[i];
e[i] = l ? l(e[i], t[i]) : t[i];
}
return e;
}
const Sr = {
data: mt,
props: wt,
emits: wt,
// objects
methods: te,
computed: te,
// lifecycle
beforeCreate: b,
created: b,
beforeMount: b,
mounted: b,
beforeUpdate: b,
updated: b,
beforeDestroy: b,
beforeUnmount: b,
destroyed: b,
unmounted: b,
activated: b,
deactivated: b,
errorCaptured: b,
serverPrefetch: b,
// assets
components: te,
directives: te,
// watch
watch: xr,
// provide / inject
provide: mt,
inject: yr
};
function mt(e, t) {
return t ? e ? function() {
return C(
w(e) ? e.call(this, this) : e,
w(t) ? t.call(this, this) : t
);
} : t : e;
}
function yr(e, t) {
return te(Et(e), Et(t));
}
function Et(e) {
if (h(e)) {
const t = {};
for (let n = 0; n < e.length; n++)
t[e[n]] = e[n];
return t;
}
return e;
}
function b(e, t) {
return e ? [...new Set([].concat(e, t))] : t;
}
function te(e, t) {
return e ? C(/* @__PURE__ */ Object.create(null), e, t) : t;
}
function wt(e, t) {
return e ? h(e) && h(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : C(
/* @__PURE__ */ Object.create(null),
gt(e),
gt(t ?? {})
) : t;
}
function xr(e, t) {
if (!e)
return t;
if (!t)
return e;
const n = C(/* @__PURE__ */ Object.create(null), e);
for (const r in t)
n[r] = b(e[r], t[r]);
return n;
}
let Nt = null;
function Rr(e, t, n = !1) {
const r = xe || $;
if (r || Nt) {
const s = r ? r.parent == null ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : Nt._context.provides;
if (s && e in s)
return s[e];
if (arguments.length > 1)
return n && w(t) ? t.call(r && r.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 Ot = _r, Vr = (e) => e.__isTeleport, Zt = Symbol.for("v-fgt"), Cr = Symbol.for("v-txt"), Ir = Symbol.for("v-cmt"), ge = [];
let V = null;
function kt(e = !1) {
ge.push(V = e ? null : []);
}
function Dr() {
ge.pop(), V = ge[ge.length - 1] || null;
}
function Pr(e) {
return e.dynamicChildren = V || pn, Dr(), V && V.push(e), e;
}
function en(e, t, n, r, s, o) {
return Pr(
be(
e,
t,
n,
r,
s,
o,
!0
)
);
}
function $r(e) {
return e ? e.__v_isVNode === !0 : !1;
}
const Tr = (...e) => rn(
...e
), tn = "__vInternal", nn = ({ key: e }) => e ?? null, me = ({
ref: e,
ref_key: t,
ref_for: n
}) => (typeof e == "number" && (e = "" + e), e != null ? x(e) || y(e) || w(e) ? { i: $, r: e, k: t, f: !!n } : e : null);
function be(e, t = null, n = null, r = 0, s = null, o = e === Zt ? 0 : 1, i = !1, l = !1) {
const u = {
__v_isVNode: !0,
__v_skip: !0,
type: e,
props: t,
key: t && nn(t),
ref: t && me(t),
scopeId: pr,
slotScopeIds: null,
children: n,
component: null,
suspense: null,
ssContent: null,
ssFallback: null,
dirs: null,
transition: null,
el: null,
anchor: null,
target: null,
targetAnchor: null,
staticCount: 0,
shapeFlag: o,
patchFlag: r,
dynamicProps: s,
dynamicChildren: null,
appContext: null,
ctx: $
};
return l ? (st(u, n), o & 128 && e.normalize(u)) : n && (u.shapeFlag |= x(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && E("VNode created with invalid key (NaN). VNode type:", u.type), // avoid a block node from tracking itself
!i && // has current parent block
V && // 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.
(u.patchFlag > 0 || o & 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.
u.patchFlag !== 32 && V.push(u), u;
}
const Mr = process.env.NODE_ENV !== "production" ? Tr : rn;
function rn(e, t = null, n = null, r = 0, s = null, o = !1) {
if ((!e || e === dr) && (process.env.NODE_ENV !== "production" && !e && E(`Invalid vnode type when creating vnode: ${e}.`), e = Ir), $r(e)) {
const l = ve(
e,
t,
!0
/* mergeRef: true */
);
return n && st(l, n), !o && V && (l.shapeFlag & 6 ? V[V.indexOf(e)] = l : V.push(l)), l.patchFlag |= -2, l;
}
if (un(e) && (e = e.__vccOpts), t) {
t = Ar(t);
let { class: l, style: u } = t;
l && !x(l) && (t.class = Je(l)), O(u) && (Le(u) && !h(u) && (u = C({}, u)), t.style = Be(u));
}
const i = x(e) ? 1 : hr(e) ? 128 : Vr(e) ? 64 : O(e) ? 4 : w(e) ? 2 : 0;
return process.env.NODE_ENV !== "production" && i & 4 && Le(e) && (e = a(e), E(
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
`
Component that was made reactive: `,
e
)), be(
e,
t,
n,
r,
s,
i,
o,
!0
);
}
function Ar(e) {
return e ? Le(e) || tn in e ? C({}, e) : e : null;
}
function ve(e, t, n = !1) {
const { props: r, ref: s, patchFlag: o, children: i } = e, l = t ? jr(r || {}, t) : r;
return {
__v_isVNode: !0,
__v_skip: !0,
type: e.type,
props: l,
key: l && nn(l),
ref: t && t.ref ? (
// #2078 in the case of <component :is="vnode" ref="extra"/>
// if the vnode itself already has a ref, cloneVNode will need to merge
// the refs so the single vnode can be set on multiple refs
n && s ? h(s) ? s.concat(me(t)) : [s, me(t)] : me(t)
) : s,
scopeId: e.scopeId,
slotScopeIds: e.slotScopeIds,
children: process.env.NODE_ENV !== "production" && o === -1 && h(i) ? i.map(sn) : i,
target: e.target,
targetAnchor: e.targetAnchor,
staticCount: e.staticCount,
shapeFlag: e.shapeFlag,
// if the vnode is cloned with extra props, we can no longer assume its
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
// note: preserve flag for fragments since they use the flag for children
// fast paths only.
patchFlag: t && e.type !== Zt ? o === -1 ? 16 : o | 16 : o,
dynamicProps: e.dynamicProps,
dynamicChildren: e.dynamicChildren,
appContext: e.appContext,
dirs: e.dirs,
transition: e.transition,
// These should technically only be non-null on mounted VNodes. However,
// they *should* be copied for kept-alive vnodes. So we just always copy
// them since them being non-null during a mount doesn't affect the logic as
// they will simply be overwritten.
component: e.component,
suspense: e.suspense,
ssContent: e.ssContent && ve(e.ssContent),
ssFallback: e.ssFallback && ve(e.ssFallback),
el: e.el,
anchor: e.anchor,
ctx: e.ctx,
ce: e.ce
};
}
function sn(e) {
const t = ve(e);
return h(e.children) && (t.children = e.children.map(sn)), t;
}
function Fr(e = " ", t = 0) {
return Mr(Cr, null, e, t);
}
function st(e, t) {
let n = 0;
const { shapeFlag: r } = e;
if (t == null)
t = null;
else if (h(t))
n = 16;
else if (typeof t == "object")
if (r & 65) {
const s = t.default;
s && (s._c && (s._d = !1), st(e, s()), s._c && (s._d = !0));
return;
} else {
n = 32;
const s = t._;
!s && !(tn in t) ? t._ctx = $ : s === 3 && $ && ($.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
}
else
w(t) ? (t = { default: t, _ctx: $ }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [Fr(t)]) : n = 8);
e.children = t, e.shapeFlag |= n;
}
function jr(...e) {
const t = {};
for (let n = 0; n < e.length; n++) {
const r = e[n];
for (const s in r)
if (s === "class")
t.class !== r.class && (t.class = Je([t.class, r.class]));
else if (s === "style")
t.style = Be([t.style, r.style]);
else if (dn(s)) {
const o = t[s], i = r[s];
i && o !== i && !(h(o) && o.includes(i)) && (t[s] = o ? [].concat(o, i) : i);
} else
s !== "" && (t[s] = r[s]);
}
return t;
}
let xe = null, Ue;
{
const e = xt(), t = (n, r) => {
let s;
return (s = e[n]) || (s = e[n] = []), s.push(r), (o) => {
s.length > 1 ? s.forEach((i) => i(o)) : s[0](o);
};
};
Ue = t(
"__VUE_INSTANCE_SETTERS__",
(n) => xe = n
), t(
"__VUE_SSR_SETTERS__",
(n) => on = n
);
}
const Lr = (e) => {
const t = xe;
return Ue(e), e.scope.on(), () => {
e.scope.off(), Ue(t);
};
};
function Hr(e) {
return e.vnode.shapeFlag & 4;
}
let on = !1;
function Kr(e) {
if (e.exposed)
return e.exposeProxy || (e.exposeProxy = new Proxy(Qn(Wn(e.exposed)), {
get(t, n) {
if (n in t)
return t[n];
if (n in re)
return re[n](e);
},
has(t, n) {
return n in t || n in re;
}
}));
}
const zr = /(?:^|[-_])(\w)/g, Ur = (e) => e.replace(zr, (t) => t.toUpperCase()).replace(/[-_]/g, "");
function cn(e, t = !0) {
return w(e) ? e.displayName || e.name : e.name || t && e.__name;
}
function ln(e, t, n = !1) {
let r = cn(t);
if (!r && t.__file) {
const s = t.__file.match(/([^/\\]+)\.\w+$/);
s && (r = s[1]);
}
if (!r && e && e.parent) {
const s = (o) => {
for (const i in o)
if (o[i] === t)
return i;
};
r = s(
e.components || e.parent.type.components
) || s(e.appContext.components);
}
return r ? Ur(r) : n ? "App" : "Anonymous";
}
function un(e) {
return w(e) && "__vccOpts" in e;
}
function $e(e) {
return !!(e && e.__v_isShallow);
}
function Wr() {
if (process.env.NODE_ENV === "production" || typeof window > "u")
return;
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" }, s = {
header(c) {
return O(c) ? c.__isVue ? ["div", e, "VueInstance"] : y(c) ? [
"div",
{},
["span", e, _(c)],
"<",
l(c.value),
">"
] : J(c) ? [
"div",
{},
["span", e, $e(c) ? "ShallowReactive" : "Reactive"],
"<",
l(c),
`>${H(c) ? " (readonly)" : ""}`
] : H(c) ? [
"div",
{},
["span", e, $e(c) ? "ShallowReadonly" : "Readonly"],
"<",
l(c),
">"
] : null : null;
},
hasBody(c) {
return c && c.__isVue;
},
body(c) {
if (c && c.__isVue)
return [
"div",
{},
...o(c.$)
];
}
};
function o(c) {
const f = [];
c.type.props && c.props && f.push(i("props", a(c.props))), c.setupState !== D && f.push(i("setup", c.setupState)), c.data !== D && f.push(i("data", a(c.data)));
const g = u(c, "computed");
g && f.push(i("computed", g));
const N = u(c, "inject");
return N && f.push(i("injected", N)), f.push([
"div",
{},
[
"span",
{
style: r.style + ";opacity:0.66"
},
"$ (internal): "
],
["object", { object: c }]
]), f;
}
function i(c, f) {
return f = C({}, f), Object.keys(f).length ? [
"div",
{ style: "line-height:1.25em;margin-bottom:0.6em" },
[
"div",
{
style: "color:#476582"
},
c
],
[
"div",
{
style: "padding-left:1.25em"
},
...Object.keys(f).map((g) => [
"div",
{},
["span", r, g + ": "],
l(f[g], !1)
])
]
] : ["span", {}];
}
function l(c, f = !0) {
return typeof c == "number" ? ["span", t, c] : typeof c == "string" ? ["span", n, JSON.stringify(c)] : typeof c == "boolean" ? ["span", r, c] : O(c) ? ["object", { object: f ? a(c) : c }] : ["span", n, String(c)];
}
function u(c, f) {
const g = c.type;
if (w(g))
return;
const N = {};
for (const I in c.ctx)
p(g, I, f) && (N[I] = c.ctx[I]);
return N;
}
function p(c, f, g) {
const N = c[g];
if (h(N) && N.includes(f) || O(N) && f in N || c.extends && p(c.extends, f, g) || c.mixins && c.mixins.some((I) => p(I, f, g)))
return !0;
}
function _(c) {
return $e(c) ? "ShallowRef" : c.effect ? "ComputedRef" : "Ref";
}
window.devtoolsFormatters ? window.devtoolsFormatters.push(s) : window.devtoolsFormatters = [s];
}
process.env.NODE_ENV;
process.env.NODE_ENV;
process.env.