@svgrid/grid-wc 3.0.1 → 3.0.2

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 (92) hide show
  1. package/README.md +20 -0
  2. package/dist/GridMenus-B1mC1aPp.js +1077 -0
  3. package/dist/SvChartMenu-CBMKm7Xb.js +413 -0
  4. package/dist/SvDateRangeInput-BrYTQEMM.js +197 -0
  5. package/dist/SvDateTimePicker-CnLlqNDQ.js +766 -0
  6. package/dist/SvField-Bmzp3ObZ.js +147 -0
  7. package/dist/SvGridCellEditor-B005dmV1.js +560 -0
  8. package/dist/SvGridChart-4TcL9Rj2.js +3702 -0
  9. package/dist/SvGridChartBuilder-C4OL4XYx.js +1165 -0
  10. package/dist/SvGridChartPanel-CfHA8Ioq.js +1743 -0
  11. package/dist/SvGridChartView-Ci-9_EJ0.js +45 -0
  12. package/dist/SvGridDropdown-BlA6iw9m.js +257 -0
  13. package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs +178 -7
  14. package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs.map +1 -1
  15. package/dist/angular/types/svgrid-grid-wc-angular.d.ts +77 -2
  16. package/dist/chart/SvChartMenu-C-sbGNk8.js +586 -0
  17. package/dist/chart/chart-export-BHGuh_kZ.js +127 -0
  18. package/dist/chart/chart-export-pdf-BjkkIEkE.js +104 -0
  19. package/dist/chart/chart-summary-B86RFA3M.js +137 -0
  20. package/dist/chart/chart-trend-DP6DSsBa.js +56 -0
  21. package/dist/chart/chart-validate-CD6ptiwg.js +180 -0
  22. package/dist/chart/client-BuB0wIgc.js +2757 -0
  23. package/dist/chart/sv-chart-element.d.ts +98 -0
  24. package/dist/chart/sv-chart-element.js +7282 -0
  25. package/dist/chart-DoqdUoGg.js +4398 -0
  26. package/dist/chart-export-pdf-BirUdchl.js +104 -0
  27. package/dist/chart-summary-BP9i-v8M.js +137 -0
  28. package/dist/chart-validate-CD6ptiwg.js +180 -0
  29. package/dist/{shadow/client-DjwUji8D.js → client-DEF0GRjE.js} +1 -1
  30. package/dist/{column-resize-DvCRUrN3.js → column-resize-DUPgynvc.js} +3 -3
  31. package/dist/date-format-DMTwV8NC.js +1128 -0
  32. package/dist/focus-trap-DvlOlOGM.js +65 -0
  33. package/dist/list-option-DrRyivWp.js +82 -0
  34. package/dist/react/chart.d.ts +99 -0
  35. package/dist/react/chart.js +49 -0
  36. package/dist/react/index.d.ts +28 -0
  37. package/dist/react/index.js +4 -1
  38. package/dist/{row-resize-D-8s3cqT.js → row-resize-Cf8qPLbi.js} +44 -36
  39. package/dist/shadow/GridMenus-B1mC1aPp.js +1077 -0
  40. package/dist/shadow/SvChartMenu-CBMKm7Xb.js +413 -0
  41. package/dist/shadow/SvDateRangeInput-BrYTQEMM.js +197 -0
  42. package/dist/shadow/SvDateTimePicker-CnLlqNDQ.js +766 -0
  43. package/dist/shadow/SvField-Bmzp3ObZ.js +147 -0
  44. package/dist/shadow/SvGridCellEditor-B005dmV1.js +560 -0
  45. package/dist/shadow/SvGridChart-4TcL9Rj2.js +3702 -0
  46. package/dist/shadow/SvGridChartBuilder-C4OL4XYx.js +1165 -0
  47. package/dist/shadow/SvGridChartPanel-CfHA8Ioq.js +1743 -0
  48. package/dist/shadow/SvGridChartView-Ci-9_EJ0.js +45 -0
  49. package/dist/shadow/SvGridDropdown-BlA6iw9m.js +257 -0
  50. package/dist/shadow/chart-DoqdUoGg.js +4398 -0
  51. package/dist/shadow/chart-export-pdf-BirUdchl.js +104 -0
  52. package/dist/shadow/chart-summary-BP9i-v8M.js +137 -0
  53. package/dist/shadow/chart-validate-CD6ptiwg.js +180 -0
  54. package/dist/{client-DjwUji8D.js → shadow/client-DEF0GRjE.js} +1 -1
  55. package/dist/shadow/{column-resize-DvCRUrN3.js → column-resize-DUPgynvc.js} +3 -3
  56. package/dist/shadow/date-format-DMTwV8NC.js +1128 -0
  57. package/dist/shadow/focus-trap-DvlOlOGM.js +65 -0
  58. package/dist/shadow/list-option-DrRyivWp.js +82 -0
  59. package/dist/shadow/{row-resize-D-8s3cqT.js → row-resize-Cf8qPLbi.js} +44 -36
  60. package/dist/shadow/sv-grid-shadow-element.d.ts +15 -0
  61. package/dist/shadow/sv-grid-shadow-element.js +4688 -3621
  62. package/dist/shadow/{svelte-virtualizer.svelte-DZ9UcyfT.js → svelte-virtualizer.svelte-CnGhFGDc.js} +37 -34
  63. package/dist/sv-grid-element.d.ts +15 -0
  64. package/dist/sv-grid-element.js +4646 -3609
  65. package/dist/{svelte-virtualizer.svelte-DZ9UcyfT.js → svelte-virtualizer.svelte-CnGhFGDc.js} +37 -34
  66. package/dist/vue/chart.d.ts +64 -0
  67. package/dist/vue/chart.js +41 -0
  68. package/dist/vue/index.d.ts +11 -2
  69. package/dist/vue/index.js +4 -1
  70. package/package.json +18 -5
  71. package/dist/GridMenus-YwTw9Upd.js +0 -1123
  72. package/dist/SvDateRangeInput-CrxeppBV.js +0 -196
  73. package/dist/SvDateTimePicker-xAO-Pb4S.js +0 -765
  74. package/dist/SvField-CE345DyF.js +0 -146
  75. package/dist/SvGridCellEditor-D7SyHtff.js +0 -550
  76. package/dist/SvGridChart-CMaVmlso.js +0 -1477
  77. package/dist/SvGridChartPanel-Pc_IW0eA.js +0 -833
  78. package/dist/SvGridChartView-DLhhzmFy.js +0 -52
  79. package/dist/SvGridDropdown-DUncHqM-.js +0 -256
  80. package/dist/chart-GRBAgN1M.js +0 -1658
  81. package/dist/date-format-D_oQ5Yw0.js +0 -1127
  82. package/dist/shadow/GridMenus-YwTw9Upd.js +0 -1123
  83. package/dist/shadow/SvDateRangeInput-CrxeppBV.js +0 -196
  84. package/dist/shadow/SvDateTimePicker-xAO-Pb4S.js +0 -765
  85. package/dist/shadow/SvField-CE345DyF.js +0 -146
  86. package/dist/shadow/SvGridCellEditor-D7SyHtff.js +0 -550
  87. package/dist/shadow/SvGridChart-CMaVmlso.js +0 -1477
  88. package/dist/shadow/SvGridChartPanel-Pc_IW0eA.js +0 -833
  89. package/dist/shadow/SvGridChartView-DLhhzmFy.js +0 -52
  90. package/dist/shadow/SvGridDropdown-DUncHqM-.js +0 -256
  91. package/dist/shadow/chart-GRBAgN1M.js +0 -1658
  92. package/dist/shadow/date-format-D_oQ5Yw0.js +0 -1127
@@ -0,0 +1,2757 @@
1
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/disclose-version.js
2
+ typeof window < "u" && ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add("5");
3
+ //#endregion
4
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/constants.js
5
+ var e = {}, t = Symbol("uninitialized"), n = "http://www.w3.org/1999/xhtml", r = Array.isArray, i = Array.prototype.indexOf, a = Array.prototype.includes, o = Array.from, s = Object.keys, c = Object.defineProperty, l = Object.getOwnPropertyDescriptor, u = Object.getOwnPropertyDescriptors, d = Object.prototype, f = Array.prototype, p = Object.getPrototypeOf, m = Object.isExtensible;
6
+ function h(e) {
7
+ return typeof e == "function";
8
+ }
9
+ var g = () => {};
10
+ function _(e) {
11
+ for (var t = 0; t < e.length; t++) e[t]();
12
+ }
13
+ function v() {
14
+ var e, t;
15
+ return {
16
+ promise: new Promise((n, r) => {
17
+ e = n, t = r;
18
+ }),
19
+ resolve: e,
20
+ reject: t
21
+ };
22
+ }
23
+ //#endregion
24
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/constants.js
25
+ var y = 1 << 24, b = 1024, x = 2048, S = 4096, ee = 8192, te = 16384, ne = 32768, re = 1 << 25, ie = 65536, ae = 1 << 19, oe = 1 << 20, se = 1 << 25, ce = 65536, le = 1 << 21, ue = 1 << 22, de = 1 << 23, C = Symbol("$state"), fe = Symbol("legacy props"), pe = Symbol(""), me = Symbol("attributes"), he = Symbol("class"), ge = Symbol("style"), _e = Symbol("text"), ve = Symbol("form reset"), ye = new class extends Error {
26
+ name = "StaleReactionError";
27
+ message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
28
+ }(), be = !!globalThis.document?.contentType && /* @__PURE__ */ globalThis.document.contentType.includes("xml");
29
+ //#endregion
30
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/errors.js
31
+ function xe() {
32
+ throw Error("https://svelte.dev/e/async_derived_orphan");
33
+ }
34
+ function Se(e, t, n) {
35
+ throw Error("https://svelte.dev/e/each_key_duplicate");
36
+ }
37
+ function Ce(e) {
38
+ throw Error("https://svelte.dev/e/effect_in_teardown");
39
+ }
40
+ function we() {
41
+ throw Error("https://svelte.dev/e/effect_in_unowned_derived");
42
+ }
43
+ function Te(e) {
44
+ throw Error("https://svelte.dev/e/effect_orphan");
45
+ }
46
+ function Ee() {
47
+ throw Error("https://svelte.dev/e/effect_update_depth_exceeded");
48
+ }
49
+ function De() {
50
+ throw Error("https://svelte.dev/e/hydration_failed");
51
+ }
52
+ function Oe(e) {
53
+ throw Error("https://svelte.dev/e/props_invalid_value");
54
+ }
55
+ function ke() {
56
+ throw Error("https://svelte.dev/e/state_descriptors_fixed");
57
+ }
58
+ function Ae() {
59
+ throw Error("https://svelte.dev/e/state_prototype_fixed");
60
+ }
61
+ function je() {
62
+ throw Error("https://svelte.dev/e/state_unsafe_mutation");
63
+ }
64
+ function Me() {
65
+ throw Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
66
+ }
67
+ function Ne() {
68
+ console.warn("https://svelte.dev/e/derived_inert");
69
+ }
70
+ function Pe(e) {
71
+ console.warn("https://svelte.dev/e/hydration_mismatch");
72
+ }
73
+ function Fe() {
74
+ console.warn("https://svelte.dev/e/select_multiple_invalid_value");
75
+ }
76
+ function Ie() {
77
+ console.warn("https://svelte.dev/e/svelte_boundary_reset_noop");
78
+ }
79
+ //#endregion
80
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/hydration.js
81
+ var w = !1;
82
+ function T(e) {
83
+ w = e;
84
+ }
85
+ var E;
86
+ function D(t) {
87
+ if (t === null) throw Pe(), e;
88
+ return E = t;
89
+ }
90
+ function Le() {
91
+ return D(/* @__PURE__ */ R(E));
92
+ }
93
+ function Re(t) {
94
+ if (w) {
95
+ if (/* @__PURE__ */ R(E) !== null) throw Pe(), e;
96
+ E = t;
97
+ }
98
+ }
99
+ function ze(e = 1) {
100
+ if (w) {
101
+ for (var t = e, n = E; t--;) n = /* @__PURE__ */ R(n);
102
+ E = n;
103
+ }
104
+ }
105
+ function Be(e = !0) {
106
+ for (var t = 0, n = E;;) {
107
+ if (n.nodeType === 8) {
108
+ var r = n.data;
109
+ if (r === "]") {
110
+ if (t === 0) return n;
111
+ --t;
112
+ } else (r === "[" || r === "[!" || r[0] === "[" && !isNaN(Number(r.slice(1)))) && (t += 1);
113
+ }
114
+ var i = /* @__PURE__ */ R(n);
115
+ e && n.remove(), n = i;
116
+ }
117
+ }
118
+ function Ve(t) {
119
+ if (!t || t.nodeType !== 8) throw Pe(), e;
120
+ return t.data;
121
+ }
122
+ //#endregion
123
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/reactivity/equality.js
124
+ function He(e) {
125
+ return e === this.v;
126
+ }
127
+ function Ue(e, t) {
128
+ return e == e ? e !== t || typeof e == "object" && !!e || typeof e == "function" : t == t;
129
+ }
130
+ function We(e) {
131
+ return !Ue(e, this.v);
132
+ }
133
+ //#endregion
134
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/context.js
135
+ var O = null;
136
+ function Ge(e) {
137
+ O = e;
138
+ }
139
+ function Ke(e, t = !1, n) {
140
+ O = {
141
+ p: O,
142
+ i: !1,
143
+ c: null,
144
+ e: null,
145
+ s: e,
146
+ x: null,
147
+ r: K,
148
+ l: null
149
+ };
150
+ }
151
+ function qe(e) {
152
+ var t = O, n = t.e;
153
+ if (n !== null) {
154
+ t.e = null;
155
+ for (var r of n) xn(r);
156
+ }
157
+ return e !== void 0 && (t.x = e), t.i = !0, O = t.p, e ?? {};
158
+ }
159
+ function Je() {
160
+ return !0;
161
+ }
162
+ //#endregion
163
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/task.js
164
+ var Ye = [];
165
+ function Xe() {
166
+ var e = Ye;
167
+ Ye = [], _(e);
168
+ }
169
+ function k(e) {
170
+ if (Ye.length === 0 && !lt) {
171
+ var t = Ye;
172
+ queueMicrotask(() => {
173
+ t === Ye && Xe();
174
+ });
175
+ }
176
+ Ye.push(e);
177
+ }
178
+ function Ze() {
179
+ for (; Ye.length > 0;) Xe();
180
+ }
181
+ function Qe(e) {
182
+ var t = K;
183
+ if (t === null) return U.f |= de, e;
184
+ if (!(t.f & 32768) && !(t.f & 4)) throw e;
185
+ $e(e, t);
186
+ }
187
+ function $e(e, t) {
188
+ for (; t !== null;) {
189
+ if (t.f & 128) {
190
+ if (!(t.f & 32768)) throw e;
191
+ try {
192
+ t.b.error(e);
193
+ return;
194
+ } catch (t) {
195
+ e = t;
196
+ }
197
+ }
198
+ t = t.parent;
199
+ }
200
+ throw e;
201
+ }
202
+ //#endregion
203
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/reactivity/status.js
204
+ var et = ~(x | S | b);
205
+ function A(e, t) {
206
+ e.f = e.f & et | t;
207
+ }
208
+ function tt(e) {
209
+ e.f & 512 || e.deps === null ? A(e, b) : A(e, S);
210
+ }
211
+ //#endregion
212
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/reactivity/utils.js
213
+ function nt(e) {
214
+ if (e !== null) for (let t of e) !(t.f & 2) || !(t.f & 65536) || (t.f ^= ce, nt(t.deps));
215
+ }
216
+ function rt(e, t, n) {
217
+ e.f & 2048 ? t.add(e) : e.f & 4096 && n.add(e), nt(e.deps), A(e, b);
218
+ }
219
+ //#endregion
220
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/reactivity/store.js
221
+ var it = !1;
222
+ function at(e) {
223
+ var t = it;
224
+ try {
225
+ return it = !1, [e(), it];
226
+ } finally {
227
+ it = t;
228
+ }
229
+ }
230
+ //#endregion
231
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/reactivity/batch.js
232
+ var ot = null, j = null, st = null, M = null, ct = null, lt = !1, ut = !1, dt = null, ft = null, pt = 0, mt = 1, ht = class e {
233
+ id = mt++;
234
+ #e = !1;
235
+ linked = !0;
236
+ #t = null;
237
+ #n = null;
238
+ async_deriveds = /* @__PURE__ */ new Map();
239
+ current = /* @__PURE__ */ new Map();
240
+ previous = /* @__PURE__ */ new Map();
241
+ unblocked = /* @__PURE__ */ new Set();
242
+ #r = /* @__PURE__ */ new Set();
243
+ #i = /* @__PURE__ */ new Set();
244
+ #a = /* @__PURE__ */ new Set();
245
+ #o = 0;
246
+ #s = /* @__PURE__ */ new Map();
247
+ #c = null;
248
+ #l = [];
249
+ #u = [];
250
+ #d = /* @__PURE__ */ new Set();
251
+ #f = /* @__PURE__ */ new Set();
252
+ #p = /* @__PURE__ */ new Map();
253
+ #m = /* @__PURE__ */ new Set();
254
+ is_fork = !1;
255
+ #h = !1;
256
+ #g() {
257
+ if (this.is_fork) return !0;
258
+ for (let n of this.#s.keys()) {
259
+ for (var e = n, t = !1; e.parent !== null;) {
260
+ if (this.#p.has(e)) {
261
+ t = !0;
262
+ break;
263
+ }
264
+ e = e.parent;
265
+ }
266
+ if (!t) return !0;
267
+ }
268
+ return !1;
269
+ }
270
+ skip_effect(e) {
271
+ this.#p.has(e) || this.#p.set(e, {
272
+ d: [],
273
+ m: []
274
+ }), this.#m.delete(e);
275
+ }
276
+ unskip_effect(e, t = (e) => this.schedule(e)) {
277
+ var n = this.#p.get(e);
278
+ if (n) {
279
+ this.#p.delete(e);
280
+ for (var r of n.d) A(r, x), t(r);
281
+ for (r of n.m) A(r, S), t(r);
282
+ }
283
+ this.#m.add(e);
284
+ }
285
+ #_() {
286
+ if (this.#e = !0, pt++ > 1e3 && (this.#C(), _t()), !this.#g()) {
287
+ for (let e of this.#d) this.#f.delete(e), A(e, x), this.schedule(e);
288
+ for (let e of this.#f) A(e, S), this.schedule(e);
289
+ }
290
+ let t = this.#l;
291
+ this.#l = [], this.apply();
292
+ var n = dt = [], r = [], i = ft = [];
293
+ for (let e of t) try {
294
+ this.#v(e, n, r);
295
+ } catch (t) {
296
+ throw xt(e), t;
297
+ }
298
+ if (j = null, i.length > 0) {
299
+ var a = e.ensure();
300
+ for (let e of i) a.schedule(e);
301
+ }
302
+ if (dt = null, ft = null, this.#g()) {
303
+ this.#x(r), this.#x(n);
304
+ for (let [e, t] of this.#p) bt(e, t);
305
+ i.length > 0 && j.#_();
306
+ return;
307
+ }
308
+ let o = this.#y();
309
+ if (o) {
310
+ o.#b(this);
311
+ return;
312
+ }
313
+ this.#d.clear(), this.#f.clear();
314
+ for (let e of this.#r) e(this);
315
+ this.#r.clear(), st = this, vt(r), vt(n), st = null, this.#c?.resolve();
316
+ var s = j;
317
+ if (this.linked && this.#o === 0 && this.#C(), this.#l.length > 0) {
318
+ s === null && (s = this, this.#S());
319
+ let e = s;
320
+ e.#l.push(...this.#l.filter((t) => !e.#l.includes(t)));
321
+ }
322
+ s !== null && s.#_();
323
+ }
324
+ #v(e, t, n) {
325
+ e.f ^= b;
326
+ for (var r = e.first; r !== null;) {
327
+ var i = r.f, a = !!(i & 96);
328
+ if (!(a && i & 1024 || i & 8192 || this.#p.has(r)) && r.fn !== null) {
329
+ a ? r.f ^= b : i & 4 ? t.push(r) : Xn(r) && (i & 16 && this.#f.add(r), tr(r));
330
+ var o = r.first;
331
+ if (o !== null) {
332
+ r = o;
333
+ continue;
334
+ }
335
+ }
336
+ for (; r !== null;) {
337
+ var s = r.next;
338
+ if (s !== null) {
339
+ r = s;
340
+ break;
341
+ }
342
+ r = r.parent;
343
+ }
344
+ }
345
+ }
346
+ #y() {
347
+ for (var e = this.#t; e !== null;) {
348
+ if (!e.is_fork) {
349
+ for (let [t, [, n]] of this.current) if (e.current.has(t) && !n) return e;
350
+ }
351
+ e = e.#t;
352
+ }
353
+ return null;
354
+ }
355
+ #b(e) {
356
+ for (let [t, n] of e.current) !this.previous.has(t) && e.previous.has(t) && this.previous.set(t, e.previous.get(t)), this.current.set(t, n);
357
+ for (let [t, n] of e.async_deriveds) {
358
+ let e = this.async_deriveds.get(t);
359
+ e && n.promise.then(e.resolve);
360
+ }
361
+ let t = (e) => {
362
+ var n = e.reactions;
363
+ if (n !== null) for (let e of n) {
364
+ var r = e.f;
365
+ if (r & 2) t(e);
366
+ else {
367
+ var i = e;
368
+ r & 4194320 && !this.async_deriveds.has(i) && (this.#f.delete(i), A(i, x), this.schedule(i));
369
+ }
370
+ }
371
+ };
372
+ for (let e of this.current.keys()) t(e);
373
+ this.oncommit(() => e.discard()), e.#C(), j = this, this.#_();
374
+ }
375
+ #x(e) {
376
+ for (var t = 0; t < e.length; t += 1) rt(e[t], this.#d, this.#f);
377
+ }
378
+ capture(e, n, r = !1) {
379
+ e.v !== t && !this.previous.has(e) && this.previous.set(e, e.v), e.f & 8388608 || (this.current.set(e, [n, r]), M?.set(e, n)), this.is_fork || (e.v = n);
380
+ }
381
+ activate() {
382
+ j = this;
383
+ }
384
+ deactivate() {
385
+ j = null, M = null;
386
+ }
387
+ flush() {
388
+ try {
389
+ ut = !0, j = this, this.#_();
390
+ } finally {
391
+ pt = 0, ct = null, dt = null, ft = null, ut = !1, j = null, M = null, Vt.clear();
392
+ }
393
+ }
394
+ discard() {
395
+ for (let e of this.#i) e(this);
396
+ this.#i.clear(), this.#a.clear(), this.#C();
397
+ }
398
+ register_created_effect(e) {
399
+ this.#u.push(e);
400
+ }
401
+ increment(e, t) {
402
+ if (this.#o += 1, e) {
403
+ let e = this.#s.get(t) ?? 0;
404
+ this.#s.set(t, e + 1);
405
+ }
406
+ }
407
+ decrement(e, t) {
408
+ if (--this.#o, e) {
409
+ let e = this.#s.get(t) ?? 0;
410
+ e === 1 ? this.#s.delete(t) : this.#s.set(t, e - 1);
411
+ }
412
+ this.#h || (this.#h = !0, k(() => {
413
+ this.#h = !1, this.linked && this.flush();
414
+ }));
415
+ }
416
+ transfer_effects(e, t) {
417
+ for (let t of e) this.#d.add(t);
418
+ for (let e of t) this.#f.add(e);
419
+ e.clear(), t.clear();
420
+ }
421
+ oncommit(e) {
422
+ this.#r.add(e);
423
+ }
424
+ ondiscard(e) {
425
+ this.#i.add(e);
426
+ }
427
+ on_fork_commit(e) {
428
+ this.#a.add(e);
429
+ }
430
+ run_fork_commit_callbacks() {
431
+ for (let e of this.#a) e(this);
432
+ this.#a.clear();
433
+ }
434
+ settled() {
435
+ return (this.#c ??= v()).promise;
436
+ }
437
+ static ensure() {
438
+ if (j === null) {
439
+ let t = j = new e();
440
+ t.#S(), !ut && !lt && k(() => {
441
+ t.#e || t.flush();
442
+ });
443
+ }
444
+ return j;
445
+ }
446
+ apply() {
447
+ M = null;
448
+ }
449
+ schedule(e) {
450
+ if (ct = e, e.b?.is_pending && e.f & 16777228 && !(e.f & 32768)) {
451
+ e.b.defer_effect(e);
452
+ return;
453
+ }
454
+ for (var t = e; t.parent !== null;) {
455
+ t = t.parent;
456
+ var n = t.f;
457
+ if (dt !== null && t === K && (U === null || !(U.f & 2))) return;
458
+ if (n & 96) {
459
+ if (!(n & 1024)) return;
460
+ t.f ^= b;
461
+ }
462
+ }
463
+ this.#l.push(t);
464
+ }
465
+ #S() {
466
+ ot === null ? ot = this : (ot.#n = this, this.#t = ot), ot = this;
467
+ }
468
+ #C() {
469
+ var e = this.#t, t = this.#n;
470
+ e === null || (e.#n = t), t === null ? ot = e : t.#t = e, this.linked = !1;
471
+ }
472
+ };
473
+ function gt(e) {
474
+ var t = lt;
475
+ lt = !0;
476
+ try {
477
+ var n;
478
+ for (e && (j !== null && !j.is_fork && j.flush(), n = e());;) {
479
+ if (Ze(), j === null) return n;
480
+ j.flush();
481
+ }
482
+ } finally {
483
+ lt = t;
484
+ }
485
+ }
486
+ function _t() {
487
+ try {
488
+ Ee();
489
+ } catch (e) {
490
+ $e(e, ct);
491
+ }
492
+ }
493
+ var N = null;
494
+ function vt(e) {
495
+ var t = e.length;
496
+ if (t !== 0) {
497
+ for (var n = 0; n < t;) {
498
+ var r = e[n++];
499
+ if (!(r.f & 24576) && Xn(r) && (N = /* @__PURE__ */ new Set(), tr(r), r.deps === null && r.first === null && r.nodes === null && r.teardown === null && r.ac === null && Pn(r), N?.size > 0)) {
500
+ Vt.clear();
501
+ for (let e of N) {
502
+ if (e.f & 24576) continue;
503
+ let t = [e], n = e.parent;
504
+ for (; n !== null;) N.has(n) && (N.delete(n), t.push(n)), n = n.parent;
505
+ for (let e = t.length - 1; e >= 0; e--) {
506
+ let n = t[e];
507
+ n.f & 24576 || tr(n);
508
+ }
509
+ }
510
+ N.clear();
511
+ }
512
+ }
513
+ N = null;
514
+ }
515
+ }
516
+ function yt(e) {
517
+ j.schedule(e);
518
+ }
519
+ function bt(e, t) {
520
+ if (!(e.f & 32 && e.f & 1024)) {
521
+ e.f & 2048 ? t.d.push(e) : e.f & 4096 && t.m.push(e), A(e, b);
522
+ for (var n = e.first; n !== null;) bt(n, t), n = n.next;
523
+ }
524
+ }
525
+ function xt(e) {
526
+ A(e, b);
527
+ for (var t = e.first; t !== null;) xt(t), t = t.next;
528
+ }
529
+ //#endregion
530
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/reactivity/create-subscriber.js
531
+ function St(e) {
532
+ let t = 0, n = Ut(0), r;
533
+ return () => {
534
+ vn() && (Q(n), En(() => (t === 0 && (r = ar(() => e(() => qt(n)))), t += 1, () => {
535
+ k(() => {
536
+ --t, t === 0 && (r?.(), r = void 0, qt(n));
537
+ });
538
+ })));
539
+ };
540
+ }
541
+ //#endregion
542
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/blocks/boundary.js
543
+ var Ct = ie | ae;
544
+ function wt(e, t, n, r) {
545
+ new Tt(e, t, n, r);
546
+ }
547
+ var Tt = class {
548
+ parent;
549
+ is_pending = !1;
550
+ transform_error;
551
+ #e;
552
+ #t = w ? E : null;
553
+ #n;
554
+ #r;
555
+ #i;
556
+ #a = null;
557
+ #o = null;
558
+ #s = null;
559
+ #c = null;
560
+ #l = 0;
561
+ #u = 0;
562
+ #d = !1;
563
+ #f = /* @__PURE__ */ new Set();
564
+ #p = /* @__PURE__ */ new Set();
565
+ #m = null;
566
+ #h = St(() => (this.#m = Ut(this.#l), () => {
567
+ this.#m = null;
568
+ }));
569
+ constructor(e, t, n, r) {
570
+ this.#e = e, this.#n = t, this.#r = (e) => {
571
+ var t = K;
572
+ t.b = this, t.f |= 128, n(e);
573
+ }, this.parent = K.b, this.transform_error = r ?? this.parent?.transform_error ?? ((e) => e), this.#i = On(() => {
574
+ if (w) {
575
+ let e = this.#t;
576
+ Le();
577
+ let t = e.data === "[!";
578
+ if (e.data.startsWith("[?")) {
579
+ let t = JSON.parse(e.data.slice(2));
580
+ this.#_(t);
581
+ } else t ? this.#v() : this.#g();
582
+ } else this.#y();
583
+ }, Ct), w && (this.#e = E);
584
+ }
585
+ #g() {
586
+ try {
587
+ this.#a = B(() => this.#r(this.#e));
588
+ } catch (e) {
589
+ this.error(e);
590
+ }
591
+ }
592
+ #_(e) {
593
+ let t = this.#n.failed;
594
+ t && (this.#s = B(() => {
595
+ t(this.#e, () => e, () => () => {});
596
+ }));
597
+ }
598
+ #v() {
599
+ let e = this.#n.pending;
600
+ e && (this.is_pending = !0, this.#o = B(() => e(this.#e)), k(() => {
601
+ var e = this.#c = document.createDocumentFragment(), t = I();
602
+ e.append(t), this.#a = this.#x(() => B(() => this.#r(t))), this.#u === 0 && (this.#e.before(e), this.#c = null, Fn(this.#o, () => {
603
+ this.#o = null;
604
+ }), this.#b(j));
605
+ }));
606
+ }
607
+ #y() {
608
+ try {
609
+ if (this.is_pending = this.has_pending_snippet(), this.#u = 0, this.#l = 0, this.#a = B(() => {
610
+ this.#r(this.#e);
611
+ }), this.#u > 0) {
612
+ var e = this.#c = document.createDocumentFragment();
613
+ zn(this.#a, e);
614
+ let t = this.#n.pending;
615
+ this.#o = B(() => t(this.#e));
616
+ } else this.#b(j);
617
+ } catch (e) {
618
+ this.error(e);
619
+ }
620
+ }
621
+ #b(e) {
622
+ this.is_pending = !1, e.transfer_effects(this.#f, this.#p);
623
+ }
624
+ defer_effect(e) {
625
+ rt(e, this.#f, this.#p);
626
+ }
627
+ is_rendered() {
628
+ return !this.is_pending && (!this.parent || this.parent.is_rendered());
629
+ }
630
+ has_pending_snippet() {
631
+ return !!this.#n.pending;
632
+ }
633
+ #x(e) {
634
+ var t = K, n = U, r = O;
635
+ q(this.#i), G(this.#i), Ge(this.#i.ctx);
636
+ try {
637
+ return ht.ensure(), e();
638
+ } catch (e) {
639
+ return Qe(e), null;
640
+ } finally {
641
+ q(t), G(n), Ge(r);
642
+ }
643
+ }
644
+ #S(e, t) {
645
+ if (!this.has_pending_snippet()) {
646
+ this.parent && this.parent.#S(e, t);
647
+ return;
648
+ }
649
+ this.#u += e, this.#u === 0 && (this.#b(t), this.#o && Fn(this.#o, () => {
650
+ this.#o = null;
651
+ }), this.#c &&= (this.#e.before(this.#c), null));
652
+ }
653
+ update_pending_count(e, t) {
654
+ this.#S(e, t), this.#l += e, !(!this.#m || this.#d) && (this.#d = !0, k(() => {
655
+ this.#d = !1, this.#m && Gt(this.#m, this.#l);
656
+ }));
657
+ }
658
+ get_effect_pending() {
659
+ return this.#h(), Q(this.#m);
660
+ }
661
+ error(e) {
662
+ if (!this.#n.onerror && !this.#n.failed) throw e;
663
+ j?.is_fork ? (this.#a && j.skip_effect(this.#a), this.#o && j.skip_effect(this.#o), this.#s && j.skip_effect(this.#s), j.on_fork_commit(() => {
664
+ this.#C(e);
665
+ })) : this.#C(e);
666
+ }
667
+ #C(e) {
668
+ this.#a &&= (V(this.#a), null), this.#o &&= (V(this.#o), null), this.#s &&= (V(this.#s), null), w && (D(this.#t), ze(), D(Be()));
669
+ var t = this.#n.onerror;
670
+ let n = this.#n.failed;
671
+ var r = !1, i = !1;
672
+ let a = () => {
673
+ if (r) {
674
+ Ie();
675
+ return;
676
+ }
677
+ r = !0, i && Me(), this.#s !== null && Fn(this.#s, () => {
678
+ this.#s = null;
679
+ }), this.#x(() => {
680
+ this.#y();
681
+ });
682
+ }, o = (e) => {
683
+ try {
684
+ i = !0, t?.(e, a), i = !1;
685
+ } catch (e) {
686
+ $e(e, this.#i && this.#i.parent);
687
+ }
688
+ n && (this.#s = this.#x(() => {
689
+ try {
690
+ return B(() => {
691
+ var t = K;
692
+ t.b = this, t.f |= 128, n(this.#e, () => e, () => a);
693
+ });
694
+ } catch (e) {
695
+ return $e(e, this.#i.parent), null;
696
+ }
697
+ }));
698
+ };
699
+ k(() => {
700
+ var t;
701
+ try {
702
+ t = this.transform_error(e);
703
+ } catch (e) {
704
+ $e(e, this.#i && this.#i.parent);
705
+ return;
706
+ }
707
+ typeof t == "object" && t && typeof t.then == "function" ? t.then(o, (e) => $e(e, this.#i && this.#i.parent)) : o(t);
708
+ });
709
+ }
710
+ };
711
+ //#endregion
712
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/reactivity/async.js
713
+ function Et(e, t, n, r) {
714
+ let i = Je() ? At : Pt;
715
+ var a = e.filter((e) => !e.settled);
716
+ if (n.length === 0 && a.length === 0) {
717
+ r(t.map(i));
718
+ return;
719
+ }
720
+ var o = K, s = Dt(), c = a.length === 1 ? a[0].promise : a.length > 1 ? Promise.all(a.map((e) => e.promise)) : null;
721
+ function l(e) {
722
+ if (!(o.f & 16384)) {
723
+ s();
724
+ try {
725
+ r(e);
726
+ } catch (e) {
727
+ $e(e, o);
728
+ }
729
+ Ot();
730
+ }
731
+ }
732
+ var u = kt();
733
+ if (n.length === 0) {
734
+ c.then(() => l(t.map(i))).finally(u);
735
+ return;
736
+ }
737
+ function d() {
738
+ Promise.all(n.map((e) => /* @__PURE__ */ Mt(e))).then((e) => l([...t.map(i), ...e])).catch((e) => $e(e, o)).finally(u);
739
+ }
740
+ c ? c.then(() => {
741
+ s(), d(), Ot();
742
+ }) : d();
743
+ }
744
+ function Dt() {
745
+ var e = K, t = U, n = O, r = j;
746
+ return function(i = !0) {
747
+ q(e), G(t), Ge(n), i && !(e.f & 16384) && (r?.activate(), r?.apply());
748
+ };
749
+ }
750
+ function Ot(e = !0) {
751
+ q(null), G(null), Ge(null), e && j?.deactivate();
752
+ }
753
+ function kt() {
754
+ var e = K, t = e.b, n = j, r = t.is_rendered();
755
+ return t.update_pending_count(1, n), n.increment(r, e), () => {
756
+ t.update_pending_count(-1, n), n.decrement(r, e);
757
+ };
758
+ }
759
+ /*#__NO_SIDE_EFFECTS__*/
760
+ function At(e) {
761
+ var n = 2 | x;
762
+ return K !== null && (K.f |= ae), {
763
+ ctx: O,
764
+ deps: null,
765
+ effects: null,
766
+ equals: He,
767
+ f: n,
768
+ fn: e,
769
+ reactions: null,
770
+ rv: 0,
771
+ v: t,
772
+ wv: 0,
773
+ parent: K,
774
+ ac: null
775
+ };
776
+ }
777
+ var jt = Symbol("obsolete");
778
+ /*#__NO_SIDE_EFFECTS__*/
779
+ function Mt(e, n, r) {
780
+ let i = K;
781
+ i === null && xe();
782
+ var a = void 0, o = Ut(t), s = !U, c = /* @__PURE__ */ new Set();
783
+ return Tn(() => {
784
+ var t = K, n = v();
785
+ a = n.promise;
786
+ try {
787
+ Promise.resolve(e()).then(n.resolve, (e) => {
788
+ e !== ye && n.reject(e);
789
+ }).finally(Ot);
790
+ } catch (e) {
791
+ n.reject(e), Ot();
792
+ }
793
+ var r = j;
794
+ if (s) {
795
+ if (t.f & 32768) var l = kt();
796
+ if (i.b.is_rendered()) r.async_deriveds.get(t)?.reject(jt);
797
+ else for (let e of c.values()) e.reject(jt);
798
+ c.add(n), r.async_deriveds.set(t, n);
799
+ }
800
+ let u = (e, t = void 0) => {
801
+ l?.(), c.delete(n), t !== jt && (r.activate(), t ? (o.f |= de, Gt(o, t)) : (o.f & 8388608 && (o.f ^= de), Gt(o, e)), r.deactivate());
802
+ };
803
+ n.promise.then(u, (e) => u(null, e || "unknown"));
804
+ }), yn(() => {
805
+ for (let e of c) e.reject(jt);
806
+ }), new Promise((e) => {
807
+ function t(n) {
808
+ function r() {
809
+ n === a ? e(o) : t(a);
810
+ }
811
+ n.then(r, r);
812
+ }
813
+ t(a);
814
+ });
815
+ }
816
+ /*#__NO_SIDE_EFFECTS__*/
817
+ function Nt(e) {
818
+ let t = /* @__PURE__ */ At(e);
819
+ return Un(t), t;
820
+ }
821
+ /*#__NO_SIDE_EFFECTS__*/
822
+ function Pt(e) {
823
+ let t = /* @__PURE__ */ At(e);
824
+ return t.equals = We, t;
825
+ }
826
+ function Ft(e) {
827
+ var t = e.effects;
828
+ if (t !== null) {
829
+ e.effects = null;
830
+ for (var n = 0; n < t.length; n += 1) V(t[n]);
831
+ }
832
+ }
833
+ function It(e) {
834
+ var n, r = K, i = e.parent;
835
+ if (!H && i !== null && e.v !== t && i.f & 24576) return Ne(), e.v;
836
+ q(i);
837
+ try {
838
+ e.f &= ~ce, Ft(e), n = Qn(e);
839
+ } finally {
840
+ q(r);
841
+ }
842
+ return n;
843
+ }
844
+ function Lt(e) {
845
+ var t = It(e);
846
+ if (!e.equals(t) && (e.wv = Yn(), (!j?.is_fork || e.deps === null) && (j === null ? e.v = t : (j.capture(e, t, !0), st?.capture(e, t, !0)), e.deps === null))) {
847
+ A(e, b);
848
+ return;
849
+ }
850
+ H || (M === null ? tt(e) : (vn() || j?.is_fork) && M.set(e, t));
851
+ }
852
+ function Rt(e) {
853
+ if (e.effects !== null) for (let t of e.effects) (t.teardown || t.ac) && (t.teardown?.(), t.ac?.abort(ye), t.fn !== null && (t.teardown = g), t.ac = null, er(t, 0), jn(t));
854
+ }
855
+ function zt(e) {
856
+ if (e.effects !== null) for (let t of e.effects) t.teardown && t.fn !== null && tr(t);
857
+ }
858
+ //#endregion
859
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/reactivity/sources.js
860
+ var Bt = /* @__PURE__ */ new Set(), Vt = /* @__PURE__ */ new Map(), Ht = !1;
861
+ function Ut(e, t) {
862
+ return {
863
+ f: 0,
864
+ v: e,
865
+ reactions: null,
866
+ equals: He,
867
+ rv: 0,
868
+ wv: 0
869
+ };
870
+ }
871
+ /*#__NO_SIDE_EFFECTS__*/
872
+ function P(e, t) {
873
+ let n = Ut(e, t);
874
+ return Un(n), n;
875
+ }
876
+ /*#__NO_SIDE_EFFECTS__*/
877
+ function Wt(e, t = !1, n = !0) {
878
+ let r = Ut(e);
879
+ return t || (r.equals = We), r;
880
+ }
881
+ function F(e, t, n = !1) {
882
+ return U !== null && (!W || U.f & 131072) && Je() && U.f & 4325394 && (J === null || !a.call(J, e)) && je(), Gt(e, n ? Yt(t) : t, ft);
883
+ }
884
+ function Gt(e, t, n = null) {
885
+ if (!e.equals(t)) {
886
+ Vt.set(e, H ? t : e.v);
887
+ var r = ht.ensure();
888
+ if (r.capture(e, t), e.f & 2) {
889
+ let t = e;
890
+ e.f & 2048 && It(t), M === null && tt(t);
891
+ }
892
+ e.wv = Yn(), Jt(e, x, n), Je() && K !== null && K.f & 1024 && !(K.f & 96) && (Z === null ? Wn([e]) : Z.push(e)), !r.is_fork && Bt.size > 0 && !Ht && Kt();
893
+ }
894
+ return t;
895
+ }
896
+ function Kt() {
897
+ Ht = !1;
898
+ for (let e of Bt) {
899
+ e.f & 1024 && A(e, S);
900
+ let t;
901
+ try {
902
+ t = Xn(e);
903
+ } catch {
904
+ t = !0;
905
+ }
906
+ t && tr(e);
907
+ }
908
+ Bt.clear();
909
+ }
910
+ function qt(e) {
911
+ F(e, e.v + 1);
912
+ }
913
+ function Jt(e, t, n) {
914
+ var r = e.reactions;
915
+ if (r !== null) for (var i = Je(), a = r.length, o = 0; o < a; o++) {
916
+ var s = r[o], c = s.f;
917
+ if (!(!i && s === K)) {
918
+ var l = (c & x) === 0;
919
+ if (l && A(s, t), c & 131072) Bt.add(s);
920
+ else if (c & 2) {
921
+ var u = s;
922
+ M?.delete(u), c & 65536 || (c & 512 && (K === null || !(K.f & 2097152)) && (s.f |= ce), Jt(u, S, n));
923
+ } else if (l) {
924
+ var d = s;
925
+ c & 16 && N !== null && N.add(d), n === null ? yt(d) : n.push(d);
926
+ }
927
+ }
928
+ }
929
+ }
930
+ function Yt(e) {
931
+ if (typeof e != "object" || !e || C in e) return e;
932
+ let n = p(e);
933
+ if (n !== d && n !== f) return e;
934
+ var i = /* @__PURE__ */ new Map(), a = r(e), o = /* @__PURE__ */ P(0), s = null, c = qn, u = (e) => {
935
+ if (qn === c) return e();
936
+ var t = U, n = qn;
937
+ G(null), Jn(c);
938
+ var r = e();
939
+ return G(t), Jn(n), r;
940
+ };
941
+ return a && i.set("length", /* @__PURE__ */ P(e.length, s)), new Proxy(e, {
942
+ defineProperty(e, t, n) {
943
+ (!("value" in n) || n.configurable === !1 || n.enumerable === !1 || n.writable === !1) && ke();
944
+ var r = i.get(t);
945
+ return r === void 0 ? u(() => {
946
+ var e = /* @__PURE__ */ P(n.value, s);
947
+ return i.set(t, e), e;
948
+ }) : F(r, n.value, !0), !0;
949
+ },
950
+ deleteProperty(e, n) {
951
+ var r = i.get(n);
952
+ if (r === void 0) {
953
+ if (n in e) {
954
+ let e = u(() => /* @__PURE__ */ P(t, s));
955
+ i.set(n, e), qt(o);
956
+ }
957
+ } else F(r, t), qt(o);
958
+ return !0;
959
+ },
960
+ get(n, r, a) {
961
+ if (r === C) return e;
962
+ var o = i.get(r), c = r in n;
963
+ if (o === void 0 && (!c || l(n, r)?.writable) && (o = u(() => /* @__PURE__ */ P(Yt(c ? n[r] : t), s)), i.set(r, o)), o !== void 0) {
964
+ var d = Q(o);
965
+ return d === t ? void 0 : d;
966
+ }
967
+ return Reflect.get(n, r, a);
968
+ },
969
+ getOwnPropertyDescriptor(e, n) {
970
+ var r = Reflect.getOwnPropertyDescriptor(e, n);
971
+ if (r && "value" in r) {
972
+ var a = i.get(n);
973
+ a && (r.value = Q(a));
974
+ } else if (r === void 0) {
975
+ var o = i.get(n), s = o?.v;
976
+ if (o !== void 0 && s !== t) return {
977
+ enumerable: !0,
978
+ configurable: !0,
979
+ value: s,
980
+ writable: !0
981
+ };
982
+ }
983
+ return r;
984
+ },
985
+ has(e, n) {
986
+ if (n === C) return !0;
987
+ var r = i.get(n), a = r !== void 0 && r.v !== t || Reflect.has(e, n);
988
+ return (r !== void 0 || K !== null && (!a || l(e, n)?.writable)) && (r === void 0 && (r = u(() => /* @__PURE__ */ P(a ? Yt(e[n]) : t, s)), i.set(n, r)), Q(r) === t) ? !1 : a;
989
+ },
990
+ set(e, n, r, c) {
991
+ var d = i.get(n), f = n in e;
992
+ if (a && n === "length") for (var p = r; p < d.v; p += 1) {
993
+ var m = i.get(p + "");
994
+ m === void 0 ? p in e && (m = u(() => /* @__PURE__ */ P(t, s)), i.set(p + "", m)) : F(m, t);
995
+ }
996
+ if (d === void 0) (!f || l(e, n)?.writable) && (d = u(() => /* @__PURE__ */ P(void 0, s)), F(d, Yt(r)), i.set(n, d));
997
+ else {
998
+ f = d.v !== t;
999
+ var h = u(() => Yt(r));
1000
+ F(d, h);
1001
+ }
1002
+ var g = Reflect.getOwnPropertyDescriptor(e, n);
1003
+ if (g?.set && g.set.call(c, r), !f) {
1004
+ if (a && typeof n == "string") {
1005
+ var _ = i.get("length"), v = Number(n);
1006
+ Number.isInteger(v) && v >= _.v && F(_, v + 1);
1007
+ }
1008
+ qt(o);
1009
+ }
1010
+ return !0;
1011
+ },
1012
+ ownKeys(e) {
1013
+ Q(o);
1014
+ var n = Reflect.ownKeys(e).filter((e) => {
1015
+ var n = i.get(e);
1016
+ return n === void 0 || n.v !== t;
1017
+ });
1018
+ for (var [r, a] of i) a.v !== t && !(r in e) && n.push(r);
1019
+ return n;
1020
+ },
1021
+ setPrototypeOf() {
1022
+ Ae();
1023
+ }
1024
+ });
1025
+ }
1026
+ function Xt(e) {
1027
+ try {
1028
+ if (typeof e == "object" && e && C in e) return e[C];
1029
+ } catch {}
1030
+ return e;
1031
+ }
1032
+ function Zt(e, t) {
1033
+ return Object.is(Xt(e), Xt(t));
1034
+ }
1035
+ var Qt, $t, en, tn;
1036
+ function nn() {
1037
+ if (Qt === void 0) {
1038
+ Qt = window, $t = /Firefox/.test(navigator.userAgent);
1039
+ var e = Element.prototype, t = Node.prototype, n = Text.prototype;
1040
+ en = l(t, "firstChild").get, tn = l(t, "nextSibling").get, m(e) && (e[he] = void 0, e[me] = null, e[ge] = void 0, e.__e = void 0), m(n) && (n[_e] = void 0);
1041
+ }
1042
+ }
1043
+ function I(e = "") {
1044
+ return document.createTextNode(e);
1045
+ }
1046
+ /*@__NO_SIDE_EFFECTS__*/
1047
+ function L(e) {
1048
+ return en.call(e);
1049
+ }
1050
+ /*@__NO_SIDE_EFFECTS__*/
1051
+ function R(e) {
1052
+ return tn.call(e);
1053
+ }
1054
+ function rn(e, t) {
1055
+ if (!w) return /* @__PURE__ */ L(e);
1056
+ var n = /* @__PURE__ */ L(E);
1057
+ if (n === null) n = E.appendChild(I());
1058
+ else if (t && n.nodeType !== 3) {
1059
+ var r = I();
1060
+ return n?.before(r), D(r), r;
1061
+ }
1062
+ return t && un(n), D(n), n;
1063
+ }
1064
+ function an(e, t = !1) {
1065
+ if (!w) {
1066
+ var n = /* @__PURE__ */ L(e);
1067
+ return n instanceof Comment && n.data === "" ? /* @__PURE__ */ R(n) : n;
1068
+ }
1069
+ if (t) {
1070
+ if (E?.nodeType !== 3) {
1071
+ var r = I();
1072
+ return E?.before(r), D(r), r;
1073
+ }
1074
+ un(E);
1075
+ }
1076
+ return E;
1077
+ }
1078
+ function on(e, t = 1, n = !1) {
1079
+ let r = w ? E : e;
1080
+ for (var i; t--;) i = r, r = /* @__PURE__ */ R(r);
1081
+ if (!w) return r;
1082
+ if (n) {
1083
+ if (r?.nodeType !== 3) {
1084
+ var a = I();
1085
+ return r === null ? i?.after(a) : r.before(a), D(a), a;
1086
+ }
1087
+ un(r);
1088
+ }
1089
+ return D(r), r;
1090
+ }
1091
+ function sn(e) {
1092
+ e.textContent = "";
1093
+ }
1094
+ function cn() {
1095
+ return !1;
1096
+ }
1097
+ function ln(e, t, n) {
1098
+ let r = n ? { is: n } : void 0;
1099
+ return document.createElementNS(t ?? "http://www.w3.org/1999/xhtml", e, r);
1100
+ }
1101
+ function un(e) {
1102
+ if (e.nodeValue.length < 65536) return;
1103
+ let t = e.nextSibling;
1104
+ for (; t !== null && t.nodeType === 3;) t.remove(), e.nodeValue += t.nodeValue, t = e.nextSibling;
1105
+ }
1106
+ //#endregion
1107
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/elements/misc.js
1108
+ function dn(e, t) {
1109
+ if (t) {
1110
+ let t = document.body;
1111
+ e.autofocus = !0, k(() => {
1112
+ document.activeElement === t && e.focus();
1113
+ });
1114
+ }
1115
+ }
1116
+ var fn = !1;
1117
+ function pn() {
1118
+ fn || (fn = !0, document.addEventListener("reset", (e) => {
1119
+ Promise.resolve().then(() => {
1120
+ if (!e.defaultPrevented) for (let t of e.target.elements) t[ve]?.();
1121
+ });
1122
+ }, { capture: !0 }));
1123
+ }
1124
+ //#endregion
1125
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/elements/bindings/shared.js
1126
+ function mn(e) {
1127
+ var t = U, n = K;
1128
+ G(null), q(null);
1129
+ try {
1130
+ return e();
1131
+ } finally {
1132
+ G(t), q(n);
1133
+ }
1134
+ }
1135
+ function hn(e, t, n, r = n) {
1136
+ e.addEventListener(t, () => mn(n));
1137
+ let i = e[ve];
1138
+ e[ve] = i ? () => {
1139
+ i(), r(!0);
1140
+ } : () => r(!0), pn();
1141
+ }
1142
+ //#endregion
1143
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/reactivity/effects.js
1144
+ function gn(e) {
1145
+ K === null && (U === null && Te(e), we()), H && Ce(e);
1146
+ }
1147
+ function _n(e, t) {
1148
+ var n = t.last;
1149
+ n === null ? t.last = t.first = e : (n.next = e, e.prev = n, t.last = e);
1150
+ }
1151
+ function z(e, t) {
1152
+ var n = K;
1153
+ n !== null && n.f & 8192 && (e |= ee);
1154
+ var r = {
1155
+ ctx: O,
1156
+ deps: null,
1157
+ nodes: null,
1158
+ f: e | x | 512,
1159
+ first: null,
1160
+ fn: t,
1161
+ last: null,
1162
+ next: null,
1163
+ parent: n,
1164
+ b: n && n.b,
1165
+ prev: null,
1166
+ teardown: null,
1167
+ wv: 0,
1168
+ ac: null
1169
+ };
1170
+ j?.register_created_effect(r);
1171
+ var i = r;
1172
+ if (e & 4) dt === null ? ht.ensure().schedule(r) : dt.push(r);
1173
+ else if (t !== null) {
1174
+ try {
1175
+ tr(r);
1176
+ } catch (e) {
1177
+ throw V(r), e;
1178
+ }
1179
+ i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last && !(i.f & 524288) && (i = i.first, e & 16 && e & 65536 && i !== null && (i.f |= ie));
1180
+ }
1181
+ if (i !== null && (i.parent = n, n !== null && _n(i, n), U !== null && U.f & 2 && !(e & 64))) {
1182
+ var a = U;
1183
+ (a.effects ??= []).push(i);
1184
+ }
1185
+ return r;
1186
+ }
1187
+ function vn() {
1188
+ return U !== null && !W;
1189
+ }
1190
+ function yn(e) {
1191
+ let t = z(8, null);
1192
+ return A(t, b), t.teardown = e, t;
1193
+ }
1194
+ function bn(e) {
1195
+ gn("$effect");
1196
+ var t = K.f;
1197
+ if (!U && t & 32 && !(t & 32768)) {
1198
+ var n = O;
1199
+ (n.e ??= []).push(e);
1200
+ } else return xn(e);
1201
+ }
1202
+ function xn(e) {
1203
+ return z(4 | oe, e);
1204
+ }
1205
+ function Sn(e) {
1206
+ ht.ensure();
1207
+ let t = z(64 | ae, e);
1208
+ return () => {
1209
+ V(t);
1210
+ };
1211
+ }
1212
+ function Cn(e) {
1213
+ ht.ensure();
1214
+ let t = z(64 | ae, e);
1215
+ return (e = {}) => new Promise((n) => {
1216
+ e.outro ? Fn(t, () => {
1217
+ V(t), n(void 0);
1218
+ }) : (V(t), n(void 0));
1219
+ });
1220
+ }
1221
+ function wn(e) {
1222
+ return z(4, e);
1223
+ }
1224
+ function Tn(e) {
1225
+ return z(ue | ae, e);
1226
+ }
1227
+ function En(e, t = 0) {
1228
+ return z(8 | t, e);
1229
+ }
1230
+ function Dn(e, t = [], n = [], r = []) {
1231
+ Et(r, t, n, (t) => {
1232
+ z(8, () => e(...t.map(Q)));
1233
+ });
1234
+ }
1235
+ function On(e, t = 0) {
1236
+ return z(16 | t, e);
1237
+ }
1238
+ function kn(e, t = 0) {
1239
+ return z(y | t, e);
1240
+ }
1241
+ function B(e) {
1242
+ return z(32 | ae, e);
1243
+ }
1244
+ function An(e) {
1245
+ var t = e.teardown;
1246
+ if (t !== null) {
1247
+ let e = H, n = U;
1248
+ Hn(!0), G(null);
1249
+ try {
1250
+ t.call(null);
1251
+ } finally {
1252
+ Hn(e), G(n);
1253
+ }
1254
+ }
1255
+ }
1256
+ function jn(e, t = !1) {
1257
+ var n = e.first;
1258
+ for (e.first = e.last = null; n !== null;) {
1259
+ let e = n.ac;
1260
+ e !== null && mn(() => {
1261
+ e.abort(ye);
1262
+ });
1263
+ var r = n.next;
1264
+ n.f & 64 ? n.parent = null : V(n, t), n = r;
1265
+ }
1266
+ }
1267
+ function Mn(e) {
1268
+ for (var t = e.first; t !== null;) {
1269
+ var n = t.next;
1270
+ t.f & 32 || V(t), t = n;
1271
+ }
1272
+ }
1273
+ function V(e, t = !0) {
1274
+ var n = !1;
1275
+ (t || e.f & 262144) && e.nodes !== null && e.nodes.end !== null && (Nn(e.nodes.start, e.nodes.end), n = !0), A(e, re), jn(e, t && !n), er(e, 0);
1276
+ var r = e.nodes && e.nodes.t;
1277
+ if (r !== null) for (let e of r) e.stop();
1278
+ An(e), e.f ^= re, e.f |= te;
1279
+ var i = e.parent;
1280
+ i !== null && i.first !== null && Pn(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = e.b = null;
1281
+ }
1282
+ function Nn(e, t) {
1283
+ for (; e !== null;) {
1284
+ var n = e === t ? null : /* @__PURE__ */ R(e);
1285
+ e.remove(), e = n;
1286
+ }
1287
+ }
1288
+ function Pn(e) {
1289
+ var t = e.parent, n = e.prev, r = e.next;
1290
+ n !== null && (n.next = r), r !== null && (r.prev = n), t !== null && (t.first === e && (t.first = r), t.last === e && (t.last = n));
1291
+ }
1292
+ function Fn(e, t, n = !0) {
1293
+ var r = [];
1294
+ In(e, r, !0);
1295
+ var i = () => {
1296
+ n && V(e), t && t();
1297
+ }, a = r.length;
1298
+ if (a > 0) {
1299
+ var o = () => --a || i();
1300
+ for (var s of r) s.out(o);
1301
+ } else i();
1302
+ }
1303
+ function In(e, t, n) {
1304
+ if (!(e.f & 8192)) {
1305
+ e.f ^= ee;
1306
+ var r = e.nodes && e.nodes.t;
1307
+ if (r !== null) for (let e of r) (e.is_global || n) && t.push(e);
1308
+ for (var i = e.first; i !== null;) {
1309
+ var a = i.next;
1310
+ if (!(i.f & 64)) {
1311
+ var o = !!(i.f & 65536) || !!(i.f & 32) && !!(e.f & 16);
1312
+ In(i, t, o ? n : !1);
1313
+ }
1314
+ i = a;
1315
+ }
1316
+ }
1317
+ }
1318
+ function Ln(e) {
1319
+ Rn(e, !0);
1320
+ }
1321
+ function Rn(e, t) {
1322
+ if (e.f & 8192) {
1323
+ e.f ^= ee, e.f & 1024 || (A(e, x), ht.ensure().schedule(e));
1324
+ for (var n = e.first; n !== null;) {
1325
+ var r = n.next, i = !!(n.f & 65536) || !!(n.f & 32);
1326
+ Rn(n, i ? t : !1), n = r;
1327
+ }
1328
+ var a = e.nodes && e.nodes.t;
1329
+ if (a !== null) for (let e of a) (e.is_global || t) && e.in();
1330
+ }
1331
+ }
1332
+ function zn(e, t) {
1333
+ if (e.nodes) for (var n = e.nodes.start, r = e.nodes.end; n !== null;) {
1334
+ var i = n === r ? null : /* @__PURE__ */ R(n);
1335
+ t.append(n), n = i;
1336
+ }
1337
+ }
1338
+ //#endregion
1339
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/legacy.js
1340
+ var Bn = null, Vn = !1, H = !1;
1341
+ function Hn(e) {
1342
+ H = e;
1343
+ }
1344
+ var U = null, W = !1;
1345
+ function G(e) {
1346
+ U = e;
1347
+ }
1348
+ var K = null;
1349
+ function q(e) {
1350
+ K = e;
1351
+ }
1352
+ var J = null;
1353
+ function Un(e) {
1354
+ U !== null && (J === null ? J = [e] : J.push(e));
1355
+ }
1356
+ var Y = null, X = 0, Z = null;
1357
+ function Wn(e) {
1358
+ Z = e;
1359
+ }
1360
+ var Gn = 1, Kn = 0, qn = Kn;
1361
+ function Jn(e) {
1362
+ qn = e;
1363
+ }
1364
+ function Yn() {
1365
+ return ++Gn;
1366
+ }
1367
+ function Xn(e) {
1368
+ var t = e.f;
1369
+ if (t & 2048) return !0;
1370
+ if (t & 2 && (e.f &= ~ce), t & 4096) {
1371
+ for (var n = e.deps, r = n.length, i = 0; i < r; i++) {
1372
+ var a = n[i];
1373
+ if (Xn(a) && Lt(a), a.wv > e.wv) return !0;
1374
+ }
1375
+ t & 512 && M === null && A(e, b);
1376
+ }
1377
+ return !1;
1378
+ }
1379
+ function Zn(e, t, n = !0) {
1380
+ var r = e.reactions;
1381
+ if (r !== null && !(J !== null && a.call(J, e))) for (var i = 0; i < r.length; i++) {
1382
+ var o = r[i];
1383
+ o.f & 2 ? Zn(o, t, !1) : t === o && (n ? A(o, x) : o.f & 1024 && A(o, S), yt(o));
1384
+ }
1385
+ }
1386
+ function Qn(e) {
1387
+ var t = Y, n = X, r = Z, i = U, a = J, o = O, s = W, c = qn, l = e.f;
1388
+ Y = null, X = 0, Z = null, U = l & 96 ? null : e, J = null, Ge(e.ctx), W = !1, qn = ++Kn, e.ac !== null && (mn(() => {
1389
+ e.ac.abort(ye);
1390
+ }), e.ac = null);
1391
+ try {
1392
+ e.f |= le;
1393
+ var u = e.fn, d = u();
1394
+ e.f |= ne;
1395
+ var f = e.deps, p = j?.is_fork;
1396
+ if (Y !== null) {
1397
+ var m;
1398
+ if (p || er(e, X), f !== null && X > 0) for (f.length = X + Y.length, m = 0; m < Y.length; m++) f[X + m] = Y[m];
1399
+ else e.deps = f = Y;
1400
+ if (vn() && e.f & 512) for (m = X; m < f.length; m++) (f[m].reactions ??= []).push(e);
1401
+ } else !p && f !== null && X < f.length && (er(e, X), f.length = X);
1402
+ if (Je() && Z !== null && !W && f !== null && !(e.f & 6146)) for (m = 0; m < Z.length; m++) Zn(Z[m], e);
1403
+ if (i !== null && i !== e) {
1404
+ if (Kn++, i.deps !== null) for (let e = 0; e < n; e += 1) i.deps[e].rv = Kn;
1405
+ if (t !== null) for (let e of t) e.rv = Kn;
1406
+ Z !== null && (r === null ? r = Z : r.push(...Z));
1407
+ }
1408
+ return e.f & 8388608 && (e.f ^= de), d;
1409
+ } catch (e) {
1410
+ return Qe(e);
1411
+ } finally {
1412
+ e.f ^= le, Y = t, X = n, Z = r, U = i, J = a, Ge(o), W = s, qn = c;
1413
+ }
1414
+ }
1415
+ function $n(e, n) {
1416
+ let r = n.reactions;
1417
+ if (r !== null) {
1418
+ var o = i.call(r, e);
1419
+ if (o !== -1) {
1420
+ var s = r.length - 1;
1421
+ s === 0 ? r = n.reactions = null : (r[o] = r[s], r.pop());
1422
+ }
1423
+ }
1424
+ if (r === null && n.f & 2 && (Y === null || !a.call(Y, n))) {
1425
+ var c = n;
1426
+ c.f & 512 && (c.f ^= 512, c.f &= ~ce), c.v !== t && tt(c), Rt(c), er(c, 0);
1427
+ }
1428
+ }
1429
+ function er(e, t) {
1430
+ var n = e.deps;
1431
+ if (n !== null) for (var r = t; r < n.length; r++) $n(e, n[r]);
1432
+ }
1433
+ function tr(e) {
1434
+ var t = e.f;
1435
+ if (!(t & 16384)) {
1436
+ A(e, b);
1437
+ var n = K, r = Vn;
1438
+ K = e, Vn = !0;
1439
+ try {
1440
+ t & 16777232 ? Mn(e) : jn(e), An(e);
1441
+ var i = Qn(e);
1442
+ e.teardown = typeof i == "function" ? i : null, e.wv = Gn;
1443
+ } finally {
1444
+ Vn = r, K = n;
1445
+ }
1446
+ }
1447
+ }
1448
+ async function nr() {
1449
+ await Promise.resolve(), gt();
1450
+ }
1451
+ function Q(e) {
1452
+ var t = !!(e.f & 2);
1453
+ if (Bn?.add(e), U !== null && !W && !(K !== null && K.f & 16384) && (J === null || !a.call(J, e))) {
1454
+ var n = U.deps;
1455
+ if (U.f & 2097152) e.rv < Kn && (e.rv = Kn, Y === null && n !== null && n[X] === e ? X++ : Y === null ? Y = [e] : Y.push(e));
1456
+ else {
1457
+ U.deps ??= [], a.call(U.deps, e) || U.deps.push(e);
1458
+ var r = e.reactions;
1459
+ r === null ? e.reactions = [U] : a.call(r, U) || r.push(U);
1460
+ }
1461
+ }
1462
+ if (H && Vt.has(e)) return Vt.get(e);
1463
+ if (t) {
1464
+ var i = e;
1465
+ if (H) {
1466
+ var o = i.v;
1467
+ return (!(i.f & 1024) && i.reactions !== null || ir(i)) && (o = It(i)), Vt.set(i, o), o;
1468
+ }
1469
+ var s = !(i.f & 512) && !W && U !== null && (Vn || !!(U.f & 512)), c = (i.f & ne) === 0;
1470
+ Xn(i) && (s && (i.f |= 512), Lt(i)), s && !c && (zt(i), rr(i));
1471
+ }
1472
+ if (M?.has(e)) return M.get(e);
1473
+ if (e.f & 8388608) throw e.v;
1474
+ return e.v;
1475
+ }
1476
+ function rr(e) {
1477
+ if (e.f |= 512, e.deps !== null) for (let t of e.deps) (t.reactions ??= []).push(e), t.f & 2 && !(t.f & 512) && (zt(t), rr(t));
1478
+ }
1479
+ function ir(e) {
1480
+ if (e.v === t) return !0;
1481
+ if (e.deps === null) return !1;
1482
+ for (let t of e.deps) if (Vt.has(t) || t.f & 2 && ir(t)) return !0;
1483
+ return !1;
1484
+ }
1485
+ function ar(e) {
1486
+ var t = W;
1487
+ try {
1488
+ return W = !0, e();
1489
+ } finally {
1490
+ W = t;
1491
+ }
1492
+ }
1493
+ function or(e) {
1494
+ if (!(typeof e != "object" || !e || e instanceof EventTarget)) {
1495
+ if (C in e) sr(e);
1496
+ else if (!Array.isArray(e)) for (let t in e) {
1497
+ let n = e[t];
1498
+ typeof n == "object" && n && C in n && sr(n);
1499
+ }
1500
+ }
1501
+ }
1502
+ function sr(e, t = /* @__PURE__ */ new Set()) {
1503
+ if (typeof e == "object" && e && !(e instanceof EventTarget) && !t.has(e)) {
1504
+ t.add(e), e instanceof Date && e.getTime();
1505
+ for (let n in e) try {
1506
+ sr(e[n], t);
1507
+ } catch {}
1508
+ let n = p(e);
1509
+ if (n !== Object.prototype && n !== Array.prototype && n !== Map.prototype && n !== Set.prototype && n !== Date.prototype) {
1510
+ let t = u(n);
1511
+ for (let n in t) {
1512
+ let r = t[n].get;
1513
+ if (r) try {
1514
+ r.call(e);
1515
+ } catch {}
1516
+ }
1517
+ }
1518
+ }
1519
+ }
1520
+ //#endregion
1521
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/elements/events.js
1522
+ var cr = Symbol("events"), lr = /* @__PURE__ */ new Set(), ur = /* @__PURE__ */ new Set();
1523
+ function dr(e, t, n, r = {}) {
1524
+ function i(e) {
1525
+ if (r.capture || gr.call(t, e), !e.cancelBubble) return mn(() => n?.call(this, e));
1526
+ }
1527
+ return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? k(() => {
1528
+ t.addEventListener(e, i, r);
1529
+ }) : t.addEventListener(e, i, r), i;
1530
+ }
1531
+ function fr(e, t, n, r, i) {
1532
+ var a = {
1533
+ capture: r,
1534
+ passive: i
1535
+ }, o = dr(e, t, n, a);
1536
+ (t === document.body || t === window || t === document || t instanceof HTMLMediaElement) && yn(() => {
1537
+ t.removeEventListener(e, o, a);
1538
+ });
1539
+ }
1540
+ function pr(e, t, n) {
1541
+ (t[cr] ??= {})[e] = n;
1542
+ }
1543
+ function mr(e) {
1544
+ for (var t = 0; t < e.length; t++) lr.add(e[t]);
1545
+ for (var n of ur) n(e);
1546
+ }
1547
+ var hr = null;
1548
+ function gr(e) {
1549
+ var t = this, n = t.ownerDocument, r = e.type, i = e.composedPath?.() || [], a = i[0] || e.target;
1550
+ hr = e;
1551
+ var o = 0, s = hr === e && e[cr];
1552
+ if (s) {
1553
+ var l = i.indexOf(s);
1554
+ if (l !== -1 && (t === document || t === window)) {
1555
+ e[cr] = t;
1556
+ return;
1557
+ }
1558
+ var u = i.indexOf(t);
1559
+ if (u === -1) return;
1560
+ l <= u && (o = l);
1561
+ }
1562
+ if (a = i[o] || e.target, a !== t) {
1563
+ c(e, "currentTarget", {
1564
+ configurable: !0,
1565
+ get() {
1566
+ return a || n;
1567
+ }
1568
+ });
1569
+ var d = U, f = K;
1570
+ G(null), q(null);
1571
+ try {
1572
+ for (var p, m = []; a !== null;) {
1573
+ var h = a.assignedSlot || a.parentNode || a.host || null;
1574
+ try {
1575
+ var g = a[cr]?.[r];
1576
+ g != null && (!a.disabled || e.target === a) && g.call(a, e);
1577
+ } catch (e) {
1578
+ p ? m.push(e) : p = e;
1579
+ }
1580
+ if (e.cancelBubble || h === t || h === null) break;
1581
+ a = h;
1582
+ }
1583
+ if (p) {
1584
+ for (let e of m) queueMicrotask(() => {
1585
+ throw e;
1586
+ });
1587
+ throw p;
1588
+ }
1589
+ } finally {
1590
+ e[cr] = t, delete e.currentTarget, G(d), q(f);
1591
+ }
1592
+ }
1593
+ }
1594
+ //#endregion
1595
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/reconciler.js
1596
+ var _r = globalThis?.window?.trustedTypes && /* @__PURE__ */ globalThis.window.trustedTypes.createPolicy("svelte-trusted-html", { createHTML: (e) => e });
1597
+ function vr(e) {
1598
+ return _r?.createHTML(e) ?? e;
1599
+ }
1600
+ function yr(e) {
1601
+ var t = ln("template");
1602
+ return t.innerHTML = vr(e.replaceAll("<!>", "<!---->")), t.content;
1603
+ }
1604
+ //#endregion
1605
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/template.js
1606
+ function $(e, t) {
1607
+ var n = K;
1608
+ n.nodes === null && (n.nodes = {
1609
+ start: e,
1610
+ end: t,
1611
+ a: null,
1612
+ t: null
1613
+ });
1614
+ }
1615
+ /*#__NO_SIDE_EFFECTS__*/
1616
+ function br(e, t) {
1617
+ var n = !!(t & 1), r = !!(t & 2), i, a = !e.startsWith("<!>");
1618
+ return () => {
1619
+ if (w) return $(E, null), E;
1620
+ i === void 0 && (i = yr(a ? e : "<!>" + e), n || (i = /* @__PURE__ */ L(i)));
1621
+ var t = r || $t ? document.importNode(i, !0) : i.cloneNode(!0);
1622
+ if (n) {
1623
+ var o = /* @__PURE__ */ L(t), s = t.lastChild;
1624
+ $(o, s);
1625
+ } else $(t, t);
1626
+ return t;
1627
+ };
1628
+ }
1629
+ /*#__NO_SIDE_EFFECTS__*/
1630
+ function xr(e, t, n = "svg") {
1631
+ var r = !e.startsWith("<!>"), i = !!(t & 1), a = `<${n}>${r ? e : "<!>" + e}</${n}>`, o;
1632
+ return () => {
1633
+ if (w) return $(E, null), E;
1634
+ if (!o) {
1635
+ var e = /* @__PURE__ */ L(yr(a));
1636
+ if (i) for (o = document.createDocumentFragment(); /* @__PURE__ */ L(e);) o.appendChild(/* @__PURE__ */ L(e));
1637
+ else o = /* @__PURE__ */ L(e);
1638
+ }
1639
+ var t = o.cloneNode(!0);
1640
+ if (i) {
1641
+ var n = /* @__PURE__ */ L(t), r = t.lastChild;
1642
+ $(n, r);
1643
+ } else $(t, t);
1644
+ return t;
1645
+ };
1646
+ }
1647
+ /*#__NO_SIDE_EFFECTS__*/
1648
+ function Sr(e, t) {
1649
+ return /* @__PURE__ */ xr(e, t, "svg");
1650
+ }
1651
+ function Cr(e = "") {
1652
+ if (!w) {
1653
+ var t = I(e + "");
1654
+ return $(t, t), t;
1655
+ }
1656
+ var n = E;
1657
+ return n.nodeType === 3 ? un(n) : (n.before(n = I()), D(n)), $(n, n), n;
1658
+ }
1659
+ function wr() {
1660
+ if (w) return $(E, null), E;
1661
+ var e = document.createDocumentFragment(), t = document.createComment(""), n = I();
1662
+ return e.append(t, n), $(t, n), e;
1663
+ }
1664
+ function Tr(e, t) {
1665
+ if (w) {
1666
+ var n = K;
1667
+ (!(n.f & 32768) || n.nodes.end === null) && (n.nodes.end = E), Le();
1668
+ return;
1669
+ }
1670
+ e !== null && e.before(t);
1671
+ }
1672
+ //#endregion
1673
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/utils.js
1674
+ function Er(e) {
1675
+ return e.endsWith("capture") && e !== "gotpointercapture" && e !== "lostpointercapture";
1676
+ }
1677
+ var Dr = [
1678
+ "beforeinput",
1679
+ "click",
1680
+ "change",
1681
+ "dblclick",
1682
+ "contextmenu",
1683
+ "focusin",
1684
+ "focusout",
1685
+ "input",
1686
+ "keydown",
1687
+ "keyup",
1688
+ "mousedown",
1689
+ "mousemove",
1690
+ "mouseout",
1691
+ "mouseover",
1692
+ "mouseup",
1693
+ "pointerdown",
1694
+ "pointermove",
1695
+ "pointerout",
1696
+ "pointerover",
1697
+ "pointerup",
1698
+ "touchend",
1699
+ "touchmove",
1700
+ "touchstart"
1701
+ ];
1702
+ function Or(e) {
1703
+ return Dr.includes(e);
1704
+ }
1705
+ var kr = /* @__PURE__ */ "allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback".split("."), Ar = {
1706
+ formnovalidate: "formNoValidate",
1707
+ ismap: "isMap",
1708
+ nomodule: "noModule",
1709
+ playsinline: "playsInline",
1710
+ readonly: "readOnly",
1711
+ defaultvalue: "defaultValue",
1712
+ defaultchecked: "defaultChecked",
1713
+ srcobject: "srcObject",
1714
+ novalidate: "noValidate",
1715
+ allowfullscreen: "allowFullscreen",
1716
+ disablepictureinpicture: "disablePictureInPicture",
1717
+ disableremoteplayback: "disableRemotePlayback"
1718
+ };
1719
+ function jr(e) {
1720
+ return e = e.toLowerCase(), Ar[e] ?? e;
1721
+ }
1722
+ [...kr];
1723
+ var Mr = ["touchstart", "touchmove"];
1724
+ function Nr(e) {
1725
+ return Mr.includes(e);
1726
+ }
1727
+ function Pr(e, t) {
1728
+ var n = t == null ? "" : typeof t == "object" ? `${t}` : t;
1729
+ n !== (e[_e] ??= e.nodeValue) && (e[_e] = n, e.nodeValue = `${n}`);
1730
+ }
1731
+ function Fr(e, t) {
1732
+ return Rr(e, t);
1733
+ }
1734
+ function Ir(t, n) {
1735
+ nn(), n.intro = n.intro ?? !1;
1736
+ let r = n.target, i = w, a = E;
1737
+ try {
1738
+ for (var o = /* @__PURE__ */ L(r); o && (o.nodeType !== 8 || o.data !== "[");) o = /* @__PURE__ */ R(o);
1739
+ if (!o) throw e;
1740
+ T(!0), D(o);
1741
+ let i = Rr(t, {
1742
+ ...n,
1743
+ anchor: o
1744
+ });
1745
+ return T(!1), i;
1746
+ } catch (i) {
1747
+ if (i instanceof Error && i.message.split("\n").some((e) => e.startsWith("https://svelte.dev/e/"))) throw i;
1748
+ return i !== e && console.warn("Failed to hydrate: ", i), n.recover === !1 && De(), nn(), sn(r), T(!1), Fr(t, n);
1749
+ } finally {
1750
+ T(i), D(a);
1751
+ }
1752
+ }
1753
+ var Lr = /* @__PURE__ */ new Map();
1754
+ function Rr(t, { target: n, anchor: r, props: i = {}, events: a, context: s, intro: c = !0, transformError: l }) {
1755
+ nn();
1756
+ var u = void 0, d = Cn(() => {
1757
+ var c = r ?? n.appendChild(I());
1758
+ wt(c, { pending: () => {} }, (n) => {
1759
+ Ke({});
1760
+ var r = O;
1761
+ if (s && (r.c = s), a && (i.$$events = a), w && $(n, null), u = t(n, i) || {}, w && (K.nodes.end = E, E === null || E.nodeType !== 8 || E.data !== "]")) throw Pe(), e;
1762
+ qe();
1763
+ }, l);
1764
+ var d = /* @__PURE__ */ new Set(), f = (e) => {
1765
+ for (var t = 0; t < e.length; t++) {
1766
+ var r = e[t];
1767
+ if (!d.has(r)) {
1768
+ d.add(r);
1769
+ var i = Nr(r);
1770
+ for (let e of [n, document]) {
1771
+ var a = Lr.get(e);
1772
+ a === void 0 && (a = /* @__PURE__ */ new Map(), Lr.set(e, a));
1773
+ var o = a.get(r);
1774
+ o === void 0 ? (e.addEventListener(r, gr, { passive: i }), a.set(r, 1)) : a.set(r, o + 1);
1775
+ }
1776
+ }
1777
+ }
1778
+ };
1779
+ return f(o(lr)), ur.add(f), () => {
1780
+ for (var e of d) for (let r of [n, document]) {
1781
+ var t = Lr.get(r), i = t.get(e);
1782
+ --i == 0 ? (r.removeEventListener(e, gr), t.delete(e), t.size === 0 && Lr.delete(r)) : t.set(e, i);
1783
+ }
1784
+ ur.delete(f), c !== r && c.parentNode?.removeChild(c);
1785
+ };
1786
+ });
1787
+ return zr.set(u, d), u;
1788
+ }
1789
+ var zr = /* @__PURE__ */ new WeakMap();
1790
+ function Br(e, t) {
1791
+ let n = zr.get(e);
1792
+ return n ? (zr.delete(e), n(t)) : Promise.resolve();
1793
+ }
1794
+ //#endregion
1795
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/blocks/branches.js
1796
+ var Vr = class {
1797
+ anchor;
1798
+ #e = /* @__PURE__ */ new Map();
1799
+ #t = /* @__PURE__ */ new Map();
1800
+ #n = /* @__PURE__ */ new Map();
1801
+ #r = /* @__PURE__ */ new Set();
1802
+ #i = !0;
1803
+ constructor(e, t = !0) {
1804
+ this.anchor = e, this.#i = t;
1805
+ }
1806
+ #a = (e) => {
1807
+ if (this.#e.has(e)) {
1808
+ var t = this.#e.get(e), n = this.#t.get(t);
1809
+ if (n) Ln(n), this.#r.delete(t);
1810
+ else {
1811
+ var r = this.#n.get(t);
1812
+ r && (this.#t.set(t, r.effect), this.#n.delete(t), r.fragment.lastChild.remove(), this.anchor.before(r.fragment), n = r.effect);
1813
+ }
1814
+ for (let [t, n] of this.#e) {
1815
+ if (this.#e.delete(t), t === e) break;
1816
+ let r = this.#n.get(n);
1817
+ r && (V(r.effect), this.#n.delete(n));
1818
+ }
1819
+ for (let [e, r] of this.#t) {
1820
+ if (e === t || this.#r.has(e)) continue;
1821
+ let i = () => {
1822
+ if (Array.from(this.#e.values()).includes(e)) {
1823
+ var t = document.createDocumentFragment();
1824
+ zn(r, t), t.append(I()), this.#n.set(e, {
1825
+ effect: r,
1826
+ fragment: t
1827
+ });
1828
+ } else V(r);
1829
+ this.#r.delete(e), this.#t.delete(e);
1830
+ };
1831
+ this.#i || !n ? (this.#r.add(e), Fn(r, i, !1)) : i();
1832
+ }
1833
+ }
1834
+ };
1835
+ #o = (e) => {
1836
+ this.#e.delete(e);
1837
+ let t = Array.from(this.#e.values());
1838
+ for (let [e, n] of this.#n) t.includes(e) || (V(n.effect), this.#n.delete(e));
1839
+ };
1840
+ ensure(e, t) {
1841
+ var n = j, r = cn();
1842
+ if (t && !this.#t.has(e) && !this.#n.has(e)) {
1843
+ if (r) {
1844
+ var i = document.createDocumentFragment(), a = I();
1845
+ i.append(a), this.#n.set(e, {
1846
+ effect: B(() => t(a)),
1847
+ fragment: i
1848
+ });
1849
+ } else this.#t.set(e, B(() => t(this.anchor)));
1850
+ }
1851
+ if (this.#e.set(n, e), r) {
1852
+ for (let [t, r] of this.#t) t === e ? n.unskip_effect(r) : n.skip_effect(r);
1853
+ for (let [t, r] of this.#n) t === e ? n.unskip_effect(r.effect) : n.skip_effect(r.effect);
1854
+ n.oncommit(this.#a), n.ondiscard(this.#o);
1855
+ } else w && (this.anchor = E), this.#a(n);
1856
+ }
1857
+ };
1858
+ //#endregion
1859
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/blocks/snippet.js
1860
+ function Hr(e, t, ...n) {
1861
+ var r = new Vr(e);
1862
+ On(() => {
1863
+ let e = t() ?? null;
1864
+ r.ensure(e, e && ((t) => e(t, ...n)));
1865
+ }, ie);
1866
+ }
1867
+ //#endregion
1868
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/blocks/if.js
1869
+ function Ur(e, t, n = !1) {
1870
+ var r;
1871
+ w && (r = E, Le());
1872
+ var i = new Vr(e), a = n ? ie : 0;
1873
+ function o(e, t) {
1874
+ if (w) {
1875
+ var n = Ve(r);
1876
+ if (e !== parseInt(n.substring(1))) {
1877
+ var a = Be();
1878
+ D(a), i.anchor = a, T(!1), i.ensure(e, t), T(!0);
1879
+ return;
1880
+ }
1881
+ }
1882
+ i.ensure(e, t);
1883
+ }
1884
+ On(() => {
1885
+ var e = !1;
1886
+ t((t, n = 0) => {
1887
+ e = !0, o(n, t);
1888
+ }), e || o(-1, null);
1889
+ }, a);
1890
+ }
1891
+ //#endregion
1892
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/blocks/each.js
1893
+ function Wr(e, t) {
1894
+ return t;
1895
+ }
1896
+ function Gr(e, t, n) {
1897
+ for (var r = [], i = t.length, a, s = t.length, c = 0; c < i; c++) {
1898
+ let n = t[c];
1899
+ Fn(n, () => {
1900
+ if (a) {
1901
+ if (a.pending.delete(n), a.done.add(n), a.pending.size === 0) {
1902
+ var t = e.outrogroups;
1903
+ Kr(e, o(a.done)), t.delete(a), t.size === 0 && (e.outrogroups = null);
1904
+ }
1905
+ } else --s;
1906
+ }, !1);
1907
+ }
1908
+ if (s === 0) {
1909
+ var l = r.length === 0 && n !== null;
1910
+ if (l) {
1911
+ var u = n, d = u.parentNode;
1912
+ sn(d), d.append(u), e.items.clear();
1913
+ }
1914
+ Kr(e, t, !l);
1915
+ } else a = {
1916
+ pending: new Set(t),
1917
+ done: /* @__PURE__ */ new Set()
1918
+ }, (e.outrogroups ??= /* @__PURE__ */ new Set()).add(a);
1919
+ }
1920
+ function Kr(e, t, n = !0) {
1921
+ var r;
1922
+ if (e.pending.size > 0) {
1923
+ r = /* @__PURE__ */ new Set();
1924
+ for (let t of e.pending.values()) for (let n of t) r.add(e.items.get(n).e);
1925
+ }
1926
+ for (var i = 0; i < t.length; i++) {
1927
+ var a = t[i];
1928
+ r?.has(a) ? (a.f |= se, zn(a, document.createDocumentFragment())) : V(t[i], n);
1929
+ }
1930
+ }
1931
+ var qr;
1932
+ function Jr(e, t, n, i, a, s = null) {
1933
+ var c = e, l = /* @__PURE__ */ new Map();
1934
+ if (t & 4) {
1935
+ var u = e;
1936
+ c = w ? D(/* @__PURE__ */ L(u)) : u.appendChild(I());
1937
+ }
1938
+ w && Le();
1939
+ var d = null, f = /* @__PURE__ */ Pt(() => {
1940
+ var e = n();
1941
+ return r(e) ? e : e == null ? [] : o(e);
1942
+ }), p, m = /* @__PURE__ */ new Map(), h = !0;
1943
+ function g(e) {
1944
+ v.effect.f & 16384 || (v.pending.delete(e), v.fallback = d, Xr(v, p, c, t, i), d !== null && (p.length === 0 ? d.f & 33554432 ? (d.f ^= se, Qr(d, null, c)) : Ln(d) : Fn(d, () => {
1945
+ d = null;
1946
+ })));
1947
+ }
1948
+ function _(e) {
1949
+ v.pending.delete(e);
1950
+ }
1951
+ var v = {
1952
+ effect: On(() => {
1953
+ p = Q(f);
1954
+ var e = p.length;
1955
+ let r = !1;
1956
+ w && Ve(c) === "[!" != (e === 0) && (c = Be(), D(c), T(!1), r = !0);
1957
+ for (var o = /* @__PURE__ */ new Set(), u = j, v = cn(), y = 0; y < e; y += 1) {
1958
+ w && E.nodeType === 8 && E.data === "]" && (c = E, r = !0, T(!1));
1959
+ var b = p[y], x = i(b, y), S = h ? null : l.get(x);
1960
+ S ? (S.v && Gt(S.v, b), S.i && Gt(S.i, y), v && u.unskip_effect(S.e)) : (S = Zr(l, h ? c : qr ??= I(), b, x, y, a, t, n), h || (S.e.f |= se), l.set(x, S)), o.add(x);
1961
+ }
1962
+ if (e === 0 && s && !d && (h ? d = B(() => s(c)) : (d = B(() => s(qr ??= I())), d.f |= se)), e > o.size && Se("", "", ""), w && e > 0 && D(Be()), !h) {
1963
+ if (m.set(u, o), v) {
1964
+ for (let [e, t] of l) o.has(e) || u.skip_effect(t.e);
1965
+ u.oncommit(g), u.ondiscard(_);
1966
+ } else g(u);
1967
+ }
1968
+ r && T(!0), Q(f);
1969
+ }),
1970
+ flags: t,
1971
+ items: l,
1972
+ pending: m,
1973
+ outrogroups: null,
1974
+ fallback: d
1975
+ };
1976
+ h = !1, w && (c = E);
1977
+ }
1978
+ function Yr(e) {
1979
+ for (; e !== null && !(e.f & 32);) e = e.next;
1980
+ return e;
1981
+ }
1982
+ function Xr(e, t, n, r, i) {
1983
+ var a = !!(r & 8), s = t.length, c = e.items, l = Yr(e.effect.first), u, d = null, f, p = [], m = [], h, g, _, v;
1984
+ if (a) for (v = 0; v < s; v += 1) h = t[v], g = i(h, v), _ = c.get(g).e, _.f & 33554432 || (_.nodes?.a?.measure(), (f ??= /* @__PURE__ */ new Set()).add(_));
1985
+ for (v = 0; v < s; v += 1) {
1986
+ if (h = t[v], g = i(h, v), _ = c.get(g).e, e.outrogroups !== null) for (let t of e.outrogroups) t.pending.delete(_), t.done.delete(_);
1987
+ if (_.f & 8192 && (Ln(_), a && (_.nodes?.a?.unfix(), (f ??= /* @__PURE__ */ new Set()).delete(_))), _.f & 33554432) {
1988
+ if (_.f ^= se, _ === l) Qr(_, null, n);
1989
+ else {
1990
+ var y = d ? d.next : l;
1991
+ _ === e.effect.last && (e.effect.last = _.prev), _.prev && (_.prev.next = _.next), _.next && (_.next.prev = _.prev), $r(e, d, _), $r(e, _, y), Qr(_, y, n), d = _, p = [], m = [], l = Yr(d.next);
1992
+ continue;
1993
+ }
1994
+ }
1995
+ if (_ !== l) {
1996
+ if (u !== void 0 && u.has(_)) {
1997
+ if (p.length < m.length) {
1998
+ var b = m[0], x;
1999
+ d = b.prev;
2000
+ var S = p[0], ee = p[p.length - 1];
2001
+ for (x = 0; x < p.length; x += 1) Qr(p[x], b, n);
2002
+ for (x = 0; x < m.length; x += 1) u.delete(m[x]);
2003
+ $r(e, S.prev, ee.next), $r(e, d, S), $r(e, ee, b), l = b, d = ee, --v, p = [], m = [];
2004
+ } else u.delete(_), Qr(_, l, n), $r(e, _.prev, _.next), $r(e, _, d === null ? e.effect.first : d.next), $r(e, d, _), d = _;
2005
+ continue;
2006
+ }
2007
+ for (p = [], m = []; l !== null && l !== _;) (u ??= /* @__PURE__ */ new Set()).add(l), m.push(l), l = Yr(l.next);
2008
+ if (l === null) continue;
2009
+ }
2010
+ _.f & 33554432 || p.push(_), d = _, l = Yr(_.next);
2011
+ }
2012
+ if (e.outrogroups !== null) {
2013
+ for (let t of e.outrogroups) t.pending.size === 0 && (Kr(e, o(t.done)), e.outrogroups?.delete(t));
2014
+ e.outrogroups.size === 0 && (e.outrogroups = null);
2015
+ }
2016
+ if (l !== null || u !== void 0) {
2017
+ var te = [];
2018
+ if (u !== void 0) for (_ of u) _.f & 8192 || te.push(_);
2019
+ for (; l !== null;) !(l.f & 8192) && l !== e.fallback && te.push(l), l = Yr(l.next);
2020
+ var ne = te.length;
2021
+ if (ne > 0) {
2022
+ var re = r & 4 && s === 0 ? n : null;
2023
+ if (a) {
2024
+ for (v = 0; v < ne; v += 1) te[v].nodes?.a?.measure();
2025
+ for (v = 0; v < ne; v += 1) te[v].nodes?.a?.fix();
2026
+ }
2027
+ Gr(e, te, re);
2028
+ }
2029
+ }
2030
+ a && k(() => {
2031
+ if (f !== void 0) for (_ of f) _.nodes?.a?.apply();
2032
+ });
2033
+ }
2034
+ function Zr(e, t, n, r, i, a, o, s) {
2035
+ var c = o & 1 ? o & 16 ? Ut(n) : /* @__PURE__ */ Wt(n, !1, !1) : null, l = o & 2 ? Ut(i) : null;
2036
+ return {
2037
+ v: c,
2038
+ i: l,
2039
+ e: B(() => (a(t, c ?? n, l ?? i, s), () => {
2040
+ e.delete(r);
2041
+ }))
2042
+ };
2043
+ }
2044
+ function Qr(e, t, n) {
2045
+ if (e.nodes) for (var r = e.nodes.start, i = e.nodes.end, a = t && !(t.f & 33554432) ? t.nodes.start : n; r !== null;) {
2046
+ var o = /* @__PURE__ */ R(r);
2047
+ if (a.before(r), r === i) return;
2048
+ r = o;
2049
+ }
2050
+ }
2051
+ function $r(e, t, n) {
2052
+ t === null ? e.effect.first = n : t.next = n, n === null ? e.effect.last = t : n.prev = t;
2053
+ }
2054
+ //#endregion
2055
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/blocks/svelte-component.js
2056
+ function ei(e, t, n) {
2057
+ var r;
2058
+ w && (r = E, Le());
2059
+ var i = new Vr(e);
2060
+ On(() => {
2061
+ var e = t() ?? null;
2062
+ if (w && Ve(r) === "[" != (e !== null)) {
2063
+ var a = Be();
2064
+ D(a), i.anchor = a, T(!1), i.ensure(e, e && ((t) => n(t, e))), T(!0);
2065
+ return;
2066
+ }
2067
+ i.ensure(e, e && ((t) => n(t, e)));
2068
+ }, ie);
2069
+ }
2070
+ //#endregion
2071
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/elements/actions.js
2072
+ function ti(e, t, n) {
2073
+ wn(() => {
2074
+ var r = ar(() => t(e, n?.()) || {});
2075
+ if (n && r?.update) {
2076
+ var i = !1, a = {};
2077
+ En(() => {
2078
+ var e = n();
2079
+ or(e), i && Ue(a, e) && (a = e, r.update(e));
2080
+ }), i = !0;
2081
+ }
2082
+ if (r?.destroy) return () => r.destroy();
2083
+ });
2084
+ }
2085
+ //#endregion
2086
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/elements/attachments.js
2087
+ function ni(e, t) {
2088
+ var n = void 0, r;
2089
+ kn(() => {
2090
+ n !== (n = t()) && (r &&= (V(r), null), n && (r = B(() => {
2091
+ wn(() => n(e));
2092
+ })));
2093
+ });
2094
+ }
2095
+ //#endregion
2096
+ //#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
2097
+ function ri(e) {
2098
+ var t, n, r = "";
2099
+ if (typeof e == "string" || typeof e == "number") r += e;
2100
+ else if (typeof e == "object") {
2101
+ if (Array.isArray(e)) {
2102
+ var i = e.length;
2103
+ for (t = 0; t < i; t++) e[t] && (n = ri(e[t])) && (r && (r += " "), r += n);
2104
+ } else for (n in e) e[n] && (r && (r += " "), r += n);
2105
+ }
2106
+ return r;
2107
+ }
2108
+ function ii() {
2109
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = ri(e)) && (r && (r += " "), r += t);
2110
+ return r;
2111
+ }
2112
+ //#endregion
2113
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/shared/attributes.js
2114
+ function ai(e) {
2115
+ return typeof e == "object" ? ii(e) : e ?? "";
2116
+ }
2117
+ var oi = [..." \n\r\f\xA0\v"];
2118
+ function si(e, t, n) {
2119
+ var r = e == null ? "" : "" + e;
2120
+ if (t && (r = r ? r + " " + t : t), n) {
2121
+ for (var i of Object.keys(n)) if (n[i]) r = r ? r + " " + i : i;
2122
+ else if (r.length) for (var a = i.length, o = 0; (o = r.indexOf(i, o)) >= 0;) {
2123
+ var s = o + a;
2124
+ (o === 0 || oi.includes(r[o - 1])) && (s === r.length || oi.includes(r[s])) ? r = (o === 0 ? "" : r.substring(0, o)) + r.substring(s + 1) : o = s;
2125
+ }
2126
+ }
2127
+ return r === "" ? null : r;
2128
+ }
2129
+ function ci(e, t = !1) {
2130
+ var n = t ? " !important;" : ";", r = "";
2131
+ for (var i of Object.keys(e)) {
2132
+ var a = e[i];
2133
+ a != null && a !== "" && (r += " " + i + ": " + a + n);
2134
+ }
2135
+ return r;
2136
+ }
2137
+ function li(e) {
2138
+ return e[0] !== "-" || e[1] !== "-" ? e.toLowerCase() : e;
2139
+ }
2140
+ function ui(e, t) {
2141
+ if (t) {
2142
+ var n = "", r, i;
2143
+ if (Array.isArray(t) ? (r = t[0], i = t[1]) : r = t, e) {
2144
+ e = String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g, "").trim();
2145
+ var a = !1, o = 0, s = !1, c = [];
2146
+ r && c.push(...Object.keys(r).map(li)), i && c.push(...Object.keys(i).map(li));
2147
+ var l = 0, u = -1;
2148
+ let t = e.length;
2149
+ for (var d = 0; d < t; d++) {
2150
+ var f = e[d];
2151
+ if (s ? f === "/" && e[d - 1] === "*" && (s = !1) : a ? a === f && (a = !1) : f === "/" && e[d + 1] === "*" ? s = !0 : f === "\"" || f === "'" ? a = f : f === "(" ? o++ : f === ")" && o--, !s && a === !1 && o === 0) {
2152
+ if (f === ":" && u === -1) u = d;
2153
+ else if (f === ";" || d === t - 1) {
2154
+ if (u !== -1) {
2155
+ var p = li(e.substring(l, u).trim());
2156
+ if (!c.includes(p)) {
2157
+ f !== ";" && d++;
2158
+ var m = e.substring(l, d).trim();
2159
+ n += " " + m + ";";
2160
+ }
2161
+ }
2162
+ l = d + 1, u = -1;
2163
+ }
2164
+ }
2165
+ }
2166
+ }
2167
+ return r && (n += ci(r)), i && (n += ci(i, !0)), n = n.trim(), n === "" ? null : n;
2168
+ }
2169
+ return e == null ? null : String(e);
2170
+ }
2171
+ //#endregion
2172
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/elements/class.js
2173
+ function di(e, t, n, r, i, a) {
2174
+ var o = e[he];
2175
+ if (w || o !== n || o === void 0) {
2176
+ var s = si(n, r, a);
2177
+ (!w || s !== e.getAttribute("class")) && (s == null ? e.removeAttribute("class") : t ? e.className = s : e.setAttribute("class", s)), e[he] = n;
2178
+ } else if (a && i !== a) for (var c in a) {
2179
+ var l = !!a[c];
2180
+ (i == null || l !== !!i[c]) && e.classList.toggle(c, l);
2181
+ }
2182
+ return a;
2183
+ }
2184
+ //#endregion
2185
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/elements/style.js
2186
+ function fi(e, t = {}, n, r) {
2187
+ for (var i in n) {
2188
+ var a = n[i];
2189
+ t[i] !== a && (n[i] == null ? e.style.removeProperty(i) : e.style.setProperty(i, a, r));
2190
+ }
2191
+ }
2192
+ function pi(e, t, n, r) {
2193
+ var i = e[ge];
2194
+ if (w || i !== t) {
2195
+ var a = ui(t, r);
2196
+ (!w || a !== e.getAttribute("style")) && (a == null ? e.removeAttribute("style") : e.style.cssText = a), e[ge] = t;
2197
+ } else r && (Array.isArray(r) ? (fi(e, n?.[0], r[0]), fi(e, n?.[1], r[1], "important")) : fi(e, n, r));
2198
+ return r;
2199
+ }
2200
+ //#endregion
2201
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/elements/bindings/select.js
2202
+ function mi(e, t, n = !1) {
2203
+ if (e.multiple) {
2204
+ if (t == null) return;
2205
+ if (!r(t)) return Fe();
2206
+ for (var i of e.options) i.selected = t.includes(gi(i));
2207
+ return;
2208
+ }
2209
+ for (i of e.options) if (Zt(gi(i), t)) {
2210
+ i.selected = !0;
2211
+ return;
2212
+ }
2213
+ (!n || t !== void 0) && (e.selectedIndex = -1);
2214
+ }
2215
+ function hi(e) {
2216
+ var t = new MutationObserver(() => {
2217
+ mi(e, e.__value);
2218
+ });
2219
+ t.observe(e, {
2220
+ childList: !0,
2221
+ subtree: !0,
2222
+ attributes: !0,
2223
+ attributeFilter: ["value"]
2224
+ }), yn(() => {
2225
+ t.disconnect();
2226
+ });
2227
+ }
2228
+ function gi(e) {
2229
+ return "__value" in e ? e.__value : e.value;
2230
+ }
2231
+ //#endregion
2232
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/elements/attributes.js
2233
+ var _i = Symbol("class"), vi = Symbol("style"), yi = Symbol("is custom element"), bi = Symbol("is html"), xi = be ? "link" : "LINK", Si = be ? "input" : "INPUT", Ci = be ? "option" : "OPTION", wi = be ? "select" : "SELECT";
2234
+ function Ti(e) {
2235
+ if (w) {
2236
+ var t = !1, n = () => {
2237
+ if (!t) {
2238
+ if (t = !0, e.hasAttribute("value")) {
2239
+ var n = e.value;
2240
+ Di(e, "value", null), e.value = n;
2241
+ }
2242
+ if (e.hasAttribute("checked")) {
2243
+ var r = e.checked;
2244
+ Di(e, "checked", null), e.checked = r;
2245
+ }
2246
+ }
2247
+ };
2248
+ e[ve] = n, k(n), pn();
2249
+ }
2250
+ }
2251
+ function Ei(e, t) {
2252
+ t ? e.hasAttribute("selected") || e.setAttribute("selected", "") : e.removeAttribute("selected");
2253
+ }
2254
+ function Di(e, t, n, r) {
2255
+ var i = Ai(e);
2256
+ w && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === xi) || i[t] !== (i[t] = n) && (t === "loading" && (e[pe] = n), n == null ? e.removeAttribute(t) : typeof n != "string" && Mi(e).includes(t) ? e[t] = n : e.setAttribute(t, n));
2257
+ }
2258
+ function Oi(e, n, r, i, a = !1, o = !1) {
2259
+ if (w && a && e.nodeName === Si) {
2260
+ var s = e;
2261
+ (s.type === "checkbox" ? "defaultChecked" : "defaultValue") in r || Ti(s);
2262
+ }
2263
+ var c = Ai(e), l = c[yi], u = !c[bi];
2264
+ let d = w && l;
2265
+ d && T(!1);
2266
+ var f = n || {}, p = e.nodeName === Ci;
2267
+ for (var m in n) m in r || (r[m] = null);
2268
+ r.class ? r.class = ai(r.class) : (i || r[_i]) && (r.class = null), r[vi] && (r.style ??= null);
2269
+ var h = Mi(e);
2270
+ for (let a in r) {
2271
+ let s = r[a];
2272
+ if (p && a === "value" && s == null) {
2273
+ e.value = e.__value = "", f[a] = s;
2274
+ continue;
2275
+ }
2276
+ if (a === "class") {
2277
+ di(e, e.namespaceURI === "http://www.w3.org/1999/xhtml", s, i, n?.[_i], r[_i]), f[a] = s, f[_i] = r[_i];
2278
+ continue;
2279
+ }
2280
+ if (a === "style") {
2281
+ pi(e, s, n?.[vi], r[vi]), f[a] = s, f[vi] = r[vi];
2282
+ continue;
2283
+ }
2284
+ var g = f[a];
2285
+ if (!(s === g && !(s === void 0 && e.hasAttribute(a)))) {
2286
+ f[a] = s;
2287
+ var _ = a[0] + a[1];
2288
+ if (_ !== "$$") {
2289
+ if (_ === "on") {
2290
+ let t = {}, n = "$$" + a, r = a.slice(2);
2291
+ var v = Or(r);
2292
+ if (Er(r) && (r = r.slice(0, -7), t.capture = !0), !v && g) {
2293
+ if (s != null) continue;
2294
+ e.removeEventListener(r, f[n], t), f[n] = null;
2295
+ }
2296
+ if (v) pr(r, e, s), mr([r]);
2297
+ else if (s != null) {
2298
+ function i(e) {
2299
+ f[a].call(this, e);
2300
+ }
2301
+ f[n] = dr(r, e, i, t);
2302
+ }
2303
+ } else if (a === "style") Di(e, a, s);
2304
+ else if (a === "autofocus") dn(e, !!s);
2305
+ else if (!l && (a === "__value" || a === "value" && s != null)) e.value = e.__value = s;
2306
+ else if (a === "selected" && p) Ei(e, s);
2307
+ else {
2308
+ var y = a;
2309
+ u || (y = jr(y));
2310
+ var b = y === "defaultValue" || y === "defaultChecked";
2311
+ if (s == null && !l && !b) {
2312
+ if (c[a] = null, y === "value" || y === "checked") {
2313
+ let t = e, r = n === void 0;
2314
+ if (y === "value") {
2315
+ let e = t.defaultValue;
2316
+ t.removeAttribute(y), t.defaultValue = e, t.value = t.__value = r ? e : null;
2317
+ } else {
2318
+ let e = t.defaultChecked;
2319
+ t.removeAttribute(y), t.defaultChecked = e, t.checked = r ? e : !1;
2320
+ }
2321
+ } else e.removeAttribute(a);
2322
+ } else b || h.includes(y) && (l || typeof s != "string") ? (e[y] = s, y in c && (c[y] = t)) : typeof s != "function" && Di(e, y, s, o);
2323
+ }
2324
+ }
2325
+ }
2326
+ }
2327
+ return d && T(!0), f;
2328
+ }
2329
+ function ki(e, t, n = [], r = [], i = [], a, o = !1, s = !1) {
2330
+ Et(i, n, r, (n) => {
2331
+ var r = void 0, i = {}, c = e.nodeName === wi, l = !1;
2332
+ if (kn(() => {
2333
+ var u = t(...n.map(Q)), d = Oi(e, r, u, a, o, s);
2334
+ l && c && "value" in u && mi(e, u.value);
2335
+ for (let e of Object.getOwnPropertySymbols(i)) u[e] || V(i[e]);
2336
+ for (let t of Object.getOwnPropertySymbols(u)) {
2337
+ var f = u[t];
2338
+ t.description === "@attach" && (!r || f !== r[t]) && (i[t] && V(i[t]), i[t] = B(() => ni(e, () => f))), d[t] = f;
2339
+ }
2340
+ r = d;
2341
+ }), c) {
2342
+ var u = e;
2343
+ wn(() => {
2344
+ mi(u, r.value, !0), hi(u);
2345
+ });
2346
+ }
2347
+ l = !0;
2348
+ });
2349
+ }
2350
+ function Ai(e) {
2351
+ return e[me] ??= {
2352
+ [yi]: e.nodeName.includes("-"),
2353
+ [bi]: e.namespaceURI === n
2354
+ };
2355
+ }
2356
+ var ji = /* @__PURE__ */ new Map();
2357
+ function Mi(e) {
2358
+ var t = e.getAttribute("is") || e.nodeName, n = ji.get(t);
2359
+ if (n) return n;
2360
+ ji.set(t, n = []);
2361
+ for (var r, i = e, a = Element.prototype; a !== i;) {
2362
+ for (var o in r = u(i), r) r[o].set && o !== "innerHTML" && o !== "textContent" && o !== "innerText" && n.push(o);
2363
+ i = p(i);
2364
+ }
2365
+ return n;
2366
+ }
2367
+ //#endregion
2368
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/elements/bindings/input.js
2369
+ function Ni(e, t, n = t) {
2370
+ var r = /* @__PURE__ */ new WeakSet();
2371
+ hn(e, "input", async (i) => {
2372
+ var a = i ? e.defaultValue : e.value;
2373
+ if (a = Pi(e) ? Fi(a) : a, n(a), j !== null && r.add(j), await nr(), a !== (a = t())) {
2374
+ var o = e.selectionStart, s = e.selectionEnd, c = e.value.length;
2375
+ if (e.value = a ?? "", s !== null) {
2376
+ var l = e.value.length;
2377
+ o === s && s === c && l > c ? (e.selectionStart = l, e.selectionEnd = l) : (e.selectionStart = o, e.selectionEnd = Math.min(s, l));
2378
+ }
2379
+ }
2380
+ }), (w && e.defaultValue !== e.value || ar(t) == null && e.value) && (n(Pi(e) ? Fi(e.value) : e.value), j !== null && r.add(j)), En(() => {
2381
+ var n = t();
2382
+ if (e === document.activeElement) {
2383
+ var i = j;
2384
+ if (r.has(i)) return;
2385
+ }
2386
+ Pi(e) && n === Fi(e.value) || e.type === "date" && !n && !e.value || n !== e.value && (e.value = n ?? "");
2387
+ });
2388
+ }
2389
+ function Pi(e) {
2390
+ var t = e.type;
2391
+ return t === "number" || t === "range";
2392
+ }
2393
+ function Fi(e) {
2394
+ return e === "" ? null : +e;
2395
+ }
2396
+ var Ii = /* @__PURE__ */ new class e {
2397
+ #e = /* @__PURE__ */ new WeakMap();
2398
+ #t;
2399
+ #n;
2400
+ static entries = /* @__PURE__ */ new WeakMap();
2401
+ constructor(e) {
2402
+ this.#n = e;
2403
+ }
2404
+ observe(e, t) {
2405
+ var n = this.#e.get(e) || /* @__PURE__ */ new Set();
2406
+ return n.add(t), this.#e.set(e, n), this.#r().observe(e, this.#n), () => {
2407
+ var n = this.#e.get(e);
2408
+ n.delete(t), n.size === 0 && (this.#e.delete(e), this.#t.unobserve(e));
2409
+ };
2410
+ }
2411
+ #r() {
2412
+ return this.#t ??= new ResizeObserver((t) => {
2413
+ for (var n of t) {
2414
+ e.entries.set(n.target, n);
2415
+ for (var r of this.#e.get(n.target) || []) r(n);
2416
+ }
2417
+ });
2418
+ }
2419
+ }({ box: "border-box" });
2420
+ function Li(e, t, n) {
2421
+ var r = Ii.observe(e, () => n(e[t]));
2422
+ wn(() => (ar(() => n(e[t])), r));
2423
+ }
2424
+ //#endregion
2425
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/dom/elements/bindings/this.js
2426
+ function Ri(e, t) {
2427
+ return e === t || e?.[C] === t;
2428
+ }
2429
+ function zi(e = {}, t, n, r) {
2430
+ var i = O.r, a = K;
2431
+ return wn(() => {
2432
+ var o, s;
2433
+ return En(() => {
2434
+ o = s, s = r?.() || [], ar(() => {
2435
+ Ri(n(...s), e) || (t(e, ...s), o && Ri(n(...o), e) && t(null, ...o));
2436
+ });
2437
+ }), () => {
2438
+ let r = a;
2439
+ for (; r !== i && r.parent !== null && r.parent.f & 33554432;) r = r.parent;
2440
+ let o = () => {
2441
+ s && Ri(n(...s), e) && t(null, ...s);
2442
+ }, c = r.teardown;
2443
+ r.teardown = () => {
2444
+ o(), c?.();
2445
+ };
2446
+ };
2447
+ }), e;
2448
+ }
2449
+ //#endregion
2450
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/internal/client/reactivity/props.js
2451
+ var Bi = {
2452
+ get(e, t) {
2453
+ if (!e.exclude.includes(t)) return e.props[t];
2454
+ },
2455
+ set(e, t) {
2456
+ return !1;
2457
+ },
2458
+ getOwnPropertyDescriptor(e, t) {
2459
+ if (!e.exclude.includes(t) && t in e.props) return {
2460
+ enumerable: !0,
2461
+ configurable: !0,
2462
+ value: e.props[t]
2463
+ };
2464
+ },
2465
+ has(e, t) {
2466
+ return !e.exclude.includes(t) && t in e.props;
2467
+ },
2468
+ ownKeys(e) {
2469
+ return Reflect.ownKeys(e.props).filter((t) => !e.exclude.includes(t));
2470
+ }
2471
+ };
2472
+ /*#__NO_SIDE_EFFECTS__*/
2473
+ function Vi(e, t, n) {
2474
+ return new Proxy({
2475
+ props: e,
2476
+ exclude: t
2477
+ }, Bi);
2478
+ }
2479
+ var Hi = {
2480
+ get(e, t) {
2481
+ let n = e.props.length;
2482
+ for (; n--;) {
2483
+ let r = e.props[n];
2484
+ if (h(r) && (r = r()), typeof r == "object" && r && t in r) return r[t];
2485
+ }
2486
+ },
2487
+ set(e, t, n) {
2488
+ let r = e.props.length;
2489
+ for (; r--;) {
2490
+ let i = e.props[r];
2491
+ h(i) && (i = i());
2492
+ let a = l(i, t);
2493
+ if (a && a.set) return a.set(n), !0;
2494
+ }
2495
+ return !1;
2496
+ },
2497
+ getOwnPropertyDescriptor(e, t) {
2498
+ let n = e.props.length;
2499
+ for (; n--;) {
2500
+ let r = e.props[n];
2501
+ if (h(r) && (r = r()), typeof r == "object" && r && t in r) {
2502
+ let e = l(r, t);
2503
+ return e && !e.configurable && (e.configurable = !0), e;
2504
+ }
2505
+ }
2506
+ },
2507
+ has(e, t) {
2508
+ if (t === C || t === fe) return !1;
2509
+ for (let n of e.props) if (h(n) && (n = n()), n != null && t in n) return !0;
2510
+ return !1;
2511
+ },
2512
+ ownKeys(e) {
2513
+ let t = [];
2514
+ for (let n of e.props) if (h(n) && (n = n()), n) {
2515
+ for (let e in n) t.includes(e) || t.push(e);
2516
+ for (let e of Object.getOwnPropertySymbols(n)) t.includes(e) || t.push(e);
2517
+ }
2518
+ return t;
2519
+ }
2520
+ };
2521
+ function Ui(...e) {
2522
+ return new Proxy({ props: e }, Hi);
2523
+ }
2524
+ function Wi(e, t, n, r) {
2525
+ var i = !0, a = !!(n & 8), o = !!(n & 16), s = r, c = !0, u = void 0, d = () => o && i ? (u ??= /* @__PURE__ */ At(r), Q(u)) : (c && (c = !1, s = o ? ar(r) : r), s);
2526
+ let f;
2527
+ if (a) {
2528
+ var p = C in e || fe in e;
2529
+ f = l(e, t)?.set ?? (p && t in e ? (n) => e[t] = n : void 0);
2530
+ }
2531
+ var m, h = !1;
2532
+ a ? [m, h] = at(() => e[t]) : m = e[t], m === void 0 && r !== void 0 && (m = d(), f && (i && Oe(t), f(m)));
2533
+ var g = i ? () => {
2534
+ var n = e[t];
2535
+ return n === void 0 ? d() : (c = !0, n);
2536
+ } : () => {
2537
+ var n = e[t];
2538
+ return n !== void 0 && (s = void 0), n === void 0 ? s : n;
2539
+ };
2540
+ if (i && !(n & 4)) return g;
2541
+ if (f) {
2542
+ var _ = e.$$legacy;
2543
+ return (function(e, t) {
2544
+ return arguments.length > 0 ? ((!i || !t || _ || h) && f(t ? g() : e), e) : g();
2545
+ });
2546
+ }
2547
+ var v = !1, y = (n & 1 ? At : Pt)(() => (v = !1, g()));
2548
+ a && Q(y);
2549
+ var b = K;
2550
+ return (function(e, t) {
2551
+ if (arguments.length > 0) {
2552
+ let n = t ? Q(y) : i && a ? Yt(e) : e;
2553
+ return F(y, n), v = !0, s !== void 0 && (s = n), e;
2554
+ }
2555
+ return H && v || b.f & 16384 ? y.v : Q(y);
2556
+ });
2557
+ }
2558
+ //#endregion
2559
+ //#region ../../node_modules/.pnpm/svelte@5.55.9_@typescript-eslint+types@8.67.0/node_modules/svelte/src/legacy/legacy-client.js
2560
+ function Gi(e) {
2561
+ return new Ki(e);
2562
+ }
2563
+ var Ki = class {
2564
+ #e;
2565
+ #t;
2566
+ constructor(e) {
2567
+ var t = /* @__PURE__ */ new Map(), n = (e, n) => {
2568
+ var r = /* @__PURE__ */ Wt(n, !1, !1);
2569
+ return t.set(e, r), r;
2570
+ };
2571
+ let r = new Proxy({
2572
+ ...e.props || {},
2573
+ $$events: {}
2574
+ }, {
2575
+ get(e, r) {
2576
+ return Q(t.get(r) ?? n(r, Reflect.get(e, r)));
2577
+ },
2578
+ has(e, r) {
2579
+ return r === fe || (Q(t.get(r) ?? n(r, Reflect.get(e, r))), Reflect.has(e, r));
2580
+ },
2581
+ set(e, r, i) {
2582
+ return F(t.get(r) ?? n(r, i), i), Reflect.set(e, r, i);
2583
+ }
2584
+ });
2585
+ this.#t = (e.hydrate ? Ir : Fr)(e.component, {
2586
+ target: e.target,
2587
+ anchor: e.anchor,
2588
+ props: r,
2589
+ context: e.context,
2590
+ intro: e.intro ?? !1,
2591
+ recover: e.recover,
2592
+ transformError: e.transformError
2593
+ }), (!e?.props?.$$host || e.sync === !1) && gt(), this.#e = r.$$events;
2594
+ for (let e of Object.keys(this.#t)) e !== "$set" && e !== "$destroy" && e !== "$on" && c(this, e, {
2595
+ get() {
2596
+ return this.#t[e];
2597
+ },
2598
+ set(t) {
2599
+ this.#t[e] = t;
2600
+ },
2601
+ enumerable: !0
2602
+ });
2603
+ this.#t.$set = (e) => {
2604
+ Object.assign(r, e);
2605
+ }, this.#t.$destroy = () => {
2606
+ Br(this.#t);
2607
+ };
2608
+ }
2609
+ $set(e) {
2610
+ this.#t.$set(e);
2611
+ }
2612
+ $on(e, t) {
2613
+ this.#e[e] = this.#e[e] || [];
2614
+ let n = (...e) => t.call(this, ...e);
2615
+ return this.#e[e].push(n), () => {
2616
+ this.#e[e] = this.#e[e].filter((e) => e !== n);
2617
+ };
2618
+ }
2619
+ $destroy() {
2620
+ this.#t.$destroy();
2621
+ }
2622
+ }, qi;
2623
+ typeof HTMLElement == "function" && (qi = class extends HTMLElement {
2624
+ $$ctor;
2625
+ $$s;
2626
+ $$c;
2627
+ $$cn = !1;
2628
+ $$d = {};
2629
+ $$r = !1;
2630
+ $$p_d = {};
2631
+ $$l = {};
2632
+ $$l_u = /* @__PURE__ */ new Map();
2633
+ $$me;
2634
+ $$shadowRoot = null;
2635
+ constructor(e, t, n) {
2636
+ super(), this.$$ctor = e, this.$$s = t, n && (this.$$shadowRoot = this.attachShadow(n));
2637
+ }
2638
+ addEventListener(e, t, n) {
2639
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
2640
+ let n = this.$$c.$on(e, t);
2641
+ this.$$l_u.set(t, n);
2642
+ }
2643
+ super.addEventListener(e, t, n);
2644
+ }
2645
+ removeEventListener(e, t, n) {
2646
+ if (super.removeEventListener(e, t, n), this.$$c) {
2647
+ let e = this.$$l_u.get(t);
2648
+ e && (e(), this.$$l_u.delete(t));
2649
+ }
2650
+ }
2651
+ async connectedCallback() {
2652
+ if (this.$$cn = !0, !this.$$c) {
2653
+ if (await Promise.resolve(), !this.$$cn || this.$$c) return;
2654
+ function e(e) {
2655
+ return (t) => {
2656
+ let n = ln("slot");
2657
+ e !== "default" && (n.name = e), Tr(t, n);
2658
+ };
2659
+ }
2660
+ let t = {}, n = Yi(this);
2661
+ for (let r of this.$$s) r in n && (r === "default" && !this.$$d.children ? (this.$$d.children = e(r), t.default = !0) : t[r] = e(r));
2662
+ for (let e of this.attributes) {
2663
+ let t = this.$$g_p(e.name);
2664
+ t in this.$$d || (this.$$d[t] = Ji(t, e.value, this.$$p_d, "toProp"));
2665
+ }
2666
+ for (let e in this.$$p_d) !(e in this.$$d) && this[e] !== void 0 && (this.$$d[e] = this[e], delete this[e]);
2667
+ this.$$c = Gi({
2668
+ component: this.$$ctor,
2669
+ target: this.$$shadowRoot || this,
2670
+ props: {
2671
+ ...this.$$d,
2672
+ $$slots: t,
2673
+ $$host: this
2674
+ }
2675
+ }), this.$$me = Sn(() => {
2676
+ En(() => {
2677
+ this.$$r = !0;
2678
+ for (let e of s(this.$$c)) {
2679
+ if (!this.$$p_d[e]?.reflect) continue;
2680
+ this.$$d[e] = this.$$c[e];
2681
+ let t = Ji(e, this.$$d[e], this.$$p_d, "toAttribute");
2682
+ t == null ? this.removeAttribute(this.$$p_d[e].attribute || e) : this.setAttribute(this.$$p_d[e].attribute || e, t);
2683
+ }
2684
+ this.$$r = !1;
2685
+ });
2686
+ });
2687
+ for (let e in this.$$l) for (let t of this.$$l[e]) {
2688
+ let n = this.$$c.$on(e, t);
2689
+ this.$$l_u.set(t, n);
2690
+ }
2691
+ this.$$l = {};
2692
+ }
2693
+ }
2694
+ attributeChangedCallback(e, t, n) {
2695
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ji(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
2696
+ }
2697
+ disconnectedCallback() {
2698
+ this.$$cn = !1, Promise.resolve().then(() => {
2699
+ !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$me(), this.$$c = void 0);
2700
+ });
2701
+ }
2702
+ $$g_p(e) {
2703
+ return s(this.$$p_d).find((t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e) || e;
2704
+ }
2705
+ });
2706
+ function Ji(e, t, n, r) {
2707
+ let i = n[e]?.type;
2708
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e]) return t;
2709
+ if (r === "toAttribute") switch (i) {
2710
+ case "Object":
2711
+ case "Array": return t == null ? null : JSON.stringify(t);
2712
+ case "Boolean": return t ? "" : null;
2713
+ case "Number": return t ?? null;
2714
+ default: return t;
2715
+ }
2716
+ else switch (i) {
2717
+ case "Object":
2718
+ case "Array": return t && JSON.parse(t);
2719
+ case "Boolean": return t;
2720
+ case "Number": return t == null ? t : +t;
2721
+ default: return t;
2722
+ }
2723
+ }
2724
+ function Yi(e) {
2725
+ let t = {};
2726
+ return e.childNodes.forEach((e) => {
2727
+ t[e.slot || "default"] = !0;
2728
+ }), t;
2729
+ }
2730
+ function Xi(e, t, n, r, i, a) {
2731
+ let o = class extends qi {
2732
+ constructor() {
2733
+ super(e, n, i), this.$$p_d = t;
2734
+ }
2735
+ static get observedAttributes() {
2736
+ return s(t).map((e) => (t[e].attribute || e).toLowerCase());
2737
+ }
2738
+ };
2739
+ return s(t).forEach((e) => {
2740
+ c(o.prototype, e, {
2741
+ get() {
2742
+ return this.$$c && e in this.$$c ? this.$$c[e] : this.$$d[e];
2743
+ },
2744
+ set(n) {
2745
+ n = Ji(e, n, t), this.$$d[e] = n;
2746
+ var r = this.$$c;
2747
+ r && (l(r, e)?.get ? r[e] = n : r.$set({ [e]: n }));
2748
+ }
2749
+ });
2750
+ }), r.forEach((e) => {
2751
+ c(o.prototype, e, { get() {
2752
+ return this.$$c?.[e];
2753
+ } });
2754
+ }), a && (o = a(o)), e.element = o, o;
2755
+ }
2756
+ //#endregion
2757
+ export { nr as A, P as B, br as C, pr as D, mr as E, rn as F, Re as G, qe as H, an as I, on as L, wn as M, Dn as N, fr as O, bn as P, Yt as R, wr as S, Cr as T, Ke as U, Nt as V, ze as W, Wr as _, zi as a, Pr as b, _i as c, Di as d, pi as f, Jr as g, ei as h, Ui as i, ar as j, Q as k, ki as l, ti as m, Wi as n, Li as o, di as p, Vi as r, Ni as s, Xi as t, Ti as u, Ur as v, Sr as w, Tr as x, Hr as y, F as z };