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