@phila/phila-ui-core 1.0.25 → 2.0.0-beta.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/components.js +1 -1
- package/dist/components.mjs +1 -1
- package/dist/composables.js +1 -1
- package/dist/composables.mjs +1 -1
- package/dist/index-DkaNsoLU.js +5 -0
- package/dist/{index-C8jyC31H.mjs → index-dajx1Lu4.mjs} +148 -154
- package/dist/styles/button.css +203 -0
- package/dist/styles/light-mode.css +49 -0
- package/dist/styles/main.css +4 -0
- package/dist/styles/template-light.css +6 -0
- package/dist/styles/template-orange.css +5 -1
- package/dist/styles/typography.css +33 -0
- package/dist/styles/utilities.css +16 -0
- package/dist/styles/variables.css +80 -12
- package/package.json +1 -1
- package/dist/index-BoaHzp_d.js +0 -5
- package/dist/styles/template-blue.css +0 -40
|
@@ -5,13 +5,13 @@ function zt(e) {
|
|
|
5
5
|
return (n) => n in t;
|
|
6
6
|
}
|
|
7
7
|
const xe = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Wt = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], st = () => {
|
|
8
|
-
},
|
|
9
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), F = Object.assign,
|
|
8
|
+
}, Bt = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
9
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), F = Object.assign, Ut = Object.prototype.hasOwnProperty, Te = (e, t) => Ut.call(e, t), _ = Array.isArray, z = (e) => ge(e) === "[object Map]", qt = (e) => ge(e) === "[object Set]", b = (e) => typeof e == "function", V = (e) => typeof e == "string", k = (e) => typeof e == "symbol", v = (e) => e !== null && typeof e == "object", Yt = (e) => (v(e) || b(e)) && b(e.then) && b(e.catch), ot = Object.prototype.toString, ge = (e) => ot.call(e), it = (e) => ge(e).slice(8, -1), Jt = (e) => ge(e) === "[object Object]", He = (e) => V(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, ct = (e) => {
|
|
10
10
|
const t = /* @__PURE__ */ Object.create(null);
|
|
11
|
-
return (
|
|
11
|
+
return (n) => t[n] || (t[n] = e(n));
|
|
12
12
|
}, at = ct((e) => e.charAt(0).toUpperCase() + e.slice(1)), Gt = ct(
|
|
13
13
|
(e) => e ? `on${at(e)}` : ""
|
|
14
|
-
),
|
|
14
|
+
), W = (e, t) => !Object.is(e, t);
|
|
15
15
|
let Je;
|
|
16
16
|
const me = () => Je || (Je = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
17
17
|
function ve(e) {
|
|
@@ -37,13 +37,13 @@ function en(e) {
|
|
|
37
37
|
}
|
|
38
38
|
}), t;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function ye(e) {
|
|
41
41
|
let t = "";
|
|
42
42
|
if (V(e))
|
|
43
43
|
t = e;
|
|
44
44
|
else if (_(e))
|
|
45
45
|
for (let n = 0; n < e.length; n++) {
|
|
46
|
-
const s =
|
|
46
|
+
const s = ye(e[n]);
|
|
47
47
|
s && (t += s + " ");
|
|
48
48
|
}
|
|
49
49
|
else if (v(e))
|
|
@@ -54,24 +54,24 @@ function Ee(e) {
|
|
|
54
54
|
function _r(e) {
|
|
55
55
|
if (!e) return null;
|
|
56
56
|
let { class: t, style: n } = e;
|
|
57
|
-
return t && !V(t) && (e.class =
|
|
57
|
+
return t && !V(t) && (e.class = ye(t)), n && (e.style = ve(n)), e;
|
|
58
58
|
}
|
|
59
|
-
const lt = (e) => !!(e && e.__v_isRef === !0), tn = (e) => V(e) ? e : e == null ? "" : _(e) || v(e) && (e.toString === ot || !b(e.toString)) ? lt(e) ? tn(e.value) : JSON.stringify(e, ut, 2) : String(e), ut = (e, t) => lt(t) ? ut(e, t.value) :
|
|
59
|
+
const lt = (e) => !!(e && e.__v_isRef === !0), tn = (e) => V(e) ? e : e == null ? "" : _(e) || v(e) && (e.toString === ot || !b(e.toString)) ? lt(e) ? tn(e.value) : JSON.stringify(e, ut, 2) : String(e), ut = (e, t) => lt(t) ? ut(e, t.value) : z(t) ? {
|
|
60
60
|
[`Map(${t.size})`]: [...t.entries()].reduce(
|
|
61
61
|
(n, [s, r], o) => (n[Se(s, o) + " =>"] = r, n),
|
|
62
62
|
{}
|
|
63
63
|
)
|
|
64
64
|
} : qt(t) ? {
|
|
65
65
|
[`Set(${t.size})`]: [...t.values()].map((n) => Se(n))
|
|
66
|
-
} :
|
|
66
|
+
} : k(t) ? Se(t) : v(t) && !_(t) && !Jt(t) ? String(t) : t, Se = (e, t = "") => {
|
|
67
67
|
var n;
|
|
68
68
|
return (
|
|
69
69
|
// Symbol.description in es2019+ so we need to cast here to pass
|
|
70
70
|
// the lib: es2016 check
|
|
71
|
-
|
|
71
|
+
k(e) ? `Symbol(${(n = e.description) != null ? n : t})` : e
|
|
72
72
|
);
|
|
73
73
|
};
|
|
74
|
-
function
|
|
74
|
+
function U(e, ...t) {
|
|
75
75
|
}
|
|
76
76
|
let h, ft = 0, G, Q;
|
|
77
77
|
function nn(e, t = !1) {
|
|
@@ -137,7 +137,7 @@ function dt(e) {
|
|
|
137
137
|
try {
|
|
138
138
|
rn(e);
|
|
139
139
|
const r = e.fn(e._value);
|
|
140
|
-
(t.version === 0 ||
|
|
140
|
+
(t.version === 0 || W(r, e._value)) && (e.flags |= 128, e._value = r, t.version++);
|
|
141
141
|
} catch (r) {
|
|
142
142
|
throw t.version++, r;
|
|
143
143
|
} finally {
|
|
@@ -231,14 +231,14 @@ function _t(e) {
|
|
|
231
231
|
n !== e && (e.prevSub = n, n && (n.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
const Ie = /* @__PURE__ */ new WeakMap(),
|
|
234
|
+
const Ie = /* @__PURE__ */ new WeakMap(), H = Symbol(
|
|
235
235
|
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
|
|
236
236
|
), Ce = Symbol(
|
|
237
237
|
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
|
|
238
238
|
), Z = Symbol(
|
|
239
239
|
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
|
|
240
240
|
);
|
|
241
|
-
function
|
|
241
|
+
function y(e, t, n) {
|
|
242
242
|
if (P && h) {
|
|
243
243
|
let s = Ie.get(e);
|
|
244
244
|
s || Ie.set(e, s = /* @__PURE__ */ new Map());
|
|
@@ -250,7 +250,7 @@ function E(e, t, n) {
|
|
|
250
250
|
}) : r.track();
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function $(e, t, n, s, r, o) {
|
|
254
254
|
const c = Ie.get(e);
|
|
255
255
|
if (!c) {
|
|
256
256
|
X++;
|
|
@@ -269,33 +269,33 @@ function M(e, t, n, s, r, o) {
|
|
|
269
269
|
if (je(), t === "clear")
|
|
270
270
|
c.forEach(i);
|
|
271
271
|
else {
|
|
272
|
-
const l = _(e), f = l &&
|
|
272
|
+
const l = _(e), f = l && He(n);
|
|
273
273
|
if (l && n === "length") {
|
|
274
274
|
const d = Number(s);
|
|
275
275
|
c.forEach((a, u) => {
|
|
276
|
-
(u === "length" || u === Z || !
|
|
276
|
+
(u === "length" || u === Z || !k(u) && u >= d) && i(a);
|
|
277
277
|
});
|
|
278
278
|
} else
|
|
279
279
|
switch ((n !== void 0 || c.has(void 0)) && i(c.get(n)), f && i(c.get(Z)), t) {
|
|
280
280
|
case "add":
|
|
281
|
-
l ? f && i(c.get("length")) : (i(c.get(
|
|
281
|
+
l ? f && i(c.get("length")) : (i(c.get(H)), z(e) && i(c.get(Ce)));
|
|
282
282
|
break;
|
|
283
283
|
case "delete":
|
|
284
|
-
l || (i(c.get(
|
|
284
|
+
l || (i(c.get(H)), z(e) && i(c.get(Ce)));
|
|
285
285
|
break;
|
|
286
286
|
case "set":
|
|
287
|
-
|
|
287
|
+
z(e) && i(c.get(H));
|
|
288
288
|
break;
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
Ke();
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function K(e) {
|
|
294
294
|
const t = p(e);
|
|
295
|
-
return t === e ? t : (
|
|
295
|
+
return t === e ? t : (y(t, "iterate", Z), O(e) ? t : t.map(m));
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
return
|
|
297
|
+
function Ee(e) {
|
|
298
|
+
return y(e = p(e), "iterate", Z), e;
|
|
299
299
|
}
|
|
300
300
|
const ln = {
|
|
301
301
|
__proto__: null,
|
|
@@ -303,8 +303,8 @@ const ln = {
|
|
|
303
303
|
return we(this, Symbol.iterator, m);
|
|
304
304
|
},
|
|
305
305
|
concat(...e) {
|
|
306
|
-
return
|
|
307
|
-
...e.map((t) => _(t) ?
|
|
306
|
+
return K(this).concat(
|
|
307
|
+
...e.map((t) => _(t) ? K(t) : t)
|
|
308
308
|
);
|
|
309
309
|
},
|
|
310
310
|
entries() {
|
|
@@ -339,9 +339,9 @@ const ln = {
|
|
|
339
339
|
return Oe(this, "indexOf", e);
|
|
340
340
|
},
|
|
341
341
|
join(e) {
|
|
342
|
-
return
|
|
342
|
+
return K(this).join(e);
|
|
343
343
|
},
|
|
344
|
-
// keys() iterator only reads `length`, no
|
|
344
|
+
// keys() iterator only reads `length`, no optimisation required
|
|
345
345
|
lastIndexOf(...e) {
|
|
346
346
|
return Oe(this, "lastIndexOf", e);
|
|
347
347
|
},
|
|
@@ -371,13 +371,13 @@ const ln = {
|
|
|
371
371
|
return Y(this, "splice", e);
|
|
372
372
|
},
|
|
373
373
|
toReversed() {
|
|
374
|
-
return
|
|
374
|
+
return K(this).toReversed();
|
|
375
375
|
},
|
|
376
376
|
toSorted(e) {
|
|
377
|
-
return
|
|
377
|
+
return K(this).toSorted(e);
|
|
378
378
|
},
|
|
379
379
|
toSpliced(...e) {
|
|
380
|
-
return
|
|
380
|
+
return K(this).toSpliced(...e);
|
|
381
381
|
},
|
|
382
382
|
unshift(...e) {
|
|
383
383
|
return Y(this, "unshift", e);
|
|
@@ -387,7 +387,7 @@ const ln = {
|
|
|
387
387
|
}
|
|
388
388
|
};
|
|
389
389
|
function we(e, t, n) {
|
|
390
|
-
const s =
|
|
390
|
+
const s = Ee(e), r = s[t]();
|
|
391
391
|
return s !== e && !O(e) && (r._next = r.next, r.next = () => {
|
|
392
392
|
const o = r._next();
|
|
393
393
|
return o.value && (o.value = n(o.value)), o;
|
|
@@ -395,7 +395,7 @@ function we(e, t, n) {
|
|
|
395
395
|
}
|
|
396
396
|
const un = Array.prototype;
|
|
397
397
|
function I(e, t, n, s, r, o) {
|
|
398
|
-
const c =
|
|
398
|
+
const c = Ee(e), i = c !== e && !O(e), l = c[t];
|
|
399
399
|
if (l !== un[t]) {
|
|
400
400
|
const a = l.apply(e, o);
|
|
401
401
|
return i ? m(a) : a;
|
|
@@ -410,7 +410,7 @@ function I(e, t, n, s, r, o) {
|
|
|
410
410
|
return i && r ? r(d) : d;
|
|
411
411
|
}
|
|
412
412
|
function Ge(e, t, n, s) {
|
|
413
|
-
const r =
|
|
413
|
+
const r = Ee(e);
|
|
414
414
|
let o = n;
|
|
415
415
|
return r !== e && (O(e) ? n.length > 3 && (o = function(c, i, l) {
|
|
416
416
|
return n.call(this, c, i, l, e);
|
|
@@ -420,7 +420,7 @@ function Ge(e, t, n, s) {
|
|
|
420
420
|
}
|
|
421
421
|
function Oe(e, t, n) {
|
|
422
422
|
const s = p(e);
|
|
423
|
-
|
|
423
|
+
y(s, "iterate", Z);
|
|
424
424
|
const r = s[t](...n);
|
|
425
425
|
return (r === -1 || r === !1) && ue(n[0]) ? (n[0] = p(n[0]), s[t](...n)) : r;
|
|
426
426
|
}
|
|
@@ -430,12 +430,12 @@ function Y(e, t, n = []) {
|
|
|
430
430
|
return Ke(), se(), s;
|
|
431
431
|
}
|
|
432
432
|
const fn = /* @__PURE__ */ zt("__proto__,__v_isRef,__isVue"), gt = new Set(
|
|
433
|
-
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(
|
|
433
|
+
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(k)
|
|
434
434
|
);
|
|
435
435
|
function dn(e) {
|
|
436
|
-
|
|
436
|
+
k(e) || (e = String(e));
|
|
437
437
|
const t = p(this);
|
|
438
|
-
return
|
|
438
|
+
return y(t, "has", e), t.hasOwnProperty(e);
|
|
439
439
|
}
|
|
440
440
|
class mt {
|
|
441
441
|
constructor(t = !1, n = !1) {
|
|
@@ -451,7 +451,7 @@ class mt {
|
|
|
451
451
|
if (n === "__v_isShallow")
|
|
452
452
|
return o;
|
|
453
453
|
if (n === "__v_raw")
|
|
454
|
-
return s === (r ? o ? Nn :
|
|
454
|
+
return s === (r ? o ? Nn : Et : o ? bn : yt).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
455
455
|
// this means the receiver is a user proxy of the reactive proxy
|
|
456
456
|
Object.getPrototypeOf(t) === Object.getPrototypeOf(s) ? t : void 0;
|
|
457
457
|
const c = _(t);
|
|
@@ -470,7 +470,7 @@ class mt {
|
|
|
470
470
|
// its class methods
|
|
471
471
|
D(t) ? t : s
|
|
472
472
|
);
|
|
473
|
-
return (
|
|
473
|
+
return (k(n) ? gt.has(n) : fn(n)) || (r || y(t, "get", n), o) ? i : D(i) ? c && He(n) ? i : i.value : v(i) ? r ? bt(i) : ze(i) : i;
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
class pn extends mt {
|
|
@@ -482,32 +482,29 @@ class pn extends mt {
|
|
|
482
482
|
if (!this._isShallow) {
|
|
483
483
|
const l = x(o);
|
|
484
484
|
if (!O(s) && !x(s) && (o = p(o), s = p(s)), !_(t) && D(o) && !D(s))
|
|
485
|
-
return l ? (
|
|
486
|
-
`Set operation on key "${String(n)}" failed: target is readonly.`,
|
|
487
|
-
t[n]
|
|
488
|
-
), !0) : (o.value = s, !0);
|
|
485
|
+
return l ? !1 : (o.value = s, !0);
|
|
489
486
|
}
|
|
490
|
-
const c = _(t) &&
|
|
487
|
+
const c = _(t) && He(n) ? Number(n) < t.length : Te(t, n), i = Reflect.set(
|
|
491
488
|
t,
|
|
492
489
|
n,
|
|
493
490
|
s,
|
|
494
491
|
D(t) ? t : r
|
|
495
492
|
);
|
|
496
|
-
return t === p(r) && (c ?
|
|
493
|
+
return t === p(r) && (c ? W(s, o) && $(t, "set", n, s, o) : $(t, "add", n, s)), i;
|
|
497
494
|
}
|
|
498
495
|
deleteProperty(t, n) {
|
|
499
496
|
const s = Te(t, n), r = t[n], o = Reflect.deleteProperty(t, n);
|
|
500
|
-
return o && s &&
|
|
497
|
+
return o && s && $(t, "delete", n, void 0, r), o;
|
|
501
498
|
}
|
|
502
499
|
has(t, n) {
|
|
503
500
|
const s = Reflect.has(t, n);
|
|
504
|
-
return (!
|
|
501
|
+
return (!k(n) || !gt.has(n)) && y(t, "has", n), s;
|
|
505
502
|
}
|
|
506
503
|
ownKeys(t) {
|
|
507
|
-
return
|
|
504
|
+
return y(
|
|
508
505
|
t,
|
|
509
506
|
"iterate",
|
|
510
|
-
_(t) ? "length" :
|
|
507
|
+
_(t) ? "length" : H
|
|
511
508
|
), Reflect.ownKeys(t);
|
|
512
509
|
}
|
|
513
510
|
}
|
|
@@ -516,13 +513,13 @@ class hn extends mt {
|
|
|
516
513
|
super(!0, t);
|
|
517
514
|
}
|
|
518
515
|
set(t, n) {
|
|
519
|
-
return process.env.NODE_ENV !== "production" &&
|
|
516
|
+
return process.env.NODE_ENV !== "production" && U(
|
|
520
517
|
`Set operation on key "${String(n)}" failed: target is readonly.`,
|
|
521
518
|
t
|
|
522
519
|
), !0;
|
|
523
520
|
}
|
|
524
521
|
deleteProperty(t, n) {
|
|
525
|
-
return process.env.NODE_ENV !== "production" &&
|
|
522
|
+
return process.env.NODE_ENV !== "production" && U(
|
|
526
523
|
`Delete operation on key "${String(n)}" failed: target is readonly.`,
|
|
527
524
|
t
|
|
528
525
|
), !0;
|
|
@@ -531,11 +528,11 @@ class hn extends mt {
|
|
|
531
528
|
const _n = /* @__PURE__ */ new pn(), gn = /* @__PURE__ */ new hn(), Ae = (e) => e, ie = (e) => Reflect.getPrototypeOf(e);
|
|
532
529
|
function mn(e, t, n) {
|
|
533
530
|
return function(...s) {
|
|
534
|
-
const r = this.__v_raw, o = p(r), c =
|
|
535
|
-
return !t &&
|
|
531
|
+
const r = this.__v_raw, o = p(r), c = z(o), i = e === "entries" || e === Symbol.iterator && c, l = e === "keys" && c, f = r[e](...s), d = n ? Ae : t ? fe : m;
|
|
532
|
+
return !t && y(
|
|
536
533
|
o,
|
|
537
534
|
"iterate",
|
|
538
|
-
l ? Ce :
|
|
535
|
+
l ? Ce : H
|
|
539
536
|
), {
|
|
540
537
|
// iterator protocol
|
|
541
538
|
next() {
|
|
@@ -556,7 +553,7 @@ function ce(e) {
|
|
|
556
553
|
return function(...t) {
|
|
557
554
|
if (process.env.NODE_ENV !== "production") {
|
|
558
555
|
const n = t[0] ? `on key "${t[0]}" ` : "";
|
|
559
|
-
|
|
556
|
+
U(
|
|
560
557
|
`${at(e)} operation ${n}failed: target is readonly.`,
|
|
561
558
|
p(this)
|
|
562
559
|
);
|
|
@@ -568,7 +565,7 @@ function vn(e, t) {
|
|
|
568
565
|
const n = {
|
|
569
566
|
get(r) {
|
|
570
567
|
const o = this.__v_raw, c = p(o), i = p(r);
|
|
571
|
-
e || (
|
|
568
|
+
e || (W(r, i) && y(c, "get", r), y(c, "get", i));
|
|
572
569
|
const { has: l } = ie(c), f = t ? Ae : e ? fe : m;
|
|
573
570
|
if (l.call(c, r))
|
|
574
571
|
return f(o.get(r));
|
|
@@ -578,15 +575,15 @@ function vn(e, t) {
|
|
|
578
575
|
},
|
|
579
576
|
get size() {
|
|
580
577
|
const r = this.__v_raw;
|
|
581
|
-
return !e &&
|
|
578
|
+
return !e && y(p(r), "iterate", H), Reflect.get(r, "size", r);
|
|
582
579
|
},
|
|
583
580
|
has(r) {
|
|
584
581
|
const o = this.__v_raw, c = p(o), i = p(r);
|
|
585
|
-
return e || (
|
|
582
|
+
return e || (W(r, i) && y(c, "has", r), y(c, "has", i)), r === i ? o.has(r) : o.has(r) || o.has(i);
|
|
586
583
|
},
|
|
587
584
|
forEach(r, o) {
|
|
588
585
|
const c = this, i = c.__v_raw, l = p(i), f = t ? Ae : e ? fe : m;
|
|
589
|
-
return !e &&
|
|
586
|
+
return !e && y(l, "iterate", H), i.forEach((d, a) => r.call(o, f(d), f(a), c));
|
|
590
587
|
}
|
|
591
588
|
};
|
|
592
589
|
return F(
|
|
@@ -600,7 +597,7 @@ function vn(e, t) {
|
|
|
600
597
|
add(r) {
|
|
601
598
|
!t && !O(r) && !x(r) && (r = p(r));
|
|
602
599
|
const o = p(this);
|
|
603
|
-
return ie(o).has.call(o, r) || (o.add(r),
|
|
600
|
+
return ie(o).has.call(o, r) || (o.add(r), $(o, "add", r, r)), this;
|
|
604
601
|
},
|
|
605
602
|
set(r, o) {
|
|
606
603
|
!t && !O(o) && !x(o) && (o = p(o));
|
|
@@ -608,18 +605,18 @@ function vn(e, t) {
|
|
|
608
605
|
let f = i.call(c, r);
|
|
609
606
|
f ? process.env.NODE_ENV !== "production" && Qe(c, i, r) : (r = p(r), f = i.call(c, r));
|
|
610
607
|
const d = l.call(c, r);
|
|
611
|
-
return c.set(r, o), f ?
|
|
608
|
+
return c.set(r, o), f ? W(o, d) && $(c, "set", r, o, d) : $(c, "add", r, o), this;
|
|
612
609
|
},
|
|
613
610
|
delete(r) {
|
|
614
611
|
const o = p(this), { has: c, get: i } = ie(o);
|
|
615
612
|
let l = c.call(o, r);
|
|
616
613
|
l ? process.env.NODE_ENV !== "production" && Qe(o, c, r) : (r = p(r), l = c.call(o, r));
|
|
617
614
|
const f = i ? i.call(o, r) : void 0, d = o.delete(r);
|
|
618
|
-
return l &&
|
|
615
|
+
return l && $(o, "delete", r, void 0, f), d;
|
|
619
616
|
},
|
|
620
617
|
clear() {
|
|
621
|
-
const r = p(this), o = r.size !== 0, c = process.env.NODE_ENV !== "production" ?
|
|
622
|
-
return o &&
|
|
618
|
+
const r = p(this), o = r.size !== 0, c = process.env.NODE_ENV !== "production" ? z(r) ? new Map(r) : new Set(r) : void 0, i = r.clear();
|
|
619
|
+
return o && $(
|
|
623
620
|
r,
|
|
624
621
|
"clear",
|
|
625
622
|
void 0,
|
|
@@ -645,21 +642,21 @@ function vt(e, t) {
|
|
|
645
642
|
o
|
|
646
643
|
);
|
|
647
644
|
}
|
|
648
|
-
const
|
|
645
|
+
const yn = {
|
|
649
646
|
get: /* @__PURE__ */ vt(!1, !1)
|
|
650
|
-
},
|
|
647
|
+
}, En = {
|
|
651
648
|
get: /* @__PURE__ */ vt(!0, !1)
|
|
652
649
|
};
|
|
653
650
|
function Qe(e, t, n) {
|
|
654
651
|
const s = p(n);
|
|
655
652
|
if (s !== n && t.call(e, s)) {
|
|
656
653
|
const r = it(e);
|
|
657
|
-
|
|
654
|
+
U(
|
|
658
655
|
`Reactive ${r} contains both the raw and reactive versions of the same object${r === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
659
656
|
);
|
|
660
657
|
}
|
|
661
658
|
}
|
|
662
|
-
const
|
|
659
|
+
const yt = /* @__PURE__ */ new WeakMap(), bn = /* @__PURE__ */ new WeakMap(), Et = /* @__PURE__ */ new WeakMap(), Nn = /* @__PURE__ */ new WeakMap();
|
|
663
660
|
function Sn(e) {
|
|
664
661
|
switch (e) {
|
|
665
662
|
case "Object":
|
|
@@ -682,8 +679,8 @@ function ze(e) {
|
|
|
682
679
|
e,
|
|
683
680
|
!1,
|
|
684
681
|
_n,
|
|
685
|
-
|
|
686
|
-
|
|
682
|
+
yn,
|
|
683
|
+
yt
|
|
687
684
|
);
|
|
688
685
|
}
|
|
689
686
|
function bt(e) {
|
|
@@ -691,13 +688,13 @@ function bt(e) {
|
|
|
691
688
|
e,
|
|
692
689
|
!0,
|
|
693
690
|
gn,
|
|
694
|
-
|
|
695
|
-
|
|
691
|
+
En,
|
|
692
|
+
Et
|
|
696
693
|
);
|
|
697
694
|
}
|
|
698
695
|
function Nt(e, t, n, s, r) {
|
|
699
696
|
if (!v(e))
|
|
700
|
-
return process.env.NODE_ENV !== "production" &&
|
|
697
|
+
return process.env.NODE_ENV !== "production" && U(
|
|
701
698
|
`value cannot be made ${t ? "readonly" : "reactive"}: ${String(
|
|
702
699
|
e
|
|
703
700
|
)}`
|
|
@@ -755,7 +752,7 @@ class Rn {
|
|
|
755
752
|
}
|
|
756
753
|
set value(t) {
|
|
757
754
|
const n = this._rawValue, s = this.__v_isShallow || O(t) || x(t);
|
|
758
|
-
t = s ? t : p(t),
|
|
755
|
+
t = s ? t : p(t), W(t, n) && (this._rawValue = t, this._value = s ? t : m(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
|
|
759
756
|
target: this,
|
|
760
757
|
type: "set",
|
|
761
758
|
key: "value",
|
|
@@ -789,7 +786,7 @@ class Dn {
|
|
|
789
786
|
return dt(this), t && (t.version = this.dep.version), this._value;
|
|
790
787
|
}
|
|
791
788
|
set value(t) {
|
|
792
|
-
this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" &&
|
|
789
|
+
this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && U("Write operation failed: computed value is readonly");
|
|
793
790
|
}
|
|
794
791
|
}
|
|
795
792
|
function xn(e, t, n = !1) {
|
|
@@ -856,18 +853,18 @@ function An(e) {
|
|
|
856
853
|
const t = [];
|
|
857
854
|
return e.forEach((n, s) => {
|
|
858
855
|
t.push(...s === 0 ? [] : [`
|
|
859
|
-
`],
|
|
856
|
+
`], ...$n(n));
|
|
860
857
|
}), t;
|
|
861
858
|
}
|
|
862
|
-
function
|
|
859
|
+
function $n({ vnode: e, recurseCount: t }) {
|
|
863
860
|
const n = t > 0 ? `... (${t} recursive calls)` : "", s = e.component ? e.component.parent == null : !1, r = ` at <${Kt(
|
|
864
861
|
e.component,
|
|
865
862
|
e.type,
|
|
866
863
|
s
|
|
867
864
|
)}`, o = ">" + n;
|
|
868
|
-
return e.props ? [r,
|
|
865
|
+
return e.props ? [r, ...Mn(e.props), o] : [r + o];
|
|
869
866
|
}
|
|
870
|
-
function
|
|
867
|
+
function Mn(e) {
|
|
871
868
|
const t = [], n = Object.keys(e);
|
|
872
869
|
return n.slice(0, 3).forEach((s) => {
|
|
873
870
|
t.push(...St(s, e[s]));
|
|
@@ -876,7 +873,7 @@ function $n(e) {
|
|
|
876
873
|
function St(e, t, n) {
|
|
877
874
|
return V(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : D(t) ? (t = St(e, p(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : b(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = p(t), n ? t : [`${e}=`, t]);
|
|
878
875
|
}
|
|
879
|
-
const
|
|
876
|
+
const Be = {
|
|
880
877
|
sp: "serverPrefetch hook",
|
|
881
878
|
bc: "beforeCreate hook",
|
|
882
879
|
c: "created hook",
|
|
@@ -913,14 +910,14 @@ function be(e, t, n, s) {
|
|
|
913
910
|
try {
|
|
914
911
|
return s ? e(...s) : e();
|
|
915
912
|
} catch (r) {
|
|
916
|
-
|
|
913
|
+
Ue(r, t, n);
|
|
917
914
|
}
|
|
918
915
|
}
|
|
919
916
|
function wt(e, t, n, s) {
|
|
920
917
|
if (b(e)) {
|
|
921
918
|
const r = be(e, t, n, s);
|
|
922
919
|
return r && Yt(r) && r.catch((o) => {
|
|
923
|
-
|
|
920
|
+
Ue(o, t, n);
|
|
924
921
|
}), r;
|
|
925
922
|
}
|
|
926
923
|
if (_(e)) {
|
|
@@ -932,11 +929,11 @@ function wt(e, t, n, s) {
|
|
|
932
929
|
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
|
|
933
930
|
);
|
|
934
931
|
}
|
|
935
|
-
function
|
|
932
|
+
function Ue(e, t, n, s = !0) {
|
|
936
933
|
const r = t ? t.vnode : null, { errorHandler: o, throwUnhandledErrorInProduction: c } = t && t.appContext.config || xe;
|
|
937
934
|
if (t) {
|
|
938
935
|
let i = t.parent;
|
|
939
|
-
const l = t.proxy, f = process.env.NODE_ENV !== "production" ?
|
|
936
|
+
const l = t.proxy, f = process.env.NODE_ENV !== "production" ? Be[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
|
|
940
937
|
for (; i; ) {
|
|
941
938
|
const d = i.ec;
|
|
942
939
|
if (d) {
|
|
@@ -959,7 +956,7 @@ function Be(e, t, n, s = !0) {
|
|
|
959
956
|
}
|
|
960
957
|
function Pn(e, t, n, s = !0, r = !1) {
|
|
961
958
|
if (process.env.NODE_ENV !== "production") {
|
|
962
|
-
const o =
|
|
959
|
+
const o = Be[t];
|
|
963
960
|
if (n && Tn(n), T(`Unhandled error${o ? ` during execution of ${o}` : ""}`), n && In(), s)
|
|
964
961
|
throw e;
|
|
965
962
|
} else if (r)
|
|
@@ -968,11 +965,11 @@ function Pn(e, t, n, s = !0, r = !1) {
|
|
|
968
965
|
const w = [];
|
|
969
966
|
let C = -1;
|
|
970
967
|
const B = [];
|
|
971
|
-
let A = null,
|
|
968
|
+
let A = null, L = 0;
|
|
972
969
|
const Fn = /* @__PURE__ */ Promise.resolve();
|
|
973
|
-
let
|
|
974
|
-
const
|
|
975
|
-
function
|
|
970
|
+
let $e = null;
|
|
971
|
+
const kn = 100;
|
|
972
|
+
function Hn(e) {
|
|
976
973
|
let t = C + 1, n = w.length;
|
|
977
974
|
for (; t < n; ) {
|
|
978
975
|
const s = t + n >>> 1, r = w[s], o = ee(r);
|
|
@@ -984,14 +981,14 @@ function jn(e) {
|
|
|
984
981
|
if (!(e.flags & 1)) {
|
|
985
982
|
const t = ee(e), n = w[w.length - 1];
|
|
986
983
|
!n || // fast path when the job id is larger than the tail
|
|
987
|
-
!(e.flags & 2) && t >= ee(n) ? w.push(e) : w.splice(
|
|
984
|
+
!(e.flags & 2) && t >= ee(n) ? w.push(e) : w.splice(Hn(t), 0, e), e.flags |= 1, Ot();
|
|
988
985
|
}
|
|
989
986
|
}
|
|
990
987
|
function Ot() {
|
|
991
|
-
|
|
988
|
+
$e || ($e = Fn.then(Vt));
|
|
992
989
|
}
|
|
993
990
|
function Kn(e) {
|
|
994
|
-
_(e) ? B.push(...e) : A && e.id === -1 ? A.splice(
|
|
991
|
+
_(e) ? B.push(...e) : A && e.id === -1 ? A.splice(L + 1, 0, e) : e.flags & 1 || (B.push(e), e.flags |= 1), Ot();
|
|
995
992
|
}
|
|
996
993
|
function Ln(e) {
|
|
997
994
|
if (B.length) {
|
|
@@ -1002,11 +999,11 @@ function Ln(e) {
|
|
|
1002
999
|
A.push(...t);
|
|
1003
1000
|
return;
|
|
1004
1001
|
}
|
|
1005
|
-
for (A = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()),
|
|
1006
|
-
const n = A[
|
|
1002
|
+
for (A = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), L = 0; L < A.length; L++) {
|
|
1003
|
+
const n = A[L];
|
|
1007
1004
|
process.env.NODE_ENV !== "production" && Rt(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
|
|
1008
1005
|
}
|
|
1009
|
-
A = null,
|
|
1006
|
+
A = null, L = 0;
|
|
1010
1007
|
}
|
|
1011
1008
|
}
|
|
1012
1009
|
const ee = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
@@ -1031,14 +1028,14 @@ function Vt(e) {
|
|
|
1031
1028
|
const n = w[C];
|
|
1032
1029
|
n && (n.flags &= -2);
|
|
1033
1030
|
}
|
|
1034
|
-
C = -1, w.length = 0, Ln(e),
|
|
1031
|
+
C = -1, w.length = 0, Ln(e), $e = null, (w.length || B.length) && Vt(e);
|
|
1035
1032
|
}
|
|
1036
1033
|
}
|
|
1037
1034
|
function Rt(e, t) {
|
|
1038
1035
|
const n = e.get(t) || 0;
|
|
1039
|
-
if (n >
|
|
1036
|
+
if (n > kn) {
|
|
1040
1037
|
const s = t.i, r = s && jt(s.type);
|
|
1041
|
-
return
|
|
1038
|
+
return Ue(
|
|
1042
1039
|
`Maximum recursive updates exceeded${r ? ` in component <${r}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
1043
1040
|
null,
|
|
1044
1041
|
10
|
|
@@ -1047,14 +1044,11 @@ function Rt(e, t) {
|
|
|
1047
1044
|
return e.set(t, n + 1), !1;
|
|
1048
1045
|
}
|
|
1049
1046
|
const Re = /* @__PURE__ */ new Map();
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
reload: De(Un)
|
|
1056
|
-
});
|
|
1057
|
-
}
|
|
1047
|
+
process.env.NODE_ENV !== "production" && (me().__VUE_HMR_RUNTIME__ = {
|
|
1048
|
+
createRecord: De(zn),
|
|
1049
|
+
rerender: De(Wn),
|
|
1050
|
+
reload: De(Bn)
|
|
1051
|
+
});
|
|
1058
1052
|
const de = /* @__PURE__ */ new Map();
|
|
1059
1053
|
function zn(e, t) {
|
|
1060
1054
|
return de.has(e) ? !1 : (de.set(e, {
|
|
@@ -1068,10 +1062,10 @@ function pe(e) {
|
|
|
1068
1062
|
function Wn(e, t) {
|
|
1069
1063
|
const n = de.get(e);
|
|
1070
1064
|
n && (n.initialDef.render = t, [...n.instances].forEach((s) => {
|
|
1071
|
-
t && (s.render = t, pe(s.type).render = t), s.renderCache = [], s.
|
|
1065
|
+
t && (s.render = t, pe(s.type).render = t), s.renderCache = [], s.update();
|
|
1072
1066
|
}));
|
|
1073
1067
|
}
|
|
1074
|
-
function
|
|
1068
|
+
function Bn(e, t) {
|
|
1075
1069
|
const n = de.get(e);
|
|
1076
1070
|
if (!n) return;
|
|
1077
1071
|
t = pe(t), Xe(n.initialDef, t);
|
|
@@ -1080,7 +1074,7 @@ function Un(e, t) {
|
|
|
1080
1074
|
const o = s[r], c = pe(o.type);
|
|
1081
1075
|
let i = Re.get(c);
|
|
1082
1076
|
i || (c !== n.initialDef && Xe(c, t), Re.set(c, i = /* @__PURE__ */ new Set())), i.add(o), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (i.add(o), o.ceReload(t.styles), i.delete(o)) : o.parent ? jn(() => {
|
|
1083
|
-
o.
|
|
1077
|
+
o.parent.update(), i.delete(o);
|
|
1084
1078
|
}) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" && window.location.reload(), o.root.ce && o !== o.root && o.root.ce._removeChildStyle(c);
|
|
1085
1079
|
}
|
|
1086
1080
|
Kn(() => {
|
|
@@ -1100,20 +1094,20 @@ function De(e) {
|
|
|
1100
1094
|
}
|
|
1101
1095
|
};
|
|
1102
1096
|
}
|
|
1103
|
-
let
|
|
1104
|
-
function
|
|
1105
|
-
|
|
1097
|
+
let M, J = [], Me = !1;
|
|
1098
|
+
function Un(e, ...t) {
|
|
1099
|
+
M ? M.emit(e, ...t) : Me || J.push({ event: e, args: t });
|
|
1106
1100
|
}
|
|
1107
1101
|
function Dt(e, t) {
|
|
1108
1102
|
var n, s;
|
|
1109
|
-
|
|
1103
|
+
M = e, M ? (M.enabled = !0, J.forEach(({ event: r, args: o }) => M.emit(r, ...o)), J = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
|
|
1110
1104
|
window.HTMLElement && // also exclude jsdom
|
|
1111
1105
|
// eslint-disable-next-line no-restricted-syntax
|
|
1112
1106
|
!((s = (n = window.navigator) == null ? void 0 : n.userAgent) != null && s.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((o) => {
|
|
1113
1107
|
Dt(o, t);
|
|
1114
1108
|
}), setTimeout(() => {
|
|
1115
|
-
|
|
1116
|
-
}, 3e3)) : (
|
|
1109
|
+
M || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Me = !0, J = []);
|
|
1110
|
+
}, 3e3)) : (Me = !0, J = []);
|
|
1117
1111
|
}
|
|
1118
1112
|
const qn = /* @__PURE__ */ Yn(
|
|
1119
1113
|
"component:updated"
|
|
@@ -1122,7 +1116,7 @@ const qn = /* @__PURE__ */ Yn(
|
|
|
1122
1116
|
// @__NO_SIDE_EFFECTS__
|
|
1123
1117
|
function Yn(e) {
|
|
1124
1118
|
return (t) => {
|
|
1125
|
-
|
|
1119
|
+
Un(
|
|
1126
1120
|
e,
|
|
1127
1121
|
t.appContext.app,
|
|
1128
1122
|
t.uid,
|
|
@@ -1131,12 +1125,12 @@ function Yn(e) {
|
|
|
1131
1125
|
);
|
|
1132
1126
|
};
|
|
1133
1127
|
}
|
|
1134
|
-
let
|
|
1128
|
+
let E = null, xt = null;
|
|
1135
1129
|
function Ze(e) {
|
|
1136
|
-
const t =
|
|
1137
|
-
return
|
|
1130
|
+
const t = E;
|
|
1131
|
+
return E = e, xt = e && e.type.__scopeId || null, t;
|
|
1138
1132
|
}
|
|
1139
|
-
function mr(e, t =
|
|
1133
|
+
function mr(e, t = E, n) {
|
|
1140
1134
|
if (!t || e._n)
|
|
1141
1135
|
return e;
|
|
1142
1136
|
const s = (...r) => {
|
|
@@ -1176,7 +1170,7 @@ function Qn(e, t, n = oe, s = !1) {
|
|
|
1176
1170
|
});
|
|
1177
1171
|
return s ? r.unshift(o) : r.push(o), o;
|
|
1178
1172
|
} else if (process.env.NODE_ENV !== "production") {
|
|
1179
|
-
const r = Gt(
|
|
1173
|
+
const r = Gt(Be[e].replace(/ hook$/, ""));
|
|
1180
1174
|
T(
|
|
1181
1175
|
`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
|
|
1182
1176
|
);
|
|
@@ -1184,14 +1178,14 @@ function Qn(e, t, n = oe, s = !1) {
|
|
|
1184
1178
|
}
|
|
1185
1179
|
const It = (e) => (t, n = oe) => {
|
|
1186
1180
|
(!Ye || e === "sp") && Qn(e, (...s) => t(...s), n);
|
|
1187
|
-
},
|
|
1181
|
+
}, yr = It("bm"), Er = It("m"), Xn = Symbol.for("v-ndc");
|
|
1188
1182
|
function br(e, t, n, s) {
|
|
1189
1183
|
let r;
|
|
1190
1184
|
const o = n, c = _(e);
|
|
1191
1185
|
if (c || V(e)) {
|
|
1192
1186
|
const i = c && We(e);
|
|
1193
1187
|
let l = !1, f = !1;
|
|
1194
|
-
i && (l = !O(e), f = x(e), e =
|
|
1188
|
+
i && (l = !O(e), f = x(e), e = Ee(e)), r = new Array(e.length);
|
|
1195
1189
|
for (let d = 0, a = e.length; d < a; d++)
|
|
1196
1190
|
r[d] = t(
|
|
1197
1191
|
l ? f ? fe(m(e[d])) : m(e[d]) : e[d],
|
|
@@ -1222,7 +1216,7 @@ function br(e, t, n, s) {
|
|
|
1222
1216
|
return r;
|
|
1223
1217
|
}
|
|
1224
1218
|
function Nr(e, t, n = {}, s, r) {
|
|
1225
|
-
if (
|
|
1219
|
+
if (E.ce || E.parent && Gn(E.parent) && E.parent.ce)
|
|
1226
1220
|
return Pe(), Fe(
|
|
1227
1221
|
te,
|
|
1228
1222
|
null,
|
|
@@ -1238,7 +1232,7 @@ function Nr(e, t, n = {}, s, r) {
|
|
|
1238
1232
|
c && c.key, l = Fe(
|
|
1239
1233
|
te,
|
|
1240
1234
|
{
|
|
1241
|
-
key: (i && !
|
|
1235
|
+
key: (i && !k(i) ? i : `_${t}`) + // #7256 force differentiate fallback content from actual content
|
|
1242
1236
|
(!c && s ? "_fb" : "")
|
|
1243
1237
|
},
|
|
1244
1238
|
c || [],
|
|
@@ -1247,7 +1241,7 @@ function Nr(e, t, n = {}, s, r) {
|
|
|
1247
1241
|
return o && o._c && (o._d = !0), l;
|
|
1248
1242
|
}
|
|
1249
1243
|
function Ct(e) {
|
|
1250
|
-
return e.some((t) =>
|
|
1244
|
+
return e.some((t) => Mt(t) ? !(t.type === he || t.type === te && !Ct(t.children)) : !0) ? e : null;
|
|
1251
1245
|
}
|
|
1252
1246
|
const Zn = {};
|
|
1253
1247
|
process.env.NODE_ENV !== "production" && (Zn.ownKeys = (e) => (T(
|
|
@@ -1265,11 +1259,11 @@ let ne = 1;
|
|
|
1265
1259
|
function et(e, t = !1) {
|
|
1266
1260
|
ne += e, e < 0 && N && t && (N.hasOnce = !0);
|
|
1267
1261
|
}
|
|
1268
|
-
function
|
|
1262
|
+
function $t(e) {
|
|
1269
1263
|
return e.dynamicChildren = ne > 0 ? N || Wt : null, rr(), ne > 0 && N && N.push(e), e;
|
|
1270
1264
|
}
|
|
1271
1265
|
function Sr(e, t, n, s, r, o) {
|
|
1272
|
-
return
|
|
1266
|
+
return $t(
|
|
1273
1267
|
Ft(
|
|
1274
1268
|
e,
|
|
1275
1269
|
t,
|
|
@@ -1282,7 +1276,7 @@ function Sr(e, t, n, s, r, o) {
|
|
|
1282
1276
|
);
|
|
1283
1277
|
}
|
|
1284
1278
|
function Fe(e, t, n, s, r) {
|
|
1285
|
-
return
|
|
1279
|
+
return $t(
|
|
1286
1280
|
Ne(
|
|
1287
1281
|
e,
|
|
1288
1282
|
t,
|
|
@@ -1293,16 +1287,16 @@ function Fe(e, t, n, s, r) {
|
|
|
1293
1287
|
)
|
|
1294
1288
|
);
|
|
1295
1289
|
}
|
|
1296
|
-
function
|
|
1290
|
+
function Mt(e) {
|
|
1297
1291
|
return e ? e.__v_isVNode === !0 : !1;
|
|
1298
1292
|
}
|
|
1299
|
-
const sr = (...e) =>
|
|
1293
|
+
const sr = (...e) => kt(
|
|
1300
1294
|
...e
|
|
1301
1295
|
), Pt = ({ key: e }) => e ?? null, le = ({
|
|
1302
1296
|
ref: e,
|
|
1303
1297
|
ref_key: t,
|
|
1304
1298
|
ref_for: n
|
|
1305
|
-
}) => (typeof e == "number" && (e = "" + e), e != null ? V(e) || D(e) || b(e) ? { i:
|
|
1299
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? V(e) || D(e) || b(e) ? { i: E, r: e, k: t, f: !!n } : e : null);
|
|
1306
1300
|
function Ft(e, t = null, n = null, s = 0, r = null, o = e === te ? 0 : 1, c = !1, i = !1) {
|
|
1307
1301
|
const l = {
|
|
1308
1302
|
__v_isVNode: !0,
|
|
@@ -1331,7 +1325,7 @@ function Ft(e, t = null, n = null, s = 0, r = null, o = e === te ? 0 : 1, c = !1
|
|
|
1331
1325
|
dynamicProps: r,
|
|
1332
1326
|
dynamicChildren: null,
|
|
1333
1327
|
appContext: null,
|
|
1334
|
-
ctx:
|
|
1328
|
+
ctx: E
|
|
1335
1329
|
};
|
|
1336
1330
|
return i ? (qe(l, n), o & 128 && e.normalize(l)) : n && (l.shapeFlag |= V(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && T("VNode created with invalid key (NaN). VNode type:", l.type), ne > 0 && // avoid a block node from tracking itself
|
|
1337
1331
|
!c && // has current parent block
|
|
@@ -1343,9 +1337,9 @@ function Ft(e, t = null, n = null, s = 0, r = null, o = e === te ? 0 : 1, c = !1
|
|
|
1343
1337
|
// vnode should not be considered dynamic due to handler caching.
|
|
1344
1338
|
l.patchFlag !== 32 && N.push(l), l;
|
|
1345
1339
|
}
|
|
1346
|
-
const Ne = process.env.NODE_ENV !== "production" ? sr :
|
|
1347
|
-
function
|
|
1348
|
-
if ((!e || e === Xn) && (process.env.NODE_ENV !== "production" && !e && T(`Invalid vnode type when creating vnode: ${e}.`), e = he),
|
|
1340
|
+
const Ne = process.env.NODE_ENV !== "production" ? sr : kt;
|
|
1341
|
+
function kt(e, t = null, n = null, s = 0, r = null, o = !1) {
|
|
1342
|
+
if ((!e || e === Xn) && (process.env.NODE_ENV !== "production" && !e && T(`Invalid vnode type when creating vnode: ${e}.`), e = he), Mt(e)) {
|
|
1349
1343
|
const i = _e(
|
|
1350
1344
|
e,
|
|
1351
1345
|
t,
|
|
@@ -1357,7 +1351,7 @@ function Ht(e, t = null, n = null, s = 0, r = null, o = !1) {
|
|
|
1357
1351
|
if (Lt(e) && (e = e.__vccOpts), t) {
|
|
1358
1352
|
t = or(t);
|
|
1359
1353
|
let { class: i, style: l } = t;
|
|
1360
|
-
i && !V(i) && (t.class =
|
|
1354
|
+
i && !V(i) && (t.class = ye(i)), v(l) && (ue(l) && !_(l) && (l = F({}, l)), t.style = ve(l));
|
|
1361
1355
|
}
|
|
1362
1356
|
const c = V(e) ? 1 : tr(e) ? 128 : Jn(e) ? 64 : v(e) ? 4 : b(e) ? 2 : 0;
|
|
1363
1357
|
return process.env.NODE_ENV !== "production" && c & 4 && ue(e) && (e = p(e), T(
|
|
@@ -1394,7 +1388,7 @@ function _e(e, t, n = !1, s = !1) {
|
|
|
1394
1388
|
) : o,
|
|
1395
1389
|
scopeId: e.scopeId,
|
|
1396
1390
|
slotScopeIds: e.slotScopeIds,
|
|
1397
|
-
children: process.env.NODE_ENV !== "production" && c === -1 && _(i) ? i.map(
|
|
1391
|
+
children: process.env.NODE_ENV !== "production" && c === -1 && _(i) ? i.map(Ht) : i,
|
|
1398
1392
|
target: e.target,
|
|
1399
1393
|
targetStart: e.targetStart,
|
|
1400
1394
|
targetAnchor: e.targetAnchor,
|
|
@@ -1429,9 +1423,9 @@ function _e(e, t, n = !1, s = !1) {
|
|
|
1429
1423
|
l.clone(d)
|
|
1430
1424
|
), d;
|
|
1431
1425
|
}
|
|
1432
|
-
function
|
|
1426
|
+
function Ht(e) {
|
|
1433
1427
|
const t = _e(e);
|
|
1434
|
-
return _(e.children) && (t.children = e.children.map(
|
|
1428
|
+
return _(e.children) && (t.children = e.children.map(Ht)), t;
|
|
1435
1429
|
}
|
|
1436
1430
|
function ir(e = " ", t = 0) {
|
|
1437
1431
|
return Ne(nr, null, e, t);
|
|
@@ -1454,9 +1448,9 @@ function qe(e, t) {
|
|
|
1454
1448
|
} else {
|
|
1455
1449
|
n = 32;
|
|
1456
1450
|
const r = t._;
|
|
1457
|
-
!r && !At(t) ? t._ctx =
|
|
1451
|
+
!r && !At(t) ? t._ctx = E : r === 3 && E && (E.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
1458
1452
|
}
|
|
1459
|
-
else b(t) ? (t = { default: t, _ctx:
|
|
1453
|
+
else b(t) ? (t = { default: t, _ctx: E }, n = 32) : (t = String(t), s & 64 ? (n = 16, t = [ir(t)]) : n = 8);
|
|
1460
1454
|
e.children = t, e.shapeFlag |= n;
|
|
1461
1455
|
}
|
|
1462
1456
|
function cr(...e) {
|
|
@@ -1465,10 +1459,10 @@ function cr(...e) {
|
|
|
1465
1459
|
const s = e[n];
|
|
1466
1460
|
for (const r in s)
|
|
1467
1461
|
if (r === "class")
|
|
1468
|
-
t.class !== s.class && (t.class =
|
|
1462
|
+
t.class !== s.class && (t.class = ye([t.class, s.class]));
|
|
1469
1463
|
else if (r === "style")
|
|
1470
1464
|
t.style = ve([t.style, s.style]);
|
|
1471
|
-
else if (
|
|
1465
|
+
else if (Bt(r)) {
|
|
1472
1466
|
const o = t[r], c = s[r];
|
|
1473
1467
|
c && o !== c && !(_(o) && o.includes(c)) && (t[r] = o ? [].concat(o, c) : c);
|
|
1474
1468
|
} else r !== "" && (t[r] = s[r]);
|
|
@@ -1476,8 +1470,8 @@ function cr(...e) {
|
|
|
1476
1470
|
return t;
|
|
1477
1471
|
}
|
|
1478
1472
|
let oe = null;
|
|
1479
|
-
const ar = () => oe ||
|
|
1480
|
-
let
|
|
1473
|
+
const ar = () => oe || E;
|
|
1474
|
+
let ke;
|
|
1481
1475
|
{
|
|
1482
1476
|
const e = me(), t = (n, s) => {
|
|
1483
1477
|
let r;
|
|
@@ -1485,7 +1479,7 @@ let He;
|
|
|
1485
1479
|
r.length > 1 ? r.forEach((c) => c(o)) : r[0](o);
|
|
1486
1480
|
};
|
|
1487
1481
|
};
|
|
1488
|
-
|
|
1482
|
+
ke = t(
|
|
1489
1483
|
"__VUE_INSTANCE_SETTERS__",
|
|
1490
1484
|
(n) => oe = n
|
|
1491
1485
|
), t(
|
|
@@ -1495,13 +1489,13 @@ let He;
|
|
|
1495
1489
|
}
|
|
1496
1490
|
const lr = (e) => {
|
|
1497
1491
|
const t = oe;
|
|
1498
|
-
return
|
|
1499
|
-
e.scope.off(),
|
|
1492
|
+
return ke(e), e.scope.on(), () => {
|
|
1493
|
+
e.scope.off(), ke(t);
|
|
1500
1494
|
};
|
|
1501
1495
|
};
|
|
1502
1496
|
let Ye = !1;
|
|
1503
1497
|
process.env.NODE_ENV;
|
|
1504
|
-
const ur = /(?:^|[-_])\w/g, fr = (e) => e.replace(ur, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
1498
|
+
const ur = /(?:^|[-_])(\w)/g, fr = (e) => e.replace(ur, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
1505
1499
|
function jt(e, t = !0) {
|
|
1506
1500
|
return b(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
1507
1501
|
}
|
|
@@ -1708,14 +1702,14 @@ export {
|
|
|
1708
1702
|
Nr as g,
|
|
1709
1703
|
hr as h,
|
|
1710
1704
|
On as i,
|
|
1711
|
-
|
|
1712
|
-
|
|
1705
|
+
yr as j,
|
|
1706
|
+
Er as k,
|
|
1713
1707
|
Fe as l,
|
|
1714
1708
|
Ne as m,
|
|
1715
1709
|
_r as n,
|
|
1716
1710
|
Pe as o,
|
|
1717
1711
|
or as p,
|
|
1718
|
-
|
|
1712
|
+
ye as q,
|
|
1719
1713
|
br as r,
|
|
1720
1714
|
ir as s,
|
|
1721
1715
|
tn as t,
|