@inspect-devtools/client 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/entry.js
CHANGED
|
@@ -9,7 +9,7 @@ const z = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, It = p
|
|
|
9
9
|
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), rn = (e) => e.startsWith("onUpdate:"), te = Object.assign, Io = (e, t) => {
|
|
10
10
|
const n = e.indexOf(t);
|
|
11
11
|
n > -1 && e.splice(n, 1);
|
|
12
|
-
}, ui = Object.prototype.hasOwnProperty, U = (e, t) => ui.call(e, t),
|
|
12
|
+
}, ui = Object.prototype.hasOwnProperty, U = (e, t) => ui.call(e, t), P = Array.isArray, wt = (e) => dn(e) === "[object Map]", Yr = (e) => dn(e) === "[object Set]", ir = (e) => dn(e) === "[object Date]", A = (e) => typeof e == "function", Z = (e) => typeof e == "string", Fe = (e) => typeof e == "symbol", K = (e) => e !== null && typeof e == "object", Ro = (e) => (K(e) || A(e)) && A(e.then) && A(e.catch), zr = Object.prototype.toString, dn = (e) => zr.call(e), jo = (e) => dn(e).slice(8, -1), Xr = (e) => dn(e) === "[object Object]", Fo = (e) => Z(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Zt = /* @__PURE__ */ ft(
|
|
13
13
|
// the leading comma is intentional so empty string "" is also included
|
|
14
14
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
15
15
|
), fi = /* @__PURE__ */ ft(
|
|
@@ -26,7 +26,7 @@ const z = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, It = p
|
|
|
26
26
|
), Xe = (e, t) => !Object.is(e, t), Bt = (e, ...t) => {
|
|
27
27
|
for (let n = 0; n < e.length; n++)
|
|
28
28
|
e[n](...t);
|
|
29
|
-
},
|
|
29
|
+
}, Pn = (e, t, n, o = !1) => {
|
|
30
30
|
Object.defineProperty(e, t, {
|
|
31
31
|
configurable: !0,
|
|
32
32
|
enumerable: !1,
|
|
@@ -40,7 +40,7 @@ const z = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, It = p
|
|
|
40
40
|
let lr;
|
|
41
41
|
const hn = () => lr || (lr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
42
42
|
function Ot(e) {
|
|
43
|
-
if (
|
|
43
|
+
if (P(e)) {
|
|
44
44
|
const t = {};
|
|
45
45
|
for (let n = 0; n < e.length; n++) {
|
|
46
46
|
const o = e[n], r = Z(o) ? vi(o) : Ot(o);
|
|
@@ -66,7 +66,7 @@ function sn(e) {
|
|
|
66
66
|
let t = "";
|
|
67
67
|
if (Z(e))
|
|
68
68
|
t = e;
|
|
69
|
-
else if (
|
|
69
|
+
else if (P(e))
|
|
70
70
|
for (let n = 0; n < e.length; n++) {
|
|
71
71
|
const o = sn(e[n]);
|
|
72
72
|
o && (t += o + " ");
|
|
@@ -94,7 +94,7 @@ function Lo(e, t) {
|
|
|
94
94
|
return n && o ? e.getTime() === t.getTime() : !1;
|
|
95
95
|
if (n = Fe(e), o = Fe(t), n || o)
|
|
96
96
|
return e === t;
|
|
97
|
-
if (n =
|
|
97
|
+
if (n = P(e), o = P(t), n || o)
|
|
98
98
|
return n && o ? Di(e, t) : !1;
|
|
99
99
|
if (n = K(e), o = K(t), n || o) {
|
|
100
100
|
if (!n || !o)
|
|
@@ -110,14 +110,14 @@ function Lo(e, t) {
|
|
|
110
110
|
}
|
|
111
111
|
return String(e) === String(t);
|
|
112
112
|
}
|
|
113
|
-
const Qr = (e) => !!(e && e.__v_isRef === !0),
|
|
113
|
+
const Qr = (e) => !!(e && e.__v_isRef === !0), At = (e) => Z(e) ? e : e == null ? "" : P(e) || K(e) && (e.toString === zr || !A(e.toString)) ? Qr(e) ? At(e.value) : JSON.stringify(e, es, 2) : String(e), es = (e, t) => Qr(t) ? es(e, t.value) : wt(t) ? {
|
|
114
114
|
[`Map(${t.size})`]: [...t.entries()].reduce(
|
|
115
115
|
(n, [o, r], s) => (n[ro(o, s) + " =>"] = r, n),
|
|
116
116
|
{}
|
|
117
117
|
)
|
|
118
118
|
} : Yr(t) ? {
|
|
119
119
|
[`Set(${t.size})`]: [...t.values()].map((n) => ro(n))
|
|
120
|
-
} : Fe(t) ? ro(t) : K(t) &&
|
|
120
|
+
} : Fe(t) ? ro(t) : K(t) && !P(t) && !Xr(t) ? String(t) : t, ro = (e, t = "") => {
|
|
121
121
|
var n;
|
|
122
122
|
return (
|
|
123
123
|
// Symbol.description in es2019+ so we need to cast here to pass
|
|
@@ -367,7 +367,7 @@ const ls = [];
|
|
|
367
367
|
function Te() {
|
|
368
368
|
ls.push(je), je = !1;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function $e() {
|
|
371
371
|
const e = ls.pop();
|
|
372
372
|
je = e === void 0 ? !0 : e;
|
|
373
373
|
}
|
|
@@ -486,7 +486,7 @@ function Ze(e, t, n, o, r, s) {
|
|
|
486
486
|
if (ko(), t === "clear")
|
|
487
487
|
i.forEach(l);
|
|
488
488
|
else {
|
|
489
|
-
const u =
|
|
489
|
+
const u = P(e), h = u && Fo(n);
|
|
490
490
|
if (u && n === "length") {
|
|
491
491
|
const d = Number(o);
|
|
492
492
|
i.forEach((p, g) => {
|
|
@@ -517,14 +517,14 @@ function Jn(e) {
|
|
|
517
517
|
function ze(e, t) {
|
|
518
518
|
return /* @__PURE__ */ ke(e) ? Ft(/* @__PURE__ */ mt(e) ? He(t) : t) : He(t);
|
|
519
519
|
}
|
|
520
|
-
const
|
|
520
|
+
const $i = {
|
|
521
521
|
__proto__: null,
|
|
522
522
|
[Symbol.iterator]() {
|
|
523
523
|
return io(this, Symbol.iterator, (e) => ze(this, e));
|
|
524
524
|
},
|
|
525
525
|
concat(...e) {
|
|
526
526
|
return Tt(this).concat(
|
|
527
|
-
...e.map((t) =>
|
|
527
|
+
...e.map((t) => P(t) ? Tt(t) : t)
|
|
528
528
|
);
|
|
529
529
|
},
|
|
530
530
|
entries() {
|
|
@@ -634,10 +634,10 @@ function io(e, t, n) {
|
|
|
634
634
|
return s.done || (s.value = n(s.value)), s;
|
|
635
635
|
}), r;
|
|
636
636
|
}
|
|
637
|
-
const
|
|
637
|
+
const Pi = Array.prototype;
|
|
638
638
|
function nt(e, t, n, o, r, s) {
|
|
639
639
|
const i = Jn(e), l = i !== e && !/* @__PURE__ */ _e(e), u = i[t];
|
|
640
|
-
if (u !==
|
|
640
|
+
if (u !== Pi[t]) {
|
|
641
641
|
const p = u.apply(e, s);
|
|
642
642
|
return l ? He(p) : p;
|
|
643
643
|
}
|
|
@@ -665,17 +665,17 @@ function lo(e, t, n) {
|
|
|
665
665
|
const o = /* @__PURE__ */ I(e);
|
|
666
666
|
ce(o, "iterate", cn);
|
|
667
667
|
const r = o[t](...n);
|
|
668
|
-
return (r === -1 || r === !1) && /* @__PURE__ */
|
|
668
|
+
return (r === -1 || r === !1) && /* @__PURE__ */ An(n[0]) ? (n[0] = /* @__PURE__ */ I(n[0]), o[t](...n)) : r;
|
|
669
669
|
}
|
|
670
670
|
function Ut(e, t, n = []) {
|
|
671
671
|
Te(), ko();
|
|
672
672
|
const o = (/* @__PURE__ */ I(e))[t].apply(e, n);
|
|
673
|
-
return Ho(),
|
|
673
|
+
return Ho(), $e(), o;
|
|
674
674
|
}
|
|
675
|
-
const
|
|
675
|
+
const Ai = /* @__PURE__ */ ft("__proto__,__v_isRef,__isVue"), us = new Set(
|
|
676
676
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Fe)
|
|
677
677
|
);
|
|
678
|
-
function
|
|
678
|
+
function Mi(e) {
|
|
679
679
|
Fe(e) || (e = String(e));
|
|
680
680
|
const t = /* @__PURE__ */ I(this);
|
|
681
681
|
return ce(t, "has", e), t.hasOwnProperty(e);
|
|
@@ -697,13 +697,13 @@ class fs {
|
|
|
697
697
|
return o === (r ? s ? gs : ms : s ? hs : ds).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
698
698
|
// this means the receiver is a user proxy of the reactive proxy
|
|
699
699
|
Object.getPrototypeOf(t) === Object.getPrototypeOf(o) ? t : void 0;
|
|
700
|
-
const i =
|
|
700
|
+
const i = P(t);
|
|
701
701
|
if (!r) {
|
|
702
702
|
let u;
|
|
703
|
-
if (i && (u =
|
|
703
|
+
if (i && (u = $i[n]))
|
|
704
704
|
return u;
|
|
705
705
|
if (n === "hasOwnProperty")
|
|
706
|
-
return
|
|
706
|
+
return Mi;
|
|
707
707
|
}
|
|
708
708
|
const l = Reflect.get(
|
|
709
709
|
t,
|
|
@@ -713,7 +713,7 @@ class fs {
|
|
|
713
713
|
// its class methods
|
|
714
714
|
/* @__PURE__ */ se(t) ? t : o
|
|
715
715
|
);
|
|
716
|
-
if ((Fe(n) ? us.has(n) :
|
|
716
|
+
if ((Fe(n) ? us.has(n) : Ai(n)) || (r || ce(t, "get", n), s))
|
|
717
717
|
return l;
|
|
718
718
|
if (/* @__PURE__ */ se(l)) {
|
|
719
719
|
const u = i && Fo(n) ? l : l.value;
|
|
@@ -728,7 +728,7 @@ class as extends fs {
|
|
|
728
728
|
}
|
|
729
729
|
set(t, n, o, r) {
|
|
730
730
|
let s = t[n];
|
|
731
|
-
const i =
|
|
731
|
+
const i = P(t) && Fo(n);
|
|
732
732
|
if (!this._isShallow) {
|
|
733
733
|
const h = /* @__PURE__ */ ke(s);
|
|
734
734
|
if (!/* @__PURE__ */ _e(o) && !/* @__PURE__ */ ke(o) && (s = /* @__PURE__ */ I(s), o = /* @__PURE__ */ I(o)), !i && /* @__PURE__ */ se(s) && !/* @__PURE__ */ se(o))
|
|
@@ -757,7 +757,7 @@ class as extends fs {
|
|
|
757
757
|
return ce(
|
|
758
758
|
t,
|
|
759
759
|
"iterate",
|
|
760
|
-
|
|
760
|
+
P(t) ? "length" : xt
|
|
761
761
|
), Reflect.ownKeys(t);
|
|
762
762
|
}
|
|
763
763
|
}
|
|
@@ -1001,7 +1001,7 @@ function _e(e) {
|
|
|
1001
1001
|
return !!(e && e.__v_isShallow);
|
|
1002
1002
|
}
|
|
1003
1003
|
// @__NO_SIDE_EFFECTS__
|
|
1004
|
-
function
|
|
1004
|
+
function An(e) {
|
|
1005
1005
|
return e ? !!e.__v_raw : !1;
|
|
1006
1006
|
}
|
|
1007
1007
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -1010,7 +1010,7 @@ function I(e) {
|
|
|
1010
1010
|
return t ? /* @__PURE__ */ I(t) : e;
|
|
1011
1011
|
}
|
|
1012
1012
|
function Gi(e) {
|
|
1013
|
-
return !U(e, "__v_skip") && Object.isExtensible(e) &&
|
|
1013
|
+
return !U(e, "__v_skip") && Object.isExtensible(e) && Pn(e, "__v_skip", !0), e;
|
|
1014
1014
|
}
|
|
1015
1015
|
const He = (e) => K(e) ? /* @__PURE__ */ Ko(e) : e, Ft = (e) => K(e) ? /* @__PURE__ */ Oo(e) : e;
|
|
1016
1016
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -1087,16 +1087,16 @@ class Xi {
|
|
|
1087
1087
|
// @__NO_SIDE_EFFECTS__
|
|
1088
1088
|
function Zi(e, t, n = !1) {
|
|
1089
1089
|
let o, r;
|
|
1090
|
-
|
|
1090
|
+
A(e) ? o = e : (o = e.get, r = e.set);
|
|
1091
1091
|
const s = new Xi(o, r, n);
|
|
1092
1092
|
return process.env.NODE_ENV, s;
|
|
1093
1093
|
}
|
|
1094
|
-
const wn = {},
|
|
1094
|
+
const wn = {}, Mn = /* @__PURE__ */ new WeakMap();
|
|
1095
1095
|
let Nt;
|
|
1096
1096
|
function Qi(e, t = !1, n = Nt) {
|
|
1097
1097
|
if (n) {
|
|
1098
|
-
let o =
|
|
1099
|
-
o ||
|
|
1098
|
+
let o = Mn.get(n);
|
|
1099
|
+
o || Mn.set(n, o = []), o.push(e);
|
|
1100
1100
|
} else process.env.NODE_ENV !== "production" && !t && Le(
|
|
1101
1101
|
"onWatcherCleanup() was called when there was no active watcher to associate with."
|
|
1102
1102
|
);
|
|
@@ -1109,28 +1109,28 @@ function el(e, t, n = z) {
|
|
|
1109
1109
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
1110
1110
|
);
|
|
1111
1111
|
}, d = (C) => r ? C : /* @__PURE__ */ _e(C) || r === !1 || r === 0 ? lt(C, 1) : lt(C);
|
|
1112
|
-
let p, g, w,
|
|
1113
|
-
if (/* @__PURE__ */ se(e) ? (g = () => e.value, V = /* @__PURE__ */ _e(e)) : /* @__PURE__ */ mt(e) ? (g = () => d(e), V = !0) :
|
|
1112
|
+
let p, g, w, $, V = !1, W = !1;
|
|
1113
|
+
if (/* @__PURE__ */ se(e) ? (g = () => e.value, V = /* @__PURE__ */ _e(e)) : /* @__PURE__ */ mt(e) ? (g = () => d(e), V = !0) : P(e) ? (W = !0, V = e.some((C) => /* @__PURE__ */ mt(C) || /* @__PURE__ */ _e(C)), g = () => e.map((C) => {
|
|
1114
1114
|
if (/* @__PURE__ */ se(C))
|
|
1115
1115
|
return C.value;
|
|
1116
1116
|
if (/* @__PURE__ */ mt(C))
|
|
1117
1117
|
return d(C);
|
|
1118
|
-
if (
|
|
1118
|
+
if (A(C))
|
|
1119
1119
|
return u ? u(C, 2) : C();
|
|
1120
1120
|
process.env.NODE_ENV !== "production" && h(C);
|
|
1121
|
-
})) :
|
|
1121
|
+
})) : A(e) ? t ? g = u ? () => u(e, 2) : e : g = () => {
|
|
1122
1122
|
if (w) {
|
|
1123
1123
|
Te();
|
|
1124
1124
|
try {
|
|
1125
1125
|
w();
|
|
1126
1126
|
} finally {
|
|
1127
|
-
|
|
1127
|
+
$e();
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
const C = Nt;
|
|
1131
1131
|
Nt = p;
|
|
1132
1132
|
try {
|
|
1133
|
-
return u ? u(e, 3, [
|
|
1133
|
+
return u ? u(e, 3, [$]) : e($);
|
|
1134
1134
|
} finally {
|
|
1135
1135
|
Nt = C;
|
|
1136
1136
|
}
|
|
@@ -1162,7 +1162,7 @@ function el(e, t, n = z) {
|
|
|
1162
1162
|
ee,
|
|
1163
1163
|
// pass undefined as the old value when it's changed for the first time
|
|
1164
1164
|
j === wn ? void 0 : W && j[0] === wn ? [] : j,
|
|
1165
|
-
|
|
1165
|
+
$
|
|
1166
1166
|
];
|
|
1167
1167
|
j = ee, u ? u(t, 3, ne) : (
|
|
1168
1168
|
// @ts-expect-error
|
|
@@ -1175,14 +1175,14 @@ function el(e, t, n = z) {
|
|
|
1175
1175
|
} else
|
|
1176
1176
|
p.run();
|
|
1177
1177
|
};
|
|
1178
|
-
return l && l(G), p = new ts(g), p.scheduler = i ? () => i(G, !1) : G,
|
|
1179
|
-
const C =
|
|
1178
|
+
return l && l(G), p = new ts(g), p.scheduler = i ? () => i(G, !1) : G, $ = (C) => Qi(C, !1, p), w = p.onStop = () => {
|
|
1179
|
+
const C = Mn.get(p);
|
|
1180
1180
|
if (C) {
|
|
1181
1181
|
if (u)
|
|
1182
1182
|
u(C, 4);
|
|
1183
1183
|
else
|
|
1184
1184
|
for (const ee of C) ee();
|
|
1185
|
-
|
|
1185
|
+
Mn.delete(p);
|
|
1186
1186
|
}
|
|
1187
1187
|
}, process.env.NODE_ENV !== "production" && (p.onTrack = n.onTrack, p.onTrigger = n.onTrigger), t ? o ? G(!0) : j = p.run() : i ? i(G.bind(null, !0), !0) : p.run(), L.pause = p.pause.bind(p), L.resume = p.resume.bind(p), L.stop = L, L;
|
|
1188
1188
|
}
|
|
@@ -1191,7 +1191,7 @@ function lt(e, t = 1 / 0, n) {
|
|
|
1191
1191
|
return e;
|
|
1192
1192
|
if (n.set(e, t), t--, /* @__PURE__ */ se(e))
|
|
1193
1193
|
lt(e.value, t, n);
|
|
1194
|
-
else if (
|
|
1194
|
+
else if (P(e))
|
|
1195
1195
|
for (let o = 0; o < e.length; o++)
|
|
1196
1196
|
lt(e[o], t, n);
|
|
1197
1197
|
else if (Yr(e) || wt(e))
|
|
@@ -1242,7 +1242,7 @@ function x(e, ...t) {
|
|
|
1242
1242
|
r.length && s.push(`
|
|
1243
1243
|
`, ...nl(r)), console.warn(...s);
|
|
1244
1244
|
}
|
|
1245
|
-
|
|
1245
|
+
$e(), co = !1;
|
|
1246
1246
|
}
|
|
1247
1247
|
function tl() {
|
|
1248
1248
|
let e = Dt[Dt.length - 1];
|
|
@@ -1282,7 +1282,7 @@ function rl(e) {
|
|
|
1282
1282
|
}), n.length > 3 && t.push(" ..."), t;
|
|
1283
1283
|
}
|
|
1284
1284
|
function _s(e, t, n) {
|
|
1285
|
-
return Z(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : /* @__PURE__ */ se(t) ? (t = _s(e, /* @__PURE__ */ I(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) :
|
|
1285
|
+
return Z(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : /* @__PURE__ */ se(t) ? (t = _s(e, /* @__PURE__ */ I(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : A(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = /* @__PURE__ */ I(t), n ? t : [`${e}=`, t]);
|
|
1286
1286
|
}
|
|
1287
1287
|
const Wo = {
|
|
1288
1288
|
sp: "serverPrefetch hook",
|
|
@@ -1325,13 +1325,13 @@ function Lt(e, t, n, o) {
|
|
|
1325
1325
|
}
|
|
1326
1326
|
}
|
|
1327
1327
|
function Be(e, t, n, o) {
|
|
1328
|
-
if (
|
|
1328
|
+
if (A(e)) {
|
|
1329
1329
|
const r = Lt(e, t, n, o);
|
|
1330
1330
|
return r && Ro(r) && r.catch((s) => {
|
|
1331
1331
|
mn(s, t, n);
|
|
1332
1332
|
}), r;
|
|
1333
1333
|
}
|
|
1334
|
-
if (
|
|
1334
|
+
if (P(e)) {
|
|
1335
1335
|
const r = [];
|
|
1336
1336
|
for (let s = 0; s < e.length; s++)
|
|
1337
1337
|
r.push(Be(e[s], t, n, o));
|
|
@@ -1359,7 +1359,7 @@ function mn(e, t, n, o = !0) {
|
|
|
1359
1359
|
e,
|
|
1360
1360
|
u,
|
|
1361
1361
|
h
|
|
1362
|
-
]),
|
|
1362
|
+
]), $e();
|
|
1363
1363
|
return;
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
@@ -1380,7 +1380,7 @@ function sl(e, t, n, o = !0, r = !1) {
|
|
|
1380
1380
|
const ge = [];
|
|
1381
1381
|
let Ye = -1;
|
|
1382
1382
|
const Rt = [];
|
|
1383
|
-
let ht = null,
|
|
1383
|
+
let ht = null, Mt = 0;
|
|
1384
1384
|
const Es = /* @__PURE__ */ Promise.resolve();
|
|
1385
1385
|
let In = null;
|
|
1386
1386
|
const il = 100;
|
|
@@ -1407,7 +1407,7 @@ function bs() {
|
|
|
1407
1407
|
In || (In = Es.then(Os));
|
|
1408
1408
|
}
|
|
1409
1409
|
function ys(e) {
|
|
1410
|
-
|
|
1410
|
+
P(e) ? Rt.push(...e) : ht && e.id === -1 ? ht.splice(Mt + 1, 0, e) : e.flags & 1 || (Rt.push(e), e.flags |= 1), bs();
|
|
1411
1411
|
}
|
|
1412
1412
|
function ar(e, t, n = Ye + 1) {
|
|
1413
1413
|
for (process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); n < ge.length; n++) {
|
|
@@ -1428,11 +1428,11 @@ function Ns(e) {
|
|
|
1428
1428
|
ht.push(...t);
|
|
1429
1429
|
return;
|
|
1430
1430
|
}
|
|
1431
|
-
for (ht = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()),
|
|
1432
|
-
const n = ht[
|
|
1431
|
+
for (ht = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), Mt = 0; Mt < ht.length; Mt++) {
|
|
1432
|
+
const n = ht[Mt];
|
|
1433
1433
|
process.env.NODE_ENV !== "production" && qo(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
|
|
1434
1434
|
}
|
|
1435
|
-
ht = null,
|
|
1435
|
+
ht = null, Mt = 0;
|
|
1436
1436
|
}
|
|
1437
1437
|
}
|
|
1438
1438
|
const un = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
@@ -1560,7 +1560,7 @@ function Go(e, t) {
|
|
|
1560
1560
|
}
|
|
1561
1561
|
function dl(e, t) {
|
|
1562
1562
|
gn("app:init", e, t, {
|
|
1563
|
-
Fragment:
|
|
1563
|
+
Fragment: Me,
|
|
1564
1564
|
Text: vn,
|
|
1565
1565
|
Comment: Se,
|
|
1566
1566
|
Static: Tn
|
|
@@ -1645,7 +1645,7 @@ function Nl(e, t) {
|
|
|
1645
1645
|
const n = to(ve), o = e.dirs || (e.dirs = []);
|
|
1646
1646
|
for (let r = 0; r < t.length; r++) {
|
|
1647
1647
|
let [s, i, l, u = z] = t[r];
|
|
1648
|
-
s && (
|
|
1648
|
+
s && (A(s) && (s = {
|
|
1649
1649
|
mounted: s,
|
|
1650
1650
|
updated: s
|
|
1651
1651
|
}), s.deep && lt(i), o.push({
|
|
@@ -1670,7 +1670,7 @@ function Et(e, t, n, o) {
|
|
|
1670
1670
|
l,
|
|
1671
1671
|
e,
|
|
1672
1672
|
t
|
|
1673
|
-
]),
|
|
1673
|
+
]), $e());
|
|
1674
1674
|
}
|
|
1675
1675
|
}
|
|
1676
1676
|
function Ol(e, t) {
|
|
@@ -1687,7 +1687,7 @@ function Vn(e, t, n = !1) {
|
|
|
1687
1687
|
if (r && e in r)
|
|
1688
1688
|
return r[e];
|
|
1689
1689
|
if (arguments.length > 1)
|
|
1690
|
-
return n &&
|
|
1690
|
+
return n && A(t) ? t.call(o && o.proxy) : t;
|
|
1691
1691
|
process.env.NODE_ENV !== "production" && x(`injection "${String(e)}" not found.`);
|
|
1692
1692
|
} else process.env.NODE_ENV !== "production" && x("inject() can only be used inside setup() or functional components.");
|
|
1693
1693
|
}
|
|
@@ -1700,7 +1700,7 @@ const wl = /* @__PURE__ */ Symbol.for("v-scx"), xl = () => {
|
|
|
1700
1700
|
}
|
|
1701
1701
|
};
|
|
1702
1702
|
function fo(e, t, n) {
|
|
1703
|
-
return process.env.NODE_ENV !== "production" && !
|
|
1703
|
+
return process.env.NODE_ENV !== "production" && !A(t) && x(
|
|
1704
1704
|
"`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
|
|
1705
1705
|
), Cs(e, t, n);
|
|
1706
1706
|
}
|
|
@@ -1728,12 +1728,12 @@ function Cs(e, t, n = z) {
|
|
|
1728
1728
|
}
|
|
1729
1729
|
}
|
|
1730
1730
|
const d = le;
|
|
1731
|
-
l.call = (w,
|
|
1731
|
+
l.call = (w, $, V) => Be(w, d, $, V);
|
|
1732
1732
|
let p = !1;
|
|
1733
1733
|
s === "post" ? l.scheduler = (w) => {
|
|
1734
1734
|
ye(w, d && d.suspense);
|
|
1735
|
-
} : s !== "sync" && (p = !0, l.scheduler = (w,
|
|
1736
|
-
|
|
1735
|
+
} : s !== "sync" && (p = !0, l.scheduler = (w, $) => {
|
|
1736
|
+
$ ? w() : Xn(w);
|
|
1737
1737
|
}), l.augmentJob = (w) => {
|
|
1738
1738
|
t && (w.flags |= 4), p && (w.flags |= 2, d && (w.id = d.uid, w.i = d));
|
|
1739
1739
|
};
|
|
@@ -1743,7 +1743,7 @@ function Cs(e, t, n = z) {
|
|
|
1743
1743
|
function Dl(e, t, n) {
|
|
1744
1744
|
const o = this.proxy, r = Z(e) ? e.includes(".") ? Ts(o, e) : () => o[e] : e.bind(o, o);
|
|
1745
1745
|
let s;
|
|
1746
|
-
|
|
1746
|
+
A(t) ? s = t : (s = t.handler, n = t);
|
|
1747
1747
|
const i = _n(this), l = Cs(r, s.bind(o), n);
|
|
1748
1748
|
return i(), l;
|
|
1749
1749
|
}
|
|
@@ -1762,13 +1762,13 @@ function Yo(e, t) {
|
|
|
1762
1762
|
}
|
|
1763
1763
|
// @__NO_SIDE_EFFECTS__
|
|
1764
1764
|
function Cl(e, t) {
|
|
1765
|
-
return
|
|
1765
|
+
return A(e) ? (
|
|
1766
1766
|
// #8236: extend call and options.name access are considered side-effects
|
|
1767
1767
|
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
|
|
1768
1768
|
te({ name: e.name }, t, { setup: e })
|
|
1769
1769
|
) : e;
|
|
1770
1770
|
}
|
|
1771
|
-
function
|
|
1771
|
+
function $s(e) {
|
|
1772
1772
|
e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0];
|
|
1773
1773
|
}
|
|
1774
1774
|
const hr = /* @__PURE__ */ new WeakSet();
|
|
@@ -1778,11 +1778,11 @@ function mr(e, t) {
|
|
|
1778
1778
|
}
|
|
1779
1779
|
const Fn = /* @__PURE__ */ new WeakMap();
|
|
1780
1780
|
function tn(e, t, n, o, r = !1) {
|
|
1781
|
-
if (
|
|
1781
|
+
if (P(e)) {
|
|
1782
1782
|
e.forEach(
|
|
1783
1783
|
(V, W) => tn(
|
|
1784
1784
|
V,
|
|
1785
|
-
t && (
|
|
1785
|
+
t && (P(t) ? t[W] : t),
|
|
1786
1786
|
n,
|
|
1787
1787
|
o,
|
|
1788
1788
|
r
|
|
@@ -1803,39 +1803,39 @@ function tn(e, t, n, o, r = !1) {
|
|
|
1803
1803
|
}
|
|
1804
1804
|
const h = t && t.r, d = l.refs === z ? l.refs = {} : l.refs, p = l.setupState, g = /* @__PURE__ */ I(p), w = p === z ? Jr : (V) => process.env.NODE_ENV !== "production" && (U(g, V) && !/* @__PURE__ */ se(g[V]) && x(
|
|
1805
1805
|
`Template ref "${V}" used on a non-ref value. It will not work in the production build.`
|
|
1806
|
-
), hr.has(g[V])) || mr(d, V) ? !1 : U(g, V),
|
|
1806
|
+
), hr.has(g[V])) || mr(d, V) ? !1 : U(g, V), $ = (V, W) => !(process.env.NODE_ENV !== "production" && hr.has(V) || W && mr(d, W));
|
|
1807
1807
|
if (h != null && h !== u) {
|
|
1808
1808
|
if (gr(t), Z(h))
|
|
1809
1809
|
d[h] = null, w(h) && (p[h] = null);
|
|
1810
1810
|
else if (/* @__PURE__ */ se(h)) {
|
|
1811
1811
|
const V = t;
|
|
1812
|
-
|
|
1812
|
+
$(h, V.k) && (h.value = null), V.k && (d[V.k] = null);
|
|
1813
1813
|
}
|
|
1814
1814
|
}
|
|
1815
|
-
if (
|
|
1815
|
+
if (A(u)) {
|
|
1816
1816
|
Te();
|
|
1817
1817
|
try {
|
|
1818
1818
|
Lt(u, l, 12, [i, d]);
|
|
1819
1819
|
} finally {
|
|
1820
|
-
|
|
1820
|
+
$e();
|
|
1821
1821
|
}
|
|
1822
1822
|
} else {
|
|
1823
1823
|
const V = Z(u), W = /* @__PURE__ */ se(u);
|
|
1824
1824
|
if (V || W) {
|
|
1825
1825
|
const q = () => {
|
|
1826
1826
|
if (e.f) {
|
|
1827
|
-
const L = V ? w(u) ? p[u] : d[u] :
|
|
1827
|
+
const L = V ? w(u) ? p[u] : d[u] : $(u) || !e.k ? u.value : d[e.k];
|
|
1828
1828
|
if (r)
|
|
1829
|
-
|
|
1830
|
-
else if (
|
|
1829
|
+
P(L) && Io(L, s);
|
|
1830
|
+
else if (P(L))
|
|
1831
1831
|
L.includes(s) || L.push(s);
|
|
1832
1832
|
else if (V)
|
|
1833
1833
|
d[u] = [s], w(u) && (p[u] = d[u]);
|
|
1834
1834
|
else {
|
|
1835
1835
|
const j = [s];
|
|
1836
|
-
|
|
1836
|
+
$(u, e.k) && (u.value = j), e.k && (d[e.k] = j);
|
|
1837
1837
|
}
|
|
1838
|
-
} else V ? (d[u] = i, w(u) && (p[u] = i)) : W ? (
|
|
1838
|
+
} else V ? (d[u] = i, w(u) && (p[u] = i)) : W ? ($(u, e.k) && (u.value = i), e.k && (d[e.k] = i)) : process.env.NODE_ENV !== "production" && x("Invalid template ref type:", u, `(${typeof u})`);
|
|
1839
1839
|
};
|
|
1840
1840
|
if (i) {
|
|
1841
1841
|
const L = () => {
|
|
@@ -1855,12 +1855,12 @@ hn().requestIdleCallback;
|
|
|
1855
1855
|
hn().cancelIdleCallback;
|
|
1856
1856
|
const nn = (e) => !!e.type.__asyncLoader, zo = (e) => e.type.__isKeepAlive;
|
|
1857
1857
|
function Tl(e, t) {
|
|
1858
|
-
|
|
1858
|
+
Ps(e, "a", t);
|
|
1859
1859
|
}
|
|
1860
|
-
function
|
|
1861
|
-
|
|
1860
|
+
function $l(e, t) {
|
|
1861
|
+
Ps(e, "da", t);
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1863
|
+
function Ps(e, t, n = le) {
|
|
1864
1864
|
const o = e.__wdc || (e.__wdc = () => {
|
|
1865
1865
|
let r = n;
|
|
1866
1866
|
for (; r; ) {
|
|
@@ -1873,10 +1873,10 @@ function $s(e, t, n = le) {
|
|
|
1873
1873
|
if (Zn(t, o, n), n) {
|
|
1874
1874
|
let r = n.parent;
|
|
1875
1875
|
for (; r && r.parent; )
|
|
1876
|
-
zo(r.parent.vnode) &&
|
|
1876
|
+
zo(r.parent.vnode) && Pl(o, t, n, r), r = r.parent;
|
|
1877
1877
|
}
|
|
1878
1878
|
}
|
|
1879
|
-
function
|
|
1879
|
+
function Pl(e, t, n, o) {
|
|
1880
1880
|
const r = Zn(
|
|
1881
1881
|
t,
|
|
1882
1882
|
e,
|
|
@@ -1893,7 +1893,7 @@ function Zn(e, t, n = le, o = !1) {
|
|
|
1893
1893
|
const r = n[e] || (n[e] = []), s = t.__weh || (t.__weh = (...i) => {
|
|
1894
1894
|
Te();
|
|
1895
1895
|
const l = _n(n), u = Be(t, n, e, i);
|
|
1896
|
-
return l(),
|
|
1896
|
+
return l(), $e(), u;
|
|
1897
1897
|
});
|
|
1898
1898
|
return o ? r.unshift(s) : r.push(s), s;
|
|
1899
1899
|
} else if (process.env.NODE_ENV !== "production") {
|
|
@@ -1905,7 +1905,7 @@ function Zn(e, t, n = le, o = !1) {
|
|
|
1905
1905
|
}
|
|
1906
1906
|
const at = (e) => (t, n = le) => {
|
|
1907
1907
|
(!an || e === "sp") && Zn(e, (...o) => t(...o), n);
|
|
1908
|
-
},
|
|
1908
|
+
}, Al = at("bm"), Ml = at("m"), Il = at(
|
|
1909
1909
|
"bu"
|
|
1910
1910
|
), Rl = at("u"), jl = at(
|
|
1911
1911
|
"bum"
|
|
@@ -1918,7 +1918,7 @@ function Hl(e, t = le) {
|
|
|
1918
1918
|
const Bl = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
1919
1919
|
function Ul(e, t, n, o) {
|
|
1920
1920
|
let r;
|
|
1921
|
-
const s = n, i =
|
|
1921
|
+
const s = n, i = P(e);
|
|
1922
1922
|
if (i || Z(e)) {
|
|
1923
1923
|
const l = i && /* @__PURE__ */ mt(e);
|
|
1924
1924
|
let u = !1, h = !1;
|
|
@@ -1980,7 +1980,7 @@ const xo = (e) => e ? ti(e) ? to(e) : xo(e.parent) : null, St = (
|
|
|
1980
1980
|
$nextTick: (e) => e.n || (e.n = ll.bind(e.proxy)),
|
|
1981
1981
|
$watch: (e) => Dl.bind(e)
|
|
1982
1982
|
})
|
|
1983
|
-
), Zo = (e) => e === "_" || e === "$", po = (e, t) => e !== z && !e.__isScriptSetup && U(e, t),
|
|
1983
|
+
), Zo = (e) => e === "_" || e === "$", po = (e, t) => e !== z && !e.__isScriptSetup && U(e, t), As = {
|
|
1984
1984
|
get({ _: e }, t) {
|
|
1985
1985
|
if (t === "__v_skip")
|
|
1986
1986
|
return !0;
|
|
@@ -2058,7 +2058,7 @@ const xo = (e) => e ? ti(e) ? to(e) : xo(e.parent) : null, St = (
|
|
|
2058
2058
|
return n.get != null ? e._.accessCache[t] = 0 : U(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
|
|
2059
2059
|
}
|
|
2060
2060
|
};
|
|
2061
|
-
process.env.NODE_ENV !== "production" && (
|
|
2061
|
+
process.env.NODE_ENV !== "production" && (As.ownKeys = (e) => (x(
|
|
2062
2062
|
"Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
|
|
2063
2063
|
), Reflect.ownKeys(e)));
|
|
2064
2064
|
function Kl(e) {
|
|
@@ -2114,7 +2114,7 @@ function ql(e) {
|
|
|
2114
2114
|
});
|
|
2115
2115
|
}
|
|
2116
2116
|
function vr(e) {
|
|
2117
|
-
return
|
|
2117
|
+
return P(e) ? e.reduce(
|
|
2118
2118
|
(t, n) => (t[n] = null, t),
|
|
2119
2119
|
{}
|
|
2120
2120
|
) : e;
|
|
@@ -2142,7 +2142,7 @@ function Jl(e) {
|
|
|
2142
2142
|
beforeMount: p,
|
|
2143
2143
|
mounted: g,
|
|
2144
2144
|
beforeUpdate: w,
|
|
2145
|
-
updated:
|
|
2145
|
+
updated: $,
|
|
2146
2146
|
activated: V,
|
|
2147
2147
|
deactivated: W,
|
|
2148
2148
|
beforeDestroy: q,
|
|
@@ -2171,7 +2171,7 @@ function Jl(e) {
|
|
|
2171
2171
|
if (h && Yl(h, o, Ve), i)
|
|
2172
2172
|
for (const k in i) {
|
|
2173
2173
|
const F = i[k];
|
|
2174
|
-
|
|
2174
|
+
A(F) ? (process.env.NODE_ENV !== "production" ? Object.defineProperty(o, k, {
|
|
2175
2175
|
value: F.bind(n),
|
|
2176
2176
|
configurable: !0,
|
|
2177
2177
|
enumerable: !0,
|
|
@@ -2181,7 +2181,7 @@ function Jl(e) {
|
|
|
2181
2181
|
);
|
|
2182
2182
|
}
|
|
2183
2183
|
if (r) {
|
|
2184
|
-
process.env.NODE_ENV !== "production" && !
|
|
2184
|
+
process.env.NODE_ENV !== "production" && !A(r) && x(
|
|
2185
2185
|
"The data option must be a function. Plain object usage is no longer supported."
|
|
2186
2186
|
);
|
|
2187
2187
|
const k = r.call(n, n);
|
|
@@ -2200,37 +2200,37 @@ function Jl(e) {
|
|
|
2200
2200
|
}
|
|
2201
2201
|
if (Do = !0, s)
|
|
2202
2202
|
for (const k in s) {
|
|
2203
|
-
const F = s[k], Ce =
|
|
2203
|
+
const F = s[k], Ce = A(F) ? F.bind(n, n) : A(F.get) ? F.get.bind(n, n) : ue;
|
|
2204
2204
|
process.env.NODE_ENV !== "production" && Ce === ue && x(`Computed property "${k}" has no getter.`);
|
|
2205
|
-
const kt = !
|
|
2205
|
+
const kt = !A(F) && A(F.set) ? F.set.bind(n) : process.env.NODE_ENV !== "production" ? () => {
|
|
2206
2206
|
x(
|
|
2207
2207
|
`Write operation failed: computed property "${k}" is readonly.`
|
|
2208
2208
|
);
|
|
2209
|
-
} : ue,
|
|
2209
|
+
} : ue, Pe = Je({
|
|
2210
2210
|
get: Ce,
|
|
2211
2211
|
set: kt
|
|
2212
2212
|
});
|
|
2213
2213
|
Object.defineProperty(o, k, {
|
|
2214
2214
|
enumerable: !0,
|
|
2215
2215
|
configurable: !0,
|
|
2216
|
-
get: () =>
|
|
2217
|
-
set: (et) =>
|
|
2216
|
+
get: () => Pe.value,
|
|
2217
|
+
set: (et) => Pe.value = et
|
|
2218
2218
|
}), process.env.NODE_ENV !== "production" && Ve("Computed", k);
|
|
2219
2219
|
}
|
|
2220
2220
|
if (l)
|
|
2221
2221
|
for (const k in l)
|
|
2222
|
-
|
|
2222
|
+
Ms(l[k], o, n, k);
|
|
2223
2223
|
if (u) {
|
|
2224
|
-
const k =
|
|
2224
|
+
const k = A(u) ? u.call(n) : u;
|
|
2225
2225
|
Reflect.ownKeys(k).forEach((F) => {
|
|
2226
2226
|
Ol(F, k[F]);
|
|
2227
2227
|
});
|
|
2228
2228
|
}
|
|
2229
2229
|
d && _r(d, e, "c");
|
|
2230
2230
|
function de(k, F) {
|
|
2231
|
-
|
|
2231
|
+
P(F) ? F.forEach((Ce) => k(Ce.bind(n))) : F && k(F.bind(n));
|
|
2232
2232
|
}
|
|
2233
|
-
if (de(
|
|
2233
|
+
if (de(Al, p), de(Ml, g), de(Il, w), de(Rl, $), de(Tl, V), de($l, W), de(Hl, ne), de(kl, ee), de(Ll, ae), de(jl, L), de(Xo, G), de(Fl, fe), P(Ee))
|
|
2234
2234
|
if (Ee.length) {
|
|
2235
2235
|
const k = e.exposed || (e.exposed = {});
|
|
2236
2236
|
Ee.forEach((F) => {
|
|
@@ -2241,10 +2241,10 @@ function Jl(e) {
|
|
|
2241
2241
|
});
|
|
2242
2242
|
});
|
|
2243
2243
|
} else e.exposed || (e.exposed = {});
|
|
2244
|
-
C && e.render === ue && (e.render = C), Oe != null && (e.inheritAttrs = Oe), Q && (e.components = Q), we && (e.directives = we), fe &&
|
|
2244
|
+
C && e.render === ue && (e.render = C), Oe != null && (e.inheritAttrs = Oe), Q && (e.components = Q), we && (e.directives = we), fe && $s(e);
|
|
2245
2245
|
}
|
|
2246
2246
|
function Yl(e, t, n = ue) {
|
|
2247
|
-
|
|
2247
|
+
P(e) && (e = So(e));
|
|
2248
2248
|
for (const o in e) {
|
|
2249
2249
|
const r = e[o];
|
|
2250
2250
|
let s;
|
|
@@ -2262,24 +2262,24 @@ function Yl(e, t, n = ue) {
|
|
|
2262
2262
|
}
|
|
2263
2263
|
function _r(e, t, n) {
|
|
2264
2264
|
Be(
|
|
2265
|
-
|
|
2265
|
+
P(e) ? e.map((o) => o.bind(t.proxy)) : e.bind(t.proxy),
|
|
2266
2266
|
t,
|
|
2267
2267
|
n
|
|
2268
2268
|
);
|
|
2269
2269
|
}
|
|
2270
|
-
function
|
|
2270
|
+
function Ms(e, t, n, o) {
|
|
2271
2271
|
let r = o.includes(".") ? Ts(n, o) : () => n[o];
|
|
2272
2272
|
if (Z(e)) {
|
|
2273
2273
|
const s = t[e];
|
|
2274
|
-
|
|
2275
|
-
} else if (
|
|
2274
|
+
A(s) ? fo(r, s) : process.env.NODE_ENV !== "production" && x(`Invalid watch handler specified by key "${e}"`, s);
|
|
2275
|
+
} else if (A(e))
|
|
2276
2276
|
fo(r, e.bind(n));
|
|
2277
2277
|
else if (K(e))
|
|
2278
|
-
if (
|
|
2279
|
-
e.forEach((s) =>
|
|
2278
|
+
if (P(e))
|
|
2279
|
+
e.forEach((s) => Ms(s, t, n, o));
|
|
2280
2280
|
else {
|
|
2281
|
-
const s =
|
|
2282
|
-
|
|
2281
|
+
const s = A(e.handler) ? e.handler.bind(n) : t[e.handler];
|
|
2282
|
+
A(s) ? fo(r, s, e) : process.env.NODE_ENV !== "production" && x(`Invalid watch handler specified by key "${e.handler}"`, s);
|
|
2283
2283
|
}
|
|
2284
2284
|
else process.env.NODE_ENV !== "production" && x(`Invalid watch option: "${o}"`, e);
|
|
2285
2285
|
}
|
|
@@ -2344,8 +2344,8 @@ const zl = {
|
|
|
2344
2344
|
function Er(e, t) {
|
|
2345
2345
|
return t ? e ? function() {
|
|
2346
2346
|
return te(
|
|
2347
|
-
|
|
2348
|
-
|
|
2347
|
+
A(e) ? e.call(this, this) : e,
|
|
2348
|
+
A(t) ? t.call(this, this) : t
|
|
2349
2349
|
);
|
|
2350
2350
|
} : t : e;
|
|
2351
2351
|
}
|
|
@@ -2353,7 +2353,7 @@ function Xl(e, t) {
|
|
|
2353
2353
|
return zt(So(e), So(t));
|
|
2354
2354
|
}
|
|
2355
2355
|
function So(e) {
|
|
2356
|
-
if (
|
|
2356
|
+
if (P(e)) {
|
|
2357
2357
|
const t = {};
|
|
2358
2358
|
for (let n = 0; n < e.length; n++)
|
|
2359
2359
|
t[e[n]] = e[n];
|
|
@@ -2368,7 +2368,7 @@ function zt(e, t) {
|
|
|
2368
2368
|
return e ? te(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
2369
2369
|
}
|
|
2370
2370
|
function br(e, t) {
|
|
2371
|
-
return e ?
|
|
2371
|
+
return e ? P(e) && P(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : te(
|
|
2372
2372
|
/* @__PURE__ */ Object.create(null),
|
|
2373
2373
|
vr(e),
|
|
2374
2374
|
vr(t ?? {})
|
|
@@ -2406,7 +2406,7 @@ function Rs() {
|
|
|
2406
2406
|
let Ql = 0;
|
|
2407
2407
|
function ec(e, t) {
|
|
2408
2408
|
return function(o, r = null) {
|
|
2409
|
-
|
|
2409
|
+
A(o) || (o = te({}, o)), r != null && !K(r) && (process.env.NODE_ENV !== "production" && x("root props passed to app.mount() must be an object."), r = null);
|
|
2410
2410
|
const s = Rs(), i = /* @__PURE__ */ new WeakSet(), l = [];
|
|
2411
2411
|
let u = !1;
|
|
2412
2412
|
const h = s.app = {
|
|
@@ -2416,7 +2416,7 @@ function ec(e, t) {
|
|
|
2416
2416
|
_container: null,
|
|
2417
2417
|
_context: s,
|
|
2418
2418
|
_instance: null,
|
|
2419
|
-
version:
|
|
2419
|
+
version: Pr,
|
|
2420
2420
|
get config() {
|
|
2421
2421
|
return s.config;
|
|
2422
2422
|
},
|
|
@@ -2426,7 +2426,7 @@ function ec(e, t) {
|
|
|
2426
2426
|
);
|
|
2427
2427
|
},
|
|
2428
2428
|
use(d, ...p) {
|
|
2429
|
-
return i.has(d) ? process.env.NODE_ENV !== "production" && x("Plugin has already been applied to target app.") : d &&
|
|
2429
|
+
return i.has(d) ? process.env.NODE_ENV !== "production" && x("Plugin has already been applied to target app.") : d && A(d.install) ? (i.add(d), d.install(h, ...p)) : A(d) ? (i.add(d), d(h, ...p)) : process.env.NODE_ENV !== "production" && x(
|
|
2430
2430
|
'A plugin must either be a function or an object with an "install" function.'
|
|
2431
2431
|
), h;
|
|
2432
2432
|
},
|
|
@@ -2436,7 +2436,7 @@ function ec(e, t) {
|
|
|
2436
2436
|
) : s.mixins.push(d), h;
|
|
2437
2437
|
},
|
|
2438
2438
|
component(d, p) {
|
|
2439
|
-
return process.env.NODE_ENV !== "production" &&
|
|
2439
|
+
return process.env.NODE_ENV !== "production" && Po(d, s.config), p ? (process.env.NODE_ENV !== "production" && s.components[d] && x(`Component "${d}" has already been registered in target app.`), s.components[d] = p, h) : s.components[d];
|
|
2440
2440
|
},
|
|
2441
2441
|
directive(d, p) {
|
|
2442
2442
|
return process.env.NODE_ENV !== "production" && Vs(d), p ? (process.env.NODE_ENV !== "production" && s.directives[d] && x(`Directive "${d}" has already been registered in target app.`), s.directives[d] = p, h) : s.directives[d];
|
|
@@ -2452,9 +2452,9 @@ function ec(e, t) {
|
|
|
2452
2452
|
);
|
|
2453
2453
|
const w = h._ceVNode || ct(o, r);
|
|
2454
2454
|
return w.appContext = s, g === !0 ? g = "svg" : g === !1 && (g = void 0), process.env.NODE_ENV !== "production" && (s.reload = () => {
|
|
2455
|
-
const
|
|
2456
|
-
|
|
2457
|
-
}), e(w, d, g), u = !0, h._container = d, d.__vue_app__ = h, process.env.NODE_ENV !== "production" && (h._instance = w.component, dl(h,
|
|
2455
|
+
const $ = vt(w);
|
|
2456
|
+
$.el = null, e($, d, g);
|
|
2457
|
+
}), e(w, d, g), u = !0, h._container = d, d.__vue_app__ = h, process.env.NODE_ENV !== "production" && (h._instance = w.component, dl(h, Pr)), to(w.component);
|
|
2458
2458
|
}
|
|
2459
2459
|
},
|
|
2460
2460
|
onUnmount(d) {
|
|
@@ -2506,7 +2506,7 @@ function nc(e, t, ...n) {
|
|
|
2506
2506
|
);
|
|
2507
2507
|
else {
|
|
2508
2508
|
const g = d[t];
|
|
2509
|
-
|
|
2509
|
+
A(g) && (g(...n) || x(
|
|
2510
2510
|
`Invalid event arguments: event validation failed for event "${t}".`
|
|
2511
2511
|
));
|
|
2512
2512
|
}
|
|
@@ -2553,14 +2553,14 @@ function js(e, t, n = !1) {
|
|
|
2553
2553
|
return r;
|
|
2554
2554
|
const s = e.emits;
|
|
2555
2555
|
let i = {}, l = !1;
|
|
2556
|
-
if (!
|
|
2556
|
+
if (!A(e)) {
|
|
2557
2557
|
const u = (h) => {
|
|
2558
2558
|
const d = js(h, t, !0);
|
|
2559
2559
|
d && (l = !0, te(i, d));
|
|
2560
2560
|
};
|
|
2561
2561
|
!n && t.mixins.length && t.mixins.forEach(u), e.extends && u(e.extends), e.mixins && e.mixins.forEach(u);
|
|
2562
2562
|
}
|
|
2563
|
-
return !s && !l ? (K(e) && o.set(e, null), null) : (
|
|
2563
|
+
return !s && !l ? (K(e) && o.set(e, null), null) : (P(s) ? s.forEach((u) => i[u] = null) : te(i, s), K(e) && o.set(e, i), i);
|
|
2564
2564
|
}
|
|
2565
2565
|
function Qn(e, t) {
|
|
2566
2566
|
return !e || !pn(t) ? !1 : (t = t.slice(2), t = t === "Once" ? t : t.replace(/Once$/, ""), U(e, t[0].toLowerCase() + t.slice(1)) || U(e, gt(t)) || U(e, t));
|
|
@@ -2584,7 +2584,7 @@ function yr(e) {
|
|
|
2584
2584
|
props: p,
|
|
2585
2585
|
data: g,
|
|
2586
2586
|
setupState: w,
|
|
2587
|
-
ctx:
|
|
2587
|
+
ctx: $,
|
|
2588
2588
|
inheritAttrs: V
|
|
2589
2589
|
} = e, W = jn(e);
|
|
2590
2590
|
let q, L;
|
|
@@ -2608,7 +2608,7 @@ function yr(e) {
|
|
|
2608
2608
|
process.env.NODE_ENV !== "production" ? /* @__PURE__ */ Qe(p) : p,
|
|
2609
2609
|
w,
|
|
2610
2610
|
g,
|
|
2611
|
-
|
|
2611
|
+
$
|
|
2612
2612
|
)
|
|
2613
2613
|
), L = l;
|
|
2614
2614
|
} else {
|
|
@@ -2783,11 +2783,11 @@ function fc(e, t, n, o) {
|
|
|
2783
2783
|
if (U(s, g))
|
|
2784
2784
|
w !== s[g] && (s[g] = w, h = !0);
|
|
2785
2785
|
else {
|
|
2786
|
-
const
|
|
2787
|
-
r[
|
|
2786
|
+
const $ = Ne(g);
|
|
2787
|
+
r[$] = Co(
|
|
2788
2788
|
u,
|
|
2789
2789
|
l,
|
|
2790
|
-
|
|
2790
|
+
$,
|
|
2791
2791
|
w,
|
|
2792
2792
|
e,
|
|
2793
2793
|
!1
|
|
@@ -2853,7 +2853,7 @@ function Co(e, t, n, o, r, s) {
|
|
|
2853
2853
|
const l = U(i, "default");
|
|
2854
2854
|
if (l && o === void 0) {
|
|
2855
2855
|
const u = i.default;
|
|
2856
|
-
if (i.type !== Function && !i.skipFactory &&
|
|
2856
|
+
if (i.type !== Function && !i.skipFactory && A(u)) {
|
|
2857
2857
|
const { propsDefaults: h } = r;
|
|
2858
2858
|
if (n in h)
|
|
2859
2859
|
o = h[n];
|
|
@@ -2885,7 +2885,7 @@ function Ks(e, t, n = !1) {
|
|
|
2885
2885
|
return r;
|
|
2886
2886
|
const s = e.props, i = {}, l = [];
|
|
2887
2887
|
let u = !1;
|
|
2888
|
-
if (!
|
|
2888
|
+
if (!A(e)) {
|
|
2889
2889
|
const d = (p) => {
|
|
2890
2890
|
u = !0;
|
|
2891
2891
|
const [g, w] = Ks(p, t, !0);
|
|
@@ -2895,7 +2895,7 @@ function Ks(e, t, n = !1) {
|
|
|
2895
2895
|
}
|
|
2896
2896
|
if (!s && !u)
|
|
2897
2897
|
return K(e) && o.set(e, It), It;
|
|
2898
|
-
if (
|
|
2898
|
+
if (P(s))
|
|
2899
2899
|
for (let d = 0; d < s.length; d++) {
|
|
2900
2900
|
process.env.NODE_ENV !== "production" && !Z(s[d]) && x("props must be strings when using array syntax.", s[d]);
|
|
2901
2901
|
const p = Ne(s[d]);
|
|
@@ -2906,18 +2906,18 @@ function Ks(e, t, n = !1) {
|
|
|
2906
2906
|
for (const d in s) {
|
|
2907
2907
|
const p = Ne(d);
|
|
2908
2908
|
if (wr(p)) {
|
|
2909
|
-
const g = s[d], w = i[p] =
|
|
2909
|
+
const g = s[d], w = i[p] = P(g) || A(g) ? { type: g } : te({}, g), $ = w.type;
|
|
2910
2910
|
let V = !1, W = !0;
|
|
2911
|
-
if ($
|
|
2912
|
-
for (let q = 0; q <
|
|
2913
|
-
const L =
|
|
2911
|
+
if (P($))
|
|
2912
|
+
for (let q = 0; q < $.length; ++q) {
|
|
2913
|
+
const L = $[q], j = A(L) && L.name;
|
|
2914
2914
|
if (j === "Boolean") {
|
|
2915
2915
|
V = !0;
|
|
2916
2916
|
break;
|
|
2917
2917
|
} else j === "String" && (W = !1);
|
|
2918
2918
|
}
|
|
2919
2919
|
else
|
|
2920
|
-
V =
|
|
2920
|
+
V = A($) && $.name === "Boolean";
|
|
2921
2921
|
w[
|
|
2922
2922
|
0
|
|
2923
2923
|
/* shouldCast */
|
|
@@ -2959,10 +2959,10 @@ function dc(e, t, n, o, r) {
|
|
|
2959
2959
|
if (!(t == null && !i)) {
|
|
2960
2960
|
if (s != null && s !== !0 && !u) {
|
|
2961
2961
|
let h = !1;
|
|
2962
|
-
const d =
|
|
2962
|
+
const d = P(s) ? s : [s], p = [];
|
|
2963
2963
|
for (let g = 0; g < d.length && !h; g++) {
|
|
2964
|
-
const { valid: w, expectedType:
|
|
2965
|
-
p.push(
|
|
2964
|
+
const { valid: w, expectedType: $ } = mc(t, d[g]);
|
|
2965
|
+
p.push($ || ""), h = w;
|
|
2966
2966
|
}
|
|
2967
2967
|
if (!h) {
|
|
2968
2968
|
x(gc(e, t, p));
|
|
@@ -2983,7 +2983,7 @@ function mc(e, t) {
|
|
|
2983
2983
|
else if (hc(o)) {
|
|
2984
2984
|
const r = typeof e;
|
|
2985
2985
|
n = r === o.toLowerCase(), !n && r === "object" && (n = e instanceof t);
|
|
2986
|
-
} else o === "Object" ? n = K(e) : o === "Array" ? n =
|
|
2986
|
+
} else o === "Object" ? n = K(e) : o === "Array" ? n = P(e) : n = e instanceof t;
|
|
2987
2987
|
return {
|
|
2988
2988
|
valid: n,
|
|
2989
2989
|
expectedType: o
|
|
@@ -3008,7 +3008,7 @@ function vc(...e) {
|
|
|
3008
3008
|
return n !== "boolean" && n !== "symbol";
|
|
3009
3009
|
});
|
|
3010
3010
|
}
|
|
3011
|
-
const er = (e) => e === "_" || e === "_ctx" || e === "$stable", tr = (e) =>
|
|
3011
|
+
const er = (e) => e === "_" || e === "_ctx" || e === "$stable", tr = (e) => P(e) ? e.map(Ie) : [Ie(e)], _c = (e, t, n) => {
|
|
3012
3012
|
if (t._n)
|
|
3013
3013
|
return t;
|
|
3014
3014
|
const o = yl((...r) => (process.env.NODE_ENV !== "production" && le && !(n === null && ve) && !(n && n.root !== le.root) && x(
|
|
@@ -3020,7 +3020,7 @@ const er = (e) => e === "_" || e === "_ctx" || e === "$stable", tr = (e) => $(e)
|
|
|
3020
3020
|
for (const r in e) {
|
|
3021
3021
|
if (er(r)) continue;
|
|
3022
3022
|
const s = e[r];
|
|
3023
|
-
if (
|
|
3023
|
+
if (A(s))
|
|
3024
3024
|
t[r] = _c(r, s, o);
|
|
3025
3025
|
else if (s != null) {
|
|
3026
3026
|
process.env.NODE_ENV !== "production" && x(
|
|
@@ -3043,7 +3043,7 @@ const er = (e) => e === "_" || e === "_ctx" || e === "$stable", tr = (e) => $(e)
|
|
|
3043
3043
|
const o = e.slots = Hs();
|
|
3044
3044
|
if (e.vnode.shapeFlag & 32) {
|
|
3045
3045
|
const r = t._;
|
|
3046
|
-
r ? (To(o, t, n), n &&
|
|
3046
|
+
r ? (To(o, t, n), n && Pn(o, "_", r, !0)) : qs(t, o);
|
|
3047
3047
|
} else t && Gs(e, t);
|
|
3048
3048
|
}, bc = (e, t, n) => {
|
|
3049
3049
|
const { vnode: o, slots: r } = e;
|
|
@@ -3057,10 +3057,10 @@ const er = (e) => e === "_" || e === "_ctx" || e === "$stable", tr = (e) => $(e)
|
|
|
3057
3057
|
!er(l) && i[l] == null && delete r[l];
|
|
3058
3058
|
};
|
|
3059
3059
|
let Kt, st;
|
|
3060
|
-
function
|
|
3060
|
+
function $t(e, t) {
|
|
3061
3061
|
e.appContext.config.performance && Hn() && st.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" && _l(e, t, Hn() ? st.now() : Date.now());
|
|
3062
3062
|
}
|
|
3063
|
-
function
|
|
3063
|
+
function Pt(e, t) {
|
|
3064
3064
|
if (e.appContext.config.performance && Hn()) {
|
|
3065
3065
|
const n = `vue-${t}-${e.uid}`, o = n + ":end", r = `<${En(e, e.type)}> ${t}`;
|
|
3066
3066
|
st.mark(o), st.measure(r, n, o), st.clearMeasures(r), st.clearMarks(n), st.clearMarks(o);
|
|
@@ -3101,12 +3101,12 @@ function Oc(e, t) {
|
|
|
3101
3101
|
parentNode: p,
|
|
3102
3102
|
nextSibling: g,
|
|
3103
3103
|
setScopeId: w = ue,
|
|
3104
|
-
insertStaticContent:
|
|
3105
|
-
} = e, V = (c, a, m, y = null,
|
|
3104
|
+
insertStaticContent: $
|
|
3105
|
+
} = e, V = (c, a, m, y = null, E = null, v = null, D = void 0, O = null, N = process.env.NODE_ENV !== "production" && xe ? !1 : !!a.dynamicChildren) => {
|
|
3106
3106
|
if (c === a)
|
|
3107
3107
|
return;
|
|
3108
|
-
c && !Wt(c, a) && (y = Ct(c),
|
|
3109
|
-
const { type: f, ref:
|
|
3108
|
+
c && !Wt(c, a) && (y = Ct(c), Ae(c, E, v, !0), c = null), a.patchFlag === -2 && (N = !1, a.dynamicChildren = null);
|
|
3109
|
+
const { type: f, ref: _, shapeFlag: b } = a;
|
|
3110
3110
|
switch (f) {
|
|
3111
3111
|
case vn:
|
|
3112
3112
|
W(c, a, m, y);
|
|
@@ -3117,13 +3117,13 @@ function Oc(e, t) {
|
|
|
3117
3117
|
case Tn:
|
|
3118
3118
|
c == null ? L(a, m, y, D) : process.env.NODE_ENV !== "production" && j(c, a, m, D);
|
|
3119
3119
|
break;
|
|
3120
|
-
case
|
|
3120
|
+
case Me:
|
|
3121
3121
|
we(
|
|
3122
3122
|
c,
|
|
3123
3123
|
a,
|
|
3124
3124
|
m,
|
|
3125
3125
|
y,
|
|
3126
|
-
|
|
3126
|
+
E,
|
|
3127
3127
|
v,
|
|
3128
3128
|
D,
|
|
3129
3129
|
O,
|
|
@@ -3136,7 +3136,7 @@ function Oc(e, t) {
|
|
|
3136
3136
|
a,
|
|
3137
3137
|
m,
|
|
3138
3138
|
y,
|
|
3139
|
-
|
|
3139
|
+
E,
|
|
3140
3140
|
v,
|
|
3141
3141
|
D,
|
|
3142
3142
|
O,
|
|
@@ -3146,7 +3146,7 @@ function Oc(e, t) {
|
|
|
3146
3146
|
a,
|
|
3147
3147
|
m,
|
|
3148
3148
|
y,
|
|
3149
|
-
|
|
3149
|
+
E,
|
|
3150
3150
|
v,
|
|
3151
3151
|
D,
|
|
3152
3152
|
O,
|
|
@@ -3156,7 +3156,7 @@ function Oc(e, t) {
|
|
|
3156
3156
|
a,
|
|
3157
3157
|
m,
|
|
3158
3158
|
y,
|
|
3159
|
-
|
|
3159
|
+
E,
|
|
3160
3160
|
v,
|
|
3161
3161
|
D,
|
|
3162
3162
|
O,
|
|
@@ -3164,7 +3164,7 @@ function Oc(e, t) {
|
|
|
3164
3164
|
dt
|
|
3165
3165
|
) : process.env.NODE_ENV !== "production" && x("Invalid VNode type:", f, `(${typeof f})`);
|
|
3166
3166
|
}
|
|
3167
|
-
|
|
3167
|
+
_ != null && E ? tn(_, c && c.ref, v, a || c, !a) : _ == null && c && c.ref != null && tn(c.ref, null, v, c, !0);
|
|
3168
3168
|
}, W = (c, a, m, y) => {
|
|
3169
3169
|
if (c == null)
|
|
3170
3170
|
o(
|
|
@@ -3173,8 +3173,8 @@ function Oc(e, t) {
|
|
|
3173
3173
|
y
|
|
3174
3174
|
);
|
|
3175
3175
|
else {
|
|
3176
|
-
const
|
|
3177
|
-
a.children !== c.children && h(
|
|
3176
|
+
const E = a.el = c.el;
|
|
3177
|
+
a.children !== c.children && h(E, a.children);
|
|
3178
3178
|
}
|
|
3179
3179
|
}, q = (c, a, m, y) => {
|
|
3180
3180
|
c == null ? o(
|
|
@@ -3183,7 +3183,7 @@ function Oc(e, t) {
|
|
|
3183
3183
|
y
|
|
3184
3184
|
) : a.el = c.el;
|
|
3185
3185
|
}, L = (c, a, m, y) => {
|
|
3186
|
-
[c.el, c.anchor] =
|
|
3186
|
+
[c.el, c.anchor] = $(
|
|
3187
3187
|
c.children,
|
|
3188
3188
|
a,
|
|
3189
3189
|
m,
|
|
@@ -3193,32 +3193,32 @@ function Oc(e, t) {
|
|
|
3193
3193
|
);
|
|
3194
3194
|
}, j = (c, a, m, y) => {
|
|
3195
3195
|
if (a.children !== c.children) {
|
|
3196
|
-
const
|
|
3197
|
-
C(c), [a.el, a.anchor] =
|
|
3196
|
+
const E = g(c.anchor);
|
|
3197
|
+
C(c), [a.el, a.anchor] = $(
|
|
3198
3198
|
a.children,
|
|
3199
3199
|
m,
|
|
3200
|
-
|
|
3200
|
+
E,
|
|
3201
3201
|
y
|
|
3202
3202
|
);
|
|
3203
3203
|
} else
|
|
3204
3204
|
a.el = c.el, a.anchor = c.anchor;
|
|
3205
3205
|
}, G = ({ el: c, anchor: a }, m, y) => {
|
|
3206
|
-
let
|
|
3206
|
+
let E;
|
|
3207
3207
|
for (; c && c !== a; )
|
|
3208
|
-
|
|
3208
|
+
E = g(c), o(c, m, y), c = E;
|
|
3209
3209
|
o(a, m, y);
|
|
3210
3210
|
}, C = ({ el: c, anchor: a }) => {
|
|
3211
3211
|
let m;
|
|
3212
3212
|
for (; c && c !== a; )
|
|
3213
3213
|
m = g(c), r(c), c = m;
|
|
3214
3214
|
r(a);
|
|
3215
|
-
}, ee = (c, a, m, y,
|
|
3215
|
+
}, ee = (c, a, m, y, E, v, D, O, N) => {
|
|
3216
3216
|
if (a.type === "svg" ? D = "svg" : a.type === "math" && (D = "mathml"), c == null)
|
|
3217
3217
|
ae(
|
|
3218
3218
|
a,
|
|
3219
3219
|
m,
|
|
3220
3220
|
y,
|
|
3221
|
-
|
|
3221
|
+
E,
|
|
3222
3222
|
v,
|
|
3223
3223
|
D,
|
|
3224
3224
|
O,
|
|
@@ -3230,7 +3230,7 @@ function Oc(e, t) {
|
|
|
3230
3230
|
f && f._beginPatch(), Ee(
|
|
3231
3231
|
c,
|
|
3232
3232
|
a,
|
|
3233
|
-
|
|
3233
|
+
E,
|
|
3234
3234
|
v,
|
|
3235
3235
|
D,
|
|
3236
3236
|
O,
|
|
@@ -3240,82 +3240,82 @@ function Oc(e, t) {
|
|
|
3240
3240
|
f && f._endPatch();
|
|
3241
3241
|
}
|
|
3242
3242
|
}
|
|
3243
|
-
}, ae = (c, a, m, y,
|
|
3243
|
+
}, ae = (c, a, m, y, E, v, D, O) => {
|
|
3244
3244
|
let N, f;
|
|
3245
|
-
const { props:
|
|
3245
|
+
const { props: _, shapeFlag: b, transition: S, dirs: T } = c;
|
|
3246
3246
|
if (N = c.el = i(
|
|
3247
3247
|
c.type,
|
|
3248
3248
|
v,
|
|
3249
|
-
|
|
3250
|
-
|
|
3249
|
+
_ && _.is,
|
|
3250
|
+
_
|
|
3251
3251
|
), b & 8 ? d(N, c.children) : b & 16 && fe(
|
|
3252
3252
|
c.children,
|
|
3253
3253
|
N,
|
|
3254
3254
|
null,
|
|
3255
3255
|
y,
|
|
3256
|
-
|
|
3256
|
+
E,
|
|
3257
3257
|
ho(c, v),
|
|
3258
3258
|
D,
|
|
3259
3259
|
O
|
|
3260
|
-
), T && Et(c, null, y, "created"), ne(N, c, c.scopeId, D, y),
|
|
3261
|
-
for (const B in
|
|
3262
|
-
B !== "value" && !Zt(B) && s(N, B, null,
|
|
3263
|
-
"value" in
|
|
3260
|
+
), T && Et(c, null, y, "created"), ne(N, c, c.scopeId, D, y), _) {
|
|
3261
|
+
for (const B in _)
|
|
3262
|
+
B !== "value" && !Zt(B) && s(N, B, null, _[B], v, y);
|
|
3263
|
+
"value" in _ && s(N, "value", null, _.value, v), (f = _.onVnodeBeforeMount) && qe(f, y, c);
|
|
3264
3264
|
}
|
|
3265
|
-
process.env.NODE_ENV !== "production" && (
|
|
3266
|
-
const
|
|
3267
|
-
if (
|
|
3265
|
+
process.env.NODE_ENV !== "production" && (Pn(N, "__vnode", c, !0), Pn(N, "__vueParentComponent", y, !0)), T && Et(c, null, y, "beforeMount");
|
|
3266
|
+
const M = wc(E, S);
|
|
3267
|
+
if (M && S.beforeEnter(N), o(N, a, m), (f = _ && _.onVnodeMounted) || M || T) {
|
|
3268
3268
|
const B = process.env.NODE_ENV !== "production" && xe;
|
|
3269
3269
|
ye(() => {
|
|
3270
3270
|
let R;
|
|
3271
3271
|
process.env.NODE_ENV !== "production" && (R = pr(B));
|
|
3272
3272
|
try {
|
|
3273
|
-
f && qe(f, y, c),
|
|
3273
|
+
f && qe(f, y, c), M && S.enter(N), T && Et(c, null, y, "mounted");
|
|
3274
3274
|
} finally {
|
|
3275
3275
|
process.env.NODE_ENV !== "production" && pr(R);
|
|
3276
3276
|
}
|
|
3277
|
-
},
|
|
3277
|
+
}, E);
|
|
3278
3278
|
}
|
|
3279
|
-
}, ne = (c, a, m, y,
|
|
3279
|
+
}, ne = (c, a, m, y, E) => {
|
|
3280
3280
|
if (m && w(c, m), y)
|
|
3281
3281
|
for (let v = 0; v < y.length; v++)
|
|
3282
3282
|
w(c, y[v]);
|
|
3283
|
-
if (
|
|
3284
|
-
let v =
|
|
3283
|
+
if (E) {
|
|
3284
|
+
let v = E.subTree;
|
|
3285
3285
|
if (process.env.NODE_ENV !== "production" && v.patchFlag > 0 && v.patchFlag & 2048 && (v = Qo(v.children) || v), a === v || zs(v.type) && (v.ssContent === a || v.ssFallback === a)) {
|
|
3286
|
-
const D =
|
|
3286
|
+
const D = E.vnode;
|
|
3287
3287
|
ne(
|
|
3288
3288
|
c,
|
|
3289
3289
|
D,
|
|
3290
3290
|
D.scopeId,
|
|
3291
3291
|
D.slotScopeIds,
|
|
3292
|
-
|
|
3292
|
+
E.parent
|
|
3293
3293
|
);
|
|
3294
3294
|
}
|
|
3295
3295
|
}
|
|
3296
|
-
}, fe = (c, a, m, y,
|
|
3296
|
+
}, fe = (c, a, m, y, E, v, D, O, N = 0) => {
|
|
3297
3297
|
for (let f = N; f < c.length; f++) {
|
|
3298
|
-
const
|
|
3298
|
+
const _ = c[f] = O ? it(c[f]) : Ie(c[f]);
|
|
3299
3299
|
V(
|
|
3300
3300
|
null,
|
|
3301
|
-
|
|
3301
|
+
_,
|
|
3302
3302
|
a,
|
|
3303
3303
|
m,
|
|
3304
3304
|
y,
|
|
3305
|
-
|
|
3305
|
+
E,
|
|
3306
3306
|
v,
|
|
3307
3307
|
D,
|
|
3308
3308
|
O
|
|
3309
3309
|
);
|
|
3310
3310
|
}
|
|
3311
|
-
}, Ee = (c, a, m, y,
|
|
3311
|
+
}, Ee = (c, a, m, y, E, v, D) => {
|
|
3312
3312
|
const O = a.el = c.el;
|
|
3313
3313
|
process.env.NODE_ENV !== "production" && (O.__vnode = a);
|
|
3314
|
-
let { patchFlag: N, dynamicChildren: f, dirs:
|
|
3314
|
+
let { patchFlag: N, dynamicChildren: f, dirs: _ } = a;
|
|
3315
3315
|
N |= c.patchFlag & 16;
|
|
3316
3316
|
const b = c.props || z, S = a.props || z;
|
|
3317
3317
|
let T;
|
|
3318
|
-
if (m && bt(m, !1), (T = S.onVnodeBeforeUpdate) && qe(T, m, a, c),
|
|
3318
|
+
if (m && bt(m, !1), (T = S.onVnodeBeforeUpdate) && qe(T, m, a, c), _ && Et(a, c, m, "beforeUpdate"), m && bt(m, !0), // HMR updated, force full diff
|
|
3319
3319
|
(process.env.NODE_ENV !== "production" && xe || // #6385 the old vnode may be a user-wrapped non-isomorphic block
|
|
3320
3320
|
// Force full diff when block metadata is unstable.
|
|
3321
3321
|
f && (!c.dynamicChildren || c.dynamicChildren.length !== f.length)) && (N = 0, D = !1, f = null), (b.innerHTML && S.innerHTML == null || b.textContent && S.textContent == null) && d(O, ""), f ? (Oe(
|
|
@@ -3324,7 +3324,7 @@ function Oc(e, t) {
|
|
|
3324
3324
|
O,
|
|
3325
3325
|
m,
|
|
3326
3326
|
y,
|
|
3327
|
-
ho(a,
|
|
3327
|
+
ho(a, E),
|
|
3328
3328
|
v
|
|
3329
3329
|
), process.env.NODE_ENV !== "production" && Cn(c, a)) : D || Ce(
|
|
3330
3330
|
c,
|
|
@@ -3333,32 +3333,32 @@ function Oc(e, t) {
|
|
|
3333
3333
|
null,
|
|
3334
3334
|
m,
|
|
3335
3335
|
y,
|
|
3336
|
-
ho(a,
|
|
3336
|
+
ho(a, E),
|
|
3337
3337
|
v,
|
|
3338
3338
|
!1
|
|
3339
3339
|
), N > 0) {
|
|
3340
3340
|
if (N & 16)
|
|
3341
|
-
Q(O, b, S, m,
|
|
3342
|
-
else if (N & 2 && b.class !== S.class && s(O, "class", null, S.class,
|
|
3343
|
-
const
|
|
3344
|
-
for (let B = 0; B <
|
|
3345
|
-
const R =
|
|
3346
|
-
(J !== H || R === "value") && s(O, R, H, J,
|
|
3341
|
+
Q(O, b, S, m, E);
|
|
3342
|
+
else if (N & 2 && b.class !== S.class && s(O, "class", null, S.class, E), N & 4 && s(O, "style", b.style, S.style, E), N & 8) {
|
|
3343
|
+
const M = a.dynamicProps;
|
|
3344
|
+
for (let B = 0; B < M.length; B++) {
|
|
3345
|
+
const R = M[B], H = b[R], J = S[R];
|
|
3346
|
+
(J !== H || R === "value") && s(O, R, H, J, E, m);
|
|
3347
3347
|
}
|
|
3348
3348
|
}
|
|
3349
3349
|
N & 1 && c.children !== a.children && d(O, a.children);
|
|
3350
|
-
} else !D && f == null && Q(O, b, S, m,
|
|
3351
|
-
((T = S.onVnodeUpdated) ||
|
|
3352
|
-
T && qe(T, m, a, c),
|
|
3350
|
+
} else !D && f == null && Q(O, b, S, m, E);
|
|
3351
|
+
((T = S.onVnodeUpdated) || _) && ye(() => {
|
|
3352
|
+
T && qe(T, m, a, c), _ && Et(a, c, m, "updated");
|
|
3353
3353
|
}, y);
|
|
3354
|
-
}, Oe = (c, a, m, y,
|
|
3354
|
+
}, Oe = (c, a, m, y, E, v, D) => {
|
|
3355
3355
|
for (let O = 0; O < a.length; O++) {
|
|
3356
|
-
const N = c[O], f = a[O],
|
|
3356
|
+
const N = c[O], f = a[O], _ = (
|
|
3357
3357
|
// oldVNode may be an errored async setup() component inside Suspense
|
|
3358
3358
|
// which will not have a mounted element
|
|
3359
3359
|
N.el && // - In the case of a Fragment, we need to provide the actual parent
|
|
3360
3360
|
// of the Fragment itself so it can move its children.
|
|
3361
|
-
(N.type ===
|
|
3361
|
+
(N.type === Me || // - In the case of different nodes, there is going to be a replacement
|
|
3362
3362
|
// which also requires the correct parent container
|
|
3363
3363
|
!Wt(N, f) || // - In the case of a component, it could contain anything.
|
|
3364
3364
|
N.shapeFlag & 198) ? p(N.el) : (
|
|
@@ -3370,16 +3370,16 @@ function Oc(e, t) {
|
|
|
3370
3370
|
V(
|
|
3371
3371
|
N,
|
|
3372
3372
|
f,
|
|
3373
|
-
|
|
3373
|
+
_,
|
|
3374
3374
|
null,
|
|
3375
3375
|
y,
|
|
3376
|
-
|
|
3376
|
+
E,
|
|
3377
3377
|
v,
|
|
3378
3378
|
D,
|
|
3379
3379
|
!0
|
|
3380
3380
|
);
|
|
3381
3381
|
}
|
|
3382
|
-
}, Q = (c, a, m, y,
|
|
3382
|
+
}, Q = (c, a, m, y, E) => {
|
|
3383
3383
|
if (a !== m) {
|
|
3384
3384
|
if (a !== z)
|
|
3385
3385
|
for (const v in a)
|
|
@@ -3388,29 +3388,29 @@ function Oc(e, t) {
|
|
|
3388
3388
|
v,
|
|
3389
3389
|
a[v],
|
|
3390
3390
|
null,
|
|
3391
|
-
|
|
3391
|
+
E,
|
|
3392
3392
|
y
|
|
3393
3393
|
);
|
|
3394
3394
|
for (const v in m) {
|
|
3395
3395
|
if (Zt(v)) continue;
|
|
3396
3396
|
const D = m[v], O = a[v];
|
|
3397
|
-
D !== O && v !== "value" && s(c, v, O, D,
|
|
3397
|
+
D !== O && v !== "value" && s(c, v, O, D, E, y);
|
|
3398
3398
|
}
|
|
3399
|
-
"value" in m && s(c, "value", a.value, m.value,
|
|
3399
|
+
"value" in m && s(c, "value", a.value, m.value, E);
|
|
3400
3400
|
}
|
|
3401
|
-
}, we = (c, a, m, y,
|
|
3402
|
-
const f = a.el = c ? c.el : l(""),
|
|
3401
|
+
}, we = (c, a, m, y, E, v, D, O, N) => {
|
|
3402
|
+
const f = a.el = c ? c.el : l(""), _ = a.anchor = c ? c.anchor : l("");
|
|
3403
3403
|
let { patchFlag: b, dynamicChildren: S, slotScopeIds: T } = a;
|
|
3404
3404
|
process.env.NODE_ENV !== "production" && // #5523 dev root fragment may inherit directives
|
|
3405
|
-
(xe || b & 2048) && (b = 0, N = !1, S = null), T && (O = O ? O.concat(T) : T), c == null ? (o(f, m, y), o(
|
|
3405
|
+
(xe || b & 2048) && (b = 0, N = !1, S = null), T && (O = O ? O.concat(T) : T), c == null ? (o(f, m, y), o(_, m, y), fe(
|
|
3406
3406
|
// #10007
|
|
3407
3407
|
// such fragment like `<></>` will be compiled into
|
|
3408
3408
|
// a fragment which doesn't have a children.
|
|
3409
3409
|
// In this case fallback to an empty array
|
|
3410
3410
|
a.children || [],
|
|
3411
3411
|
m,
|
|
3412
|
-
E,
|
|
3413
3412
|
_,
|
|
3413
|
+
E,
|
|
3414
3414
|
v,
|
|
3415
3415
|
D,
|
|
3416
3416
|
O,
|
|
@@ -3421,7 +3421,7 @@ function Oc(e, t) {
|
|
|
3421
3421
|
c.dynamicChildren,
|
|
3422
3422
|
S,
|
|
3423
3423
|
m,
|
|
3424
|
-
|
|
3424
|
+
E,
|
|
3425
3425
|
v,
|
|
3426
3426
|
D,
|
|
3427
3427
|
O
|
|
@@ -3430,7 +3430,7 @@ function Oc(e, t) {
|
|
|
3430
3430
|
// get moved around. Make sure all root level vnodes inherit el.
|
|
3431
3431
|
// #2134 or if it's a component root, it may also get moved around
|
|
3432
3432
|
// as the component is being moved.
|
|
3433
|
-
(a.key != null ||
|
|
3433
|
+
(a.key != null || E && a === E.subTree) && Cn(
|
|
3434
3434
|
c,
|
|
3435
3435
|
a,
|
|
3436
3436
|
!0
|
|
@@ -3440,15 +3440,15 @@ function Oc(e, t) {
|
|
|
3440
3440
|
c,
|
|
3441
3441
|
a,
|
|
3442
3442
|
m,
|
|
3443
|
-
E,
|
|
3444
3443
|
_,
|
|
3444
|
+
E,
|
|
3445
3445
|
v,
|
|
3446
3446
|
D,
|
|
3447
3447
|
O,
|
|
3448
3448
|
N
|
|
3449
3449
|
);
|
|
3450
|
-
}, bn = (c, a, m, y,
|
|
3451
|
-
a.slotScopeIds = O, c == null ? a.shapeFlag & 512 ?
|
|
3450
|
+
}, bn = (c, a, m, y, E, v, D, O, N) => {
|
|
3451
|
+
a.slotScopeIds = O, c == null ? a.shapeFlag & 512 ? E.ctx.activate(
|
|
3452
3452
|
a,
|
|
3453
3453
|
m,
|
|
3454
3454
|
y,
|
|
@@ -3458,19 +3458,19 @@ function Oc(e, t) {
|
|
|
3458
3458
|
a,
|
|
3459
3459
|
m,
|
|
3460
3460
|
y,
|
|
3461
|
-
|
|
3461
|
+
E,
|
|
3462
3462
|
v,
|
|
3463
3463
|
D,
|
|
3464
3464
|
N
|
|
3465
3465
|
) : de(c, a, N);
|
|
3466
|
-
}, Ve = (c, a, m, y,
|
|
3466
|
+
}, Ve = (c, a, m, y, E, v, D) => {
|
|
3467
3467
|
const O = c.component = Ic(
|
|
3468
3468
|
c,
|
|
3469
3469
|
y,
|
|
3470
|
-
|
|
3470
|
+
E
|
|
3471
3471
|
);
|
|
3472
|
-
if (process.env.NODE_ENV !== "production" && O.type.__hmrId && ul(O), process.env.NODE_ENV !== "production" && (xn(c),
|
|
3473
|
-
if (
|
|
3472
|
+
if (process.env.NODE_ENV !== "production" && O.type.__hmrId && ul(O), process.env.NODE_ENV !== "production" && (xn(c), $t(O, "mount")), zo(c) && (O.ctx.renderer = dt), process.env.NODE_ENV !== "production" && $t(O, "init"), jc(O, !1, D), process.env.NODE_ENV !== "production" && Pt(O, "init"), process.env.NODE_ENV !== "production" && xe && (c.el = null), O.asyncDep) {
|
|
3473
|
+
if (E && E.registerDep(O, k, D), !c.el) {
|
|
3474
3474
|
const N = O.subTree = ct(Se);
|
|
3475
3475
|
q(null, N, a, m), c.placeholder = N.el;
|
|
3476
3476
|
}
|
|
@@ -3480,11 +3480,11 @@ function Oc(e, t) {
|
|
|
3480
3480
|
c,
|
|
3481
3481
|
a,
|
|
3482
3482
|
m,
|
|
3483
|
-
|
|
3483
|
+
E,
|
|
3484
3484
|
v,
|
|
3485
3485
|
D
|
|
3486
3486
|
);
|
|
3487
|
-
process.env.NODE_ENV !== "production" && (Dn(),
|
|
3487
|
+
process.env.NODE_ENV !== "production" && (Dn(), Pt(O, "mount"));
|
|
3488
3488
|
}, de = (c, a, m) => {
|
|
3489
3489
|
const y = a.component = c.component;
|
|
3490
3490
|
if (ic(c, a, m))
|
|
@@ -3495,27 +3495,27 @@ function Oc(e, t) {
|
|
|
3495
3495
|
y.next = a, y.update();
|
|
3496
3496
|
else
|
|
3497
3497
|
a.el = c.el, y.vnode = a;
|
|
3498
|
-
}, k = (c, a, m, y,
|
|
3498
|
+
}, k = (c, a, m, y, E, v, D) => {
|
|
3499
3499
|
const O = () => {
|
|
3500
3500
|
if (c.isMounted) {
|
|
3501
|
-
let { next: b, bu: S, u: T, parent:
|
|
3501
|
+
let { next: b, bu: S, u: T, parent: M, vnode: B } = c;
|
|
3502
3502
|
{
|
|
3503
3503
|
const re = Js(c);
|
|
3504
3504
|
if (re) {
|
|
3505
3505
|
b && (b.el = B.el, F(c, b, D)), re.asyncDep.then(() => {
|
|
3506
3506
|
ye(() => {
|
|
3507
3507
|
c.isUnmounted || f();
|
|
3508
|
-
},
|
|
3508
|
+
}, E);
|
|
3509
3509
|
});
|
|
3510
3510
|
return;
|
|
3511
3511
|
}
|
|
3512
3512
|
}
|
|
3513
3513
|
let R = b, H;
|
|
3514
|
-
process.env.NODE_ENV !== "production" && xn(b || c.vnode), bt(c, !1), b ? (b.el = B.el, F(c, b, D)) : b = B, S && Bt(S), (H = b.props && b.props.onVnodeBeforeUpdate) && qe(H,
|
|
3514
|
+
process.env.NODE_ENV !== "production" && xn(b || c.vnode), bt(c, !1), b ? (b.el = B.el, F(c, b, D)) : b = B, S && Bt(S), (H = b.props && b.props.onVnodeBeforeUpdate) && qe(H, M, b, B), bt(c, !0), process.env.NODE_ENV !== "production" && $t(c, "render");
|
|
3515
3515
|
const J = yr(c);
|
|
3516
|
-
process.env.NODE_ENV !== "production" &&
|
|
3516
|
+
process.env.NODE_ENV !== "production" && Pt(c, "render");
|
|
3517
3517
|
const oe = c.subTree;
|
|
3518
|
-
c.subTree = J, process.env.NODE_ENV !== "production" &&
|
|
3518
|
+
c.subTree = J, process.env.NODE_ENV !== "production" && $t(c, "patch"), V(
|
|
3519
3519
|
oe,
|
|
3520
3520
|
J,
|
|
3521
3521
|
// parent may have changed if it's in a teleport
|
|
@@ -3523,61 +3523,61 @@ function Oc(e, t) {
|
|
|
3523
3523
|
// anchor may have changed if it's in a fragment
|
|
3524
3524
|
Ct(oe),
|
|
3525
3525
|
c,
|
|
3526
|
-
|
|
3526
|
+
E,
|
|
3527
3527
|
v
|
|
3528
|
-
), process.env.NODE_ENV !== "production" &&
|
|
3529
|
-
() => qe(H,
|
|
3530
|
-
|
|
3528
|
+
), process.env.NODE_ENV !== "production" && Pt(c, "patch"), b.el = J.el, R === null && lc(c, J.el), T && ye(T, E), (H = b.props && b.props.onVnodeUpdated) && ye(
|
|
3529
|
+
() => qe(H, M, b, B),
|
|
3530
|
+
E
|
|
3531
3531
|
), process.env.NODE_ENV !== "production" && xs(c), process.env.NODE_ENV !== "production" && Dn();
|
|
3532
3532
|
} else {
|
|
3533
3533
|
let b;
|
|
3534
|
-
const { el: S, props: T } = a, { bm:
|
|
3535
|
-
bt(c, !1),
|
|
3534
|
+
const { el: S, props: T } = a, { bm: M, m: B, parent: R, root: H, type: J } = c, oe = nn(a);
|
|
3535
|
+
bt(c, !1), M && Bt(M), !oe && (b = T && T.onVnodeBeforeMount) && qe(b, R, a), bt(c, !0);
|
|
3536
3536
|
{
|
|
3537
3537
|
H.ce && H.ce._hasShadowRoot() && H.ce._injectChildStyle(
|
|
3538
3538
|
J,
|
|
3539
3539
|
c.parent ? c.parent.type : void 0
|
|
3540
|
-
), process.env.NODE_ENV !== "production" &&
|
|
3540
|
+
), process.env.NODE_ENV !== "production" && $t(c, "render");
|
|
3541
3541
|
const re = c.subTree = yr(c);
|
|
3542
|
-
process.env.NODE_ENV !== "production" &&
|
|
3542
|
+
process.env.NODE_ENV !== "production" && Pt(c, "render"), process.env.NODE_ENV !== "production" && $t(c, "patch"), V(
|
|
3543
3543
|
null,
|
|
3544
3544
|
re,
|
|
3545
3545
|
m,
|
|
3546
3546
|
y,
|
|
3547
3547
|
c,
|
|
3548
|
-
|
|
3548
|
+
E,
|
|
3549
3549
|
v
|
|
3550
|
-
), process.env.NODE_ENV !== "production" &&
|
|
3550
|
+
), process.env.NODE_ENV !== "production" && Pt(c, "patch"), a.el = re.el;
|
|
3551
3551
|
}
|
|
3552
|
-
if (B && ye(B,
|
|
3552
|
+
if (B && ye(B, E), !oe && (b = T && T.onVnodeMounted)) {
|
|
3553
3553
|
const re = a;
|
|
3554
3554
|
ye(
|
|
3555
3555
|
() => qe(b, R, re),
|
|
3556
|
-
|
|
3556
|
+
E
|
|
3557
3557
|
);
|
|
3558
3558
|
}
|
|
3559
|
-
(a.shapeFlag & 256 || R && nn(R.vnode) && R.vnode.shapeFlag & 256) && c.a && ye(c.a,
|
|
3559
|
+
(a.shapeFlag & 256 || R && nn(R.vnode) && R.vnode.shapeFlag & 256) && c.a && ye(c.a, E), c.isMounted = !0, process.env.NODE_ENV !== "production" && ml(c), a = m = y = null;
|
|
3560
3560
|
}
|
|
3561
3561
|
};
|
|
3562
3562
|
c.scope.on();
|
|
3563
3563
|
const N = c.effect = new ts(O);
|
|
3564
3564
|
c.scope.off();
|
|
3565
|
-
const f = c.update = N.run.bind(N),
|
|
3566
|
-
|
|
3565
|
+
const f = c.update = N.run.bind(N), _ = c.job = N.runIfDirty.bind(N);
|
|
3566
|
+
_.i = c, _.id = c.uid, N.scheduler = () => Xn(_), bt(c, !0), process.env.NODE_ENV !== "production" && (N.onTrack = c.rtc ? (b) => Bt(c.rtc, b) : void 0, N.onTrigger = c.rtg ? (b) => Bt(c.rtg, b) : void 0), f();
|
|
3567
3567
|
}, F = (c, a, m) => {
|
|
3568
3568
|
a.component = c;
|
|
3569
3569
|
const y = c.vnode.props;
|
|
3570
|
-
c.vnode = a, c.next = null, fc(c, a.props, y, m), bc(c, a.children, m), Te(), ar(c),
|
|
3571
|
-
}, Ce = (c, a, m, y,
|
|
3572
|
-
const f = c && c.children,
|
|
3570
|
+
c.vnode = a, c.next = null, fc(c, a.props, y, m), bc(c, a.children, m), Te(), ar(c), $e();
|
|
3571
|
+
}, Ce = (c, a, m, y, E, v, D, O, N = !1) => {
|
|
3572
|
+
const f = c && c.children, _ = c ? c.shapeFlag : 0, b = a.children, { patchFlag: S, shapeFlag: T } = a;
|
|
3573
3573
|
if (S > 0) {
|
|
3574
3574
|
if (S & 128) {
|
|
3575
|
-
|
|
3575
|
+
Pe(
|
|
3576
3576
|
f,
|
|
3577
3577
|
b,
|
|
3578
3578
|
m,
|
|
3579
3579
|
y,
|
|
3580
|
-
|
|
3580
|
+
E,
|
|
3581
3581
|
v,
|
|
3582
3582
|
D,
|
|
3583
3583
|
O,
|
|
@@ -3590,7 +3590,7 @@ function Oc(e, t) {
|
|
|
3590
3590
|
b,
|
|
3591
3591
|
m,
|
|
3592
3592
|
y,
|
|
3593
|
-
|
|
3593
|
+
E,
|
|
3594
3594
|
v,
|
|
3595
3595
|
D,
|
|
3596
3596
|
O,
|
|
@@ -3599,29 +3599,29 @@ function Oc(e, t) {
|
|
|
3599
3599
|
return;
|
|
3600
3600
|
}
|
|
3601
3601
|
}
|
|
3602
|
-
T & 8 ? (
|
|
3602
|
+
T & 8 ? (_ & 16 && _t(f, E, v), b !== f && d(m, b)) : _ & 16 ? T & 16 ? Pe(
|
|
3603
3603
|
f,
|
|
3604
3604
|
b,
|
|
3605
3605
|
m,
|
|
3606
3606
|
y,
|
|
3607
|
-
|
|
3607
|
+
E,
|
|
3608
3608
|
v,
|
|
3609
3609
|
D,
|
|
3610
3610
|
O,
|
|
3611
3611
|
N
|
|
3612
|
-
) : _t(f,
|
|
3612
|
+
) : _t(f, E, v, !0) : (_ & 8 && d(m, ""), T & 16 && fe(
|
|
3613
3613
|
b,
|
|
3614
3614
|
m,
|
|
3615
3615
|
y,
|
|
3616
|
-
|
|
3616
|
+
E,
|
|
3617
3617
|
v,
|
|
3618
3618
|
D,
|
|
3619
3619
|
O,
|
|
3620
3620
|
N
|
|
3621
3621
|
));
|
|
3622
|
-
}, kt = (c, a, m, y,
|
|
3622
|
+
}, kt = (c, a, m, y, E, v, D, O, N) => {
|
|
3623
3623
|
c = c || It, a = a || It;
|
|
3624
|
-
const f = c.length,
|
|
3624
|
+
const f = c.length, _ = a.length, b = Math.min(f, _);
|
|
3625
3625
|
let S;
|
|
3626
3626
|
for (S = 0; S < b; S++) {
|
|
3627
3627
|
const T = a[S] = N ? it(a[S]) : Ie(a[S]);
|
|
@@ -3630,16 +3630,16 @@ function Oc(e, t) {
|
|
|
3630
3630
|
T,
|
|
3631
3631
|
m,
|
|
3632
3632
|
null,
|
|
3633
|
-
|
|
3633
|
+
E,
|
|
3634
3634
|
v,
|
|
3635
3635
|
D,
|
|
3636
3636
|
O,
|
|
3637
3637
|
N
|
|
3638
3638
|
);
|
|
3639
3639
|
}
|
|
3640
|
-
f >
|
|
3640
|
+
f > _ ? _t(
|
|
3641
3641
|
c,
|
|
3642
|
-
|
|
3642
|
+
E,
|
|
3643
3643
|
v,
|
|
3644
3644
|
!0,
|
|
3645
3645
|
!1,
|
|
@@ -3648,26 +3648,26 @@ function Oc(e, t) {
|
|
|
3648
3648
|
a,
|
|
3649
3649
|
m,
|
|
3650
3650
|
y,
|
|
3651
|
-
|
|
3651
|
+
E,
|
|
3652
3652
|
v,
|
|
3653
3653
|
D,
|
|
3654
3654
|
O,
|
|
3655
3655
|
N,
|
|
3656
3656
|
b
|
|
3657
3657
|
);
|
|
3658
|
-
},
|
|
3658
|
+
}, Pe = (c, a, m, y, E, v, D, O, N) => {
|
|
3659
3659
|
let f = 0;
|
|
3660
|
-
const
|
|
3661
|
-
let b = c.length - 1, S =
|
|
3660
|
+
const _ = a.length;
|
|
3661
|
+
let b = c.length - 1, S = _ - 1;
|
|
3662
3662
|
for (; f <= b && f <= S; ) {
|
|
3663
|
-
const T = c[f],
|
|
3664
|
-
if (Wt(T,
|
|
3663
|
+
const T = c[f], M = a[f] = N ? it(a[f]) : Ie(a[f]);
|
|
3664
|
+
if (Wt(T, M))
|
|
3665
3665
|
V(
|
|
3666
3666
|
T,
|
|
3667
|
-
|
|
3667
|
+
M,
|
|
3668
3668
|
m,
|
|
3669
3669
|
null,
|
|
3670
|
-
|
|
3670
|
+
E,
|
|
3671
3671
|
v,
|
|
3672
3672
|
D,
|
|
3673
3673
|
O,
|
|
@@ -3678,14 +3678,14 @@ function Oc(e, t) {
|
|
|
3678
3678
|
f++;
|
|
3679
3679
|
}
|
|
3680
3680
|
for (; f <= b && f <= S; ) {
|
|
3681
|
-
const T = c[b],
|
|
3682
|
-
if (Wt(T,
|
|
3681
|
+
const T = c[b], M = a[S] = N ? it(a[S]) : Ie(a[S]);
|
|
3682
|
+
if (Wt(T, M))
|
|
3683
3683
|
V(
|
|
3684
3684
|
T,
|
|
3685
|
-
|
|
3685
|
+
M,
|
|
3686
3686
|
m,
|
|
3687
3687
|
null,
|
|
3688
|
-
|
|
3688
|
+
E,
|
|
3689
3689
|
v,
|
|
3690
3690
|
D,
|
|
3691
3691
|
O,
|
|
@@ -3697,14 +3697,14 @@ function Oc(e, t) {
|
|
|
3697
3697
|
}
|
|
3698
3698
|
if (f > b) {
|
|
3699
3699
|
if (f <= S) {
|
|
3700
|
-
const T = S + 1,
|
|
3700
|
+
const T = S + 1, M = T < _ ? a[T].el : y;
|
|
3701
3701
|
for (; f <= S; )
|
|
3702
3702
|
V(
|
|
3703
3703
|
null,
|
|
3704
3704
|
a[f] = N ? it(a[f]) : Ie(a[f]),
|
|
3705
3705
|
m,
|
|
3706
|
-
|
|
3707
|
-
|
|
3706
|
+
M,
|
|
3707
|
+
E,
|
|
3708
3708
|
v,
|
|
3709
3709
|
D,
|
|
3710
3710
|
O,
|
|
@@ -3713,10 +3713,10 @@ function Oc(e, t) {
|
|
|
3713
3713
|
}
|
|
3714
3714
|
} else if (f > S)
|
|
3715
3715
|
for (; f <= b; )
|
|
3716
|
-
|
|
3716
|
+
Ae(c[f], E, v, !0), f++;
|
|
3717
3717
|
else {
|
|
3718
|
-
const T = f,
|
|
3719
|
-
for (f =
|
|
3718
|
+
const T = f, M = f, B = /* @__PURE__ */ new Map();
|
|
3719
|
+
for (f = M; f <= S; f++) {
|
|
3720
3720
|
const ie = a[f] = N ? it(a[f]) : Ie(a[f]);
|
|
3721
3721
|
ie.key != null && (process.env.NODE_ENV !== "production" && B.has(ie.key) && x(
|
|
3722
3722
|
"Duplicate keys found during update:",
|
|
@@ -3725,31 +3725,31 @@ function Oc(e, t) {
|
|
|
3725
3725
|
), B.set(ie.key, f));
|
|
3726
3726
|
}
|
|
3727
3727
|
let R, H = 0;
|
|
3728
|
-
const J = S -
|
|
3728
|
+
const J = S - M + 1;
|
|
3729
3729
|
let oe = !1, re = 0;
|
|
3730
3730
|
const Ke = new Array(J);
|
|
3731
3731
|
for (f = 0; f < J; f++) Ke[f] = 0;
|
|
3732
3732
|
for (f = T; f <= b; f++) {
|
|
3733
3733
|
const ie = c[f];
|
|
3734
3734
|
if (H >= J) {
|
|
3735
|
-
|
|
3735
|
+
Ae(ie, E, v, !0);
|
|
3736
3736
|
continue;
|
|
3737
3737
|
}
|
|
3738
3738
|
let We;
|
|
3739
3739
|
if (ie.key != null)
|
|
3740
3740
|
We = B.get(ie.key);
|
|
3741
3741
|
else
|
|
3742
|
-
for (R =
|
|
3743
|
-
if (Ke[R -
|
|
3742
|
+
for (R = M; R <= S; R++)
|
|
3743
|
+
if (Ke[R - M] === 0 && Wt(ie, a[R])) {
|
|
3744
3744
|
We = R;
|
|
3745
3745
|
break;
|
|
3746
3746
|
}
|
|
3747
|
-
We === void 0 ?
|
|
3747
|
+
We === void 0 ? Ae(ie, E, v, !0) : (Ke[We - M] = f + 1, We >= re ? re = We : oe = !0, V(
|
|
3748
3748
|
ie,
|
|
3749
3749
|
a[We],
|
|
3750
3750
|
m,
|
|
3751
3751
|
null,
|
|
3752
|
-
|
|
3752
|
+
E,
|
|
3753
3753
|
v,
|
|
3754
3754
|
D,
|
|
3755
3755
|
O,
|
|
@@ -3758,7 +3758,7 @@ function Oc(e, t) {
|
|
|
3758
3758
|
}
|
|
3759
3759
|
const oo = oe ? xc(Ke) : It;
|
|
3760
3760
|
for (R = oo.length - 1, f = J - 1; f >= 0; f--) {
|
|
3761
|
-
const ie =
|
|
3761
|
+
const ie = M + f, We = a[ie], rr = a[ie + 1], sr = ie + 1 < _ ? (
|
|
3762
3762
|
// #13559, #14173 fallback to el placeholder for unresolved async component
|
|
3763
3763
|
rr.el || Ys(rr)
|
|
3764
3764
|
) : y;
|
|
@@ -3767,7 +3767,7 @@ function Oc(e, t) {
|
|
|
3767
3767
|
We,
|
|
3768
3768
|
m,
|
|
3769
3769
|
sr,
|
|
3770
|
-
|
|
3770
|
+
E,
|
|
3771
3771
|
v,
|
|
3772
3772
|
D,
|
|
3773
3773
|
O,
|
|
@@ -3775,7 +3775,7 @@ function Oc(e, t) {
|
|
|
3775
3775
|
) : oe && (R < 0 || f !== oo[R] ? et(We, m, sr, 2) : R--);
|
|
3776
3776
|
}
|
|
3777
3777
|
}
|
|
3778
|
-
}, et = (c, a, m, y,
|
|
3778
|
+
}, et = (c, a, m, y, E = null) => {
|
|
3779
3779
|
const { el: v, type: D, transition: O, children: N, shapeFlag: f } = c;
|
|
3780
3780
|
if (f & 6) {
|
|
3781
3781
|
et(c.component.subTree, a, m, y);
|
|
@@ -3789,7 +3789,7 @@ function Oc(e, t) {
|
|
|
3789
3789
|
D.move(c, a, m, dt);
|
|
3790
3790
|
return;
|
|
3791
3791
|
}
|
|
3792
|
-
if (D ===
|
|
3792
|
+
if (D === Me) {
|
|
3793
3793
|
o(v, a, m);
|
|
3794
3794
|
for (let b = 0; b < N.length; b++)
|
|
3795
3795
|
et(N[b], a, m, y);
|
|
@@ -3802,50 +3802,50 @@ function Oc(e, t) {
|
|
|
3802
3802
|
}
|
|
3803
3803
|
if (y !== 2 && f & 1 && O)
|
|
3804
3804
|
if (y === 0)
|
|
3805
|
-
O.persisted && !v[ao] ? o(v, a, m) : (O.beforeEnter(v), o(v, a, m), ye(() => O.enter(v),
|
|
3805
|
+
O.persisted && !v[ao] ? o(v, a, m) : (O.beforeEnter(v), o(v, a, m), ye(() => O.enter(v), E));
|
|
3806
3806
|
else {
|
|
3807
|
-
const { leave: b, delayLeave: S, afterLeave: T } = O,
|
|
3807
|
+
const { leave: b, delayLeave: S, afterLeave: T } = O, M = () => {
|
|
3808
3808
|
c.ctx.isUnmounted ? r(v) : o(v, a, m);
|
|
3809
3809
|
}, B = () => {
|
|
3810
3810
|
const R = v._isLeaving || !!v[ao];
|
|
3811
3811
|
v._isLeaving && v[ao](
|
|
3812
3812
|
!0
|
|
3813
3813
|
/* cancelled */
|
|
3814
|
-
), O.persisted && !R ?
|
|
3815
|
-
|
|
3814
|
+
), O.persisted && !R ? M() : b(v, () => {
|
|
3815
|
+
M(), T && T();
|
|
3816
3816
|
});
|
|
3817
3817
|
};
|
|
3818
|
-
S ? S(v,
|
|
3818
|
+
S ? S(v, M, B) : B();
|
|
3819
3819
|
}
|
|
3820
3820
|
else
|
|
3821
3821
|
o(v, a, m);
|
|
3822
|
-
},
|
|
3822
|
+
}, Ae = (c, a, m, y = !1, E = !1) => {
|
|
3823
3823
|
const {
|
|
3824
3824
|
type: v,
|
|
3825
3825
|
props: D,
|
|
3826
3826
|
ref: O,
|
|
3827
3827
|
children: N,
|
|
3828
3828
|
dynamicChildren: f,
|
|
3829
|
-
shapeFlag:
|
|
3829
|
+
shapeFlag: _,
|
|
3830
3830
|
patchFlag: b,
|
|
3831
3831
|
dirs: S,
|
|
3832
3832
|
cacheIndex: T,
|
|
3833
|
-
memo:
|
|
3833
|
+
memo: M
|
|
3834
3834
|
} = c;
|
|
3835
|
-
if (b === -2 && (
|
|
3835
|
+
if (b === -2 && (E = !1), O != null && (Te(), tn(O, null, m, c, !0), $e()), T != null && (a.renderCache[T] = void 0), _ & 256) {
|
|
3836
3836
|
a.ctx.deactivate(c);
|
|
3837
3837
|
return;
|
|
3838
3838
|
}
|
|
3839
|
-
const B =
|
|
3839
|
+
const B = _ & 1 && S, R = !nn(c);
|
|
3840
3840
|
let H;
|
|
3841
|
-
if (R && (H = D && D.onVnodeBeforeUnmount) && qe(H, a, c),
|
|
3841
|
+
if (R && (H = D && D.onVnodeBeforeUnmount) && qe(H, a, c), _ & 6)
|
|
3842
3842
|
Ue(c.component, m, y);
|
|
3843
3843
|
else {
|
|
3844
|
-
if (
|
|
3844
|
+
if (_ & 128) {
|
|
3845
3845
|
c.suspense.unmount(m, y);
|
|
3846
3846
|
return;
|
|
3847
3847
|
}
|
|
3848
|
-
B && Et(c, null, a, "beforeUnmount"),
|
|
3848
|
+
B && Et(c, null, a, "beforeUnmount"), _ & 64 ? c.type.remove(
|
|
3849
3849
|
c,
|
|
3850
3850
|
a,
|
|
3851
3851
|
m,
|
|
@@ -3857,22 +3857,22 @@ function Oc(e, t) {
|
|
|
3857
3857
|
// so that it doesn't take the fast path during unmount - otherwise
|
|
3858
3858
|
// components nested in v-once are never unmounted.
|
|
3859
3859
|
!f.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
3860
|
-
(v !==
|
|
3860
|
+
(v !== Me || b > 0 && b & 64) ? _t(
|
|
3861
3861
|
f,
|
|
3862
3862
|
a,
|
|
3863
3863
|
m,
|
|
3864
3864
|
!1,
|
|
3865
3865
|
!0
|
|
3866
|
-
) : (v ===
|
|
3866
|
+
) : (v === Me && b & 384 || !E && _ & 16) && _t(N, a, m), y && pt(c);
|
|
3867
3867
|
}
|
|
3868
|
-
const J =
|
|
3868
|
+
const J = M != null && T == null;
|
|
3869
3869
|
(R && (H = D && D.onVnodeUnmounted) || B || J) && ye(() => {
|
|
3870
3870
|
H && qe(H, a, c), B && Et(c, null, a, "unmounted"), J && (c.el = null);
|
|
3871
3871
|
}, m);
|
|
3872
3872
|
}, pt = (c) => {
|
|
3873
|
-
const { type: a, el: m, anchor: y, transition:
|
|
3874
|
-
if (a ===
|
|
3875
|
-
process.env.NODE_ENV !== "production" && c.patchFlag > 0 && c.patchFlag & 2048 &&
|
|
3873
|
+
const { type: a, el: m, anchor: y, transition: E } = c;
|
|
3874
|
+
if (a === Me) {
|
|
3875
|
+
process.env.NODE_ENV !== "production" && c.patchFlag > 0 && c.patchFlag & 2048 && E && !E.persisted ? c.children.forEach((D) => {
|
|
3876
3876
|
D.type === Se ? r(D.el) : pt(D);
|
|
3877
3877
|
}) : tt(m, y);
|
|
3878
3878
|
return;
|
|
@@ -3882,10 +3882,10 @@ function Oc(e, t) {
|
|
|
3882
3882
|
return;
|
|
3883
3883
|
}
|
|
3884
3884
|
const v = () => {
|
|
3885
|
-
r(m),
|
|
3885
|
+
r(m), E && !E.persisted && E.afterLeave && E.afterLeave();
|
|
3886
3886
|
};
|
|
3887
|
-
if (c.shapeFlag & 1 &&
|
|
3888
|
-
const { leave: D, delayLeave: O } =
|
|
3887
|
+
if (c.shapeFlag & 1 && E && !E.persisted) {
|
|
3888
|
+
const { leave: D, delayLeave: O } = E, N = () => D(m, v);
|
|
3889
3889
|
O ? O(c.el, v, N) : N();
|
|
3890
3890
|
} else
|
|
3891
3891
|
v();
|
|
@@ -3896,13 +3896,13 @@ function Oc(e, t) {
|
|
|
3896
3896
|
r(a);
|
|
3897
3897
|
}, Ue = (c, a, m) => {
|
|
3898
3898
|
process.env.NODE_ENV !== "production" && c.type.__hmrId && fl(c);
|
|
3899
|
-
const { bum: y, scope:
|
|
3900
|
-
Sr(N), Sr(f), y && Bt(y),
|
|
3899
|
+
const { bum: y, scope: E, job: v, subTree: D, um: O, m: N, a: f } = c;
|
|
3900
|
+
Sr(N), Sr(f), y && Bt(y), E.stop(), v && (v.flags |= 8, Ae(D, c, a, m)), O && ye(O, a), ye(() => {
|
|
3901
3901
|
c.isUnmounted = !0;
|
|
3902
3902
|
}, a), process.env.NODE_ENV !== "production" && vl(c);
|
|
3903
|
-
}, _t = (c, a, m, y = !1,
|
|
3903
|
+
}, _t = (c, a, m, y = !1, E = !1, v = 0) => {
|
|
3904
3904
|
for (let D = v; D < c.length; D++)
|
|
3905
|
-
|
|
3905
|
+
Ae(c[D], a, m, y, E);
|
|
3906
3906
|
}, Ct = (c) => {
|
|
3907
3907
|
if (c.shapeFlag & 6)
|
|
3908
3908
|
return Ct(c.component.subTree);
|
|
@@ -3914,7 +3914,7 @@ function Oc(e, t) {
|
|
|
3914
3914
|
let Ht = !1;
|
|
3915
3915
|
const yn = (c, a, m) => {
|
|
3916
3916
|
let y;
|
|
3917
|
-
c == null ? a._vnode && (
|
|
3917
|
+
c == null ? a._vnode && (Ae(a._vnode, null, null, !0), y = a._vnode.component) : V(
|
|
3918
3918
|
a._vnode || null,
|
|
3919
3919
|
c,
|
|
3920
3920
|
a,
|
|
@@ -3925,7 +3925,7 @@ function Oc(e, t) {
|
|
|
3925
3925
|
), a._vnode = c, Ht || (Ht = !0, ar(y), Ns(), Ht = !1);
|
|
3926
3926
|
}, dt = {
|
|
3927
3927
|
p: V,
|
|
3928
|
-
um:
|
|
3928
|
+
um: Ae,
|
|
3929
3929
|
m: et,
|
|
3930
3930
|
r: pt,
|
|
3931
3931
|
mt: Ve,
|
|
@@ -3952,7 +3952,7 @@ function wc(e, t) {
|
|
|
3952
3952
|
}
|
|
3953
3953
|
function Cn(e, t, n = !1) {
|
|
3954
3954
|
const o = e.children, r = t.children;
|
|
3955
|
-
if (
|
|
3955
|
+
if (P(o) && P(r))
|
|
3956
3956
|
for (let s = 0; s < o.length; s++) {
|
|
3957
3957
|
const i = o[s];
|
|
3958
3958
|
let l = r[s];
|
|
@@ -3997,9 +3997,9 @@ function Ys(e) {
|
|
|
3997
3997
|
}
|
|
3998
3998
|
const zs = (e) => e.__isSuspense;
|
|
3999
3999
|
function Dc(e, t) {
|
|
4000
|
-
t && t.pendingBranch ?
|
|
4000
|
+
t && t.pendingBranch ? P(e) ? t.effects.push(...e) : t.effects.push(e) : ys(e);
|
|
4001
4001
|
}
|
|
4002
|
-
const
|
|
4002
|
+
const Me = /* @__PURE__ */ Symbol.for("v-fgt"), vn = /* @__PURE__ */ Symbol.for("v-txt"), Se = /* @__PURE__ */ Symbol.for("v-cmt"), Tn = /* @__PURE__ */ Symbol.for("v-stc"), on = [];
|
|
4003
4003
|
let De = null;
|
|
4004
4004
|
function Ge(e = !1) {
|
|
4005
4005
|
on.push(De = e ? null : []);
|
|
@@ -4052,19 +4052,19 @@ function Wt(e, t) {
|
|
|
4052
4052
|
}
|
|
4053
4053
|
const Cc = (...e) => Qs(
|
|
4054
4054
|
...e
|
|
4055
|
-
), Zs = ({ key: e }) => e ?? null,
|
|
4055
|
+
), Zs = ({ key: e }) => e ?? null, $n = ({
|
|
4056
4056
|
ref: e,
|
|
4057
4057
|
ref_key: t,
|
|
4058
4058
|
ref_for: n
|
|
4059
|
-
}) => (typeof e == "number" && (e = "" + e), e != null ? Z(e) || /* @__PURE__ */ se(e) ||
|
|
4060
|
-
function he(e, t = null, n = null, o = 0, r = null, s = e ===
|
|
4059
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? Z(e) || /* @__PURE__ */ se(e) || A(e) ? { i: ve, r: e, k: t, f: !!n } : e : null);
|
|
4060
|
+
function he(e, t = null, n = null, o = 0, r = null, s = e === Me ? 0 : 1, i = !1, l = !1) {
|
|
4061
4061
|
const u = {
|
|
4062
4062
|
__v_isVNode: !0,
|
|
4063
4063
|
__v_skip: !0,
|
|
4064
4064
|
type: e,
|
|
4065
4065
|
props: t,
|
|
4066
4066
|
key: t && Zs(t),
|
|
4067
|
-
ref: t &&
|
|
4067
|
+
ref: t && $n(t),
|
|
4068
4068
|
scopeId: Ss,
|
|
4069
4069
|
slotScopeIds: null,
|
|
4070
4070
|
children: n,
|
|
@@ -4111,10 +4111,10 @@ function Qs(e, t = null, n = null, o = 0, r = null, s = !1) {
|
|
|
4111
4111
|
if (ri(e) && (e = e.__vccOpts), t) {
|
|
4112
4112
|
t = Tc(t);
|
|
4113
4113
|
let { class: l, style: u } = t;
|
|
4114
|
-
l && !Z(l) && (t.class = sn(l)), K(u) && (/* @__PURE__ */
|
|
4114
|
+
l && !Z(l) && (t.class = sn(l)), K(u) && (/* @__PURE__ */ An(u) && !P(u) && (u = te({}, u)), t.style = Ot(u));
|
|
4115
4115
|
}
|
|
4116
|
-
const i = Z(e) ? 1 : zs(e) ? 128 : Vl(e) ? 64 : K(e) ? 4 :
|
|
4117
|
-
return process.env.NODE_ENV !== "production" && i & 4 && /* @__PURE__ */
|
|
4116
|
+
const i = Z(e) ? 1 : zs(e) ? 128 : Vl(e) ? 64 : K(e) ? 4 : A(e) ? 2 : 0;
|
|
4117
|
+
return process.env.NODE_ENV !== "production" && i & 4 && /* @__PURE__ */ An(e) && (e = /* @__PURE__ */ I(e), x(
|
|
4118
4118
|
"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`.",
|
|
4119
4119
|
`
|
|
4120
4120
|
Component that was made reactive: `,
|
|
@@ -4131,10 +4131,10 @@ Component that was made reactive: `,
|
|
|
4131
4131
|
);
|
|
4132
4132
|
}
|
|
4133
4133
|
function Tc(e) {
|
|
4134
|
-
return e ? /* @__PURE__ */
|
|
4134
|
+
return e ? /* @__PURE__ */ An(e) || Bs(e) ? te({}, e) : e : null;
|
|
4135
4135
|
}
|
|
4136
4136
|
function vt(e, t, n = !1, o = !1) {
|
|
4137
|
-
const { props: r, ref: s, patchFlag: i, children: l, transition: u } = e, h = t ?
|
|
4137
|
+
const { props: r, ref: s, patchFlag: i, children: l, transition: u } = e, h = t ? Pc(r || {}, t) : r, d = {
|
|
4138
4138
|
__v_isVNode: !0,
|
|
4139
4139
|
__v_skip: !0,
|
|
4140
4140
|
type: e.type,
|
|
@@ -4144,11 +4144,11 @@ function vt(e, t, n = !1, o = !1) {
|
|
|
4144
4144
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
4145
4145
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
4146
4146
|
// the refs so the single vnode can be set on multiple refs
|
|
4147
|
-
n && s ?
|
|
4147
|
+
n && s ? P(s) ? s.concat($n(t)) : [s, $n(t)] : $n(t)
|
|
4148
4148
|
) : s,
|
|
4149
4149
|
scopeId: e.scopeId,
|
|
4150
4150
|
slotScopeIds: e.slotScopeIds,
|
|
4151
|
-
children: process.env.NODE_ENV !== "production" && i === -1 &&
|
|
4151
|
+
children: process.env.NODE_ENV !== "production" && i === -1 && P(l) ? l.map(ei) : l,
|
|
4152
4152
|
target: e.target,
|
|
4153
4153
|
targetStart: e.targetStart,
|
|
4154
4154
|
targetAnchor: e.targetAnchor,
|
|
@@ -4158,7 +4158,7 @@ function vt(e, t, n = !1, o = !1) {
|
|
|
4158
4158
|
// existing patch flag to be reliable and need to add the FULL_PROPS flag.
|
|
4159
4159
|
// note: preserve flag for fragments since they use the flag for children
|
|
4160
4160
|
// fast paths only.
|
|
4161
|
-
patchFlag: t && e.type !==
|
|
4161
|
+
patchFlag: t && e.type !== Me ? i === -1 ? 16 : i | 16 : i,
|
|
4162
4162
|
dynamicProps: e.dynamicProps,
|
|
4163
4163
|
dynamicChildren: e.dynamicChildren,
|
|
4164
4164
|
appContext: e.appContext,
|
|
@@ -4185,17 +4185,17 @@ function vt(e, t, n = !1, o = !1) {
|
|
|
4185
4185
|
}
|
|
4186
4186
|
function ei(e) {
|
|
4187
4187
|
const t = vt(e);
|
|
4188
|
-
return
|
|
4188
|
+
return P(e.children) && (t.children = e.children.map(ei)), t;
|
|
4189
4189
|
}
|
|
4190
|
-
function
|
|
4190
|
+
function $c(e = " ", t = 0) {
|
|
4191
4191
|
return ct(vn, null, e, t);
|
|
4192
4192
|
}
|
|
4193
4193
|
function mo(e = "", t = !1) {
|
|
4194
4194
|
return t ? (Ge(), Vc(Se, null, e)) : ct(Se, null, e);
|
|
4195
4195
|
}
|
|
4196
4196
|
function Ie(e) {
|
|
4197
|
-
return e == null || typeof e == "boolean" ? ct(Se) :
|
|
4198
|
-
|
|
4197
|
+
return e == null || typeof e == "boolean" ? ct(Se) : P(e) ? ct(
|
|
4198
|
+
Me,
|
|
4199
4199
|
null,
|
|
4200
4200
|
// #3666, avoid reference pollution when reusing vnode
|
|
4201
4201
|
e.slice()
|
|
@@ -4209,7 +4209,7 @@ function Bn(e, t) {
|
|
|
4209
4209
|
const { shapeFlag: o } = e;
|
|
4210
4210
|
if (t == null)
|
|
4211
4211
|
t = null;
|
|
4212
|
-
else if (
|
|
4212
|
+
else if (P(t))
|
|
4213
4213
|
n = 16;
|
|
4214
4214
|
else if (typeof t == "object")
|
|
4215
4215
|
if (o & 65) {
|
|
@@ -4221,17 +4221,17 @@ function Bn(e, t) {
|
|
|
4221
4221
|
const r = t._;
|
|
4222
4222
|
!r && !Bs(t) ? t._ctx = ve : r === 3 && ve && (ve.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
4223
4223
|
}
|
|
4224
|
-
else if (
|
|
4224
|
+
else if (A(t)) {
|
|
4225
4225
|
if (o & 65) {
|
|
4226
4226
|
Bn(e, { default: t });
|
|
4227
4227
|
return;
|
|
4228
4228
|
}
|
|
4229
4229
|
t = { default: t, _ctx: ve }, n = 32;
|
|
4230
4230
|
} else
|
|
4231
|
-
t = String(t), o & 64 ? (n = 16, t = [
|
|
4231
|
+
t = String(t), o & 64 ? (n = 16, t = [$c(t)]) : n = 8;
|
|
4232
4232
|
e.children = t, e.shapeFlag |= n;
|
|
4233
4233
|
}
|
|
4234
|
-
function
|
|
4234
|
+
function Pc(...e) {
|
|
4235
4235
|
const t = {};
|
|
4236
4236
|
for (let n = 0; n < e.length; n++) {
|
|
4237
4237
|
const o = e[n];
|
|
@@ -4242,7 +4242,7 @@ function $c(...e) {
|
|
|
4242
4242
|
t.style = Ot([t.style, o.style]);
|
|
4243
4243
|
else if (pn(r)) {
|
|
4244
4244
|
const s = t[r], i = o[r];
|
|
4245
|
-
i && s !== i && !(
|
|
4245
|
+
i && s !== i && !(P(s) && s.includes(i)) ? t[r] = s ? [].concat(s, i) : i : i == null && s == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
|
|
4246
4246
|
// the model listener.
|
|
4247
4247
|
!rn(r) && (t[r] = i);
|
|
4248
4248
|
} else r !== "" && (t[r] = o[r]);
|
|
@@ -4255,11 +4255,11 @@ function qe(e, t, n, o = null) {
|
|
|
4255
4255
|
o
|
|
4256
4256
|
]);
|
|
4257
4257
|
}
|
|
4258
|
-
const
|
|
4259
|
-
let
|
|
4258
|
+
const Ac = Rs();
|
|
4259
|
+
let Mc = 0;
|
|
4260
4260
|
function Ic(e, t, n) {
|
|
4261
|
-
const o = e.type, r = (t ? t.appContext : e.appContext) ||
|
|
4262
|
-
uid:
|
|
4261
|
+
const o = e.type, r = (t ? t.appContext : e.appContext) || Ac, s = {
|
|
4262
|
+
uid: Mc++,
|
|
4263
4263
|
vnode: e,
|
|
4264
4264
|
type: o,
|
|
4265
4265
|
parent: t,
|
|
@@ -4338,7 +4338,7 @@ function Ic(e, t, n) {
|
|
|
4338
4338
|
}
|
|
4339
4339
|
let le = null;
|
|
4340
4340
|
const nr = () => le || ve;
|
|
4341
|
-
let Un,
|
|
4341
|
+
let Un, $o;
|
|
4342
4342
|
{
|
|
4343
4343
|
const e = hn(), t = (n, o) => {
|
|
4344
4344
|
let r;
|
|
@@ -4349,7 +4349,7 @@ let Un, Po;
|
|
|
4349
4349
|
Un = t(
|
|
4350
4350
|
"__VUE_INSTANCE_SETTERS__",
|
|
4351
4351
|
(n) => le = n
|
|
4352
|
-
),
|
|
4352
|
+
), $o = t(
|
|
4353
4353
|
"__VUE_SSR_SETTERS__",
|
|
4354
4354
|
(n) => an = n
|
|
4355
4355
|
);
|
|
@@ -4362,7 +4362,7 @@ const _n = (e) => {
|
|
|
4362
4362
|
}, Cr = () => {
|
|
4363
4363
|
le && le.scope.off(), Un(null);
|
|
4364
4364
|
}, Rc = /* @__PURE__ */ ft("slot,component");
|
|
4365
|
-
function
|
|
4365
|
+
function Po(e, { isNativeTag: t }) {
|
|
4366
4366
|
(Rc(e) || t(e)) && x(
|
|
4367
4367
|
"Do not use built-in or reserved HTML elements as component id: " + e
|
|
4368
4368
|
);
|
|
@@ -4372,19 +4372,19 @@ function ti(e) {
|
|
|
4372
4372
|
}
|
|
4373
4373
|
let an = !1;
|
|
4374
4374
|
function jc(e, t = !1, n = !1) {
|
|
4375
|
-
t &&
|
|
4375
|
+
t && $o(t);
|
|
4376
4376
|
const { props: o, children: r } = e.vnode, s = ti(e);
|
|
4377
4377
|
cc(e, o, s, t), Ec(e, r, n || t);
|
|
4378
4378
|
const i = s ? Fc(e, t) : void 0;
|
|
4379
|
-
return t &&
|
|
4379
|
+
return t && $o(!1), i;
|
|
4380
4380
|
}
|
|
4381
4381
|
function Fc(e, t) {
|
|
4382
4382
|
const n = e.type;
|
|
4383
4383
|
if (process.env.NODE_ENV !== "production") {
|
|
4384
|
-
if (n.name &&
|
|
4384
|
+
if (n.name && Po(n.name, e.appContext.config), n.components) {
|
|
4385
4385
|
const r = Object.keys(n.components);
|
|
4386
4386
|
for (let s = 0; s < r.length; s++)
|
|
4387
|
-
|
|
4387
|
+
Po(r[s], e.appContext.config);
|
|
4388
4388
|
}
|
|
4389
4389
|
if (n.directives) {
|
|
4390
4390
|
const r = Object.keys(n.directives);
|
|
@@ -4395,7 +4395,7 @@ function Fc(e, t) {
|
|
|
4395
4395
|
'"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.'
|
|
4396
4396
|
);
|
|
4397
4397
|
}
|
|
4398
|
-
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx,
|
|
4398
|
+
e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, As), process.env.NODE_ENV !== "production" && Wl(e);
|
|
4399
4399
|
const { setup: o } = n;
|
|
4400
4400
|
if (o) {
|
|
4401
4401
|
Te();
|
|
@@ -4408,7 +4408,7 @@ function Fc(e, t) {
|
|
|
4408
4408
|
r
|
|
4409
4409
|
]
|
|
4410
4410
|
), l = Ro(i);
|
|
4411
|
-
if (
|
|
4411
|
+
if ($e(), s(), (l || e.sp) && !nn(e) && $s(e), l) {
|
|
4412
4412
|
if (i.then(Cr, Cr), t)
|
|
4413
4413
|
return i.then((u) => {
|
|
4414
4414
|
Tr(e, u, t);
|
|
@@ -4427,7 +4427,7 @@ function Fc(e, t) {
|
|
|
4427
4427
|
ni(e, t);
|
|
4428
4428
|
}
|
|
4429
4429
|
function Tr(e, t, n) {
|
|
4430
|
-
|
|
4430
|
+
A(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : K(t) ? (process.env.NODE_ENV !== "production" && eo(t) && x(
|
|
4431
4431
|
"setup() should not return VNodes directly - return a render function instead."
|
|
4432
4432
|
), process.env.NODE_ENV !== "production" && (e.devtoolsRawSetupState = t), e.setupState = vs(t), process.env.NODE_ENV !== "production" && ql(e)) : process.env.NODE_ENV !== "production" && t !== void 0 && x(
|
|
4433
4433
|
`setup() should return an object. Received: ${t === null ? "null" : typeof t}`
|
|
@@ -4443,14 +4443,14 @@ function ni(e, t, n) {
|
|
|
4443
4443
|
try {
|
|
4444
4444
|
Jl(e);
|
|
4445
4445
|
} finally {
|
|
4446
|
-
|
|
4446
|
+
$e(), r();
|
|
4447
4447
|
}
|
|
4448
4448
|
}
|
|
4449
4449
|
process.env.NODE_ENV !== "production" && !o.render && e.render === ue && !t && (o.template ? x(
|
|
4450
4450
|
'Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'
|
|
4451
4451
|
) : x("Component is missing template or render function: ", o));
|
|
4452
4452
|
}
|
|
4453
|
-
const
|
|
4453
|
+
const $r = process.env.NODE_ENV !== "production" ? {
|
|
4454
4454
|
get(e, t) {
|
|
4455
4455
|
return kn(), ce(e, "get", ""), e[t];
|
|
4456
4456
|
},
|
|
@@ -4476,7 +4476,7 @@ function Hc(e) {
|
|
|
4476
4476
|
const t = (n) => {
|
|
4477
4477
|
if (process.env.NODE_ENV !== "production" && (e.exposed && x("expose() should be called only once per setup()."), n != null)) {
|
|
4478
4478
|
let o = typeof n;
|
|
4479
|
-
o === "object" && (
|
|
4479
|
+
o === "object" && (P(n) ? o = "array" : /* @__PURE__ */ se(n) && (o = "ref")), o !== "object" && x(
|
|
4480
4480
|
`expose() should be passed a plain object, received ${o}.`
|
|
4481
4481
|
);
|
|
4482
4482
|
}
|
|
@@ -4486,7 +4486,7 @@ function Hc(e) {
|
|
|
4486
4486
|
let n, o;
|
|
4487
4487
|
return Object.freeze({
|
|
4488
4488
|
get attrs() {
|
|
4489
|
-
return n || (n = new Proxy(e.attrs,
|
|
4489
|
+
return n || (n = new Proxy(e.attrs, $r));
|
|
4490
4490
|
},
|
|
4491
4491
|
get slots() {
|
|
4492
4492
|
return o || (o = kc(e));
|
|
@@ -4498,7 +4498,7 @@ function Hc(e) {
|
|
|
4498
4498
|
});
|
|
4499
4499
|
} else
|
|
4500
4500
|
return {
|
|
4501
|
-
attrs: new Proxy(e.attrs,
|
|
4501
|
+
attrs: new Proxy(e.attrs, $r),
|
|
4502
4502
|
slots: e.slots,
|
|
4503
4503
|
emit: e.emit,
|
|
4504
4504
|
expose: t
|
|
@@ -4519,7 +4519,7 @@ function to(e) {
|
|
|
4519
4519
|
}
|
|
4520
4520
|
const Bc = /(?:^|[-_])\w/g, Uc = (e) => e.replace(Bc, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
4521
4521
|
function oi(e, t = !0) {
|
|
4522
|
-
return
|
|
4522
|
+
return A(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
4523
4523
|
}
|
|
4524
4524
|
function En(e, t, n = !1) {
|
|
4525
4525
|
let o = oi(t);
|
|
@@ -4540,7 +4540,7 @@ function En(e, t, n = !1) {
|
|
|
4540
4540
|
return o ? Uc(o) : n ? "App" : "Anonymous";
|
|
4541
4541
|
}
|
|
4542
4542
|
function ri(e) {
|
|
4543
|
-
return
|
|
4543
|
+
return A(e) && "__vccOpts" in e;
|
|
4544
4544
|
}
|
|
4545
4545
|
const Je = (e, t) => {
|
|
4546
4546
|
const n = /* @__PURE__ */ Zi(e, t, an);
|
|
@@ -4563,7 +4563,7 @@ function Kc() {
|
|
|
4563
4563
|
if (/* @__PURE__ */ se(p)) {
|
|
4564
4564
|
Te();
|
|
4565
4565
|
const g = p.value;
|
|
4566
|
-
return
|
|
4566
|
+
return $e(), [
|
|
4567
4567
|
"div",
|
|
4568
4568
|
{},
|
|
4569
4569
|
["span", e, d(p)],
|
|
@@ -4610,8 +4610,8 @@ function Kc() {
|
|
|
4610
4610
|
p.type.props && p.props && g.push(i("props", /* @__PURE__ */ I(p.props))), p.setupState !== z && g.push(i("setup", p.setupState)), p.data !== z && g.push(i("data", /* @__PURE__ */ I(p.data)));
|
|
4611
4611
|
const w = u(p, "computed");
|
|
4612
4612
|
w && g.push(i("computed", w));
|
|
4613
|
-
const
|
|
4614
|
-
return
|
|
4613
|
+
const $ = u(p, "inject");
|
|
4614
|
+
return $ && g.push(i("injected", $)), g.push([
|
|
4615
4615
|
"div",
|
|
4616
4616
|
{},
|
|
4617
4617
|
[
|
|
@@ -4654,16 +4654,16 @@ function Kc() {
|
|
|
4654
4654
|
}
|
|
4655
4655
|
function u(p, g) {
|
|
4656
4656
|
const w = p.type;
|
|
4657
|
-
if (
|
|
4657
|
+
if (A(w))
|
|
4658
4658
|
return;
|
|
4659
|
-
const
|
|
4659
|
+
const $ = {};
|
|
4660
4660
|
for (const V in p.ctx)
|
|
4661
|
-
h(w, V, g) && (
|
|
4662
|
-
return
|
|
4661
|
+
h(w, V, g) && ($[V] = p.ctx[V]);
|
|
4662
|
+
return $;
|
|
4663
4663
|
}
|
|
4664
4664
|
function h(p, g, w) {
|
|
4665
|
-
const
|
|
4666
|
-
if ($
|
|
4665
|
+
const $ = p[w];
|
|
4666
|
+
if (P($) && $.includes(g) || K($) && g in $ || p.extends && h(p.extends, g, w) || p.mixins && p.mixins.some((V) => h(V, g, w)))
|
|
4667
4667
|
return !0;
|
|
4668
4668
|
}
|
|
4669
4669
|
function d(p) {
|
|
@@ -4671,20 +4671,20 @@ function Kc() {
|
|
|
4671
4671
|
}
|
|
4672
4672
|
window.devtoolsFormatters ? window.devtoolsFormatters.push(r) : window.devtoolsFormatters = [r];
|
|
4673
4673
|
}
|
|
4674
|
-
const
|
|
4674
|
+
const Pr = "3.5.39", ut = process.env.NODE_ENV !== "production" ? x : ue;
|
|
4675
4675
|
process.env.NODE_ENV;
|
|
4676
4676
|
process.env.NODE_ENV;
|
|
4677
|
-
let
|
|
4678
|
-
const
|
|
4679
|
-
if (
|
|
4677
|
+
let Ao;
|
|
4678
|
+
const Ar = typeof window < "u" && window.trustedTypes;
|
|
4679
|
+
if (Ar)
|
|
4680
4680
|
try {
|
|
4681
|
-
|
|
4681
|
+
Ao = /* @__PURE__ */ Ar.createPolicy("vue", {
|
|
4682
4682
|
createHTML: (e) => e
|
|
4683
4683
|
});
|
|
4684
4684
|
} catch (e) {
|
|
4685
4685
|
process.env.NODE_ENV !== "production" && ut(`Error creating trusted types policy: ${e}`);
|
|
4686
4686
|
}
|
|
4687
|
-
const si =
|
|
4687
|
+
const si = Ao ? (e) => Ao.createHTML(e) : (e) => e, Wc = "http://www.w3.org/2000/svg", qc = "http://www.w3.org/1998/Math/MathML", rt = typeof document < "u" ? document : null, Mr = rt && /* @__PURE__ */ rt.createElement("template"), Gc = {
|
|
4688
4688
|
insert: (e, t, n) => {
|
|
4689
4689
|
t.insertBefore(e, n || null);
|
|
4690
4690
|
},
|
|
@@ -4720,10 +4720,10 @@ const si = Mo ? (e) => Mo.createHTML(e) : (e) => e, Wc = "http://www.w3.org/2000
|
|
|
4720
4720
|
for (; t.insertBefore(r.cloneNode(!0), n), !(r === s || !(r = r.nextSibling)); )
|
|
4721
4721
|
;
|
|
4722
4722
|
else {
|
|
4723
|
-
|
|
4723
|
+
Mr.innerHTML = si(
|
|
4724
4724
|
o === "svg" ? `<svg>${e}</svg>` : o === "mathml" ? `<math>${e}</math>` : e
|
|
4725
4725
|
);
|
|
4726
|
-
const l =
|
|
4726
|
+
const l = Mr.content;
|
|
4727
4727
|
if (o === "svg" || o === "mathml") {
|
|
4728
4728
|
const u = l.firstChild;
|
|
4729
4729
|
for (; u.firstChild; )
|
|
@@ -4799,7 +4799,7 @@ function Qc(e, t, n) {
|
|
|
4799
4799
|
}
|
|
4800
4800
|
const eu = /[^\\];\s*$/, Ir = /\s*!important$/;
|
|
4801
4801
|
function Xt(e, t, n) {
|
|
4802
|
-
if (
|
|
4802
|
+
if (P(n))
|
|
4803
4803
|
n.forEach((o) => Xt(e, t, o));
|
|
4804
4804
|
else if (n == null && (n = ""), process.env.NODE_ENV !== "production" && eu.test(n) && ut(
|
|
4805
4805
|
`Unexpected semicolon at the end of '${t}' style value: '${n}'`
|
|
@@ -4909,7 +4909,7 @@ function au(e, t) {
|
|
|
4909
4909
|
else if (o._vts <= n.attached)
|
|
4910
4910
|
return;
|
|
4911
4911
|
const r = n.value;
|
|
4912
|
-
if (
|
|
4912
|
+
if (P(r)) {
|
|
4913
4913
|
const s = o.stopImmediatePropagation;
|
|
4914
4914
|
o.stopImmediatePropagation = () => {
|
|
4915
4915
|
s.call(o), o._stopped = !0;
|
|
@@ -4935,7 +4935,7 @@ function au(e, t) {
|
|
|
4935
4935
|
return n.value = e, n.attached = fu(), n;
|
|
4936
4936
|
}
|
|
4937
4937
|
function Hr(e, t) {
|
|
4938
|
-
return
|
|
4938
|
+
return A(e) || P(e) ? e : (ut(
|
|
4939
4939
|
`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
4940
4940
|
Expected function or array of functions, received type ${typeof e}.`
|
|
4941
4941
|
), ue);
|
|
@@ -4949,7 +4949,7 @@ e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, pu = (e, t, n, o, r, s) => {
|
|
|
4949
4949
|
};
|
|
4950
4950
|
function du(e, t, n, o) {
|
|
4951
4951
|
if (o)
|
|
4952
|
-
return !!(t === "innerHTML" || t === "textContent" || t in e && Br(t) &&
|
|
4952
|
+
return !!(t === "innerHTML" || t === "textContent" || t in e && Br(t) && A(n));
|
|
4953
4953
|
if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "autocorrect" || t === "sandbox" && e.tagName === "IFRAME" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
|
|
4954
4954
|
return !1;
|
|
4955
4955
|
if (t === "width" || t === "height") {
|
|
@@ -4982,7 +4982,7 @@ const vu = ((...e) => {
|
|
|
4982
4982
|
const r = yu(o);
|
|
4983
4983
|
if (!r) return;
|
|
4984
4984
|
const s = t._component;
|
|
4985
|
-
!
|
|
4985
|
+
!A(s) && !s.render && !s.template && (s.template = r.innerHTML), r.nodeType === 1 && (r.textContent = "");
|
|
4986
4986
|
const i = n(r, !1, _u(r));
|
|
4987
4987
|
return r instanceof Element && (r.removeAttribute("v-cloak"), r.setAttribute("data-v-app", "")), i;
|
|
4988
4988
|
}, t;
|
|
@@ -5077,7 +5077,7 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5077
5077
|
"StrictMode",
|
|
5078
5078
|
"Suspense",
|
|
5079
5079
|
"SuspenseList"
|
|
5080
|
-
]), Cu = /\.(?:[cm]?[jt]sx?|vue|svelte|astro)$/i, Tu = /^\s*at\s+(?:(.*?)\s+\()?(.+\.(?:[cm]?[jt]sx?|vue|svelte|astro)):(\d+):(\d+)\)?\s*$/i, ci = (e) => !e || Vu.has(e) ? !1 : !Su.some((t) => e.startsWith(t)),
|
|
5080
|
+
]), Cu = /\.(?:[cm]?[jt]sx?|vue|svelte|astro)$/i, Tu = /^\s*at\s+(?:(.*?)\s+\()?(.+\.(?:[cm]?[jt]sx?|vue|svelte|astro)):(\d+):(\d+)\)?\s*$/i, ci = (e) => !e || Vu.has(e) ? !1 : !Su.some((t) => e.startsWith(t)), Mo = (e) => !ci(e) || e.length <= 1 || e[0] !== e[0].toUpperCase() ? !1 : !e.endsWith("Provider") && !e.endsWith("Context"), Wn = (e) => {
|
|
5081
5081
|
if (!e || typeof e == "string")
|
|
5082
5082
|
return;
|
|
5083
5083
|
if (typeof e == "function")
|
|
@@ -5086,18 +5086,18 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5086
5086
|
return;
|
|
5087
5087
|
const t = e;
|
|
5088
5088
|
return t.displayName || t.name || Wn(t.render) || Wn(t.type);
|
|
5089
|
-
},
|
|
5089
|
+
}, $u = (e) => {
|
|
5090
5090
|
if (e)
|
|
5091
5091
|
return Wn(e.elementType) || Wn(e.type);
|
|
5092
5092
|
}, _o = (e, t = ci) => {
|
|
5093
5093
|
let n = e;
|
|
5094
5094
|
for (; n; ) {
|
|
5095
|
-
const o =
|
|
5095
|
+
const o = $u(n);
|
|
5096
5096
|
if (t(o))
|
|
5097
5097
|
return o;
|
|
5098
5098
|
n = n.return ?? null;
|
|
5099
5099
|
}
|
|
5100
|
-
},
|
|
5100
|
+
}, Pu = (e) => {
|
|
5101
5101
|
let t = e;
|
|
5102
5102
|
for (; t; ) {
|
|
5103
5103
|
const n = t, o = Object.getOwnPropertyNames(n).find((r) => r.startsWith("__reactFiber$") || r.startsWith("__reactInternalInstance$"));
|
|
@@ -5117,7 +5117,7 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5117
5117
|
}, Kr = (e) => {
|
|
5118
5118
|
const t = no(e).replace(/\\/g, "/");
|
|
5119
5119
|
return t.includes("/node_modules/") || t.startsWith("node_modules/") ? "package" : Cu.test(t) ? "app" : "unknown";
|
|
5120
|
-
},
|
|
5120
|
+
}, Au = (e) => {
|
|
5121
5121
|
const t = typeof e == "string" ? e : e?.stack;
|
|
5122
5122
|
if (t)
|
|
5123
5123
|
for (const n of t.split(`
|
|
@@ -5127,18 +5127,18 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5127
5127
|
continue;
|
|
5128
5128
|
const [, r, s, i, l] = o, u = r?.replace(/^new\s+/, "");
|
|
5129
5129
|
return {
|
|
5130
|
-
componentName:
|
|
5130
|
+
componentName: Mo(u) ? u : void 0,
|
|
5131
5131
|
filePath: no(s),
|
|
5132
5132
|
line: Number(i) || void 0,
|
|
5133
5133
|
column: Number(l) || void 0
|
|
5134
5134
|
};
|
|
5135
5135
|
}
|
|
5136
|
-
},
|
|
5136
|
+
}, Mu = /(.+):(\d+):(\d+)$/, Iu = (e) => {
|
|
5137
5137
|
let t = e;
|
|
5138
5138
|
for (; t; ) {
|
|
5139
5139
|
const n = t.getAttribute("data-inspect-devtools-source");
|
|
5140
5140
|
if (n) {
|
|
5141
|
-
const o = n.match(
|
|
5141
|
+
const o = n.match(Mu);
|
|
5142
5142
|
if (!o)
|
|
5143
5143
|
return {};
|
|
5144
5144
|
const [, r, s, i] = o;
|
|
@@ -5174,10 +5174,10 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5174
5174
|
const t = Iu(e);
|
|
5175
5175
|
if (t.filePath)
|
|
5176
5176
|
return t;
|
|
5177
|
-
const n =
|
|
5177
|
+
const n = Pu(e), o = [];
|
|
5178
5178
|
let r = n;
|
|
5179
5179
|
for (; r; ) {
|
|
5180
|
-
const l = r._debugSource, u = _o(r._debugOwner,
|
|
5180
|
+
const l = r._debugSource, u = _o(r._debugOwner, Mo) || _o(r, Mo);
|
|
5181
5181
|
if (l?.fileName) {
|
|
5182
5182
|
const d = no(l.fileName);
|
|
5183
5183
|
o.push({
|
|
@@ -5188,7 +5188,7 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5188
5188
|
origin: Kr(d)
|
|
5189
5189
|
});
|
|
5190
5190
|
}
|
|
5191
|
-
const h =
|
|
5191
|
+
const h = Au(r._debugStack);
|
|
5192
5192
|
h?.filePath && o.push({
|
|
5193
5193
|
componentName: h.componentName || u,
|
|
5194
5194
|
filePath: h.filePath,
|
|
@@ -5227,12 +5227,20 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5227
5227
|
line: Number(i) || void 0,
|
|
5228
5228
|
column: Number(l) || void 0
|
|
5229
5229
|
};
|
|
5230
|
-
}, qr = (e, t) => {
|
|
5230
|
+
}, Hu = (e) => e.replaceAll("[", "\\[").replaceAll("]", "\\]"), Bu = (e) => e.replaceAll("[", "\\[").replaceAll("]", "\\]").replaceAll("(", "\\(").replaceAll(")", "\\)"), qr = (e, t = "mention", n) => {
|
|
5231
5231
|
if (!e.filePath)
|
|
5232
5232
|
return;
|
|
5233
|
-
const
|
|
5234
|
-
|
|
5235
|
-
|
|
5233
|
+
const o = e.filePath.replace(/\\/g, "/");
|
|
5234
|
+
if (t === "link") {
|
|
5235
|
+
const i = o.split("/").filter(Boolean).at(-1) || o;
|
|
5236
|
+
return `[${Hu(i)}](${Bu(o)})`;
|
|
5237
|
+
}
|
|
5238
|
+
const r = n?.replace(/\\/g, "/").replace(/\/+$/, "");
|
|
5239
|
+
return `@${r && (o === r || o.startsWith(`${r}/`)) ? o.slice(r.length).replace(/^\/+/, "") : o}`;
|
|
5240
|
+
}, Uu = (e) => {
|
|
5241
|
+
const t = `${e.pathname}${e.search}${e.hash}`;
|
|
5242
|
+
return `Route: ${t}${t.endsWith("/") ? " " : ""}`;
|
|
5243
|
+
}, Ku = async (e, t) => {
|
|
5236
5244
|
const n = await fetch(e, {
|
|
5237
5245
|
...t,
|
|
5238
5246
|
headers: {
|
|
@@ -5243,27 +5251,27 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5243
5251
|
if (!n.ok || o.error)
|
|
5244
5252
|
throw new Error(o.error ?? `Request failed with ${n.status}`);
|
|
5245
5253
|
return o;
|
|
5246
|
-
},
|
|
5254
|
+
}, Wu = (e) => ({ openInEditor: (n, o, r) => Ku(e.endpoints.openInEditor, {
|
|
5247
5255
|
method: "POST",
|
|
5248
5256
|
body: JSON.stringify({ path: n, line: o, column: r })
|
|
5249
|
-
}) }), Jt = (e) => e instanceof Element ? !!e.closest('[data-inspect-devtools="true"]') : !1,
|
|
5250
|
-
if (!
|
|
5257
|
+
}) }), Jt = (e) => e instanceof Element ? !!e.closest('[data-inspect-devtools="true"]') : !1, qu = (e) => e instanceof Element ? e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement || e instanceof HTMLElement && e.isContentEditable || !!e.closest('[contenteditable="true"]') : !1, Gu = (e) => {
|
|
5258
|
+
if (!qu(e.target)) {
|
|
5251
5259
|
if (e.code === "Escape")
|
|
5252
5260
|
return "cancel";
|
|
5253
5261
|
if (e.altKey && e.shiftKey && e.code === "KeyI")
|
|
5254
5262
|
return "toggle";
|
|
5255
5263
|
}
|
|
5256
|
-
},
|
|
5264
|
+
}, Ju = (e) => {
|
|
5257
5265
|
if (e.shiftKey)
|
|
5258
5266
|
return "add";
|
|
5259
5267
|
if (e.altKey)
|
|
5260
5268
|
return "subtract";
|
|
5261
|
-
},
|
|
5269
|
+
}, Yu = (e) => {
|
|
5262
5270
|
if (!e.filePath)
|
|
5263
5271
|
return e.componentName || e.tagName;
|
|
5264
5272
|
const t = e.filePath.replace(/\\/g, "/"), n = t.lastIndexOf("/src/"), o = t.lastIndexOf("/node_modules/");
|
|
5265
5273
|
return `${n >= 0 ? t.slice(n + 1) : o >= 0 ? t.slice(o + 1) : t.split("/").slice(-3).join("/")}${e.line ? `:${e.line}` : ""}${e.column ? `:${e.column}` : ""}`;
|
|
5266
|
-
},
|
|
5274
|
+
}, zu = async (e) => {
|
|
5267
5275
|
if (navigator.clipboard?.writeText) {
|
|
5268
5276
|
await navigator.clipboard.writeText(e);
|
|
5269
5277
|
return;
|
|
@@ -5276,45 +5284,45 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5276
5284
|
} finally {
|
|
5277
5285
|
t.remove();
|
|
5278
5286
|
}
|
|
5279
|
-
},
|
|
5280
|
-
const n =
|
|
5287
|
+
}, Xu = 2400, Zu = 3600, Qu = 4, ef = (e, { onInspectStart: t } = {}) => {
|
|
5288
|
+
const n = Wu(e), o = /* @__PURE__ */ be(!1), r = /* @__PURE__ */ be(""), s = /* @__PURE__ */ be(""), i = /* @__PURE__ */ be(!1), l = /* @__PURE__ */ be([]), u = /* @__PURE__ */ be(null), h = /* @__PURE__ */ be(null), d = /* @__PURE__ */ be([]), p = /* @__PURE__ */ be(0), g = /* @__PURE__ */ be(null), w = /* @__PURE__ */ be(!1), $ = /* @__PURE__ */ be(null), V = /* @__PURE__ */ be({ shift: !1, alt: !1 });
|
|
5281
5289
|
let W = !1;
|
|
5282
5290
|
const q = Je(() => V.value.shift ? "add" : V.value.alt ? "subtract" : null), L = Je(() => o.value || q.value !== null && l.value.length > 0), j = (f) => {
|
|
5283
5291
|
(f.shiftKey !== V.value.shift || f.altKey !== V.value.alt) && (V.value = { shift: f.shiftKey, alt: f.altKey });
|
|
5284
|
-
}, G = () => l.value.map((f,
|
|
5285
|
-
d.value = f.map((
|
|
5292
|
+
}, G = () => l.value.map((f, _) => ({ element: d.value[_], selection: f })), C = (f) => {
|
|
5293
|
+
d.value = f.map((_) => _.element), l.value = f.map((_) => _.selection);
|
|
5286
5294
|
}, ee = (f) => {
|
|
5287
|
-
let
|
|
5295
|
+
let _ = 0;
|
|
5288
5296
|
for (let b = f.parentElement; b; b = b.parentElement)
|
|
5289
|
-
|
|
5290
|
-
return
|
|
5297
|
+
_ += 1;
|
|
5298
|
+
return _;
|
|
5291
5299
|
}, ae = (f) => {
|
|
5292
|
-
let
|
|
5300
|
+
let _ = -1, b = -1;
|
|
5293
5301
|
return G().forEach((S, T) => {
|
|
5294
5302
|
if (S.element !== f && !S.element.contains(f))
|
|
5295
5303
|
return;
|
|
5296
|
-
const
|
|
5297
|
-
|
|
5298
|
-
}),
|
|
5304
|
+
const M = ee(S.element);
|
|
5305
|
+
M > b && (_ = T, b = M);
|
|
5306
|
+
}), _;
|
|
5299
5307
|
}, ne = Je(() => l.value[0] ?? null), fe = Je(() => u.value ?? ne.value);
|
|
5300
5308
|
let Ee, Oe;
|
|
5301
5309
|
const Q = (f) => {
|
|
5302
5310
|
s.value = f, clearTimeout(Ee), f && (Ee = setTimeout(() => {
|
|
5303
5311
|
s.value = "";
|
|
5304
|
-
},
|
|
5312
|
+
}, Xu));
|
|
5305
5313
|
}, we = (f) => {
|
|
5306
5314
|
r.value = f, clearTimeout(Oe), f && (Oe = setTimeout(() => {
|
|
5307
5315
|
r.value = "";
|
|
5308
|
-
},
|
|
5316
|
+
}, Zu));
|
|
5309
5317
|
}, bn = () => {
|
|
5310
5318
|
clearTimeout(Ee), clearTimeout(Oe), s.value = "", r.value = "";
|
|
5311
5319
|
}, Ve = (f) => {
|
|
5312
|
-
const
|
|
5320
|
+
const _ = f.getBoundingClientRect();
|
|
5313
5321
|
return {
|
|
5314
5322
|
display: "block",
|
|
5315
|
-
transform: `translate(${
|
|
5316
|
-
width: `${
|
|
5317
|
-
height: `${
|
|
5323
|
+
transform: `translate(${_.left}px, ${_.top}px)`,
|
|
5324
|
+
width: `${_.width}px`,
|
|
5325
|
+
height: `${_.height}px`
|
|
5318
5326
|
};
|
|
5319
5327
|
}, de = Je(() => (p.value, d.value.map(Ve))), k = Je(() => {
|
|
5320
5328
|
if (p.value, !L.value)
|
|
@@ -5323,12 +5331,12 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5323
5331
|
if (!f)
|
|
5324
5332
|
return { display: "none" };
|
|
5325
5333
|
if (q.value === "subtract") {
|
|
5326
|
-
const
|
|
5327
|
-
return
|
|
5334
|
+
const _ = ae(f);
|
|
5335
|
+
return _ < 0 ? { display: "none" } : Ve(d.value[_]);
|
|
5328
5336
|
}
|
|
5329
5337
|
return d.value.includes(f) ? { display: "none" } : Ve(f);
|
|
5330
5338
|
}), F = Je(() => {
|
|
5331
|
-
const f =
|
|
5339
|
+
const f = $.value;
|
|
5332
5340
|
return f ? {
|
|
5333
5341
|
display: "block",
|
|
5334
5342
|
transform: `translate(${f.left}px, ${f.top}px)`,
|
|
@@ -5338,7 +5346,7 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5338
5346
|
}), Ce = Je(() => {
|
|
5339
5347
|
const f = fe.value;
|
|
5340
5348
|
return f ? {
|
|
5341
|
-
label:
|
|
5349
|
+
label: Yu(f),
|
|
5342
5350
|
hint: f.filePath ? "Click to open in editor" : "Source unresolved",
|
|
5343
5351
|
canOpen: !!f.filePath
|
|
5344
5352
|
} : null;
|
|
@@ -5347,26 +5355,26 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5347
5355
|
const f = h.value ?? d.value[0] ?? null;
|
|
5348
5356
|
if (!f)
|
|
5349
5357
|
return { display: "none" };
|
|
5350
|
-
const
|
|
5358
|
+
const _ = f.getBoundingClientRect(), b = 36, S = _.top >= b + 8 ? _.top - b - 4 : Math.min(_.bottom + 4, window.innerHeight - b - 8);
|
|
5351
5359
|
return {
|
|
5352
5360
|
display: "grid",
|
|
5353
|
-
transform: `translate(${Math.min(Math.max(8,
|
|
5361
|
+
transform: `translate(${Math.min(Math.max(8, _.left), Math.max(8, window.innerWidth - 368))}px, ${S}px)`
|
|
5354
5362
|
};
|
|
5355
|
-
}),
|
|
5363
|
+
}), Pe = (f) => e.framework === "react" ? ju(f) : ku(f), et = (f) => {
|
|
5356
5364
|
!o.value || f.button !== 0 || Jt(f.target) || (f.preventDefault(), g.value = { x: f.clientX, y: f.clientY });
|
|
5357
|
-
},
|
|
5365
|
+
}, Ae = (f) => {
|
|
5358
5366
|
if (j(f), !Jt(f.target)) {
|
|
5359
5367
|
if (!L.value) {
|
|
5360
5368
|
Ue();
|
|
5361
5369
|
return;
|
|
5362
5370
|
}
|
|
5363
5371
|
if (g.value) {
|
|
5364
|
-
const
|
|
5365
|
-
if (!w.value && Math.hypot(
|
|
5366
|
-
|
|
5372
|
+
const _ = f.clientX - g.value.x, b = f.clientY - g.value.y;
|
|
5373
|
+
if (!w.value && Math.hypot(_, b) >= Qu && (w.value = !0, h.value = null, u.value = null), w.value) {
|
|
5374
|
+
$.value = {
|
|
5367
5375
|
left: Math.min(g.value.x, f.clientX),
|
|
5368
5376
|
top: Math.min(g.value.y, f.clientY),
|
|
5369
|
-
width: Math.abs(
|
|
5377
|
+
width: Math.abs(_),
|
|
5370
5378
|
height: Math.abs(b)
|
|
5371
5379
|
};
|
|
5372
5380
|
return;
|
|
@@ -5376,30 +5384,33 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5376
5384
|
h.value = null, u.value = null;
|
|
5377
5385
|
return;
|
|
5378
5386
|
}
|
|
5379
|
-
h.value = f.target, u.value = Gt(f.target, e.framework,
|
|
5387
|
+
h.value = f.target, u.value = Gt(f.target, e.framework, Pe(f.target));
|
|
5380
5388
|
}
|
|
5381
5389
|
}, pt = async (f = ne.value) => {
|
|
5382
5390
|
if (!(!f?.filePath || i.value)) {
|
|
5383
5391
|
we(""), Q("Opening in editor…"), i.value = !0;
|
|
5384
5392
|
try {
|
|
5385
5393
|
await n.openInEditor(f.filePath, f.line, f.column), Q("Opened in editor");
|
|
5386
|
-
} catch (
|
|
5387
|
-
Q(""), we(
|
|
5394
|
+
} catch (_) {
|
|
5395
|
+
Q(""), we(_ instanceof Error ? _.message : "Unable to open file");
|
|
5388
5396
|
} finally {
|
|
5389
5397
|
i.value = !1;
|
|
5390
5398
|
}
|
|
5391
5399
|
}
|
|
5392
5400
|
}, tt = async () => {
|
|
5393
5401
|
const f = [...new Set(
|
|
5394
|
-
l.value.map((
|
|
5402
|
+
l.value.map((_) => qr(_, e.copyFormat, e.projectRoot)).filter((_) => !!_)
|
|
5395
5403
|
)];
|
|
5396
5404
|
if (f.length) {
|
|
5397
5405
|
we("");
|
|
5398
5406
|
try {
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5407
|
+
const _ = e.copyRoute ? `${Uu(window.location)}
|
|
5408
|
+
|
|
5409
|
+
` : "";
|
|
5410
|
+
await zu(`${_}${f.join(`
|
|
5411
|
+
`)}`), Q(f.length > 1 ? `Copied ${f.length} source locations` : "Copied source location");
|
|
5412
|
+
} catch (_) {
|
|
5413
|
+
Q(""), we(_ instanceof Error ? _.message : "Unable to copy path");
|
|
5403
5414
|
}
|
|
5404
5415
|
}
|
|
5405
5416
|
}, Ue = () => {
|
|
@@ -5414,47 +5425,47 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5414
5425
|
}
|
|
5415
5426
|
}, Ct = async (f) => {
|
|
5416
5427
|
Ue();
|
|
5417
|
-
const
|
|
5418
|
-
if (!(
|
|
5419
|
-
if (C(G().filter((b, S) => S !==
|
|
5428
|
+
const _ = ae(f);
|
|
5429
|
+
if (!(_ < 0)) {
|
|
5430
|
+
if (C(G().filter((b, S) => S !== _)), !l.value.length) {
|
|
5420
5431
|
Q("Selection cleared");
|
|
5421
5432
|
return;
|
|
5422
5433
|
}
|
|
5423
5434
|
await tt();
|
|
5424
5435
|
}
|
|
5425
5436
|
}, Ht = (f) => {
|
|
5426
|
-
const
|
|
5437
|
+
const _ = f.left + f.width, b = f.top + f.height, S = [];
|
|
5427
5438
|
for (const H of document.body.querySelectorAll("*")) {
|
|
5428
5439
|
if (Jt(H))
|
|
5429
5440
|
continue;
|
|
5430
5441
|
const J = H.getBoundingClientRect();
|
|
5431
|
-
if (!J.width && !J.height || J.left < f.left || J.right >
|
|
5442
|
+
if (!J.width && !J.height || J.left < f.left || J.right > _ || J.top < f.top || J.bottom > b)
|
|
5432
5443
|
continue;
|
|
5433
|
-
const oe = Gt(H, e.framework,
|
|
5444
|
+
const oe = Gt(H, e.framework, Pe(H));
|
|
5434
5445
|
oe.filePath && S.push({ element: H, selection: oe });
|
|
5435
5446
|
}
|
|
5436
|
-
const T = S.filter((H) => !S.some((J) => J.element !== H.element && H.element.contains(J.element))),
|
|
5447
|
+
const T = S.filter((H) => !S.some((J) => J.element !== H.element && H.element.contains(J.element))), M = T.map((H) => ({ element: H.element, filePath: H.selection.filePath })), B = [], R = /* @__PURE__ */ new Set();
|
|
5437
5448
|
for (const H of T) {
|
|
5438
5449
|
const J = H.selection.filePath;
|
|
5439
5450
|
let oe = H.element;
|
|
5440
5451
|
for (let re = oe.parentElement; re && !Jt(re); re = re.parentElement) {
|
|
5441
5452
|
const Ke = re.getBoundingClientRect();
|
|
5442
|
-
if (Ke.left < f.left || Ke.right >
|
|
5453
|
+
if (Ke.left < f.left || Ke.right > _ || Ke.top < f.top || Ke.bottom > b || Gt(re, e.framework, Pe(re)).filePath !== J || M.some((ie) => ie.element !== oe && ie.filePath !== J && re.contains(ie.element)))
|
|
5443
5454
|
break;
|
|
5444
5455
|
oe = re;
|
|
5445
5456
|
}
|
|
5446
5457
|
R.has(oe) || (R.add(oe), B.push({ element: oe, selection: H.selection }));
|
|
5447
5458
|
}
|
|
5448
5459
|
return B;
|
|
5449
|
-
}, yn = async (f,
|
|
5450
|
-
if (
|
|
5451
|
-
const S = f.left + f.width, T = f.top + f.height,
|
|
5460
|
+
}, yn = async (f, _) => {
|
|
5461
|
+
if (_ === "subtract") {
|
|
5462
|
+
const S = f.left + f.width, T = f.top + f.height, M = G().filter((B) => {
|
|
5452
5463
|
const R = B.element.getBoundingClientRect();
|
|
5453
5464
|
return R.left < f.left || R.right > S || R.top < f.top || R.bottom > T;
|
|
5454
5465
|
});
|
|
5455
|
-
if (
|
|
5466
|
+
if (M.length === l.value.length)
|
|
5456
5467
|
return;
|
|
5457
|
-
if (C(
|
|
5468
|
+
if (C(M), Ue(), !l.value.length) {
|
|
5458
5469
|
Q("Selection cleared");
|
|
5459
5470
|
return;
|
|
5460
5471
|
}
|
|
@@ -5466,8 +5477,8 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5466
5477
|
Q(""), we("No source found for these elements");
|
|
5467
5478
|
return;
|
|
5468
5479
|
}
|
|
5469
|
-
if (
|
|
5470
|
-
const S = new Set(d.value), T = b.filter((
|
|
5480
|
+
if (_ === "add") {
|
|
5481
|
+
const S = new Set(d.value), T = b.filter((M) => !S.has(M.element));
|
|
5471
5482
|
if (!T.length) {
|
|
5472
5483
|
Q("Nothing new to add");
|
|
5473
5484
|
return;
|
|
@@ -5479,12 +5490,12 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5479
5490
|
}, dt = (f) => {
|
|
5480
5491
|
if (!g.value)
|
|
5481
5492
|
return;
|
|
5482
|
-
const
|
|
5483
|
-
if (g.value = null, w.value = !1,
|
|
5493
|
+
const _ = $.value, b = w.value;
|
|
5494
|
+
if (g.value = null, w.value = !1, $.value = null, !b || !_)
|
|
5484
5495
|
return;
|
|
5485
5496
|
f.preventDefault(), f.stopPropagation(), W = !0;
|
|
5486
5497
|
const S = f.shiftKey ? "add" : f.altKey ? "subtract" : "replace";
|
|
5487
|
-
yn(
|
|
5498
|
+
yn(_, S);
|
|
5488
5499
|
}, or = () => pt(fe.value), c = async (f) => {
|
|
5489
5500
|
if (W) {
|
|
5490
5501
|
W = !1, f.preventDefault(), f.stopPropagation();
|
|
@@ -5492,21 +5503,21 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5492
5503
|
}
|
|
5493
5504
|
if (Jt(f.target))
|
|
5494
5505
|
return;
|
|
5495
|
-
const
|
|
5496
|
-
if (!o.value && !(
|
|
5506
|
+
const _ = Ju(f);
|
|
5507
|
+
if (!o.value && !(_ && l.value.length) || (f.preventDefault(), f.stopPropagation(), !(f.target instanceof Element)))
|
|
5497
5508
|
return;
|
|
5498
|
-
if (
|
|
5509
|
+
if (_ === "add") {
|
|
5499
5510
|
await _t({
|
|
5500
5511
|
element: f.target,
|
|
5501
|
-
selection: Gt(f.target, e.framework,
|
|
5512
|
+
selection: Gt(f.target, e.framework, Pe(f.target))
|
|
5502
5513
|
});
|
|
5503
5514
|
return;
|
|
5504
5515
|
}
|
|
5505
|
-
if (
|
|
5516
|
+
if (_ === "subtract") {
|
|
5506
5517
|
await Ct(f.target);
|
|
5507
5518
|
return;
|
|
5508
5519
|
}
|
|
5509
|
-
const b = Gt(f.target, e.framework,
|
|
5520
|
+
const b = Gt(f.target, e.framework, Pe(f.target));
|
|
5510
5521
|
if (C([{ element: f.target, selection: b }]), o.value = !1, Ue(), !b.filePath) {
|
|
5511
5522
|
Q(""), we("No source found for this element");
|
|
5512
5523
|
return;
|
|
@@ -5515,23 +5526,23 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5515
5526
|
}, a = () => {
|
|
5516
5527
|
we(""), t?.(), o.value = !0;
|
|
5517
5528
|
}, m = () => {
|
|
5518
|
-
o.value = !1, Ue(), g.value = null, w.value = !1,
|
|
5529
|
+
o.value = !1, Ue(), g.value = null, w.value = !1, $.value = null;
|
|
5519
5530
|
}, y = () => {
|
|
5520
5531
|
C([]), bn();
|
|
5521
|
-
},
|
|
5532
|
+
}, E = () => {
|
|
5522
5533
|
p.value += 1;
|
|
5523
5534
|
}, v = (f) => {
|
|
5524
5535
|
j(f);
|
|
5525
|
-
const
|
|
5526
|
-
|
|
5536
|
+
const _ = Gu(f);
|
|
5537
|
+
_ === "cancel" && o.value ? (f.preventDefault(), m()) : _ === "cancel" && l.value.length && (f.preventDefault(), y()), _ === "toggle" && (f.preventDefault(), o.value ? m() : a());
|
|
5527
5538
|
}, D = (f) => {
|
|
5528
5539
|
j(f);
|
|
5529
5540
|
}, O = () => {
|
|
5530
5541
|
V.value = { shift: !1, alt: !1 };
|
|
5531
5542
|
}, N = () => {
|
|
5532
|
-
clearTimeout(Ee), clearTimeout(Oe), window.removeEventListener("pointerdown", et, !0), window.removeEventListener("pointermove",
|
|
5543
|
+
clearTimeout(Ee), clearTimeout(Oe), window.removeEventListener("pointerdown", et, !0), window.removeEventListener("pointermove", Ae, !0), window.removeEventListener("pointerup", dt, !0), window.removeEventListener("click", c, !0), window.removeEventListener("keydown", v, !0), window.removeEventListener("keyup", D, !0), window.removeEventListener("blur", O), window.removeEventListener("scroll", E, !0), window.removeEventListener("resize", E);
|
|
5533
5544
|
};
|
|
5534
|
-
return window.addEventListener("pointerdown", et, !0), window.addEventListener("pointermove",
|
|
5545
|
+
return window.addEventListener("pointerdown", et, !0), window.addEventListener("pointermove", Ae, !0), window.addEventListener("pointerup", dt, !0), window.addEventListener("click", c, !0), window.addEventListener("keydown", v, !0), window.addEventListener("keyup", D, !0), window.addEventListener("blur", O), window.addEventListener("scroll", E, !0), window.addEventListener("resize", E), nr() && Xo(N), {
|
|
5535
5546
|
activeSelection: fe,
|
|
5536
5547
|
hoveredElement: h,
|
|
5537
5548
|
isInspecting: o,
|
|
@@ -5556,21 +5567,21 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5556
5567
|
startInspecting: a,
|
|
5557
5568
|
stopInspecting: m
|
|
5558
5569
|
};
|
|
5559
|
-
},
|
|
5570
|
+
}, tf = ["data-theme"], nf = ["title"], of = {
|
|
5560
5571
|
class: "toast-stack",
|
|
5561
5572
|
"aria-live": "polite"
|
|
5562
|
-
},
|
|
5573
|
+
}, rf = {
|
|
5563
5574
|
key: 0,
|
|
5564
5575
|
class: "toast toast-error",
|
|
5565
5576
|
role: "alert"
|
|
5566
|
-
},
|
|
5577
|
+
}, sf = {
|
|
5567
5578
|
key: 1,
|
|
5568
5579
|
class: "toast"
|
|
5569
|
-
},
|
|
5580
|
+
}, lf = { class: "bottom-dock" }, cf = ["aria-pressed"], uf = {
|
|
5570
5581
|
key: 0,
|
|
5571
5582
|
class: "dock-badge",
|
|
5572
5583
|
"aria-hidden": "true"
|
|
5573
|
-
},
|
|
5584
|
+
}, ff = ["aria-label", "title"], af = {
|
|
5574
5585
|
key: 0,
|
|
5575
5586
|
width: "14",
|
|
5576
5587
|
height: "14",
|
|
@@ -5580,7 +5591,7 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5580
5591
|
"stroke-width": "1.5",
|
|
5581
5592
|
"stroke-linecap": "round",
|
|
5582
5593
|
"aria-hidden": "true"
|
|
5583
|
-
},
|
|
5594
|
+
}, pf = {
|
|
5584
5595
|
key: 1,
|
|
5585
5596
|
width: "14",
|
|
5586
5597
|
height: "14",
|
|
@@ -5591,7 +5602,7 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5591
5602
|
"stroke-linecap": "round",
|
|
5592
5603
|
"stroke-linejoin": "round",
|
|
5593
5604
|
"aria-hidden": "true"
|
|
5594
|
-
},
|
|
5605
|
+
}, df = /* @__PURE__ */ Cl({
|
|
5595
5606
|
__name: "App",
|
|
5596
5607
|
props: {
|
|
5597
5608
|
options: {}
|
|
@@ -5599,7 +5610,7 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5599
5610
|
setup(e) {
|
|
5600
5611
|
const t = e, n = /* @__PURE__ */ be(xu(t.options.projectRoot) ?? t.options.theme), o = () => {
|
|
5601
5612
|
n.value = n.value === "dark" ? "light" : "dark", Du(t.options.projectRoot, n.value);
|
|
5602
|
-
}, r =
|
|
5613
|
+
}, r = ef(t.options), {
|
|
5603
5614
|
isInspecting: s,
|
|
5604
5615
|
isMarqueeing: i,
|
|
5605
5616
|
feedback: l,
|
|
@@ -5609,7 +5620,7 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5609
5620
|
marqueeStyle: p,
|
|
5610
5621
|
modifierAction: g,
|
|
5611
5622
|
openActiveSelectionInEditor: w,
|
|
5612
|
-
overlayStyles:
|
|
5623
|
+
overlayStyles: $,
|
|
5613
5624
|
selections: V,
|
|
5614
5625
|
sourceLabel: W,
|
|
5615
5626
|
startInspecting: q,
|
|
@@ -5620,7 +5631,7 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5620
5631
|
"data-inspect-devtools": "true",
|
|
5621
5632
|
"data-theme": n.value
|
|
5622
5633
|
}, [
|
|
5623
|
-
(Ge(!0), ot(
|
|
5634
|
+
(Ge(!0), ot(Me, null, Ul(X($), (C, ee) => (Ge(), ot("div", {
|
|
5624
5635
|
key: ee,
|
|
5625
5636
|
class: "inspector-frame",
|
|
5626
5637
|
style: Ot(C)
|
|
@@ -5644,15 +5655,15 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5644
5655
|
title: X(W).hint,
|
|
5645
5656
|
onClick: G[0] || (G[0] = (C) => X(w)())
|
|
5646
5657
|
}, [
|
|
5647
|
-
he("strong", null,
|
|
5648
|
-
he("span", null,
|
|
5649
|
-
], 12,
|
|
5658
|
+
he("strong", null, At(X(W).label), 1),
|
|
5659
|
+
he("span", null, At(X(W).hint), 1)
|
|
5660
|
+
], 12, nf)), [
|
|
5650
5661
|
[zc, X(W).canOpen]
|
|
5651
5662
|
]) : mo("", !0),
|
|
5652
|
-
he("div", ef, [
|
|
5653
|
-
X(d) ? (Ge(), ot("p", tf, Mt(X(d)), 1)) : X(l) ? (Ge(), ot("p", nf, Mt(X(l)), 1)) : mo("", !0)
|
|
5654
|
-
]),
|
|
5655
5663
|
he("div", of, [
|
|
5664
|
+
X(d) ? (Ge(), ot("p", rf, At(X(d)), 1)) : X(l) ? (Ge(), ot("p", sf, At(X(l)), 1)) : mo("", !0)
|
|
5665
|
+
]),
|
|
5666
|
+
he("div", lf, [
|
|
5656
5667
|
he("button", {
|
|
5657
5668
|
class: "dock-button",
|
|
5658
5669
|
type: "button",
|
|
@@ -5678,8 +5689,8 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5678
5689
|
}),
|
|
5679
5690
|
he("path", { d: "M8 1.6v2.2M8 12.2v2.2M1.6 8h2.2M12.2 8h2.2" })
|
|
5680
5691
|
], -1)),
|
|
5681
|
-
X(V).length ? (Ge(), ot("span",
|
|
5682
|
-
], 8,
|
|
5692
|
+
X(V).length ? (Ge(), ot("span", uf, At(X(V).length), 1)) : mo("", !0)
|
|
5693
|
+
], 8, cf),
|
|
5683
5694
|
he("button", {
|
|
5684
5695
|
class: "dock-button",
|
|
5685
5696
|
type: "button",
|
|
@@ -5687,26 +5698,26 @@ const Ou = ["dark", "light"], wu = (e) => !!(e && Ou.includes(e)), li = (e) => `
|
|
|
5687
5698
|
title: n.value === "dark" ? "Switch to light theme" : "Switch to dark theme",
|
|
5688
5699
|
onClick: o
|
|
5689
5700
|
}, [
|
|
5690
|
-
n.value === "dark" ? (Ge(), ot("svg",
|
|
5701
|
+
n.value === "dark" ? (Ge(), ot("svg", af, [...G[3] || (G[3] = [
|
|
5691
5702
|
he("circle", {
|
|
5692
5703
|
cx: "8",
|
|
5693
5704
|
cy: "8",
|
|
5694
5705
|
r: "3"
|
|
5695
5706
|
}, null, -1),
|
|
5696
5707
|
he("path", { d: "M8 1.5v1.6M8 12.9v1.6M1.5 8h1.6M12.9 8h1.6M3.4 3.4l1.1 1.1M11.5 11.5l1.1 1.1M12.6 3.4l-1.1 1.1M4.5 11.5l-1.1 1.1" }, null, -1)
|
|
5697
|
-
])])) : (Ge(), ot("svg",
|
|
5708
|
+
])])) : (Ge(), ot("svg", pf, [...G[4] || (G[4] = [
|
|
5698
5709
|
he("path", { d: "M13.4 9.6A5.4 5.4 0 0 1 6.4 2.6a5.4 5.4 0 1 0 7 7Z" }, null, -1)
|
|
5699
5710
|
])]))
|
|
5700
|
-
], 8,
|
|
5711
|
+
], 8, ff)
|
|
5701
5712
|
])
|
|
5702
|
-
], 8,
|
|
5713
|
+
], 8, tf));
|
|
5703
5714
|
}
|
|
5704
|
-
}), Gr = "__inspect_devtools_container__",
|
|
5715
|
+
}), Gr = "__inspect_devtools_container__", hf = (e) => {
|
|
5705
5716
|
if (document.getElementById(Gr))
|
|
5706
5717
|
return;
|
|
5707
5718
|
const t = document.createElement("div");
|
|
5708
|
-
t.id = Gr, t.dataset.inspectDevtools = "true", document.body.appendChild(t), vu(
|
|
5719
|
+
t.id = Gr, t.dataset.inspectDevtools = "true", document.body.appendChild(t), vu(df, { options: e }).mount(t);
|
|
5709
5720
|
};
|
|
5710
5721
|
export {
|
|
5711
|
-
|
|
5722
|
+
hf as mountInspectDevtools
|
|
5712
5723
|
};
|