@moneyto/components 0.0.18 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3382 @@
1
+ var bo = Object.defineProperty;
2
+ var Lr = (e) => {
3
+ throw TypeError(e);
4
+ };
5
+ var go = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
6
+ var z = (e, t, r) => go(e, typeof t != "symbol" ? t + "" : t, r), rr = (e, t, r) => t.has(e) || Lr("Cannot " + r);
7
+ var c = (e, t, r) => (rr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), v = (e, t, r) => t.has(e) ? Lr("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), g = (e, t, r, n) => (rr(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), N = (e, t, r) => (rr(e, t, "access private method"), r);
8
+ var Zr;
9
+ typeof window < "u" && ((Zr = window.__svelte ?? (window.__svelte = {})).v ?? (Zr.v = /* @__PURE__ */ new Set())).add("5");
10
+ const ba = 1, ga = 2, va = 4, ma = 8, wa = 16, vo = 1, mo = 4, wo = 8, xo = 16, yo = 1, _o = 2, kr = "[", Er = "[!", Dr = "[?", tn = "]", Qe = {}, M = Symbol(), rn = "http://www.w3.org/1999/xhtml", ko = "http://www.w3.org/2000/svg", Eo = "http://www.w3.org/1998/Math/MathML", $o = "@attach", ar = !1;
11
+ var nn = Array.isArray, Co = Array.prototype.indexOf, dt = Array.prototype.includes, To = Array.from, Ht = Object.keys, Vt = Object.defineProperty, Xe = Object.getOwnPropertyDescriptor, on = Object.getOwnPropertyDescriptors, So = Object.prototype, Ao = Array.prototype, $r = Object.getPrototypeOf, Fr = Object.isExtensible;
12
+ function xa(e) {
13
+ return typeof e == "function";
14
+ }
15
+ const zo = () => {
16
+ };
17
+ function No(e) {
18
+ for (var t = 0; t < e.length; t++)
19
+ e[t]();
20
+ }
21
+ function an() {
22
+ var e, t, r = new Promise((n, o) => {
23
+ e = n, t = o;
24
+ });
25
+ return { promise: r, resolve: e, reject: t };
26
+ }
27
+ const D = 2, At = 4, Jt = 8, Cr = 1 << 24, Ne = 16, ye = 32, Ye = 64, sr = 128, re = 512, j = 1024, F = 2048, pe = 4096, we = 8192, Se = 16384, De = 32768, ut = 65536, Yr = 1 << 17, sn = 1 << 18, tt = 1 << 19, Oo = 1 << 20, ya = 1 << 25, et = 65536, lr = 1 << 21, Tr = 1 << 22, Pe = 1 << 23, Ie = Symbol("$state"), ln = Symbol("legacy props"), Ro = Symbol(""), Be = new class extends Error {
28
+ constructor() {
29
+ super(...arguments);
30
+ z(this, "name", "StaleReactionError");
31
+ z(this, "message", "The reaction that called `getAbortSignal()` was re-run or destroyed");
32
+ }
33
+ }();
34
+ var Qr;
35
+ const zt = (
36
+ // We gotta write it like this because after downleveling the pure comment may end up in the wrong location
37
+ !!((Qr = globalThis.document) != null && Qr.contentType) && /* @__PURE__ */ globalThis.document.contentType.includes("xml")
38
+ ), Nt = 3, Ot = 8;
39
+ function cn(e) {
40
+ throw new Error("https://svelte.dev/e/lifecycle_outside_component");
41
+ }
42
+ function Mo() {
43
+ throw new Error("https://svelte.dev/e/async_derived_orphan");
44
+ }
45
+ function ka(e, t, r) {
46
+ throw new Error("https://svelte.dev/e/each_key_duplicate");
47
+ }
48
+ function jo(e) {
49
+ throw new Error("https://svelte.dev/e/effect_in_teardown");
50
+ }
51
+ function Po() {
52
+ throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
53
+ }
54
+ function Io(e) {
55
+ throw new Error("https://svelte.dev/e/effect_orphan");
56
+ }
57
+ function Lo() {
58
+ throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
59
+ }
60
+ function Do() {
61
+ throw new Error("https://svelte.dev/e/hydration_failed");
62
+ }
63
+ function Fo(e) {
64
+ throw new Error("https://svelte.dev/e/props_invalid_value");
65
+ }
66
+ function Yo() {
67
+ throw new Error("https://svelte.dev/e/state_descriptors_fixed");
68
+ }
69
+ function Bo() {
70
+ throw new Error("https://svelte.dev/e/state_prototype_fixed");
71
+ }
72
+ function Ho() {
73
+ throw new Error("https://svelte.dev/e/state_unsafe_mutation");
74
+ }
75
+ function Vo() {
76
+ throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
77
+ }
78
+ function Rt(e) {
79
+ console.warn("https://svelte.dev/e/hydration_mismatch");
80
+ }
81
+ function qo() {
82
+ console.warn("https://svelte.dev/e/select_multiple_invalid_value");
83
+ }
84
+ function Uo() {
85
+ console.warn("https://svelte.dev/e/svelte_boundary_reset_noop");
86
+ }
87
+ let $ = !1;
88
+ function Me(e) {
89
+ $ = e;
90
+ }
91
+ let x;
92
+ function Z(e) {
93
+ if (e === null)
94
+ throw Rt(), Qe;
95
+ return x = e;
96
+ }
97
+ function _t() {
98
+ return Z(/* @__PURE__ */ _e(x));
99
+ }
100
+ function Ea(e) {
101
+ if ($) {
102
+ if (/* @__PURE__ */ _e(x) !== null)
103
+ throw Rt(), Qe;
104
+ x = e;
105
+ }
106
+ }
107
+ function Go(e = 1) {
108
+ if ($) {
109
+ for (var t = e, r = x; t--; )
110
+ r = /** @type {TemplateNode} */
111
+ /* @__PURE__ */ _e(r);
112
+ x = r;
113
+ }
114
+ }
115
+ function fn(e = !0) {
116
+ for (var t = 0, r = x; ; ) {
117
+ if (r.nodeType === Ot) {
118
+ var n = (
119
+ /** @type {Comment} */
120
+ r.data
121
+ );
122
+ if (n === tn) {
123
+ if (t === 0) return r;
124
+ t -= 1;
125
+ } else (n === kr || n === Er || // "[1", "[2", etc. for if blocks
126
+ n[0] === "[" && !isNaN(Number(n.slice(1)))) && (t += 1);
127
+ }
128
+ var o = (
129
+ /** @type {TemplateNode} */
130
+ /* @__PURE__ */ _e(r)
131
+ );
132
+ e && r.remove(), r = o;
133
+ }
134
+ }
135
+ function Ko(e) {
136
+ if (!e || e.nodeType !== Ot)
137
+ throw Rt(), Qe;
138
+ return (
139
+ /** @type {Comment} */
140
+ e.data
141
+ );
142
+ }
143
+ function dn(e) {
144
+ return e === this.v;
145
+ }
146
+ function Wo(e, t) {
147
+ return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
148
+ }
149
+ function un(e) {
150
+ return !Wo(e, this.v);
151
+ }
152
+ let Jo = !1, q = null;
153
+ function pt(e) {
154
+ q = e;
155
+ }
156
+ function pn(e, t = !1, r) {
157
+ q = {
158
+ p: q,
159
+ i: !1,
160
+ c: null,
161
+ e: null,
162
+ s: e,
163
+ x: null,
164
+ l: null
165
+ };
166
+ }
167
+ function hn(e) {
168
+ var t = (
169
+ /** @type {ComponentContext} */
170
+ q
171
+ ), r = t.e;
172
+ if (r !== null) {
173
+ t.e = null;
174
+ for (var n of r)
175
+ In(n);
176
+ }
177
+ return e !== void 0 && (t.x = e), t.i = !0, q = t.p, e ?? /** @type {T} */
178
+ {};
179
+ }
180
+ function bn() {
181
+ return !0;
182
+ }
183
+ let He = [];
184
+ function gn() {
185
+ var e = He;
186
+ He = [], No(e);
187
+ }
188
+ function Ae(e) {
189
+ if (He.length === 0 && !mt) {
190
+ var t = He;
191
+ queueMicrotask(() => {
192
+ t === He && gn();
193
+ });
194
+ }
195
+ He.push(e);
196
+ }
197
+ function Xo() {
198
+ for (; He.length > 0; )
199
+ gn();
200
+ }
201
+ function vn(e) {
202
+ var t = k;
203
+ if (t === null)
204
+ return w.f |= Pe, e;
205
+ if ((t.f & De) === 0 && (t.f & At) === 0)
206
+ throw e;
207
+ je(e, t);
208
+ }
209
+ function je(e, t) {
210
+ for (; t !== null; ) {
211
+ if ((t.f & sr) !== 0) {
212
+ if ((t.f & De) === 0)
213
+ throw e;
214
+ try {
215
+ t.b.error(e);
216
+ return;
217
+ } catch (r) {
218
+ e = r;
219
+ }
220
+ }
221
+ t = t.parent;
222
+ }
223
+ throw e;
224
+ }
225
+ const Zo = -7169;
226
+ function O(e, t) {
227
+ e.f = e.f & Zo | t;
228
+ }
229
+ function Sr(e) {
230
+ (e.f & re) !== 0 || e.deps === null ? O(e, j) : O(e, pe);
231
+ }
232
+ function mn(e) {
233
+ if (e !== null)
234
+ for (const t of e)
235
+ (t.f & D) === 0 || (t.f & et) === 0 || (t.f ^= et, mn(
236
+ /** @type {Derived} */
237
+ t.deps
238
+ ));
239
+ }
240
+ function wn(e, t, r) {
241
+ (e.f & F) !== 0 ? t.add(e) : (e.f & pe) !== 0 && r.add(e), mn(e.deps), O(e, j);
242
+ }
243
+ const Pt = /* @__PURE__ */ new Set();
244
+ let m = null, cr = null, I = null, H = [], Xt = null, fr = !1, mt = !1;
245
+ var ot, it, Ue, at, Et, $t, Ge, Ee, st, Q, dr, ur, pr, xn;
246
+ const Ir = class Ir {
247
+ constructor() {
248
+ v(this, Q);
249
+ /**
250
+ * The current values of any sources that are updated in this batch
251
+ * They keys of this map are identical to `this.#previous`
252
+ * @type {Map<Source, any>}
253
+ */
254
+ z(this, "current", /* @__PURE__ */ new Map());
255
+ /**
256
+ * The values of any sources that are updated in this batch _before_ those updates took place.
257
+ * They keys of this map are identical to `this.#current`
258
+ * @type {Map<Source, any>}
259
+ */
260
+ z(this, "previous", /* @__PURE__ */ new Map());
261
+ /**
262
+ * When the batch is committed (and the DOM is updated), we need to remove old branches
263
+ * and append new ones by calling the functions added inside (if/each/key/etc) blocks
264
+ * @type {Set<() => void>}
265
+ */
266
+ v(this, ot, /* @__PURE__ */ new Set());
267
+ /**
268
+ * If a fork is discarded, we need to destroy any effects that are no longer needed
269
+ * @type {Set<(batch: Batch) => void>}
270
+ */
271
+ v(this, it, /* @__PURE__ */ new Set());
272
+ /**
273
+ * The number of async effects that are currently in flight
274
+ */
275
+ v(this, Ue, 0);
276
+ /**
277
+ * The number of async effects that are currently in flight, _not_ inside a pending boundary
278
+ */
279
+ v(this, at, 0);
280
+ /**
281
+ * A deferred that resolves when the batch is committed, used with `settled()`
282
+ * TODO replace with Promise.withResolvers once supported widely enough
283
+ * @type {{ promise: Promise<void>, resolve: (value?: any) => void, reject: (reason: unknown) => void } | null}
284
+ */
285
+ v(this, Et, null);
286
+ /**
287
+ * Deferred effects (which run after async work has completed) that are DIRTY
288
+ * @type {Set<Effect>}
289
+ */
290
+ v(this, $t, /* @__PURE__ */ new Set());
291
+ /**
292
+ * Deferred effects that are MAYBE_DIRTY
293
+ * @type {Set<Effect>}
294
+ */
295
+ v(this, Ge, /* @__PURE__ */ new Set());
296
+ /**
297
+ * A map of branches that still exist, but will be destroyed when this batch
298
+ * is committed — we skip over these during `process`.
299
+ * The value contains child effects that were dirty/maybe_dirty before being reset,
300
+ * so they can be rescheduled if the branch survives.
301
+ * @type {Map<Effect, { d: Effect[], m: Effect[] }>}
302
+ */
303
+ v(this, Ee, /* @__PURE__ */ new Map());
304
+ z(this, "is_fork", !1);
305
+ v(this, st, !1);
306
+ }
307
+ /**
308
+ * Add an effect to the #skipped_branches map and reset its children
309
+ * @param {Effect} effect
310
+ */
311
+ skip_effect(t) {
312
+ c(this, Ee).has(t) || c(this, Ee).set(t, { d: [], m: [] });
313
+ }
314
+ /**
315
+ * Remove an effect from the #skipped_branches map and reschedule
316
+ * any tracked dirty/maybe_dirty child effects
317
+ * @param {Effect} effect
318
+ */
319
+ unskip_effect(t) {
320
+ var r = c(this, Ee).get(t);
321
+ if (r) {
322
+ c(this, Ee).delete(t);
323
+ for (var n of r.d)
324
+ O(n, F), fe(n);
325
+ for (n of r.m)
326
+ O(n, pe), fe(n);
327
+ }
328
+ }
329
+ /**
330
+ *
331
+ * @param {Effect[]} root_effects
332
+ */
333
+ process(t) {
334
+ var o;
335
+ H = [], this.apply();
336
+ var r = [], n = [];
337
+ for (const i of t)
338
+ N(this, Q, ur).call(this, i, r, n);
339
+ if (N(this, Q, dr).call(this)) {
340
+ N(this, Q, pr).call(this, n), N(this, Q, pr).call(this, r);
341
+ for (const [i, a] of c(this, Ee))
342
+ En(i, a);
343
+ } else {
344
+ for (const i of c(this, ot)) i();
345
+ c(this, ot).clear(), c(this, Ue) === 0 && N(this, Q, xn).call(this), cr = this, m = null, Br(n), Br(r), cr = null, (o = c(this, Et)) == null || o.resolve();
346
+ }
347
+ I = null;
348
+ }
349
+ /**
350
+ * Associate a change to a given source with the current
351
+ * batch, noting its previous and current values
352
+ * @param {Source} source
353
+ * @param {any} value
354
+ */
355
+ capture(t, r) {
356
+ r !== M && !this.previous.has(t) && this.previous.set(t, r), (t.f & Pe) === 0 && (this.current.set(t, t.v), I == null || I.set(t, t.v));
357
+ }
358
+ activate() {
359
+ m = this, this.apply();
360
+ }
361
+ deactivate() {
362
+ m === this && (m = null, I = null);
363
+ }
364
+ flush() {
365
+ if (this.activate(), H.length > 0) {
366
+ if (yn(), m !== null && m !== this)
367
+ return;
368
+ } else c(this, Ue) === 0 && this.process([]);
369
+ this.deactivate();
370
+ }
371
+ discard() {
372
+ for (const t of c(this, it)) t(this);
373
+ c(this, it).clear();
374
+ }
375
+ /**
376
+ *
377
+ * @param {boolean} blocking
378
+ */
379
+ increment(t) {
380
+ g(this, Ue, c(this, Ue) + 1), t && g(this, at, c(this, at) + 1);
381
+ }
382
+ /**
383
+ *
384
+ * @param {boolean} blocking
385
+ */
386
+ decrement(t) {
387
+ g(this, Ue, c(this, Ue) - 1), t && g(this, at, c(this, at) - 1), !c(this, st) && (g(this, st, !0), Ae(() => {
388
+ g(this, st, !1), N(this, Q, dr).call(this) ? H.length > 0 && this.flush() : this.revive();
389
+ }));
390
+ }
391
+ revive() {
392
+ for (const t of c(this, $t))
393
+ c(this, Ge).delete(t), O(t, F), fe(t);
394
+ for (const t of c(this, Ge))
395
+ O(t, pe), fe(t);
396
+ this.flush();
397
+ }
398
+ /** @param {() => void} fn */
399
+ oncommit(t) {
400
+ c(this, ot).add(t);
401
+ }
402
+ /** @param {(batch: Batch) => void} fn */
403
+ ondiscard(t) {
404
+ c(this, it).add(t);
405
+ }
406
+ settled() {
407
+ return (c(this, Et) ?? g(this, Et, an())).promise;
408
+ }
409
+ static ensure() {
410
+ if (m === null) {
411
+ const t = m = new Ir();
412
+ Pt.add(m), mt || Ae(() => {
413
+ m === t && t.flush();
414
+ });
415
+ }
416
+ return m;
417
+ }
418
+ apply() {
419
+ }
420
+ };
421
+ ot = new WeakMap(), it = new WeakMap(), Ue = new WeakMap(), at = new WeakMap(), Et = new WeakMap(), $t = new WeakMap(), Ge = new WeakMap(), Ee = new WeakMap(), st = new WeakMap(), Q = new WeakSet(), dr = function() {
422
+ return this.is_fork || c(this, at) > 0;
423
+ }, /**
424
+ * Traverse the effect tree, executing effects or stashing
425
+ * them for later execution as appropriate
426
+ * @param {Effect} root
427
+ * @param {Effect[]} effects
428
+ * @param {Effect[]} render_effects
429
+ */
430
+ ur = function(t, r, n) {
431
+ t.f ^= j;
432
+ for (var o = t.first; o !== null; ) {
433
+ var i = o.f, a = (i & (ye | Ye)) !== 0, l = a && (i & j) !== 0, s = l || (i & we) !== 0 || c(this, Ee).has(o);
434
+ if (!s && o.fn !== null) {
435
+ a ? o.f ^= j : (i & At) !== 0 ? r.push(o) : jt(o) && ((i & Ne) !== 0 && c(this, Ge).add(o), ht(o));
436
+ var f = o.first;
437
+ if (f !== null) {
438
+ o = f;
439
+ continue;
440
+ }
441
+ }
442
+ for (; o !== null; ) {
443
+ var p = o.next;
444
+ if (p !== null) {
445
+ o = p;
446
+ break;
447
+ }
448
+ o = o.parent;
449
+ }
450
+ }
451
+ }, /**
452
+ * @param {Effect[]} effects
453
+ */
454
+ pr = function(t) {
455
+ for (var r = 0; r < t.length; r += 1)
456
+ wn(t[r], c(this, $t), c(this, Ge));
457
+ }, xn = function() {
458
+ var o;
459
+ if (Pt.size > 1) {
460
+ this.previous.clear();
461
+ var t = I, r = !0;
462
+ for (const i of Pt) {
463
+ if (i === this) {
464
+ r = !1;
465
+ continue;
466
+ }
467
+ const a = [];
468
+ for (const [s, f] of this.current) {
469
+ if (i.current.has(s))
470
+ if (r && f !== i.current.get(s))
471
+ i.current.set(s, f);
472
+ else
473
+ continue;
474
+ a.push(s);
475
+ }
476
+ if (a.length === 0)
477
+ continue;
478
+ const l = [...i.current.keys()].filter((s) => !this.current.has(s));
479
+ if (l.length > 0) {
480
+ var n = H;
481
+ H = [];
482
+ const s = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Map();
483
+ for (const p of a)
484
+ _n(p, l, s, f);
485
+ if (H.length > 0) {
486
+ m = i, i.apply();
487
+ for (const p of H)
488
+ N(o = i, Q, ur).call(o, p, [], []);
489
+ i.deactivate();
490
+ }
491
+ H = n;
492
+ }
493
+ }
494
+ m = null, I = t;
495
+ }
496
+ Pt.delete(this);
497
+ };
498
+ let ze = Ir;
499
+ function Ar(e) {
500
+ var t = mt;
501
+ mt = !0;
502
+ try {
503
+ for (var r; ; ) {
504
+ if (Xo(), H.length === 0 && (m == null || m.flush(), H.length === 0))
505
+ return Xt = null, /** @type {T} */
506
+ r;
507
+ yn();
508
+ }
509
+ } finally {
510
+ mt = t;
511
+ }
512
+ }
513
+ function yn() {
514
+ fr = !0;
515
+ var e = null;
516
+ try {
517
+ for (var t = 0; H.length > 0; ) {
518
+ var r = ze.ensure();
519
+ if (t++ > 1e3) {
520
+ var n, o;
521
+ Qo();
522
+ }
523
+ r.process(H), Le.clear();
524
+ }
525
+ } finally {
526
+ H = [], fr = !1, Xt = null;
527
+ }
528
+ }
529
+ function Qo() {
530
+ try {
531
+ Lo();
532
+ } catch (e) {
533
+ je(e, Xt);
534
+ }
535
+ }
536
+ let ae = null;
537
+ function Br(e) {
538
+ var t = e.length;
539
+ if (t !== 0) {
540
+ for (var r = 0; r < t; ) {
541
+ var n = e[r++];
542
+ if ((n.f & (Se | we)) === 0 && jt(n) && (ae = /* @__PURE__ */ new Set(), ht(n), n.deps === null && n.first === null && n.nodes === null && n.teardown === null && n.ac === null && Hn(n), (ae == null ? void 0 : ae.size) > 0)) {
543
+ Le.clear();
544
+ for (const o of ae) {
545
+ if ((o.f & (Se | we)) !== 0) continue;
546
+ const i = [o];
547
+ let a = o.parent;
548
+ for (; a !== null; )
549
+ ae.has(a) && (ae.delete(a), i.push(a)), a = a.parent;
550
+ for (let l = i.length - 1; l >= 0; l--) {
551
+ const s = i[l];
552
+ (s.f & (Se | we)) === 0 && ht(s);
553
+ }
554
+ }
555
+ ae.clear();
556
+ }
557
+ }
558
+ ae = null;
559
+ }
560
+ }
561
+ function _n(e, t, r, n) {
562
+ if (!r.has(e) && (r.add(e), e.reactions !== null))
563
+ for (const o of e.reactions) {
564
+ const i = o.f;
565
+ (i & D) !== 0 ? _n(
566
+ /** @type {Derived} */
567
+ o,
568
+ t,
569
+ r,
570
+ n
571
+ ) : (i & (Tr | Ne)) !== 0 && (i & F) === 0 && kn(o, t, n) && (O(o, F), fe(
572
+ /** @type {Effect} */
573
+ o
574
+ ));
575
+ }
576
+ }
577
+ function kn(e, t, r) {
578
+ const n = r.get(e);
579
+ if (n !== void 0) return n;
580
+ if (e.deps !== null)
581
+ for (const o of e.deps) {
582
+ if (dt.call(t, o))
583
+ return !0;
584
+ if ((o.f & D) !== 0 && kn(
585
+ /** @type {Derived} */
586
+ o,
587
+ t,
588
+ r
589
+ ))
590
+ return r.set(
591
+ /** @type {Derived} */
592
+ o,
593
+ !0
594
+ ), !0;
595
+ }
596
+ return r.set(e, !1), !1;
597
+ }
598
+ function fe(e) {
599
+ var t = Xt = e, r = t.b;
600
+ if (r != null && r.is_pending && (e.f & (At | Jt | Cr)) !== 0 && (e.f & De) === 0) {
601
+ r.defer_effect(e);
602
+ return;
603
+ }
604
+ for (; t.parent !== null; ) {
605
+ t = t.parent;
606
+ var n = t.f;
607
+ if (fr && t === k && (n & Ne) !== 0 && (n & sn) === 0 && (n & De) !== 0)
608
+ return;
609
+ if ((n & (Ye | ye)) !== 0) {
610
+ if ((n & j) === 0)
611
+ return;
612
+ t.f ^= j;
613
+ }
614
+ }
615
+ H.push(t);
616
+ }
617
+ function En(e, t) {
618
+ if (!((e.f & ye) !== 0 && (e.f & j) !== 0)) {
619
+ (e.f & F) !== 0 ? t.d.push(e) : (e.f & pe) !== 0 && t.m.push(e), O(e, j);
620
+ for (var r = e.first; r !== null; )
621
+ En(r, t), r = r.next;
622
+ }
623
+ }
624
+ function ei(e) {
625
+ let t = 0, r = Mt(0), n;
626
+ return () => {
627
+ Or() && (X(r), Ln(() => (t === 0 && (n = tr(() => e(() => wt(r)))), t += 1, () => {
628
+ Ae(() => {
629
+ t -= 1, t === 0 && (n == null || n(), n = void 0, wt(r));
630
+ });
631
+ })));
632
+ };
633
+ }
634
+ var ti = ut | tt;
635
+ function ri(e, t, r, n) {
636
+ new ni(e, t, r, n);
637
+ }
638
+ var K, Ct, ge, Ke, B, ve, W, se, $e, We, Re, lt, ct, ft, Ce, Kt, S, $n, Cn, Tn, hr, Dt, Ft, br;
639
+ class ni {
640
+ /**
641
+ * @param {TemplateNode} node
642
+ * @param {BoundaryProps} props
643
+ * @param {((anchor: Node) => void)} children
644
+ * @param {((error: unknown) => unknown) | undefined} [transform_error]
645
+ */
646
+ constructor(t, r, n, o) {
647
+ v(this, S);
648
+ /** @type {Boundary | null} */
649
+ z(this, "parent");
650
+ z(this, "is_pending", !1);
651
+ /**
652
+ * API-level transformError transform function. Transforms errors before they reach the `failed` snippet.
653
+ * Inherited from parent boundary, or defaults to identity.
654
+ * @type {(error: unknown) => unknown}
655
+ */
656
+ z(this, "transform_error");
657
+ /** @type {TemplateNode} */
658
+ v(this, K);
659
+ /** @type {TemplateNode | null} */
660
+ v(this, Ct, $ ? x : null);
661
+ /** @type {BoundaryProps} */
662
+ v(this, ge);
663
+ /** @type {((anchor: Node) => void)} */
664
+ v(this, Ke);
665
+ /** @type {Effect} */
666
+ v(this, B);
667
+ /** @type {Effect | null} */
668
+ v(this, ve, null);
669
+ /** @type {Effect | null} */
670
+ v(this, W, null);
671
+ /** @type {Effect | null} */
672
+ v(this, se, null);
673
+ /** @type {DocumentFragment | null} */
674
+ v(this, $e, null);
675
+ v(this, We, 0);
676
+ v(this, Re, 0);
677
+ v(this, lt, !1);
678
+ /** @type {Set<Effect>} */
679
+ v(this, ct, /* @__PURE__ */ new Set());
680
+ /** @type {Set<Effect>} */
681
+ v(this, ft, /* @__PURE__ */ new Set());
682
+ /**
683
+ * A source containing the number of pending async deriveds/expressions.
684
+ * Only created if `$effect.pending()` is used inside the boundary,
685
+ * otherwise updating the source results in needless `Batch.ensure()`
686
+ * calls followed by no-op flushes
687
+ * @type {Source<number> | null}
688
+ */
689
+ v(this, Ce, null);
690
+ v(this, Kt, ei(() => (g(this, Ce, Mt(c(this, We))), () => {
691
+ g(this, Ce, null);
692
+ })));
693
+ var i;
694
+ g(this, K, t), g(this, ge, r), g(this, Ke, (a) => {
695
+ var l = (
696
+ /** @type {Effect} */
697
+ k
698
+ );
699
+ l.b = this, l.f |= sr, n(a);
700
+ }), this.parent = /** @type {Effect} */
701
+ k.b, this.transform_error = o ?? ((i = this.parent) == null ? void 0 : i.transform_error) ?? ((a) => a), g(this, B, Dn(() => {
702
+ if ($) {
703
+ const a = (
704
+ /** @type {Comment} */
705
+ c(this, Ct)
706
+ );
707
+ _t();
708
+ const l = a.data === Er;
709
+ if (a.data.startsWith(Dr)) {
710
+ const f = JSON.parse(a.data.slice(Dr.length));
711
+ N(this, S, Cn).call(this, f);
712
+ } else l ? N(this, S, Tn).call(this) : N(this, S, $n).call(this);
713
+ } else
714
+ N(this, S, hr).call(this);
715
+ }, ti)), $ && g(this, K, x);
716
+ }
717
+ /**
718
+ * Defer an effect inside a pending boundary until the boundary resolves
719
+ * @param {Effect} effect
720
+ */
721
+ defer_effect(t) {
722
+ wn(t, c(this, ct), c(this, ft));
723
+ }
724
+ /**
725
+ * Returns `false` if the effect exists inside a boundary whose pending snippet is shown
726
+ * @returns {boolean}
727
+ */
728
+ is_rendered() {
729
+ return !this.is_pending && (!this.parent || this.parent.is_rendered());
730
+ }
731
+ has_pending_snippet() {
732
+ return !!c(this, ge).pending;
733
+ }
734
+ /**
735
+ * Update the source that powers `$effect.pending()` inside this boundary,
736
+ * and controls when the current `pending` snippet (if any) is removed.
737
+ * Do not call from inside the class
738
+ * @param {1 | -1} d
739
+ */
740
+ update_pending_count(t) {
741
+ N(this, S, br).call(this, t), g(this, We, c(this, We) + t), !(!c(this, Ce) || c(this, lt)) && (g(this, lt, !0), Ae(() => {
742
+ g(this, lt, !1), c(this, Ce) && qt(c(this, Ce), c(this, We));
743
+ }));
744
+ }
745
+ get_effect_pending() {
746
+ return c(this, Kt).call(this), X(
747
+ /** @type {Source<number>} */
748
+ c(this, Ce)
749
+ );
750
+ }
751
+ /** @param {unknown} error */
752
+ error(t) {
753
+ var r = c(this, ge).onerror;
754
+ let n = c(this, ge).failed;
755
+ if (!r && !n)
756
+ throw t;
757
+ c(this, ve) && (L(c(this, ve)), g(this, ve, null)), c(this, W) && (L(c(this, W)), g(this, W, null)), c(this, se) && (L(c(this, se)), g(this, se, null)), $ && (Z(
758
+ /** @type {TemplateNode} */
759
+ c(this, Ct)
760
+ ), Go(), Z(fn()));
761
+ var o = !1, i = !1;
762
+ const a = () => {
763
+ if (o) {
764
+ Uo();
765
+ return;
766
+ }
767
+ o = !0, i && Vo(), c(this, se) !== null && xt(c(this, se), () => {
768
+ g(this, se, null);
769
+ }), N(this, S, Ft).call(this, () => {
770
+ ze.ensure(), N(this, S, hr).call(this);
771
+ });
772
+ }, l = (s) => {
773
+ try {
774
+ i = !0, r == null || r(s, a), i = !1;
775
+ } catch (f) {
776
+ je(f, c(this, B) && c(this, B).parent);
777
+ }
778
+ n && g(this, se, N(this, S, Ft).call(this, () => {
779
+ ze.ensure();
780
+ try {
781
+ return ce(() => {
782
+ var f = (
783
+ /** @type {Effect} */
784
+ k
785
+ );
786
+ f.b = this, f.f |= sr, n(
787
+ c(this, K),
788
+ () => s,
789
+ () => a
790
+ );
791
+ });
792
+ } catch (f) {
793
+ return je(
794
+ f,
795
+ /** @type {Effect} */
796
+ c(this, B).parent
797
+ ), null;
798
+ }
799
+ }));
800
+ };
801
+ Ae(() => {
802
+ var s;
803
+ try {
804
+ s = this.transform_error(t);
805
+ } catch (f) {
806
+ je(f, c(this, B) && c(this, B).parent);
807
+ return;
808
+ }
809
+ s !== null && typeof s == "object" && typeof /** @type {any} */
810
+ s.then == "function" ? s.then(
811
+ l,
812
+ /** @param {unknown} e */
813
+ (f) => je(f, c(this, B) && c(this, B).parent)
814
+ ) : l(s);
815
+ });
816
+ }
817
+ }
818
+ K = new WeakMap(), Ct = new WeakMap(), ge = new WeakMap(), Ke = new WeakMap(), B = new WeakMap(), ve = new WeakMap(), W = new WeakMap(), se = new WeakMap(), $e = new WeakMap(), We = new WeakMap(), Re = new WeakMap(), lt = new WeakMap(), ct = new WeakMap(), ft = new WeakMap(), Ce = new WeakMap(), Kt = new WeakMap(), S = new WeakSet(), $n = function() {
819
+ try {
820
+ g(this, ve, ce(() => c(this, Ke).call(this, c(this, K))));
821
+ } catch (t) {
822
+ this.error(t);
823
+ }
824
+ }, /**
825
+ * @param {unknown} error The deserialized error from the server's hydration comment
826
+ */
827
+ Cn = function(t) {
828
+ const r = c(this, ge).failed;
829
+ r && g(this, se, ce(() => {
830
+ r(
831
+ c(this, K),
832
+ () => t,
833
+ () => () => {
834
+ }
835
+ );
836
+ }));
837
+ }, Tn = function() {
838
+ const t = c(this, ge).pending;
839
+ t && (this.is_pending = !0, g(this, W, ce(() => t(c(this, K)))), Ae(() => {
840
+ var r = g(this, $e, document.createDocumentFragment()), n = he();
841
+ r.append(n), g(this, ve, N(this, S, Ft).call(this, () => (ze.ensure(), ce(() => c(this, Ke).call(this, n))))), c(this, Re) === 0 && (c(this, K).before(r), g(this, $e, null), xt(
842
+ /** @type {Effect} */
843
+ c(this, W),
844
+ () => {
845
+ g(this, W, null);
846
+ }
847
+ ), N(this, S, Dt).call(this));
848
+ }));
849
+ }, hr = function() {
850
+ try {
851
+ if (this.is_pending = this.has_pending_snippet(), g(this, Re, 0), g(this, We, 0), g(this, ve, ce(() => {
852
+ c(this, Ke).call(this, c(this, K));
853
+ })), c(this, Re) > 0) {
854
+ var t = g(this, $e, document.createDocumentFragment());
855
+ Un(c(this, ve), t);
856
+ const r = (
857
+ /** @type {(anchor: Node) => void} */
858
+ c(this, ge).pending
859
+ );
860
+ g(this, W, ce(() => r(c(this, K))));
861
+ } else
862
+ N(this, S, Dt).call(this);
863
+ } catch (r) {
864
+ this.error(r);
865
+ }
866
+ }, Dt = function() {
867
+ this.is_pending = !1;
868
+ for (const t of c(this, ct))
869
+ O(t, F), fe(t);
870
+ for (const t of c(this, ft))
871
+ O(t, pe), fe(t);
872
+ c(this, ct).clear(), c(this, ft).clear();
873
+ }, /**
874
+ * @template T
875
+ * @param {() => T} fn
876
+ */
877
+ Ft = function(t) {
878
+ var r = k, n = w, o = q;
879
+ xe(c(this, B)), ie(c(this, B)), pt(c(this, B).ctx);
880
+ try {
881
+ return t();
882
+ } catch (i) {
883
+ return vn(i), null;
884
+ } finally {
885
+ xe(r), ie(n), pt(o);
886
+ }
887
+ }, /**
888
+ * Updates the pending count associated with the currently visible pending snippet,
889
+ * if any, such that we can replace the snippet with content once work is done
890
+ * @param {1 | -1} d
891
+ */
892
+ br = function(t) {
893
+ var r;
894
+ if (!this.has_pending_snippet()) {
895
+ this.parent && N(r = this.parent, S, br).call(r, t);
896
+ return;
897
+ }
898
+ g(this, Re, c(this, Re) + t), c(this, Re) === 0 && (N(this, S, Dt).call(this), c(this, W) && xt(c(this, W), () => {
899
+ g(this, W, null);
900
+ }), c(this, $e) && (c(this, K).before(c(this, $e)), g(this, $e, null)));
901
+ };
902
+ function Sn(e, t, r, n) {
903
+ const o = Zt;
904
+ var i = e.filter((d) => !d.settled);
905
+ if (r.length === 0 && i.length === 0) {
906
+ n(t.map(o));
907
+ return;
908
+ }
909
+ var a = (
910
+ /** @type {Effect} */
911
+ k
912
+ ), l = oi(), s = i.length === 1 ? i[0].promise : i.length > 1 ? Promise.all(i.map((d) => d.promise)) : null;
913
+ function f(d) {
914
+ l();
915
+ try {
916
+ n(d);
917
+ } catch (u) {
918
+ (a.f & Se) === 0 && je(u, a);
919
+ }
920
+ gr();
921
+ }
922
+ if (r.length === 0) {
923
+ s.then(() => f(t.map(o)));
924
+ return;
925
+ }
926
+ function p() {
927
+ l(), Promise.all(r.map((d) => /* @__PURE__ */ ai(d))).then((d) => f([...t.map(o), ...d])).catch((d) => je(d, a));
928
+ }
929
+ s ? s.then(p) : p();
930
+ }
931
+ function oi() {
932
+ var e = k, t = w, r = q, n = m;
933
+ return function(i = !0) {
934
+ xe(e), ie(t), pt(r), i && (n == null || n.activate());
935
+ };
936
+ }
937
+ function gr(e = !0) {
938
+ xe(null), ie(null), pt(null), e && (m == null || m.deactivate());
939
+ }
940
+ function ii() {
941
+ var e = (
942
+ /** @type {Boundary} */
943
+ /** @type {Effect} */
944
+ k.b
945
+ ), t = (
946
+ /** @type {Batch} */
947
+ m
948
+ ), r = e.is_rendered();
949
+ return e.update_pending_count(1), t.increment(r), () => {
950
+ e.update_pending_count(-1), t.decrement(r);
951
+ };
952
+ }
953
+ // @__NO_SIDE_EFFECTS__
954
+ function Zt(e) {
955
+ var t = D | F, r = w !== null && (w.f & D) !== 0 ? (
956
+ /** @type {Derived} */
957
+ w
958
+ ) : null;
959
+ return k !== null && (k.f |= tt), {
960
+ ctx: q,
961
+ deps: null,
962
+ effects: null,
963
+ equals: dn,
964
+ f: t,
965
+ fn: e,
966
+ reactions: null,
967
+ rv: 0,
968
+ v: (
969
+ /** @type {V} */
970
+ M
971
+ ),
972
+ wv: 0,
973
+ parent: r ?? k,
974
+ ac: null
975
+ };
976
+ }
977
+ // @__NO_SIDE_EFFECTS__
978
+ function ai(e, t, r) {
979
+ /** @type {Effect | null} */
980
+ k === null && Mo();
981
+ var o = (
982
+ /** @type {Promise<V>} */
983
+ /** @type {unknown} */
984
+ void 0
985
+ ), i = Mt(
986
+ /** @type {V} */
987
+ M
988
+ ), a = !w, l = /* @__PURE__ */ new Map();
989
+ return ki(() => {
990
+ var u;
991
+ var s = an();
992
+ o = s.promise;
993
+ try {
994
+ Promise.resolve(e()).then(s.resolve, s.reject).finally(gr);
995
+ } catch (b) {
996
+ s.reject(b), gr();
997
+ }
998
+ var f = (
999
+ /** @type {Batch} */
1000
+ m
1001
+ );
1002
+ if (a) {
1003
+ var p = ii();
1004
+ (u = l.get(f)) == null || u.reject(Be), l.delete(f), l.set(f, s);
1005
+ }
1006
+ const d = (b, h = void 0) => {
1007
+ if (f.activate(), h)
1008
+ h !== Be && (i.f |= Pe, qt(i, h));
1009
+ else {
1010
+ (i.f & Pe) !== 0 && (i.f ^= Pe), qt(i, b);
1011
+ for (const [y, _] of l) {
1012
+ if (l.delete(y), y === f) break;
1013
+ _.reject(Be);
1014
+ }
1015
+ }
1016
+ p && p();
1017
+ };
1018
+ s.promise.then(d, (b) => d(null, b || "unknown"));
1019
+ }), Rr(() => {
1020
+ for (const s of l.values())
1021
+ s.reject(Be);
1022
+ }), new Promise((s) => {
1023
+ function f(p) {
1024
+ function d() {
1025
+ p === o ? s(i) : f(o);
1026
+ }
1027
+ p.then(d, d);
1028
+ }
1029
+ f(o);
1030
+ });
1031
+ }
1032
+ // @__NO_SIDE_EFFECTS__
1033
+ function $a(e) {
1034
+ const t = /* @__PURE__ */ Zt(e);
1035
+ return Gn(t), t;
1036
+ }
1037
+ // @__NO_SIDE_EFFECTS__
1038
+ function si(e) {
1039
+ const t = /* @__PURE__ */ Zt(e);
1040
+ return t.equals = un, t;
1041
+ }
1042
+ function li(e) {
1043
+ var t = e.effects;
1044
+ if (t !== null) {
1045
+ e.effects = null;
1046
+ for (var r = 0; r < t.length; r += 1)
1047
+ L(
1048
+ /** @type {Effect} */
1049
+ t[r]
1050
+ );
1051
+ }
1052
+ }
1053
+ function ci(e) {
1054
+ for (var t = e.parent; t !== null; ) {
1055
+ if ((t.f & D) === 0)
1056
+ return (t.f & Se) === 0 ? (
1057
+ /** @type {Effect} */
1058
+ t
1059
+ ) : null;
1060
+ t = t.parent;
1061
+ }
1062
+ return null;
1063
+ }
1064
+ function zr(e) {
1065
+ var t, r = k;
1066
+ xe(ci(e));
1067
+ try {
1068
+ e.f &= ~et, li(e), t = Xn(e);
1069
+ } finally {
1070
+ xe(r);
1071
+ }
1072
+ return t;
1073
+ }
1074
+ function An(e) {
1075
+ var t = zr(e);
1076
+ if (!e.equals(t) && (e.wv = Wn(), (!(m != null && m.is_fork) || e.deps === null) && (e.v = t, e.deps === null))) {
1077
+ O(e, j);
1078
+ return;
1079
+ }
1080
+ Fe || (I !== null ? (Or() || m != null && m.is_fork) && I.set(e, t) : Sr(e));
1081
+ }
1082
+ function fi(e) {
1083
+ var t, r;
1084
+ if (e.effects !== null)
1085
+ for (const n of e.effects)
1086
+ (n.teardown || n.ac) && ((t = n.teardown) == null || t.call(n), (r = n.ac) == null || r.abort(Be), n.teardown = zo, n.ac = null, kt(n, 0), jr(n));
1087
+ }
1088
+ function zn(e) {
1089
+ if (e.effects !== null)
1090
+ for (const t of e.effects)
1091
+ t.teardown && ht(t);
1092
+ }
1093
+ let vr = /* @__PURE__ */ new Set();
1094
+ const Le = /* @__PURE__ */ new Map();
1095
+ let Nn = !1;
1096
+ function Mt(e, t) {
1097
+ var r = {
1098
+ f: 0,
1099
+ // TODO ideally we could skip this altogether, but it causes type errors
1100
+ v: e,
1101
+ reactions: null,
1102
+ equals: dn,
1103
+ rv: 0,
1104
+ wv: 0
1105
+ };
1106
+ return r;
1107
+ }
1108
+ // @__NO_SIDE_EFFECTS__
1109
+ function Oe(e, t) {
1110
+ const r = Mt(e);
1111
+ return Gn(r), r;
1112
+ }
1113
+ // @__NO_SIDE_EFFECTS__
1114
+ function di(e, t = !1, r = !0) {
1115
+ const n = Mt(e);
1116
+ return t || (n.equals = un), n;
1117
+ }
1118
+ function ke(e, t, r = !1) {
1119
+ w !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
1120
+ // to ensure we error if state is set inside an inspect effect
1121
+ (!de || (w.f & Yr) !== 0) && bn() && (w.f & (D | Ne | Tr | Yr)) !== 0 && (ne === null || !dt.call(ne, e)) && Ho();
1122
+ let n = r ? nt(t) : t;
1123
+ return qt(e, n);
1124
+ }
1125
+ function qt(e, t) {
1126
+ if (!e.equals(t)) {
1127
+ var r = e.v;
1128
+ Fe ? Le.set(e, t) : Le.set(e, r), e.v = t;
1129
+ var n = ze.ensure();
1130
+ if (n.capture(e, r), (e.f & D) !== 0) {
1131
+ const o = (
1132
+ /** @type {Derived} */
1133
+ e
1134
+ );
1135
+ (e.f & F) !== 0 && zr(o), Sr(o);
1136
+ }
1137
+ e.wv = Wn(), On(e, F), k !== null && (k.f & j) !== 0 && (k.f & (ye | Ye)) === 0 && (ee === null ? Ti([e]) : ee.push(e)), !n.is_fork && vr.size > 0 && !Nn && ui();
1138
+ }
1139
+ return t;
1140
+ }
1141
+ function ui() {
1142
+ Nn = !1;
1143
+ for (const e of vr)
1144
+ (e.f & j) !== 0 && O(e, pe), jt(e) && ht(e);
1145
+ vr.clear();
1146
+ }
1147
+ function wt(e) {
1148
+ ke(e, e.v + 1);
1149
+ }
1150
+ function On(e, t) {
1151
+ var r = e.reactions;
1152
+ if (r !== null)
1153
+ for (var n = r.length, o = 0; o < n; o++) {
1154
+ var i = r[o], a = i.f, l = (a & F) === 0;
1155
+ if (l && O(i, t), (a & D) !== 0) {
1156
+ var s = (
1157
+ /** @type {Derived} */
1158
+ i
1159
+ );
1160
+ I == null || I.delete(s), (a & et) === 0 && (a & re && (i.f |= et), On(s, pe));
1161
+ } else l && ((a & Ne) !== 0 && ae !== null && ae.add(
1162
+ /** @type {Effect} */
1163
+ i
1164
+ ), fe(
1165
+ /** @type {Effect} */
1166
+ i
1167
+ ));
1168
+ }
1169
+ }
1170
+ function nt(e) {
1171
+ if (typeof e != "object" || e === null || Ie in e)
1172
+ return e;
1173
+ const t = $r(e);
1174
+ if (t !== So && t !== Ao)
1175
+ return e;
1176
+ var r = /* @__PURE__ */ new Map(), n = nn(e), o = /* @__PURE__ */ Oe(0), i = Ze, a = (l) => {
1177
+ if (Ze === i)
1178
+ return l();
1179
+ var s = w, f = Ze;
1180
+ ie(null), Gr(i);
1181
+ var p = l();
1182
+ return ie(s), Gr(f), p;
1183
+ };
1184
+ return n && r.set("length", /* @__PURE__ */ Oe(
1185
+ /** @type {any[]} */
1186
+ e.length
1187
+ )), new Proxy(
1188
+ /** @type {any} */
1189
+ e,
1190
+ {
1191
+ defineProperty(l, s, f) {
1192
+ (!("value" in f) || f.configurable === !1 || f.enumerable === !1 || f.writable === !1) && Yo();
1193
+ var p = r.get(s);
1194
+ return p === void 0 ? a(() => {
1195
+ var d = /* @__PURE__ */ Oe(f.value);
1196
+ return r.set(s, d), d;
1197
+ }) : ke(p, f.value, !0), !0;
1198
+ },
1199
+ deleteProperty(l, s) {
1200
+ var f = r.get(s);
1201
+ if (f === void 0) {
1202
+ if (s in l) {
1203
+ const p = a(() => /* @__PURE__ */ Oe(M));
1204
+ r.set(s, p), wt(o);
1205
+ }
1206
+ } else
1207
+ ke(f, M), wt(o);
1208
+ return !0;
1209
+ },
1210
+ get(l, s, f) {
1211
+ var b;
1212
+ if (s === Ie)
1213
+ return e;
1214
+ var p = r.get(s), d = s in l;
1215
+ if (p === void 0 && (!d || (b = Xe(l, s)) != null && b.writable) && (p = a(() => {
1216
+ var h = nt(d ? l[s] : M), y = /* @__PURE__ */ Oe(h);
1217
+ return y;
1218
+ }), r.set(s, p)), p !== void 0) {
1219
+ var u = X(p);
1220
+ return u === M ? void 0 : u;
1221
+ }
1222
+ return Reflect.get(l, s, f);
1223
+ },
1224
+ getOwnPropertyDescriptor(l, s) {
1225
+ var f = Reflect.getOwnPropertyDescriptor(l, s);
1226
+ if (f && "value" in f) {
1227
+ var p = r.get(s);
1228
+ p && (f.value = X(p));
1229
+ } else if (f === void 0) {
1230
+ var d = r.get(s), u = d == null ? void 0 : d.v;
1231
+ if (d !== void 0 && u !== M)
1232
+ return {
1233
+ enumerable: !0,
1234
+ configurable: !0,
1235
+ value: u,
1236
+ writable: !0
1237
+ };
1238
+ }
1239
+ return f;
1240
+ },
1241
+ has(l, s) {
1242
+ var u;
1243
+ if (s === Ie)
1244
+ return !0;
1245
+ var f = r.get(s), p = f !== void 0 && f.v !== M || Reflect.has(l, s);
1246
+ if (f !== void 0 || k !== null && (!p || (u = Xe(l, s)) != null && u.writable)) {
1247
+ f === void 0 && (f = a(() => {
1248
+ var b = p ? nt(l[s]) : M, h = /* @__PURE__ */ Oe(b);
1249
+ return h;
1250
+ }), r.set(s, f));
1251
+ var d = X(f);
1252
+ if (d === M)
1253
+ return !1;
1254
+ }
1255
+ return p;
1256
+ },
1257
+ set(l, s, f, p) {
1258
+ var A;
1259
+ var d = r.get(s), u = s in l;
1260
+ if (n && s === "length")
1261
+ for (var b = f; b < /** @type {Source<number>} */
1262
+ d.v; b += 1) {
1263
+ var h = r.get(b + "");
1264
+ h !== void 0 ? ke(h, M) : b in l && (h = a(() => /* @__PURE__ */ Oe(M)), r.set(b + "", h));
1265
+ }
1266
+ if (d === void 0)
1267
+ (!u || (A = Xe(l, s)) != null && A.writable) && (d = a(() => /* @__PURE__ */ Oe(void 0)), ke(d, nt(f)), r.set(s, d));
1268
+ else {
1269
+ u = d.v !== M;
1270
+ var y = a(() => nt(f));
1271
+ ke(d, y);
1272
+ }
1273
+ var _ = Reflect.getOwnPropertyDescriptor(l, s);
1274
+ if (_ != null && _.set && _.set.call(p, f), !u) {
1275
+ if (n && typeof s == "string") {
1276
+ var E = (
1277
+ /** @type {Source<number>} */
1278
+ r.get("length")
1279
+ ), P = Number(s);
1280
+ Number.isInteger(P) && P >= E.v && ke(E, P + 1);
1281
+ }
1282
+ wt(o);
1283
+ }
1284
+ return !0;
1285
+ },
1286
+ ownKeys(l) {
1287
+ X(o);
1288
+ var s = Reflect.ownKeys(l).filter((d) => {
1289
+ var u = r.get(d);
1290
+ return u === void 0 || u.v !== M;
1291
+ });
1292
+ for (var [f, p] of r)
1293
+ p.v !== M && !(f in l) && s.push(f);
1294
+ return s;
1295
+ },
1296
+ setPrototypeOf() {
1297
+ Bo();
1298
+ }
1299
+ }
1300
+ );
1301
+ }
1302
+ function Hr(e) {
1303
+ try {
1304
+ if (e !== null && typeof e == "object" && Ie in e)
1305
+ return e[Ie];
1306
+ } catch {
1307
+ }
1308
+ return e;
1309
+ }
1310
+ function pi(e, t) {
1311
+ return Object.is(Hr(e), Hr(t));
1312
+ }
1313
+ var Vr, Rn, Mn, jn;
1314
+ function mr() {
1315
+ if (Vr === void 0) {
1316
+ Vr = window, Rn = /Firefox/.test(navigator.userAgent);
1317
+ var e = Element.prototype, t = Node.prototype, r = Text.prototype;
1318
+ Mn = Xe(t, "firstChild").get, jn = Xe(t, "nextSibling").get, Fr(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), Fr(r) && (r.__t = void 0);
1319
+ }
1320
+ }
1321
+ function he(e = "") {
1322
+ return document.createTextNode(e);
1323
+ }
1324
+ // @__NO_SIDE_EFFECTS__
1325
+ function ue(e) {
1326
+ return (
1327
+ /** @type {TemplateNode | null} */
1328
+ Mn.call(e)
1329
+ );
1330
+ }
1331
+ // @__NO_SIDE_EFFECTS__
1332
+ function _e(e) {
1333
+ return (
1334
+ /** @type {TemplateNode | null} */
1335
+ jn.call(e)
1336
+ );
1337
+ }
1338
+ function Ca(e, t) {
1339
+ if (!$)
1340
+ return /* @__PURE__ */ ue(e);
1341
+ var r = /* @__PURE__ */ ue(x);
1342
+ if (r === null)
1343
+ r = x.appendChild(he());
1344
+ else if (t && r.nodeType !== Nt) {
1345
+ var n = he();
1346
+ return r == null || r.before(n), Z(n), n;
1347
+ }
1348
+ return t && Qt(
1349
+ /** @type {Text} */
1350
+ r
1351
+ ), Z(r), r;
1352
+ }
1353
+ function Ta(e, t = !1) {
1354
+ if (!$) {
1355
+ var r = /* @__PURE__ */ ue(e);
1356
+ return r instanceof Comment && r.data === "" ? /* @__PURE__ */ _e(r) : r;
1357
+ }
1358
+ if (t) {
1359
+ if ((x == null ? void 0 : x.nodeType) !== Nt) {
1360
+ var n = he();
1361
+ return x == null || x.before(n), Z(n), n;
1362
+ }
1363
+ Qt(
1364
+ /** @type {Text} */
1365
+ x
1366
+ );
1367
+ }
1368
+ return x;
1369
+ }
1370
+ function Sa(e, t = 1, r = !1) {
1371
+ let n = $ ? x : e;
1372
+ for (var o; t--; )
1373
+ o = n, n = /** @type {TemplateNode} */
1374
+ /* @__PURE__ */ _e(n);
1375
+ if (!$)
1376
+ return n;
1377
+ if (r) {
1378
+ if ((n == null ? void 0 : n.nodeType) !== Nt) {
1379
+ var i = he();
1380
+ return n === null ? o == null || o.after(i) : n.before(i), Z(i), i;
1381
+ }
1382
+ Qt(
1383
+ /** @type {Text} */
1384
+ n
1385
+ );
1386
+ }
1387
+ return Z(n), n;
1388
+ }
1389
+ function hi(e) {
1390
+ e.textContent = "";
1391
+ }
1392
+ function bi() {
1393
+ return !1;
1394
+ }
1395
+ function Nr(e, t, r) {
1396
+ return (
1397
+ /** @type {T extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[T] : Element} */
1398
+ document.createElementNS(t ?? rn, e, void 0)
1399
+ );
1400
+ }
1401
+ function Qt(e) {
1402
+ if (
1403
+ /** @type {string} */
1404
+ e.nodeValue.length < 65536
1405
+ )
1406
+ return;
1407
+ let t = e.nextSibling;
1408
+ for (; t !== null && t.nodeType === Nt; )
1409
+ t.remove(), e.nodeValue += /** @type {string} */
1410
+ t.nodeValue, t = e.nextSibling;
1411
+ }
1412
+ function gi(e, t) {
1413
+ if (t) {
1414
+ const r = document.body;
1415
+ e.autofocus = !0, Ae(() => {
1416
+ document.activeElement === r && e.focus();
1417
+ });
1418
+ }
1419
+ }
1420
+ let qr = !1;
1421
+ function Pn() {
1422
+ qr || (qr = !0, document.addEventListener(
1423
+ "reset",
1424
+ (e) => {
1425
+ Promise.resolve().then(() => {
1426
+ var t;
1427
+ if (!e.defaultPrevented)
1428
+ for (
1429
+ const r of
1430
+ /**@type {HTMLFormElement} */
1431
+ e.target.elements
1432
+ )
1433
+ (t = r.__on_r) == null || t.call(r);
1434
+ });
1435
+ },
1436
+ // In the capture phase to guarantee we get noticed of it (no possibility of stopPropagation)
1437
+ { capture: !0 }
1438
+ ));
1439
+ }
1440
+ function er(e) {
1441
+ var t = w, r = k;
1442
+ ie(null), xe(null);
1443
+ try {
1444
+ return e();
1445
+ } finally {
1446
+ ie(t), xe(r);
1447
+ }
1448
+ }
1449
+ function vi(e, t, r, n = r) {
1450
+ e.addEventListener(t, () => er(r));
1451
+ const o = e.__on_r;
1452
+ o ? e.__on_r = () => {
1453
+ o(), n(!0);
1454
+ } : e.__on_r = () => n(!0), Pn();
1455
+ }
1456
+ function mi(e) {
1457
+ k === null && (w === null && Io(), Po()), Fe && jo();
1458
+ }
1459
+ function wi(e, t) {
1460
+ var r = t.last;
1461
+ r === null ? t.last = t.first = e : (r.next = e, e.prev = r, t.last = e);
1462
+ }
1463
+ function be(e, t, r) {
1464
+ var n = k;
1465
+ n !== null && (n.f & we) !== 0 && (e |= we);
1466
+ var o = {
1467
+ ctx: q,
1468
+ deps: null,
1469
+ nodes: null,
1470
+ f: e | F | re,
1471
+ first: null,
1472
+ fn: t,
1473
+ last: null,
1474
+ next: null,
1475
+ parent: n,
1476
+ b: n && n.b,
1477
+ prev: null,
1478
+ teardown: null,
1479
+ wv: 0,
1480
+ ac: null
1481
+ };
1482
+ if (r)
1483
+ try {
1484
+ ht(o);
1485
+ } catch (l) {
1486
+ throw L(o), l;
1487
+ }
1488
+ else t !== null && fe(o);
1489
+ var i = o;
1490
+ if (r && i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last && // either `null`, or a singular child
1491
+ (i.f & tt) === 0 && (i = i.first, (e & Ne) !== 0 && (e & ut) !== 0 && i !== null && (i.f |= ut)), i !== null && (i.parent = n, n !== null && wi(i, n), w !== null && (w.f & D) !== 0 && (e & Ye) === 0)) {
1492
+ var a = (
1493
+ /** @type {Derived} */
1494
+ w
1495
+ );
1496
+ (a.effects ?? (a.effects = [])).push(i);
1497
+ }
1498
+ return o;
1499
+ }
1500
+ function Or() {
1501
+ return w !== null && !de;
1502
+ }
1503
+ function Rr(e) {
1504
+ const t = be(Jt, null, !1);
1505
+ return O(t, j), t.teardown = e, t;
1506
+ }
1507
+ function xi(e) {
1508
+ mi();
1509
+ var t = (
1510
+ /** @type {Effect} */
1511
+ k.f
1512
+ ), r = !w && (t & ye) !== 0 && (t & De) === 0;
1513
+ if (r) {
1514
+ var n = (
1515
+ /** @type {ComponentContext} */
1516
+ q
1517
+ );
1518
+ (n.e ?? (n.e = [])).push(e);
1519
+ } else
1520
+ return In(e);
1521
+ }
1522
+ function In(e) {
1523
+ return be(At | Oo, e, !1);
1524
+ }
1525
+ function yi(e) {
1526
+ ze.ensure();
1527
+ const t = be(Ye | tt, e, !0);
1528
+ return () => {
1529
+ L(t);
1530
+ };
1531
+ }
1532
+ function _i(e) {
1533
+ ze.ensure();
1534
+ const t = be(Ye | tt, e, !0);
1535
+ return (r = {}) => new Promise((n) => {
1536
+ r.outro ? xt(t, () => {
1537
+ L(t), n(void 0);
1538
+ }) : (L(t), n(void 0));
1539
+ });
1540
+ }
1541
+ function Mr(e) {
1542
+ return be(At, e, !1);
1543
+ }
1544
+ function ki(e) {
1545
+ return be(Tr | tt, e, !0);
1546
+ }
1547
+ function Ln(e, t = 0) {
1548
+ return be(Jt | t, e, !0);
1549
+ }
1550
+ function Ei(e, t = [], r = [], n = []) {
1551
+ Sn(n, t, r, (o) => {
1552
+ be(Jt, () => e(...o.map(X)), !0);
1553
+ });
1554
+ }
1555
+ function Dn(e, t = 0) {
1556
+ var r = be(Ne | t, e, !0);
1557
+ return r;
1558
+ }
1559
+ function Fn(e, t = 0) {
1560
+ var r = be(Cr | t, e, !0);
1561
+ return r;
1562
+ }
1563
+ function ce(e) {
1564
+ return be(ye | tt, e, !0);
1565
+ }
1566
+ function Yn(e) {
1567
+ var t = e.teardown;
1568
+ if (t !== null) {
1569
+ const r = Fe, n = w;
1570
+ Ur(!0), ie(null);
1571
+ try {
1572
+ t.call(null);
1573
+ } finally {
1574
+ Ur(r), ie(n);
1575
+ }
1576
+ }
1577
+ }
1578
+ function jr(e, t = !1) {
1579
+ var r = e.first;
1580
+ for (e.first = e.last = null; r !== null; ) {
1581
+ const o = r.ac;
1582
+ o !== null && er(() => {
1583
+ o.abort(Be);
1584
+ });
1585
+ var n = r.next;
1586
+ (r.f & Ye) !== 0 ? r.parent = null : L(r, t), r = n;
1587
+ }
1588
+ }
1589
+ function $i(e) {
1590
+ for (var t = e.first; t !== null; ) {
1591
+ var r = t.next;
1592
+ (t.f & ye) === 0 && L(t), t = r;
1593
+ }
1594
+ }
1595
+ function L(e, t = !0) {
1596
+ var r = !1;
1597
+ (t || (e.f & sn) !== 0) && e.nodes !== null && e.nodes.end !== null && (Bn(
1598
+ e.nodes.start,
1599
+ /** @type {TemplateNode} */
1600
+ e.nodes.end
1601
+ ), r = !0), jr(e, t && !r), kt(e, 0), O(e, Se);
1602
+ var n = e.nodes && e.nodes.t;
1603
+ if (n !== null)
1604
+ for (const i of n)
1605
+ i.stop();
1606
+ Yn(e);
1607
+ var o = e.parent;
1608
+ o !== null && o.first !== null && Hn(e), e.next = e.prev = e.teardown = e.ctx = e.deps = e.fn = e.nodes = e.ac = null;
1609
+ }
1610
+ function Bn(e, t) {
1611
+ for (; e !== null; ) {
1612
+ var r = e === t ? null : /* @__PURE__ */ _e(e);
1613
+ e.remove(), e = r;
1614
+ }
1615
+ }
1616
+ function Hn(e) {
1617
+ var t = e.parent, r = e.prev, n = e.next;
1618
+ r !== null && (r.next = n), n !== null && (n.prev = r), t !== null && (t.first === e && (t.first = n), t.last === e && (t.last = r));
1619
+ }
1620
+ function xt(e, t, r = !0) {
1621
+ var n = [];
1622
+ Vn(e, n, !0);
1623
+ var o = () => {
1624
+ r && L(e), t && t();
1625
+ }, i = n.length;
1626
+ if (i > 0) {
1627
+ var a = () => --i || o();
1628
+ for (var l of n)
1629
+ l.out(a);
1630
+ } else
1631
+ o();
1632
+ }
1633
+ function Vn(e, t, r) {
1634
+ if ((e.f & we) === 0) {
1635
+ e.f ^= we;
1636
+ var n = e.nodes && e.nodes.t;
1637
+ if (n !== null)
1638
+ for (const l of n)
1639
+ (l.is_global || r) && t.push(l);
1640
+ for (var o = e.first; o !== null; ) {
1641
+ var i = o.next, a = (o.f & ut) !== 0 || // If this is a branch effect without a block effect parent,
1642
+ // it means the parent block effect was pruned. In that case,
1643
+ // transparency information was transferred to the branch effect.
1644
+ (o.f & ye) !== 0 && (e.f & Ne) !== 0;
1645
+ Vn(o, t, a ? r : !1), o = i;
1646
+ }
1647
+ }
1648
+ }
1649
+ function Ci(e) {
1650
+ qn(e, !0);
1651
+ }
1652
+ function qn(e, t) {
1653
+ if ((e.f & we) !== 0) {
1654
+ e.f ^= we, (e.f & j) === 0 && (O(e, F), fe(e));
1655
+ for (var r = e.first; r !== null; ) {
1656
+ var n = r.next, o = (r.f & ut) !== 0 || (r.f & ye) !== 0;
1657
+ qn(r, o ? t : !1), r = n;
1658
+ }
1659
+ var i = e.nodes && e.nodes.t;
1660
+ if (i !== null)
1661
+ for (const a of i)
1662
+ (a.is_global || t) && a.in();
1663
+ }
1664
+ }
1665
+ function Un(e, t) {
1666
+ if (e.nodes)
1667
+ for (var r = e.nodes.start, n = e.nodes.end; r !== null; ) {
1668
+ var o = r === n ? null : /* @__PURE__ */ _e(r);
1669
+ t.append(r), r = o;
1670
+ }
1671
+ }
1672
+ let Yt = !1, Fe = !1;
1673
+ function Ur(e) {
1674
+ Fe = e;
1675
+ }
1676
+ let w = null, de = !1;
1677
+ function ie(e) {
1678
+ w = e;
1679
+ }
1680
+ let k = null;
1681
+ function xe(e) {
1682
+ k = e;
1683
+ }
1684
+ let ne = null;
1685
+ function Gn(e) {
1686
+ w !== null && (ne === null ? ne = [e] : ne.push(e));
1687
+ }
1688
+ let V = null, G = 0, ee = null;
1689
+ function Ti(e) {
1690
+ ee = e;
1691
+ }
1692
+ let Kn = 1, Ve = 0, Ze = Ve;
1693
+ function Gr(e) {
1694
+ Ze = e;
1695
+ }
1696
+ function Wn() {
1697
+ return ++Kn;
1698
+ }
1699
+ function jt(e) {
1700
+ var t = e.f;
1701
+ if ((t & F) !== 0)
1702
+ return !0;
1703
+ if (t & D && (e.f &= ~et), (t & pe) !== 0) {
1704
+ for (var r = (
1705
+ /** @type {Value[]} */
1706
+ e.deps
1707
+ ), n = r.length, o = 0; o < n; o++) {
1708
+ var i = r[o];
1709
+ if (jt(
1710
+ /** @type {Derived} */
1711
+ i
1712
+ ) && An(
1713
+ /** @type {Derived} */
1714
+ i
1715
+ ), i.wv > e.wv)
1716
+ return !0;
1717
+ }
1718
+ (t & re) !== 0 && // During time traveling we don't want to reset the status so that
1719
+ // traversal of the graph in the other batches still happens
1720
+ I === null && O(e, j);
1721
+ }
1722
+ return !1;
1723
+ }
1724
+ function Jn(e, t, r = !0) {
1725
+ var n = e.reactions;
1726
+ if (n !== null && !(ne !== null && dt.call(ne, e)))
1727
+ for (var o = 0; o < n.length; o++) {
1728
+ var i = n[o];
1729
+ (i.f & D) !== 0 ? Jn(
1730
+ /** @type {Derived} */
1731
+ i,
1732
+ t,
1733
+ !1
1734
+ ) : t === i && (r ? O(i, F) : (i.f & j) !== 0 && O(i, pe), fe(
1735
+ /** @type {Effect} */
1736
+ i
1737
+ ));
1738
+ }
1739
+ }
1740
+ function Xn(e) {
1741
+ var y;
1742
+ var t = V, r = G, n = ee, o = w, i = ne, a = q, l = de, s = Ze, f = e.f;
1743
+ V = /** @type {null | Value[]} */
1744
+ null, G = 0, ee = null, w = (f & (ye | Ye)) === 0 ? e : null, ne = null, pt(e.ctx), de = !1, Ze = ++Ve, e.ac !== null && (er(() => {
1745
+ e.ac.abort(Be);
1746
+ }), e.ac = null);
1747
+ try {
1748
+ e.f |= lr;
1749
+ var p = (
1750
+ /** @type {Function} */
1751
+ e.fn
1752
+ ), d = p();
1753
+ e.f |= De;
1754
+ var u = e.deps, b = m == null ? void 0 : m.is_fork;
1755
+ if (V !== null) {
1756
+ var h;
1757
+ if (b || kt(e, G), u !== null && G > 0)
1758
+ for (u.length = G + V.length, h = 0; h < V.length; h++)
1759
+ u[G + h] = V[h];
1760
+ else
1761
+ e.deps = u = V;
1762
+ if (Or() && (e.f & re) !== 0)
1763
+ for (h = G; h < u.length; h++)
1764
+ ((y = u[h]).reactions ?? (y.reactions = [])).push(e);
1765
+ } else !b && u !== null && G < u.length && (kt(e, G), u.length = G);
1766
+ if (bn() && ee !== null && !de && u !== null && (e.f & (D | pe | F)) === 0)
1767
+ for (h = 0; h < /** @type {Source[]} */
1768
+ ee.length; h++)
1769
+ Jn(
1770
+ ee[h],
1771
+ /** @type {Effect} */
1772
+ e
1773
+ );
1774
+ if (o !== null && o !== e) {
1775
+ if (Ve++, o.deps !== null)
1776
+ for (let _ = 0; _ < r; _ += 1)
1777
+ o.deps[_].rv = Ve;
1778
+ if (t !== null)
1779
+ for (const _ of t)
1780
+ _.rv = Ve;
1781
+ ee !== null && (n === null ? n = ee : n.push(.../** @type {Source[]} */
1782
+ ee));
1783
+ }
1784
+ return (e.f & Pe) !== 0 && (e.f ^= Pe), d;
1785
+ } catch (_) {
1786
+ return vn(_);
1787
+ } finally {
1788
+ e.f ^= lr, V = t, G = r, ee = n, w = o, ne = i, pt(a), de = l, Ze = s;
1789
+ }
1790
+ }
1791
+ function Si(e, t) {
1792
+ let r = t.reactions;
1793
+ if (r !== null) {
1794
+ var n = Co.call(r, e);
1795
+ if (n !== -1) {
1796
+ var o = r.length - 1;
1797
+ o === 0 ? r = t.reactions = null : (r[n] = r[o], r.pop());
1798
+ }
1799
+ }
1800
+ if (r === null && (t.f & D) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
1801
+ // to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
1802
+ // allows us to skip the expensive work of disconnecting and immediately reconnecting it
1803
+ (V === null || !dt.call(V, t))) {
1804
+ var i = (
1805
+ /** @type {Derived} */
1806
+ t
1807
+ );
1808
+ (i.f & re) !== 0 && (i.f ^= re, i.f &= ~et), Sr(i), fi(i), kt(i, 0);
1809
+ }
1810
+ }
1811
+ function kt(e, t) {
1812
+ var r = e.deps;
1813
+ if (r !== null)
1814
+ for (var n = t; n < r.length; n++)
1815
+ Si(e, r[n]);
1816
+ }
1817
+ function ht(e) {
1818
+ var t = e.f;
1819
+ if ((t & Se) === 0) {
1820
+ O(e, j);
1821
+ var r = k, n = Yt;
1822
+ k = e, Yt = !0;
1823
+ try {
1824
+ (t & (Ne | Cr)) !== 0 ? $i(e) : jr(e), Yn(e);
1825
+ var o = Xn(e);
1826
+ e.teardown = typeof o == "function" ? o : null, e.wv = Kn;
1827
+ var i;
1828
+ ar && Jo && (e.f & F) !== 0 && e.deps;
1829
+ } finally {
1830
+ Yt = n, k = r;
1831
+ }
1832
+ }
1833
+ }
1834
+ async function Aa() {
1835
+ await Promise.resolve(), Ar();
1836
+ }
1837
+ function X(e) {
1838
+ var t = e.f, r = (t & D) !== 0;
1839
+ if (w !== null && !de) {
1840
+ var n = k !== null && (k.f & Se) !== 0;
1841
+ if (!n && (ne === null || !dt.call(ne, e))) {
1842
+ var o = w.deps;
1843
+ if ((w.f & lr) !== 0)
1844
+ e.rv < Ve && (e.rv = Ve, V === null && o !== null && o[G] === e ? G++ : V === null ? V = [e] : V.push(e));
1845
+ else {
1846
+ (w.deps ?? (w.deps = [])).push(e);
1847
+ var i = e.reactions;
1848
+ i === null ? e.reactions = [w] : dt.call(i, w) || i.push(w);
1849
+ }
1850
+ }
1851
+ }
1852
+ if (Fe && Le.has(e))
1853
+ return Le.get(e);
1854
+ if (r) {
1855
+ var a = (
1856
+ /** @type {Derived} */
1857
+ e
1858
+ );
1859
+ if (Fe) {
1860
+ var l = a.v;
1861
+ return ((a.f & j) === 0 && a.reactions !== null || Qn(a)) && (l = zr(a)), Le.set(a, l), l;
1862
+ }
1863
+ var s = (a.f & re) === 0 && !de && w !== null && (Yt || (w.f & re) !== 0), f = (a.f & De) === 0;
1864
+ jt(a) && (s && (a.f |= re), An(a)), s && !f && (zn(a), Zn(a));
1865
+ }
1866
+ if (I != null && I.has(e))
1867
+ return I.get(e);
1868
+ if ((e.f & Pe) !== 0)
1869
+ throw e.v;
1870
+ return e.v;
1871
+ }
1872
+ function Zn(e) {
1873
+ if (e.f |= re, e.deps !== null)
1874
+ for (const t of e.deps)
1875
+ (t.reactions ?? (t.reactions = [])).push(e), (t.f & D) !== 0 && (t.f & re) === 0 && (zn(
1876
+ /** @type {Derived} */
1877
+ t
1878
+ ), Zn(
1879
+ /** @type {Derived} */
1880
+ t
1881
+ ));
1882
+ }
1883
+ function Qn(e) {
1884
+ if (e.v === M) return !0;
1885
+ if (e.deps === null) return !1;
1886
+ for (const t of e.deps)
1887
+ if (Le.has(t) || (t.f & D) !== 0 && Qn(
1888
+ /** @type {Derived} */
1889
+ t
1890
+ ))
1891
+ return !0;
1892
+ return !1;
1893
+ }
1894
+ function tr(e) {
1895
+ var t = de;
1896
+ try {
1897
+ return de = !0, e();
1898
+ } finally {
1899
+ de = t;
1900
+ }
1901
+ }
1902
+ function za(e) {
1903
+ if (!(typeof e != "object" || !e || e instanceof EventTarget)) {
1904
+ if (Ie in e)
1905
+ wr(e);
1906
+ else if (!Array.isArray(e))
1907
+ for (let t in e) {
1908
+ const r = e[t];
1909
+ typeof r == "object" && r && Ie in r && wr(r);
1910
+ }
1911
+ }
1912
+ }
1913
+ function wr(e, t = /* @__PURE__ */ new Set()) {
1914
+ if (typeof e == "object" && e !== null && // We don't want to traverse DOM elements
1915
+ !(e instanceof EventTarget) && !t.has(e)) {
1916
+ t.add(e), e instanceof Date && e.getTime();
1917
+ for (let n in e)
1918
+ try {
1919
+ wr(e[n], t);
1920
+ } catch {
1921
+ }
1922
+ const r = $r(e);
1923
+ if (r !== Object.prototype && r !== Array.prototype && r !== Map.prototype && r !== Set.prototype && r !== Date.prototype) {
1924
+ const n = on(r);
1925
+ for (let o in n) {
1926
+ const i = n[o].get;
1927
+ if (i)
1928
+ try {
1929
+ i.call(e);
1930
+ } catch {
1931
+ }
1932
+ }
1933
+ }
1934
+ }
1935
+ }
1936
+ const qe = Symbol("events"), eo = /* @__PURE__ */ new Set(), xr = /* @__PURE__ */ new Set();
1937
+ function to(e, t, r, n = {}) {
1938
+ function o(i) {
1939
+ if (n.capture || yr.call(t, i), !i.cancelBubble)
1940
+ return er(() => r == null ? void 0 : r.call(this, i));
1941
+ }
1942
+ return e.startsWith("pointer") || e.startsWith("touch") || e === "wheel" ? Ae(() => {
1943
+ t.addEventListener(e, o, n);
1944
+ }) : t.addEventListener(e, o, n), o;
1945
+ }
1946
+ function Na(e, t, r, n, o) {
1947
+ var i = { capture: n, passive: o }, a = to(e, t, r, i);
1948
+ (t === document.body || // @ts-ignore
1949
+ t === window || // @ts-ignore
1950
+ t === document || // Firefox has quirky behavior, it can happen that we still get "canplay" events when the element is already removed
1951
+ t instanceof HTMLMediaElement) && Rr(() => {
1952
+ t.removeEventListener(e, a, i);
1953
+ });
1954
+ }
1955
+ function Ai(e, t, r) {
1956
+ (t[qe] ?? (t[qe] = {}))[e] = r;
1957
+ }
1958
+ function zi(e) {
1959
+ for (var t = 0; t < e.length; t++)
1960
+ eo.add(e[t]);
1961
+ for (var r of xr)
1962
+ r(e);
1963
+ }
1964
+ let Kr = null;
1965
+ function yr(e) {
1966
+ var _, E;
1967
+ var t = this, r = (
1968
+ /** @type {Node} */
1969
+ t.ownerDocument
1970
+ ), n = e.type, o = ((_ = e.composedPath) == null ? void 0 : _.call(e)) || [], i = (
1971
+ /** @type {null | Element} */
1972
+ o[0] || e.target
1973
+ );
1974
+ Kr = e;
1975
+ var a = 0, l = Kr === e && e[qe];
1976
+ if (l) {
1977
+ var s = o.indexOf(l);
1978
+ if (s !== -1 && (t === document || t === /** @type {any} */
1979
+ window)) {
1980
+ e[qe] = t;
1981
+ return;
1982
+ }
1983
+ var f = o.indexOf(t);
1984
+ if (f === -1)
1985
+ return;
1986
+ s <= f && (a = s);
1987
+ }
1988
+ if (i = /** @type {Element} */
1989
+ o[a] || e.target, i !== t) {
1990
+ Vt(e, "currentTarget", {
1991
+ configurable: !0,
1992
+ get() {
1993
+ return i || r;
1994
+ }
1995
+ });
1996
+ var p = w, d = k;
1997
+ ie(null), xe(null);
1998
+ try {
1999
+ for (var u, b = []; i !== null; ) {
2000
+ var h = i.assignedSlot || i.parentNode || /** @type {any} */
2001
+ i.host || null;
2002
+ try {
2003
+ var y = (E = i[qe]) == null ? void 0 : E[n];
2004
+ y != null && (!/** @type {any} */
2005
+ i.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
2006
+ // -> the target could not have been disabled because it emits the event in the first place
2007
+ e.target === i) && y.call(i, e);
2008
+ } catch (P) {
2009
+ u ? b.push(P) : u = P;
2010
+ }
2011
+ if (e.cancelBubble || h === t || h === null)
2012
+ break;
2013
+ i = h;
2014
+ }
2015
+ if (u) {
2016
+ for (let P of b)
2017
+ queueMicrotask(() => {
2018
+ throw P;
2019
+ });
2020
+ throw u;
2021
+ }
2022
+ } finally {
2023
+ e[qe] = t, delete e.currentTarget, ie(p), xe(d);
2024
+ }
2025
+ }
2026
+ }
2027
+ var en;
2028
+ const nr = (
2029
+ // We gotta write it like this because after downleveling the pure comment may end up in the wrong location
2030
+ ((en = globalThis == null ? void 0 : globalThis.window) == null ? void 0 : en.trustedTypes) && /* @__PURE__ */ globalThis.window.trustedTypes.createPolicy("svelte-trusted-html", {
2031
+ /** @param {string} html */
2032
+ createHTML: (e) => e
2033
+ })
2034
+ );
2035
+ function Ni(e) {
2036
+ return (
2037
+ /** @type {string} */
2038
+ (nr == null ? void 0 : nr.createHTML(e)) ?? e
2039
+ );
2040
+ }
2041
+ function ro(e) {
2042
+ var t = Nr("template");
2043
+ return t.innerHTML = Ni(e.replaceAll("<!>", "<!---->")), t.content;
2044
+ }
2045
+ function oe(e, t) {
2046
+ var r = (
2047
+ /** @type {Effect} */
2048
+ k
2049
+ );
2050
+ r.nodes === null && (r.nodes = { start: e, end: t, a: null, t: null });
2051
+ }
2052
+ // @__NO_SIDE_EFFECTS__
2053
+ function Oa(e, t) {
2054
+ var r = (t & yo) !== 0, n = (t & _o) !== 0, o, i = !e.startsWith("<!>");
2055
+ return () => {
2056
+ if ($)
2057
+ return oe(x, null), x;
2058
+ o === void 0 && (o = ro(i ? e : "<!>" + e), r || (o = /** @type {TemplateNode} */
2059
+ /* @__PURE__ */ ue(o)));
2060
+ var a = (
2061
+ /** @type {TemplateNode} */
2062
+ n || Rn ? document.importNode(o, !0) : o.cloneNode(!0)
2063
+ );
2064
+ if (r) {
2065
+ var l = (
2066
+ /** @type {TemplateNode} */
2067
+ /* @__PURE__ */ ue(a)
2068
+ ), s = (
2069
+ /** @type {TemplateNode} */
2070
+ a.lastChild
2071
+ );
2072
+ oe(l, s);
2073
+ } else
2074
+ oe(a, a);
2075
+ return a;
2076
+ };
2077
+ }
2078
+ // @__NO_SIDE_EFFECTS__
2079
+ function Oi(e, t, r = "svg") {
2080
+ var n = !e.startsWith("<!>"), o = `<${r}>${n ? e : "<!>" + e}</${r}>`, i;
2081
+ return () => {
2082
+ if ($)
2083
+ return oe(x, null), x;
2084
+ if (!i) {
2085
+ var a = (
2086
+ /** @type {DocumentFragment} */
2087
+ ro(o)
2088
+ ), l = (
2089
+ /** @type {Element} */
2090
+ /* @__PURE__ */ ue(a)
2091
+ );
2092
+ i = /** @type {Element} */
2093
+ /* @__PURE__ */ ue(l);
2094
+ }
2095
+ var s = (
2096
+ /** @type {TemplateNode} */
2097
+ i.cloneNode(!0)
2098
+ );
2099
+ return oe(s, s), s;
2100
+ };
2101
+ }
2102
+ // @__NO_SIDE_EFFECTS__
2103
+ function Ra(e, t) {
2104
+ return /* @__PURE__ */ Oi(e, t, "svg");
2105
+ }
2106
+ function Ma(e = "") {
2107
+ if (!$) {
2108
+ var t = he(e + "");
2109
+ return oe(t, t), t;
2110
+ }
2111
+ var r = x;
2112
+ return r.nodeType !== Nt ? (r.before(r = he()), Z(r)) : Qt(
2113
+ /** @type {Text} */
2114
+ r
2115
+ ), oe(r, r), r;
2116
+ }
2117
+ function ja() {
2118
+ if ($)
2119
+ return oe(x, null), x;
2120
+ var e = document.createDocumentFragment(), t = document.createComment(""), r = he();
2121
+ return e.append(t, r), oe(t, r), e;
2122
+ }
2123
+ function Ri(e, t) {
2124
+ if ($) {
2125
+ var r = (
2126
+ /** @type {Effect & { nodes: EffectNodes }} */
2127
+ k
2128
+ );
2129
+ ((r.f & De) === 0 || r.nodes.end === null) && (r.nodes.end = x), _t();
2130
+ return;
2131
+ }
2132
+ e !== null && e.before(
2133
+ /** @type {Node} */
2134
+ t
2135
+ );
2136
+ }
2137
+ function Mi(e) {
2138
+ return e.endsWith("capture") && e !== "gotpointercapture" && e !== "lostpointercapture";
2139
+ }
2140
+ const ji = [
2141
+ "beforeinput",
2142
+ "click",
2143
+ "change",
2144
+ "dblclick",
2145
+ "contextmenu",
2146
+ "focusin",
2147
+ "focusout",
2148
+ "input",
2149
+ "keydown",
2150
+ "keyup",
2151
+ "mousedown",
2152
+ "mousemove",
2153
+ "mouseout",
2154
+ "mouseover",
2155
+ "mouseup",
2156
+ "pointerdown",
2157
+ "pointermove",
2158
+ "pointerout",
2159
+ "pointerover",
2160
+ "pointerup",
2161
+ "touchend",
2162
+ "touchmove",
2163
+ "touchstart"
2164
+ ];
2165
+ function Pi(e) {
2166
+ return ji.includes(e);
2167
+ }
2168
+ const Ii = {
2169
+ // no `class: 'className'` because we handle that separately
2170
+ formnovalidate: "formNoValidate",
2171
+ ismap: "isMap",
2172
+ nomodule: "noModule",
2173
+ playsinline: "playsInline",
2174
+ readonly: "readOnly",
2175
+ defaultvalue: "defaultValue",
2176
+ defaultchecked: "defaultChecked",
2177
+ srcobject: "srcObject",
2178
+ novalidate: "noValidate",
2179
+ allowfullscreen: "allowFullscreen",
2180
+ disablepictureinpicture: "disablePictureInPicture",
2181
+ disableremoteplayback: "disableRemotePlayback"
2182
+ };
2183
+ function Li(e) {
2184
+ return e = e.toLowerCase(), Ii[e] ?? e;
2185
+ }
2186
+ const Di = ["touchstart", "touchmove"];
2187
+ function Fi(e) {
2188
+ return Di.includes(e);
2189
+ }
2190
+ function Pa(e, t) {
2191
+ var r = t == null ? "" : typeof t == "object" ? `${t}` : t;
2192
+ r !== (e.__t ?? (e.__t = e.nodeValue)) && (e.__t = r, e.nodeValue = `${r}`);
2193
+ }
2194
+ function no(e, t) {
2195
+ return oo(e, t);
2196
+ }
2197
+ function Yi(e, t) {
2198
+ mr(), t.intro = t.intro ?? !1;
2199
+ const r = t.target, n = $, o = x;
2200
+ try {
2201
+ for (var i = /* @__PURE__ */ ue(r); i && (i.nodeType !== Ot || /** @type {Comment} */
2202
+ i.data !== kr); )
2203
+ i = /* @__PURE__ */ _e(i);
2204
+ if (!i)
2205
+ throw Qe;
2206
+ Me(!0), Z(
2207
+ /** @type {Comment} */
2208
+ i
2209
+ );
2210
+ const a = oo(e, { ...t, anchor: i });
2211
+ return Me(!1), /** @type {Exports} */
2212
+ a;
2213
+ } catch (a) {
2214
+ if (a instanceof Error && a.message.split(`
2215
+ `).some((l) => l.startsWith("https://svelte.dev/e/")))
2216
+ throw a;
2217
+ return a !== Qe && console.warn("Failed to hydrate: ", a), t.recover === !1 && Do(), mr(), hi(r), Me(!1), no(e, t);
2218
+ } finally {
2219
+ Me(n), Z(o);
2220
+ }
2221
+ }
2222
+ const It = /* @__PURE__ */ new Map();
2223
+ function oo(e, { target: t, anchor: r, props: n = {}, events: o, context: i, intro: a = !0, transformError: l }) {
2224
+ mr();
2225
+ var s = void 0, f = _i(() => {
2226
+ var p = r ?? t.appendChild(he());
2227
+ ri(
2228
+ /** @type {TemplateNode} */
2229
+ p,
2230
+ {
2231
+ pending: () => {
2232
+ }
2233
+ },
2234
+ (b) => {
2235
+ pn({});
2236
+ var h = (
2237
+ /** @type {ComponentContext} */
2238
+ q
2239
+ );
2240
+ if (i && (h.c = i), o && (n.$$events = o), $ && oe(
2241
+ /** @type {TemplateNode} */
2242
+ b,
2243
+ null
2244
+ ), s = e(b, n) || {}, $ && (k.nodes.end = x, x === null || x.nodeType !== Ot || /** @type {Comment} */
2245
+ x.data !== tn))
2246
+ throw Rt(), Qe;
2247
+ hn();
2248
+ },
2249
+ l
2250
+ );
2251
+ var d = /* @__PURE__ */ new Set(), u = (b) => {
2252
+ for (var h = 0; h < b.length; h++) {
2253
+ var y = b[h];
2254
+ if (!d.has(y)) {
2255
+ d.add(y);
2256
+ var _ = Fi(y);
2257
+ for (const A of [t, document]) {
2258
+ var E = It.get(A);
2259
+ E === void 0 && (E = /* @__PURE__ */ new Map(), It.set(A, E));
2260
+ var P = E.get(y);
2261
+ P === void 0 ? (A.addEventListener(y, yr, { passive: _ }), E.set(y, 1)) : E.set(y, P + 1);
2262
+ }
2263
+ }
2264
+ }
2265
+ };
2266
+ return u(To(eo)), xr.add(u), () => {
2267
+ var _;
2268
+ for (var b of d)
2269
+ for (const E of [t, document]) {
2270
+ var h = (
2271
+ /** @type {Map<string, number>} */
2272
+ It.get(E)
2273
+ ), y = (
2274
+ /** @type {number} */
2275
+ h.get(b)
2276
+ );
2277
+ --y == 0 ? (E.removeEventListener(b, yr), h.delete(b), h.size === 0 && It.delete(E)) : h.set(b, y);
2278
+ }
2279
+ xr.delete(u), p !== r && ((_ = p.parentNode) == null || _.removeChild(p));
2280
+ };
2281
+ });
2282
+ return _r.set(s, f), s;
2283
+ }
2284
+ let _r = /* @__PURE__ */ new WeakMap();
2285
+ function Bi(e, t) {
2286
+ const r = _r.get(e);
2287
+ return r ? (_r.delete(e), r(t)) : Promise.resolve();
2288
+ }
2289
+ var le, me, J, Je, Tt, St, Wt;
2290
+ class Hi {
2291
+ /**
2292
+ * @param {TemplateNode} anchor
2293
+ * @param {boolean} transition
2294
+ */
2295
+ constructor(t, r = !0) {
2296
+ /** @type {TemplateNode} */
2297
+ z(this, "anchor");
2298
+ /** @type {Map<Batch, Key>} */
2299
+ v(this, le, /* @__PURE__ */ new Map());
2300
+ /**
2301
+ * Map of keys to effects that are currently rendered in the DOM.
2302
+ * These effects are visible and actively part of the document tree.
2303
+ * Example:
2304
+ * ```
2305
+ * {#if condition}
2306
+ * foo
2307
+ * {:else}
2308
+ * bar
2309
+ * {/if}
2310
+ * ```
2311
+ * Can result in the entries `true->Effect` and `false->Effect`
2312
+ * @type {Map<Key, Effect>}
2313
+ */
2314
+ v(this, me, /* @__PURE__ */ new Map());
2315
+ /**
2316
+ * Similar to #onscreen with respect to the keys, but contains branches that are not yet
2317
+ * in the DOM, because their insertion is deferred.
2318
+ * @type {Map<Key, Branch>}
2319
+ */
2320
+ v(this, J, /* @__PURE__ */ new Map());
2321
+ /**
2322
+ * Keys of effects that are currently outroing
2323
+ * @type {Set<Key>}
2324
+ */
2325
+ v(this, Je, /* @__PURE__ */ new Set());
2326
+ /**
2327
+ * Whether to pause (i.e. outro) on change, or destroy immediately.
2328
+ * This is necessary for `<svelte:element>`
2329
+ */
2330
+ v(this, Tt, !0);
2331
+ v(this, St, () => {
2332
+ var t = (
2333
+ /** @type {Batch} */
2334
+ m
2335
+ );
2336
+ if (c(this, le).has(t)) {
2337
+ var r = (
2338
+ /** @type {Key} */
2339
+ c(this, le).get(t)
2340
+ ), n = c(this, me).get(r);
2341
+ if (n)
2342
+ Ci(n), c(this, Je).delete(r);
2343
+ else {
2344
+ var o = c(this, J).get(r);
2345
+ o && (c(this, me).set(r, o.effect), c(this, J).delete(r), o.fragment.lastChild.remove(), this.anchor.before(o.fragment), n = o.effect);
2346
+ }
2347
+ for (const [i, a] of c(this, le)) {
2348
+ if (c(this, le).delete(i), i === t)
2349
+ break;
2350
+ const l = c(this, J).get(a);
2351
+ l && (L(l.effect), c(this, J).delete(a));
2352
+ }
2353
+ for (const [i, a] of c(this, me)) {
2354
+ if (i === r || c(this, Je).has(i)) continue;
2355
+ const l = () => {
2356
+ if (Array.from(c(this, le).values()).includes(i)) {
2357
+ var f = document.createDocumentFragment();
2358
+ Un(a, f), f.append(he()), c(this, J).set(i, { effect: a, fragment: f });
2359
+ } else
2360
+ L(a);
2361
+ c(this, Je).delete(i), c(this, me).delete(i);
2362
+ };
2363
+ c(this, Tt) || !n ? (c(this, Je).add(i), xt(a, l, !1)) : l();
2364
+ }
2365
+ }
2366
+ });
2367
+ /**
2368
+ * @param {Batch} batch
2369
+ */
2370
+ v(this, Wt, (t) => {
2371
+ c(this, le).delete(t);
2372
+ const r = Array.from(c(this, le).values());
2373
+ for (const [n, o] of c(this, J))
2374
+ r.includes(n) || (L(o.effect), c(this, J).delete(n));
2375
+ });
2376
+ this.anchor = t, g(this, Tt, r);
2377
+ }
2378
+ /**
2379
+ *
2380
+ * @param {any} key
2381
+ * @param {null | ((target: TemplateNode) => void)} fn
2382
+ */
2383
+ ensure(t, r) {
2384
+ var n = (
2385
+ /** @type {Batch} */
2386
+ m
2387
+ ), o = bi();
2388
+ if (r && !c(this, me).has(t) && !c(this, J).has(t))
2389
+ if (o) {
2390
+ var i = document.createDocumentFragment(), a = he();
2391
+ i.append(a), c(this, J).set(t, {
2392
+ effect: ce(() => r(a)),
2393
+ fragment: i
2394
+ });
2395
+ } else
2396
+ c(this, me).set(
2397
+ t,
2398
+ ce(() => r(this.anchor))
2399
+ );
2400
+ if (c(this, le).set(n, t), o) {
2401
+ for (const [l, s] of c(this, me))
2402
+ l === t ? n.unskip_effect(s) : n.skip_effect(s);
2403
+ for (const [l, s] of c(this, J))
2404
+ l === t ? n.unskip_effect(s.effect) : n.skip_effect(s.effect);
2405
+ n.oncommit(c(this, St)), n.ondiscard(c(this, Wt));
2406
+ } else
2407
+ $ && (this.anchor = x), c(this, St).call(this);
2408
+ }
2409
+ }
2410
+ le = new WeakMap(), me = new WeakMap(), J = new WeakMap(), Je = new WeakMap(), Tt = new WeakMap(), St = new WeakMap(), Wt = new WeakMap();
2411
+ function io(e) {
2412
+ q === null && cn(), xi(() => {
2413
+ const t = tr(e);
2414
+ if (typeof t == "function") return (
2415
+ /** @type {() => void} */
2416
+ t
2417
+ );
2418
+ });
2419
+ }
2420
+ function Ia(e) {
2421
+ q === null && cn(), io(() => () => tr(e));
2422
+ }
2423
+ function La(e, t, r = !1) {
2424
+ $ && _t();
2425
+ var n = new Hi(e), o = r ? ut : 0;
2426
+ function i(a, l) {
2427
+ if ($) {
2428
+ const p = Ko(e);
2429
+ var s;
2430
+ if (p === kr ? s = 0 : p === Er ? s = !1 : s = parseInt(p.substring(1)), a !== s) {
2431
+ var f = fn();
2432
+ Z(f), n.anchor = f, Me(!1), n.ensure(a, l), Me(!0);
2433
+ return;
2434
+ }
2435
+ }
2436
+ n.ensure(a, l);
2437
+ }
2438
+ Dn(() => {
2439
+ var a = !1;
2440
+ t((l, s = 0) => {
2441
+ a = !0, i(s, l);
2442
+ }), a || i(!1, null);
2443
+ }, o);
2444
+ }
2445
+ function Da(e, t, r = !1, n = !1, o = !1) {
2446
+ var i = e, a = "";
2447
+ Ei(() => {
2448
+ var l = (
2449
+ /** @type {Effect} */
2450
+ k
2451
+ );
2452
+ if (a === (a = t() ?? "")) {
2453
+ $ && _t();
2454
+ return;
2455
+ }
2456
+ if (l.nodes !== null && (Bn(
2457
+ l.nodes.start,
2458
+ /** @type {TemplateNode} */
2459
+ l.nodes.end
2460
+ ), l.nodes = null), a !== "") {
2461
+ if ($) {
2462
+ x.data;
2463
+ for (var s = _t(), f = s; s !== null && (s.nodeType !== Ot || /** @type {Comment} */
2464
+ s.data !== ""); )
2465
+ f = s, s = /* @__PURE__ */ _e(s);
2466
+ if (s === null)
2467
+ throw Rt(), Qe;
2468
+ oe(x, f), i = Z(s);
2469
+ return;
2470
+ }
2471
+ var p = r ? ko : n ? Eo : void 0, d = (
2472
+ /** @type {HTMLTemplateElement | SVGElement | MathMLElement} */
2473
+ Nr(r ? "svg" : n ? "math" : "template", p)
2474
+ );
2475
+ d.innerHTML = /** @type {any} */
2476
+ a;
2477
+ var u = r || n ? d : (
2478
+ /** @type {HTMLTemplateElement} */
2479
+ d.content
2480
+ );
2481
+ if (oe(
2482
+ /** @type {TemplateNode} */
2483
+ /* @__PURE__ */ ue(u),
2484
+ /** @type {TemplateNode} */
2485
+ u.lastChild
2486
+ ), r || n)
2487
+ for (; /* @__PURE__ */ ue(u); )
2488
+ i.before(
2489
+ /** @type {TemplateNode} */
2490
+ /* @__PURE__ */ ue(u)
2491
+ );
2492
+ else
2493
+ i.before(u);
2494
+ }
2495
+ });
2496
+ }
2497
+ function Vi(e, t) {
2498
+ var r = void 0, n;
2499
+ Fn(() => {
2500
+ r !== (r = t()) && (n && (L(n), n = null), r && (n = ce(() => {
2501
+ Mr(() => (
2502
+ /** @type {(node: Element) => void} */
2503
+ r(e)
2504
+ ));
2505
+ })));
2506
+ });
2507
+ }
2508
+ function ao(e) {
2509
+ var t, r, n = "";
2510
+ if (typeof e == "string" || typeof e == "number") n += e;
2511
+ else if (typeof e == "object") if (Array.isArray(e)) {
2512
+ var o = e.length;
2513
+ for (t = 0; t < o; t++) e[t] && (r = ao(e[t])) && (n && (n += " "), n += r);
2514
+ } else for (r in e) e[r] && (n && (n += " "), n += r);
2515
+ return n;
2516
+ }
2517
+ function qi() {
2518
+ for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = ao(e)) && (n && (n += " "), n += t);
2519
+ return n;
2520
+ }
2521
+ function Ui(e) {
2522
+ return typeof e == "object" ? qi(e) : e ?? "";
2523
+ }
2524
+ const Wr = [...`
2525
+ \r\f \v\uFEFF`];
2526
+ function Gi(e, t, r) {
2527
+ var n = e == null ? "" : "" + e;
2528
+ if (t && (n = n ? n + " " + t : t), r) {
2529
+ for (var o of Object.keys(r))
2530
+ if (r[o])
2531
+ n = n ? n + " " + o : o;
2532
+ else if (n.length)
2533
+ for (var i = o.length, a = 0; (a = n.indexOf(o, a)) >= 0; ) {
2534
+ var l = a + i;
2535
+ (a === 0 || Wr.includes(n[a - 1])) && (l === n.length || Wr.includes(n[l])) ? n = (a === 0 ? "" : n.substring(0, a)) + n.substring(l + 1) : a = l;
2536
+ }
2537
+ }
2538
+ return n === "" ? null : n;
2539
+ }
2540
+ function Jr(e, t = !1) {
2541
+ var r = t ? " !important;" : ";", n = "";
2542
+ for (var o of Object.keys(e)) {
2543
+ var i = e[o];
2544
+ i != null && i !== "" && (n += " " + o + ": " + i + r);
2545
+ }
2546
+ return n;
2547
+ }
2548
+ function or(e) {
2549
+ return e[0] !== "-" || e[1] !== "-" ? e.toLowerCase() : e;
2550
+ }
2551
+ function Ki(e, t) {
2552
+ if (t) {
2553
+ var r = "", n, o;
2554
+ if (Array.isArray(t) ? (n = t[0], o = t[1]) : n = t, e) {
2555
+ e = String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g, "").trim();
2556
+ var i = !1, a = 0, l = !1, s = [];
2557
+ n && s.push(...Object.keys(n).map(or)), o && s.push(...Object.keys(o).map(or));
2558
+ var f = 0, p = -1;
2559
+ const y = e.length;
2560
+ for (var d = 0; d < y; d++) {
2561
+ var u = e[d];
2562
+ if (l ? u === "/" && e[d - 1] === "*" && (l = !1) : i ? i === u && (i = !1) : u === "/" && e[d + 1] === "*" ? l = !0 : u === '"' || u === "'" ? i = u : u === "(" ? a++ : u === ")" && a--, !l && i === !1 && a === 0) {
2563
+ if (u === ":" && p === -1)
2564
+ p = d;
2565
+ else if (u === ";" || d === y - 1) {
2566
+ if (p !== -1) {
2567
+ var b = or(e.substring(f, p).trim());
2568
+ if (!s.includes(b)) {
2569
+ u !== ";" && d++;
2570
+ var h = e.substring(f, d).trim();
2571
+ r += " " + h + ";";
2572
+ }
2573
+ }
2574
+ f = d + 1, p = -1;
2575
+ }
2576
+ }
2577
+ }
2578
+ }
2579
+ return n && (r += Jr(n)), o && (r += Jr(o, !0)), r = r.trim(), r === "" ? null : r;
2580
+ }
2581
+ return e == null ? null : String(e);
2582
+ }
2583
+ function Wi(e, t, r, n, o, i) {
2584
+ var a = e.__className;
2585
+ if ($ || a !== r || a === void 0) {
2586
+ var l = Gi(r, n, i);
2587
+ (!$ || l !== e.getAttribute("class")) && (l == null ? e.removeAttribute("class") : t ? e.className = l : e.setAttribute("class", l)), e.__className = r;
2588
+ } else if (i && o !== i)
2589
+ for (var s in i) {
2590
+ var f = !!i[s];
2591
+ (o == null || f !== !!o[s]) && e.classList.toggle(s, f);
2592
+ }
2593
+ return i;
2594
+ }
2595
+ function ir(e, t = {}, r, n) {
2596
+ for (var o in r) {
2597
+ var i = r[o];
2598
+ t[o] !== i && (r[o] == null ? e.style.removeProperty(o) : e.style.setProperty(o, i, n));
2599
+ }
2600
+ }
2601
+ function Ji(e, t, r, n) {
2602
+ var o = e.__style;
2603
+ if ($ || o !== t) {
2604
+ var i = Ki(t, n);
2605
+ (!$ || i !== e.getAttribute("style")) && (i == null ? e.removeAttribute("style") : e.style.cssText = i), e.__style = t;
2606
+ } else n && (Array.isArray(n) ? (ir(e, r == null ? void 0 : r[0], n[0]), ir(e, r == null ? void 0 : r[1], n[1], "important")) : ir(e, r, n));
2607
+ return n;
2608
+ }
2609
+ function Ut(e, t, r = !1) {
2610
+ if (e.multiple) {
2611
+ if (t == null)
2612
+ return;
2613
+ if (!nn(t))
2614
+ return qo();
2615
+ for (var n of e.options)
2616
+ n.selected = t.includes(yt(n));
2617
+ return;
2618
+ }
2619
+ for (n of e.options) {
2620
+ var o = yt(n);
2621
+ if (pi(o, t)) {
2622
+ n.selected = !0;
2623
+ return;
2624
+ }
2625
+ }
2626
+ (!r || t !== void 0) && (e.selectedIndex = -1);
2627
+ }
2628
+ function so(e) {
2629
+ var t = new MutationObserver(() => {
2630
+ Ut(e, e.__value);
2631
+ });
2632
+ t.observe(e, {
2633
+ // Listen to option element changes
2634
+ childList: !0,
2635
+ subtree: !0,
2636
+ // because of <optgroup>
2637
+ // Listen to option element value attribute changes
2638
+ // (doesn't get notified of select value changes,
2639
+ // because that property is not reflected as an attribute)
2640
+ attributes: !0,
2641
+ attributeFilter: ["value"]
2642
+ }), Rr(() => {
2643
+ t.disconnect();
2644
+ });
2645
+ }
2646
+ function Fa(e, t, r = t) {
2647
+ var n = /* @__PURE__ */ new WeakSet(), o = !0;
2648
+ vi(e, "change", (i) => {
2649
+ var a = i ? "[selected]" : ":checked", l;
2650
+ if (e.multiple)
2651
+ l = [].map.call(e.querySelectorAll(a), yt);
2652
+ else {
2653
+ var s = e.querySelector(a) ?? // will fall back to first non-disabled option if no option is selected
2654
+ e.querySelector("option:not([disabled])");
2655
+ l = s && yt(s);
2656
+ }
2657
+ r(l), m !== null && n.add(m);
2658
+ }), Mr(() => {
2659
+ var i = t();
2660
+ if (e === document.activeElement) {
2661
+ var a = (
2662
+ /** @type {Batch} */
2663
+ cr ?? m
2664
+ );
2665
+ if (n.has(a))
2666
+ return;
2667
+ }
2668
+ if (Ut(e, i, o), o && i === void 0) {
2669
+ var l = e.querySelector(":checked");
2670
+ l !== null && (i = yt(l), r(i));
2671
+ }
2672
+ e.__value = i, o = !1;
2673
+ }), so(e);
2674
+ }
2675
+ function yt(e) {
2676
+ return "__value" in e ? e.__value : e.value;
2677
+ }
2678
+ const gt = Symbol("class"), vt = Symbol("style"), lo = Symbol("is custom element"), co = Symbol("is html"), Xi = zt ? "link" : "LINK", Zi = zt ? "input" : "INPUT", Qi = zt ? "option" : "OPTION", ea = zt ? "select" : "SELECT", ta = zt ? "progress" : "PROGRESS";
2679
+ function ra(e) {
2680
+ if ($) {
2681
+ var t = !1, r = () => {
2682
+ if (!t) {
2683
+ if (t = !0, e.hasAttribute("value")) {
2684
+ var n = e.value;
2685
+ Gt(e, "value", null), e.value = n;
2686
+ }
2687
+ if (e.hasAttribute("checked")) {
2688
+ var o = e.checked;
2689
+ Gt(e, "checked", null), e.checked = o;
2690
+ }
2691
+ }
2692
+ };
2693
+ e.__on_r = r, Ae(r), Pn();
2694
+ }
2695
+ }
2696
+ function Ya(e, t) {
2697
+ var r = Pr(e);
2698
+ r.value === (r.value = // treat null and undefined the same for the initial value
2699
+ t ?? void 0) || // @ts-expect-error
2700
+ // `progress` elements always need their value set when it's `0`
2701
+ e.value === t && (t !== 0 || e.nodeName !== ta) || (e.value = t ?? "");
2702
+ }
2703
+ function na(e, t) {
2704
+ t ? e.hasAttribute("selected") || e.setAttribute("selected", "") : e.removeAttribute("selected");
2705
+ }
2706
+ function Gt(e, t, r, n) {
2707
+ var o = Pr(e);
2708
+ $ && (o[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === Xi) || o[t] !== (o[t] = r) && (t === "loading" && (e[Ro] = r), r == null ? e.removeAttribute(t) : typeof r != "string" && fo(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
2709
+ }
2710
+ function oa(e, t, r, n, o = !1, i = !1) {
2711
+ if ($ && o && e.nodeName === Zi) {
2712
+ var a = (
2713
+ /** @type {HTMLInputElement} */
2714
+ e
2715
+ ), l = a.type === "checkbox" ? "defaultChecked" : "defaultValue";
2716
+ l in r || ra(a);
2717
+ }
2718
+ var s = Pr(e), f = s[lo], p = !s[co];
2719
+ let d = $ && f;
2720
+ d && Me(!1);
2721
+ var u = t || {}, b = e.nodeName === Qi;
2722
+ for (var h in t)
2723
+ h in r || (r[h] = null);
2724
+ r.class ? r.class = Ui(r.class) : r[gt] && (r.class = null), r[vt] && (r.style ?? (r.style = null));
2725
+ var y = fo(e);
2726
+ for (const C in r) {
2727
+ let T = r[C];
2728
+ if (b && C === "value" && T == null) {
2729
+ e.value = e.__value = "", u[C] = T;
2730
+ continue;
2731
+ }
2732
+ if (C === "class") {
2733
+ var _ = e.namespaceURI === "http://www.w3.org/1999/xhtml";
2734
+ Wi(e, _, T, n, t == null ? void 0 : t[gt], r[gt]), u[C] = T, u[gt] = r[gt];
2735
+ continue;
2736
+ }
2737
+ if (C === "style") {
2738
+ Ji(e, T, t == null ? void 0 : t[vt], r[vt]), u[C] = T, u[vt] = r[vt];
2739
+ continue;
2740
+ }
2741
+ var E = u[C];
2742
+ if (!(T === E && !(T === void 0 && e.hasAttribute(C)))) {
2743
+ u[C] = T;
2744
+ var P = C[0] + C[1];
2745
+ if (P !== "$$")
2746
+ if (P === "on") {
2747
+ const U = {}, rt = "$$" + C;
2748
+ let Y = C.slice(2);
2749
+ var A = Pi(Y);
2750
+ if (Mi(Y) && (Y = Y.slice(0, -7), U.capture = !0), !A && E) {
2751
+ if (T != null) continue;
2752
+ e.removeEventListener(Y, u[rt], U), u[rt] = null;
2753
+ }
2754
+ if (A)
2755
+ Ai(Y, e, T), zi([Y]);
2756
+ else if (T != null) {
2757
+ let po = function(ho) {
2758
+ u[C].call(this, ho);
2759
+ };
2760
+ u[rt] = to(Y, e, po, U);
2761
+ }
2762
+ } else if (C === "style")
2763
+ Gt(e, C, T);
2764
+ else if (C === "autofocus")
2765
+ gi(
2766
+ /** @type {HTMLElement} */
2767
+ e,
2768
+ !!T
2769
+ );
2770
+ else if (!f && (C === "__value" || C === "value" && T != null))
2771
+ e.value = e.__value = T;
2772
+ else if (C === "selected" && b)
2773
+ na(
2774
+ /** @type {HTMLOptionElement} */
2775
+ e,
2776
+ T
2777
+ );
2778
+ else {
2779
+ var R = C;
2780
+ p || (R = Li(R));
2781
+ var bt = R === "defaultValue" || R === "defaultChecked";
2782
+ if (T == null && !f && !bt)
2783
+ if (s[C] = null, R === "value" || R === "checked") {
2784
+ let U = (
2785
+ /** @type {HTMLInputElement} */
2786
+ e
2787
+ );
2788
+ const rt = t === void 0;
2789
+ if (R === "value") {
2790
+ let Y = U.defaultValue;
2791
+ U.removeAttribute(R), U.defaultValue = Y, U.value = U.__value = rt ? Y : null;
2792
+ } else {
2793
+ let Y = U.defaultChecked;
2794
+ U.removeAttribute(R), U.defaultChecked = Y, U.checked = rt ? Y : !1;
2795
+ }
2796
+ } else
2797
+ e.removeAttribute(C);
2798
+ else bt || y.includes(R) && (f || typeof T != "string") ? (e[R] = T, R in s && (s[R] = M)) : typeof T != "function" && Gt(e, R, T);
2799
+ }
2800
+ }
2801
+ }
2802
+ return d && Me(!0), u;
2803
+ }
2804
+ function Ba(e, t, r = [], n = [], o = [], i, a = !1, l = !1) {
2805
+ Sn(o, r, n, (s) => {
2806
+ var f = void 0, p = {}, d = e.nodeName === ea, u = !1;
2807
+ if (Fn(() => {
2808
+ var h = t(...s.map(X)), y = oa(
2809
+ e,
2810
+ f,
2811
+ h,
2812
+ i,
2813
+ a,
2814
+ l
2815
+ );
2816
+ u && d && "value" in h && Ut(
2817
+ /** @type {HTMLSelectElement} */
2818
+ e,
2819
+ h.value
2820
+ );
2821
+ for (let E of Object.getOwnPropertySymbols(p))
2822
+ h[E] || L(p[E]);
2823
+ for (let E of Object.getOwnPropertySymbols(h)) {
2824
+ var _ = h[E];
2825
+ E.description === $o && (!f || _ !== f[E]) && (p[E] && L(p[E]), p[E] = ce(() => Vi(e, () => _))), y[E] = _;
2826
+ }
2827
+ f = y;
2828
+ }), d) {
2829
+ var b = (
2830
+ /** @type {HTMLSelectElement} */
2831
+ e
2832
+ );
2833
+ Mr(() => {
2834
+ Ut(
2835
+ b,
2836
+ /** @type {Record<string | symbol, any>} */
2837
+ f.value,
2838
+ !0
2839
+ ), so(b);
2840
+ });
2841
+ }
2842
+ u = !0;
2843
+ });
2844
+ }
2845
+ function Pr(e) {
2846
+ return (
2847
+ /** @type {Record<string | symbol, unknown>} **/
2848
+ // @ts-expect-error
2849
+ e.__attributes ?? (e.__attributes = {
2850
+ [lo]: e.nodeName.includes("-"),
2851
+ [co]: e.namespaceURI === rn
2852
+ })
2853
+ );
2854
+ }
2855
+ var Xr = /* @__PURE__ */ new Map();
2856
+ function fo(e) {
2857
+ var t = e.getAttribute("is") || e.nodeName, r = Xr.get(t);
2858
+ if (r) return r;
2859
+ Xr.set(t, r = []);
2860
+ for (var n, o = e, i = Element.prototype; i !== o; ) {
2861
+ n = on(o);
2862
+ for (var a in n)
2863
+ n[a].set && r.push(a);
2864
+ o = $r(o);
2865
+ }
2866
+ return r;
2867
+ }
2868
+ let Lt = !1;
2869
+ function ia(e) {
2870
+ var t = Lt;
2871
+ try {
2872
+ return Lt = !1, [e(), Lt];
2873
+ } finally {
2874
+ Lt = t;
2875
+ }
2876
+ }
2877
+ const aa = {
2878
+ get(e, t) {
2879
+ if (!e.exclude.includes(t))
2880
+ return e.props[t];
2881
+ },
2882
+ set(e, t) {
2883
+ return !1;
2884
+ },
2885
+ getOwnPropertyDescriptor(e, t) {
2886
+ if (!e.exclude.includes(t) && t in e.props)
2887
+ return {
2888
+ enumerable: !0,
2889
+ configurable: !0,
2890
+ value: e.props[t]
2891
+ };
2892
+ },
2893
+ has(e, t) {
2894
+ return e.exclude.includes(t) ? !1 : t in e.props;
2895
+ },
2896
+ ownKeys(e) {
2897
+ return Reflect.ownKeys(e.props).filter((t) => !e.exclude.includes(t));
2898
+ }
2899
+ };
2900
+ // @__NO_SIDE_EFFECTS__
2901
+ function Ha(e, t, r) {
2902
+ return new Proxy(
2903
+ { props: e, exclude: t },
2904
+ aa
2905
+ );
2906
+ }
2907
+ function sa(e, t, r, n) {
2908
+ var P;
2909
+ var o = (r & wo) !== 0, i = (r & xo) !== 0, a = (
2910
+ /** @type {V} */
2911
+ n
2912
+ ), l = !0, s = () => (l && (l = !1, a = i ? tr(
2913
+ /** @type {() => V} */
2914
+ n
2915
+ ) : (
2916
+ /** @type {V} */
2917
+ n
2918
+ )), a), f;
2919
+ if (o) {
2920
+ var p = Ie in e || ln in e;
2921
+ f = ((P = Xe(e, t)) == null ? void 0 : P.set) ?? (p && t in e ? (A) => e[t] = A : void 0);
2922
+ }
2923
+ var d, u = !1;
2924
+ o ? [d, u] = ia(() => (
2925
+ /** @type {V} */
2926
+ e[t]
2927
+ )) : d = /** @type {V} */
2928
+ e[t], d === void 0 && n !== void 0 && (d = s(), f && (Fo(), f(d)));
2929
+ var b;
2930
+ if (b = () => {
2931
+ var A = (
2932
+ /** @type {V} */
2933
+ e[t]
2934
+ );
2935
+ return A === void 0 ? s() : (l = !0, A);
2936
+ }, (r & mo) === 0)
2937
+ return b;
2938
+ if (f) {
2939
+ var h = e.$$legacy;
2940
+ return (
2941
+ /** @type {() => V} */
2942
+ (function(A, R) {
2943
+ return arguments.length > 0 ? ((!R || h || u) && f(R ? b() : A), A) : b();
2944
+ })
2945
+ );
2946
+ }
2947
+ var y = !1, _ = ((r & vo) !== 0 ? Zt : si)(() => (y = !1, b()));
2948
+ o && X(_);
2949
+ var E = (
2950
+ /** @type {Effect} */
2951
+ k
2952
+ );
2953
+ return (
2954
+ /** @type {() => V} */
2955
+ (function(A, R) {
2956
+ if (arguments.length > 0) {
2957
+ const bt = R ? X(_) : o ? nt(A) : A;
2958
+ return ke(_, bt), y = !0, a !== void 0 && (a = bt), A;
2959
+ }
2960
+ return Fe && y || (E.f & Se) !== 0 ? _.v : X(_);
2961
+ })
2962
+ );
2963
+ }
2964
+ function la(e) {
2965
+ return new ca(e);
2966
+ }
2967
+ var Te, te;
2968
+ class ca {
2969
+ /**
2970
+ * @param {ComponentConstructorOptions & {
2971
+ * component: any;
2972
+ * }} options
2973
+ */
2974
+ constructor(t) {
2975
+ /** @type {any} */
2976
+ v(this, Te);
2977
+ /** @type {Record<string, any>} */
2978
+ v(this, te);
2979
+ var i;
2980
+ var r = /* @__PURE__ */ new Map(), n = (a, l) => {
2981
+ var s = /* @__PURE__ */ di(l, !1, !1);
2982
+ return r.set(a, s), s;
2983
+ };
2984
+ const o = new Proxy(
2985
+ { ...t.props || {}, $$events: {} },
2986
+ {
2987
+ get(a, l) {
2988
+ return X(r.get(l) ?? n(l, Reflect.get(a, l)));
2989
+ },
2990
+ has(a, l) {
2991
+ return l === ln ? !0 : (X(r.get(l) ?? n(l, Reflect.get(a, l))), Reflect.has(a, l));
2992
+ },
2993
+ set(a, l, s) {
2994
+ return ke(r.get(l) ?? n(l, s), s), Reflect.set(a, l, s);
2995
+ }
2996
+ }
2997
+ );
2998
+ g(this, te, (t.hydrate ? Yi : no)(t.component, {
2999
+ target: t.target,
3000
+ anchor: t.anchor,
3001
+ props: o,
3002
+ context: t.context,
3003
+ intro: t.intro ?? !1,
3004
+ recover: t.recover,
3005
+ transformError: t.transformError
3006
+ })), (!((i = t == null ? void 0 : t.props) != null && i.$$host) || t.sync === !1) && Ar(), g(this, Te, o.$$events);
3007
+ for (const a of Object.keys(c(this, te)))
3008
+ a === "$set" || a === "$destroy" || a === "$on" || Vt(this, a, {
3009
+ get() {
3010
+ return c(this, te)[a];
3011
+ },
3012
+ /** @param {any} value */
3013
+ set(l) {
3014
+ c(this, te)[a] = l;
3015
+ },
3016
+ enumerable: !0
3017
+ });
3018
+ c(this, te).$set = /** @param {Record<string, any>} next */
3019
+ (a) => {
3020
+ Object.assign(o, a);
3021
+ }, c(this, te).$destroy = () => {
3022
+ Bi(c(this, te));
3023
+ };
3024
+ }
3025
+ /** @param {Record<string, any>} props */
3026
+ $set(t) {
3027
+ c(this, te).$set(t);
3028
+ }
3029
+ /**
3030
+ * @param {string} event
3031
+ * @param {(...args: any[]) => any} callback
3032
+ * @returns {any}
3033
+ */
3034
+ $on(t, r) {
3035
+ c(this, Te)[t] = c(this, Te)[t] || [];
3036
+ const n = (...o) => r.call(this, ...o);
3037
+ return c(this, Te)[t].push(n), () => {
3038
+ c(this, Te)[t] = c(this, Te)[t].filter(
3039
+ /** @param {any} fn */
3040
+ (o) => o !== n
3041
+ );
3042
+ };
3043
+ }
3044
+ $destroy() {
3045
+ c(this, te).$destroy();
3046
+ }
3047
+ }
3048
+ Te = new WeakMap(), te = new WeakMap();
3049
+ let uo;
3050
+ typeof HTMLElement == "function" && (uo = class extends HTMLElement {
3051
+ /**
3052
+ * @param {*} $$componentCtor
3053
+ * @param {*} $$slots
3054
+ * @param {ShadowRootInit | undefined} shadow_root_init
3055
+ */
3056
+ constructor(t, r, n) {
3057
+ super();
3058
+ /** The Svelte component constructor */
3059
+ z(this, "$$ctor");
3060
+ /** Slots */
3061
+ z(this, "$$s");
3062
+ /** @type {any} The Svelte component instance */
3063
+ z(this, "$$c");
3064
+ /** Whether or not the custom element is connected */
3065
+ z(this, "$$cn", !1);
3066
+ /** @type {Record<string, any>} Component props data */
3067
+ z(this, "$$d", {});
3068
+ /** `true` if currently in the process of reflecting component props back to attributes */
3069
+ z(this, "$$r", !1);
3070
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
3071
+ z(this, "$$p_d", {});
3072
+ /** @type {Record<string, EventListenerOrEventListenerObject[]>} Event listeners */
3073
+ z(this, "$$l", {});
3074
+ /** @type {Map<EventListenerOrEventListenerObject, Function>} Event listener unsubscribe functions */
3075
+ z(this, "$$l_u", /* @__PURE__ */ new Map());
3076
+ /** @type {any} The managed render effect for reflecting attributes */
3077
+ z(this, "$$me");
3078
+ /** @type {ShadowRoot | null} The ShadowRoot of the custom element */
3079
+ z(this, "$$shadowRoot", null);
3080
+ this.$$ctor = t, this.$$s = r, n && (this.$$shadowRoot = this.attachShadow(n));
3081
+ }
3082
+ /**
3083
+ * @param {string} type
3084
+ * @param {EventListenerOrEventListenerObject} listener
3085
+ * @param {boolean | AddEventListenerOptions} [options]
3086
+ */
3087
+ addEventListener(t, r, n) {
3088
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
3089
+ const o = this.$$c.$on(t, r);
3090
+ this.$$l_u.set(r, o);
3091
+ }
3092
+ super.addEventListener(t, r, n);
3093
+ }
3094
+ /**
3095
+ * @param {string} type
3096
+ * @param {EventListenerOrEventListenerObject} listener
3097
+ * @param {boolean | AddEventListenerOptions} [options]
3098
+ */
3099
+ removeEventListener(t, r, n) {
3100
+ if (super.removeEventListener(t, r, n), this.$$c) {
3101
+ const o = this.$$l_u.get(r);
3102
+ o && (o(), this.$$l_u.delete(r));
3103
+ }
3104
+ }
3105
+ async connectedCallback() {
3106
+ if (this.$$cn = !0, !this.$$c) {
3107
+ let t = function(o) {
3108
+ return (i) => {
3109
+ const a = Nr("slot");
3110
+ o !== "default" && (a.name = o), Ri(i, a);
3111
+ };
3112
+ };
3113
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
3114
+ return;
3115
+ const r = {}, n = fa(this);
3116
+ for (const o of this.$$s)
3117
+ o in n && (o === "default" && !this.$$d.children ? (this.$$d.children = t(o), r.default = !0) : r[o] = t(o));
3118
+ for (const o of this.attributes) {
3119
+ const i = this.$$g_p(o.name);
3120
+ i in this.$$d || (this.$$d[i] = Bt(i, o.value, this.$$p_d, "toProp"));
3121
+ }
3122
+ for (const o in this.$$p_d)
3123
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
3124
+ this.$$c = la({
3125
+ component: this.$$ctor,
3126
+ target: this.$$shadowRoot || this,
3127
+ props: {
3128
+ ...this.$$d,
3129
+ $$slots: r,
3130
+ $$host: this
3131
+ }
3132
+ }), this.$$me = yi(() => {
3133
+ Ln(() => {
3134
+ var o;
3135
+ this.$$r = !0;
3136
+ for (const i of Ht(this.$$c)) {
3137
+ if (!((o = this.$$p_d[i]) != null && o.reflect)) continue;
3138
+ this.$$d[i] = this.$$c[i];
3139
+ const a = Bt(
3140
+ i,
3141
+ this.$$d[i],
3142
+ this.$$p_d,
3143
+ "toAttribute"
3144
+ );
3145
+ a == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, a);
3146
+ }
3147
+ this.$$r = !1;
3148
+ });
3149
+ });
3150
+ for (const o in this.$$l)
3151
+ for (const i of this.$$l[o]) {
3152
+ const a = this.$$c.$on(o, i);
3153
+ this.$$l_u.set(i, a);
3154
+ }
3155
+ this.$$l = {};
3156
+ }
3157
+ }
3158
+ // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
3159
+ // and setting attributes through setAttribute etc, this is helpful
3160
+ /**
3161
+ * @param {string} attr
3162
+ * @param {string} _oldValue
3163
+ * @param {string} newValue
3164
+ */
3165
+ attributeChangedCallback(t, r, n) {
3166
+ var o;
3167
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Bt(t, n, this.$$p_d, "toProp"), (o = this.$$c) == null || o.$set({ [t]: this.$$d[t] }));
3168
+ }
3169
+ disconnectedCallback() {
3170
+ this.$$cn = !1, Promise.resolve().then(() => {
3171
+ !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$me(), this.$$c = void 0);
3172
+ });
3173
+ }
3174
+ /**
3175
+ * @param {string} attribute_name
3176
+ */
3177
+ $$g_p(t) {
3178
+ return Ht(this.$$p_d).find(
3179
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
3180
+ ) || t;
3181
+ }
3182
+ });
3183
+ function Bt(e, t, r, n) {
3184
+ var i;
3185
+ const o = (i = r[e]) == null ? void 0 : i.type;
3186
+ if (t = o === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
3187
+ return t;
3188
+ if (n === "toAttribute")
3189
+ switch (o) {
3190
+ case "Object":
3191
+ case "Array":
3192
+ return t == null ? null : JSON.stringify(t);
3193
+ case "Boolean":
3194
+ return t ? "" : null;
3195
+ case "Number":
3196
+ return t ?? null;
3197
+ default:
3198
+ return t;
3199
+ }
3200
+ else
3201
+ switch (o) {
3202
+ case "Object":
3203
+ case "Array":
3204
+ return t && JSON.parse(t);
3205
+ case "Boolean":
3206
+ return t;
3207
+ // conversion already handled above
3208
+ case "Number":
3209
+ return t != null ? +t : t;
3210
+ default:
3211
+ return t;
3212
+ }
3213
+ }
3214
+ function fa(e) {
3215
+ const t = {};
3216
+ return e.childNodes.forEach((r) => {
3217
+ t[
3218
+ /** @type {Element} node */
3219
+ r.slot || "default"
3220
+ ] = !0;
3221
+ }), t;
3222
+ }
3223
+ function da(e, t, r, n, o, i) {
3224
+ let a = class extends uo {
3225
+ constructor() {
3226
+ super(e, r, o), this.$$p_d = t;
3227
+ }
3228
+ static get observedAttributes() {
3229
+ return Ht(t).map(
3230
+ (l) => (t[l].attribute || l).toLowerCase()
3231
+ );
3232
+ }
3233
+ };
3234
+ return Ht(t).forEach((l) => {
3235
+ Vt(a.prototype, l, {
3236
+ get() {
3237
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
3238
+ },
3239
+ set(s) {
3240
+ var d;
3241
+ s = Bt(l, s, t), this.$$d[l] = s;
3242
+ var f = this.$$c;
3243
+ if (f) {
3244
+ var p = (d = Xe(f, l)) == null ? void 0 : d.get;
3245
+ p ? f[l] = s : f.$set({ [l]: s });
3246
+ }
3247
+ }
3248
+ });
3249
+ }), n.forEach((l) => {
3250
+ Vt(a.prototype, l, {
3251
+ get() {
3252
+ var s;
3253
+ return (s = this.$$c) == null ? void 0 : s[l];
3254
+ }
3255
+ });
3256
+ }), e.element = /** @type {any} */
3257
+ a, a;
3258
+ }
3259
+ const ua = `/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-content:"";--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-orange-300:oklch(83.7% .128 66.29);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-900:oklch(21% .034 264.665);--color-black:#000;--color-white:#fff;--spacing:4px;--text-xs:12px;--text-xs--line-height:calc(1 / .75);--text-base:16px;--text-base--line-height: 1.5 ;--text-lg:18px;--text-lg--line-height:calc(1.75 / 1.125);--text-3xl:30px;--text-3xl--line-height: 1.2 ;--text-4xl:36px;--text-4xl--line-height:calc(2.5 / 2.25);--font-weight-medium:500;--leading-tight:1.25;--leading-normal:1.5;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-mono-font-family:var(--font-mono);--breakpoint-xl:1280px;--color-m2-primary:#00487e;--color-m2-accent:#98be27}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:"Twemoji Country Flags",var(--font-sans);font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}input:where([type=text]),input:where(:not([type])),input:where([type=email]),input:where([type=url]),input:where([type=password]),input:where([type=number]),input:where([type=date]),input:where([type=datetime-local]),input:where([type=month]),input:where([type=search]),input:where([type=tel]),input:where([type=time]),input:where([type=week]),select:where([multiple]),textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;border-color:#6a7282;border-radius:0;padding:8px 12px;font-size:16px;line-height:24px}:is(input:where([type=text]),input:where(:not([type])),input:where([type=email]),input:where([type=url]),input:where([type=password]),input:where([type=number]),input:where([type=date]),input:where([type=datetime-local]),input:where([type=month]),input:where([type=search]),input:where([type=tel]),input:where([type=time]),input:where([type=week]),select:where([multiple]),textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#155dfc;outline:2px solid #0000}input::placeholder,textarea::placeholder{color:#6a7282;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-date-and-time-value{text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-month-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-day-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-hour-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-minute-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-second-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-millisecond-field{padding-top:0;padding-bottom:0}::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{-webkit-print-color-adjust:exact;print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right 8px center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:40px}select:where([multiple]),select:where([size]:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;-webkit-print-color-adjust:unset;print-color-adjust:unset;padding-right:12px}input:where([type=checkbox]),input:where([type=radio]){-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;color:#155dfc;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;border-color:#6a7282;flex-shrink:0;width:16px;height:16px;padding:0;display:inline-block}input:where([type=checkbox]){border-radius:0}input:where([type=radio]){border-radius:100%}input:where([type=checkbox]):focus,input:where([type=radio]):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}input:where([type=checkbox]):checked,input:where([type=radio]):checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}input:where([type=checkbox]):checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media(forced-colors:active){input:where([type=checkbox]):checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}input:where([type=radio]):checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media(forced-colors:active){input:where([type=radio]):checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}input:where([type=checkbox]):checked:hover,input:where([type=checkbox]):checked:focus,input:where([type=radio]):checked:hover,input:where([type=radio]):checked:focus{background-color:currentColor;border-color:#0000}input:where([type=checkbox]):indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}@media(forced-colors:active){input:where([type=checkbox]):indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}input:where([type=checkbox]):indeterminate:hover,input:where([type=checkbox]):indeterminate:focus{background-color:currentColor;border-color:#0000}input:where([type=file]){background:unset;border-color:inherit;font-size:unset;line-height:inherit;border-width:0;border-radius:0;padding:0}input:where([type=file]):focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}:where(:root),:root:has(input.theme-controller[value=light]:checked),[data-theme=light]{color-scheme:light;--color-base-100:oklch(100% 0 0);--color-base-200:oklch(98% 0 0);--color-base-300:oklch(95% 0 0);--color-base-content:oklch(21% .006 285.885);--color-primary:oklch(45% .24 277.023);--color-primary-content:oklch(93% .034 272.788);--color-secondary:oklch(65% .241 354.308);--color-secondary-content:oklch(94% .028 342.258);--color-accent:oklch(77% .152 181.912);--color-accent-content:oklch(38% .063 188.416);--color-neutral:oklch(14% .005 285.823);--color-neutral-content:oklch(92% .004 286.32);--color-info:oklch(74% .16 232.661);--color-info-content:oklch(29% .066 243.157);--color-success:oklch(76% .177 163.223);--color-success-content:oklch(37% .077 168.94);--color-warning:oklch(82% .189 84.429);--color-warning-content:oklch(41% .112 45.904);--color-error:oklch(71% .194 13.428);--color-error-content:oklch(27% .105 12.094);--radius-selector:8px;--radius-field:4px;--radius-box:8px;--size-selector:4px;--size-field:4px;--border:1px;--depth:1;--noise:0}:root{--fx-noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E");scrollbar-color:currentColor #0000}@supports (color:color-mix(in lab,red,red)){:root{scrollbar-color:color-mix(in oklch,currentColor 35%,#0000) #0000}}@property --radialprogress{syntax:"<percentage>";inherits:true;initial-value:0%}:root:not(span){overflow:var(--page-overflow)}:root{background:var(--page-scroll-bg,var(--root-bg));--page-scroll-bg-on:linear-gradient(var(--root-bg,#0000), var(--root-bg,#0000)) var(--root-bg,#0000)}@supports (color:color-mix(in lab,red,red)){:root{--page-scroll-bg-on:linear-gradient(var(--root-bg,#0000), var(--root-bg,#0000)) color-mix(in srgb, var(--root-bg,#0000), oklch(0% 0 0) calc(var(--page-has-backdrop,0) * 40%))}}:root{--page-scroll-transition-on:background-color .3s ease-out;transition:var(--page-scroll-transition);scrollbar-gutter:var(--page-scroll-gutter,unset);scrollbar-gutter:if(style(--page-has-scroll: 1): var(--page-scroll-gutter,unset) ; else: unset)}@keyframes set-page-has-scroll{0%,to{--page-has-scroll:1}}:root,[data-theme]{background:var(--page-scroll-bg,var(--root-bg));color:var(--color-base-content)}:where(:root,[data-theme]){--root-bg:var(--color-base-100)}}@layer components{input:focus,textarea:focus,select:focus{--tw-ring-color:var(--color-m2-primary)}.sv-control{--sv-min-height:calc(var(--spacing) * 11);--sv-general-padding:calc(var(--spacing) * 2) calc(var(--spacing) * 3);--sv-border-radius:var(--radius-md);--sv-border:none;--sv-dropdown-border:none;--sv-icon-color:#697282;--sv-disabled-bg:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.sv-control{--sv-disabled-bg:color-mix(in oklab, var(--color-white) 70%, transparent)}}}@layer utilities{.\\@container{container-type:inline-size}@layer daisyui.l1.l2.l3{.modal{pointer-events:none;visibility:hidden;width:100%;max-width:none;height:100%;max-height:none;color:inherit;transition:visibility .3s allow-discrete,background-color .3s ease-out,opacity .1s ease-out;overscroll-behavior:contain;z-index:999;scrollbar-gutter:auto;background-color:#0000;place-items:center;margin:0;padding:0;display:grid;position:fixed;top:0;right:0;bottom:0;left:0;overflow:clip}.modal::backdrop{display:none}:where(.btn){width:unset}.btn{cursor:pointer;text-align:center;vertical-align:middle;outline-offset:2px;webkit-user-select:none;-webkit-user-select:none;user-select:none;padding-inline:var(--btn-p);color:var(--btn-fg);--tw-prose-links:var(--btn-fg);height:var(--size);font-size:var(--fontsize,.875rem);outline-color:var(--btn-color,var(--color-base-content));background-color:var(--btn-bg);background-size:auto,calc(var(--noise) * 100%);background-image:none,var(--btn-noise);border-width:var(--border);border-style:solid;border-color:var(--btn-border);text-shadow:0 .5px oklch(100% 0 0 / calc(var(--depth) * .15));touch-action:manipulation;box-shadow:0 .5px 0 .5px oklch(100% 0 0 / calc(var(--depth) * 6%)) inset,var(--btn-shadow);--size:calc(var(--size-field,.25rem) * 10);--btn-bg:var(--btn-color,var(--color-base-200));--btn-fg:var(--color-base-content);--btn-p:16px;--btn-border:var(--btn-bg);border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-wrap:nowrap;flex-shrink:0;justify-content:center;align-items:center;gap:6px;font-weight:600;transition-property:color,background-color,border-color,box-shadow;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1);display:inline-flex}@supports (color:color-mix(in lab,red,red)){.btn{--btn-border:color-mix(in oklab, var(--btn-bg), #000 calc(var(--depth) * 5%))}}.btn{--btn-shadow:0 3px 2px -2px var(--btn-bg), 0 4px 3px -2px var(--btn-bg)}@supports (color:color-mix(in lab,red,red)){.btn{--btn-shadow:0 3px 2px -2px color-mix(in oklab, var(--btn-bg) calc(var(--depth) * 30%), #0000), 0 4px 3px -2px color-mix(in oklab, var(--btn-bg) calc(var(--depth) * 30%), #0000)}}.btn{--btn-noise:var(--fx-noise)}@media(hover:hover){.btn:hover{--btn-bg:var(--btn-color,var(--color-base-200))}@supports (color:color-mix(in lab,red,red)){.btn:hover{--btn-bg:color-mix(in oklab, var(--btn-color,var(--color-base-200)), #000 7%)}}}.btn:focus-visible,.btn:has(:focus-visible){isolation:isolate;outline-width:2px;outline-style:solid}.btn:active:not(.btn-active){--btn-bg:var(--btn-color,var(--color-base-200));translate:0 .5px}@supports (color:color-mix(in lab,red,red)){.btn:active:not(.btn-active){--btn-bg:color-mix(in oklab, var(--btn-color,var(--color-base-200)), #000 5%)}}.btn:active:not(.btn-active){--btn-border:var(--btn-color,var(--color-base-200))}@supports (color:color-mix(in lab,red,red)){.btn:active:not(.btn-active){--btn-border:color-mix(in oklab, var(--btn-color,var(--color-base-200)), #000 7%)}}.btn:active:not(.btn-active){--btn-shadow:0 0 0 0 oklch(0% 0 0/0), 0 0 0 0 oklch(0% 0 0/0)}.btn:is(input[type=checkbox],input[type=radio]){-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn:is(input[type=checkbox],input[type=radio])[aria-label]:after{--tw-content:attr(aria-label);content:var(--tw-content)}.btn:where(input:checked:not(.filter .btn)){--btn-color:var(--color-primary);--btn-fg:var(--color-primary-content);isolation:isolate}.\\!loading{pointer-events:none!important;aspect-ratio:1!important;vertical-align:middle!important;width:calc(var(--size-selector,.25rem) * 6)!important;background-color:currentColor!important;display:inline-block!important;-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E")!important;-webkit-mask-position:50%!important;mask-position:50%!important;-webkit-mask-size:100%!important;mask-size:100%!important;-webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important}.loading{pointer-events:none;aspect-ratio:1;vertical-align:middle;width:calc(var(--size-selector,.25rem) * 6);background-color:currentColor;display:inline-block;-webkit-mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:100%;mask-size:100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.list{flex-direction:column;font-size:14px;display:flex}.list .list-row{--list-grid-cols:minmax(0, auto) 1fr;border-radius:var(--radius-box);word-break:break-word;grid-auto-flow:column;grid-template-columns:var(--list-grid-cols);gap:16px;padding:16px;display:grid;position:relative}:is(.list>:not(:last-child).list-row,.list>:not(:last-child) .list-row):after{content:"";border-bottom:var(--border) solid;inset-inline:var(--radius-box);border-color:var(--color-base-content);position:absolute;bottom:0}@supports (color:color-mix(in lab,red,red)){:is(.list>:not(:last-child).list-row,.list>:not(:last-child) .list-row):after{border-color:color-mix(in oklab,var(--color-base-content) 5%,transparent)}}.steps{counter-reset:step;grid-auto-columns:1fr;grid-auto-flow:column;display:inline-grid;overflow:auto hidden}.steps .step{text-align:center;--step-bg:var(--color-base-300);--step-fg:var(--color-base-content);grid-template-rows:40px 1fr;grid-template-columns:auto;place-items:center;min-width:64px;display:grid}.steps .step:before{width:100%;height:8px;color:var(--step-bg);background-color:var(--step-bg);content:"";border:1px solid;grid-row-start:1;grid-column-start:1;margin-inline-start:-100%;top:0}.steps .step>.step-icon,.steps .step:not(:has(.step-icon)):after{--tw-content:counter(step);content:var(--tw-content);counter-increment:step;z-index:1;color:var(--step-fg);background-color:var(--step-bg);border:1px solid var(--step-bg);border-radius:3.40282e38px;grid-row-start:1;grid-column-start:1;place-self:center;place-items:center;width:32px;height:32px;display:grid;position:relative}.steps .step:first-child:before{--tw-content:none;content:var(--tw-content)}.steps .step[data-content]:after{--tw-content:attr(data-content);content:var(--tw-content)}.select{border:var(--border) solid #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--color-base-100);vertical-align:middle;width:clamp(48px,320px,100%);height:var(--size);touch-action:manipulation;white-space:nowrap;text-overflow:ellipsis;box-shadow:0 1px var(--input-color) inset,0 -1px oklch(100% 0 0 / calc(var(--depth) * .1)) inset;background-image:linear-gradient(45deg,#0000 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,#0000 50%);background-position:calc(100% - 20px) calc(1px + 50%),calc(100% - 16.1px) calc(1px + 50%);background-repeat:no-repeat;background-size:4px 4px,4px 4px;border-start-start-radius:var(--join-ss,var(--radius-field));border-start-end-radius:var(--join-se,var(--radius-field));border-end-end-radius:var(--join-ee,var(--radius-field));border-end-start-radius:var(--join-es,var(--radius-field));flex-shrink:1;align-items:center;gap:6px;padding-inline:12px 28px;font-size:14px;display:inline-flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.select{box-shadow:0 1px color-mix(in oklab,var(--input-color) calc(var(--depth) * 10%),#0000) inset,0 -1px oklch(100% 0 0 / calc(var(--depth) * .1)) inset}}.select{border-color:var(--input-color);--input-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.select{--input-color:color-mix(in oklab, var(--color-base-content) 20%, #0000)}}.select{--size:calc(var(--size-field,.25rem) * 10)}[dir=rtl] .select{background-position:12px calc(1px + 50%),16px calc(1px + 50%)}[dir=rtl] .select::picker(select){translate:8px}[dir=rtl] .select select::picker(select){translate:8px}.select[multiple]{background-image:none;height:auto;padding-block:12px;padding-inline-end:12px;overflow:auto}.select select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:calc(100% + 44px);height:calc(100% - calc(var(--border) * 2));background:inherit;border-radius:inherit;border-style:none;align-items:center;margin-inline:-12px -28px;padding-inline:12px 28px}.select select:focus,.select select:focus-within{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.select select:focus,.select select:focus-within{outline-offset:2px;outline:2px solid #0000}}.select select:not(:last-child){background-image:none;margin-inline-end:-22px}.select:focus,.select:focus-within{--input-color:var(--color-base-content);box-shadow:0 1px var(--input-color)}@supports (color:color-mix(in lab,red,red)){.select:focus,.select:focus-within{box-shadow:0 1px color-mix(in oklab,var(--input-color) calc(var(--depth) * 10%),#0000)}}.select:focus,.select:focus-within{outline:2px solid var(--input-color);outline-offset:2px;isolation:isolate}.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select{cursor:not-allowed;border-color:var(--color-base-200);background-color:var(--color-base-200);color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select{color:color-mix(in oklab,var(--color-base-content) 40%,transparent)}}:is(.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select)::placeholder{color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.select:has(>select[disabled]),.select:is(:disabled,[disabled]),fieldset:disabled .select)::placeholder{color:color-mix(in oklab,var(--color-base-content) 20%,transparent)}}.select:has(>select[disabled])>select[disabled]{cursor:not-allowed}@supports (appearance:base-select){.select,.select select{-webkit-appearance:base-select;-moz-appearance:base-select;appearance:base-select}:is(.select,.select select)::picker(select){-webkit-appearance:base-select;-moz-appearance:base-select;appearance:base-select}}:is(.select,.select select)::picker(select){color:inherit;border:var(--border) solid var(--color-base-200);border-radius:var(--radius-box);background-color:inherit;max-height:min(384px,70dvh);box-shadow:0 2px calc(var(--depth) * 3px) -2px #0003;box-shadow:0 20px 25px -5px rgb(0 0 0/calc(var(--depth) * .1)),0 8px 10px -6px rgb(0 0 0/calc(var(--depth) * .1));margin-block:8px;margin-inline:8px;padding:8px;translate:-8px}:is(.select,.select select)::picker-icon{display:none}:is(.select,.select select) optgroup{padding-top:.5em}:is(.select,.select select) optgroup option:first-child{margin-top:.5em}:is(.select,.select select) option{border-radius:var(--radius-field);white-space:normal;padding-block:6px;padding-inline:12px;transition-property:color,background-color;transition-duration:.2s;transition-timing-function:cubic-bezier(0,0,.2,1)}:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{cursor:pointer;background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{background-color:color-mix(in oklab,var(--color-base-content) 10%,transparent)}}:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){:is(.select,.select select) option:not(:disabled):hover,:is(.select,.select select) option:not(:disabled):focus-visible{outline-offset:2px;outline:2px solid #0000}}:is(.select,.select select) option:not(:disabled):active{background-color:var(--color-neutral);color:var(--color-neutral-content);box-shadow:0 2px calc(var(--depth) * 3px) -2px var(--color-neutral)}.checkbox{border:var(--border) solid var(--input-color,var(--color-base-content))}@supports (color:color-mix(in lab,red,red)){.checkbox{border:var(--border) solid var(--input-color,color-mix(in oklab, var(--color-base-content) 20%, #0000))}}.checkbox{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--radius-selector);vertical-align:middle;color:var(--color-base-content);box-shadow:0 1px oklch(0% 0 0 / calc(var(--depth) * .1)) inset,0 0 #0000 inset,0 0 #0000;--size:calc(var(--size-selector,.25rem) * 6);width:var(--size);height:var(--size);background-size:auto,calc(var(--noise) * 100%);background-image:none,var(--fx-noise);flex-shrink:0;padding:4px;transition:background-color .2s,box-shadow .2s;display:inline-block;position:relative}.checkbox:before{--tw-content:"";content:var(--tw-content);opacity:0;clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 80%,70% 80%,70% 100%);width:100%;height:100%;box-shadow:0 3px oklch(100% 0 0 / calc(var(--depth) * .1)) inset;background-color:currentColor;font-size:16px;line-height:.75;transition:clip-path .3s .1s,opacity .1s .1s,rotate .3s .1s,translate .3s .1s;display:block;rotate:45deg}.checkbox:focus-visible{outline:2px solid var(--input-color,currentColor);outline-offset:2px}.checkbox:checked,.checkbox[aria-checked=true]{background-color:var(--input-color,#0000);box-shadow:0 0 #0000 inset,0 8px 0 -4px oklch(100% 0 0 / calc(var(--depth) * .1)) inset,0 1px oklch(0% 0 0 / calc(var(--depth) * .1))}:is(.checkbox:checked,.checkbox[aria-checked=true]):before{clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 0%,70% 0%,70% 100%);opacity:1}@media(forced-colors:active){:is(.checkbox:checked,.checkbox[aria-checked=true]):before{--tw-content:"✔︎";clip-path:none;background-color:#0000;rotate:none}}@media print{:is(.checkbox:checked,.checkbox[aria-checked=true]):before{--tw-content:"✔︎";clip-path:none;background-color:#0000;rotate:none}}.checkbox:indeterminate{background-color:var(--input-color,var(--color-base-content))}@supports (color:color-mix(in lab,red,red)){.checkbox:indeterminate{background-color:var(--input-color,color-mix(in oklab, var(--color-base-content) 20%, #0000))}}.checkbox:indeterminate:before{opacity:1;clip-path:polygon(20% 100%,20% 80%,50% 80%,50% 80%,80% 80%,80% 100%);translate:0 -35%;rotate:none}.modal-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;opacity:0;width:0;height:0;position:fixed}.modal-box{background-color:var(--color-base-100);border-top-left-radius:var(--modal-tl,var(--radius-box));border-top-right-radius:var(--modal-tr,var(--radius-box));border-bottom-left-radius:var(--modal-bl,var(--radius-box));border-bottom-right-radius:var(--modal-br,var(--radius-box));opacity:0;overscroll-behavior:contain;grid-row-start:1;grid-column-start:1;width:91.6667%;max-width:512px;max-height:100vh;padding:24px;transition:translate .3s ease-out,scale .3s ease-out,opacity .2s ease-out 50ms,box-shadow .3s ease-out;overflow-y:auto;scale:95%;box-shadow:0 25px 50px -12px #00000040}.label{white-space:nowrap;color:currentColor;align-items:center;gap:6px;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.label{color:color-mix(in oklab,currentcolor 60%,transparent)}}.label:has(input){cursor:pointer}.label:is(.input>*,.select>*){white-space:nowrap;height:calc(100% - 8px);font-size:inherit;align-items:center;padding-inline:12px;display:flex}.label:is(.input>*,.select>*):first-child{border-inline-end:var(--border) solid currentColor;margin-inline:-12px 12px}@supports (color:color-mix(in lab,red,red)){.label:is(.input>*,.select>*):first-child{border-inline-end:var(--border) solid color-mix(in oklab,currentColor 10%,#0000)}}.label:is(.input>*,.select>*):last-child{border-inline-start:var(--border) solid currentColor;margin-inline:12px -12px}@supports (color:color-mix(in lab,red,red)){.label:is(.input>*,.select>*):last-child{border-inline-start:var(--border) solid color-mix(in oklab,currentColor 10%,#0000)}}.status{aspect-ratio:1;border-radius:var(--radius-selector);background-color:var(--color-base-content);width:8px;height:8px;display:inline-block}@supports (color:color-mix(in lab,red,red)){.status{background-color:color-mix(in oklab,var(--color-base-content) 20%,transparent)}}.status{vertical-align:middle;color:#0000004d;background-position:50%;background-repeat:no-repeat}@supports (color:color-mix(in lab,red,red)){.status{color:color-mix(in oklab,var(--color-black) 30%,transparent)}}.status{background-image:radial-gradient(circle at 35% 30%,oklch(1 0 0 / calc(var(--depth) * .5)),#0000);box-shadow:0 2px 3px -1px}@supports (color:color-mix(in lab,red,red)){.status{box-shadow:0 2px 3px -1px color-mix(in oklab,currentColor calc(var(--depth) * 100%),#0000)}}.badge{border-radius:var(--radius-selector);vertical-align:middle;color:var(--badge-fg);border:var(--border) solid var(--badge-color,var(--color-base-200));background-size:auto,calc(var(--noise) * 100%);background-image:none,var(--fx-noise);background-color:var(--badge-bg);--badge-bg:var(--badge-color,var(--color-base-100));--badge-fg:var(--color-base-content);--size:calc(var(--size-selector,.25rem) * 6);width:fit-content;height:var(--size);padding-inline:calc(var(--size) / 2 - var(--border));justify-content:center;align-items:center;gap:8px;font-size:14px;display:inline-flex}.link{cursor:pointer;text-decoration-line:underline}.link:focus{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.link:focus{outline-offset:2px;outline:2px solid #0000}}.link:focus-visible{outline-offset:2px;outline:2px solid}.btn-success{--btn-color:var(--color-success);--btn-fg:var(--color-success-content)}}@layer daisyui.l1.l2{.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal{pointer-events:auto;visibility:visible;opacity:1;transition:visibility 0s allow-discrete,background-color .3s ease-out,opacity .1s ease-out;background-color:#0006}:is(.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal) .modal-box{opacity:1;translate:0;scale:1}:root:has(:is(.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal)){--page-has-backdrop:1;--page-overflow:hidden;--page-scroll-bg:var(--page-scroll-bg-on);--page-scroll-gutter:stable;--page-scroll-transition:var(--page-scroll-transition-on);animation:forwards set-page-has-scroll;animation-timeline:scroll()}@starting-style{.modal.modal-open,.modal[open],.modal:target,.modal-toggle:checked+.modal{opacity:0}}.btn:disabled:not(.btn-link,.btn-ghost){background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn:disabled:not(.btn-link,.btn-ghost){background-color:color-mix(in oklab,var(--color-base-content) 10%,transparent)}}.btn:disabled:not(.btn-link,.btn-ghost){box-shadow:none}.btn:disabled{pointer-events:none;--btn-border:#0000;--btn-noise:none;--btn-fg:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn:disabled{--btn-fg:color-mix(in oklch, var(--color-base-content) 20%, #0000)}}.btn[disabled]:not(.btn-link,.btn-ghost){background-color:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn[disabled]:not(.btn-link,.btn-ghost){background-color:color-mix(in oklab,var(--color-base-content) 10%,transparent)}}.btn[disabled]:not(.btn-link,.btn-ghost){box-shadow:none}.btn[disabled]{pointer-events:none;--btn-border:#0000;--btn-noise:none;--btn-fg:var(--color-base-content)}@supports (color:color-mix(in lab,red,red)){.btn[disabled]{--btn-fg:color-mix(in oklch, var(--color-base-content) 20%, #0000)}}.list .list-row:has(.list-col-grow:first-child){--list-grid-cols:1fr}.list .list-row:has(.list-col-grow:nth-child(2)){--list-grid-cols:minmax(0, auto) 1fr}.list .list-row:has(.list-col-grow:nth-child(3)){--list-grid-cols:minmax(0, auto) minmax(0, auto) 1fr}.list .list-row:has(.list-col-grow:nth-child(4)){--list-grid-cols:minmax(0, auto) minmax(0, auto) minmax(0, auto) 1fr}.list .list-row:has(.list-col-grow:nth-child(5)){--list-grid-cols:minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto) 1fr}.list .list-row:has(.list-col-grow:nth-child(6)){--list-grid-cols:minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto) 1fr}.list .list-row>*{grid-row-start:1}.steps .step-neutral+.step-neutral:before,.steps .step-neutral:after,.steps .step-neutral>.step-icon{--step-bg:var(--color-neutral);--step-fg:var(--color-neutral-content)}.steps .step-primary+.step-primary:before,.steps .step-primary:after,.steps .step-primary>.step-icon{--step-bg:var(--color-primary);--step-fg:var(--color-primary-content)}.steps .step-secondary+.step-secondary:before,.steps .step-secondary:after,.steps .step-secondary>.step-icon{--step-bg:var(--color-secondary);--step-fg:var(--color-secondary-content)}.steps .step-accent+.step-accent:before,.steps .step-accent:after,.steps .step-accent>.step-icon{--step-bg:var(--color-accent);--step-fg:var(--color-accent-content)}.steps .step-info+.step-info:before,.steps .step-info:after,.steps .step-info>.step-icon{--step-bg:var(--color-info);--step-fg:var(--color-info-content)}.steps .step-success+.step-success:before,.steps .step-success:after,.steps .step-success>.step-icon{--step-bg:var(--color-success);--step-fg:var(--color-success-content)}.steps .step-warning+.step-warning:before,.steps .step-warning:after,.steps .step-warning>.step-icon{--step-bg:var(--color-warning);--step-fg:var(--color-warning-content)}.steps .step-error+.step-error:before,.steps .step-error:after,.steps .step-error>.step-icon{--step-bg:var(--color-error);--step-fg:var(--color-error-content)}.checkbox:disabled{cursor:not-allowed;opacity:.2}.btn-circle{width:var(--size);height:var(--size);border-radius:3.40282e38px;padding-inline:0}.btn-sm{--fontsize:12px;--btn-p:12px;--size:calc(var(--size-field,.25rem) * 8)}}.prose :where(a.btn:not(.btn-link)):not(:where([class~=not-prose],[class~=not-prose] *)){text-decoration-line:none}.absolute{position:absolute}.relative{position:relative}.top-3{top:calc(var(--spacing) * 3)}.right-3{right:calc(var(--spacing) * 3)}.col-span-full{grid-column:1/-1}.container{width:100%}@media(min-width:475px){.container{max-width:475px}}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.container{margin-inline:auto;padding-inline:16px}@media(min-width:475px){.container{padding-inline:32px}}.mx-auto{margin-inline:auto}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.h-6{height:calc(var(--spacing) * 6)}.h-250{height:calc(var(--spacing) * 250)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-44{min-height:calc(var(--spacing) * 44)}.w-12{width:calc(var(--spacing) * 12)}.w-auto{width:auto}.w-full{width:100%}.w-min{width:min-content}.max-w-40{max-width:calc(var(--spacing) * 40)}.max-w-screen-xl{max-width:var(--breakpoint-xl)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-x-1{column-gap:calc(var(--spacing) * 1)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-y-4{row-gap:calc(var(--spacing) * 4)}.self-center{align-self:center}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-visible{overflow:visible}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-gray-400{border-color:var(--color-gray-400)}.bg-\\[\\#06477C\\]{background-color:#06477c}.bg-black{background-color:var(--color-black)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-300{background-color:var(--color-gray-300)}.bg-m2-accent{background-color:#98be27}.bg-m2-surface{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-m2-surface{background-color:color-mix(in oklab,var(--color-white) 20%,transparent)}}.bg-white{background-color:var(--color-white)}.bg-white\\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\\/20{background-color:color-mix(in oklab,var(--color-white) 20%,transparent)}}.p-2{padding:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-10{padding-block:calc(var(--spacing) * 10)}.py-14{padding-block:calc(var(--spacing) * 14)}.text-center{text-align:center}.text-left{text-align:left}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-\\[\\.8\\]{--tw-leading:.8;line-height:.8}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-nowrap{text-wrap:nowrap}.text-pretty{text-wrap:pretty}.text-black{color:var(--color-black)}.text-m2-text-button{color:var(--color-white)}.text-m2-text-input{color:var(--color-gray-900)}.text-m2-text-primary{color:var(--color-white)}.text-m2-warning{color:var(--color-orange-300)}.text-white{color:var(--color-white)}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@layer daisyui.l1{.btn-outline:not(.btn-active,:hover,:active:focus,:focus-visible,input:checked:not(.filter .btn),:disabled,[disabled],.btn-disabled){--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color);--btn-border:var(--btn-color);--btn-noise:none}@media(hover:none){.btn-outline:not(.btn-active,:active,:focus-visible,input:checked:not(.filter .btn)):hover{--btn-shadow:"";--btn-bg:#0000;--btn-fg:var(--btn-color);--btn-border:var(--btn-color);--btn-noise:none}}}.select-none{-webkit-user-select:none;user-select:none}:is(.\\*\\:h-\\[240px\\]>*){height:240px}:is(.\\*\\:w-\\[240px\\]>*){width:240px}@media(hover:hover){.hover\\:bg-m2-accent:hover{background-color:#98be27}.enabled\\:hover\\:brightness-95:enabled:hover{--tw-brightness:brightness(95%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.enabled\\:active\\:brightness-90:enabled:active{--tw-brightness:brightness(90%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-70:disabled{opacity:.7}@media(min-width:640px){.sm\\:top-5{top:calc(var(--spacing) * 5)}.sm\\:right-6{right:calc(var(--spacing) * 6)}}@container not (min-width:384px){.\\@max-sm\\:after\\:w-64\\!:after{content:var(--tw-content);width:calc(var(--spacing) * 64)!important}}@container (min-width:384px){.\\@sm\\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}}@container (min-width:576px){.\\@xl\\:col-span-6{grid-column:span 6/span 6}.\\@xl\\:row-span-3{grid-row:span 3/span 3}.\\@xl\\:max-w-64{max-width:calc(var(--spacing) * 64)}.\\@xl\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.\\@xl\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.\\@xl\\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.\\@xl\\:px-6{padding-inline:calc(var(--spacing) * 6)}}@container (min-width:672px){.\\@2xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.\\@2xl\\:gap-3{gap:calc(var(--spacing) * 3)}.\\@2xl\\:text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}}@container (min-width:896px){.\\@4xl\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@container (min-width:1024px){.\\@5xl\\:top-2\\.5{top:calc(var(--spacing) * 2.5)}.\\@5xl\\:col-span-3{grid-column:span 3/span 3}.\\@5xl\\:col-span-4{grid-column:span 4/span 4}.\\@5xl\\:col-span-6{grid-column:span 6/span 6}.\\@5xl\\:col-start-11{grid-column-start:11}.\\@5xl\\:row-start-1{grid-row-start:1}.\\@5xl\\:mt-6{margin-top:calc(var(--spacing) * 6)}.\\@5xl\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@container (min-width:1152px){.\\@6xl\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(prefers-color-scheme:dark){.dark\\:bg-gray-700{background-color:var(--color-gray-700)}}.\\[\\&_input\\]\\:ring-0 input{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.\\[\\&_svg\\]\\:w-9 svg{width:calc(var(--spacing) * 9)}.\\[\\&_svg\\]\\:w-\\[19px\\] svg{width:19px}}[class*=hint--]{display:inline-block;position:relative}[class*=hint--]:after,[class*=hint--]:before{visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;transition:all .3s;position:absolute;transform:translate(0)}[class*=hint--]:hover:after,[class*=hint--]:hover:before{visibility:visible;opacity:1;transition-delay:.1s}[class*=hint--]:before{content:"";clip-path:polygon(0 0,100% 0,100% 100%);z-index:1000001;background:#383838;border:6px solid #0000;position:absolute}[class*=hint--]:after{color:#fff;white-space:nowrap;text-shadow:0 1px #000;background:#383838;padding:8px 10px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px;line-height:16px;box-shadow:4px 4px 8px #0000004d}.hint--error:after,.hint--error:before{background-color:#b24e4c}[class*=hint--][aria-label]:after{content:attr(aria-label)}[class*=hint--][data-hint]:after{content:attr(data-hint)}[aria-label=""]:after,[aria-label=""]:before,[data-hint=""]:after,[data-hint=""]:before{display:none!important}.hint--top{--rotation:135deg}.hint--top:after,.hint--top:before{bottom:100%;left:50%}.hint--top:before{transform:rotate(var(--rotation));margin-bottom:-5.5px;left:calc(50% - 6px)}.hint--top:after{transform:translate(-50%)}.hint--top:hover:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--top:hover:after{transform:translate(-50%)translateY(-8px)}.hint--bottom{--rotation:-45deg}.hint--bottom:after,.hint--bottom:before{top:100%;left:50%}.hint--bottom:before{transform:rotate(var(--rotation));margin-top:-5.5px;left:calc(50% - 6px)}.hint--bottom:after{transform:translate(-50%)}.hint--bottom:hover:before{transform:translateY(8px) rotate(var(--rotation))}.hint--bottom:hover:after{transform:translate(-50%)translateY(8px)}.hint--right{--rotation:-135deg}.hint--right:before{transform:rotate(var(--rotation));margin-bottom:-6px;margin-left:-5.5px}.hint--right:after{margin-bottom:-16px}.hint--right:after,.hint--right:before{bottom:50%;left:100%}.hint--right:hover:before{transform:translate(8px) rotate(var(--rotation))}.hint--right:hover:after{transform:translate(8px)}.hint--left{--rotation:45deg}.hint--left:before{transform:rotate(var(--rotation));margin-bottom:-6px;margin-right:-5.5px}.hint--left:after{margin-bottom:-16px}.hint--left:after,.hint--left:before{bottom:50%;right:100%}.hint--left:hover:before{transform:translate(-8px) rotate(var(--rotation))}.hint--left:hover:after{transform:translate(-8px)}.hint--top-left{--rotation:135deg}.hint--top-left:after,.hint--top-left:before{bottom:100%;left:50%}.hint--top-left:before{transform:rotate(var(--rotation));margin-bottom:-5.5px;left:calc(50% - 6px)}.hint--top-left:after{margin-left:12px;transform:translate(-100%)}.hint--top-left:hover:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--top-left:hover:after{transform:translate(-100%)translateY(-8px)}.hint--top-right{--rotation:135deg}.hint--top-right:after,.hint--top-right:before{bottom:100%;left:50%}.hint--top-right:before{transform:rotate(var(--rotation));margin-bottom:-5.5px;left:calc(50% - 6px)}.hint--top-right:after{margin-left:-12px;transform:translate(0)}.hint--top-right:hover:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--top-right:hover:after{transform:translateY(-8px)}.hint--bottom-left{--rotation:-45deg}.hint--bottom-left:after,.hint--bottom-left:before{top:100%;left:50%}.hint--bottom-left:before{transform:rotate(var(--rotation));margin-top:-5.5px;left:calc(50% - 6px)}.hint--bottom-left:after{margin-left:12px;transform:translate(-100%)}.hint--bottom-left:hover:before{transform:translateY(8px) rotate(var(--rotation))}.hint--bottom-left:hover:after{transform:translate(-100%)translateY(8px)}.hint--bottom-right{--rotation:-45deg}.hint--bottom-right:after,.hint--bottom-right:before{top:100%;left:50%}.hint--bottom-right:before{transform:rotate(var(--rotation));margin-top:-5.5px;left:calc(50% - 6px)}.hint--bottom-right:after{margin-left:-12px;transform:translate(0)}.hint--bottom-right:hover:before{transform:translateY(8px) rotate(var(--rotation))}.hint--bottom-right:hover:after{transform:translateY(8px)}.hint--fit:after,.hint--large:after,.hint--medium:after,.hint--small:after{box-sizing:border-box;white-space:normal;word-wrap:break-word;line-height:1.4em}.hint--small:after{width:80px}.hint--medium:after{width:150px}.hint--large:after{width:300px}.hint--fit:after{width:100%}.hint--error:after{text-shadow:0 1px #592726}.hint--warning:after,.hint--warning:before{background-color:#bf9853}.hint--warning:after{text-shadow:0 1px #6c5328}.hint--info:after,.hint--info:before{background-color:#3985ac}.hint--info:after{text-shadow:0 1px #1a3c4d}.hint--success:after,.hint--success:before{background-color:#458646}.hint--success:after{text-shadow:0 1px #1a321a}.hint--always:after,.hint--always:before{opacity:1;visibility:visible}.hint--always.hint--top:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--always.hint--top:after{transform:translate(-50%)translateY(-8px)}.hint--always.hint--top-left:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--always.hint--top-left:after{transform:translate(-100%)translateY(-8px)}.hint--always.hint--top-right:before{transform:translateY(-8px) rotate(var(--rotation))}.hint--always.hint--top-right:after{transform:translateY(-8px)}.hint--always.hint--bottom:before{transform:translateY(8px) rotate(var(--rotation))}.hint--always.hint--bottom:after{transform:translate(-50%)translateY(8px)}.hint--always.hint--bottom-left:before{transform:translateY(8px) rotate(var(--rotation))}.hint--always.hint--bottom-left:after{transform:translate(-100%)translateY(8px)}.hint--always.hint--bottom-right:before{transform:translateY(8px) rotate(var(--rotation))}.hint--always.hint--bottom-right:after{transform:translateY(8px)}.hint--always.hint--left:before{transform:translate(-8px) rotate(var(--rotation))}.hint--always.hint--left:after{transform:translate(-8px)}.hint--always.hint--right:before{transform:translate(8px) rotate(var(--rotation))}.hint--always.hint--right:after{transform:translate(8px)}.hint--rounded:before{border-radius:0 4px 0 0}.hint--rounded:after{border-radius:4px}.hint--no-animate:after,.hint--no-animate:before{transition-duration:0s}.hint--bounce:after,.hint--bounce:before{transition:opacity .3s,visibility .3s,transform .3s cubic-bezier(.71,1.7,.77,1.24)}@supports (transition-timing-function:linear(0,1)){.hint--bounce:after,.hint--bounce:before{--spring-easing:linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938, 1.077 20.4%, 1.121, 1.149 24.3%, 1.159, 1.163 27%, 1.154, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1);transition:opacity .3s ease,visibility .3s ease,transform .5s var(--spring-easing)}}.hint--no-shadow:after,.hint--no-shadow:before{text-shadow:initial;box-shadow:initial}.hint--no-arrow:before{display:none}@keyframes rating{0%,40%{filter:brightness(1.05)contrast(1.05);scale:1.1}}@keyframes dropdown{0%{opacity:0}}@keyframes radio{0%{padding:5px}50%{padding:3px}}@keyframes toast{0%{opacity:0;scale:.9}to{opacity:1;scale:1}}@keyframes rotator{89.9999%,to{--first-item-position:0 0%}90%,99.9999%{--first-item-position:0 calc(var(--items) * 100%)}to{translate:0 -100%}}@keyframes skeleton{0%{background-position:150%}to{background-position:-50%}}@keyframes menu{0%{opacity:0}}@keyframes progress{50%{background-position-x:-115%}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@keyframes pulse{50%{opacity:.5}}`;
3260
+ function pa(e, t) {
3261
+ pn(t, !0);
3262
+ let r = sa(t, "host", 7);
3263
+ const n = (a) => {
3264
+ r().shadowRoot && (r().shadowRoot.adoptedStyleSheets = [a]);
3265
+ }, o = (a) => {
3266
+ const l = new CSSStyleSheet();
3267
+ for (let s of a.cssRules)
3268
+ s instanceof CSSPropertyRule && l.insertRule(s.cssText);
3269
+ document.adoptedStyleSheets = [l];
3270
+ };
3271
+ io(() => {
3272
+ const a = new CSSStyleSheet();
3273
+ a.replaceSync(ua), n(a), o(a);
3274
+ });
3275
+ var i = {
3276
+ get host() {
3277
+ return r();
3278
+ },
3279
+ set host(a) {
3280
+ r(a), Ar();
3281
+ }
3282
+ };
3283
+ return hn(i);
3284
+ }
3285
+ da(pa, { host: {} }, [], [], { mode: "open" });
3286
+ export {
3287
+ ba as $,
3288
+ Dn as A,
3289
+ Hi as B,
3290
+ $ as C,
3291
+ _t as D,
3292
+ ut as E,
3293
+ vi as F,
3294
+ Aa as G,
3295
+ tr as H,
3296
+ Ln as I,
3297
+ m as J,
3298
+ cr as K,
3299
+ Mr as L,
3300
+ Ae as M,
3301
+ Ie as N,
3302
+ ra as O,
3303
+ zo as P,
3304
+ Ra as Q,
3305
+ qt as R,
3306
+ pa as S,
3307
+ ce as T,
3308
+ ka as U,
3309
+ bi as V,
3310
+ si as W,
3311
+ nn as X,
3312
+ To as Y,
3313
+ ga as Z,
3314
+ Mt as _,
3315
+ sa as a,
3316
+ wa as a0,
3317
+ di as a1,
3318
+ he as a2,
3319
+ ya as a3,
3320
+ va as a4,
3321
+ Ci as a5,
3322
+ xt as a6,
3323
+ we as a7,
3324
+ ye as a8,
3325
+ ma as a9,
3326
+ Ba as aA,
3327
+ Fa as aB,
3328
+ Ha as aC,
3329
+ Ma as aD,
3330
+ Ya as aE,
3331
+ hi as aa,
3332
+ L as ab,
3333
+ Z as ac,
3334
+ ue as ad,
3335
+ Ko as ae,
3336
+ Er as af,
3337
+ fn as ag,
3338
+ Me as ah,
3339
+ x as ai,
3340
+ Ot as aj,
3341
+ tn as ak,
3342
+ _e as al,
3343
+ $r as am,
3344
+ So as an,
3345
+ k as ao,
3346
+ xa as ap,
3347
+ er as aq,
3348
+ Nr as ar,
3349
+ za as as,
3350
+ Wo as at,
3351
+ nt as au,
3352
+ Ia as av,
3353
+ xi as aw,
3354
+ Ji as ax,
3355
+ Na as ay,
3356
+ Go as az,
3357
+ Ri as b,
3358
+ da as c,
3359
+ zi as d,
3360
+ hn as e,
3361
+ ke as f,
3362
+ Oa as g,
3363
+ Ca as h,
3364
+ La as i,
3365
+ Ar as j,
3366
+ Oe as k,
3367
+ X as l,
3368
+ ja as m,
3369
+ Ta as n,
3370
+ io as o,
3371
+ pn as p,
3372
+ Wi as q,
3373
+ Ea as r,
3374
+ Sa as s,
3375
+ Ui as t,
3376
+ Da as u,
3377
+ Ei as v,
3378
+ Gt as w,
3379
+ Pa as x,
3380
+ Ai as y,
3381
+ $a as z
3382
+ };