Skip to content

Instantly share code, notes, and snippets.

@yooouuri
Created July 25, 2022 20:49
Show Gist options
  • Save yooouuri/b1d1706f7708865a359680bb3fdfbe0a to your computer and use it in GitHub Desktop.
Save yooouuri/b1d1706f7708865a359680bb3fdfbe0a to your computer and use it in GitHub Desktop.
vite-plugin-electron build
"use strict";
const Wn = {};
function wn(e, t) {
const n = Object.create(null),
s = e.split(",");
for (let r = 0; r < s.length; r++) n[s[r]] = !0;
return t ? (r) => !!n[r.toLowerCase()] : (r) => !!n[r];
}
const vr = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",
Or = wn(vr);
function ws(e) {
return !!e || e === "";
}
function Tn(e) {
if (I(e)) {
const t = {};
for (let n = 0; n < e.length; n++) {
const s = e[n],
r = X(s) ? Fr(s) : Tn(s);
if (r) for (const i in r) t[i] = r[i];
}
return t;
} else {
if (X(e)) return e;
if (Z(e)) return e;
}
}
const Ar = /;(?![^(]*\))/g,
Ir = /:(.+)/;
function Fr(e) {
const t = {};
return (
e.split(Ar).forEach((n) => {
if (n) {
const s = n.split(Ir);
s.length > 1 && (t[s[0].trim()] = s[1].trim());
}
}),
t
);
}
function vn(e) {
let t = "";
if (X(e)) t = e;
else if (I(e))
for (let n = 0; n < e.length; n++) {
const s = vn(e[n]);
s && (t += s + " ");
}
else if (Z(e)) for (const n in e) e[n] && (t += n + " ");
return t.trim();
}
const Yn = (e) => (X(e) ? e : e == null ? "" : I(e) || (Z(e) && (e.toString === As || !F(e.toString))) ? JSON.stringify(e, Ts, 2) : String(e)),
Ts = (e, t) =>
t && t.__v_isRef ? Ts(e, t.value) : tt(t) ? { [`Map(${t.size})`]: [...t.entries()].reduce((n, [s, r]) => ((n[`${s} =>`] = r), n), {}) } : vs(t) ? { [`Set(${t.size})`]: [...t.values()] } : Z(t) && !I(t) && !Is(t) ? String(t) : t,
U = {},
et = [],
me = () => {},
Pr = () => !1,
Mr = /^on[^a-z]/,
Ht = (e) => Mr.test(e),
On = (e) => e.startsWith("onUpdate:"),
G = Object.assign,
An = (e, t) => {
const n = e.indexOf(t);
n > -1 && e.splice(n, 1);
},
Rr = Object.prototype.hasOwnProperty,
M = (e, t) => Rr.call(e, t),
I = Array.isArray,
tt = (e) => jt(e) === "[object Map]",
vs = (e) => jt(e) === "[object Set]",
F = (e) => typeof e == "function",
X = (e) => typeof e == "string",
In = (e) => typeof e == "symbol",
Z = (e) => e !== null && typeof e == "object",
Os = (e) => Z(e) && F(e.then) && F(e.catch),
As = Object.prototype.toString,
jt = (e) => As.call(e),
Nr = (e) => jt(e).slice(8, -1),
Is = (e) => jt(e) === "[object Object]",
Fn = (e) => X(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e,
It = wn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),
Bt = (e) => {
const t = Object.create(null);
return (n) => t[n] || (t[n] = e(n));
},
Lr = /-(\w)/g,
st = Bt((e) => e.replace(Lr, (t, n) => (n ? n.toUpperCase() : ""))),
Sr = /\B([A-Z])/g,
it = Bt((e) => e.replace(Sr, "-$1").toLowerCase()),
Fs = Bt((e) => e.charAt(0).toUpperCase() + e.slice(1)),
Qt = Bt((e) => (e ? `on${Fs(e)}` : "")),
gt = (e, t) => !Object.is(e, t),
Gt = (e, t) => {
for (let n = 0; n < e.length; n++) e[n](t);
},
Mt = (e, t, n) => {
Object.defineProperty(e, t, { configurable: !0, enumerable: !1, value: n });
},
Hr = (e) => {
const t = parseFloat(e);
return isNaN(t) ? e : t;
};
let Xn;
const jr = () => Xn || (Xn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
let xe;
class Br {
constructor(t = !1) {
(this.active = !0), (this.effects = []), (this.cleanups = []), !t && xe && ((this.parent = xe), (this.index = (xe.scopes || (xe.scopes = [])).push(this) - 1));
}
run(t) {
if (this.active) {
const n = xe;
try {
return (xe = this), t();
} finally {
xe = n;
}
}
}
on() {
xe = this;
}
off() {
xe = this.parent;
}
stop(t) {
if (this.active) {
let n, s;
for (n = 0, s = this.effects.length; n < s; n++) this.effects[n].stop();
for (n = 0, s = this.cleanups.length; n < s; n++) this.cleanups[n]();
if (this.scopes) for (n = 0, s = this.scopes.length; n < s; n++) this.scopes[n].stop(!0);
if (this.parent && !t) {
const r = this.parent.scopes.pop();
r && r !== this && ((this.parent.scopes[this.index] = r), (r.index = this.index));
}
this.active = !1;
}
}
}
function $r(e, t = xe) {
t && t.active && t.effects.push(e);
}
const Pn = (e) => {
const t = new Set(e);
return (t.w = 0), (t.n = 0), t;
},
Ps = (e) => (e.w & je) > 0,
Ms = (e) => (e.n & je) > 0,
Ur = ({ deps: e }) => {
if (e.length) for (let t = 0; t < e.length; t++) e[t].w |= je;
},
Dr = (e) => {
const { deps: t } = e;
if (t.length) {
let n = 0;
for (let s = 0; s < t.length; s++) {
const r = t[s];
Ps(r) && !Ms(r) ? r.delete(e) : (t[n++] = r), (r.w &= ~je), (r.n &= ~je);
}
t.length = n;
}
},
ln = new WeakMap();
let ut = 0,
je = 1;
const cn = 30;
let pe;
const ze = Symbol(""),
fn = Symbol("");
class Mn {
constructor(t, n = null, s) {
(this.fn = t), (this.scheduler = n), (this.active = !0), (this.deps = []), (this.parent = void 0), $r(this, s);
}
run() {
if (!this.active) return this.fn();
let t = pe,
n = Le;
for (; t; ) {
if (t === this) return;
t = t.parent;
}
try {
return (this.parent = pe), (pe = this), (Le = !0), (je = 1 << ++ut), ut <= cn ? Ur(this) : Zn(this), this.fn();
} finally {
ut <= cn && Dr(this), (je = 1 << --ut), (pe = this.parent), (Le = n), (this.parent = void 0), this.deferStop && this.stop();
}
}
stop() {
pe === this ? (this.deferStop = !0) : this.active && (Zn(this), this.onStop && this.onStop(), (this.active = !1));
}
}
function Zn(e) {
const { deps: t } = e;
if (t.length) {
for (let n = 0; n < t.length; n++) t[n].delete(e);
t.length = 0;
}
}
let Le = !0;
const Rs = [];
function ot() {
Rs.push(Le), (Le = !1);
}
function lt() {
const e = Rs.pop();
Le = e === void 0 ? !0 : e;
}
function le(e, t, n) {
if (Le && pe) {
let s = ln.get(e);
s || ln.set(e, (s = new Map()));
let r = s.get(n);
r || s.set(n, (r = Pn())), Ns(r);
}
}
function Ns(e, t) {
let n = !1;
ut <= cn ? Ms(e) || ((e.n |= je), (n = !Ps(e))) : (n = !e.has(pe)), n && (e.add(pe), pe.deps.push(e));
}
function Ie(e, t, n, s, r, i) {
const o = ln.get(e);
if (!o) return;
let c = [];
if (t === "clear") c = [...o.values()];
else if (n === "length" && I(e))
o.forEach((u, d) => {
(d === "length" || d >= s) && c.push(u);
});
else
switch ((n !== void 0 && c.push(o.get(n)), t)) {
case "add":
I(e) ? Fn(n) && c.push(o.get("length")) : (c.push(o.get(ze)), tt(e) && c.push(o.get(fn)));
break;
case "delete":
I(e) || (c.push(o.get(ze)), tt(e) && c.push(o.get(fn)));
break;
case "set":
tt(e) && c.push(o.get(ze));
break;
}
if (c.length === 1) c[0] && un(c[0]);
else {
const u = [];
for (const d of c) d && u.push(...d);
un(Pn(u));
}
}
function un(e, t) {
const n = I(e) ? e : [...e];
for (const s of n) s.computed && Qn(s);
for (const s of n) s.computed || Qn(s);
}
function Qn(e, t) {
(e !== pe || e.allowRecurse) && (e.scheduler ? e.scheduler() : e.run());
}
const Kr = wn("__proto__,__v_isRef,__isVue"),
Ls = new Set(
Object.getOwnPropertyNames(Symbol)
.filter((e) => e !== "arguments" && e !== "caller")
.map((e) => Symbol[e])
.filter(In)
),
Wr = Rn(),
kr = Rn(!1, !0),
zr = Rn(!0),
Gn = qr();
function qr() {
const e = {};
return (
["includes", "indexOf", "lastIndexOf"].forEach((t) => {
e[t] = function (...n) {
const s = H(this);
for (let i = 0, o = this.length; i < o; i++) le(s, "get", i + "");
const r = s[t](...n);
return r === -1 || r === !1 ? s[t](...n.map(H)) : r;
};
}),
["push", "pop", "shift", "unshift", "splice"].forEach((t) => {
e[t] = function (...n) {
ot();
const s = H(this)[t].apply(this, n);
return lt(), s;
};
}),
e
);
}
function Rn(e = !1, t = !1) {
return function (s, r, i) {
if (r === "__v_isReactive") return !e;
if (r === "__v_isReadonly") return e;
if (r === "__v_isShallow") return t;
if (r === "__v_raw" && i === (e ? (t ? ci : $s) : t ? Bs : js).get(s)) return s;
const o = I(s);
if (!e && o && M(Gn, r)) return Reflect.get(Gn, r, i);
const c = Reflect.get(s, r, i);
return (In(r) ? Ls.has(r) : Kr(r)) || (e || le(s, "get", r), t) ? c : Q(c) ? (o && Fn(r) ? c : c.value) : Z(c) ? (e ? Us(c) : Sn(c)) : c;
};
}
const Vr = Ss(),
Jr = Ss(!0);
function Ss(e = !1) {
return function (n, s, r, i) {
let o = n[s];
if (mt(o) && Q(o) && !Q(r)) return !1;
if (!e && !mt(r) && (an(r) || ((r = H(r)), (o = H(o))), !I(n) && Q(o) && !Q(r))) return (o.value = r), !0;
const c = I(n) && Fn(s) ? Number(s) < n.length : M(n, s),
u = Reflect.set(n, s, r, i);
return n === H(i) && (c ? gt(r, o) && Ie(n, "set", s, r) : Ie(n, "add", s, r)), u;
};
}
function Yr(e, t) {
const n = M(e, t);
e[t];
const s = Reflect.deleteProperty(e, t);
return s && n && Ie(e, "delete", t, void 0), s;
}
function Xr(e, t) {
const n = Reflect.has(e, t);
return (!In(t) || !Ls.has(t)) && le(e, "has", t), n;
}
function Zr(e) {
return le(e, "iterate", I(e) ? "length" : ze), Reflect.ownKeys(e);
}
const Hs = { get: Wr, set: Vr, deleteProperty: Yr, has: Xr, ownKeys: Zr },
Qr = {
get: zr,
set(e, t) {
return !0;
},
deleteProperty(e, t) {
return !0;
},
},
Gr = G({}, Hs, { get: kr, set: Jr }),
Nn = (e) => e,
$t = (e) => Reflect.getPrototypeOf(e);
function wt(e, t, n = !1, s = !1) {
e = e.__v_raw;
const r = H(e),
i = H(t);
n || (t !== i && le(r, "get", t), le(r, "get", i));
const { has: o } = $t(r),
c = s ? Nn : n ? jn : _t;
if (o.call(r, t)) return c(e.get(t));
if (o.call(r, i)) return c(e.get(i));
e !== r && e.get(t);
}
function Tt(e, t = !1) {
const n = this.__v_raw,
s = H(n),
r = H(e);
return t || (e !== r && le(s, "has", e), le(s, "has", r)), e === r ? n.has(e) : n.has(e) || n.has(r);
}
function vt(e, t = !1) {
return (e = e.__v_raw), !t && le(H(e), "iterate", ze), Reflect.get(e, "size", e);
}
function es(e) {
e = H(e);
const t = H(this);
return $t(t).has.call(t, e) || (t.add(e), Ie(t, "add", e, e)), this;
}
function ts(e, t) {
t = H(t);
const n = H(this),
{ has: s, get: r } = $t(n);
let i = s.call(n, e);
i || ((e = H(e)), (i = s.call(n, e)));
const o = r.call(n, e);
return n.set(e, t), i ? gt(t, o) && Ie(n, "set", e, t) : Ie(n, "add", e, t), this;
}
function ns(e) {
const t = H(this),
{ has: n, get: s } = $t(t);
let r = n.call(t, e);
r || ((e = H(e)), (r = n.call(t, e))), s && s.call(t, e);
const i = t.delete(e);
return r && Ie(t, "delete", e, void 0), i;
}
function ss() {
const e = H(this),
t = e.size !== 0,
n = e.clear();
return t && Ie(e, "clear", void 0, void 0), n;
}
function Ot(e, t) {
return function (s, r) {
const i = this,
o = i.__v_raw,
c = H(o),
u = t ? Nn : e ? jn : _t;
return !e && le(c, "iterate", ze), o.forEach((d, m) => s.call(r, u(d), u(m), i));
};
}
function At(e, t, n) {
return function (...s) {
const r = this.__v_raw,
i = H(r),
o = tt(i),
c = e === "entries" || (e === Symbol.iterator && o),
u = e === "keys" && o,
d = r[e](...s),
m = n ? Nn : t ? jn : _t;
return (
!t && le(i, "iterate", u ? fn : ze),
{
next() {
const { value: y, done: E } = d.next();
return E ? { value: y, done: E } : { value: c ? [m(y[0]), m(y[1])] : m(y), done: E };
},
[Symbol.iterator]() {
return this;
},
}
);
};
}
function Me(e) {
return function (...t) {
return e === "delete" ? !1 : this;
};
}
function ei() {
const e = {
get(i) {
return wt(this, i);
},
get size() {
return vt(this);
},
has: Tt,
add: es,
set: ts,
delete: ns,
clear: ss,
forEach: Ot(!1, !1),
},
t = {
get(i) {
return wt(this, i, !1, !0);
},
get size() {
return vt(this);
},
has: Tt,
add: es,
set: ts,
delete: ns,
clear: ss,
forEach: Ot(!1, !0),
},
n = {
get(i) {
return wt(this, i, !0);
},
get size() {
return vt(this, !0);
},
has(i) {
return Tt.call(this, i, !0);
},
add: Me("add"),
set: Me("set"),
delete: Me("delete"),
clear: Me("clear"),
forEach: Ot(!0, !1),
},
s = {
get(i) {
return wt(this, i, !0, !0);
},
get size() {
return vt(this, !0);
},
has(i) {
return Tt.call(this, i, !0);
},
add: Me("add"),
set: Me("set"),
delete: Me("delete"),
clear: Me("clear"),
forEach: Ot(!0, !0),
};
return (
["keys", "values", "entries", Symbol.iterator].forEach((i) => {
(e[i] = At(i, !1, !1)), (n[i] = At(i, !0, !1)), (t[i] = At(i, !1, !0)), (s[i] = At(i, !0, !0));
}),
[e, n, t, s]
);
}
const [ti, ni, si, ri] = ei();
function Ln(e, t) {
const n = t ? (e ? ri : si) : e ? ni : ti;
return (s, r, i) => (r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? s : Reflect.get(M(n, r) && r in s ? n : s, r, i));
}
const ii = { get: Ln(!1, !1) },
oi = { get: Ln(!1, !0) },
li = { get: Ln(!0, !1) },
js = new WeakMap(),
Bs = new WeakMap(),
$s = new WeakMap(),
ci = new WeakMap();
function fi(e) {
switch (e) {
case "Object":
case "Array":
return 1;
case "Map":
case "Set":
case "WeakMap":
case "WeakSet":
return 2;
default:
return 0;
}
}
function ui(e) {
return e.__v_skip || !Object.isExtensible(e) ? 0 : fi(Nr(e));
}
function Sn(e) {
return mt(e) ? e : Hn(e, !1, Hs, ii, js);
}
function ai(e) {
return Hn(e, !1, Gr, oi, Bs);
}
function Us(e) {
return Hn(e, !0, Qr, li, $s);
}
function Hn(e, t, n, s, r) {
if (!Z(e) || (e.__v_raw && !(t && e.__v_isReactive))) return e;
const i = r.get(e);
if (i) return i;
const o = ui(e);
if (o === 0) return e;
const c = new Proxy(e, o === 2 ? s : n);
return r.set(e, c), c;
}
function nt(e) {
return mt(e) ? nt(e.__v_raw) : !!(e && e.__v_isReactive);
}
function mt(e) {
return !!(e && e.__v_isReadonly);
}
function an(e) {
return !!(e && e.__v_isShallow);
}
function Ds(e) {
return nt(e) || mt(e);
}
function H(e) {
const t = e && e.__v_raw;
return t ? H(t) : e;
}
function Ks(e) {
return Mt(e, "__v_skip", !0), e;
}
const _t = (e) => (Z(e) ? Sn(e) : e),
jn = (e) => (Z(e) ? Us(e) : e);
function Ws(e) {
Le && pe && ((e = H(e)), Ns(e.dep || (e.dep = Pn())));
}
function ks(e, t) {
(e = H(e)), e.dep && un(e.dep);
}
function Q(e) {
return !!(e && e.__v_isRef === !0);
}
function di(e) {
return hi(e, !1);
}
function hi(e, t) {
return Q(e) ? e : new pi(e, t);
}
class pi {
constructor(t, n) {
(this.__v_isShallow = n), (this.dep = void 0), (this.__v_isRef = !0), (this._rawValue = n ? t : H(t)), (this._value = n ? t : _t(t));
}
get value() {
return Ws(this), this._value;
}
set value(t) {
(t = this.__v_isShallow ? t : H(t)), gt(t, this._rawValue) && ((this._rawValue = t), (this._value = this.__v_isShallow ? t : _t(t)), ks(this));
}
}
function gi(e) {
return Q(e) ? e.value : e;
}
const mi = {
get: (e, t, n) => gi(Reflect.get(e, t, n)),
set: (e, t, n, s) => {
const r = e[t];
return Q(r) && !Q(n) ? ((r.value = n), !0) : Reflect.set(e, t, n, s);
},
};
function zs(e) {
return nt(e) ? e : new Proxy(e, mi);
}
class _i {
constructor(t, n, s, r) {
(this._setter = n),
(this.dep = void 0),
(this.__v_isRef = !0),
(this._dirty = !0),
(this.effect = new Mn(t, () => {
this._dirty || ((this._dirty = !0), ks(this));
})),
(this.effect.computed = this),
(this.effect.active = this._cacheable = !r),
(this.__v_isReadonly = s);
}
get value() {
const t = H(this);
return Ws(t), (t._dirty || !t._cacheable) && ((t._dirty = !1), (t._value = t.effect.run())), t._value;
}
set value(t) {
this._setter(t);
}
}
function bi(e, t, n = !1) {
let s, r;
const i = F(e);
return i ? ((s = e), (r = me)) : ((s = e.get), (r = e.set)), new _i(s, r, i || !r, n);
}
function Se(e, t, n, s) {
let r;
try {
r = s ? e(...s) : e();
} catch (i) {
Ut(i, t, n);
}
return r;
}
function ae(e, t, n, s) {
if (F(e)) {
const i = Se(e, t, n, s);
return (
i &&
Os(i) &&
i.catch((o) => {
Ut(o, t, n);
}),
i
);
}
const r = [];
for (let i = 0; i < e.length; i++) r.push(ae(e[i], t, n, s));
return r;
}
function Ut(e, t, n, s = !0) {
const r = t ? t.vnode : null;
if (t) {
let i = t.parent;
const o = t.proxy,
c = n;
for (; i; ) {
const d = i.ec;
if (d) {
for (let m = 0; m < d.length; m++) if (d[m](e, o, c) === !1) return;
}
i = i.parent;
}
const u = t.appContext.config.errorHandler;
if (u) {
Se(u, null, 10, [e, o, c]);
return;
}
}
xi(e, n, r, s);
}
function xi(e, t, n, s = !0) {
console.error(e);
}
let Rt = !1,
dn = !1;
const oe = [];
let Oe = 0;
const dt = [];
let at = null,
Ze = 0;
const ht = [];
let Re = null,
Qe = 0;
const qs = Promise.resolve();
let Bn = null,
hn = null;
function yi(e) {
const t = Bn || qs;
return e ? t.then(this ? e.bind(this) : e) : t;
}
function Ci(e) {
let t = Oe + 1,
n = oe.length;
for (; t < n; ) {
const s = (t + n) >>> 1;
bt(oe[s]) < e ? (t = s + 1) : (n = s);
}
return t;
}
function Vs(e) {
(!oe.length || !oe.includes(e, Rt && e.allowRecurse ? Oe + 1 : Oe)) && e !== hn && (e.id == null ? oe.push(e) : oe.splice(Ci(e.id), 0, e), Js());
}
function Js() {
!Rt && !dn && ((dn = !0), (Bn = qs.then(Zs)));
}
function Ei(e) {
const t = oe.indexOf(e);
t > Oe && oe.splice(t, 1);
}
function Ys(e, t, n, s) {
I(e) ? n.push(...e) : (!t || !t.includes(e, e.allowRecurse ? s + 1 : s)) && n.push(e), Js();
}
function wi(e) {
Ys(e, at, dt, Ze);
}
function Ti(e) {
Ys(e, Re, ht, Qe);
}
function Dt(e, t = null) {
if (dt.length) {
for (hn = t, at = [...new Set(dt)], dt.length = 0, Ze = 0; Ze < at.length; Ze++) at[Ze]();
(at = null), (Ze = 0), (hn = null), Dt(e, t);
}
}
function Xs(e) {
if ((Dt(), ht.length)) {
const t = [...new Set(ht)];
if (((ht.length = 0), Re)) {
Re.push(...t);
return;
}
for (Re = t, Re.sort((n, s) => bt(n) - bt(s)), Qe = 0; Qe < Re.length; Qe++) Re[Qe]();
(Re = null), (Qe = 0);
}
}
const bt = (e) => (e.id == null ? 1 / 0 : e.id);
function Zs(e) {
(dn = !1), (Rt = !0), Dt(e), oe.sort((n, s) => bt(n) - bt(s));
const t = me;
try {
for (Oe = 0; Oe < oe.length; Oe++) {
const n = oe[Oe];
n && n.active !== !1 && Se(n, null, 14);
}
} finally {
(Oe = 0), (oe.length = 0), Xs(), (Rt = !1), (Bn = null), (oe.length || dt.length || ht.length) && Zs(e);
}
}
function vi(e, t, ...n) {
if (e.isUnmounted) return;
const s = e.vnode.props || U;
let r = n;
const i = t.startsWith("update:"),
o = i && t.slice(7);
if (o && o in s) {
const m = `${o === "modelValue" ? "model" : o}Modifiers`,
{ number: y, trim: E } = s[m] || U;
E && (r = n.map((O) => O.trim())), y && (r = n.map(Hr));
}
let c,
u = s[(c = Qt(t))] || s[(c = Qt(st(t)))];
!u && i && (u = s[(c = Qt(it(t)))]), u && ae(u, e, 6, r);
const d = s[c + "Once"];
if (d) {
if (!e.emitted) e.emitted = {};
else if (e.emitted[c]) return;
(e.emitted[c] = !0), ae(d, e, 6, r);
}
}
function Qs(e, t, n = !1) {
const s = t.emitsCache,
r = s.get(e);
if (r !== void 0) return r;
const i = e.emits;
let o = {},
c = !1;
if (!F(e)) {
const u = (d) => {
const m = Qs(d, t, !0);
m && ((c = !0), G(o, m));
};
!n && t.mixins.length && t.mixins.forEach(u), e.extends && u(e.extends), e.mixins && e.mixins.forEach(u);
}
return !i && !c ? (s.set(e, null), null) : (I(i) ? i.forEach((u) => (o[u] = null)) : G(o, i), s.set(e, o), o);
}
function Kt(e, t) {
return !e || !Ht(t) ? !1 : ((t = t.slice(2).replace(/Once$/, "")), M(e, t[0].toLowerCase() + t.slice(1)) || M(e, it(t)) || M(e, t));
}
let Ce = null,
Wt = null;
function Nt(e) {
const t = Ce;
return (Ce = e), (Wt = (e && e.type.__scopeId) || null), t;
}
function Oi(e) {
Wt = e;
}
function Ai() {
Wt = null;
}
function Ii(e, t = Ce, n) {
if (!t || e._n) return e;
const s = (...r) => {
s._d && hs(-1);
const i = Nt(t),
o = e(...r);
return Nt(i), s._d && hs(1), o;
};
return (s._n = !0), (s._c = !0), (s._d = !0), s;
}
function en(e) {
const {
type: t,
vnode: n,
proxy: s,
withProxy: r,
props: i,
propsOptions: [o],
slots: c,
attrs: u,
emit: d,
render: m,
renderCache: y,
data: E,
setupState: O,
ctx: j,
inheritAttrs: S,
} = e;
let P, R;
const ce = Nt(e);
try {
if (n.shapeFlag & 4) {
const q = r || s;
(P = ye(m.call(q, q, y, i, O, E, j))), (R = u);
} else {
const q = t;
(P = ye(q.length > 1 ? q(i, { attrs: u, slots: c, emit: d }) : q(i, null))), (R = t.props ? u : Fi(u));
}
} catch (q) {
(pt.length = 0), Ut(q, e, 1), (P = He(Ae));
}
let J = P;
if (R && S !== !1) {
const q = Object.keys(R),
{ shapeFlag: te } = J;
q.length && te & 7 && (o && q.some(On) && (R = Pi(R, o)), (J = Be(J, R)));
}
return n.dirs && ((J = Be(J)), (J.dirs = J.dirs ? J.dirs.concat(n.dirs) : n.dirs)), n.transition && (J.transition = n.transition), (P = J), Nt(ce), P;
}
const Fi = (e) => {
let t;
for (const n in e) (n === "class" || n === "style" || Ht(n)) && ((t || (t = {}))[n] = e[n]);
return t;
},
Pi = (e, t) => {
const n = {};
for (const s in e) (!On(s) || !(s.slice(9) in t)) && (n[s] = e[s]);
return n;
};
function Mi(e, t, n) {
const { props: s, children: r, component: i } = e,
{ props: o, children: c, patchFlag: u } = t,
d = i.emitsOptions;
if (t.dirs || t.transition) return !0;
if (n && u >= 0) {
if (u & 1024) return !0;
if (u & 16) return s ? rs(s, o, d) : !!o;
if (u & 8) {
const m = t.dynamicProps;
for (let y = 0; y < m.length; y++) {
const E = m[y];
if (o[E] !== s[E] && !Kt(d, E)) return !0;
}
}
} else return (r || c) && (!c || !c.$stable) ? !0 : s === o ? !1 : s ? (o ? rs(s, o, d) : !0) : !!o;
return !1;
}
function rs(e, t, n) {
const s = Object.keys(t);
if (s.length !== Object.keys(e).length) return !0;
for (let r = 0; r < s.length; r++) {
const i = s[r];
if (t[i] !== e[i] && !Kt(n, i)) return !0;
}
return !1;
}
function Ri({ vnode: e, parent: t }, n) {
for (; t && t.subTree === e; ) ((e = t.vnode).el = n), (t = t.parent);
}
const Ni = (e) => e.__isSuspense;
function Li(e, t) {
t && t.pendingBranch ? (I(e) ? t.effects.push(...e) : t.effects.push(e)) : Ti(e);
}
function Si(e, t) {
if (Y) {
let n = Y.provides;
const s = Y.parent && Y.parent.provides;
s === n && (n = Y.provides = Object.create(s)), (n[e] = t);
}
}
function tn(e, t, n = !1) {
const s = Y || Ce;
if (s) {
const r = s.parent == null ? s.vnode.appContext && s.vnode.appContext.provides : s.parent.provides;
if (r && e in r) return r[e];
if (arguments.length > 1) return n && F(t) ? t.call(s.proxy) : t;
}
}
const is = {};
function nn(e, t, n) {
return Gs(e, t, n);
}
function Gs(e, t, { immediate: n, deep: s, flush: r, onTrack: i, onTrigger: o } = U) {
const c = Y;
let u,
d = !1,
m = !1;
if (
(Q(e)
? ((u = () => e.value), (d = an(e)))
: nt(e)
? ((u = () => e), (s = !0))
: I(e)
? ((m = !0),
(d = e.some((R) => nt(R) || an(R))),
(u = () =>
e.map((R) => {
if (Q(R)) return R.value;
if (nt(R)) return Ge(R);
if (F(R)) return Se(R, c, 2);
})))
: F(e)
? t
? (u = () => Se(e, c, 2))
: (u = () => {
if (!(c && c.isUnmounted)) return y && y(), ae(e, c, 3, [E]);
})
: (u = me),
t && s)
) {
const R = u;
u = () => Ge(R());
}
let y,
E = (R) => {
y = P.onStop = () => {
Se(R, c, 4);
};
};
if (yt) return (E = me), t ? n && ae(t, c, 3, [u(), m ? [] : void 0, E]) : u(), me;
let O = m ? [] : is;
const j = () => {
if (!!P.active)
if (t) {
const R = P.run();
(s || d || (m ? R.some((ce, J) => gt(ce, O[J])) : gt(R, O))) && (y && y(), ae(t, c, 3, [R, O === is ? void 0 : O, E]), (O = R));
} else P.run();
};
j.allowRecurse = !!t;
let S;
r === "sync" ? (S = j) : r === "post" ? (S = () => re(j, c && c.suspense)) : (S = () => wi(j));
const P = new Mn(u, S);
return (
t ? (n ? j() : (O = P.run())) : r === "post" ? re(P.run.bind(P), c && c.suspense) : P.run(),
() => {
P.stop(), c && c.scope && An(c.scope.effects, P);
}
);
}
function Hi(e, t, n) {
const s = this.proxy,
r = X(e) ? (e.includes(".") ? er(s, e) : () => s[e]) : e.bind(s, s);
let i;
F(t) ? (i = t) : ((i = t.handler), (n = t));
const o = Y;
rt(this);
const c = Gs(r, i.bind(s), n);
return o ? rt(o) : qe(), c;
}
function er(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;
};
}
function Ge(e, t) {
if (!Z(e) || e.__v_skip || ((t = t || new Set()), t.has(e))) return e;
if ((t.add(e), Q(e))) Ge(e.value, t);
else if (I(e)) for (let n = 0; n < e.length; n++) Ge(e[n], t);
else if (vs(e) || tt(e))
e.forEach((n) => {
Ge(n, t);
});
else if (Is(e)) for (const n in e) Ge(e[n], t);
return e;
}
function ji() {
const e = { isMounted: !1, isLeaving: !1, isUnmounting: !1, leavingVNodes: new Map() };
return (
ir(() => {
e.isMounted = !0;
}),
or(() => {
e.isUnmounting = !0;
}),
e
);
}
const fe = [Function, Array],
Bi = {
name: "BaseTransition",
props: {
mode: String,
appear: Boolean,
persisted: Boolean,
onBeforeEnter: fe,
onEnter: fe,
onAfterEnter: fe,
onEnterCancelled: fe,
onBeforeLeave: fe,
onLeave: fe,
onAfterLeave: fe,
onLeaveCancelled: fe,
onBeforeAppear: fe,
onAppear: fe,
onAfterAppear: fe,
onAppearCancelled: fe,
},
setup(e, { slots: t }) {
const n = To(),
s = ji();
let r;
return () => {
const i = t.default && nr(t.default(), !0);
if (!i || !i.length) return;
let o = i[0];
if (i.length > 1) {
for (const S of i)
if (S.type !== Ae) {
o = S;
break;
}
}
const c = H(e),
{ mode: u } = c;
if (s.isLeaving) return sn(o);
const d = os(o);
if (!d) return sn(o);
const m = pn(d, c, s, n);
gn(d, m);
const y = n.subTree,
E = y && os(y);
let O = !1;
const { getTransitionKey: j } = d.type;
if (j) {
const S = j();
r === void 0 ? (r = S) : S !== r && ((r = S), (O = !0));
}
if (E && E.type !== Ae && (!We(d, E) || O)) {
const S = pn(E, c, s, n);
if ((gn(E, S), u === "out-in"))
return (
(s.isLeaving = !0),
(S.afterLeave = () => {
(s.isLeaving = !1), n.update();
}),
sn(o)
);
u === "in-out" &&
d.type !== Ae &&
(S.delayLeave = (P, R, ce) => {
const J = tr(s, E);
(J[String(E.key)] = E),
(P._leaveCb = () => {
R(), (P._leaveCb = void 0), delete m.delayedLeave;
}),
(m.delayedLeave = ce);
});
}
return o;
};
},
},
$i = Bi;
function tr(e, t) {
const { leavingVNodes: n } = e;
let s = n.get(t.type);
return s || ((s = Object.create(null)), n.set(t.type, s)), s;
}
function pn(e, t, n, s) {
const {
appear: r,
mode: i,
persisted: o = !1,
onBeforeEnter: c,
onEnter: u,
onAfterEnter: d,
onEnterCancelled: m,
onBeforeLeave: y,
onLeave: E,
onAfterLeave: O,
onLeaveCancelled: j,
onBeforeAppear: S,
onAppear: P,
onAfterAppear: R,
onAppearCancelled: ce,
} = t,
J = String(e.key),
q = tr(n, e),
te = (N, k) => {
N && ae(N, s, 9, k);
},
Ve = (N, k) => {
const V = k[1];
te(N, k), I(N) ? N.every((ne) => ne.length <= 1) && V() : N.length <= 1 && V();
},
$e = {
mode: i,
persisted: o,
beforeEnter(N) {
let k = c;
if (!n.isMounted)
if (r) k = S || c;
else return;
N._leaveCb && N._leaveCb(!0);
const V = q[J];
V && We(e, V) && V.el._leaveCb && V.el._leaveCb(), te(k, [N]);
},
enter(N) {
let k = u,
V = d,
ne = m;
if (!n.isMounted)
if (r) (k = P || u), (V = R || d), (ne = ce || m);
else return;
let de = !1;
const we = (N._enterCb = (Ct) => {
de || ((de = !0), Ct ? te(ne, [N]) : te(V, [N]), $e.delayedLeave && $e.delayedLeave(), (N._enterCb = void 0));
});
k ? Ve(k, [N, we]) : we();
},
leave(N, k) {
const V = String(e.key);
if ((N._enterCb && N._enterCb(!0), n.isUnmounting)) return k();
te(y, [N]);
let ne = !1;
const de = (N._leaveCb = (we) => {
ne || ((ne = !0), k(), we ? te(j, [N]) : te(O, [N]), (N._leaveCb = void 0), q[V] === e && delete q[V]);
});
(q[V] = e), E ? Ve(E, [N, de]) : de();
},
clone(N) {
return pn(N, t, n, s);
},
};
return $e;
}
function sn(e) {
if (kt(e)) return (e = Be(e)), (e.children = null), e;
}
function os(e) {
return kt(e) ? (e.children ? e.children[0] : void 0) : e;
}
function gn(e, t) {
e.shapeFlag & 6 && e.component ? gn(e.component.subTree, t) : e.shapeFlag & 128 ? ((e.ssContent.transition = t.clone(e.ssContent)), (e.ssFallback.transition = t.clone(e.ssFallback))) : (e.transition = t);
}
function nr(e, t = !1, n) {
let s = [],
r = 0;
for (let i = 0; i < e.length; i++) {
let o = e[i];
const c = n == null ? o.key : String(n) + String(o.key != null ? o.key : i);
o.type === ue ? (o.patchFlag & 128 && r++, (s = s.concat(nr(o.children, t, c)))) : (t || o.type !== Ae) && s.push(c != null ? Be(o, { key: c }) : o);
}
if (r > 1) for (let i = 0; i < s.length; i++) s[i].patchFlag = -2;
return s;
}
function sr(e) {
return F(e) ? { setup: e, name: e.name } : e;
}
const Ft = (e) => !!e.type.__asyncLoader,
kt = (e) => e.type.__isKeepAlive;
function Ui(e, t) {
rr(e, "a", t);
}
function Di(e, t) {
rr(e, "da", t);
}
function rr(e, t, n = Y) {
const s =
e.__wdc ||
(e.__wdc = () => {
let r = n;
for (; r; ) {
if (r.isDeactivated) return;
r = r.parent;
}
return e();
});
if ((zt(t, s, n), n)) {
let r = n.parent;
for (; r && r.parent; ) kt(r.parent.vnode) && Ki(s, t, n, r), (r = r.parent);
}
}
function Ki(e, t, n, s) {
const r = zt(t, e, s, !0);
lr(() => {
An(s[t], r);
}, n);
}
function zt(e, t, n = Y, s = !1) {
if (n) {
const r = n[e] || (n[e] = []),
i =
t.__weh ||
(t.__weh = (...o) => {
if (n.isUnmounted) return;
ot(), rt(n);
const c = ae(t, n, e, o);
return qe(), lt(), c;
});
return s ? r.unshift(i) : r.push(i), i;
}
}
const Fe = (e) => (t, n = Y) => (!yt || e === "sp") && zt(e, t, n),
Wi = Fe("bm"),
ir = Fe("m"),
ki = Fe("bu"),
zi = Fe("u"),
or = Fe("bum"),
lr = Fe("um"),
qi = Fe("sp"),
Vi = Fe("rtg"),
Ji = Fe("rtc");
function Yi(e, t = Y) {
zt("ec", e, t);
}
function Ue(e, t, n, s) {
const r = e.dirs,
i = t && t.dirs;
for (let o = 0; o < r.length; o++) {
const c = r[o];
i && (c.oldValue = i[o].value);
let u = c.dir[s];
u && (ot(), ae(u, n, 8, [e.el, c, e, t]), lt());
}
}
const Xi = Symbol(),
mn = (e) => (e ? (yr(e) ? Kn(e) || e.proxy : mn(e.parent)) : null),
Lt = G(Object.create(null), {
$: (e) => e,
$el: (e) => e.vnode.el,
$data: (e) => e.data,
$props: (e) => e.props,
$attrs: (e) => e.attrs,
$slots: (e) => e.slots,
$refs: (e) => e.refs,
$parent: (e) => mn(e.parent),
$root: (e) => mn(e.root),
$emit: (e) => e.emit,
$options: (e) => fr(e),
$forceUpdate: (e) => e.f || (e.f = () => Vs(e.update)),
$nextTick: (e) => e.n || (e.n = yi.bind(e.proxy)),
$watch: (e) => Hi.bind(e),
}),
Zi = {
get({ _: e }, t) {
const { ctx: n, setupState: s, data: r, props: i, accessCache: o, type: c, appContext: u } = e;
let d;
if (t[0] !== "$") {
const O = o[t];
if (O !== void 0)
switch (O) {
case 1:
return s[t];
case 2:
return r[t];
case 4:
return n[t];
case 3:
return i[t];
}
else {
if (s !== U && M(s, t)) return (o[t] = 1), s[t];
if (r !== U && M(r, t)) return (o[t] = 2), r[t];
if ((d = e.propsOptions[0]) && M(d, t)) return (o[t] = 3), i[t];
if (n !== U && M(n, t)) return (o[t] = 4), n[t];
_n && (o[t] = 0);
}
}
const m = Lt[t];
let y, E;
if (m) return t === "$attrs" && le(e, "get", t), m(e);
if ((y = c.__cssModules) && (y = y[t])) return y;
if (n !== U && M(n, t)) return (o[t] = 4), n[t];
if (((E = u.config.globalProperties), M(E, t))) return E[t];
},
set({ _: e }, t, n) {
const { data: s, setupState: r, ctx: i } = e;
return r !== U && M(r, t) ? ((r[t] = n), !0) : s !== U && M(s, t) ? ((s[t] = n), !0) : M(e.props, t) || (t[0] === "$" && t.slice(1) in e) ? !1 : ((i[t] = n), !0);
},
has({ _: { data: e, setupState: t, accessCache: n, ctx: s, appContext: r, propsOptions: i } }, o) {
let c;
return !!n[o] || (e !== U && M(e, o)) || (t !== U && M(t, o)) || ((c = i[0]) && M(c, o)) || M(s, o) || M(Lt, o) || M(r.config.globalProperties, o);
},
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);
},
};
let _n = !0;
function Qi(e) {
const t = fr(e),
n = e.proxy,
s = e.ctx;
(_n = !1), t.beforeCreate && ls(t.beforeCreate, e, "bc");
const {
data: r,
computed: i,
methods: o,
watch: c,
provide: u,
inject: d,
created: m,
beforeMount: y,
mounted: E,
beforeUpdate: O,
updated: j,
activated: S,
deactivated: P,
beforeDestroy: R,
beforeUnmount: ce,
destroyed: J,
unmounted: q,
render: te,
renderTracked: Ve,
renderTriggered: $e,
errorCaptured: N,
serverPrefetch: k,
expose: V,
inheritAttrs: ne,
components: de,
directives: we,
filters: Ct,
} = t;
if ((d && Gi(d, s, null, e.appContext.config.unwrapInjectedRef), o))
for (const z in o) {
const D = o[z];
F(D) && (s[z] = D.bind(n));
}
if (r) {
const z = r.call(n, n);
Z(z) && (e.data = Sn(z));
}
if (((_n = !0), i))
for (const z in i) {
const D = i[z],
Te = F(D) ? D.bind(n, n) : F(D.get) ? D.get.bind(n, n) : me,
Yt = !F(D) && F(D.set) ? D.set.bind(n) : me,
ct = Po({ get: Te, set: Yt });
Object.defineProperty(s, z, { enumerable: !0, configurable: !0, get: () => ct.value, set: (Je) => (ct.value = Je) });
}
if (c) for (const z in c) cr(c[z], s, n, z);
if (u) {
const z = F(u) ? u.call(n) : u;
Reflect.ownKeys(z).forEach((D) => {
Si(D, z[D]);
});
}
m && ls(m, e, "c");
function se(z, D) {
I(D) ? D.forEach((Te) => z(Te.bind(n))) : D && z(D.bind(n));
}
if ((se(Wi, y), se(ir, E), se(ki, O), se(zi, j), se(Ui, S), se(Di, P), se(Yi, N), se(Ji, Ve), se(Vi, $e), se(or, ce), se(lr, q), se(qi, k), I(V)))
if (V.length) {
const z = e.exposed || (e.exposed = {});
V.forEach((D) => {
Object.defineProperty(z, D, { get: () => n[D], set: (Te) => (n[D] = Te) });
});
} else e.exposed || (e.exposed = {});
te && e.render === me && (e.render = te), ne != null && (e.inheritAttrs = ne), de && (e.components = de), we && (e.directives = we);
}
function Gi(e, t, n = me, s = !1) {
I(e) && (e = bn(e));
for (const r in e) {
const i = e[r];
let o;
Z(i) ? ("default" in i ? (o = tn(i.from || r, i.default, !0)) : (o = tn(i.from || r))) : (o = tn(i)),
Q(o) && s ? Object.defineProperty(t, r, { enumerable: !0, configurable: !0, get: () => o.value, set: (c) => (o.value = c) }) : (t[r] = o);
}
}
function ls(e, t, n) {
ae(I(e) ? e.map((s) => s.bind(t.proxy)) : e.bind(t.proxy), t, n);
}
function cr(e, t, n, s) {
const r = s.includes(".") ? er(n, s) : () => n[s];
if (X(e)) {
const i = t[e];
F(i) && nn(r, i);
} else if (F(e)) nn(r, e.bind(n));
else if (Z(e))
if (I(e)) e.forEach((i) => cr(i, t, n, s));
else {
const i = F(e.handler) ? e.handler.bind(n) : t[e.handler];
F(i) && nn(r, i, e);
}
}
function fr(e) {
const t = e.type,
{ mixins: n, extends: s } = t,
{
mixins: r,
optionsCache: i,
config: { optionMergeStrategies: o },
} = e.appContext,
c = i.get(t);
let u;
return c ? (u = c) : !r.length && !n && !s ? (u = t) : ((u = {}), r.length && r.forEach((d) => St(u, d, o, !0)), St(u, t, o)), i.set(t, u), u;
}
function St(e, t, n, s = !1) {
const { mixins: r, extends: i } = t;
i && St(e, i, n, !0), r && r.forEach((o) => St(e, o, n, !0));
for (const o in t)
if (!(s && o === "expose")) {
const c = eo[o] || (n && n[o]);
e[o] = c ? c(e[o], t[o]) : t[o];
}
return e;
}
const eo = {
data: cs,
props: Ke,
emits: Ke,
methods: Ke,
computed: Ke,
beforeCreate: ee,
created: ee,
beforeMount: ee,
mounted: ee,
beforeUpdate: ee,
updated: ee,
beforeDestroy: ee,
beforeUnmount: ee,
destroyed: ee,
unmounted: ee,
activated: ee,
deactivated: ee,
errorCaptured: ee,
serverPrefetch: ee,
components: Ke,
directives: Ke,
watch: no,
provide: cs,
inject: to,
};
function cs(e, t) {
return t
? e
? function () {
return G(F(e) ? e.call(this, this) : e, F(t) ? t.call(this, this) : t);
}
: t
: e;
}
function to(e, t) {
return Ke(bn(e), bn(t));
}
function bn(e) {
if (I(e)) {
const t = {};
for (let n = 0; n < e.length; n++) t[e[n]] = e[n];
return t;
}
return e;
}
function ee(e, t) {
return e ? [...new Set([].concat(e, t))] : t;
}
function Ke(e, t) {
return e ? G(G(Object.create(null), e), t) : t;
}
function no(e, t) {
if (!e) return t;
if (!t) return e;
const n = G(Object.create(null), e);
for (const s in t) n[s] = ee(e[s], t[s]);
return n;
}
function so(e, t, n, s = !1) {
const r = {},
i = {};
Mt(i, qt, 1), (e.propsDefaults = Object.create(null)), ur(e, t, r, i);
for (const o in e.propsOptions[0]) o in r || (r[o] = void 0);
n ? (e.props = s ? r : ai(r)) : e.type.props ? (e.props = r) : (e.props = i), (e.attrs = i);
}
function ro(e, t, n, s) {
const {
props: r,
attrs: i,
vnode: { patchFlag: o },
} = e,
c = H(r),
[u] = e.propsOptions;
let d = !1;
if ((s || o > 0) && !(o & 16)) {
if (o & 8) {
const m = e.vnode.dynamicProps;
for (let y = 0; y < m.length; y++) {
let E = m[y];
if (Kt(e.emitsOptions, E)) continue;
const O = t[E];
if (u)
if (M(i, E)) O !== i[E] && ((i[E] = O), (d = !0));
else {
const j = st(E);
r[j] = xn(u, c, j, O, e, !1);
}
else O !== i[E] && ((i[E] = O), (d = !0));
}
}
} else {
ur(e, t, r, i) && (d = !0);
let m;
for (const y in c) (!t || (!M(t, y) && ((m = it(y)) === y || !M(t, m)))) && (u ? n && (n[y] !== void 0 || n[m] !== void 0) && (r[y] = xn(u, c, y, void 0, e, !0)) : delete r[y]);
if (i !== c) for (const y in i) (!t || (!M(t, y) && !0)) && (delete i[y], (d = !0));
}
d && Ie(e, "set", "$attrs");
}
function ur(e, t, n, s) {
const [r, i] = e.propsOptions;
let o = !1,
c;
if (t)
for (let u in t) {
if (It(u)) continue;
const d = t[u];
let m;
r && M(r, (m = st(u))) ? (!i || !i.includes(m) ? (n[m] = d) : ((c || (c = {}))[m] = d)) : Kt(e.emitsOptions, u) || ((!(u in s) || d !== s[u]) && ((s[u] = d), (o = !0)));
}
if (i) {
const u = H(n),
d = c || U;
for (let m = 0; m < i.length; m++) {
const y = i[m];
n[y] = xn(r, u, y, d[y], e, !M(d, y));
}
}
return o;
}
function xn(e, t, n, s, r, i) {
const o = e[n];
if (o != null) {
const c = M(o, "default");
if (c && s === void 0) {
const u = o.default;
if (o.type !== Function && F(u)) {
const { propsDefaults: d } = r;
n in d ? (s = d[n]) : (rt(r), (s = d[n] = u.call(null, t)), qe());
} else s = u;
}
o[0] && (i && !c ? (s = !1) : o[1] && (s === "" || s === it(n)) && (s = !0));
}
return s;
}
function ar(e, t, n = !1) {
const s = t.propsCache,
r = s.get(e);
if (r) return r;
const i = e.props,
o = {},
c = [];
let u = !1;
if (!F(e)) {
const m = (y) => {
u = !0;
const [E, O] = ar(y, t, !0);
G(o, E), O && c.push(...O);
};
!n && t.mixins.length && t.mixins.forEach(m), e.extends && m(e.extends), e.mixins && e.mixins.forEach(m);
}
if (!i && !u) return s.set(e, et), et;
if (I(i))
for (let m = 0; m < i.length; m++) {
const y = st(i[m]);
fs(y) && (o[y] = U);
}
else if (i)
for (const m in i) {
const y = st(m);
if (fs(y)) {
const E = i[m],
O = (o[y] = I(E) || F(E) ? { type: E } : E);
if (O) {
const j = ds(Boolean, O.type),
S = ds(String, O.type);
(O[0] = j > -1), (O[1] = S < 0 || j < S), (j > -1 || M(O, "default")) && c.push(y);
}
}
}
const d = [o, c];
return s.set(e, d), d;
}
function fs(e) {
return e[0] !== "$";
}
function us(e) {
const t = e && e.toString().match(/^\s*function (\w+)/);
return t ? t[1] : e === null ? "null" : "";
}
function as(e, t) {
return us(e) === us(t);
}
function ds(e, t) {
return I(t) ? t.findIndex((n) => as(n, e)) : F(t) && as(t, e) ? 0 : -1;
}
const dr = (e) => e[0] === "_" || e === "$stable",
$n = (e) => (I(e) ? e.map(ye) : [ye(e)]),
io = (e, t, n) => {
if (t._n) return t;
const s = Ii((...r) => $n(t(...r)), n);
return (s._c = !1), s;
},
hr = (e, t, n) => {
const s = e._ctx;
for (const r in e) {
if (dr(r)) continue;
const i = e[r];
if (F(i)) t[r] = io(r, i, s);
else if (i != null) {
const o = $n(i);
t[r] = () => o;
}
}
},
pr = (e, t) => {
const n = $n(t);
e.slots.default = () => n;
},
oo = (e, t) => {
if (e.vnode.shapeFlag & 32) {
const n = t._;
n ? ((e.slots = H(t)), Mt(t, "_", n)) : hr(t, (e.slots = {}));
} else (e.slots = {}), t && pr(e, t);
Mt(e.slots, qt, 1);
},
lo = (e, t, n) => {
const { vnode: s, slots: r } = e;
let i = !0,
o = U;
if (s.shapeFlag & 32) {
const c = t._;
c ? (n && c === 1 ? (i = !1) : (G(r, t), !n && c === 1 && delete r._)) : ((i = !t.$stable), hr(t, r)), (o = t);
} else t && (pr(e, t), (o = { default: 1 }));
if (i) for (const c in r) !dr(c) && !(c in o) && delete r[c];
};
function gr() {
return {
app: null,
config: { isNativeTag: Pr, performance: !1, globalProperties: {}, optionMergeStrategies: {}, errorHandler: void 0, warnHandler: void 0, compilerOptions: {} },
mixins: [],
components: {},
directives: {},
provides: Object.create(null),
optionsCache: new WeakMap(),
propsCache: new WeakMap(),
emitsCache: new WeakMap(),
};
}
let co = 0;
function fo(e, t) {
return function (s, r = null) {
F(s) || (s = Object.assign({}, s)), r != null && !Z(r) && (r = null);
const i = gr(),
o = new Set();
let c = !1;
const u = (i.app = {
_uid: co++,
_component: s,
_props: r,
_container: null,
_context: i,
_instance: null,
version: Mo,
get config() {
return i.config;
},
set config(d) {},
use(d, ...m) {
return o.has(d) || (d && F(d.install) ? (o.add(d), d.install(u, ...m)) : F(d) && (o.add(d), d(u, ...m))), u;
},
mixin(d) {
return i.mixins.includes(d) || i.mixins.push(d), u;
},
component(d, m) {
return m ? ((i.components[d] = m), u) : i.components[d];
},
directive(d, m) {
return m ? ((i.directives[d] = m), u) : i.directives[d];
},
mount(d, m, y) {
if (!c) {
const E = He(s, r);
return (E.appContext = i), m && t ? t(E, d) : e(E, d, y), (c = !0), (u._container = d), (d.__vue_app__ = u), Kn(E.component) || E.component.proxy;
}
},
unmount() {
c && (e(null, u._container), delete u._container.__vue_app__);
},
provide(d, m) {
return (i.provides[d] = m), u;
},
});
return u;
};
}
function yn(e, t, n, s, r = !1) {
if (I(e)) {
e.forEach((E, O) => yn(E, t && (I(t) ? t[O] : t), n, s, r));
return;
}
if (Ft(s) && !r) return;
const i = s.shapeFlag & 4 ? Kn(s.component) || s.component.proxy : s.el,
o = r ? null : i,
{ i: c, r: u } = e,
d = t && t.r,
m = c.refs === U ? (c.refs = {}) : c.refs,
y = c.setupState;
if ((d != null && d !== u && (X(d) ? ((m[d] = null), M(y, d) && (y[d] = null)) : Q(d) && (d.value = null)), F(u))) Se(u, c, 12, [o, m]);
else {
const E = X(u),
O = Q(u);
if (E || O) {
const j = () => {
if (e.f) {
const S = E ? m[u] : u.value;
r ? I(S) && An(S, i) : I(S) ? S.includes(i) || S.push(i) : E ? ((m[u] = [i]), M(y, u) && (y[u] = m[u])) : ((u.value = [i]), e.k && (m[e.k] = u.value));
} else E ? ((m[u] = o), M(y, u) && (y[u] = o)) : O && ((u.value = o), e.k && (m[e.k] = o));
};
o ? ((j.id = -1), re(j, n)) : j();
}
}
}
const re = Li;
function uo(e) {
return ao(e);
}
function ao(e, t) {
const n = jr();
n.__VUE__ = !0;
const { insert: s, remove: r, patchProp: i, createElement: o, createText: c, createComment: u, setText: d, setElementText: m, parentNode: y, nextSibling: E, setScopeId: O = me, cloneNode: j, insertStaticContent: S } = e,
P = (l, f, a, p = null, h = null, b = null, C = !1, _ = null, x = !!f.dynamicChildren) => {
if (l === f) return;
l && !We(l, f) && ((p = Et(l)), Pe(l, h, b, !0), (l = null)), f.patchFlag === -2 && ((x = !1), (f.dynamicChildren = null));
const { type: g, ref: T, shapeFlag: w } = f;
switch (g) {
case Un:
R(l, f, a, p);
break;
case Ae:
ce(l, f, a, p);
break;
case rn:
l == null && J(f, a, p, C);
break;
case ue:
we(l, f, a, p, h, b, C, _, x);
break;
default:
w & 1 ? Ve(l, f, a, p, h, b, C, _, x) : w & 6 ? Ct(l, f, a, p, h, b, C, _, x) : (w & 64 || w & 128) && g.process(l, f, a, p, h, b, C, _, x, Ye);
}
T != null && h && yn(T, l && l.ref, b, f || l, !f);
},
R = (l, f, a, p) => {
if (l == null) s((f.el = c(f.children)), a, p);
else {
const h = (f.el = l.el);
f.children !== l.children && d(h, f.children);
}
},
ce = (l, f, a, p) => {
l == null ? s((f.el = u(f.children || "")), a, p) : (f.el = l.el);
},
J = (l, f, a, p) => {
[l.el, l.anchor] = S(l.children, f, a, p, l.el, l.anchor);
},
q = ({ el: l, anchor: f }, a, p) => {
let h;
for (; l && l !== f; ) (h = E(l)), s(l, a, p), (l = h);
s(f, a, p);
},
te = ({ el: l, anchor: f }) => {
let a;
for (; l && l !== f; ) (a = E(l)), r(l), (l = a);
r(f);
},
Ve = (l, f, a, p, h, b, C, _, x) => {
(C = C || f.type === "svg"), l == null ? $e(f, a, p, h, b, C, _, x) : V(l, f, h, b, C, _, x);
},
$e = (l, f, a, p, h, b, C, _) => {
let x, g;
const { type: T, props: w, shapeFlag: v, transition: A, patchFlag: L, dirs: B } = l;
if (l.el && j !== void 0 && L === -1) x = l.el = j(l.el);
else {
if (((x = l.el = o(l.type, b, w && w.is, w)), v & 8 ? m(x, l.children) : v & 16 && k(l.children, x, null, p, h, b && T !== "foreignObject", C, _), B && Ue(l, null, p, "created"), w)) {
for (const K in w) K !== "value" && !It(K) && i(x, K, null, w[K], b, l.children, p, h, ve);
"value" in w && i(x, "value", null, w.value), (g = w.onVnodeBeforeMount) && be(g, p, l);
}
N(x, l, l.scopeId, C, p);
}
B && Ue(l, null, p, "beforeMount");
const $ = (!h || (h && !h.pendingBranch)) && A && !A.persisted;
$ && A.beforeEnter(x),
s(x, f, a),
((g = w && w.onVnodeMounted) || $ || B) &&
re(() => {
g && be(g, p, l), $ && A.enter(x), B && Ue(l, null, p, "mounted");
}, h);
},
N = (l, f, a, p, h) => {
if ((a && O(l, a), p)) for (let b = 0; b < p.length; b++) O(l, p[b]);
if (h) {
let b = h.subTree;
if (f === b) {
const C = h.vnode;
N(l, C, C.scopeId, C.slotScopeIds, h.parent);
}
}
},
k = (l, f, a, p, h, b, C, _, x = 0) => {
for (let g = x; g < l.length; g++) {
const T = (l[g] = _ ? Ne(l[g]) : ye(l[g]));
P(null, T, f, a, p, h, b, C, _);
}
},
V = (l, f, a, p, h, b, C) => {
const _ = (f.el = l.el);
let { patchFlag: x, dynamicChildren: g, dirs: T } = f;
x |= l.patchFlag & 16;
const w = l.props || U,
v = f.props || U;
let A;
a && De(a, !1), (A = v.onVnodeBeforeUpdate) && be(A, a, f, l), T && Ue(f, l, a, "beforeUpdate"), a && De(a, !0);
const L = h && f.type !== "foreignObject";
if ((g ? ne(l.dynamicChildren, g, _, a, p, L, b) : C || Te(l, f, _, null, a, p, L, b, !1), x > 0)) {
if (x & 16) de(_, f, w, v, a, p, h);
else if ((x & 2 && w.class !== v.class && i(_, "class", null, v.class, h), x & 4 && i(_, "style", w.style, v.style, h), x & 8)) {
const B = f.dynamicProps;
for (let $ = 0; $ < B.length; $++) {
const K = B[$],
he = w[K],
Xe = v[K];
(Xe !== he || K === "value") && i(_, K, he, Xe, h, l.children, a, p, ve);
}
}
x & 1 && l.children !== f.children && m(_, f.children);
} else !C && g == null && de(_, f, w, v, a, p, h);
((A = v.onVnodeUpdated) || T) &&
re(() => {
A && be(A, a, f, l), T && Ue(f, l, a, "updated");
}, p);
},
ne = (l, f, a, p, h, b, C) => {
for (let _ = 0; _ < f.length; _++) {
const x = l[_],
g = f[_],
T = x.el && (x.type === ue || !We(x, g) || x.shapeFlag & 70) ? y(x.el) : a;
P(x, g, T, null, p, h, b, C, !0);
}
},
de = (l, f, a, p, h, b, C) => {
if (a !== p) {
for (const _ in p) {
if (It(_)) continue;
const x = p[_],
g = a[_];
x !== g && _ !== "value" && i(l, _, g, x, C, f.children, h, b, ve);
}
if (a !== U) for (const _ in a) !It(_) && !(_ in p) && i(l, _, a[_], null, C, f.children, h, b, ve);
"value" in p && i(l, "value", a.value, p.value);
}
},
we = (l, f, a, p, h, b, C, _, x) => {
const g = (f.el = l ? l.el : c("")),
T = (f.anchor = l ? l.anchor : c(""));
let { patchFlag: w, dynamicChildren: v, slotScopeIds: A } = f;
A && (_ = _ ? _.concat(A) : A),
l == null
? (s(g, a, p), s(T, a, p), k(f.children, a, T, h, b, C, _, x))
: w > 0 && w & 64 && v && l.dynamicChildren
? (ne(l.dynamicChildren, v, a, h, b, C, _), (f.key != null || (h && f === h.subTree)) && mr(l, f, !0))
: Te(l, f, a, T, h, b, C, _, x);
},
Ct = (l, f, a, p, h, b, C, _, x) => {
(f.slotScopeIds = _), l == null ? (f.shapeFlag & 512 ? h.ctx.activate(f, a, p, C, x) : Jt(f, a, p, h, b, C, x)) : se(l, f, x);
},
Jt = (l, f, a, p, h, b, C) => {
const _ = (l.component = wo(l, p, h));
if ((kt(l) && (_.ctx.renderer = Ye), vo(_), _.asyncDep)) {
if ((h && h.registerDep(_, z), !l.el)) {
const x = (_.subTree = He(Ae));
ce(null, x, f, a);
}
return;
}
z(_, l, f, a, h, b, C);
},
se = (l, f, a) => {
const p = (f.component = l.component);
if (Mi(l, f, a))
if (p.asyncDep && !p.asyncResolved) {
D(p, f, a);
return;
} else (p.next = f), Ei(p.update), p.update();
else (f.el = l.el), (p.vnode = f);
},
z = (l, f, a, p, h, b, C) => {
const _ = () => {
if (l.isMounted) {
let { next: T, bu: w, u: v, parent: A, vnode: L } = l,
B = T,
$;
De(l, !1), T ? ((T.el = L.el), D(l, T, C)) : (T = L), w && Gt(w), ($ = T.props && T.props.onVnodeBeforeUpdate) && be($, A, T, L), De(l, !0);
const K = en(l),
he = l.subTree;
(l.subTree = K), P(he, K, y(he.el), Et(he), l, h, b), (T.el = K.el), B === null && Ri(l, K.el), v && re(v, h), ($ = T.props && T.props.onVnodeUpdated) && re(() => be($, A, T, L), h);
} else {
let T;
const { el: w, props: v } = f,
{ bm: A, m: L, parent: B } = l,
$ = Ft(f);
if ((De(l, !1), A && Gt(A), !$ && (T = v && v.onVnodeBeforeMount) && be(T, B, f), De(l, !0), w && Zt)) {
const K = () => {
(l.subTree = en(l)), Zt(w, l.subTree, l, h, null);
};
$ ? f.type.__asyncLoader().then(() => !l.isUnmounted && K()) : K();
} else {
const K = (l.subTree = en(l));
P(null, K, a, p, l, h, b), (f.el = K.el);
}
if ((L && re(L, h), !$ && (T = v && v.onVnodeMounted))) {
const K = f;
re(() => be(T, B, K), h);
}
(f.shapeFlag & 256 || (B && Ft(B.vnode) && B.vnode.shapeFlag & 256)) && l.a && re(l.a, h), (l.isMounted = !0), (f = a = p = null);
}
},
x = (l.effect = new Mn(_, () => Vs(g), l.scope)),
g = (l.update = () => x.run());
(g.id = l.uid), De(l, !0), g();
},
D = (l, f, a) => {
f.component = l;
const p = l.vnode.props;
(l.vnode = f), (l.next = null), ro(l, f.props, p, a), lo(l, f.children, a), ot(), Dt(void 0, l.update), lt();
},
Te = (l, f, a, p, h, b, C, _, x = !1) => {
const g = l && l.children,
T = l ? l.shapeFlag : 0,
w = f.children,
{ patchFlag: v, shapeFlag: A } = f;
if (v > 0) {
if (v & 128) {
ct(g, w, a, p, h, b, C, _, x);
return;
} else if (v & 256) {
Yt(g, w, a, p, h, b, C, _, x);
return;
}
}
A & 8 ? (T & 16 && ve(g, h, b), w !== g && m(a, w)) : T & 16 ? (A & 16 ? ct(g, w, a, p, h, b, C, _, x) : ve(g, h, b, !0)) : (T & 8 && m(a, ""), A & 16 && k(w, a, p, h, b, C, _, x));
},
Yt = (l, f, a, p, h, b, C, _, x) => {
(l = l || et), (f = f || et);
const g = l.length,
T = f.length,
w = Math.min(g, T);
let v;
for (v = 0; v < w; v++) {
const A = (f[v] = x ? Ne(f[v]) : ye(f[v]));
P(l[v], A, a, null, h, b, C, _, x);
}
g > T ? ve(l, h, b, !0, !1, w) : k(f, a, p, h, b, C, _, x, w);
},
ct = (l, f, a, p, h, b, C, _, x) => {
let g = 0;
const T = f.length;
let w = l.length - 1,
v = T - 1;
for (; g <= w && g <= v; ) {
const A = l[g],
L = (f[g] = x ? Ne(f[g]) : ye(f[g]));
if (We(A, L)) P(A, L, a, null, h, b, C, _, x);
else break;
g++;
}
for (; g <= w && g <= v; ) {
const A = l[w],
L = (f[v] = x ? Ne(f[v]) : ye(f[v]));
if (We(A, L)) P(A, L, a, null, h, b, C, _, x);
else break;
w--, v--;
}
if (g > w) {
if (g <= v) {
const A = v + 1,
L = A < T ? f[A].el : p;
for (; g <= v; ) P(null, (f[g] = x ? Ne(f[g]) : ye(f[g])), a, L, h, b, C, _, x), g++;
}
} else if (g > v) for (; g <= w; ) Pe(l[g], h, b, !0), g++;
else {
const A = g,
L = g,
B = new Map();
for (g = L; g <= v; g++) {
const ie = (f[g] = x ? Ne(f[g]) : ye(f[g]));
ie.key != null && B.set(ie.key, g);
}
let $,
K = 0;
const he = v - L + 1;
let Xe = !1,
qn = 0;
const ft = new Array(he);
for (g = 0; g < he; g++) ft[g] = 0;
for (g = A; g <= w; g++) {
const ie = l[g];
if (K >= he) {
Pe(ie, h, b, !0);
continue;
}
let _e;
if (ie.key != null) _e = B.get(ie.key);
else
for ($ = L; $ <= v; $++)
if (ft[$ - L] === 0 && We(ie, f[$])) {
_e = $;
break;
}
_e === void 0 ? Pe(ie, h, b, !0) : ((ft[_e - L] = g + 1), _e >= qn ? (qn = _e) : (Xe = !0), P(ie, f[_e], a, null, h, b, C, _, x), K++);
}
const Vn = Xe ? ho(ft) : et;
for ($ = Vn.length - 1, g = he - 1; g >= 0; g--) {
const ie = L + g,
_e = f[ie],
Jn = ie + 1 < T ? f[ie + 1].el : p;
ft[g] === 0 ? P(null, _e, a, Jn, h, b, C, _, x) : Xe && ($ < 0 || g !== Vn[$] ? Je(_e, a, Jn, 2) : $--);
}
}
},
Je = (l, f, a, p, h = null) => {
const { el: b, type: C, transition: _, children: x, shapeFlag: g } = l;
if (g & 6) {
Je(l.component.subTree, f, a, p);
return;
}
if (g & 128) {
l.suspense.move(f, a, p);
return;
}
if (g & 64) {
C.move(l, f, a, Ye);
return;
}
if (C === ue) {
s(b, f, a);
for (let w = 0; w < x.length; w++) Je(x[w], f, a, p);
s(l.anchor, f, a);
return;
}
if (C === rn) {
q(l, f, a);
return;
}
if (p !== 2 && g & 1 && _)
if (p === 0) _.beforeEnter(b), s(b, f, a), re(() => _.enter(b), h);
else {
const { leave: w, delayLeave: v, afterLeave: A } = _,
L = () => s(b, f, a),
B = () => {
w(b, () => {
L(), A && A();
});
};
v ? v(b, L, B) : B();
}
else s(b, f, a);
},
Pe = (l, f, a, p = !1, h = !1) => {
const { type: b, props: C, ref: _, children: x, dynamicChildren: g, shapeFlag: T, patchFlag: w, dirs: v } = l;
if ((_ != null && yn(_, null, a, l, !0), T & 256)) {
f.ctx.deactivate(l);
return;
}
const A = T & 1 && v,
L = !Ft(l);
let B;
if ((L && (B = C && C.onVnodeBeforeUnmount) && be(B, f, l), T & 6)) Tr(l.component, a, p);
else {
if (T & 128) {
l.suspense.unmount(a, p);
return;
}
A && Ue(l, null, f, "beforeUnmount"), T & 64 ? l.type.remove(l, f, a, h, Ye, p) : g && (b !== ue || (w > 0 && w & 64)) ? ve(g, f, a, !1, !0) : ((b === ue && w & 384) || (!h && T & 16)) && ve(x, f, a), p && kn(l);
}
((L && (B = C && C.onVnodeUnmounted)) || A) &&
re(() => {
B && be(B, f, l), A && Ue(l, null, f, "unmounted");
}, a);
},
kn = (l) => {
const { type: f, el: a, anchor: p, transition: h } = l;
if (f === ue) {
wr(a, p);
return;
}
if (f === rn) {
te(l);
return;
}
const b = () => {
r(a), h && !h.persisted && h.afterLeave && h.afterLeave();
};
if (l.shapeFlag & 1 && h && !h.persisted) {
const { leave: C, delayLeave: _ } = h,
x = () => C(a, b);
_ ? _(l.el, b, x) : x();
} else b();
},
wr = (l, f) => {
let a;
for (; l !== f; ) (a = E(l)), r(l), (l = a);
r(f);
},
Tr = (l, f, a) => {
const { bum: p, scope: h, update: b, subTree: C, um: _ } = l;
p && Gt(p),
h.stop(),
b && ((b.active = !1), Pe(C, l, f, a)),
_ && re(_, f),
re(() => {
l.isUnmounted = !0;
}, f),
f && f.pendingBranch && !f.isUnmounted && l.asyncDep && !l.asyncResolved && l.suspenseId === f.pendingId && (f.deps--, f.deps === 0 && f.resolve());
},
ve = (l, f, a, p = !1, h = !1, b = 0) => {
for (let C = b; C < l.length; C++) Pe(l[C], f, a, p, h);
},
Et = (l) => (l.shapeFlag & 6 ? Et(l.component.subTree) : l.shapeFlag & 128 ? l.suspense.next() : E(l.anchor || l.el)),
zn = (l, f, a) => {
l == null ? f._vnode && Pe(f._vnode, null, null, !0) : P(f._vnode || null, l, f, null, null, null, a), Xs(), (f._vnode = l);
},
Ye = { p: P, um: Pe, m: Je, r: kn, mt: Jt, mc: k, pc: Te, pbc: ne, n: Et, o: e };
let Xt, Zt;
return t && ([Xt, Zt] = t(Ye)), { render: zn, hydrate: Xt, createApp: fo(zn, Xt) };
}
function De({ effect: e, update: t }, n) {
e.allowRecurse = t.allowRecurse = n;
}
function mr(e, t, n = !1) {
const s = e.children,
r = t.children;
if (I(s) && I(r))
for (let i = 0; i < s.length; i++) {
const o = s[i];
let c = r[i];
c.shapeFlag & 1 && !c.dynamicChildren && ((c.patchFlag <= 0 || c.patchFlag === 32) && ((c = r[i] = Ne(r[i])), (c.el = o.el)), n || mr(o, c));
}
}
function ho(e) {
const t = e.slice(),
n = [0];
let s, r, i, o, c;
const u = e.length;
for (s = 0; s < u; s++) {
const d = e[s];
if (d !== 0) {
if (((r = n[n.length - 1]), e[r] < d)) {
(t[s] = r), n.push(s);
continue;
}
for (i = 0, o = n.length - 1; i < o; ) (c = (i + o) >> 1), e[n[c]] < d ? (i = c + 1) : (o = c);
d < e[n[i]] && (i > 0 && (t[s] = n[i - 1]), (n[i] = s));
}
}
for (i = n.length, o = n[i - 1]; i-- > 0; ) (n[i] = o), (o = t[o]);
return n;
}
const po = (e) => e.__isTeleport,
ue = Symbol(void 0),
Un = Symbol(void 0),
Ae = Symbol(void 0),
rn = Symbol(void 0),
pt = [];
let ge = null;
function _r(e = !1) {
pt.push((ge = e ? null : []));
}
function go() {
pt.pop(), (ge = pt[pt.length - 1] || null);
}
let xt = 1;
function hs(e) {
xt += e;
}
function mo(e) {
return (e.dynamicChildren = xt > 0 ? ge || et : null), go(), xt > 0 && ge && ge.push(e), e;
}
function br(e, t, n, s, r, i) {
return mo(W(e, t, n, s, r, i, !0));
}
function _o(e) {
return e ? e.__v_isVNode === !0 : !1;
}
function We(e, t) {
return e.type === t.type && e.key === t.key;
}
const qt = "__vInternal",
xr = ({ key: e }) => (e != null ? e : null),
Pt = ({ ref: e, ref_key: t, ref_for: n }) => (e != null ? (X(e) || Q(e) || F(e) ? { i: Ce, r: e, k: t, f: !!n } : e) : null);
function W(e, t = null, n = null, s = 0, r = null, i = e === ue ? 0 : 1, o = !1, c = !1) {
const u = {
__v_isVNode: !0,
__v_skip: !0,
type: e,
props: t,
key: t && xr(t),
ref: t && Pt(t),
scopeId: Wt,
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: i,
patchFlag: s,
dynamicProps: r,
dynamicChildren: null,
appContext: null,
};
return c ? (Dn(u, n), i & 128 && e.normalize(u)) : n && (u.shapeFlag |= X(n) ? 8 : 16), xt > 0 && !o && ge && (u.patchFlag > 0 || i & 6) && u.patchFlag !== 32 && ge.push(u), u;
}
const He = bo;
function bo(e, t = null, n = null, s = 0, r = null, i = !1) {
if (((!e || e === Xi) && (e = Ae), _o(e))) {
const c = Be(e, t, !0);
return n && Dn(c, n), xt > 0 && !i && ge && (c.shapeFlag & 6 ? (ge[ge.indexOf(e)] = c) : ge.push(c)), (c.patchFlag |= -2), c;
}
if ((Fo(e) && (e = e.__vccOpts), t)) {
t = xo(t);
let { class: c, style: u } = t;
c && !X(c) && (t.class = vn(c)), Z(u) && (Ds(u) && !I(u) && (u = G({}, u)), (t.style = Tn(u)));
}
const o = X(e) ? 1 : Ni(e) ? 128 : po(e) ? 64 : Z(e) ? 4 : F(e) ? 2 : 0;
return W(e, t, n, s, r, o, i, !0);
}
function xo(e) {
return e ? (Ds(e) || qt in e ? G({}, e) : e) : null;
}
function Be(e, t, n = !1) {
const { props: s, ref: r, patchFlag: i, children: o } = e,
c = t ? yo(s || {}, t) : s;
return {
__v_isVNode: !0,
__v_skip: !0,
type: e.type,
props: c,
key: c && xr(c),
ref: t && t.ref ? (n && r ? (I(r) ? r.concat(Pt(t)) : [r, Pt(t)]) : Pt(t)) : r,
scopeId: e.scopeId,
slotScopeIds: e.slotScopeIds,
children: o,
target: e.target,
targetAnchor: e.targetAnchor,
staticCount: e.staticCount,
shapeFlag: e.shapeFlag,
patchFlag: t && e.type !== ue ? (i === -1 ? 16 : i | 16) : i,
dynamicProps: e.dynamicProps,
dynamicChildren: e.dynamicChildren,
appContext: e.appContext,
dirs: e.dirs,
transition: e.transition,
component: e.component,
suspense: e.suspense,
ssContent: e.ssContent && Be(e.ssContent),
ssFallback: e.ssFallback && Be(e.ssFallback),
el: e.el,
anchor: e.anchor,
};
}
function Ee(e = " ", t = 0) {
return He(Un, null, e, t);
}
function ye(e) {
return e == null || typeof e == "boolean" ? He(Ae) : I(e) ? He(ue, null, e.slice()) : typeof e == "object" ? Ne(e) : He(Un, null, String(e));
}
function Ne(e) {
return e.el === null || e.memo ? e : Be(e);
}
function Dn(e, t) {
let n = 0;
const { shapeFlag: s } = e;
if (t == null) t = null;
else if (I(t)) n = 16;
else if (typeof t == "object")
if (s & 65) {
const r = t.default;
r && (r._c && (r._d = !1), Dn(e, r()), r._c && (r._d = !0));
return;
} else {
n = 32;
const r = t._;
!r && !(qt in t) ? (t._ctx = Ce) : r === 3 && Ce && (Ce.slots._ === 1 ? (t._ = 1) : ((t._ = 2), (e.patchFlag |= 1024)));
}
else F(t) ? ((t = { default: t, _ctx: Ce }), (n = 32)) : ((t = String(t)), s & 64 ? ((n = 16), (t = [Ee(t)])) : (n = 8));
(e.children = t), (e.shapeFlag |= n);
}
function yo(...e) {
const t = {};
for (let n = 0; n < e.length; n++) {
const s = e[n];
for (const r in s)
if (r === "class") t.class !== s.class && (t.class = vn([t.class, s.class]));
else if (r === "style") t.style = Tn([t.style, s.style]);
else if (Ht(r)) {
const i = t[r],
o = s[r];
o && i !== o && !(I(i) && i.includes(o)) && (t[r] = i ? [].concat(i, o) : o);
} else r !== "" && (t[r] = s[r]);
}
return t;
}
function be(e, t, n, s = null) {
ae(e, t, 7, [n, s]);
}
const Co = gr();
let Eo = 0;
function wo(e, t, n) {
const s = e.type,
r = (t ? t.appContext : e.appContext) || Co,
i = {
uid: Eo++,
vnode: e,
type: s,
parent: t,
appContext: r,
root: null,
next: null,
subTree: null,
effect: null,
update: null,
scope: new Br(!0),
render: null,
proxy: null,
exposed: null,
exposeProxy: null,
withProxy: null,
provides: t ? t.provides : Object.create(r.provides),
accessCache: null,
renderCache: [],
components: null,
directives: null,
propsOptions: ar(s, r),
emitsOptions: Qs(s, r),
emit: null,
emitted: null,
propsDefaults: U,
inheritAttrs: s.inheritAttrs,
ctx: U,
data: U,
props: U,
attrs: U,
slots: U,
refs: U,
setupState: U,
setupContext: null,
suspense: n,
suspenseId: n ? n.pendingId : 0,
asyncDep: null,
asyncResolved: !1,
isMounted: !1,
isUnmounted: !1,
isDeactivated: !1,
bc: null,
c: null,
bm: null,
m: null,
bu: null,
u: null,
um: null,
bum: null,
da: null,
a: null,
rtg: null,
rtc: null,
ec: null,
sp: null,
};
return (i.ctx = { _: i }), (i.root = t ? t.root : i), (i.emit = vi.bind(null, i)), e.ce && e.ce(i), i;
}
let Y = null;
const To = () => Y || Ce,
rt = (e) => {
(Y = e), e.scope.on();
},
qe = () => {
Y && Y.scope.off(), (Y = null);
};
function yr(e) {
return e.vnode.shapeFlag & 4;
}
let yt = !1;
function vo(e, t = !1) {
yt = t;
const { props: n, children: s } = e.vnode,
r = yr(e);
so(e, n, r, t), oo(e, s);
const i = r ? Oo(e, t) : void 0;
return (yt = !1), i;
}
function Oo(e, t) {
const n = e.type;
(e.accessCache = Object.create(null)), (e.proxy = Ks(new Proxy(e.ctx, Zi)));
const { setup: s } = n;
if (s) {
const r = (e.setupContext = s.length > 1 ? Io(e) : null);
rt(e), ot();
const i = Se(s, e, 0, [e.props, r]);
if ((lt(), qe(), Os(i))) {
if ((i.then(qe, qe), t))
return i
.then((o) => {
ps(e, o, t);
})
.catch((o) => {
Ut(o, e, 0);
});
e.asyncDep = i;
} else ps(e, i, t);
} else Cr(e, t);
}
function ps(e, t, n) {
F(t) ? (e.type.__ssrInlineRender ? (e.ssrRender = t) : (e.render = t)) : Z(t) && (e.setupState = zs(t)), Cr(e, n);
}
let gs;
function Cr(e, t, n) {
const s = e.type;
if (!e.render) {
if (!t && gs && !s.render) {
const r = s.template;
if (r) {
const { isCustomElement: i, compilerOptions: o } = e.appContext.config,
{ delimiters: c, compilerOptions: u } = s,
d = G(G({ isCustomElement: i, delimiters: c }, o), u);
s.render = gs(r, d);
}
}
e.render = s.render || me;
}
rt(e), ot(), Qi(e), lt(), qe();
}
function Ao(e) {
return new Proxy(e.attrs, {
get(t, n) {
return le(e, "get", "$attrs"), t[n];
},
});
}
function Io(e) {
const t = (s) => {
e.exposed = s || {};
};
let n;
return {
get attrs() {
return n || (n = Ao(e));
},
slots: e.slots,
emit: e.emit,
expose: t,
};
}
function Kn(e) {
if (e.exposed)
return (
e.exposeProxy ||
(e.exposeProxy = new Proxy(zs(Ks(e.exposed)), {
get(t, n) {
if (n in t) return t[n];
if (n in Lt) return Lt[n](e);
},
}))
);
}
function Fo(e) {
return F(e) && "__vccOpts" in e;
}
const Po = (e, t) => bi(e, t, yt),
Mo = "3.2.37",
Ro = "http://www.w3.org/2000/svg",
ke = typeof document < "u" ? document : null,
ms = ke && ke.createElement("template"),
No = {
insert: (e, t, n) => {
t.insertBefore(e, n || null);
},
remove: (e) => {
const t = e.parentNode;
t && t.removeChild(e);
},
createElement: (e, t, n, s) => {
const r = t ? ke.createElementNS(Ro, e) : ke.createElement(e, n ? { is: n } : void 0);
return e === "select" && s && s.multiple != null && r.setAttribute("multiple", s.multiple), r;
},
createText: (e) => ke.createTextNode(e),
createComment: (e) => ke.createComment(e),
setText: (e, t) => {
e.nodeValue = t;
},
setElementText: (e, t) => {
e.textContent = t;
},
parentNode: (e) => e.parentNode,
nextSibling: (e) => e.nextSibling,
querySelector: (e) => ke.querySelector(e),
setScopeId(e, t) {
e.setAttribute(t, "");
},
cloneNode(e) {
const t = e.cloneNode(!0);
return "_value" in e && (t._value = e._value), t;
},
insertStaticContent(e, t, n, s, r, i) {
const o = n ? n.previousSibling : t.lastChild;
if (r && (r === i || r.nextSibling)) for (; t.insertBefore(r.cloneNode(!0), n), !(r === i || !(r = r.nextSibling)); );
else {
ms.innerHTML = s ? `<svg>${e}</svg>` : e;
const c = ms.content;
if (s) {
const u = c.firstChild;
for (; u.firstChild; ) c.appendChild(u.firstChild);
c.removeChild(u);
}
t.insertBefore(c, n);
}
return [o ? o.nextSibling : t.firstChild, n ? n.previousSibling : t.lastChild];
},
};
function Lo(e, t, n) {
const s = e._vtc;
s && (t = (t ? [t, ...s] : [...s]).join(" ")), t == null ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : (e.className = t);
}
function So(e, t, n) {
const s = e.style,
r = X(n);
if (n && !r) {
for (const i in n) Cn(s, i, n[i]);
if (t && !X(t)) for (const i in t) n[i] == null && Cn(s, i, "");
} else {
const i = s.display;
r ? t !== n && (s.cssText = n) : t && e.removeAttribute("style"), "_vod" in e && (s.display = i);
}
}
const _s = /\s*!important$/;
function Cn(e, t, n) {
if (I(n)) n.forEach((s) => Cn(e, t, s));
else if ((n == null && (n = ""), t.startsWith("--"))) e.setProperty(t, n);
else {
const s = Ho(e, t);
_s.test(n) ? e.setProperty(it(s), n.replace(_s, ""), "important") : (e[s] = n);
}
}
const bs = ["Webkit", "Moz", "ms"],
on = {};
function Ho(e, t) {
const n = on[t];
if (n) return n;
let s = st(t);
if (s !== "filter" && s in e) return (on[t] = s);
s = Fs(s);
for (let r = 0; r < bs.length; r++) {
const i = bs[r] + s;
if (i in e) return (on[t] = i);
}
return t;
}
const xs = "http://www.w3.org/1999/xlink";
function jo(e, t, n, s, r) {
if (s && t.startsWith("xlink:")) n == null ? e.removeAttributeNS(xs, t.slice(6, t.length)) : e.setAttributeNS(xs, t, n);
else {
const i = Or(t);
n == null || (i && !ws(n)) ? e.removeAttribute(t) : e.setAttribute(t, i ? "" : n);
}
}
function Bo(e, t, n, s, r, i, o) {
if (t === "innerHTML" || t === "textContent") {
s && o(s, r, i), (e[t] = n == null ? "" : n);
return;
}
if (t === "value" && e.tagName !== "PROGRESS" && !e.tagName.includes("-")) {
e._value = n;
const u = n == null ? "" : n;
(e.value !== u || e.tagName === "OPTION") && (e.value = u), n == null && e.removeAttribute(t);
return;
}
let c = !1;
if (n === "" || n == null) {
const u = typeof e[t];
u === "boolean" ? (n = ws(n)) : n == null && u === "string" ? ((n = ""), (c = !0)) : u === "number" && ((n = 0), (c = !0));
}
try {
e[t] = n;
} catch {}
c && e.removeAttribute(t);
}
const [Er, $o] = (() => {
let e = Date.now,
t = !1;
if (typeof window < "u") {
Date.now() > document.createEvent("Event").timeStamp && (e = performance.now.bind(performance));
const n = navigator.userAgent.match(/firefox\/(\d+)/i);
t = !!(n && Number(n[1]) <= 53);
}
return [e, t];
})();
let En = 0;
const Uo = Promise.resolve(),
Do = () => {
En = 0;
},
Ko = () => En || (Uo.then(Do), (En = Er()));
function Wo(e, t, n, s) {
e.addEventListener(t, n, s);
}
function ko(e, t, n, s) {
e.removeEventListener(t, n, s);
}
function zo(e, t, n, s, r = null) {
const i = e._vei || (e._vei = {}),
o = i[t];
if (s && o) o.value = s;
else {
const [c, u] = qo(t);
if (s) {
const d = (i[t] = Vo(s, r));
Wo(e, c, d, u);
} else o && (ko(e, c, o, u), (i[t] = void 0));
}
}
const ys = /(?:Once|Passive|Capture)$/;
function qo(e) {
let t;
if (ys.test(e)) {
t = {};
let n;
for (; (n = e.match(ys)); ) (e = e.slice(0, e.length - n[0].length)), (t[n[0].toLowerCase()] = !0);
}
return [it(e.slice(2)), t];
}
function Vo(e, t) {
const n = (s) => {
const r = s.timeStamp || Er();
($o || r >= n.attached - 1) && ae(Jo(s, n.value), t, 5, [s]);
};
return (n.value = e), (n.attached = Ko()), n;
}
function Jo(e, t) {
if (I(t)) {
const n = e.stopImmediatePropagation;
return (
(e.stopImmediatePropagation = () => {
n.call(e), (e._stopped = !0);
}),
t.map((s) => (r) => !r._stopped && s && s(r))
);
} else return t;
}
const Cs = /^on[a-z]/,
Yo = (e, t, n, s, r = !1, i, o, c, u) => {
t === "class"
? Lo(e, s, r)
: t === "style"
? So(e, n, s)
: Ht(t)
? On(t) || zo(e, t, n, s, o)
: (t[0] === "." ? ((t = t.slice(1)), !0) : t[0] === "^" ? ((t = t.slice(1)), !1) : Xo(e, t, s, r))
? Bo(e, t, s, i, o, c, u)
: (t === "true-value" ? (e._trueValue = s) : t === "false-value" && (e._falseValue = s), jo(e, t, s, r));
};
function Xo(e, t, n, s) {
return s
? !!(t === "innerHTML" || t === "textContent" || (t in e && Cs.test(t) && F(n)))
: t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || (t === "list" && e.tagName === "INPUT") || (t === "type" && e.tagName === "TEXTAREA") || (Cs.test(t) && X(n))
? !1
: t in e;
}
const Zo = {
name: String,
type: String,
css: { type: Boolean, default: !0 },
duration: [String, Number, Object],
enterFromClass: String,
enterActiveClass: String,
enterToClass: String,
appearFromClass: String,
appearActiveClass: String,
appearToClass: String,
leaveFromClass: String,
leaveActiveClass: String,
leaveToClass: String,
};
$i.props;
const Qo = G({ patchProp: Yo }, No);
let Es;
function Go() {
return Es || (Es = uo(Qo));
}
const el = (...e) => {
const t = Go().createApp(...e),
{ mount: n } = t;
return (
(t.mount = (s) => {
const r = tl(s);
if (!r) return;
const i = t._component;
!F(i) && !i.render && !i.template && (i.template = r.innerHTML), (r.innerHTML = "");
const o = n(r, !1, r instanceof SVGElement);
return r instanceof Element && (r.removeAttribute("v-cloak"), r.setAttribute("data-v-app", "")), o;
}),
t
);
};
function tl(e) {
return X(e) ? document.querySelector(e) : e;
}
const nl = "" + new URL("electron.fe1dfbad.png", Wn.url).href,
sl = "" + new URL("vite.43a7a287.svg", Wn.url).href,
rl = "" + new URL("vue.03d6d6da.png", Wn.url).href,
Vt = (e) => (Oi("data-v-f5e6e06e"), (e = e()), Ai(), e),
il = Vt(() =>
W("p", null, [Ee(" Recommended IDE setup: "), W("a", { href: "https://code.visualstudio.com/", target: "_blank" }, "VS Code"), Ee(" + "), W("a", { href: "https://github.com/johnsoncodehk/volar", target: "_blank" }, "Volar")], -1)
),
ol = Vt(() => W("p", null, [Ee("See "), W("code", null, "README.md"), Ee(" for more information.")], -1)),
ll = Vt(() => W("p", null, [W("a", { href: "https://vitejs.dev/guide/features.html", target: "_blank" }, " Vite Docs "), Ee(" | "), W("a", { href: "https://v3.vuejs.org/", target: "_blank" }, "Vue 3 Docs")], -1)),
cl = Vt(() => W("p", null, [Ee(" Edit "), W("code", null, "components/HelloWorld.vue"), Ee(" to test hot module replacement. ")], -1)),
fl = sr({
__name: "HelloWorld",
props: { msg: null },
setup(e) {
const t = di(0);
return (n, s) => (_r(), br(ue, null, [W("h1", null, Yn(e.msg), 1), il, ol, ll, W("button", { type: "button", onClick: s[0] || (s[0] = (r) => t.value++) }, "count is: " + Yn(t.value), 1), cl], 64));
},
});
const ul = (e, t) => {
const n = e.__vccOpts || e;
for (const [s, r] of t) n[s] = r;
return n;
},
al = ul(fl, [["__scopeId", "data-v-f5e6e06e"]]),
dl = W("div", { class: "logo-box" }, [W("img", { style: { height: "140px" }, src: nl }), W("span"), W("img", { style: { height: "140px" }, src: sl }), W("span"), W("img", { style: { height: "140px" }, src: rl })], -1),
hl = { class: "static-public" },
pl = Ee(" Place static files into the "),
gl = W("code", null, "/public", -1),
ml = Ee(" folder "),
_l = ["src"],
bl = sr({
__name: "App",
setup(e) {
return (t, n) => (_r(), br(ue, null, [dl, He(al, { msg: "Hello Vue 3 + TypeScript + Vite" }), W("div", hl, [pl, gl, ml, W("img", { style: { width: "77px" }, src: "./node.png" }, null, 8, _l)])], 64));
},
});
el(bl)
.mount("#app")
.$nextTick(() => {
postMessage({ payload: "removeLoading" }, "*");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment