@inpageedit/core 0.11.1 → 0.12.1

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