@moneyto/components 0.0.15 → 0.0.16

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