@1024pix/epreuves-components 0.2.1 → 0.3.1

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.
@@ -1,3994 +0,0 @@
1
- /**
2
- * @vue/shared v3.5.13
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **/
6
- /*! #__NO_SIDE_EFFECTS__ */
7
- // @__NO_SIDE_EFFECTS__
8
- function xs(e) {
9
- const t = /* @__PURE__ */ Object.create(null);
10
- for (const s of e.split(",")) t[s] = 1;
11
- return (s) => s in t;
12
- }
13
- const V = {}, Xe = [], we = () => {
14
- }, Ii = () => !1, $t = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
15
- (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), vs = (e) => e.startsWith("onUpdate:"), Y = Object.assign, ws = (e, t) => {
16
- const s = e.indexOf(t);
17
- s > -1 && e.splice(s, 1);
18
- }, Fi = Object.prototype.hasOwnProperty, N = (e, t) => Fi.call(e, t), O = Array.isArray, Ze = (e) => Kt(e) === "[object Map]", Sn = (e) => Kt(e) === "[object Set]", R = (e) => typeof e == "function", G = (e) => typeof e == "string", je = (e) => typeof e == "symbol", B = (e) => e !== null && typeof e == "object", Cn = (e) => (B(e) || R(e)) && R(e.then) && R(e.catch), Tn = Object.prototype.toString, Kt = (e) => Tn.call(e), Ni = (e) => Kt(e).slice(8, -1), Vt = (e) => Kt(e) === "[object Object]", Ss = (e) => G(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, ct = /* @__PURE__ */ xs(
19
- // the leading comma is intentional so empty string "" is also included
20
- ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
21
- ), Ut = (e) => {
22
- const t = /* @__PURE__ */ Object.create(null);
23
- return (s) => t[s] || (t[s] = e(s));
24
- }, Di = /-(\w)/g, ae = Ut(
25
- (e) => e.replace(Di, (t, s) => s ? s.toUpperCase() : "")
26
- ), ji = /\B([A-Z])/g, fe = Ut(
27
- (e) => e.replace(ji, "-$1").toLowerCase()
28
- ), En = Ut((e) => e.charAt(0).toUpperCase() + e.slice(1)), Zt = Ut(
29
- (e) => e ? `on${En(e)}` : ""
30
- ), De = (e, t) => !Object.is(e, t), Qt = (e, ...t) => {
31
- for (let s = 0; s < e.length; s++)
32
- e[s](...t);
33
- }, An = (e, t, s, n = !1) => {
34
- Object.defineProperty(e, t, {
35
- configurable: !0,
36
- enumerable: !1,
37
- writable: n,
38
- value: s
39
- });
40
- }, Hi = (e) => {
41
- const t = parseFloat(e);
42
- return isNaN(t) ? e : t;
43
- }, Gs = (e) => {
44
- const t = G(e) ? Number(e) : NaN;
45
- return isNaN(t) ? e : t;
46
- };
47
- let Js;
48
- const Bt = () => Js || (Js = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
49
- function Cs(e) {
50
- if (O(e)) {
51
- const t = {};
52
- for (let s = 0; s < e.length; s++) {
53
- const n = e[s], i = G(n) ? Vi(n) : Cs(n);
54
- if (i)
55
- for (const r in i)
56
- t[r] = i[r];
57
- }
58
- return t;
59
- } else if (G(e) || B(e))
60
- return e;
61
- }
62
- const Li = /;(?![^(]*\))/g, $i = /:([^]+)/, Ki = /\/\*[^]*?\*\//g;
63
- function Vi(e) {
64
- const t = {};
65
- return e.replace(Ki, "").split(Li).forEach((s) => {
66
- if (s) {
67
- const n = s.split($i);
68
- n.length > 1 && (t[n[0].trim()] = n[1].trim());
69
- }
70
- }), t;
71
- }
72
- function Ts(e) {
73
- let t = "";
74
- if (G(e))
75
- t = e;
76
- else if (O(e))
77
- for (let s = 0; s < e.length; s++) {
78
- const n = Ts(e[s]);
79
- n && (t += n + " ");
80
- }
81
- else if (B(e))
82
- for (const s in e)
83
- e[s] && (t += s + " ");
84
- return t.trim();
85
- }
86
- const Ui = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Bi = /* @__PURE__ */ xs(Ui);
87
- function Pn(e) {
88
- return !!e || e === "";
89
- }
90
- const On = (e) => !!(e && e.__v_isRef === !0), Wi = (e) => G(e) ? e : e == null ? "" : O(e) || B(e) && (e.toString === Tn || !R(e.toString)) ? On(e) ? Wi(e.value) : JSON.stringify(e, Rn, 2) : String(e), Rn = (e, t) => On(t) ? Rn(e, t.value) : Ze(t) ? {
91
- [`Map(${t.size})`]: [...t.entries()].reduce(
92
- (s, [n, i], r) => (s[kt(n, r) + " =>"] = i, s),
93
- {}
94
- )
95
- } : Sn(t) ? {
96
- [`Set(${t.size})`]: [...t.values()].map((s) => kt(s))
97
- } : je(t) ? kt(t) : B(t) && !O(t) && !Vt(t) ? String(t) : t, kt = (e, t = "") => {
98
- var s;
99
- return (
100
- // Symbol.description in es2019+ so we need to cast here to pass
101
- // the lib: es2016 check
102
- je(e) ? `Symbol(${(s = e.description) != null ? s : t})` : e
103
- );
104
- };
105
- /**
106
- * @vue/reactivity v3.5.13
107
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
108
- * @license MIT
109
- **/
110
- let le;
111
- class qi {
112
- constructor(t = !1) {
113
- this.detached = t, this._active = !0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.parent = le, !t && le && (this.index = (le.scopes || (le.scopes = [])).push(
114
- this
115
- ) - 1);
116
- }
117
- get active() {
118
- return this._active;
119
- }
120
- pause() {
121
- if (this._active) {
122
- this._isPaused = !0;
123
- let t, s;
124
- if (this.scopes)
125
- for (t = 0, s = this.scopes.length; t < s; t++)
126
- this.scopes[t].pause();
127
- for (t = 0, s = this.effects.length; t < s; t++)
128
- this.effects[t].pause();
129
- }
130
- }
131
- /**
132
- * Resumes the effect scope, including all child scopes and effects.
133
- */
134
- resume() {
135
- if (this._active && this._isPaused) {
136
- this._isPaused = !1;
137
- let t, s;
138
- if (this.scopes)
139
- for (t = 0, s = this.scopes.length; t < s; t++)
140
- this.scopes[t].resume();
141
- for (t = 0, s = this.effects.length; t < s; t++)
142
- this.effects[t].resume();
143
- }
144
- }
145
- run(t) {
146
- if (this._active) {
147
- const s = le;
148
- try {
149
- return le = this, t();
150
- } finally {
151
- le = s;
152
- }
153
- }
154
- }
155
- /**
156
- * This should only be called on non-detached scopes
157
- * @internal
158
- */
159
- on() {
160
- le = this;
161
- }
162
- /**
163
- * This should only be called on non-detached scopes
164
- * @internal
165
- */
166
- off() {
167
- le = this.parent;
168
- }
169
- stop(t) {
170
- if (this._active) {
171
- this._active = !1;
172
- let s, n;
173
- for (s = 0, n = this.effects.length; s < n; s++)
174
- this.effects[s].stop();
175
- for (this.effects.length = 0, s = 0, n = this.cleanups.length; s < n; s++)
176
- this.cleanups[s]();
177
- if (this.cleanups.length = 0, this.scopes) {
178
- for (s = 0, n = this.scopes.length; s < n; s++)
179
- this.scopes[s].stop(!0);
180
- this.scopes.length = 0;
181
- }
182
- if (!this.detached && this.parent && !t) {
183
- const i = this.parent.scopes.pop();
184
- i && i !== this && (this.parent.scopes[this.index] = i, i.index = this.index);
185
- }
186
- this.parent = void 0;
187
- }
188
- }
189
- }
190
- function Gi() {
191
- return le;
192
- }
193
- let K;
194
- const es = /* @__PURE__ */ new WeakSet();
195
- class Mn {
196
- constructor(t) {
197
- this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, le && le.active && le.effects.push(this);
198
- }
199
- pause() {
200
- this.flags |= 64;
201
- }
202
- resume() {
203
- this.flags & 64 && (this.flags &= -65, es.has(this) && (es.delete(this), this.trigger()));
204
- }
205
- /**
206
- * @internal
207
- */
208
- notify() {
209
- this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Fn(this);
210
- }
211
- run() {
212
- if (!(this.flags & 1))
213
- return this.fn();
214
- this.flags |= 2, Ys(this), Nn(this);
215
- const t = K, s = he;
216
- K = this, he = !0;
217
- try {
218
- return this.fn();
219
- } finally {
220
- Dn(this), K = t, he = s, this.flags &= -3;
221
- }
222
- }
223
- stop() {
224
- if (this.flags & 1) {
225
- for (let t = this.deps; t; t = t.nextDep)
226
- Ps(t);
227
- this.deps = this.depsTail = void 0, Ys(this), this.onStop && this.onStop(), this.flags &= -2;
228
- }
229
- }
230
- trigger() {
231
- this.flags & 64 ? es.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
232
- }
233
- /**
234
- * @internal
235
- */
236
- runIfDirty() {
237
- cs(this) && this.run();
238
- }
239
- get dirty() {
240
- return cs(this);
241
- }
242
- }
243
- let In = 0, ut, at;
244
- function Fn(e, t = !1) {
245
- if (e.flags |= 8, t) {
246
- e.next = at, at = e;
247
- return;
248
- }
249
- e.next = ut, ut = e;
250
- }
251
- function Es() {
252
- In++;
253
- }
254
- function As() {
255
- if (--In > 0)
256
- return;
257
- if (at) {
258
- let t = at;
259
- for (at = void 0; t; ) {
260
- const s = t.next;
261
- t.next = void 0, t.flags &= -9, t = s;
262
- }
263
- }
264
- let e;
265
- for (; ut; ) {
266
- let t = ut;
267
- for (ut = void 0; t; ) {
268
- const s = t.next;
269
- if (t.next = void 0, t.flags &= -9, t.flags & 1)
270
- try {
271
- t.trigger();
272
- } catch (n) {
273
- e || (e = n);
274
- }
275
- t = s;
276
- }
277
- }
278
- if (e) throw e;
279
- }
280
- function Nn(e) {
281
- for (let t = e.deps; t; t = t.nextDep)
282
- t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
283
- }
284
- function Dn(e) {
285
- let t, s = e.depsTail, n = s;
286
- for (; n; ) {
287
- const i = n.prevDep;
288
- n.version === -1 ? (n === s && (s = i), Ps(n), Ji(n)) : t = n, n.dep.activeLink = n.prevActiveLink, n.prevActiveLink = void 0, n = i;
289
- }
290
- e.deps = t, e.depsTail = s;
291
- }
292
- function cs(e) {
293
- for (let t = e.deps; t; t = t.nextDep)
294
- if (t.dep.version !== t.version || t.dep.computed && (jn(t.dep.computed) || t.dep.version !== t.version))
295
- return !0;
296
- return !!e._dirty;
297
- }
298
- function jn(e) {
299
- if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === gt))
300
- return;
301
- e.globalVersion = gt;
302
- const t = e.dep;
303
- if (e.flags |= 2, t.version > 0 && !e.isSSR && e.deps && !cs(e)) {
304
- e.flags &= -3;
305
- return;
306
- }
307
- const s = K, n = he;
308
- K = e, he = !0;
309
- try {
310
- Nn(e);
311
- const i = e.fn(e._value);
312
- (t.version === 0 || De(i, e._value)) && (e._value = i, t.version++);
313
- } catch (i) {
314
- throw t.version++, i;
315
- } finally {
316
- K = s, he = n, Dn(e), e.flags &= -3;
317
- }
318
- }
319
- function Ps(e, t = !1) {
320
- const { dep: s, prevSub: n, nextSub: i } = e;
321
- if (n && (n.nextSub = i, e.prevSub = void 0), i && (i.prevSub = n, e.nextSub = void 0), s.subs === e && (s.subs = n, !n && s.computed)) {
322
- s.computed.flags &= -5;
323
- for (let r = s.computed.deps; r; r = r.nextDep)
324
- Ps(r, !0);
325
- }
326
- !t && !--s.sc && s.map && s.map.delete(s.key);
327
- }
328
- function Ji(e) {
329
- const { prevDep: t, nextDep: s } = e;
330
- t && (t.nextDep = s, e.prevDep = void 0), s && (s.prevDep = t, e.nextDep = void 0);
331
- }
332
- let he = !0;
333
- const Hn = [];
334
- function He() {
335
- Hn.push(he), he = !1;
336
- }
337
- function Le() {
338
- const e = Hn.pop();
339
- he = e === void 0 ? !0 : e;
340
- }
341
- function Ys(e) {
342
- const { cleanup: t } = e;
343
- if (e.cleanup = void 0, t) {
344
- const s = K;
345
- K = void 0;
346
- try {
347
- t();
348
- } finally {
349
- K = s;
350
- }
351
- }
352
- }
353
- let gt = 0;
354
- class Yi {
355
- constructor(t, s) {
356
- this.sub = t, this.dep = s, this.version = s.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
357
- }
358
- }
359
- class Os {
360
- constructor(t) {
361
- this.computed = t, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0;
362
- }
363
- track(t) {
364
- if (!K || !he || K === this.computed)
365
- return;
366
- let s = this.activeLink;
367
- if (s === void 0 || s.sub !== K)
368
- s = this.activeLink = new Yi(K, this), K.deps ? (s.prevDep = K.depsTail, K.depsTail.nextDep = s, K.depsTail = s) : K.deps = K.depsTail = s, Ln(s);
369
- else if (s.version === -1 && (s.version = this.version, s.nextDep)) {
370
- const n = s.nextDep;
371
- n.prevDep = s.prevDep, s.prevDep && (s.prevDep.nextDep = n), s.prevDep = K.depsTail, s.nextDep = void 0, K.depsTail.nextDep = s, K.depsTail = s, K.deps === s && (K.deps = n);
372
- }
373
- return s;
374
- }
375
- trigger(t) {
376
- this.version++, gt++, this.notify(t);
377
- }
378
- notify(t) {
379
- Es();
380
- try {
381
- for (let s = this.subs; s; s = s.prevSub)
382
- s.sub.notify() && s.sub.dep.notify();
383
- } finally {
384
- As();
385
- }
386
- }
387
- }
388
- function Ln(e) {
389
- if (e.dep.sc++, e.sub.flags & 4) {
390
- const t = e.dep.computed;
391
- if (t && !e.dep.subs) {
392
- t.flags |= 20;
393
- for (let n = t.deps; n; n = n.nextDep)
394
- Ln(n);
395
- }
396
- const s = e.dep.subs;
397
- s !== e && (e.prevSub = s, s && (s.nextSub = e)), e.dep.subs = e;
398
- }
399
- }
400
- const us = /* @__PURE__ */ new WeakMap(), qe = Symbol(
401
- ""
402
- ), as = Symbol(
403
- ""
404
- ), _t = Symbol(
405
- ""
406
- );
407
- function X(e, t, s) {
408
- if (he && K) {
409
- let n = us.get(e);
410
- n || us.set(e, n = /* @__PURE__ */ new Map());
411
- let i = n.get(s);
412
- i || (n.set(s, i = new Os()), i.map = n, i.key = s), i.track();
413
- }
414
- }
415
- function Pe(e, t, s, n, i, r) {
416
- const o = us.get(e);
417
- if (!o) {
418
- gt++;
419
- return;
420
- }
421
- const l = (c) => {
422
- c && c.trigger();
423
- };
424
- if (Es(), t === "clear")
425
- o.forEach(l);
426
- else {
427
- const c = O(e), d = c && Ss(s);
428
- if (c && s === "length") {
429
- const a = Number(n);
430
- o.forEach((p, S) => {
431
- (S === "length" || S === _t || !je(S) && S >= a) && l(p);
432
- });
433
- } else
434
- switch ((s !== void 0 || o.has(void 0)) && l(o.get(s)), d && l(o.get(_t)), t) {
435
- case "add":
436
- c ? d && l(o.get("length")) : (l(o.get(qe)), Ze(e) && l(o.get(as)));
437
- break;
438
- case "delete":
439
- c || (l(o.get(qe)), Ze(e) && l(o.get(as)));
440
- break;
441
- case "set":
442
- Ze(e) && l(o.get(qe));
443
- break;
444
- }
445
- }
446
- As();
447
- }
448
- function Ye(e) {
449
- const t = D(e);
450
- return t === e ? t : (X(t, "iterate", _t), ue(e) ? t : t.map(Z));
451
- }
452
- function Wt(e) {
453
- return X(e = D(e), "iterate", _t), e;
454
- }
455
- const zi = {
456
- __proto__: null,
457
- [Symbol.iterator]() {
458
- return ts(this, Symbol.iterator, Z);
459
- },
460
- concat(...e) {
461
- return Ye(this).concat(
462
- ...e.map((t) => O(t) ? Ye(t) : t)
463
- );
464
- },
465
- entries() {
466
- return ts(this, "entries", (e) => (e[1] = Z(e[1]), e));
467
- },
468
- every(e, t) {
469
- return Te(this, "every", e, t, void 0, arguments);
470
- },
471
- filter(e, t) {
472
- return Te(this, "filter", e, t, (s) => s.map(Z), arguments);
473
- },
474
- find(e, t) {
475
- return Te(this, "find", e, t, Z, arguments);
476
- },
477
- findIndex(e, t) {
478
- return Te(this, "findIndex", e, t, void 0, arguments);
479
- },
480
- findLast(e, t) {
481
- return Te(this, "findLast", e, t, Z, arguments);
482
- },
483
- findLastIndex(e, t) {
484
- return Te(this, "findLastIndex", e, t, void 0, arguments);
485
- },
486
- // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
487
- forEach(e, t) {
488
- return Te(this, "forEach", e, t, void 0, arguments);
489
- },
490
- includes(...e) {
491
- return ss(this, "includes", e);
492
- },
493
- indexOf(...e) {
494
- return ss(this, "indexOf", e);
495
- },
496
- join(e) {
497
- return Ye(this).join(e);
498
- },
499
- // keys() iterator only reads `length`, no optimisation required
500
- lastIndexOf(...e) {
501
- return ss(this, "lastIndexOf", e);
502
- },
503
- map(e, t) {
504
- return Te(this, "map", e, t, void 0, arguments);
505
- },
506
- pop() {
507
- return ot(this, "pop");
508
- },
509
- push(...e) {
510
- return ot(this, "push", e);
511
- },
512
- reduce(e, ...t) {
513
- return zs(this, "reduce", e, t);
514
- },
515
- reduceRight(e, ...t) {
516
- return zs(this, "reduceRight", e, t);
517
- },
518
- shift() {
519
- return ot(this, "shift");
520
- },
521
- // slice could use ARRAY_ITERATE but also seems to beg for range tracking
522
- some(e, t) {
523
- return Te(this, "some", e, t, void 0, arguments);
524
- },
525
- splice(...e) {
526
- return ot(this, "splice", e);
527
- },
528
- toReversed() {
529
- return Ye(this).toReversed();
530
- },
531
- toSorted(e) {
532
- return Ye(this).toSorted(e);
533
- },
534
- toSpliced(...e) {
535
- return Ye(this).toSpliced(...e);
536
- },
537
- unshift(...e) {
538
- return ot(this, "unshift", e);
539
- },
540
- values() {
541
- return ts(this, "values", Z);
542
- }
543
- };
544
- function ts(e, t, s) {
545
- const n = Wt(e), i = n[t]();
546
- return n !== e && !ue(e) && (i._next = i.next, i.next = () => {
547
- const r = i._next();
548
- return r.value && (r.value = s(r.value)), r;
549
- }), i;
550
- }
551
- const Xi = Array.prototype;
552
- function Te(e, t, s, n, i, r) {
553
- const o = Wt(e), l = o !== e && !ue(e), c = o[t];
554
- if (c !== Xi[t]) {
555
- const p = c.apply(e, r);
556
- return l ? Z(p) : p;
557
- }
558
- let d = s;
559
- o !== e && (l ? d = function(p, S) {
560
- return s.call(this, Z(p), S, e);
561
- } : s.length > 2 && (d = function(p, S) {
562
- return s.call(this, p, S, e);
563
- }));
564
- const a = c.call(o, d, n);
565
- return l && i ? i(a) : a;
566
- }
567
- function zs(e, t, s, n) {
568
- const i = Wt(e);
569
- let r = s;
570
- return i !== e && (ue(e) ? s.length > 3 && (r = function(o, l, c) {
571
- return s.call(this, o, l, c, e);
572
- }) : r = function(o, l, c) {
573
- return s.call(this, o, Z(l), c, e);
574
- }), i[t](r, ...n);
575
- }
576
- function ss(e, t, s) {
577
- const n = D(e);
578
- X(n, "iterate", _t);
579
- const i = n[t](...s);
580
- return (i === -1 || i === !1) && Fs(s[0]) ? (s[0] = D(s[0]), n[t](...s)) : i;
581
- }
582
- function ot(e, t, s = []) {
583
- He(), Es();
584
- const n = D(e)[t].apply(e, s);
585
- return As(), Le(), n;
586
- }
587
- const Zi = /* @__PURE__ */ xs("__proto__,__v_isRef,__isVue"), $n = new Set(
588
- /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(je)
589
- );
590
- function Qi(e) {
591
- je(e) || (e = String(e));
592
- const t = D(this);
593
- return X(t, "has", e), t.hasOwnProperty(e);
594
- }
595
- class Kn {
596
- constructor(t = !1, s = !1) {
597
- this._isReadonly = t, this._isShallow = s;
598
- }
599
- get(t, s, n) {
600
- if (s === "__v_skip") return t.__v_skip;
601
- const i = this._isReadonly, r = this._isShallow;
602
- if (s === "__v_isReactive")
603
- return !i;
604
- if (s === "__v_isReadonly")
605
- return i;
606
- if (s === "__v_isShallow")
607
- return r;
608
- if (s === "__v_raw")
609
- return n === (i ? r ? fr : Wn : r ? Bn : Un).get(t) || // receiver is not the reactive proxy, but has the same prototype
610
- // this means the receiver is a user proxy of the reactive proxy
611
- Object.getPrototypeOf(t) === Object.getPrototypeOf(n) ? t : void 0;
612
- const o = O(t);
613
- if (!i) {
614
- let c;
615
- if (o && (c = zi[s]))
616
- return c;
617
- if (s === "hasOwnProperty")
618
- return Qi;
619
- }
620
- const l = Reflect.get(
621
- t,
622
- s,
623
- // if this is a proxy wrapping a ref, return methods using the raw ref
624
- // as receiver so that we don't have to call `toRaw` on the ref in all
625
- // its class methods
626
- Q(t) ? t : n
627
- );
628
- return (je(s) ? $n.has(s) : Zi(s)) || (i || X(t, "get", s), r) ? l : Q(l) ? o && Ss(s) ? l : l.value : B(l) ? i ? qn(l) : Ms(l) : l;
629
- }
630
- }
631
- class Vn extends Kn {
632
- constructor(t = !1) {
633
- super(!1, t);
634
- }
635
- set(t, s, n, i) {
636
- let r = t[s];
637
- if (!this._isShallow) {
638
- const c = Ge(r);
639
- if (!ue(n) && !Ge(n) && (r = D(r), n = D(n)), !O(t) && Q(r) && !Q(n))
640
- return c ? !1 : (r.value = n, !0);
641
- }
642
- const o = O(t) && Ss(s) ? Number(s) < t.length : N(t, s), l = Reflect.set(
643
- t,
644
- s,
645
- n,
646
- Q(t) ? t : i
647
- );
648
- return t === D(i) && (o ? De(n, r) && Pe(t, "set", s, n) : Pe(t, "add", s, n)), l;
649
- }
650
- deleteProperty(t, s) {
651
- const n = N(t, s);
652
- t[s];
653
- const i = Reflect.deleteProperty(t, s);
654
- return i && n && Pe(t, "delete", s, void 0), i;
655
- }
656
- has(t, s) {
657
- const n = Reflect.has(t, s);
658
- return (!je(s) || !$n.has(s)) && X(t, "has", s), n;
659
- }
660
- ownKeys(t) {
661
- return X(
662
- t,
663
- "iterate",
664
- O(t) ? "length" : qe
665
- ), Reflect.ownKeys(t);
666
- }
667
- }
668
- class ki extends Kn {
669
- constructor(t = !1) {
670
- super(!0, t);
671
- }
672
- set(t, s) {
673
- return !0;
674
- }
675
- deleteProperty(t, s) {
676
- return !0;
677
- }
678
- }
679
- const er = /* @__PURE__ */ new Vn(), tr = /* @__PURE__ */ new ki(), sr = /* @__PURE__ */ new Vn(!0);
680
- const hs = (e) => e, At = (e) => Reflect.getPrototypeOf(e);
681
- function nr(e, t, s) {
682
- return function(...n) {
683
- const i = this.__v_raw, r = D(i), o = Ze(r), l = e === "entries" || e === Symbol.iterator && o, c = e === "keys" && o, d = i[e](...n), a = s ? hs : t ? ds : Z;
684
- return !t && X(
685
- r,
686
- "iterate",
687
- c ? as : qe
688
- ), {
689
- // iterator protocol
690
- next() {
691
- const { value: p, done: S } = d.next();
692
- return S ? { value: p, done: S } : {
693
- value: l ? [a(p[0]), a(p[1])] : a(p),
694
- done: S
695
- };
696
- },
697
- // iterable protocol
698
- [Symbol.iterator]() {
699
- return this;
700
- }
701
- };
702
- };
703
- }
704
- function Pt(e) {
705
- return function(...t) {
706
- return e === "delete" ? !1 : e === "clear" ? void 0 : this;
707
- };
708
- }
709
- function ir(e, t) {
710
- const s = {
711
- get(i) {
712
- const r = this.__v_raw, o = D(r), l = D(i);
713
- e || (De(i, l) && X(o, "get", i), X(o, "get", l));
714
- const { has: c } = At(o), d = t ? hs : e ? ds : Z;
715
- if (c.call(o, i))
716
- return d(r.get(i));
717
- if (c.call(o, l))
718
- return d(r.get(l));
719
- r !== o && r.get(i);
720
- },
721
- get size() {
722
- const i = this.__v_raw;
723
- return !e && X(D(i), "iterate", qe), Reflect.get(i, "size", i);
724
- },
725
- has(i) {
726
- const r = this.__v_raw, o = D(r), l = D(i);
727
- return e || (De(i, l) && X(o, "has", i), X(o, "has", l)), i === l ? r.has(i) : r.has(i) || r.has(l);
728
- },
729
- forEach(i, r) {
730
- const o = this, l = o.__v_raw, c = D(l), d = t ? hs : e ? ds : Z;
731
- return !e && X(c, "iterate", qe), l.forEach((a, p) => i.call(r, d(a), d(p), o));
732
- }
733
- };
734
- return Y(
735
- s,
736
- e ? {
737
- add: Pt("add"),
738
- set: Pt("set"),
739
- delete: Pt("delete"),
740
- clear: Pt("clear")
741
- } : {
742
- add(i) {
743
- !t && !ue(i) && !Ge(i) && (i = D(i));
744
- const r = D(this);
745
- return At(r).has.call(r, i) || (r.add(i), Pe(r, "add", i, i)), this;
746
- },
747
- set(i, r) {
748
- !t && !ue(r) && !Ge(r) && (r = D(r));
749
- const o = D(this), { has: l, get: c } = At(o);
750
- let d = l.call(o, i);
751
- d || (i = D(i), d = l.call(o, i));
752
- const a = c.call(o, i);
753
- return o.set(i, r), d ? De(r, a) && Pe(o, "set", i, r) : Pe(o, "add", i, r), this;
754
- },
755
- delete(i) {
756
- const r = D(this), { has: o, get: l } = At(r);
757
- let c = o.call(r, i);
758
- c || (i = D(i), c = o.call(r, i)), l && l.call(r, i);
759
- const d = r.delete(i);
760
- return c && Pe(r, "delete", i, void 0), d;
761
- },
762
- clear() {
763
- const i = D(this), r = i.size !== 0, o = i.clear();
764
- return r && Pe(
765
- i,
766
- "clear",
767
- void 0,
768
- void 0
769
- ), o;
770
- }
771
- }
772
- ), [
773
- "keys",
774
- "values",
775
- "entries",
776
- Symbol.iterator
777
- ].forEach((i) => {
778
- s[i] = nr(i, e, t);
779
- }), s;
780
- }
781
- function Rs(e, t) {
782
- const s = ir(e, t);
783
- return (n, i, r) => i === "__v_isReactive" ? !e : i === "__v_isReadonly" ? e : i === "__v_raw" ? n : Reflect.get(
784
- N(s, i) && i in n ? s : n,
785
- i,
786
- r
787
- );
788
- }
789
- const rr = {
790
- get: /* @__PURE__ */ Rs(!1, !1)
791
- }, or = {
792
- get: /* @__PURE__ */ Rs(!1, !0)
793
- }, lr = {
794
- get: /* @__PURE__ */ Rs(!0, !1)
795
- };
796
- const Un = /* @__PURE__ */ new WeakMap(), Bn = /* @__PURE__ */ new WeakMap(), Wn = /* @__PURE__ */ new WeakMap(), fr = /* @__PURE__ */ new WeakMap();
797
- function cr(e) {
798
- switch (e) {
799
- case "Object":
800
- case "Array":
801
- return 1;
802
- case "Map":
803
- case "Set":
804
- case "WeakMap":
805
- case "WeakSet":
806
- return 2;
807
- default:
808
- return 0;
809
- }
810
- }
811
- function ur(e) {
812
- return e.__v_skip || !Object.isExtensible(e) ? 0 : cr(Ni(e));
813
- }
814
- function Ms(e) {
815
- return Ge(e) ? e : Is(
816
- e,
817
- !1,
818
- er,
819
- rr,
820
- Un
821
- );
822
- }
823
- function ar(e) {
824
- return Is(
825
- e,
826
- !1,
827
- sr,
828
- or,
829
- Bn
830
- );
831
- }
832
- function qn(e) {
833
- return Is(
834
- e,
835
- !0,
836
- tr,
837
- lr,
838
- Wn
839
- );
840
- }
841
- function Is(e, t, s, n, i) {
842
- if (!B(e) || e.__v_raw && !(t && e.__v_isReactive))
843
- return e;
844
- const r = i.get(e);
845
- if (r)
846
- return r;
847
- const o = ur(e);
848
- if (o === 0)
849
- return e;
850
- const l = new Proxy(
851
- e,
852
- o === 2 ? n : s
853
- );
854
- return i.set(e, l), l;
855
- }
856
- function Qe(e) {
857
- return Ge(e) ? Qe(e.__v_raw) : !!(e && e.__v_isReactive);
858
- }
859
- function Ge(e) {
860
- return !!(e && e.__v_isReadonly);
861
- }
862
- function ue(e) {
863
- return !!(e && e.__v_isShallow);
864
- }
865
- function Fs(e) {
866
- return e ? !!e.__v_raw : !1;
867
- }
868
- function D(e) {
869
- const t = e && e.__v_raw;
870
- return t ? D(t) : e;
871
- }
872
- function hr(e) {
873
- return !N(e, "__v_skip") && Object.isExtensible(e) && An(e, "__v_skip", !0), e;
874
- }
875
- const Z = (e) => B(e) ? Ms(e) : e, ds = (e) => B(e) ? qn(e) : e;
876
- function Q(e) {
877
- return e ? e.__v_isRef === !0 : !1;
878
- }
879
- function ll(e) {
880
- return Gn(e, !1);
881
- }
882
- function fl(e) {
883
- return Gn(e, !0);
884
- }
885
- function Gn(e, t) {
886
- return Q(e) ? e : new dr(e, t);
887
- }
888
- class dr {
889
- constructor(t, s) {
890
- this.dep = new Os(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = s ? t : D(t), this._value = s ? t : Z(t), this.__v_isShallow = s;
891
- }
892
- get value() {
893
- return this.dep.track(), this._value;
894
- }
895
- set value(t) {
896
- const s = this._rawValue, n = this.__v_isShallow || ue(t) || Ge(t);
897
- t = n ? t : D(t), De(t, s) && (this._rawValue = t, this._value = n ? t : Z(t), this.dep.trigger());
898
- }
899
- }
900
- function Jn(e) {
901
- return Q(e) ? e.value : e;
902
- }
903
- const pr = {
904
- get: (e, t, s) => t === "__v_raw" ? e : Jn(Reflect.get(e, t, s)),
905
- set: (e, t, s, n) => {
906
- const i = e[t];
907
- return Q(i) && !Q(s) ? (i.value = s, !0) : Reflect.set(e, t, s, n);
908
- }
909
- };
910
- function Yn(e) {
911
- return Qe(e) ? e : new Proxy(e, pr);
912
- }
913
- class gr {
914
- constructor(t, s, n) {
915
- this.fn = t, this.setter = s, this._value = void 0, this.dep = new Os(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = gt - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !s, this.isSSR = n;
916
- }
917
- /**
918
- * @internal
919
- */
920
- notify() {
921
- if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
922
- K !== this)
923
- return Fn(this, !0), !0;
924
- }
925
- get value() {
926
- const t = this.dep.track();
927
- return jn(this), t && (t.version = this.dep.version), this._value;
928
- }
929
- set value(t) {
930
- this.setter && this.setter(t);
931
- }
932
- }
933
- function _r(e, t, s = !1) {
934
- let n, i;
935
- return R(e) ? n = e : (n = e.get, i = e.set), new gr(n, i, s);
936
- }
937
- const Ot = {}, Ft = /* @__PURE__ */ new WeakMap();
938
- let We;
939
- function mr(e, t = !1, s = We) {
940
- if (s) {
941
- let n = Ft.get(s);
942
- n || Ft.set(s, n = []), n.push(e);
943
- }
944
- }
945
- function br(e, t, s = V) {
946
- const { immediate: n, deep: i, once: r, scheduler: o, augmentJob: l, call: c } = s, d = (A) => i ? A : ue(A) || i === !1 || i === 0 ? Ne(A, 1) : Ne(A);
947
- let a, p, S, C, F = !1, I = !1;
948
- if (Q(e) ? (p = () => e.value, F = ue(e)) : Qe(e) ? (p = () => d(e), F = !0) : O(e) ? (I = !0, F = e.some((A) => Qe(A) || ue(A)), p = () => e.map((A) => {
949
- if (Q(A))
950
- return A.value;
951
- if (Qe(A))
952
- return d(A);
953
- if (R(A))
954
- return c ? c(A, 2) : A();
955
- })) : R(e) ? t ? p = c ? () => c(e, 2) : e : p = () => {
956
- if (S) {
957
- He();
958
- try {
959
- S();
960
- } finally {
961
- Le();
962
- }
963
- }
964
- const A = We;
965
- We = a;
966
- try {
967
- return c ? c(e, 3, [C]) : e(C);
968
- } finally {
969
- We = A;
970
- }
971
- } : p = we, t && i) {
972
- const A = p, J = i === !0 ? 1 / 0 : i;
973
- p = () => Ne(A(), J);
974
- }
975
- const z = Gi(), H = () => {
976
- a.stop(), z && z.active && ws(z.effects, a);
977
- };
978
- if (r && t) {
979
- const A = t;
980
- t = (...J) => {
981
- A(...J), H();
982
- };
983
- }
984
- let W = I ? new Array(e.length).fill(Ot) : Ot;
985
- const q = (A) => {
986
- if (!(!(a.flags & 1) || !a.dirty && !A))
987
- if (t) {
988
- const J = a.run();
989
- if (i || F || (I ? J.some((Re, de) => De(Re, W[de])) : De(J, W))) {
990
- S && S();
991
- const Re = We;
992
- We = a;
993
- try {
994
- const de = [
995
- J,
996
- // pass undefined as the old value when it's changed for the first time
997
- W === Ot ? void 0 : I && W[0] === Ot ? [] : W,
998
- C
999
- ];
1000
- c ? c(t, 3, de) : (
1001
- // @ts-expect-error
1002
- t(...de)
1003
- ), W = J;
1004
- } finally {
1005
- We = Re;
1006
- }
1007
- }
1008
- } else
1009
- a.run();
1010
- };
1011
- return l && l(q), a = new Mn(p), a.scheduler = o ? () => o(q, !1) : q, C = (A) => mr(A, !1, a), S = a.onStop = () => {
1012
- const A = Ft.get(a);
1013
- if (A) {
1014
- if (c)
1015
- c(A, 4);
1016
- else
1017
- for (const J of A) J();
1018
- Ft.delete(a);
1019
- }
1020
- }, t ? n ? q(!0) : W = a.run() : o ? o(q.bind(null, !0), !0) : a.run(), H.pause = a.pause.bind(a), H.resume = a.resume.bind(a), H.stop = H, H;
1021
- }
1022
- function Ne(e, t = 1 / 0, s) {
1023
- if (t <= 0 || !B(e) || e.__v_skip || (s = s || /* @__PURE__ */ new Set(), s.has(e)))
1024
- return e;
1025
- if (s.add(e), t--, Q(e))
1026
- Ne(e.value, t, s);
1027
- else if (O(e))
1028
- for (let n = 0; n < e.length; n++)
1029
- Ne(e[n], t, s);
1030
- else if (Sn(e) || Ze(e))
1031
- e.forEach((n) => {
1032
- Ne(n, t, s);
1033
- });
1034
- else if (Vt(e)) {
1035
- for (const n in e)
1036
- Ne(e[n], t, s);
1037
- for (const n of Object.getOwnPropertySymbols(e))
1038
- Object.prototype.propertyIsEnumerable.call(e, n) && Ne(e[n], t, s);
1039
- }
1040
- return e;
1041
- }
1042
- /**
1043
- * @vue/runtime-core v3.5.13
1044
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
1045
- * @license MIT
1046
- **/
1047
- function xt(e, t, s, n) {
1048
- try {
1049
- return n ? e(...n) : e();
1050
- } catch (i) {
1051
- qt(i, t, s);
1052
- }
1053
- }
1054
- function Ce(e, t, s, n) {
1055
- if (R(e)) {
1056
- const i = xt(e, t, s, n);
1057
- return i && Cn(i) && i.catch((r) => {
1058
- qt(r, t, s);
1059
- }), i;
1060
- }
1061
- if (O(e)) {
1062
- const i = [];
1063
- for (let r = 0; r < e.length; r++)
1064
- i.push(Ce(e[r], t, s, n));
1065
- return i;
1066
- }
1067
- }
1068
- function qt(e, t, s, n = !0) {
1069
- const i = t ? t.vnode : null, { errorHandler: r, throwUnhandledErrorInProduction: o } = t && t.appContext.config || V;
1070
- if (t) {
1071
- let l = t.parent;
1072
- const c = t.proxy, d = `https://vuejs.org/error-reference/#runtime-${s}`;
1073
- for (; l; ) {
1074
- const a = l.ec;
1075
- if (a) {
1076
- for (let p = 0; p < a.length; p++)
1077
- if (a[p](e, c, d) === !1)
1078
- return;
1079
- }
1080
- l = l.parent;
1081
- }
1082
- if (r) {
1083
- He(), xt(r, null, 10, [
1084
- e,
1085
- c,
1086
- d
1087
- ]), Le();
1088
- return;
1089
- }
1090
- }
1091
- yr(e, s, i, n, o);
1092
- }
1093
- function yr(e, t, s, n = !0, i = !1) {
1094
- if (i)
1095
- throw e;
1096
- console.error(e);
1097
- }
1098
- const te = [];
1099
- let ye = -1;
1100
- const ke = [];
1101
- let Ie = null, ze = 0;
1102
- const zn = /* @__PURE__ */ Promise.resolve();
1103
- let Nt = null;
1104
- function Xn(e) {
1105
- const t = Nt || zn;
1106
- return e ? t.then(this ? e.bind(this) : e) : t;
1107
- }
1108
- function xr(e) {
1109
- let t = ye + 1, s = te.length;
1110
- for (; t < s; ) {
1111
- const n = t + s >>> 1, i = te[n], r = mt(i);
1112
- r < e || r === e && i.flags & 2 ? t = n + 1 : s = n;
1113
- }
1114
- return t;
1115
- }
1116
- function Ns(e) {
1117
- if (!(e.flags & 1)) {
1118
- const t = mt(e), s = te[te.length - 1];
1119
- !s || // fast path when the job id is larger than the tail
1120
- !(e.flags & 2) && t >= mt(s) ? te.push(e) : te.splice(xr(t), 0, e), e.flags |= 1, Zn();
1121
- }
1122
- }
1123
- function Zn() {
1124
- Nt || (Nt = zn.then(kn));
1125
- }
1126
- function vr(e) {
1127
- O(e) ? ke.push(...e) : Ie && e.id === -1 ? Ie.splice(ze + 1, 0, e) : e.flags & 1 || (ke.push(e), e.flags |= 1), Zn();
1128
- }
1129
- function Xs(e, t, s = ye + 1) {
1130
- for (; s < te.length; s++) {
1131
- const n = te[s];
1132
- if (n && n.flags & 2) {
1133
- if (e && n.id !== e.uid)
1134
- continue;
1135
- te.splice(s, 1), s--, n.flags & 4 && (n.flags &= -2), n(), n.flags & 4 || (n.flags &= -2);
1136
- }
1137
- }
1138
- }
1139
- function Qn(e) {
1140
- if (ke.length) {
1141
- const t = [...new Set(ke)].sort(
1142
- (s, n) => mt(s) - mt(n)
1143
- );
1144
- if (ke.length = 0, Ie) {
1145
- Ie.push(...t);
1146
- return;
1147
- }
1148
- for (Ie = t, ze = 0; ze < Ie.length; ze++) {
1149
- const s = Ie[ze];
1150
- s.flags & 4 && (s.flags &= -2), s.flags & 8 || s(), s.flags &= -2;
1151
- }
1152
- Ie = null, ze = 0;
1153
- }
1154
- }
1155
- const mt = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
1156
- function kn(e) {
1157
- try {
1158
- for (ye = 0; ye < te.length; ye++) {
1159
- const t = te[ye];
1160
- t && !(t.flags & 8) && (t.flags & 4 && (t.flags &= -2), xt(
1161
- t,
1162
- t.i,
1163
- t.i ? 15 : 14
1164
- ), t.flags & 4 || (t.flags &= -2));
1165
- }
1166
- } finally {
1167
- for (; ye < te.length; ye++) {
1168
- const t = te[ye];
1169
- t && (t.flags &= -2);
1170
- }
1171
- ye = -1, te.length = 0, Qn(), Nt = null, (te.length || ke.length) && kn();
1172
- }
1173
- }
1174
- let ve = null, ei = null;
1175
- function Dt(e) {
1176
- const t = ve;
1177
- return ve = e, ei = e && e.type.__scopeId || null, t;
1178
- }
1179
- function wr(e, t = ve, s) {
1180
- if (!t || e._n)
1181
- return e;
1182
- const n = (...i) => {
1183
- n._d && on(-1);
1184
- const r = Dt(t);
1185
- let o;
1186
- try {
1187
- o = e(...i);
1188
- } finally {
1189
- Dt(r), n._d && on(1);
1190
- }
1191
- return o;
1192
- };
1193
- return n._n = !0, n._c = !0, n._d = !0, n;
1194
- }
1195
- function Ue(e, t, s, n) {
1196
- const i = e.dirs, r = t && t.dirs;
1197
- for (let o = 0; o < i.length; o++) {
1198
- const l = i[o];
1199
- r && (l.oldValue = r[o].value);
1200
- let c = l.dir[n];
1201
- c && (He(), Ce(c, s, 8, [
1202
- e.el,
1203
- l,
1204
- e,
1205
- t
1206
- ]), Le());
1207
- }
1208
- }
1209
- const Sr = Symbol("_vte"), Cr = (e) => e.__isTeleport;
1210
- function Ds(e, t) {
1211
- e.shapeFlag & 6 && e.component ? (e.transition = t, Ds(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
1212
- }
1213
- /*! #__NO_SIDE_EFFECTS__ */
1214
- // @__NO_SIDE_EFFECTS__
1215
- function Tr(e, t) {
1216
- return R(e) ? (
1217
- // #8236: extend call and options.name access are considered side-effects
1218
- // by Rollup, so we have to wrap it in a pure-annotated IIFE.
1219
- Y({ name: e.name }, t, { setup: e })
1220
- ) : e;
1221
- }
1222
- function ti(e) {
1223
- e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0];
1224
- }
1225
- function jt(e, t, s, n, i = !1) {
1226
- if (O(e)) {
1227
- e.forEach(
1228
- (F, I) => jt(
1229
- F,
1230
- t && (O(t) ? t[I] : t),
1231
- s,
1232
- n,
1233
- i
1234
- )
1235
- );
1236
- return;
1237
- }
1238
- if (ht(n) && !i) {
1239
- n.shapeFlag & 512 && n.type.__asyncResolved && n.component.subTree.component && jt(e, t, s, n.component.subTree);
1240
- return;
1241
- }
1242
- const r = n.shapeFlag & 4 ? $s(n.component) : n.el, o = i ? null : r, { i: l, r: c } = e, d = t && t.r, a = l.refs === V ? l.refs = {} : l.refs, p = l.setupState, S = D(p), C = p === V ? () => !1 : (F) => N(S, F);
1243
- if (d != null && d !== c && (G(d) ? (a[d] = null, C(d) && (p[d] = null)) : Q(d) && (d.value = null)), R(c))
1244
- xt(c, l, 12, [o, a]);
1245
- else {
1246
- const F = G(c), I = Q(c);
1247
- if (F || I) {
1248
- const z = () => {
1249
- if (e.f) {
1250
- const H = F ? C(c) ? p[c] : a[c] : c.value;
1251
- i ? O(H) && ws(H, r) : O(H) ? H.includes(r) || H.push(r) : F ? (a[c] = [r], C(c) && (p[c] = a[c])) : (c.value = [r], e.k && (a[e.k] = c.value));
1252
- } else F ? (a[c] = o, C(c) && (p[c] = o)) : I && (c.value = o, e.k && (a[e.k] = o));
1253
- };
1254
- o ? (z.id = -1, oe(z, s)) : z();
1255
- }
1256
- }
1257
- }
1258
- Bt().requestIdleCallback;
1259
- Bt().cancelIdleCallback;
1260
- const ht = (e) => !!e.type.__asyncLoader, si = (e) => e.type.__isKeepAlive;
1261
- function Er(e, t) {
1262
- ni(e, "a", t);
1263
- }
1264
- function Ar(e, t) {
1265
- ni(e, "da", t);
1266
- }
1267
- function ni(e, t, s = se) {
1268
- const n = e.__wdc || (e.__wdc = () => {
1269
- let i = s;
1270
- for (; i; ) {
1271
- if (i.isDeactivated)
1272
- return;
1273
- i = i.parent;
1274
- }
1275
- return e();
1276
- });
1277
- if (Gt(t, n, s), s) {
1278
- let i = s.parent;
1279
- for (; i && i.parent; )
1280
- si(i.parent.vnode) && Pr(n, t, s, i), i = i.parent;
1281
- }
1282
- }
1283
- function Pr(e, t, s, n) {
1284
- const i = Gt(
1285
- t,
1286
- e,
1287
- n,
1288
- !0
1289
- /* prepend */
1290
- );
1291
- ii(() => {
1292
- ws(n[t], i);
1293
- }, s);
1294
- }
1295
- function Gt(e, t, s = se, n = !1) {
1296
- if (s) {
1297
- const i = s[e] || (s[e] = []), r = t.__weh || (t.__weh = (...o) => {
1298
- He();
1299
- const l = vt(s), c = Ce(t, s, e, o);
1300
- return l(), Le(), c;
1301
- });
1302
- return n ? i.unshift(r) : i.push(r), r;
1303
- }
1304
- }
1305
- const Oe = (e) => (t, s = se) => {
1306
- (!yt || e === "sp") && Gt(e, (...n) => t(...n), s);
1307
- }, Or = Oe("bm"), Rr = Oe("m"), Mr = Oe(
1308
- "bu"
1309
- ), Ir = Oe("u"), Fr = Oe(
1310
- "bum"
1311
- ), ii = Oe("um"), Nr = Oe(
1312
- "sp"
1313
- ), Dr = Oe("rtg"), jr = Oe("rtc");
1314
- function Hr(e, t = se) {
1315
- Gt("ec", e, t);
1316
- }
1317
- const Lr = Symbol.for("v-ndc");
1318
- function cl(e, t, s, n) {
1319
- let i;
1320
- const r = s, o = O(e);
1321
- if (o || G(e)) {
1322
- const l = o && Qe(e);
1323
- let c = !1;
1324
- l && (c = !ue(e), e = Wt(e)), i = new Array(e.length);
1325
- for (let d = 0, a = e.length; d < a; d++)
1326
- i[d] = t(
1327
- c ? Z(e[d]) : e[d],
1328
- d,
1329
- void 0,
1330
- r
1331
- );
1332
- } else if (typeof e == "number") {
1333
- i = new Array(e);
1334
- for (let l = 0; l < e; l++)
1335
- i[l] = t(l + 1, l, void 0, r);
1336
- } else if (B(e))
1337
- if (e[Symbol.iterator])
1338
- i = Array.from(
1339
- e,
1340
- (l, c) => t(l, c, void 0, r)
1341
- );
1342
- else {
1343
- const l = Object.keys(e);
1344
- i = new Array(l.length);
1345
- for (let c = 0, d = l.length; c < d; c++) {
1346
- const a = l[c];
1347
- i[c] = t(e[a], a, c, r);
1348
- }
1349
- }
1350
- else
1351
- i = [];
1352
- return i;
1353
- }
1354
- const ps = (e) => e ? Ei(e) ? $s(e) : ps(e.parent) : null, dt = (
1355
- // Move PURE marker to new line to workaround compiler discarding it
1356
- // due to type annotation
1357
- /* @__PURE__ */ Y(/* @__PURE__ */ Object.create(null), {
1358
- $: (e) => e,
1359
- $el: (e) => e.vnode.el,
1360
- $data: (e) => e.data,
1361
- $props: (e) => e.props,
1362
- $attrs: (e) => e.attrs,
1363
- $slots: (e) => e.slots,
1364
- $refs: (e) => e.refs,
1365
- $parent: (e) => ps(e.parent),
1366
- $root: (e) => ps(e.root),
1367
- $host: (e) => e.ce,
1368
- $emit: (e) => e.emit,
1369
- $options: (e) => oi(e),
1370
- $forceUpdate: (e) => e.f || (e.f = () => {
1371
- Ns(e.update);
1372
- }),
1373
- $nextTick: (e) => e.n || (e.n = Xn.bind(e.proxy)),
1374
- $watch: (e) => oo.bind(e)
1375
- })
1376
- ), ns = (e, t) => e !== V && !e.__isScriptSetup && N(e, t), $r = {
1377
- get({ _: e }, t) {
1378
- if (t === "__v_skip")
1379
- return !0;
1380
- const { ctx: s, setupState: n, data: i, props: r, accessCache: o, type: l, appContext: c } = e;
1381
- let d;
1382
- if (t[0] !== "$") {
1383
- const C = o[t];
1384
- if (C !== void 0)
1385
- switch (C) {
1386
- case 1:
1387
- return n[t];
1388
- case 2:
1389
- return i[t];
1390
- case 4:
1391
- return s[t];
1392
- case 3:
1393
- return r[t];
1394
- }
1395
- else {
1396
- if (ns(n, t))
1397
- return o[t] = 1, n[t];
1398
- if (i !== V && N(i, t))
1399
- return o[t] = 2, i[t];
1400
- if (
1401
- // only cache other properties when instance has declared (thus stable)
1402
- // props
1403
- (d = e.propsOptions[0]) && N(d, t)
1404
- )
1405
- return o[t] = 3, r[t];
1406
- if (s !== V && N(s, t))
1407
- return o[t] = 4, s[t];
1408
- gs && (o[t] = 0);
1409
- }
1410
- }
1411
- const a = dt[t];
1412
- let p, S;
1413
- if (a)
1414
- return t === "$attrs" && X(e.attrs, "get", ""), a(e);
1415
- if (
1416
- // css module (injected by vue-loader)
1417
- (p = l.__cssModules) && (p = p[t])
1418
- )
1419
- return p;
1420
- if (s !== V && N(s, t))
1421
- return o[t] = 4, s[t];
1422
- if (
1423
- // global properties
1424
- S = c.config.globalProperties, N(S, t)
1425
- )
1426
- return S[t];
1427
- },
1428
- set({ _: e }, t, s) {
1429
- const { data: n, setupState: i, ctx: r } = e;
1430
- return ns(i, t) ? (i[t] = s, !0) : n !== V && N(n, t) ? (n[t] = s, !0) : N(e.props, t) || t[0] === "$" && t.slice(1) in e ? !1 : (r[t] = s, !0);
1431
- },
1432
- has({
1433
- _: { data: e, setupState: t, accessCache: s, ctx: n, appContext: i, propsOptions: r }
1434
- }, o) {
1435
- let l;
1436
- return !!s[o] || e !== V && N(e, o) || ns(t, o) || (l = r[0]) && N(l, o) || N(n, o) || N(dt, o) || N(i.config.globalProperties, o);
1437
- },
1438
- defineProperty(e, t, s) {
1439
- return s.get != null ? e._.accessCache[t] = 0 : N(s, "value") && this.set(e, t, s.value, null), Reflect.defineProperty(e, t, s);
1440
- }
1441
- };
1442
- function Zs(e) {
1443
- return O(e) ? e.reduce(
1444
- (t, s) => (t[s] = null, t),
1445
- {}
1446
- ) : e;
1447
- }
1448
- let gs = !0;
1449
- function Kr(e) {
1450
- const t = oi(e), s = e.proxy, n = e.ctx;
1451
- gs = !1, t.beforeCreate && Qs(t.beforeCreate, e, "bc");
1452
- const {
1453
- // state
1454
- data: i,
1455
- computed: r,
1456
- methods: o,
1457
- watch: l,
1458
- provide: c,
1459
- inject: d,
1460
- // lifecycle
1461
- created: a,
1462
- beforeMount: p,
1463
- mounted: S,
1464
- beforeUpdate: C,
1465
- updated: F,
1466
- activated: I,
1467
- deactivated: z,
1468
- beforeDestroy: H,
1469
- beforeUnmount: W,
1470
- destroyed: q,
1471
- unmounted: A,
1472
- render: J,
1473
- renderTracked: Re,
1474
- renderTriggered: de,
1475
- errorCaptured: Me,
1476
- serverPrefetch: wt,
1477
- // public API
1478
- expose: $e,
1479
- inheritAttrs: st,
1480
- // assets
1481
- components: St,
1482
- directives: Ct,
1483
- filters: zt
1484
- } = t;
1485
- if (d && Vr(d, n, null), o)
1486
- for (const U in o) {
1487
- const L = o[U];
1488
- R(L) && (n[U] = L.bind(s));
1489
- }
1490
- if (i) {
1491
- const U = i.call(s, s);
1492
- B(U) && (e.data = Ms(U));
1493
- }
1494
- if (gs = !0, r)
1495
- for (const U in r) {
1496
- const L = r[U], Ke = R(L) ? L.bind(s, s) : R(L.get) ? L.get.bind(s, s) : we, Tt = !R(L) && R(L.set) ? L.set.bind(s) : we, Ve = Ro({
1497
- get: Ke,
1498
- set: Tt
1499
- });
1500
- Object.defineProperty(n, U, {
1501
- enumerable: !0,
1502
- configurable: !0,
1503
- get: () => Ve.value,
1504
- set: (pe) => Ve.value = pe
1505
- });
1506
- }
1507
- if (l)
1508
- for (const U in l)
1509
- ri(l[U], n, s, U);
1510
- if (c) {
1511
- const U = R(c) ? c.call(s) : c;
1512
- Reflect.ownKeys(U).forEach((L) => {
1513
- Jr(L, U[L]);
1514
- });
1515
- }
1516
- a && Qs(a, e, "c");
1517
- function k(U, L) {
1518
- O(L) ? L.forEach((Ke) => U(Ke.bind(s))) : L && U(L.bind(s));
1519
- }
1520
- if (k(Or, p), k(Rr, S), k(Mr, C), k(Ir, F), k(Er, I), k(Ar, z), k(Hr, Me), k(jr, Re), k(Dr, de), k(Fr, W), k(ii, A), k(Nr, wt), O($e))
1521
- if ($e.length) {
1522
- const U = e.exposed || (e.exposed = {});
1523
- $e.forEach((L) => {
1524
- Object.defineProperty(U, L, {
1525
- get: () => s[L],
1526
- set: (Ke) => s[L] = Ke
1527
- });
1528
- });
1529
- } else e.exposed || (e.exposed = {});
1530
- J && e.render === we && (e.render = J), st != null && (e.inheritAttrs = st), St && (e.components = St), Ct && (e.directives = Ct), wt && ti(e);
1531
- }
1532
- function Vr(e, t, s = we) {
1533
- O(e) && (e = _s(e));
1534
- for (const n in e) {
1535
- const i = e[n];
1536
- let r;
1537
- B(i) ? "default" in i ? r = Rt(
1538
- i.from || n,
1539
- i.default,
1540
- !0
1541
- ) : r = Rt(i.from || n) : r = Rt(i), Q(r) ? Object.defineProperty(t, n, {
1542
- enumerable: !0,
1543
- configurable: !0,
1544
- get: () => r.value,
1545
- set: (o) => r.value = o
1546
- }) : t[n] = r;
1547
- }
1548
- }
1549
- function Qs(e, t, s) {
1550
- Ce(
1551
- O(e) ? e.map((n) => n.bind(t.proxy)) : e.bind(t.proxy),
1552
- t,
1553
- s
1554
- );
1555
- }
1556
- function ri(e, t, s, n) {
1557
- let i = n.includes(".") ? yi(s, n) : () => s[n];
1558
- if (G(e)) {
1559
- const r = t[e];
1560
- R(r) && rs(i, r);
1561
- } else if (R(e))
1562
- rs(i, e.bind(s));
1563
- else if (B(e))
1564
- if (O(e))
1565
- e.forEach((r) => ri(r, t, s, n));
1566
- else {
1567
- const r = R(e.handler) ? e.handler.bind(s) : t[e.handler];
1568
- R(r) && rs(i, r, e);
1569
- }
1570
- }
1571
- function oi(e) {
1572
- const t = e.type, { mixins: s, extends: n } = t, {
1573
- mixins: i,
1574
- optionsCache: r,
1575
- config: { optionMergeStrategies: o }
1576
- } = e.appContext, l = r.get(t);
1577
- let c;
1578
- return l ? c = l : !i.length && !s && !n ? c = t : (c = {}, i.length && i.forEach(
1579
- (d) => Ht(c, d, o, !0)
1580
- ), Ht(c, t, o)), B(t) && r.set(t, c), c;
1581
- }
1582
- function Ht(e, t, s, n = !1) {
1583
- const { mixins: i, extends: r } = t;
1584
- r && Ht(e, r, s, !0), i && i.forEach(
1585
- (o) => Ht(e, o, s, !0)
1586
- );
1587
- for (const o in t)
1588
- if (!(n && o === "expose")) {
1589
- const l = Ur[o] || s && s[o];
1590
- e[o] = l ? l(e[o], t[o]) : t[o];
1591
- }
1592
- return e;
1593
- }
1594
- const Ur = {
1595
- data: ks,
1596
- props: en,
1597
- emits: en,
1598
- // objects
1599
- methods: ft,
1600
- computed: ft,
1601
- // lifecycle
1602
- beforeCreate: ee,
1603
- created: ee,
1604
- beforeMount: ee,
1605
- mounted: ee,
1606
- beforeUpdate: ee,
1607
- updated: ee,
1608
- beforeDestroy: ee,
1609
- beforeUnmount: ee,
1610
- destroyed: ee,
1611
- unmounted: ee,
1612
- activated: ee,
1613
- deactivated: ee,
1614
- errorCaptured: ee,
1615
- serverPrefetch: ee,
1616
- // assets
1617
- components: ft,
1618
- directives: ft,
1619
- // watch
1620
- watch: Wr,
1621
- // provide / inject
1622
- provide: ks,
1623
- inject: Br
1624
- };
1625
- function ks(e, t) {
1626
- return t ? e ? function() {
1627
- return Y(
1628
- R(e) ? e.call(this, this) : e,
1629
- R(t) ? t.call(this, this) : t
1630
- );
1631
- } : t : e;
1632
- }
1633
- function Br(e, t) {
1634
- return ft(_s(e), _s(t));
1635
- }
1636
- function _s(e) {
1637
- if (O(e)) {
1638
- const t = {};
1639
- for (let s = 0; s < e.length; s++)
1640
- t[e[s]] = e[s];
1641
- return t;
1642
- }
1643
- return e;
1644
- }
1645
- function ee(e, t) {
1646
- return e ? [...new Set([].concat(e, t))] : t;
1647
- }
1648
- function ft(e, t) {
1649
- return e ? Y(/* @__PURE__ */ Object.create(null), e, t) : t;
1650
- }
1651
- function en(e, t) {
1652
- return e ? O(e) && O(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : Y(
1653
- /* @__PURE__ */ Object.create(null),
1654
- Zs(e),
1655
- Zs(t ?? {})
1656
- ) : t;
1657
- }
1658
- function Wr(e, t) {
1659
- if (!e) return t;
1660
- if (!t) return e;
1661
- const s = Y(/* @__PURE__ */ Object.create(null), e);
1662
- for (const n in t)
1663
- s[n] = ee(e[n], t[n]);
1664
- return s;
1665
- }
1666
- function li() {
1667
- return {
1668
- app: null,
1669
- config: {
1670
- isNativeTag: Ii,
1671
- performance: !1,
1672
- globalProperties: {},
1673
- optionMergeStrategies: {},
1674
- errorHandler: void 0,
1675
- warnHandler: void 0,
1676
- compilerOptions: {}
1677
- },
1678
- mixins: [],
1679
- components: {},
1680
- directives: {},
1681
- provides: /* @__PURE__ */ Object.create(null),
1682
- optionsCache: /* @__PURE__ */ new WeakMap(),
1683
- propsCache: /* @__PURE__ */ new WeakMap(),
1684
- emitsCache: /* @__PURE__ */ new WeakMap()
1685
- };
1686
- }
1687
- let qr = 0;
1688
- function Gr(e, t) {
1689
- return function(n, i = null) {
1690
- R(n) || (n = Y({}, n)), i != null && !B(i) && (i = null);
1691
- const r = li(), o = /* @__PURE__ */ new WeakSet(), l = [];
1692
- let c = !1;
1693
- const d = r.app = {
1694
- _uid: qr++,
1695
- _component: n,
1696
- _props: i,
1697
- _container: null,
1698
- _context: r,
1699
- _instance: null,
1700
- version: Mo,
1701
- get config() {
1702
- return r.config;
1703
- },
1704
- set config(a) {
1705
- },
1706
- use(a, ...p) {
1707
- return o.has(a) || (a && R(a.install) ? (o.add(a), a.install(d, ...p)) : R(a) && (o.add(a), a(d, ...p))), d;
1708
- },
1709
- mixin(a) {
1710
- return r.mixins.includes(a) || r.mixins.push(a), d;
1711
- },
1712
- component(a, p) {
1713
- return p ? (r.components[a] = p, d) : r.components[a];
1714
- },
1715
- directive(a, p) {
1716
- return p ? (r.directives[a] = p, d) : r.directives[a];
1717
- },
1718
- mount(a, p, S) {
1719
- if (!c) {
1720
- const C = d._ceVNode || Se(n, i);
1721
- return C.appContext = r, S === !0 ? S = "svg" : S === !1 && (S = void 0), e(C, a, S), c = !0, d._container = a, a.__vue_app__ = d, $s(C.component);
1722
- }
1723
- },
1724
- onUnmount(a) {
1725
- l.push(a);
1726
- },
1727
- unmount() {
1728
- c && (Ce(
1729
- l,
1730
- d._instance,
1731
- 16
1732
- ), e(null, d._container), delete d._container.__vue_app__);
1733
- },
1734
- provide(a, p) {
1735
- return r.provides[a] = p, d;
1736
- },
1737
- runWithContext(a) {
1738
- const p = et;
1739
- et = d;
1740
- try {
1741
- return a();
1742
- } finally {
1743
- et = p;
1744
- }
1745
- }
1746
- };
1747
- return d;
1748
- };
1749
- }
1750
- let et = null;
1751
- function Jr(e, t) {
1752
- if (se) {
1753
- let s = se.provides;
1754
- const n = se.parent && se.parent.provides;
1755
- n === s && (s = se.provides = Object.create(n)), s[e] = t;
1756
- }
1757
- }
1758
- function Rt(e, t, s = !1) {
1759
- const n = se || ve;
1760
- if (n || et) {
1761
- const i = et ? et._context.provides : n ? n.parent == null ? n.vnode.appContext && n.vnode.appContext.provides : n.parent.provides : void 0;
1762
- if (i && e in i)
1763
- return i[e];
1764
- if (arguments.length > 1)
1765
- return s && R(t) ? t.call(n && n.proxy) : t;
1766
- }
1767
- }
1768
- const fi = {}, ci = () => Object.create(fi), ui = (e) => Object.getPrototypeOf(e) === fi;
1769
- function Yr(e, t, s, n = !1) {
1770
- const i = {}, r = ci();
1771
- e.propsDefaults = /* @__PURE__ */ Object.create(null), ai(e, t, i, r);
1772
- for (const o in e.propsOptions[0])
1773
- o in i || (i[o] = void 0);
1774
- s ? e.props = n ? i : ar(i) : e.type.props ? e.props = i : e.props = r, e.attrs = r;
1775
- }
1776
- function zr(e, t, s, n) {
1777
- const {
1778
- props: i,
1779
- attrs: r,
1780
- vnode: { patchFlag: o }
1781
- } = e, l = D(i), [c] = e.propsOptions;
1782
- let d = !1;
1783
- if (
1784
- // always force full diff in dev
1785
- // - #1942 if hmr is enabled with sfc component
1786
- // - vite#872 non-sfc component used by sfc component
1787
- (n || o > 0) && !(o & 16)
1788
- ) {
1789
- if (o & 8) {
1790
- const a = e.vnode.dynamicProps;
1791
- for (let p = 0; p < a.length; p++) {
1792
- let S = a[p];
1793
- if (Jt(e.emitsOptions, S))
1794
- continue;
1795
- const C = t[S];
1796
- if (c)
1797
- if (N(r, S))
1798
- C !== r[S] && (r[S] = C, d = !0);
1799
- else {
1800
- const F = ae(S);
1801
- i[F] = ms(
1802
- c,
1803
- l,
1804
- F,
1805
- C,
1806
- e,
1807
- !1
1808
- );
1809
- }
1810
- else
1811
- C !== r[S] && (r[S] = C, d = !0);
1812
- }
1813
- }
1814
- } else {
1815
- ai(e, t, i, r) && (d = !0);
1816
- let a;
1817
- for (const p in l)
1818
- (!t || // for camelCase
1819
- !N(t, p) && // it's possible the original props was passed in as kebab-case
1820
- // and converted to camelCase (#955)
1821
- ((a = fe(p)) === p || !N(t, a))) && (c ? s && // for camelCase
1822
- (s[p] !== void 0 || // for kebab-case
1823
- s[a] !== void 0) && (i[p] = ms(
1824
- c,
1825
- l,
1826
- p,
1827
- void 0,
1828
- e,
1829
- !0
1830
- )) : delete i[p]);
1831
- if (r !== l)
1832
- for (const p in r)
1833
- (!t || !N(t, p)) && (delete r[p], d = !0);
1834
- }
1835
- d && Pe(e.attrs, "set", "");
1836
- }
1837
- function ai(e, t, s, n) {
1838
- const [i, r] = e.propsOptions;
1839
- let o = !1, l;
1840
- if (t)
1841
- for (let c in t) {
1842
- if (ct(c))
1843
- continue;
1844
- const d = t[c];
1845
- let a;
1846
- i && N(i, a = ae(c)) ? !r || !r.includes(a) ? s[a] = d : (l || (l = {}))[a] = d : Jt(e.emitsOptions, c) || (!(c in n) || d !== n[c]) && (n[c] = d, o = !0);
1847
- }
1848
- if (r) {
1849
- const c = D(s), d = l || V;
1850
- for (let a = 0; a < r.length; a++) {
1851
- const p = r[a];
1852
- s[p] = ms(
1853
- i,
1854
- c,
1855
- p,
1856
- d[p],
1857
- e,
1858
- !N(d, p)
1859
- );
1860
- }
1861
- }
1862
- return o;
1863
- }
1864
- function ms(e, t, s, n, i, r) {
1865
- const o = e[s];
1866
- if (o != null) {
1867
- const l = N(o, "default");
1868
- if (l && n === void 0) {
1869
- const c = o.default;
1870
- if (o.type !== Function && !o.skipFactory && R(c)) {
1871
- const { propsDefaults: d } = i;
1872
- if (s in d)
1873
- n = d[s];
1874
- else {
1875
- const a = vt(i);
1876
- n = d[s] = c.call(
1877
- null,
1878
- t
1879
- ), a();
1880
- }
1881
- } else
1882
- n = c;
1883
- i.ce && i.ce._setProp(s, n);
1884
- }
1885
- o[
1886
- 0
1887
- /* shouldCast */
1888
- ] && (r && !l ? n = !1 : o[
1889
- 1
1890
- /* shouldCastTrue */
1891
- ] && (n === "" || n === fe(s)) && (n = !0));
1892
- }
1893
- return n;
1894
- }
1895
- const Xr = /* @__PURE__ */ new WeakMap();
1896
- function hi(e, t, s = !1) {
1897
- const n = s ? Xr : t.propsCache, i = n.get(e);
1898
- if (i)
1899
- return i;
1900
- const r = e.props, o = {}, l = [];
1901
- let c = !1;
1902
- if (!R(e)) {
1903
- const a = (p) => {
1904
- c = !0;
1905
- const [S, C] = hi(p, t, !0);
1906
- Y(o, S), C && l.push(...C);
1907
- };
1908
- !s && t.mixins.length && t.mixins.forEach(a), e.extends && a(e.extends), e.mixins && e.mixins.forEach(a);
1909
- }
1910
- if (!r && !c)
1911
- return B(e) && n.set(e, Xe), Xe;
1912
- if (O(r))
1913
- for (let a = 0; a < r.length; a++) {
1914
- const p = ae(r[a]);
1915
- tn(p) && (o[p] = V);
1916
- }
1917
- else if (r)
1918
- for (const a in r) {
1919
- const p = ae(a);
1920
- if (tn(p)) {
1921
- const S = r[a], C = o[p] = O(S) || R(S) ? { type: S } : Y({}, S), F = C.type;
1922
- let I = !1, z = !0;
1923
- if (O(F))
1924
- for (let H = 0; H < F.length; ++H) {
1925
- const W = F[H], q = R(W) && W.name;
1926
- if (q === "Boolean") {
1927
- I = !0;
1928
- break;
1929
- } else q === "String" && (z = !1);
1930
- }
1931
- else
1932
- I = R(F) && F.name === "Boolean";
1933
- C[
1934
- 0
1935
- /* shouldCast */
1936
- ] = I, C[
1937
- 1
1938
- /* shouldCastTrue */
1939
- ] = z, (I || N(C, "default")) && l.push(p);
1940
- }
1941
- }
1942
- const d = [o, l];
1943
- return B(e) && n.set(e, d), d;
1944
- }
1945
- function tn(e) {
1946
- return e[0] !== "$" && !ct(e);
1947
- }
1948
- const di = (e) => e[0] === "_" || e === "$stable", js = (e) => O(e) ? e.map(xe) : [xe(e)], Zr = (e, t, s) => {
1949
- if (t._n)
1950
- return t;
1951
- const n = wr((...i) => js(t(...i)), s);
1952
- return n._c = !1, n;
1953
- }, pi = (e, t, s) => {
1954
- const n = e._ctx;
1955
- for (const i in e) {
1956
- if (di(i)) continue;
1957
- const r = e[i];
1958
- if (R(r))
1959
- t[i] = Zr(i, r, n);
1960
- else if (r != null) {
1961
- const o = js(r);
1962
- t[i] = () => o;
1963
- }
1964
- }
1965
- }, gi = (e, t) => {
1966
- const s = js(t);
1967
- e.slots.default = () => s;
1968
- }, _i = (e, t, s) => {
1969
- for (const n in t)
1970
- (s || n !== "_") && (e[n] = t[n]);
1971
- }, Qr = (e, t, s) => {
1972
- const n = e.slots = ci();
1973
- if (e.vnode.shapeFlag & 32) {
1974
- const i = t._;
1975
- i ? (_i(n, t, s), s && An(n, "_", i, !0)) : pi(t, n);
1976
- } else t && gi(e, t);
1977
- }, kr = (e, t, s) => {
1978
- const { vnode: n, slots: i } = e;
1979
- let r = !0, o = V;
1980
- if (n.shapeFlag & 32) {
1981
- const l = t._;
1982
- l ? s && l === 1 ? r = !1 : _i(i, t, s) : (r = !t.$stable, pi(t, i)), o = t;
1983
- } else t && (gi(e, t), o = { default: 1 });
1984
- if (r)
1985
- for (const l in i)
1986
- !di(l) && o[l] == null && delete i[l];
1987
- }, oe = po;
1988
- function eo(e) {
1989
- return to(e);
1990
- }
1991
- function to(e, t) {
1992
- const s = Bt();
1993
- s.__VUE__ = !0;
1994
- const {
1995
- insert: n,
1996
- remove: i,
1997
- patchProp: r,
1998
- createElement: o,
1999
- createText: l,
2000
- createComment: c,
2001
- setText: d,
2002
- setElementText: a,
2003
- parentNode: p,
2004
- nextSibling: S,
2005
- setScopeId: C = we,
2006
- insertStaticContent: F
2007
- } = e, I = (f, u, h, m = null, g = null, _ = null, v = void 0, x = null, y = !!u.dynamicChildren) => {
2008
- if (f === u)
2009
- return;
2010
- f && !lt(f, u) && (m = Et(f), pe(f, g, _, !0), f = null), u.patchFlag === -2 && (y = !1, u.dynamicChildren = null);
2011
- const { type: b, ref: E, shapeFlag: w } = u;
2012
- switch (b) {
2013
- case Yt:
2014
- z(f, u, h, m);
2015
- break;
2016
- case Je:
2017
- H(f, u, h, m);
2018
- break;
2019
- case os:
2020
- f == null && W(u, h, m, v);
2021
- break;
2022
- case Ae:
2023
- St(
2024
- f,
2025
- u,
2026
- h,
2027
- m,
2028
- g,
2029
- _,
2030
- v,
2031
- x,
2032
- y
2033
- );
2034
- break;
2035
- default:
2036
- w & 1 ? J(
2037
- f,
2038
- u,
2039
- h,
2040
- m,
2041
- g,
2042
- _,
2043
- v,
2044
- x,
2045
- y
2046
- ) : w & 6 ? Ct(
2047
- f,
2048
- u,
2049
- h,
2050
- m,
2051
- g,
2052
- _,
2053
- v,
2054
- x,
2055
- y
2056
- ) : (w & 64 || w & 128) && b.process(
2057
- f,
2058
- u,
2059
- h,
2060
- m,
2061
- g,
2062
- _,
2063
- v,
2064
- x,
2065
- y,
2066
- it
2067
- );
2068
- }
2069
- E != null && g && jt(E, f && f.ref, _, u || f, !u);
2070
- }, z = (f, u, h, m) => {
2071
- if (f == null)
2072
- n(
2073
- u.el = l(u.children),
2074
- h,
2075
- m
2076
- );
2077
- else {
2078
- const g = u.el = f.el;
2079
- u.children !== f.children && d(g, u.children);
2080
- }
2081
- }, H = (f, u, h, m) => {
2082
- f == null ? n(
2083
- u.el = c(u.children || ""),
2084
- h,
2085
- m
2086
- ) : u.el = f.el;
2087
- }, W = (f, u, h, m) => {
2088
- [f.el, f.anchor] = F(
2089
- f.children,
2090
- u,
2091
- h,
2092
- m,
2093
- f.el,
2094
- f.anchor
2095
- );
2096
- }, q = ({ el: f, anchor: u }, h, m) => {
2097
- let g;
2098
- for (; f && f !== u; )
2099
- g = S(f), n(f, h, m), f = g;
2100
- n(u, h, m);
2101
- }, A = ({ el: f, anchor: u }) => {
2102
- let h;
2103
- for (; f && f !== u; )
2104
- h = S(f), i(f), f = h;
2105
- i(u);
2106
- }, J = (f, u, h, m, g, _, v, x, y) => {
2107
- u.type === "svg" ? v = "svg" : u.type === "math" && (v = "mathml"), f == null ? Re(
2108
- u,
2109
- h,
2110
- m,
2111
- g,
2112
- _,
2113
- v,
2114
- x,
2115
- y
2116
- ) : wt(
2117
- f,
2118
- u,
2119
- g,
2120
- _,
2121
- v,
2122
- x,
2123
- y
2124
- );
2125
- }, Re = (f, u, h, m, g, _, v, x) => {
2126
- let y, b;
2127
- const { props: E, shapeFlag: w, transition: T, dirs: P } = f;
2128
- if (y = f.el = o(
2129
- f.type,
2130
- _,
2131
- E && E.is,
2132
- E
2133
- ), w & 8 ? a(y, f.children) : w & 16 && Me(
2134
- f.children,
2135
- y,
2136
- null,
2137
- m,
2138
- g,
2139
- is(f, _),
2140
- v,
2141
- x
2142
- ), P && Ue(f, null, m, "created"), de(y, f, f.scopeId, v, m), E) {
2143
- for (const $ in E)
2144
- $ !== "value" && !ct($) && r(y, $, null, E[$], _, m);
2145
- "value" in E && r(y, "value", null, E.value, _), (b = E.onVnodeBeforeMount) && be(b, m, f);
2146
- }
2147
- P && Ue(f, null, m, "beforeMount");
2148
- const M = so(g, T);
2149
- M && T.beforeEnter(y), n(y, u, h), ((b = E && E.onVnodeMounted) || M || P) && oe(() => {
2150
- b && be(b, m, f), M && T.enter(y), P && Ue(f, null, m, "mounted");
2151
- }, g);
2152
- }, de = (f, u, h, m, g) => {
2153
- if (h && C(f, h), m)
2154
- for (let _ = 0; _ < m.length; _++)
2155
- C(f, m[_]);
2156
- if (g) {
2157
- let _ = g.subTree;
2158
- if (u === _ || vi(_.type) && (_.ssContent === u || _.ssFallback === u)) {
2159
- const v = g.vnode;
2160
- de(
2161
- f,
2162
- v,
2163
- v.scopeId,
2164
- v.slotScopeIds,
2165
- g.parent
2166
- );
2167
- }
2168
- }
2169
- }, Me = (f, u, h, m, g, _, v, x, y = 0) => {
2170
- for (let b = y; b < f.length; b++) {
2171
- const E = f[b] = x ? Fe(f[b]) : xe(f[b]);
2172
- I(
2173
- null,
2174
- E,
2175
- u,
2176
- h,
2177
- m,
2178
- g,
2179
- _,
2180
- v,
2181
- x
2182
- );
2183
- }
2184
- }, wt = (f, u, h, m, g, _, v) => {
2185
- const x = u.el = f.el;
2186
- let { patchFlag: y, dynamicChildren: b, dirs: E } = u;
2187
- y |= f.patchFlag & 16;
2188
- const w = f.props || V, T = u.props || V;
2189
- let P;
2190
- if (h && Be(h, !1), (P = T.onVnodeBeforeUpdate) && be(P, h, u, f), E && Ue(u, f, h, "beforeUpdate"), h && Be(h, !0), (w.innerHTML && T.innerHTML == null || w.textContent && T.textContent == null) && a(x, ""), b ? $e(
2191
- f.dynamicChildren,
2192
- b,
2193
- x,
2194
- h,
2195
- m,
2196
- is(u, g),
2197
- _
2198
- ) : v || L(
2199
- f,
2200
- u,
2201
- x,
2202
- null,
2203
- h,
2204
- m,
2205
- is(u, g),
2206
- _,
2207
- !1
2208
- ), y > 0) {
2209
- if (y & 16)
2210
- st(x, w, T, h, g);
2211
- else if (y & 2 && w.class !== T.class && r(x, "class", null, T.class, g), y & 4 && r(x, "style", w.style, T.style, g), y & 8) {
2212
- const M = u.dynamicProps;
2213
- for (let $ = 0; $ < M.length; $++) {
2214
- const j = M[$], ie = w[j], ne = T[j];
2215
- (ne !== ie || j === "value") && r(x, j, ie, ne, g, h);
2216
- }
2217
- }
2218
- y & 1 && f.children !== u.children && a(x, u.children);
2219
- } else !v && b == null && st(x, w, T, h, g);
2220
- ((P = T.onVnodeUpdated) || E) && oe(() => {
2221
- P && be(P, h, u, f), E && Ue(u, f, h, "updated");
2222
- }, m);
2223
- }, $e = (f, u, h, m, g, _, v) => {
2224
- for (let x = 0; x < u.length; x++) {
2225
- const y = f[x], b = u[x], E = (
2226
- // oldVNode may be an errored async setup() component inside Suspense
2227
- // which will not have a mounted element
2228
- y.el && // - In the case of a Fragment, we need to provide the actual parent
2229
- // of the Fragment itself so it can move its children.
2230
- (y.type === Ae || // - In the case of different nodes, there is going to be a replacement
2231
- // which also requires the correct parent container
2232
- !lt(y, b) || // - In the case of a component, it could contain anything.
2233
- y.shapeFlag & 70) ? p(y.el) : (
2234
- // In other cases, the parent container is not actually used so we
2235
- // just pass the block element here to avoid a DOM parentNode call.
2236
- h
2237
- )
2238
- );
2239
- I(
2240
- y,
2241
- b,
2242
- E,
2243
- null,
2244
- m,
2245
- g,
2246
- _,
2247
- v,
2248
- !0
2249
- );
2250
- }
2251
- }, st = (f, u, h, m, g) => {
2252
- if (u !== h) {
2253
- if (u !== V)
2254
- for (const _ in u)
2255
- !ct(_) && !(_ in h) && r(
2256
- f,
2257
- _,
2258
- u[_],
2259
- null,
2260
- g,
2261
- m
2262
- );
2263
- for (const _ in h) {
2264
- if (ct(_)) continue;
2265
- const v = h[_], x = u[_];
2266
- v !== x && _ !== "value" && r(f, _, x, v, g, m);
2267
- }
2268
- "value" in h && r(f, "value", u.value, h.value, g);
2269
- }
2270
- }, St = (f, u, h, m, g, _, v, x, y) => {
2271
- const b = u.el = f ? f.el : l(""), E = u.anchor = f ? f.anchor : l("");
2272
- let { patchFlag: w, dynamicChildren: T, slotScopeIds: P } = u;
2273
- P && (x = x ? x.concat(P) : P), f == null ? (n(b, h, m), n(E, h, m), Me(
2274
- // #10007
2275
- // such fragment like `<></>` will be compiled into
2276
- // a fragment which doesn't have a children.
2277
- // In this case fallback to an empty array
2278
- u.children || [],
2279
- h,
2280
- E,
2281
- g,
2282
- _,
2283
- v,
2284
- x,
2285
- y
2286
- )) : w > 0 && w & 64 && T && // #2715 the previous fragment could've been a BAILed one as a result
2287
- // of renderSlot() with no valid children
2288
- f.dynamicChildren ? ($e(
2289
- f.dynamicChildren,
2290
- T,
2291
- h,
2292
- g,
2293
- _,
2294
- v,
2295
- x
2296
- ), // #2080 if the stable fragment has a key, it's a <template v-for> that may
2297
- // get moved around. Make sure all root level vnodes inherit el.
2298
- // #2134 or if it's a component root, it may also get moved around
2299
- // as the component is being moved.
2300
- (u.key != null || g && u === g.subTree) && mi(
2301
- f,
2302
- u,
2303
- !0
2304
- /* shallow */
2305
- )) : L(
2306
- f,
2307
- u,
2308
- h,
2309
- E,
2310
- g,
2311
- _,
2312
- v,
2313
- x,
2314
- y
2315
- );
2316
- }, Ct = (f, u, h, m, g, _, v, x, y) => {
2317
- u.slotScopeIds = x, f == null ? u.shapeFlag & 512 ? g.ctx.activate(
2318
- u,
2319
- h,
2320
- m,
2321
- v,
2322
- y
2323
- ) : zt(
2324
- u,
2325
- h,
2326
- m,
2327
- g,
2328
- _,
2329
- v,
2330
- y
2331
- ) : Vs(f, u, y);
2332
- }, zt = (f, u, h, m, g, _, v) => {
2333
- const x = f.component = Co(
2334
- f,
2335
- m,
2336
- g
2337
- );
2338
- if (si(f) && (x.ctx.renderer = it), To(x, !1, v), x.asyncDep) {
2339
- if (g && g.registerDep(x, k, v), !f.el) {
2340
- const y = x.subTree = Se(Je);
2341
- H(null, y, u, h);
2342
- }
2343
- } else
2344
- k(
2345
- x,
2346
- f,
2347
- u,
2348
- h,
2349
- g,
2350
- _,
2351
- v
2352
- );
2353
- }, Vs = (f, u, h) => {
2354
- const m = u.component = f.component;
2355
- if (ao(f, u, h))
2356
- if (m.asyncDep && !m.asyncResolved) {
2357
- U(m, u, h);
2358
- return;
2359
- } else
2360
- m.next = u, m.update();
2361
- else
2362
- u.el = f.el, m.vnode = u;
2363
- }, k = (f, u, h, m, g, _, v) => {
2364
- const x = () => {
2365
- if (f.isMounted) {
2366
- let { next: w, bu: T, u: P, parent: M, vnode: $ } = f;
2367
- {
2368
- const _e = bi(f);
2369
- if (_e) {
2370
- w && (w.el = $.el, U(f, w, v)), _e.asyncDep.then(() => {
2371
- f.isUnmounted || x();
2372
- });
2373
- return;
2374
- }
2375
- }
2376
- let j = w, ie;
2377
- Be(f, !1), w ? (w.el = $.el, U(f, w, v)) : w = $, T && Qt(T), (ie = w.props && w.props.onVnodeBeforeUpdate) && be(ie, M, w, $), Be(f, !0);
2378
- const ne = nn(f), ge = f.subTree;
2379
- f.subTree = ne, I(
2380
- ge,
2381
- ne,
2382
- // parent may have changed if it's in a teleport
2383
- p(ge.el),
2384
- // anchor may have changed if it's in a fragment
2385
- Et(ge),
2386
- f,
2387
- g,
2388
- _
2389
- ), w.el = ne.el, j === null && ho(f, ne.el), P && oe(P, g), (ie = w.props && w.props.onVnodeUpdated) && oe(
2390
- () => be(ie, M, w, $),
2391
- g
2392
- );
2393
- } else {
2394
- let w;
2395
- const { el: T, props: P } = u, { bm: M, m: $, parent: j, root: ie, type: ne } = f, ge = ht(u);
2396
- Be(f, !1), M && Qt(M), !ge && (w = P && P.onVnodeBeforeMount) && be(w, j, u), Be(f, !0);
2397
- {
2398
- ie.ce && ie.ce._injectChildStyle(ne);
2399
- const _e = f.subTree = nn(f);
2400
- I(
2401
- null,
2402
- _e,
2403
- h,
2404
- m,
2405
- f,
2406
- g,
2407
- _
2408
- ), u.el = _e.el;
2409
- }
2410
- if ($ && oe($, g), !ge && (w = P && P.onVnodeMounted)) {
2411
- const _e = u;
2412
- oe(
2413
- () => be(w, j, _e),
2414
- g
2415
- );
2416
- }
2417
- (u.shapeFlag & 256 || j && ht(j.vnode) && j.vnode.shapeFlag & 256) && f.a && oe(f.a, g), f.isMounted = !0, u = h = m = null;
2418
- }
2419
- };
2420
- f.scope.on();
2421
- const y = f.effect = new Mn(x);
2422
- f.scope.off();
2423
- const b = f.update = y.run.bind(y), E = f.job = y.runIfDirty.bind(y);
2424
- E.i = f, E.id = f.uid, y.scheduler = () => Ns(E), Be(f, !0), b();
2425
- }, U = (f, u, h) => {
2426
- u.component = f;
2427
- const m = f.vnode.props;
2428
- f.vnode = u, f.next = null, zr(f, u.props, m, h), kr(f, u.children, h), He(), Xs(f), Le();
2429
- }, L = (f, u, h, m, g, _, v, x, y = !1) => {
2430
- const b = f && f.children, E = f ? f.shapeFlag : 0, w = u.children, { patchFlag: T, shapeFlag: P } = u;
2431
- if (T > 0) {
2432
- if (T & 128) {
2433
- Tt(
2434
- b,
2435
- w,
2436
- h,
2437
- m,
2438
- g,
2439
- _,
2440
- v,
2441
- x,
2442
- y
2443
- );
2444
- return;
2445
- } else if (T & 256) {
2446
- Ke(
2447
- b,
2448
- w,
2449
- h,
2450
- m,
2451
- g,
2452
- _,
2453
- v,
2454
- x,
2455
- y
2456
- );
2457
- return;
2458
- }
2459
- }
2460
- P & 8 ? (E & 16 && nt(b, g, _), w !== b && a(h, w)) : E & 16 ? P & 16 ? Tt(
2461
- b,
2462
- w,
2463
- h,
2464
- m,
2465
- g,
2466
- _,
2467
- v,
2468
- x,
2469
- y
2470
- ) : nt(b, g, _, !0) : (E & 8 && a(h, ""), P & 16 && Me(
2471
- w,
2472
- h,
2473
- m,
2474
- g,
2475
- _,
2476
- v,
2477
- x,
2478
- y
2479
- ));
2480
- }, Ke = (f, u, h, m, g, _, v, x, y) => {
2481
- f = f || Xe, u = u || Xe;
2482
- const b = f.length, E = u.length, w = Math.min(b, E);
2483
- let T;
2484
- for (T = 0; T < w; T++) {
2485
- const P = u[T] = y ? Fe(u[T]) : xe(u[T]);
2486
- I(
2487
- f[T],
2488
- P,
2489
- h,
2490
- null,
2491
- g,
2492
- _,
2493
- v,
2494
- x,
2495
- y
2496
- );
2497
- }
2498
- b > E ? nt(
2499
- f,
2500
- g,
2501
- _,
2502
- !0,
2503
- !1,
2504
- w
2505
- ) : Me(
2506
- u,
2507
- h,
2508
- m,
2509
- g,
2510
- _,
2511
- v,
2512
- x,
2513
- y,
2514
- w
2515
- );
2516
- }, Tt = (f, u, h, m, g, _, v, x, y) => {
2517
- let b = 0;
2518
- const E = u.length;
2519
- let w = f.length - 1, T = E - 1;
2520
- for (; b <= w && b <= T; ) {
2521
- const P = f[b], M = u[b] = y ? Fe(u[b]) : xe(u[b]);
2522
- if (lt(P, M))
2523
- I(
2524
- P,
2525
- M,
2526
- h,
2527
- null,
2528
- g,
2529
- _,
2530
- v,
2531
- x,
2532
- y
2533
- );
2534
- else
2535
- break;
2536
- b++;
2537
- }
2538
- for (; b <= w && b <= T; ) {
2539
- const P = f[w], M = u[T] = y ? Fe(u[T]) : xe(u[T]);
2540
- if (lt(P, M))
2541
- I(
2542
- P,
2543
- M,
2544
- h,
2545
- null,
2546
- g,
2547
- _,
2548
- v,
2549
- x,
2550
- y
2551
- );
2552
- else
2553
- break;
2554
- w--, T--;
2555
- }
2556
- if (b > w) {
2557
- if (b <= T) {
2558
- const P = T + 1, M = P < E ? u[P].el : m;
2559
- for (; b <= T; )
2560
- I(
2561
- null,
2562
- u[b] = y ? Fe(u[b]) : xe(u[b]),
2563
- h,
2564
- M,
2565
- g,
2566
- _,
2567
- v,
2568
- x,
2569
- y
2570
- ), b++;
2571
- }
2572
- } else if (b > T)
2573
- for (; b <= w; )
2574
- pe(f[b], g, _, !0), b++;
2575
- else {
2576
- const P = b, M = b, $ = /* @__PURE__ */ new Map();
2577
- for (b = M; b <= T; b++) {
2578
- const re = u[b] = y ? Fe(u[b]) : xe(u[b]);
2579
- re.key != null && $.set(re.key, b);
2580
- }
2581
- let j, ie = 0;
2582
- const ne = T - M + 1;
2583
- let ge = !1, _e = 0;
2584
- const rt = new Array(ne);
2585
- for (b = 0; b < ne; b++) rt[b] = 0;
2586
- for (b = P; b <= w; b++) {
2587
- const re = f[b];
2588
- if (ie >= ne) {
2589
- pe(re, g, _, !0);
2590
- continue;
2591
- }
2592
- let me;
2593
- if (re.key != null)
2594
- me = $.get(re.key);
2595
- else
2596
- for (j = M; j <= T; j++)
2597
- if (rt[j - M] === 0 && lt(re, u[j])) {
2598
- me = j;
2599
- break;
2600
- }
2601
- me === void 0 ? pe(re, g, _, !0) : (rt[me - M] = b + 1, me >= _e ? _e = me : ge = !0, I(
2602
- re,
2603
- u[me],
2604
- h,
2605
- null,
2606
- g,
2607
- _,
2608
- v,
2609
- x,
2610
- y
2611
- ), ie++);
2612
- }
2613
- const Ws = ge ? no(rt) : Xe;
2614
- for (j = Ws.length - 1, b = ne - 1; b >= 0; b--) {
2615
- const re = M + b, me = u[re], qs = re + 1 < E ? u[re + 1].el : m;
2616
- rt[b] === 0 ? I(
2617
- null,
2618
- me,
2619
- h,
2620
- qs,
2621
- g,
2622
- _,
2623
- v,
2624
- x,
2625
- y
2626
- ) : ge && (j < 0 || b !== Ws[j] ? Ve(me, h, qs, 2) : j--);
2627
- }
2628
- }
2629
- }, Ve = (f, u, h, m, g = null) => {
2630
- const { el: _, type: v, transition: x, children: y, shapeFlag: b } = f;
2631
- if (b & 6) {
2632
- Ve(f.component.subTree, u, h, m);
2633
- return;
2634
- }
2635
- if (b & 128) {
2636
- f.suspense.move(u, h, m);
2637
- return;
2638
- }
2639
- if (b & 64) {
2640
- v.move(f, u, h, it);
2641
- return;
2642
- }
2643
- if (v === Ae) {
2644
- n(_, u, h);
2645
- for (let w = 0; w < y.length; w++)
2646
- Ve(y[w], u, h, m);
2647
- n(f.anchor, u, h);
2648
- return;
2649
- }
2650
- if (v === os) {
2651
- q(f, u, h);
2652
- return;
2653
- }
2654
- if (m !== 2 && b & 1 && x)
2655
- if (m === 0)
2656
- x.beforeEnter(_), n(_, u, h), oe(() => x.enter(_), g);
2657
- else {
2658
- const { leave: w, delayLeave: T, afterLeave: P } = x, M = () => n(_, u, h), $ = () => {
2659
- w(_, () => {
2660
- M(), P && P();
2661
- });
2662
- };
2663
- T ? T(_, M, $) : $();
2664
- }
2665
- else
2666
- n(_, u, h);
2667
- }, pe = (f, u, h, m = !1, g = !1) => {
2668
- const {
2669
- type: _,
2670
- props: v,
2671
- ref: x,
2672
- children: y,
2673
- dynamicChildren: b,
2674
- shapeFlag: E,
2675
- patchFlag: w,
2676
- dirs: T,
2677
- cacheIndex: P
2678
- } = f;
2679
- if (w === -2 && (g = !1), x != null && jt(x, null, h, f, !0), P != null && (u.renderCache[P] = void 0), E & 256) {
2680
- u.ctx.deactivate(f);
2681
- return;
2682
- }
2683
- const M = E & 1 && T, $ = !ht(f);
2684
- let j;
2685
- if ($ && (j = v && v.onVnodeBeforeUnmount) && be(j, u, f), E & 6)
2686
- Mi(f.component, h, m);
2687
- else {
2688
- if (E & 128) {
2689
- f.suspense.unmount(h, m);
2690
- return;
2691
- }
2692
- M && Ue(f, null, u, "beforeUnmount"), E & 64 ? f.type.remove(
2693
- f,
2694
- u,
2695
- h,
2696
- it,
2697
- m
2698
- ) : b && // #5154
2699
- // when v-once is used inside a block, setBlockTracking(-1) marks the
2700
- // parent block with hasOnce: true
2701
- // so that it doesn't take the fast path during unmount - otherwise
2702
- // components nested in v-once are never unmounted.
2703
- !b.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
2704
- (_ !== Ae || w > 0 && w & 64) ? nt(
2705
- b,
2706
- u,
2707
- h,
2708
- !1,
2709
- !0
2710
- ) : (_ === Ae && w & 384 || !g && E & 16) && nt(y, u, h), m && Us(f);
2711
- }
2712
- ($ && (j = v && v.onVnodeUnmounted) || M) && oe(() => {
2713
- j && be(j, u, f), M && Ue(f, null, u, "unmounted");
2714
- }, h);
2715
- }, Us = (f) => {
2716
- const { type: u, el: h, anchor: m, transition: g } = f;
2717
- if (u === Ae) {
2718
- Ri(h, m);
2719
- return;
2720
- }
2721
- if (u === os) {
2722
- A(f);
2723
- return;
2724
- }
2725
- const _ = () => {
2726
- i(h), g && !g.persisted && g.afterLeave && g.afterLeave();
2727
- };
2728
- if (f.shapeFlag & 1 && g && !g.persisted) {
2729
- const { leave: v, delayLeave: x } = g, y = () => v(h, _);
2730
- x ? x(f.el, _, y) : y();
2731
- } else
2732
- _();
2733
- }, Ri = (f, u) => {
2734
- let h;
2735
- for (; f !== u; )
2736
- h = S(f), i(f), f = h;
2737
- i(u);
2738
- }, Mi = (f, u, h) => {
2739
- const { bum: m, scope: g, job: _, subTree: v, um: x, m: y, a: b } = f;
2740
- sn(y), sn(b), m && Qt(m), g.stop(), _ && (_.flags |= 8, pe(v, f, u, h)), x && oe(x, u), oe(() => {
2741
- f.isUnmounted = !0;
2742
- }, u), u && u.pendingBranch && !u.isUnmounted && f.asyncDep && !f.asyncResolved && f.suspenseId === u.pendingId && (u.deps--, u.deps === 0 && u.resolve());
2743
- }, nt = (f, u, h, m = !1, g = !1, _ = 0) => {
2744
- for (let v = _; v < f.length; v++)
2745
- pe(f[v], u, h, m, g);
2746
- }, Et = (f) => {
2747
- if (f.shapeFlag & 6)
2748
- return Et(f.component.subTree);
2749
- if (f.shapeFlag & 128)
2750
- return f.suspense.next();
2751
- const u = S(f.anchor || f.el), h = u && u[Sr];
2752
- return h ? S(h) : u;
2753
- };
2754
- let Xt = !1;
2755
- const Bs = (f, u, h) => {
2756
- f == null ? u._vnode && pe(u._vnode, null, null, !0) : I(
2757
- u._vnode || null,
2758
- f,
2759
- u,
2760
- null,
2761
- null,
2762
- null,
2763
- h
2764
- ), u._vnode = f, Xt || (Xt = !0, Xs(), Qn(), Xt = !1);
2765
- }, it = {
2766
- p: I,
2767
- um: pe,
2768
- m: Ve,
2769
- r: Us,
2770
- mt: zt,
2771
- mc: Me,
2772
- pc: L,
2773
- pbc: $e,
2774
- n: Et,
2775
- o: e
2776
- };
2777
- return {
2778
- render: Bs,
2779
- hydrate: void 0,
2780
- createApp: Gr(Bs)
2781
- };
2782
- }
2783
- function is({ type: e, props: t }, s) {
2784
- return s === "svg" && e === "foreignObject" || s === "mathml" && e === "annotation-xml" && t && t.encoding && t.encoding.includes("html") ? void 0 : s;
2785
- }
2786
- function Be({ effect: e, job: t }, s) {
2787
- s ? (e.flags |= 32, t.flags |= 4) : (e.flags &= -33, t.flags &= -5);
2788
- }
2789
- function so(e, t) {
2790
- return (!e || e && !e.pendingBranch) && t && !t.persisted;
2791
- }
2792
- function mi(e, t, s = !1) {
2793
- const n = e.children, i = t.children;
2794
- if (O(n) && O(i))
2795
- for (let r = 0; r < n.length; r++) {
2796
- const o = n[r];
2797
- let l = i[r];
2798
- l.shapeFlag & 1 && !l.dynamicChildren && ((l.patchFlag <= 0 || l.patchFlag === 32) && (l = i[r] = Fe(i[r]), l.el = o.el), !s && l.patchFlag !== -2 && mi(o, l)), l.type === Yt && (l.el = o.el);
2799
- }
2800
- }
2801
- function no(e) {
2802
- const t = e.slice(), s = [0];
2803
- let n, i, r, o, l;
2804
- const c = e.length;
2805
- for (n = 0; n < c; n++) {
2806
- const d = e[n];
2807
- if (d !== 0) {
2808
- if (i = s[s.length - 1], e[i] < d) {
2809
- t[n] = i, s.push(n);
2810
- continue;
2811
- }
2812
- for (r = 0, o = s.length - 1; r < o; )
2813
- l = r + o >> 1, e[s[l]] < d ? r = l + 1 : o = l;
2814
- d < e[s[r]] && (r > 0 && (t[n] = s[r - 1]), s[r] = n);
2815
- }
2816
- }
2817
- for (r = s.length, o = s[r - 1]; r-- > 0; )
2818
- s[r] = o, o = t[o];
2819
- return s;
2820
- }
2821
- function bi(e) {
2822
- const t = e.subTree.component;
2823
- if (t)
2824
- return t.asyncDep && !t.asyncResolved ? t : bi(t);
2825
- }
2826
- function sn(e) {
2827
- if (e)
2828
- for (let t = 0; t < e.length; t++)
2829
- e[t].flags |= 8;
2830
- }
2831
- const io = Symbol.for("v-scx"), ro = () => Rt(io);
2832
- function ul(e, t) {
2833
- return Hs(e, null, t);
2834
- }
2835
- function rs(e, t, s) {
2836
- return Hs(e, t, s);
2837
- }
2838
- function Hs(e, t, s = V) {
2839
- const { immediate: n, deep: i, flush: r, once: o } = s, l = Y({}, s), c = t && n || !t && r !== "post";
2840
- let d;
2841
- if (yt) {
2842
- if (r === "sync") {
2843
- const C = ro();
2844
- d = C.__watcherHandles || (C.__watcherHandles = []);
2845
- } else if (!c) {
2846
- const C = () => {
2847
- };
2848
- return C.stop = we, C.resume = we, C.pause = we, C;
2849
- }
2850
- }
2851
- const a = se;
2852
- l.call = (C, F, I) => Ce(C, a, F, I);
2853
- let p = !1;
2854
- r === "post" ? l.scheduler = (C) => {
2855
- oe(C, a && a.suspense);
2856
- } : r !== "sync" && (p = !0, l.scheduler = (C, F) => {
2857
- F ? C() : Ns(C);
2858
- }), l.augmentJob = (C) => {
2859
- t && (C.flags |= 4), p && (C.flags |= 2, a && (C.id = a.uid, C.i = a));
2860
- };
2861
- const S = br(e, t, l);
2862
- return yt && (d ? d.push(S) : c && S()), S;
2863
- }
2864
- function oo(e, t, s) {
2865
- const n = this.proxy, i = G(e) ? e.includes(".") ? yi(n, e) : () => n[e] : e.bind(n, n);
2866
- let r;
2867
- R(t) ? r = t : (r = t.handler, s = t);
2868
- const o = vt(this), l = Hs(i, r.bind(n), s);
2869
- return o(), l;
2870
- }
2871
- function yi(e, t) {
2872
- const s = t.split(".");
2873
- return () => {
2874
- let n = e;
2875
- for (let i = 0; i < s.length && n; i++)
2876
- n = n[s[i]];
2877
- return n;
2878
- };
2879
- }
2880
- const lo = (e, t) => t === "modelValue" || t === "model-value" ? e.modelModifiers : e[`${t}Modifiers`] || e[`${ae(t)}Modifiers`] || e[`${fe(t)}Modifiers`];
2881
- function fo(e, t, ...s) {
2882
- if (e.isUnmounted) return;
2883
- const n = e.vnode.props || V;
2884
- let i = s;
2885
- const r = t.startsWith("update:"), o = r && lo(n, t.slice(7));
2886
- o && (o.trim && (i = s.map((a) => G(a) ? a.trim() : a)), o.number && (i = s.map(Hi)));
2887
- let l, c = n[l = Zt(t)] || // also try camelCase event handler (#2249)
2888
- n[l = Zt(ae(t))];
2889
- !c && r && (c = n[l = Zt(fe(t))]), c && Ce(
2890
- c,
2891
- e,
2892
- 6,
2893
- i
2894
- );
2895
- const d = n[l + "Once"];
2896
- if (d) {
2897
- if (!e.emitted)
2898
- e.emitted = {};
2899
- else if (e.emitted[l])
2900
- return;
2901
- e.emitted[l] = !0, Ce(
2902
- d,
2903
- e,
2904
- 6,
2905
- i
2906
- );
2907
- }
2908
- }
2909
- function xi(e, t, s = !1) {
2910
- const n = t.emitsCache, i = n.get(e);
2911
- if (i !== void 0)
2912
- return i;
2913
- const r = e.emits;
2914
- let o = {}, l = !1;
2915
- if (!R(e)) {
2916
- const c = (d) => {
2917
- const a = xi(d, t, !0);
2918
- a && (l = !0, Y(o, a));
2919
- };
2920
- !s && t.mixins.length && t.mixins.forEach(c), e.extends && c(e.extends), e.mixins && e.mixins.forEach(c);
2921
- }
2922
- return !r && !l ? (B(e) && n.set(e, null), null) : (O(r) ? r.forEach((c) => o[c] = null) : Y(o, r), B(e) && n.set(e, o), o);
2923
- }
2924
- function Jt(e, t) {
2925
- return !e || !$t(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), N(e, t[0].toLowerCase() + t.slice(1)) || N(e, fe(t)) || N(e, t));
2926
- }
2927
- function nn(e) {
2928
- const {
2929
- type: t,
2930
- vnode: s,
2931
- proxy: n,
2932
- withProxy: i,
2933
- propsOptions: [r],
2934
- slots: o,
2935
- attrs: l,
2936
- emit: c,
2937
- render: d,
2938
- renderCache: a,
2939
- props: p,
2940
- data: S,
2941
- setupState: C,
2942
- ctx: F,
2943
- inheritAttrs: I
2944
- } = e, z = Dt(e);
2945
- let H, W;
2946
- try {
2947
- if (s.shapeFlag & 4) {
2948
- const A = i || n, J = A;
2949
- H = xe(
2950
- d.call(
2951
- J,
2952
- A,
2953
- a,
2954
- p,
2955
- C,
2956
- S,
2957
- F
2958
- )
2959
- ), W = l;
2960
- } else {
2961
- const A = t;
2962
- H = xe(
2963
- A.length > 1 ? A(
2964
- p,
2965
- { attrs: l, slots: o, emit: c }
2966
- ) : A(
2967
- p,
2968
- null
2969
- )
2970
- ), W = t.props ? l : co(l);
2971
- }
2972
- } catch (A) {
2973
- pt.length = 0, qt(A, e, 1), H = Se(Je);
2974
- }
2975
- let q = H;
2976
- if (W && I !== !1) {
2977
- const A = Object.keys(W), { shapeFlag: J } = q;
2978
- A.length && J & 7 && (r && A.some(vs) && (W = uo(
2979
- W,
2980
- r
2981
- )), q = tt(q, W, !1, !0));
2982
- }
2983
- return s.dirs && (q = tt(q, null, !1, !0), q.dirs = q.dirs ? q.dirs.concat(s.dirs) : s.dirs), s.transition && Ds(q, s.transition), H = q, Dt(z), H;
2984
- }
2985
- const co = (e) => {
2986
- let t;
2987
- for (const s in e)
2988
- (s === "class" || s === "style" || $t(s)) && ((t || (t = {}))[s] = e[s]);
2989
- return t;
2990
- }, uo = (e, t) => {
2991
- const s = {};
2992
- for (const n in e)
2993
- (!vs(n) || !(n.slice(9) in t)) && (s[n] = e[n]);
2994
- return s;
2995
- };
2996
- function ao(e, t, s) {
2997
- const { props: n, children: i, component: r } = e, { props: o, children: l, patchFlag: c } = t, d = r.emitsOptions;
2998
- if (t.dirs || t.transition)
2999
- return !0;
3000
- if (s && c >= 0) {
3001
- if (c & 1024)
3002
- return !0;
3003
- if (c & 16)
3004
- return n ? rn(n, o, d) : !!o;
3005
- if (c & 8) {
3006
- const a = t.dynamicProps;
3007
- for (let p = 0; p < a.length; p++) {
3008
- const S = a[p];
3009
- if (o[S] !== n[S] && !Jt(d, S))
3010
- return !0;
3011
- }
3012
- }
3013
- } else
3014
- return (i || l) && (!l || !l.$stable) ? !0 : n === o ? !1 : n ? o ? rn(n, o, d) : !0 : !!o;
3015
- return !1;
3016
- }
3017
- function rn(e, t, s) {
3018
- const n = Object.keys(t);
3019
- if (n.length !== Object.keys(e).length)
3020
- return !0;
3021
- for (let i = 0; i < n.length; i++) {
3022
- const r = n[i];
3023
- if (t[r] !== e[r] && !Jt(s, r))
3024
- return !0;
3025
- }
3026
- return !1;
3027
- }
3028
- function ho({ vnode: e, parent: t }, s) {
3029
- for (; t; ) {
3030
- const n = t.subTree;
3031
- if (n.suspense && n.suspense.activeBranch === e && (n.el = e.el), n === e)
3032
- (e = t.vnode).el = s, t = t.parent;
3033
- else
3034
- break;
3035
- }
3036
- }
3037
- const vi = (e) => e.__isSuspense;
3038
- function po(e, t) {
3039
- t && t.pendingBranch ? O(e) ? t.effects.push(...e) : t.effects.push(e) : vr(e);
3040
- }
3041
- const Ae = Symbol.for("v-fgt"), Yt = Symbol.for("v-txt"), Je = Symbol.for("v-cmt"), os = Symbol.for("v-stc"), pt = [];
3042
- let ce = null;
3043
- function go(e = !1) {
3044
- pt.push(ce = e ? null : []);
3045
- }
3046
- function _o() {
3047
- pt.pop(), ce = pt[pt.length - 1] || null;
3048
- }
3049
- let bt = 1;
3050
- function on(e, t = !1) {
3051
- bt += e, e < 0 && ce && t && (ce.hasOnce = !0);
3052
- }
3053
- function wi(e) {
3054
- return e.dynamicChildren = bt > 0 ? ce || Xe : null, _o(), bt > 0 && ce && ce.push(e), e;
3055
- }
3056
- function al(e, t, s, n, i, r) {
3057
- return wi(
3058
- Ti(
3059
- e,
3060
- t,
3061
- s,
3062
- n,
3063
- i,
3064
- r,
3065
- !0
3066
- )
3067
- );
3068
- }
3069
- function mo(e, t, s, n, i) {
3070
- return wi(
3071
- Se(
3072
- e,
3073
- t,
3074
- s,
3075
- n,
3076
- i,
3077
- !0
3078
- )
3079
- );
3080
- }
3081
- function Si(e) {
3082
- return e ? e.__v_isVNode === !0 : !1;
3083
- }
3084
- function lt(e, t) {
3085
- return e.type === t.type && e.key === t.key;
3086
- }
3087
- const Ci = ({ key: e }) => e ?? null, Mt = ({
3088
- ref: e,
3089
- ref_key: t,
3090
- ref_for: s
3091
- }) => (typeof e == "number" && (e = "" + e), e != null ? G(e) || Q(e) || R(e) ? { i: ve, r: e, k: t, f: !!s } : e : null);
3092
- function Ti(e, t = null, s = null, n = 0, i = null, r = e === Ae ? 0 : 1, o = !1, l = !1) {
3093
- const c = {
3094
- __v_isVNode: !0,
3095
- __v_skip: !0,
3096
- type: e,
3097
- props: t,
3098
- key: t && Ci(t),
3099
- ref: t && Mt(t),
3100
- scopeId: ei,
3101
- slotScopeIds: null,
3102
- children: s,
3103
- component: null,
3104
- suspense: null,
3105
- ssContent: null,
3106
- ssFallback: null,
3107
- dirs: null,
3108
- transition: null,
3109
- el: null,
3110
- anchor: null,
3111
- target: null,
3112
- targetStart: null,
3113
- targetAnchor: null,
3114
- staticCount: 0,
3115
- shapeFlag: r,
3116
- patchFlag: n,
3117
- dynamicProps: i,
3118
- dynamicChildren: null,
3119
- appContext: null,
3120
- ctx: ve
3121
- };
3122
- return l ? (Ls(c, s), r & 128 && e.normalize(c)) : s && (c.shapeFlag |= G(s) ? 8 : 16), bt > 0 && // avoid a block node from tracking itself
3123
- !o && // has current parent block
3124
- ce && // presence of a patch flag indicates this node needs patching on updates.
3125
- // component nodes also should always be patched, because even if the
3126
- // component doesn't need to update, it needs to persist the instance on to
3127
- // the next vnode so that it can be properly unmounted later.
3128
- (c.patchFlag > 0 || r & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
3129
- // vnode should not be considered dynamic due to handler caching.
3130
- c.patchFlag !== 32 && ce.push(c), c;
3131
- }
3132
- const Se = bo;
3133
- function bo(e, t = null, s = null, n = 0, i = null, r = !1) {
3134
- if ((!e || e === Lr) && (e = Je), Si(e)) {
3135
- const l = tt(
3136
- e,
3137
- t,
3138
- !0
3139
- /* mergeRef: true */
3140
- );
3141
- return s && Ls(l, s), bt > 0 && !r && ce && (l.shapeFlag & 6 ? ce[ce.indexOf(e)] = l : ce.push(l)), l.patchFlag = -2, l;
3142
- }
3143
- if (Oo(e) && (e = e.__vccOpts), t) {
3144
- t = yo(t);
3145
- let { class: l, style: c } = t;
3146
- l && !G(l) && (t.class = Ts(l)), B(c) && (Fs(c) && !O(c) && (c = Y({}, c)), t.style = Cs(c));
3147
- }
3148
- const o = G(e) ? 1 : vi(e) ? 128 : Cr(e) ? 64 : B(e) ? 4 : R(e) ? 2 : 0;
3149
- return Ti(
3150
- e,
3151
- t,
3152
- s,
3153
- n,
3154
- i,
3155
- o,
3156
- r,
3157
- !0
3158
- );
3159
- }
3160
- function yo(e) {
3161
- return e ? Fs(e) || ui(e) ? Y({}, e) : e : null;
3162
- }
3163
- function tt(e, t, s = !1, n = !1) {
3164
- const { props: i, ref: r, patchFlag: o, children: l, transition: c } = e, d = t ? vo(i || {}, t) : i, a = {
3165
- __v_isVNode: !0,
3166
- __v_skip: !0,
3167
- type: e.type,
3168
- props: d,
3169
- key: d && Ci(d),
3170
- ref: t && t.ref ? (
3171
- // #2078 in the case of <component :is="vnode" ref="extra"/>
3172
- // if the vnode itself already has a ref, cloneVNode will need to merge
3173
- // the refs so the single vnode can be set on multiple refs
3174
- s && r ? O(r) ? r.concat(Mt(t)) : [r, Mt(t)] : Mt(t)
3175
- ) : r,
3176
- scopeId: e.scopeId,
3177
- slotScopeIds: e.slotScopeIds,
3178
- children: l,
3179
- target: e.target,
3180
- targetStart: e.targetStart,
3181
- targetAnchor: e.targetAnchor,
3182
- staticCount: e.staticCount,
3183
- shapeFlag: e.shapeFlag,
3184
- // if the vnode is cloned with extra props, we can no longer assume its
3185
- // existing patch flag to be reliable and need to add the FULL_PROPS flag.
3186
- // note: preserve flag for fragments since they use the flag for children
3187
- // fast paths only.
3188
- patchFlag: t && e.type !== Ae ? o === -1 ? 16 : o | 16 : o,
3189
- dynamicProps: e.dynamicProps,
3190
- dynamicChildren: e.dynamicChildren,
3191
- appContext: e.appContext,
3192
- dirs: e.dirs,
3193
- transition: c,
3194
- // These should technically only be non-null on mounted VNodes. However,
3195
- // they *should* be copied for kept-alive vnodes. So we just always copy
3196
- // them since them being non-null during a mount doesn't affect the logic as
3197
- // they will simply be overwritten.
3198
- component: e.component,
3199
- suspense: e.suspense,
3200
- ssContent: e.ssContent && tt(e.ssContent),
3201
- ssFallback: e.ssFallback && tt(e.ssFallback),
3202
- el: e.el,
3203
- anchor: e.anchor,
3204
- ctx: e.ctx,
3205
- ce: e.ce
3206
- };
3207
- return c && n && Ds(
3208
- a,
3209
- c.clone(a)
3210
- ), a;
3211
- }
3212
- function xo(e = " ", t = 0) {
3213
- return Se(Yt, null, e, t);
3214
- }
3215
- function hl(e = "", t = !1) {
3216
- return t ? (go(), mo(Je, null, e)) : Se(Je, null, e);
3217
- }
3218
- function xe(e) {
3219
- return e == null || typeof e == "boolean" ? Se(Je) : O(e) ? Se(
3220
- Ae,
3221
- null,
3222
- // #3666, avoid reference pollution when reusing vnode
3223
- e.slice()
3224
- ) : Si(e) ? Fe(e) : Se(Yt, null, String(e));
3225
- }
3226
- function Fe(e) {
3227
- return e.el === null && e.patchFlag !== -1 || e.memo ? e : tt(e);
3228
- }
3229
- function Ls(e, t) {
3230
- let s = 0;
3231
- const { shapeFlag: n } = e;
3232
- if (t == null)
3233
- t = null;
3234
- else if (O(t))
3235
- s = 16;
3236
- else if (typeof t == "object")
3237
- if (n & 65) {
3238
- const i = t.default;
3239
- i && (i._c && (i._d = !1), Ls(e, i()), i._c && (i._d = !0));
3240
- return;
3241
- } else {
3242
- s = 32;
3243
- const i = t._;
3244
- !i && !ui(t) ? t._ctx = ve : i === 3 && ve && (ve.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
3245
- }
3246
- else R(t) ? (t = { default: t, _ctx: ve }, s = 32) : (t = String(t), n & 64 ? (s = 16, t = [xo(t)]) : s = 8);
3247
- e.children = t, e.shapeFlag |= s;
3248
- }
3249
- function vo(...e) {
3250
- const t = {};
3251
- for (let s = 0; s < e.length; s++) {
3252
- const n = e[s];
3253
- for (const i in n)
3254
- if (i === "class")
3255
- t.class !== n.class && (t.class = Ts([t.class, n.class]));
3256
- else if (i === "style")
3257
- t.style = Cs([t.style, n.style]);
3258
- else if ($t(i)) {
3259
- const r = t[i], o = n[i];
3260
- o && r !== o && !(O(r) && r.includes(o)) && (t[i] = r ? [].concat(r, o) : o);
3261
- } else i !== "" && (t[i] = n[i]);
3262
- }
3263
- return t;
3264
- }
3265
- function be(e, t, s, n = null) {
3266
- Ce(e, t, 7, [
3267
- s,
3268
- n
3269
- ]);
3270
- }
3271
- const wo = li();
3272
- let So = 0;
3273
- function Co(e, t, s) {
3274
- const n = e.type, i = (t ? t.appContext : e.appContext) || wo, r = {
3275
- uid: So++,
3276
- vnode: e,
3277
- type: n,
3278
- parent: t,
3279
- appContext: i,
3280
- root: null,
3281
- // to be immediately set
3282
- next: null,
3283
- subTree: null,
3284
- // will be set synchronously right after creation
3285
- effect: null,
3286
- update: null,
3287
- // will be set synchronously right after creation
3288
- job: null,
3289
- scope: new qi(
3290
- !0
3291
- /* detached */
3292
- ),
3293
- render: null,
3294
- proxy: null,
3295
- exposed: null,
3296
- exposeProxy: null,
3297
- withProxy: null,
3298
- provides: t ? t.provides : Object.create(i.provides),
3299
- ids: t ? t.ids : ["", 0, 0],
3300
- accessCache: null,
3301
- renderCache: [],
3302
- // local resolved assets
3303
- components: null,
3304
- directives: null,
3305
- // resolved props and emits options
3306
- propsOptions: hi(n, i),
3307
- emitsOptions: xi(n, i),
3308
- // emit
3309
- emit: null,
3310
- // to be set immediately
3311
- emitted: null,
3312
- // props default value
3313
- propsDefaults: V,
3314
- // inheritAttrs
3315
- inheritAttrs: n.inheritAttrs,
3316
- // state
3317
- ctx: V,
3318
- data: V,
3319
- props: V,
3320
- attrs: V,
3321
- slots: V,
3322
- refs: V,
3323
- setupState: V,
3324
- setupContext: null,
3325
- // suspense related
3326
- suspense: s,
3327
- suspenseId: s ? s.pendingId : 0,
3328
- asyncDep: null,
3329
- asyncResolved: !1,
3330
- // lifecycle hooks
3331
- // not using enums here because it results in computed properties
3332
- isMounted: !1,
3333
- isUnmounted: !1,
3334
- isDeactivated: !1,
3335
- bc: null,
3336
- c: null,
3337
- bm: null,
3338
- m: null,
3339
- bu: null,
3340
- u: null,
3341
- um: null,
3342
- bum: null,
3343
- da: null,
3344
- a: null,
3345
- rtg: null,
3346
- rtc: null,
3347
- ec: null,
3348
- sp: null
3349
- };
3350
- return r.ctx = { _: r }, r.root = t ? t.root : r, r.emit = fo.bind(null, r), e.ce && e.ce(r), r;
3351
- }
3352
- let se = null, Lt, bs;
3353
- {
3354
- const e = Bt(), t = (s, n) => {
3355
- let i;
3356
- return (i = e[s]) || (i = e[s] = []), i.push(n), (r) => {
3357
- i.length > 1 ? i.forEach((o) => o(r)) : i[0](r);
3358
- };
3359
- };
3360
- Lt = t(
3361
- "__VUE_INSTANCE_SETTERS__",
3362
- (s) => se = s
3363
- ), bs = t(
3364
- "__VUE_SSR_SETTERS__",
3365
- (s) => yt = s
3366
- );
3367
- }
3368
- const vt = (e) => {
3369
- const t = se;
3370
- return Lt(e), e.scope.on(), () => {
3371
- e.scope.off(), Lt(t);
3372
- };
3373
- }, ln = () => {
3374
- se && se.scope.off(), Lt(null);
3375
- };
3376
- function Ei(e) {
3377
- return e.vnode.shapeFlag & 4;
3378
- }
3379
- let yt = !1;
3380
- function To(e, t = !1, s = !1) {
3381
- t && bs(t);
3382
- const { props: n, children: i } = e.vnode, r = Ei(e);
3383
- Yr(e, n, r, t), Qr(e, i, s);
3384
- const o = r ? Eo(e, t) : void 0;
3385
- return t && bs(!1), o;
3386
- }
3387
- function Eo(e, t) {
3388
- const s = e.type;
3389
- e.accessCache = /* @__PURE__ */ Object.create(null), e.proxy = new Proxy(e.ctx, $r);
3390
- const { setup: n } = s;
3391
- if (n) {
3392
- He();
3393
- const i = e.setupContext = n.length > 1 ? Po(e) : null, r = vt(e), o = xt(
3394
- n,
3395
- e,
3396
- 0,
3397
- [
3398
- e.props,
3399
- i
3400
- ]
3401
- ), l = Cn(o);
3402
- if (Le(), r(), (l || e.sp) && !ht(e) && ti(e), l) {
3403
- if (o.then(ln, ln), t)
3404
- return o.then((c) => {
3405
- fn(e, c);
3406
- }).catch((c) => {
3407
- qt(c, e, 0);
3408
- });
3409
- e.asyncDep = o;
3410
- } else
3411
- fn(e, o);
3412
- } else
3413
- Ai(e);
3414
- }
3415
- function fn(e, t, s) {
3416
- R(t) ? e.type.__ssrInlineRender ? e.ssrRender = t : e.render = t : B(t) && (e.setupState = Yn(t)), Ai(e);
3417
- }
3418
- function Ai(e, t, s) {
3419
- const n = e.type;
3420
- e.render || (e.render = n.render || we);
3421
- {
3422
- const i = vt(e);
3423
- He();
3424
- try {
3425
- Kr(e);
3426
- } finally {
3427
- Le(), i();
3428
- }
3429
- }
3430
- }
3431
- const Ao = {
3432
- get(e, t) {
3433
- return X(e, "get", ""), e[t];
3434
- }
3435
- };
3436
- function Po(e) {
3437
- const t = (s) => {
3438
- e.exposed = s || {};
3439
- };
3440
- return {
3441
- attrs: new Proxy(e.attrs, Ao),
3442
- slots: e.slots,
3443
- emit: e.emit,
3444
- expose: t
3445
- };
3446
- }
3447
- function $s(e) {
3448
- return e.exposed ? e.exposeProxy || (e.exposeProxy = new Proxy(Yn(hr(e.exposed)), {
3449
- get(t, s) {
3450
- if (s in t)
3451
- return t[s];
3452
- if (s in dt)
3453
- return dt[s](e);
3454
- },
3455
- has(t, s) {
3456
- return s in t || s in dt;
3457
- }
3458
- })) : e.proxy;
3459
- }
3460
- function Oo(e) {
3461
- return R(e) && "__vccOpts" in e;
3462
- }
3463
- const Ro = (e, t) => _r(e, t, yt), Mo = "3.5.13";
3464
- /**
3465
- * @vue/runtime-dom v3.5.13
3466
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
3467
- * @license MIT
3468
- **/
3469
- let ys;
3470
- const cn = typeof window < "u" && window.trustedTypes;
3471
- if (cn)
3472
- try {
3473
- ys = /* @__PURE__ */ cn.createPolicy("vue", {
3474
- createHTML: (e) => e
3475
- });
3476
- } catch {
3477
- }
3478
- const Pi = ys ? (e) => ys.createHTML(e) : (e) => e, Io = "http://www.w3.org/2000/svg", Fo = "http://www.w3.org/1998/Math/MathML", Ee = typeof document < "u" ? document : null, un = Ee && /* @__PURE__ */ Ee.createElement("template"), No = {
3479
- insert: (e, t, s) => {
3480
- t.insertBefore(e, s || null);
3481
- },
3482
- remove: (e) => {
3483
- const t = e.parentNode;
3484
- t && t.removeChild(e);
3485
- },
3486
- createElement: (e, t, s, n) => {
3487
- const i = t === "svg" ? Ee.createElementNS(Io, e) : t === "mathml" ? Ee.createElementNS(Fo, e) : s ? Ee.createElement(e, { is: s }) : Ee.createElement(e);
3488
- return e === "select" && n && n.multiple != null && i.setAttribute("multiple", n.multiple), i;
3489
- },
3490
- createText: (e) => Ee.createTextNode(e),
3491
- createComment: (e) => Ee.createComment(e),
3492
- setText: (e, t) => {
3493
- e.nodeValue = t;
3494
- },
3495
- setElementText: (e, t) => {
3496
- e.textContent = t;
3497
- },
3498
- parentNode: (e) => e.parentNode,
3499
- nextSibling: (e) => e.nextSibling,
3500
- querySelector: (e) => Ee.querySelector(e),
3501
- setScopeId(e, t) {
3502
- e.setAttribute(t, "");
3503
- },
3504
- // __UNSAFE__
3505
- // Reason: innerHTML.
3506
- // Static content here can only come from compiled templates.
3507
- // As long as the user only uses trusted templates, this is safe.
3508
- insertStaticContent(e, t, s, n, i, r) {
3509
- const o = s ? s.previousSibling : t.lastChild;
3510
- if (i && (i === r || i.nextSibling))
3511
- for (; t.insertBefore(i.cloneNode(!0), s), !(i === r || !(i = i.nextSibling)); )
3512
- ;
3513
- else {
3514
- un.innerHTML = Pi(
3515
- n === "svg" ? `<svg>${e}</svg>` : n === "mathml" ? `<math>${e}</math>` : e
3516
- );
3517
- const l = un.content;
3518
- if (n === "svg" || n === "mathml") {
3519
- const c = l.firstChild;
3520
- for (; c.firstChild; )
3521
- l.appendChild(c.firstChild);
3522
- l.removeChild(c);
3523
- }
3524
- t.insertBefore(l, s);
3525
- }
3526
- return [
3527
- // first
3528
- o ? o.nextSibling : t.firstChild,
3529
- // last
3530
- s ? s.previousSibling : t.lastChild
3531
- ];
3532
- }
3533
- }, Do = Symbol("_vtc");
3534
- function jo(e, t, s) {
3535
- const n = e[Do];
3536
- n && (t = (t ? [t, ...n] : [...n]).join(" ")), t == null ? e.removeAttribute("class") : s ? e.setAttribute("class", t) : e.className = t;
3537
- }
3538
- const an = Symbol("_vod"), Ho = Symbol("_vsh"), Lo = Symbol(""), $o = /(^|;)\s*display\s*:/;
3539
- function Ko(e, t, s) {
3540
- const n = e.style, i = G(s);
3541
- let r = !1;
3542
- if (s && !i) {
3543
- if (t)
3544
- if (G(t))
3545
- for (const o of t.split(";")) {
3546
- const l = o.slice(0, o.indexOf(":")).trim();
3547
- s[l] == null && It(n, l, "");
3548
- }
3549
- else
3550
- for (const o in t)
3551
- s[o] == null && It(n, o, "");
3552
- for (const o in s)
3553
- o === "display" && (r = !0), It(n, o, s[o]);
3554
- } else if (i) {
3555
- if (t !== s) {
3556
- const o = n[Lo];
3557
- o && (s += ";" + o), n.cssText = s, r = $o.test(s);
3558
- }
3559
- } else t && e.removeAttribute("style");
3560
- an in e && (e[an] = r ? n.display : "", e[Ho] && (n.display = "none"));
3561
- }
3562
- const hn = /\s*!important$/;
3563
- function It(e, t, s) {
3564
- if (O(s))
3565
- s.forEach((n) => It(e, t, n));
3566
- else if (s == null && (s = ""), t.startsWith("--"))
3567
- e.setProperty(t, s);
3568
- else {
3569
- const n = Vo(e, t);
3570
- hn.test(s) ? e.setProperty(
3571
- fe(n),
3572
- s.replace(hn, ""),
3573
- "important"
3574
- ) : e[n] = s;
3575
- }
3576
- }
3577
- const dn = ["Webkit", "Moz", "ms"], ls = {};
3578
- function Vo(e, t) {
3579
- const s = ls[t];
3580
- if (s)
3581
- return s;
3582
- let n = ae(t);
3583
- if (n !== "filter" && n in e)
3584
- return ls[t] = n;
3585
- n = En(n);
3586
- for (let i = 0; i < dn.length; i++) {
3587
- const r = dn[i] + n;
3588
- if (r in e)
3589
- return ls[t] = r;
3590
- }
3591
- return t;
3592
- }
3593
- const pn = "http://www.w3.org/1999/xlink";
3594
- function gn(e, t, s, n, i, r = Bi(t)) {
3595
- n && t.startsWith("xlink:") ? s == null ? e.removeAttributeNS(pn, t.slice(6, t.length)) : e.setAttributeNS(pn, t, s) : s == null || r && !Pn(s) ? e.removeAttribute(t) : e.setAttribute(
3596
- t,
3597
- r ? "" : je(s) ? String(s) : s
3598
- );
3599
- }
3600
- function _n(e, t, s, n, i) {
3601
- if (t === "innerHTML" || t === "textContent") {
3602
- s != null && (e[t] = t === "innerHTML" ? Pi(s) : s);
3603
- return;
3604
- }
3605
- const r = e.tagName;
3606
- if (t === "value" && r !== "PROGRESS" && // custom elements may use _value internally
3607
- !r.includes("-")) {
3608
- const l = r === "OPTION" ? e.getAttribute("value") || "" : e.value, c = s == null ? (
3609
- // #11647: value should be set as empty string for null and undefined,
3610
- // but <input type="checkbox"> should be set as 'on'.
3611
- e.type === "checkbox" ? "on" : ""
3612
- ) : String(s);
3613
- (l !== c || !("_value" in e)) && (e.value = c), s == null && e.removeAttribute(t), e._value = s;
3614
- return;
3615
- }
3616
- let o = !1;
3617
- if (s === "" || s == null) {
3618
- const l = typeof e[t];
3619
- l === "boolean" ? s = Pn(s) : s == null && l === "string" ? (s = "", o = !0) : l === "number" && (s = 0, o = !0);
3620
- }
3621
- try {
3622
- e[t] = s;
3623
- } catch {
3624
- }
3625
- o && e.removeAttribute(i || t);
3626
- }
3627
- function Uo(e, t, s, n) {
3628
- e.addEventListener(t, s, n);
3629
- }
3630
- function Bo(e, t, s, n) {
3631
- e.removeEventListener(t, s, n);
3632
- }
3633
- const mn = Symbol("_vei");
3634
- function Wo(e, t, s, n, i = null) {
3635
- const r = e[mn] || (e[mn] = {}), o = r[t];
3636
- if (n && o)
3637
- o.value = n;
3638
- else {
3639
- const [l, c] = qo(t);
3640
- if (n) {
3641
- const d = r[t] = Yo(
3642
- n,
3643
- i
3644
- );
3645
- Uo(e, l, d, c);
3646
- } else o && (Bo(e, l, o, c), r[t] = void 0);
3647
- }
3648
- }
3649
- const bn = /(?:Once|Passive|Capture)$/;
3650
- function qo(e) {
3651
- let t;
3652
- if (bn.test(e)) {
3653
- t = {};
3654
- let n;
3655
- for (; n = e.match(bn); )
3656
- e = e.slice(0, e.length - n[0].length), t[n[0].toLowerCase()] = !0;
3657
- }
3658
- return [e[2] === ":" ? e.slice(3) : fe(e.slice(2)), t];
3659
- }
3660
- let fs = 0;
3661
- const Go = /* @__PURE__ */ Promise.resolve(), Jo = () => fs || (Go.then(() => fs = 0), fs = Date.now());
3662
- function Yo(e, t) {
3663
- const s = (n) => {
3664
- if (!n._vts)
3665
- n._vts = Date.now();
3666
- else if (n._vts <= s.attached)
3667
- return;
3668
- Ce(
3669
- zo(n, s.value),
3670
- t,
3671
- 5,
3672
- [n]
3673
- );
3674
- };
3675
- return s.value = e, s.attached = Jo(), s;
3676
- }
3677
- function zo(e, t) {
3678
- if (O(t)) {
3679
- const s = e.stopImmediatePropagation;
3680
- return e.stopImmediatePropagation = () => {
3681
- s.call(e), e._stopped = !0;
3682
- }, t.map(
3683
- (n) => (i) => !i._stopped && n && n(i)
3684
- );
3685
- } else
3686
- return t;
3687
- }
3688
- const yn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
3689
- e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, Xo = (e, t, s, n, i, r) => {
3690
- const o = i === "svg";
3691
- t === "class" ? jo(e, n, o) : t === "style" ? Ko(e, s, n) : $t(t) ? vs(t) || Wo(e, t, s, n, r) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : Zo(e, t, n, o)) ? (_n(e, t, n), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && gn(e, t, n, o, r, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !G(n)) ? _n(e, ae(t), n, r, t) : (t === "true-value" ? e._trueValue = n : t === "false-value" && (e._falseValue = n), gn(e, t, n, o));
3692
- };
3693
- function Zo(e, t, s, n) {
3694
- if (n)
3695
- return !!(t === "innerHTML" || t === "textContent" || t in e && yn(t) && R(s));
3696
- if (t === "spellcheck" || t === "draggable" || t === "translate" || t === "form" || t === "list" && e.tagName === "INPUT" || t === "type" && e.tagName === "TEXTAREA")
3697
- return !1;
3698
- if (t === "width" || t === "height") {
3699
- const i = e.tagName;
3700
- if (i === "IMG" || i === "VIDEO" || i === "CANVAS" || i === "SOURCE")
3701
- return !1;
3702
- }
3703
- return yn(t) && G(s) ? !1 : t in e;
3704
- }
3705
- const xn = {};
3706
- /*! #__NO_SIDE_EFFECTS__ */
3707
- // @__NO_SIDE_EFFECTS__
3708
- function dl(e, t, s) {
3709
- const n = /* @__PURE__ */ Tr(e, t);
3710
- Vt(n) && Y(n, t);
3711
- class i extends Ks {
3712
- constructor(o) {
3713
- super(n, o, s);
3714
- }
3715
- }
3716
- return i.def = n, i;
3717
- }
3718
- const Qo = typeof HTMLElement < "u" ? HTMLElement : class {
3719
- };
3720
- class Ks extends Qo {
3721
- constructor(t, s = {}, n = wn) {
3722
- super(), this._def = t, this._props = s, this._createApp = n, this._isVueCE = !0, this._instance = null, this._app = null, this._nonce = this._def.nonce, this._connected = !1, this._resolved = !1, this._numberProps = null, this._styleChildren = /* @__PURE__ */ new WeakSet(), this._ob = null, this.shadowRoot && n !== wn ? this._root = this.shadowRoot : t.shadowRoot !== !1 ? (this.attachShadow({ mode: "open" }), this._root = this.shadowRoot) : this._root = this, this._def.__asyncLoader || this._resolveProps(this._def);
3723
- }
3724
- connectedCallback() {
3725
- if (!this.isConnected) return;
3726
- this.shadowRoot || this._parseSlots(), this._connected = !0;
3727
- let t = this;
3728
- for (; t = t && (t.parentNode || t.host); )
3729
- if (t instanceof Ks) {
3730
- this._parent = t;
3731
- break;
3732
- }
3733
- this._instance || (this._resolved ? (this._setParent(), this._update()) : t && t._pendingResolve ? this._pendingResolve = t._pendingResolve.then(() => {
3734
- this._pendingResolve = void 0, this._resolveDef();
3735
- }) : this._resolveDef());
3736
- }
3737
- _setParent(t = this._parent) {
3738
- t && (this._instance.parent = t._instance, this._instance.provides = t._instance.provides);
3739
- }
3740
- disconnectedCallback() {
3741
- this._connected = !1, Xn(() => {
3742
- this._connected || (this._ob && (this._ob.disconnect(), this._ob = null), this._app && this._app.unmount(), this._instance && (this._instance.ce = void 0), this._app = this._instance = null);
3743
- });
3744
- }
3745
- /**
3746
- * resolve inner component definition (handle possible async component)
3747
- */
3748
- _resolveDef() {
3749
- if (this._pendingResolve)
3750
- return;
3751
- for (let n = 0; n < this.attributes.length; n++)
3752
- this._setAttr(this.attributes[n].name);
3753
- this._ob = new MutationObserver((n) => {
3754
- for (const i of n)
3755
- this._setAttr(i.attributeName);
3756
- }), this._ob.observe(this, { attributes: !0 });
3757
- const t = (n, i = !1) => {
3758
- this._resolved = !0, this._pendingResolve = void 0;
3759
- const { props: r, styles: o } = n;
3760
- let l;
3761
- if (r && !O(r))
3762
- for (const c in r) {
3763
- const d = r[c];
3764
- (d === Number || d && d.type === Number) && (c in this._props && (this._props[c] = Gs(this._props[c])), (l || (l = /* @__PURE__ */ Object.create(null)))[ae(c)] = !0);
3765
- }
3766
- this._numberProps = l, i && this._resolveProps(n), this.shadowRoot && this._applyStyles(o), this._mount(n);
3767
- }, s = this._def.__asyncLoader;
3768
- s ? this._pendingResolve = s().then(
3769
- (n) => t(this._def = n, !0)
3770
- ) : t(this._def);
3771
- }
3772
- _mount(t) {
3773
- this._app = this._createApp(t), t.configureApp && t.configureApp(this._app), this._app._ceVNode = this._createVNode(), this._app.mount(this._root);
3774
- const s = this._instance && this._instance.exposed;
3775
- if (s)
3776
- for (const n in s)
3777
- N(this, n) || Object.defineProperty(this, n, {
3778
- // unwrap ref to be consistent with public instance behavior
3779
- get: () => Jn(s[n])
3780
- });
3781
- }
3782
- _resolveProps(t) {
3783
- const { props: s } = t, n = O(s) ? s : Object.keys(s || {});
3784
- for (const i of Object.keys(this))
3785
- i[0] !== "_" && n.includes(i) && this._setProp(i, this[i]);
3786
- for (const i of n.map(ae))
3787
- Object.defineProperty(this, i, {
3788
- get() {
3789
- return this._getProp(i);
3790
- },
3791
- set(r) {
3792
- this._setProp(i, r, !0, !0);
3793
- }
3794
- });
3795
- }
3796
- _setAttr(t) {
3797
- if (t.startsWith("data-v-")) return;
3798
- const s = this.hasAttribute(t);
3799
- let n = s ? this.getAttribute(t) : xn;
3800
- const i = ae(t);
3801
- s && this._numberProps && this._numberProps[i] && (n = Gs(n)), this._setProp(i, n, !1, !0);
3802
- }
3803
- /**
3804
- * @internal
3805
- */
3806
- _getProp(t) {
3807
- return this._props[t];
3808
- }
3809
- /**
3810
- * @internal
3811
- */
3812
- _setProp(t, s, n = !0, i = !1) {
3813
- if (s !== this._props[t] && (s === xn ? delete this._props[t] : (this._props[t] = s, t === "key" && this._app && (this._app._ceVNode.key = s)), i && this._instance && this._update(), n)) {
3814
- const r = this._ob;
3815
- r && r.disconnect(), s === !0 ? this.setAttribute(fe(t), "") : typeof s == "string" || typeof s == "number" ? this.setAttribute(fe(t), s + "") : s || this.removeAttribute(fe(t)), r && r.observe(this, { attributes: !0 });
3816
- }
3817
- }
3818
- _update() {
3819
- nl(this._createVNode(), this._root);
3820
- }
3821
- _createVNode() {
3822
- const t = {};
3823
- this.shadowRoot || (t.onVnodeMounted = t.onVnodeUpdated = this._renderSlots.bind(this));
3824
- const s = Se(this._def, Y(t, this._props));
3825
- return this._instance || (s.ce = (n) => {
3826
- this._instance = n, n.ce = this, n.isCE = !0;
3827
- const i = (r, o) => {
3828
- this.dispatchEvent(
3829
- new CustomEvent(
3830
- r,
3831
- Vt(o[0]) ? Y({ detail: o }, o[0]) : { detail: o }
3832
- )
3833
- );
3834
- };
3835
- n.emit = (r, ...o) => {
3836
- i(r, o), fe(r) !== r && i(fe(r), o);
3837
- }, this._setParent();
3838
- }), s;
3839
- }
3840
- _applyStyles(t, s) {
3841
- if (!t) return;
3842
- if (s) {
3843
- if (s === this._def || this._styleChildren.has(s))
3844
- return;
3845
- this._styleChildren.add(s);
3846
- }
3847
- const n = this._nonce;
3848
- for (let i = t.length - 1; i >= 0; i--) {
3849
- const r = document.createElement("style");
3850
- n && r.setAttribute("nonce", n), r.textContent = t[i], this.shadowRoot.prepend(r);
3851
- }
3852
- }
3853
- /**
3854
- * Only called when shadowRoot is false
3855
- */
3856
- _parseSlots() {
3857
- const t = this._slots = {};
3858
- let s;
3859
- for (; s = this.firstChild; ) {
3860
- const n = s.nodeType === 1 && s.getAttribute("slot") || "default";
3861
- (t[n] || (t[n] = [])).push(s), this.removeChild(s);
3862
- }
3863
- }
3864
- /**
3865
- * Only called when shadowRoot is false
3866
- */
3867
- _renderSlots() {
3868
- const t = (this._teleportTarget || this).querySelectorAll("slot"), s = this._instance.type.__scopeId;
3869
- for (let n = 0; n < t.length; n++) {
3870
- const i = t[n], r = i.getAttribute("name") || "default", o = this._slots[r], l = i.parentNode;
3871
- if (o)
3872
- for (const c of o) {
3873
- if (s && c.nodeType === 1) {
3874
- const d = s + "-s", a = document.createTreeWalker(c, 1);
3875
- c.setAttribute(d, "");
3876
- let p;
3877
- for (; p = a.nextNode(); )
3878
- p.setAttribute(d, "");
3879
- }
3880
- l.insertBefore(c, i);
3881
- }
3882
- else
3883
- for (; i.firstChild; ) l.insertBefore(i.firstChild, i);
3884
- l.removeChild(i);
3885
- }
3886
- }
3887
- /**
3888
- * @internal
3889
- */
3890
- _injectChildStyle(t) {
3891
- this._applyStyles(t.styles, t);
3892
- }
3893
- /**
3894
- * @internal
3895
- */
3896
- _removeChildStyle(t) {
3897
- }
3898
- }
3899
- const ko = ["ctrl", "shift", "alt", "meta"], el = {
3900
- stop: (e) => e.stopPropagation(),
3901
- prevent: (e) => e.preventDefault(),
3902
- self: (e) => e.target !== e.currentTarget,
3903
- ctrl: (e) => !e.ctrlKey,
3904
- shift: (e) => !e.shiftKey,
3905
- alt: (e) => !e.altKey,
3906
- meta: (e) => !e.metaKey,
3907
- left: (e) => "button" in e && e.button !== 0,
3908
- middle: (e) => "button" in e && e.button !== 1,
3909
- right: (e) => "button" in e && e.button !== 2,
3910
- exact: (e, t) => ko.some((s) => e[`${s}Key`] && !t.includes(s))
3911
- }, pl = (e, t) => {
3912
- const s = e._withMods || (e._withMods = {}), n = t.join(".");
3913
- return s[n] || (s[n] = (i, ...r) => {
3914
- for (let o = 0; o < t.length; o++) {
3915
- const l = el[t[o]];
3916
- if (l && l(i, t)) return;
3917
- }
3918
- return e(i, ...r);
3919
- });
3920
- }, tl = {
3921
- esc: "escape",
3922
- space: " ",
3923
- up: "arrow-up",
3924
- left: "arrow-left",
3925
- right: "arrow-right",
3926
- down: "arrow-down",
3927
- delete: "backspace"
3928
- }, gl = (e, t) => {
3929
- const s = e._withKeys || (e._withKeys = {}), n = t.join(".");
3930
- return s[n] || (s[n] = (i) => {
3931
- if (!("key" in i))
3932
- return;
3933
- const r = fe(i.key);
3934
- if (t.some(
3935
- (o) => o === r || tl[o] === r
3936
- ))
3937
- return e(i);
3938
- });
3939
- }, sl = /* @__PURE__ */ Y({ patchProp: Xo }, No);
3940
- let vn;
3941
- function Oi() {
3942
- return vn || (vn = eo(sl));
3943
- }
3944
- const nl = (...e) => {
3945
- Oi().render(...e);
3946
- }, wn = (...e) => {
3947
- const t = Oi().createApp(...e), { mount: s } = t;
3948
- return t.mount = (n) => {
3949
- const i = rl(n);
3950
- if (!i) return;
3951
- const r = t._component;
3952
- !R(r) && !r.render && !r.template && (r.template = i.innerHTML), i.nodeType === 1 && (i.textContent = "");
3953
- const o = s(i, !1, il(i));
3954
- return i instanceof Element && (i.removeAttribute("v-cloak"), i.setAttribute("data-v-app", "")), o;
3955
- }, t;
3956
- };
3957
- function il(e) {
3958
- if (e instanceof SVGElement)
3959
- return "svg";
3960
- if (typeof MathMLElement == "function" && e instanceof MathMLElement)
3961
- return "mathml";
3962
- }
3963
- function rl(e) {
3964
- return G(e) ? document.querySelector(e) : e;
3965
- }
3966
- const _l = (e, t) => {
3967
- const s = e.__vccOpts || e;
3968
- for (const [n, i] of t)
3969
- s[n] = i;
3970
- return s;
3971
- };
3972
- export {
3973
- Ae as F,
3974
- _l as _,
3975
- Ti as a,
3976
- Cs as b,
3977
- al as c,
3978
- Tr as d,
3979
- cl as e,
3980
- mo as f,
3981
- dl as g,
3982
- Ro as h,
3983
- hl as i,
3984
- xo as j,
3985
- gl as k,
3986
- pl as l,
3987
- vo as m,
3988
- Ts as n,
3989
- go as o,
3990
- ll as r,
3991
- fl as s,
3992
- Wi as t,
3993
- ul as w
3994
- };