@roudanio/awesome-comment 0.10.9 → 0.10.10

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