@the-framery/vision-assessment-sdk 0.0.0-stage → 0.0.0

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