@1024pix/epreuves-components 1.1.0 → 1.2.1

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