@1024pix/epreuves-components 0.6.0 → 0.7.0

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