@moneyto/components 0.0.16 → 0.0.18

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