@moneyto/components 0.0.6 → 0.0.8

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,3155 @@
1
+ var oo = Object.defineProperty;
2
+ var je = (t) => {
3
+ throw TypeError(t);
4
+ };
5
+ var no = (t, e, r) => e in t ? oo(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
6
+ var D = (t, e, r) => no(t, typeof e != "symbol" ? e + "" : e, r), Ue = (t, e, r) => e.has(t) || je("Cannot " + r);
7
+ var M = (t, e, r) => (Ue(t, e, "read from private field"), r ? r.call(t) : e.get(t)), ee = (t, e, r) => e.has(t) ? je("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), re = (t, e, r, o) => (Ue(t, e, "write to private field"), o ? o.call(t, r) : e.set(t, r), r);
8
+ const io = "5";
9
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(io);
10
+ const pe = 1, ge = 2, ir = 4, ao = 8, so = 16, lo = 1, co = 4, uo = 8, fo = 16, ho = 1, po = 2, ar = "[", ve = "[!", me = "]", At = {}, N = Symbol(), ne = !1, G = 2, sr = 4, Mt = 8, be = 16, Z = 32, dt = 64, Ft = 128, V = 256, Bt = 512, R = 1024, ot = 2048, kt = 4096, H = 8192, _t = 16384, go = 32768, we = 65536, vo = 1 << 19, lr = 1 << 20, at = Symbol("$state"), cr = Symbol("legacy props"), mo = Symbol("");
11
+ var ye = Array.isArray, bo = Array.prototype.indexOf, ke = Array.from, jt = Object.keys, Ut = Object.defineProperty, ut = Object.getOwnPropertyDescriptor, ur = Object.getOwnPropertyDescriptors, wo = Object.prototype, yo = Array.prototype, _e = Object.getPrototypeOf;
12
+ function Dc(t) {
13
+ return typeof t == "function";
14
+ }
15
+ const Fc = () => {
16
+ };
17
+ function fr(t) {
18
+ for (var e = 0; e < t.length; e++)
19
+ t[e]();
20
+ }
21
+ const ko = typeof requestIdleCallback > "u" ? (t) => setTimeout(t, 1) : requestIdleCallback;
22
+ let Gt = !1, zt = !1, ie = [], ae = [];
23
+ function hr() {
24
+ Gt = !1;
25
+ const t = ie.slice();
26
+ ie = [], fr(t);
27
+ }
28
+ function dr() {
29
+ zt = !1;
30
+ const t = ae.slice();
31
+ ae = [], fr(t);
32
+ }
33
+ function xe(t) {
34
+ Gt || (Gt = !0, queueMicrotask(hr)), ie.push(t);
35
+ }
36
+ function _o(t) {
37
+ zt || (zt = !0, ko(dr)), ae.push(t);
38
+ }
39
+ function xo() {
40
+ Gt && hr(), zt && dr();
41
+ }
42
+ function pr(t) {
43
+ return t === this.v;
44
+ }
45
+ function Eo(t, e) {
46
+ return t != t ? e == e : t !== e || t !== null && typeof t == "object" || typeof t == "function";
47
+ }
48
+ function Ee(t) {
49
+ return !Eo(t, this.v);
50
+ }
51
+ function Ao(t) {
52
+ throw new Error("https://svelte.dev/e/effect_in_teardown");
53
+ }
54
+ function $o() {
55
+ throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
56
+ }
57
+ function To(t) {
58
+ throw new Error("https://svelte.dev/e/effect_orphan");
59
+ }
60
+ function So() {
61
+ throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
62
+ }
63
+ function Co() {
64
+ throw new Error("https://svelte.dev/e/hydration_failed");
65
+ }
66
+ function Ro(t) {
67
+ throw new Error("https://svelte.dev/e/props_invalid_value");
68
+ }
69
+ function Mo() {
70
+ throw new Error("https://svelte.dev/e/state_descriptors_fixed");
71
+ }
72
+ function No() {
73
+ throw new Error("https://svelte.dev/e/state_prototype_fixed");
74
+ }
75
+ function Lo() {
76
+ throw new Error("https://svelte.dev/e/state_unsafe_local_read");
77
+ }
78
+ function Oo() {
79
+ throw new Error("https://svelte.dev/e/state_unsafe_mutation");
80
+ }
81
+ let Io = !1;
82
+ function B(t, e) {
83
+ var r = {
84
+ f: 0,
85
+ // TODO ideally we could skip this altogether, but it causes type errors
86
+ v: t,
87
+ reactions: null,
88
+ equals: pr,
89
+ rv: 0,
90
+ wv: 0
91
+ };
92
+ return r;
93
+ }
94
+ function Bc(t) {
95
+ return /* @__PURE__ */ Po(B(t));
96
+ }
97
+ // @__NO_SIDE_EFFECTS__
98
+ function Ae(t, e = !1) {
99
+ const r = B(t);
100
+ return e || (r.equals = Ee), r;
101
+ }
102
+ // @__NO_SIDE_EFFECTS__
103
+ function Po(t) {
104
+ return $ !== null && !tt && $.f & G && (K === null ? Uo([t]) : K.push(t)), t;
105
+ }
106
+ function Y(t, e) {
107
+ return $ !== null && !tt && kr() && $.f & (G | be) && // If the source was created locally within the current derived, then
108
+ // we allow the mutation.
109
+ (K === null || !K.includes(t)) && Oo(), se(t, e);
110
+ }
111
+ function se(t, e) {
112
+ return t.equals(e) || (t.v, t.v = e, t.wv = yr(), gr(t, ot), x !== null && x.f & R && !(x.f & (Z | dt)) && (J === null ? Go([t]) : J.push(t))), e;
113
+ }
114
+ function gr(t, e) {
115
+ var r = t.reactions;
116
+ if (r !== null)
117
+ for (var o = r.length, n = 0; n < o; n++) {
118
+ var i = r[n], a = i.f;
119
+ a & ot || (z(i, e), a & (R | V) && (a & G ? gr(
120
+ /** @type {Derived} */
121
+ i,
122
+ kt
123
+ ) : Zt(
124
+ /** @type {Effect} */
125
+ i
126
+ )));
127
+ }
128
+ }
129
+ // @__NO_SIDE_EFFECTS__
130
+ function $e(t) {
131
+ var e = G | ot, r = $ !== null && $.f & G ? (
132
+ /** @type {Derived} */
133
+ $
134
+ ) : null;
135
+ return x === null || r !== null && r.f & V ? e |= V : x.f |= lr, {
136
+ ctx: C,
137
+ deps: null,
138
+ effects: null,
139
+ equals: pr,
140
+ f: e,
141
+ fn: t,
142
+ reactions: null,
143
+ rv: 0,
144
+ v: (
145
+ /** @type {V} */
146
+ null
147
+ ),
148
+ wv: 0,
149
+ parent: r ?? x
150
+ };
151
+ }
152
+ // @__NO_SIDE_EFFECTS__
153
+ function Do(t) {
154
+ const e = /* @__PURE__ */ $e(t);
155
+ return e.equals = Ee, e;
156
+ }
157
+ function Te(t) {
158
+ var e = t.effects;
159
+ if (e !== null) {
160
+ t.effects = null;
161
+ for (var r = 0; r < e.length; r += 1)
162
+ rt(
163
+ /** @type {Effect} */
164
+ e[r]
165
+ );
166
+ }
167
+ }
168
+ function Fo(t) {
169
+ for (var e = t.parent; e !== null; ) {
170
+ if (!(e.f & G))
171
+ return (
172
+ /** @type {Effect} */
173
+ e
174
+ );
175
+ e = e.parent;
176
+ }
177
+ return null;
178
+ }
179
+ function vr(t) {
180
+ var e, r = x;
181
+ U(Fo(t));
182
+ try {
183
+ Te(t), e = xr(t);
184
+ } finally {
185
+ U(r);
186
+ }
187
+ return e;
188
+ }
189
+ function mr(t) {
190
+ var e = vr(t), r = (ct || t.f & V) && t.deps !== null ? kt : R;
191
+ z(t, r), t.equals(e) || (t.v = e, t.wv = yr());
192
+ }
193
+ function Bo(t) {
194
+ Te(t), Ct(t, 0), z(t, _t), t.v = t.deps = t.ctx = t.reactions = null;
195
+ }
196
+ const br = 0, jo = 1;
197
+ let It = !1, Pt = br, Tt = !1, St = null, bt = !1, Se = !1;
198
+ function Ge(t) {
199
+ bt = t;
200
+ }
201
+ function ze(t) {
202
+ Se = t;
203
+ }
204
+ let lt = [], wt = 0;
205
+ let $ = null, tt = !1;
206
+ function W(t) {
207
+ $ = t;
208
+ }
209
+ let x = null;
210
+ function U(t) {
211
+ x = t;
212
+ }
213
+ let K = null;
214
+ function Uo(t) {
215
+ K = t;
216
+ }
217
+ let L = null, O = 0, J = null;
218
+ function Go(t) {
219
+ J = t;
220
+ }
221
+ let wr = 1, Yt = 0, ct = !1;
222
+ function yr() {
223
+ return ++wr;
224
+ }
225
+ function kr() {
226
+ return !0;
227
+ }
228
+ function Nt(t) {
229
+ var s;
230
+ var e = t.f;
231
+ if (e & ot)
232
+ return !0;
233
+ if (e & kt) {
234
+ var r = t.deps, o = (e & V) !== 0;
235
+ if (r !== null) {
236
+ var n, i, a = (e & Bt) !== 0, l = o && x !== null && !ct, c = r.length;
237
+ if (a || l) {
238
+ for (n = 0; n < c; n++)
239
+ i = r[n], (a || !((s = i == null ? void 0 : i.reactions) != null && s.includes(t))) && (i.reactions ?? (i.reactions = [])).push(t);
240
+ a && (t.f ^= Bt);
241
+ }
242
+ for (n = 0; n < c; n++)
243
+ if (i = r[n], Nt(
244
+ /** @type {Derived} */
245
+ i
246
+ ) && mr(
247
+ /** @type {Derived} */
248
+ i
249
+ ), i.wv > t.wv)
250
+ return !0;
251
+ }
252
+ (!o || x !== null && !ct) && z(t, R);
253
+ }
254
+ return !1;
255
+ }
256
+ function zo(t, e) {
257
+ for (var r = e; r !== null; ) {
258
+ if (r.f & Ft)
259
+ try {
260
+ r.fn(t);
261
+ return;
262
+ } catch {
263
+ r.f ^= Ft;
264
+ }
265
+ r = r.parent;
266
+ }
267
+ throw It = !1, t;
268
+ }
269
+ function Yo(t) {
270
+ return (t.f & _t) === 0 && (t.parent === null || (t.parent.f & Ft) === 0);
271
+ }
272
+ function Wt(t, e, r, o) {
273
+ if (It) {
274
+ if (r === null && (It = !1), Yo(e))
275
+ throw t;
276
+ return;
277
+ }
278
+ r !== null && (It = !0);
279
+ {
280
+ zo(t, e);
281
+ return;
282
+ }
283
+ }
284
+ function _r(t, e, r = 0) {
285
+ var o = t.reactions;
286
+ if (o !== null)
287
+ for (var n = 0; n < o.length; n++) {
288
+ var i = o[n];
289
+ i.f & G ? _r(
290
+ /** @type {Derived} */
291
+ i,
292
+ e,
293
+ r + 1
294
+ ) : e === i && (r === 0 ? z(i, ot) : i.f & R && z(i, kt), Zt(
295
+ /** @type {Effect} */
296
+ i
297
+ ));
298
+ }
299
+ }
300
+ function xr(t) {
301
+ var f;
302
+ var e = L, r = O, o = J, n = $, i = ct, a = K, l = C, c = tt, s = t.f;
303
+ L = /** @type {null | Value[]} */
304
+ null, O = 0, J = null, $ = s & (Z | dt) ? null : t, ct = (s & V) !== 0 && (!bt || // If we were previously not in a reactive context and we're reading an unowned derived
305
+ // that was created inside another reaction, then we don't fully know the real owner and thus
306
+ // we need to skip adding any reactions for this unowned
307
+ (n === null || c) && /** @type {Derived} */
308
+ t.parent !== null), K = null, qe(t.ctx), tt = !1, Yt++;
309
+ try {
310
+ var p = (
311
+ /** @type {Function} */
312
+ (0, t.fn)()
313
+ ), u = t.deps;
314
+ if (L !== null) {
315
+ var d;
316
+ if (Ct(t, O), u !== null && O > 0)
317
+ for (u.length = O + L.length, d = 0; d < L.length; d++)
318
+ u[O + d] = L[d];
319
+ else
320
+ t.deps = u = L;
321
+ if (!ct)
322
+ for (d = O; d < u.length; d++)
323
+ ((f = u[d]).reactions ?? (f.reactions = [])).push(t);
324
+ } else u !== null && O < u.length && (Ct(t, O), u.length = O);
325
+ if (kr() && J !== null && !(t.f & (G | kt | ot)))
326
+ for (d = 0; d < /** @type {Source[]} */
327
+ J.length; d++)
328
+ _r(
329
+ J[d],
330
+ /** @type {Effect} */
331
+ t
332
+ );
333
+ return n !== null && Yt++, p;
334
+ } finally {
335
+ L = e, O = r, J = o, $ = n, ct = i, K = a, qe(l), tt = c;
336
+ }
337
+ }
338
+ function Ho(t, e) {
339
+ let r = e.reactions;
340
+ if (r !== null) {
341
+ var o = bo.call(r, t);
342
+ if (o !== -1) {
343
+ var n = r.length - 1;
344
+ n === 0 ? r = e.reactions = null : (r[o] = r[n], r.pop());
345
+ }
346
+ }
347
+ r === null && e.f & G && // Destroying a child effect while updating a parent effect can cause a dependency to appear
348
+ // to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
349
+ // allows us to skip the expensive work of disconnecting and immediately reconnecting it
350
+ (L === null || !L.includes(e)) && (z(e, kt), e.f & (V | Bt) || (e.f ^= Bt), Te(
351
+ /** @type {Derived} **/
352
+ e
353
+ ), Ct(
354
+ /** @type {Derived} **/
355
+ e,
356
+ 0
357
+ ));
358
+ }
359
+ function Ct(t, e) {
360
+ var r = t.deps;
361
+ if (r !== null)
362
+ for (var o = e; o < r.length; o++)
363
+ Ho(t, r[o]);
364
+ }
365
+ function Ce(t) {
366
+ var e = t.f;
367
+ if (!(e & _t)) {
368
+ z(t, R);
369
+ var r = x, o = C;
370
+ x = t;
371
+ try {
372
+ e & be ? rn(t) : Nr(t), Mr(t);
373
+ var n = xr(t);
374
+ t.teardown = typeof n == "function" ? n : null, t.wv = wr;
375
+ var i = t.deps, a;
376
+ ne && Io && t.f & ot;
377
+ } catch (l) {
378
+ Wt(l, t, r, o || t.ctx);
379
+ } finally {
380
+ x = r;
381
+ }
382
+ }
383
+ }
384
+ function Er() {
385
+ if (wt > 1e3) {
386
+ wt = 0;
387
+ try {
388
+ So();
389
+ } catch (t) {
390
+ if (St !== null)
391
+ Wt(t, St, null);
392
+ else
393
+ throw t;
394
+ }
395
+ }
396
+ wt++;
397
+ }
398
+ function Ar(t) {
399
+ var e = t.length;
400
+ if (e !== 0) {
401
+ Er();
402
+ var r = bt;
403
+ bt = !0;
404
+ try {
405
+ for (var o = 0; o < e; o++) {
406
+ var n = t[o];
407
+ n.f & R || (n.f ^= R);
408
+ var i = [];
409
+ $r(n, i), Ko(i);
410
+ }
411
+ } finally {
412
+ bt = r;
413
+ }
414
+ }
415
+ }
416
+ function Ko(t) {
417
+ var e = t.length;
418
+ if (e !== 0)
419
+ for (var r = 0; r < e; r++) {
420
+ var o = t[r];
421
+ if (!(o.f & (_t | H)))
422
+ try {
423
+ Nt(o) && (Ce(o), o.deps === null && o.first === null && o.nodes_start === null && (o.teardown === null ? Lr(o) : o.fn = null));
424
+ } catch (n) {
425
+ Wt(n, o, null, o.ctx);
426
+ }
427
+ }
428
+ }
429
+ function qo() {
430
+ if (Tt = !1, wt > 1001)
431
+ return;
432
+ const t = lt;
433
+ lt = [], Ar(t), Tt || (wt = 0, St = null);
434
+ }
435
+ function Zt(t) {
436
+ Pt === br && (Tt || (Tt = !0, queueMicrotask(qo))), St = t;
437
+ for (var e = t; e.parent !== null; ) {
438
+ e = e.parent;
439
+ var r = e.f;
440
+ if (r & (dt | Z)) {
441
+ if (!(r & R)) return;
442
+ e.f ^= R;
443
+ }
444
+ }
445
+ lt.push(e);
446
+ }
447
+ function $r(t, e) {
448
+ var r = t.first, o = [];
449
+ t: for (; r !== null; ) {
450
+ var n = r.f, i = (n & Z) !== 0, a = i && (n & R) !== 0, l = r.next;
451
+ if (!a && !(n & H))
452
+ if (n & Mt) {
453
+ if (i)
454
+ r.f ^= R;
455
+ else
456
+ try {
457
+ Nt(r) && Ce(r);
458
+ } catch (u) {
459
+ Wt(u, r, null, r.ctx);
460
+ }
461
+ var c = r.first;
462
+ if (c !== null) {
463
+ r = c;
464
+ continue;
465
+ }
466
+ } else n & sr && o.push(r);
467
+ if (l === null) {
468
+ let u = r.parent;
469
+ for (; u !== null; ) {
470
+ if (t === u)
471
+ break t;
472
+ var s = u.next;
473
+ if (s !== null) {
474
+ r = s;
475
+ continue t;
476
+ }
477
+ u = u.parent;
478
+ }
479
+ }
480
+ r = l;
481
+ }
482
+ for (var p = 0; p < o.length; p++)
483
+ c = o[p], e.push(c), $r(c, e);
484
+ }
485
+ function Jt(t) {
486
+ var e = Pt, r = lt;
487
+ try {
488
+ Er();
489
+ const n = [];
490
+ Pt = jo, lt = n, Tt = !1, Ar(r);
491
+ var o = t == null ? void 0 : t();
492
+ return xo(), (lt.length > 0 || n.length > 0) && Jt(), wt = 0, St = null, o;
493
+ } finally {
494
+ Pt = e, lt = r;
495
+ }
496
+ }
497
+ async function jc() {
498
+ await Promise.resolve(), Jt();
499
+ }
500
+ function I(t) {
501
+ var e = t.f, r = (e & G) !== 0;
502
+ if (r && e & _t) {
503
+ var o = vr(
504
+ /** @type {Derived} */
505
+ t
506
+ );
507
+ return Bo(
508
+ /** @type {Derived} */
509
+ t
510
+ ), o;
511
+ }
512
+ if ($ !== null && !tt) {
513
+ K !== null && K.includes(t) && Lo();
514
+ var n = $.deps;
515
+ t.rv < Yt && (t.rv = Yt, L === null && n !== null && n[O] === t ? O++ : L === null ? L = [t] : L.push(t));
516
+ } else if (r && /** @type {Derived} */
517
+ t.deps === null && /** @type {Derived} */
518
+ t.effects === null) {
519
+ var i = (
520
+ /** @type {Derived} */
521
+ t
522
+ ), a = i.parent;
523
+ a !== null && (a.f & V || (i.f ^= V));
524
+ }
525
+ return r && (i = /** @type {Derived} */
526
+ t, Nt(i) && mr(i)), t.v;
527
+ }
528
+ function Ht(t) {
529
+ var e = tt;
530
+ try {
531
+ return tt = !0, t();
532
+ } finally {
533
+ tt = e;
534
+ }
535
+ }
536
+ const Vo = -7169;
537
+ function z(t, e) {
538
+ t.f = t.f & Vo | e;
539
+ }
540
+ function Uc(t) {
541
+ if (!(typeof t != "object" || !t || t instanceof EventTarget)) {
542
+ if (at in t)
543
+ le(t);
544
+ else if (!Array.isArray(t))
545
+ for (let e in t) {
546
+ const r = t[e];
547
+ typeof r == "object" && r && at in r && le(r);
548
+ }
549
+ }
550
+ }
551
+ function le(t, e = /* @__PURE__ */ new Set()) {
552
+ if (typeof t == "object" && t !== null && // We don't want to traverse DOM elements
553
+ !(t instanceof EventTarget) && !e.has(t)) {
554
+ e.add(t), t instanceof Date && t.getTime();
555
+ for (let o in t)
556
+ try {
557
+ le(t[o], e);
558
+ } catch {
559
+ }
560
+ const r = _e(t);
561
+ if (r !== Object.prototype && r !== Array.prototype && r !== Map.prototype && r !== Set.prototype && r !== Date.prototype) {
562
+ const o = ur(r);
563
+ for (let n in o) {
564
+ const i = o[n].get;
565
+ if (i)
566
+ try {
567
+ i.call(t);
568
+ } catch {
569
+ }
570
+ }
571
+ }
572
+ }
573
+ }
574
+ function Re(t) {
575
+ console.warn("https://svelte.dev/e/hydration_mismatch");
576
+ }
577
+ let E = !1;
578
+ function Q(t) {
579
+ E = t;
580
+ }
581
+ let A;
582
+ function j(t) {
583
+ if (t === null)
584
+ throw Re(), At;
585
+ return A = t;
586
+ }
587
+ function Xt() {
588
+ return j(
589
+ /** @type {TemplateNode} */
590
+ /* @__PURE__ */ nt(A)
591
+ );
592
+ }
593
+ function Gc(t) {
594
+ if (E) {
595
+ if (/* @__PURE__ */ nt(A) !== null)
596
+ throw Re(), At;
597
+ A = t;
598
+ }
599
+ }
600
+ function zc(t = 1) {
601
+ if (E) {
602
+ for (var e = t, r = A; e--; )
603
+ r = /** @type {TemplateNode} */
604
+ /* @__PURE__ */ nt(r);
605
+ A = r;
606
+ }
607
+ }
608
+ function ce() {
609
+ for (var t = 0, e = A; ; ) {
610
+ if (e.nodeType === 8) {
611
+ var r = (
612
+ /** @type {Comment} */
613
+ e.data
614
+ );
615
+ if (r === me) {
616
+ if (t === 0) return e;
617
+ t -= 1;
618
+ } else (r === ar || r === ve) && (t += 1);
619
+ }
620
+ var o = (
621
+ /** @type {TemplateNode} */
622
+ /* @__PURE__ */ nt(e)
623
+ );
624
+ e.remove(), e = o;
625
+ }
626
+ }
627
+ function mt(t, e = null, r) {
628
+ if (typeof t != "object" || t === null || at in t)
629
+ return t;
630
+ const o = _e(t);
631
+ if (o !== wo && o !== yo)
632
+ return t;
633
+ var n = /* @__PURE__ */ new Map(), i = ye(t), a = B(0);
634
+ i && n.set("length", B(
635
+ /** @type {any[]} */
636
+ t.length
637
+ ));
638
+ var l;
639
+ return new Proxy(
640
+ /** @type {any} */
641
+ t,
642
+ {
643
+ defineProperty(c, s, p) {
644
+ (!("value" in p) || p.configurable === !1 || p.enumerable === !1 || p.writable === !1) && Mo();
645
+ var u = n.get(s);
646
+ return u === void 0 ? (u = B(p.value), n.set(s, u)) : Y(u, mt(p.value, l)), !0;
647
+ },
648
+ deleteProperty(c, s) {
649
+ var p = n.get(s);
650
+ if (p === void 0)
651
+ s in c && n.set(s, B(N));
652
+ else {
653
+ if (i && typeof s == "string") {
654
+ var u = (
655
+ /** @type {Source<number>} */
656
+ n.get("length")
657
+ ), d = Number(s);
658
+ Number.isInteger(d) && d < u.v && Y(u, d);
659
+ }
660
+ Y(p, N), Ye(a);
661
+ }
662
+ return !0;
663
+ },
664
+ get(c, s, p) {
665
+ var m;
666
+ if (s === at)
667
+ return t;
668
+ var u = n.get(s), d = s in c;
669
+ if (u === void 0 && (!d || (m = ut(c, s)) != null && m.writable) && (u = B(mt(d ? c[s] : N, l)), n.set(s, u)), u !== void 0) {
670
+ var f = I(u);
671
+ return f === N ? void 0 : f;
672
+ }
673
+ return Reflect.get(c, s, p);
674
+ },
675
+ getOwnPropertyDescriptor(c, s) {
676
+ var p = Reflect.getOwnPropertyDescriptor(c, s);
677
+ if (p && "value" in p) {
678
+ var u = n.get(s);
679
+ u && (p.value = I(u));
680
+ } else if (p === void 0) {
681
+ var d = n.get(s), f = d == null ? void 0 : d.v;
682
+ if (d !== void 0 && f !== N)
683
+ return {
684
+ enumerable: !0,
685
+ configurable: !0,
686
+ value: f,
687
+ writable: !0
688
+ };
689
+ }
690
+ return p;
691
+ },
692
+ has(c, s) {
693
+ var f;
694
+ if (s === at)
695
+ return !0;
696
+ var p = n.get(s), u = p !== void 0 && p.v !== N || Reflect.has(c, s);
697
+ if (p !== void 0 || x !== null && (!u || (f = ut(c, s)) != null && f.writable)) {
698
+ p === void 0 && (p = B(u ? mt(c[s], l) : N), n.set(s, p));
699
+ var d = I(p);
700
+ if (d === N)
701
+ return !1;
702
+ }
703
+ return u;
704
+ },
705
+ set(c, s, p, u) {
706
+ var h;
707
+ var d = n.get(s), f = s in c;
708
+ if (i && s === "length")
709
+ for (var m = p; m < /** @type {Source<number>} */
710
+ d.v; m += 1) {
711
+ var g = n.get(m + "");
712
+ g !== void 0 ? Y(g, N) : m in c && (g = B(N), n.set(m + "", g));
713
+ }
714
+ d === void 0 ? (!f || (h = ut(c, s)) != null && h.writable) && (d = B(void 0), Y(d, mt(p, l)), n.set(s, d)) : (f = d.v !== N, Y(d, mt(p, l)));
715
+ var b = Reflect.getOwnPropertyDescriptor(c, s);
716
+ if (b != null && b.set && b.set.call(u, p), !f) {
717
+ if (i && typeof s == "string") {
718
+ var y = (
719
+ /** @type {Source<number>} */
720
+ n.get("length")
721
+ ), k = Number(s);
722
+ Number.isInteger(k) && k >= y.v && Y(y, k + 1);
723
+ }
724
+ Ye(a);
725
+ }
726
+ return !0;
727
+ },
728
+ ownKeys(c) {
729
+ I(a);
730
+ var s = Reflect.ownKeys(c).filter((d) => {
731
+ var f = n.get(d);
732
+ return f === void 0 || f.v !== N;
733
+ });
734
+ for (var [p, u] of n)
735
+ u.v !== N && !(p in c) && s.push(p);
736
+ return s;
737
+ },
738
+ setPrototypeOf() {
739
+ No();
740
+ }
741
+ }
742
+ );
743
+ }
744
+ function Ye(t, e = 1) {
745
+ Y(t, t.v + e);
746
+ }
747
+ function He(t) {
748
+ return t !== null && typeof t == "object" && at in t ? t[at] : t;
749
+ }
750
+ function Yc(t, e) {
751
+ return Object.is(He(t), He(e));
752
+ }
753
+ var Ke, Tr, Sr;
754
+ function ue() {
755
+ if (Ke === void 0) {
756
+ Ke = window;
757
+ var t = Element.prototype, e = Node.prototype;
758
+ Tr = ut(e, "firstChild").get, Sr = ut(e, "nextSibling").get, t.__click = void 0, t.__className = "", t.__attributes = null, t.__styles = null, t.__e = void 0, Text.prototype.__t = void 0;
759
+ }
760
+ }
761
+ function st(t = "") {
762
+ return document.createTextNode(t);
763
+ }
764
+ // @__NO_SIDE_EFFECTS__
765
+ function et(t) {
766
+ return Tr.call(t);
767
+ }
768
+ // @__NO_SIDE_EFFECTS__
769
+ function nt(t) {
770
+ return Sr.call(t);
771
+ }
772
+ function Hc(t, e) {
773
+ if (!E)
774
+ return /* @__PURE__ */ et(t);
775
+ var r = (
776
+ /** @type {TemplateNode} */
777
+ /* @__PURE__ */ et(A)
778
+ );
779
+ if (r === null)
780
+ r = A.appendChild(st());
781
+ else if (e && r.nodeType !== 3) {
782
+ var o = st();
783
+ return r == null || r.before(o), j(o), o;
784
+ }
785
+ return j(r), r;
786
+ }
787
+ function Kc(t, e) {
788
+ if (!E) {
789
+ var r = (
790
+ /** @type {DocumentFragment} */
791
+ /* @__PURE__ */ et(
792
+ /** @type {Node} */
793
+ t
794
+ )
795
+ );
796
+ return r instanceof Comment && r.data === "" ? /* @__PURE__ */ nt(r) : r;
797
+ }
798
+ return A;
799
+ }
800
+ function qc(t, e = 1, r = !1) {
801
+ let o = E ? A : t;
802
+ for (var n; e--; )
803
+ n = o, o = /** @type {TemplateNode} */
804
+ /* @__PURE__ */ nt(o);
805
+ if (!E)
806
+ return o;
807
+ var i = o == null ? void 0 : o.nodeType;
808
+ if (r && i !== 3) {
809
+ var a = st();
810
+ return o === null ? n == null || n.after(a) : o.before(a), j(a), a;
811
+ }
812
+ return j(o), /** @type {TemplateNode} */
813
+ o;
814
+ }
815
+ function Cr(t) {
816
+ t.textContent = "";
817
+ }
818
+ function Wo(t) {
819
+ x === null && $ === null && To(), $ !== null && $.f & V && x === null && $o(), Se && Ao();
820
+ }
821
+ function Zo(t, e) {
822
+ var r = e.last;
823
+ r === null ? e.last = e.first = t : (r.next = t, t.prev = r, e.last = t);
824
+ }
825
+ function pt(t, e, r, o = !0) {
826
+ var n = (t & dt) !== 0, i = x, a = {
827
+ ctx: C,
828
+ deps: null,
829
+ nodes_start: null,
830
+ nodes_end: null,
831
+ f: t | ot,
832
+ first: null,
833
+ fn: e,
834
+ last: null,
835
+ next: null,
836
+ parent: n ? null : i,
837
+ prev: null,
838
+ teardown: null,
839
+ transitions: null,
840
+ wv: 0
841
+ };
842
+ if (r) {
843
+ var l = bt;
844
+ try {
845
+ Ge(!0), Ce(a), a.f |= go;
846
+ } catch (p) {
847
+ throw rt(a), p;
848
+ } finally {
849
+ Ge(l);
850
+ }
851
+ } else e !== null && Zt(a);
852
+ var c = r && a.deps === null && a.first === null && a.nodes_start === null && a.teardown === null && (a.f & (lr | Ft)) === 0;
853
+ if (!c && !n && o && (i !== null && Zo(a, i), $ !== null && $.f & G)) {
854
+ var s = (
855
+ /** @type {Derived} */
856
+ $
857
+ );
858
+ (s.effects ?? (s.effects = [])).push(a);
859
+ }
860
+ return a;
861
+ }
862
+ function Jo(t) {
863
+ const e = pt(Mt, null, !1);
864
+ return z(e, R), e.teardown = t, e;
865
+ }
866
+ function Xo(t) {
867
+ Wo();
868
+ var e = x !== null && (x.f & Z) !== 0 && C !== null && !C.m;
869
+ if (e) {
870
+ var r = (
871
+ /** @type {ComponentContext} */
872
+ C
873
+ );
874
+ (r.e ?? (r.e = [])).push({
875
+ fn: t,
876
+ effect: x,
877
+ reaction: $
878
+ });
879
+ } else {
880
+ var o = Rr(t);
881
+ return o;
882
+ }
883
+ }
884
+ function Qo(t) {
885
+ const e = pt(dt, t, !0);
886
+ return () => {
887
+ rt(e);
888
+ };
889
+ }
890
+ function tn(t) {
891
+ const e = pt(dt, t, !0);
892
+ return (r = {}) => new Promise((o) => {
893
+ r.outro ? Kt(e, () => {
894
+ rt(e), o(void 0);
895
+ }) : (rt(e), o(void 0));
896
+ });
897
+ }
898
+ function Rr(t) {
899
+ return pt(sr, t, !1);
900
+ }
901
+ function en(t) {
902
+ return pt(Mt, t, !0);
903
+ }
904
+ function Vc(t, e = [], r = $e) {
905
+ const o = e.map(r);
906
+ return Me(() => t(...o.map(I)));
907
+ }
908
+ function Me(t, e = 0) {
909
+ return pt(Mt | be | e, t, !0);
910
+ }
911
+ function Rt(t, e = !0) {
912
+ return pt(Mt | Z, t, !0, e);
913
+ }
914
+ function Mr(t) {
915
+ var e = t.teardown;
916
+ if (e !== null) {
917
+ const r = Se, o = $;
918
+ ze(!0), W(null);
919
+ try {
920
+ e.call(null);
921
+ } finally {
922
+ ze(r), W(o);
923
+ }
924
+ }
925
+ }
926
+ function Nr(t, e = !1) {
927
+ var r = t.first;
928
+ for (t.first = t.last = null; r !== null; ) {
929
+ var o = r.next;
930
+ rt(r, e), r = o;
931
+ }
932
+ }
933
+ function rn(t) {
934
+ for (var e = t.first; e !== null; ) {
935
+ var r = e.next;
936
+ e.f & Z || rt(e), e = r;
937
+ }
938
+ }
939
+ function rt(t, e = !0) {
940
+ var r = !1;
941
+ if ((e || t.f & vo) && t.nodes_start !== null) {
942
+ for (var o = t.nodes_start, n = t.nodes_end; o !== null; ) {
943
+ var i = o === n ? null : (
944
+ /** @type {TemplateNode} */
945
+ /* @__PURE__ */ nt(o)
946
+ );
947
+ o.remove(), o = i;
948
+ }
949
+ r = !0;
950
+ }
951
+ Nr(t, e && !r), Ct(t, 0), z(t, _t);
952
+ var a = t.transitions;
953
+ if (a !== null)
954
+ for (const c of a)
955
+ c.stop();
956
+ Mr(t);
957
+ var l = t.parent;
958
+ l !== null && l.first !== null && Lr(t), t.next = t.prev = t.teardown = t.ctx = t.deps = t.fn = t.nodes_start = t.nodes_end = null;
959
+ }
960
+ function Lr(t) {
961
+ var e = t.parent, r = t.prev, o = t.next;
962
+ r !== null && (r.next = o), o !== null && (o.prev = r), e !== null && (e.first === t && (e.first = o), e.last === t && (e.last = r));
963
+ }
964
+ function Kt(t, e) {
965
+ var r = [];
966
+ Ne(t, r, !0), Or(r, () => {
967
+ rt(t), e && e();
968
+ });
969
+ }
970
+ function Or(t, e) {
971
+ var r = t.length;
972
+ if (r > 0) {
973
+ var o = () => --r || e();
974
+ for (var n of t)
975
+ n.out(o);
976
+ } else
977
+ e();
978
+ }
979
+ function Ne(t, e, r) {
980
+ if (!(t.f & H)) {
981
+ if (t.f ^= H, t.transitions !== null)
982
+ for (const a of t.transitions)
983
+ (a.is_global || r) && e.push(a);
984
+ for (var o = t.first; o !== null; ) {
985
+ var n = o.next, i = (o.f & we) !== 0 || (o.f & Z) !== 0;
986
+ Ne(o, e, i ? r : !1), o = n;
987
+ }
988
+ }
989
+ }
990
+ function qt(t) {
991
+ Ir(t, !0);
992
+ }
993
+ function Ir(t, e) {
994
+ if (t.f & H) {
995
+ t.f ^= H, t.f & R || (t.f ^= R), Nt(t) && (z(t, ot), Zt(t));
996
+ for (var r = t.first; r !== null; ) {
997
+ var o = r.next, n = (r.f & we) !== 0 || (r.f & Z) !== 0;
998
+ Ir(r, n ? e : !1), r = o;
999
+ }
1000
+ if (t.transitions !== null)
1001
+ for (const i of t.transitions)
1002
+ (i.is_global || e) && i.in();
1003
+ }
1004
+ }
1005
+ function Pr(t) {
1006
+ throw new Error("https://svelte.dev/e/lifecycle_outside_component");
1007
+ }
1008
+ let C = null;
1009
+ function qe(t) {
1010
+ C = t;
1011
+ }
1012
+ function Dr(t, e = !1, r) {
1013
+ C = {
1014
+ p: C,
1015
+ c: null,
1016
+ e: null,
1017
+ m: !1,
1018
+ s: t,
1019
+ x: null,
1020
+ l: null
1021
+ };
1022
+ }
1023
+ function Fr(t) {
1024
+ const e = C;
1025
+ if (e !== null) {
1026
+ t !== void 0 && (e.x = t);
1027
+ const a = e.e;
1028
+ if (a !== null) {
1029
+ var r = x, o = $;
1030
+ e.e = null;
1031
+ try {
1032
+ for (var n = 0; n < a.length; n++) {
1033
+ var i = a[n];
1034
+ U(i.effect), W(i.reaction), Rr(i.fn);
1035
+ }
1036
+ } finally {
1037
+ U(r), W(o);
1038
+ }
1039
+ }
1040
+ C = e.p, e.m = !0;
1041
+ }
1042
+ return t || /** @type {T} */
1043
+ {};
1044
+ }
1045
+ function on(t) {
1046
+ return t.endsWith("capture") && t !== "gotpointercapture" && t !== "lostpointercapture";
1047
+ }
1048
+ const nn = [
1049
+ "beforeinput",
1050
+ "click",
1051
+ "change",
1052
+ "dblclick",
1053
+ "contextmenu",
1054
+ "focusin",
1055
+ "focusout",
1056
+ "input",
1057
+ "keydown",
1058
+ "keyup",
1059
+ "mousedown",
1060
+ "mousemove",
1061
+ "mouseout",
1062
+ "mouseover",
1063
+ "mouseup",
1064
+ "pointerdown",
1065
+ "pointermove",
1066
+ "pointerout",
1067
+ "pointerover",
1068
+ "pointerup",
1069
+ "touchend",
1070
+ "touchmove",
1071
+ "touchstart"
1072
+ ];
1073
+ function an(t) {
1074
+ return nn.includes(t);
1075
+ }
1076
+ const sn = {
1077
+ // no `class: 'className'` because we handle that separately
1078
+ formnovalidate: "formNoValidate",
1079
+ ismap: "isMap",
1080
+ nomodule: "noModule",
1081
+ playsinline: "playsInline",
1082
+ readonly: "readOnly",
1083
+ defaultvalue: "defaultValue",
1084
+ defaultchecked: "defaultChecked",
1085
+ srcobject: "srcObject",
1086
+ novalidate: "noValidate",
1087
+ allowfullscreen: "allowFullscreen",
1088
+ disablepictureinpicture: "disablePictureInPicture",
1089
+ disableremoteplayback: "disableRemotePlayback"
1090
+ };
1091
+ function ln(t) {
1092
+ return t = t.toLowerCase(), sn[t] ?? t;
1093
+ }
1094
+ const cn = ["touchstart", "touchmove"];
1095
+ function un(t) {
1096
+ return cn.includes(t);
1097
+ }
1098
+ function fn(t, e) {
1099
+ if (e) {
1100
+ const r = document.body;
1101
+ t.autofocus = !0, xe(() => {
1102
+ document.activeElement === r && t.focus();
1103
+ });
1104
+ }
1105
+ }
1106
+ let Ve = !1;
1107
+ function Br() {
1108
+ Ve || (Ve = !0, document.addEventListener(
1109
+ "reset",
1110
+ (t) => {
1111
+ Promise.resolve().then(() => {
1112
+ var e;
1113
+ if (!t.defaultPrevented)
1114
+ for (
1115
+ const r of
1116
+ /**@type {HTMLFormElement} */
1117
+ t.target.elements
1118
+ )
1119
+ (e = r.__on_r) == null || e.call(r);
1120
+ });
1121
+ },
1122
+ // In the capture phase to guarantee we get noticed of it (no possiblity of stopPropagation)
1123
+ { capture: !0 }
1124
+ ));
1125
+ }
1126
+ function jr(t) {
1127
+ var e = $, r = x;
1128
+ W(null), U(null);
1129
+ try {
1130
+ return t();
1131
+ } finally {
1132
+ W(e), U(r);
1133
+ }
1134
+ }
1135
+ function Wc(t, e, r, o = r) {
1136
+ t.addEventListener(e, () => jr(r));
1137
+ const n = t.__on_r;
1138
+ n ? t.__on_r = () => {
1139
+ n(), o(!0);
1140
+ } : t.__on_r = () => o(!0), Br();
1141
+ }
1142
+ const Ur = /* @__PURE__ */ new Set(), fe = /* @__PURE__ */ new Set();
1143
+ function Gr(t, e, r, o = {}) {
1144
+ function n(i) {
1145
+ if (o.capture || Et.call(e, i), !i.cancelBubble)
1146
+ return jr(() => r == null ? void 0 : r.call(this, i));
1147
+ }
1148
+ return t.startsWith("pointer") || t.startsWith("touch") || t === "wheel" ? xe(() => {
1149
+ e.addEventListener(t, n, o);
1150
+ }) : e.addEventListener(t, n, o), n;
1151
+ }
1152
+ function Zc(t, e, r, o, n) {
1153
+ var i = { capture: o, passive: n }, a = Gr(t, e, r, i);
1154
+ (e === document.body || e === window || e === document) && Jo(() => {
1155
+ e.removeEventListener(t, a, i);
1156
+ });
1157
+ }
1158
+ function hn(t) {
1159
+ for (var e = 0; e < t.length; e++)
1160
+ Ur.add(t[e]);
1161
+ for (var r of fe)
1162
+ r(t);
1163
+ }
1164
+ function Et(t) {
1165
+ var k;
1166
+ var e = this, r = (
1167
+ /** @type {Node} */
1168
+ e.ownerDocument
1169
+ ), o = t.type, n = ((k = t.composedPath) == null ? void 0 : k.call(t)) || [], i = (
1170
+ /** @type {null | Element} */
1171
+ n[0] || t.target
1172
+ ), a = 0, l = t.__root;
1173
+ if (l) {
1174
+ var c = n.indexOf(l);
1175
+ if (c !== -1 && (e === document || e === /** @type {any} */
1176
+ window)) {
1177
+ t.__root = e;
1178
+ return;
1179
+ }
1180
+ var s = n.indexOf(e);
1181
+ if (s === -1)
1182
+ return;
1183
+ c <= s && (a = c);
1184
+ }
1185
+ if (i = /** @type {Element} */
1186
+ n[a] || t.target, i !== e) {
1187
+ Ut(t, "currentTarget", {
1188
+ configurable: !0,
1189
+ get() {
1190
+ return i || r;
1191
+ }
1192
+ });
1193
+ var p = $, u = x;
1194
+ W(null), U(null);
1195
+ try {
1196
+ for (var d, f = []; i !== null; ) {
1197
+ var m = i.assignedSlot || i.parentNode || /** @type {any} */
1198
+ i.host || null;
1199
+ try {
1200
+ var g = i["__" + o];
1201
+ if (g !== void 0 && !/** @type {any} */
1202
+ i.disabled)
1203
+ if (ye(g)) {
1204
+ var [b, ...y] = g;
1205
+ b.apply(i, [t, ...y]);
1206
+ } else
1207
+ g.call(i, t);
1208
+ } catch (h) {
1209
+ d ? f.push(h) : d = h;
1210
+ }
1211
+ if (t.cancelBubble || m === e || m === null)
1212
+ break;
1213
+ i = m;
1214
+ }
1215
+ if (d) {
1216
+ for (let h of f)
1217
+ queueMicrotask(() => {
1218
+ throw h;
1219
+ });
1220
+ throw d;
1221
+ }
1222
+ } finally {
1223
+ t.__root = e, delete t.currentTarget, W(p), U(u);
1224
+ }
1225
+ }
1226
+ }
1227
+ function zr(t) {
1228
+ var e = document.createElement("template");
1229
+ return e.innerHTML = t, e.content;
1230
+ }
1231
+ function q(t, e) {
1232
+ var r = (
1233
+ /** @type {Effect} */
1234
+ x
1235
+ );
1236
+ r.nodes_start === null && (r.nodes_start = t, r.nodes_end = e);
1237
+ }
1238
+ // @__NO_SIDE_EFFECTS__
1239
+ function Jc(t, e) {
1240
+ var r = (e & ho) !== 0, o = (e & po) !== 0, n, i = !t.startsWith("<!>");
1241
+ return () => {
1242
+ if (E)
1243
+ return q(A, null), A;
1244
+ n === void 0 && (n = zr(i ? t : "<!>" + t), r || (n = /** @type {Node} */
1245
+ /* @__PURE__ */ et(n)));
1246
+ var a = (
1247
+ /** @type {TemplateNode} */
1248
+ o ? document.importNode(n, !0) : n.cloneNode(!0)
1249
+ );
1250
+ if (r) {
1251
+ var l = (
1252
+ /** @type {TemplateNode} */
1253
+ /* @__PURE__ */ et(a)
1254
+ ), c = (
1255
+ /** @type {TemplateNode} */
1256
+ a.lastChild
1257
+ );
1258
+ q(l, c);
1259
+ } else
1260
+ q(a, a);
1261
+ return a;
1262
+ };
1263
+ }
1264
+ // @__NO_SIDE_EFFECTS__
1265
+ function Xc(t, e, r = "svg") {
1266
+ var o = !t.startsWith("<!>"), n = `<${r}>${o ? t : "<!>" + t}</${r}>`, i;
1267
+ return () => {
1268
+ if (E)
1269
+ return q(A, null), A;
1270
+ if (!i) {
1271
+ var a = (
1272
+ /** @type {DocumentFragment} */
1273
+ zr(n)
1274
+ ), l = (
1275
+ /** @type {Element} */
1276
+ /* @__PURE__ */ et(a)
1277
+ );
1278
+ i = /** @type {Element} */
1279
+ /* @__PURE__ */ et(l);
1280
+ }
1281
+ var c = (
1282
+ /** @type {TemplateNode} */
1283
+ i.cloneNode(!0)
1284
+ );
1285
+ return q(c, c), c;
1286
+ };
1287
+ }
1288
+ function Qc(t = "") {
1289
+ if (!E) {
1290
+ var e = st(t + "");
1291
+ return q(e, e), e;
1292
+ }
1293
+ var r = A;
1294
+ return r.nodeType !== 3 && (r.before(r = st()), j(r)), q(r, r), r;
1295
+ }
1296
+ function tu() {
1297
+ if (E)
1298
+ return q(A, null), A;
1299
+ var t = document.createDocumentFragment(), e = document.createComment(""), r = st();
1300
+ return t.append(e, r), q(e, r), t;
1301
+ }
1302
+ function dn(t, e) {
1303
+ if (E) {
1304
+ x.nodes_end = A, Xt();
1305
+ return;
1306
+ }
1307
+ t !== null && t.before(
1308
+ /** @type {Node} */
1309
+ e
1310
+ );
1311
+ }
1312
+ function eu(t, e) {
1313
+ var r = e == null ? "" : typeof e == "object" ? e + "" : e;
1314
+ r !== (t.__t ?? (t.__t = t.nodeValue)) && (t.__t = r, t.nodeValue = r == null ? "" : r + "");
1315
+ }
1316
+ function Yr(t, e) {
1317
+ return Hr(t, e);
1318
+ }
1319
+ function pn(t, e) {
1320
+ ue(), e.intro = e.intro ?? !1;
1321
+ const r = e.target, o = E, n = A;
1322
+ try {
1323
+ for (var i = (
1324
+ /** @type {TemplateNode} */
1325
+ /* @__PURE__ */ et(r)
1326
+ ); i && (i.nodeType !== 8 || /** @type {Comment} */
1327
+ i.data !== ar); )
1328
+ i = /** @type {TemplateNode} */
1329
+ /* @__PURE__ */ nt(i);
1330
+ if (!i)
1331
+ throw At;
1332
+ Q(!0), j(
1333
+ /** @type {Comment} */
1334
+ i
1335
+ ), Xt();
1336
+ const a = Hr(t, { ...e, anchor: i });
1337
+ if (A === null || A.nodeType !== 8 || /** @type {Comment} */
1338
+ A.data !== me)
1339
+ throw Re(), At;
1340
+ return Q(!1), /** @type {Exports} */
1341
+ a;
1342
+ } catch (a) {
1343
+ if (a === At)
1344
+ return e.recover === !1 && Co(), ue(), Cr(r), Q(!1), Yr(t, e);
1345
+ throw a;
1346
+ } finally {
1347
+ Q(o), j(n);
1348
+ }
1349
+ }
1350
+ const gt = /* @__PURE__ */ new Map();
1351
+ function Hr(t, { target: e, anchor: r, props: o = {}, events: n, context: i, intro: a = !0 }) {
1352
+ ue();
1353
+ var l = /* @__PURE__ */ new Set(), c = (u) => {
1354
+ for (var d = 0; d < u.length; d++) {
1355
+ var f = u[d];
1356
+ if (!l.has(f)) {
1357
+ l.add(f);
1358
+ var m = un(f);
1359
+ e.addEventListener(f, Et, { passive: m });
1360
+ var g = gt.get(f);
1361
+ g === void 0 ? (document.addEventListener(f, Et, { passive: m }), gt.set(f, 1)) : gt.set(f, g + 1);
1362
+ }
1363
+ }
1364
+ };
1365
+ c(ke(Ur)), fe.add(c);
1366
+ var s = void 0, p = tn(() => {
1367
+ var u = r ?? e.appendChild(st());
1368
+ return Rt(() => {
1369
+ if (i) {
1370
+ Dr({});
1371
+ var d = (
1372
+ /** @type {ComponentContext} */
1373
+ C
1374
+ );
1375
+ d.c = i;
1376
+ }
1377
+ n && (o.$$events = n), E && q(
1378
+ /** @type {TemplateNode} */
1379
+ u,
1380
+ null
1381
+ ), s = t(u, o) || {}, E && (x.nodes_end = A), i && Fr();
1382
+ }), () => {
1383
+ var m;
1384
+ for (var d of l) {
1385
+ e.removeEventListener(d, Et);
1386
+ var f = (
1387
+ /** @type {number} */
1388
+ gt.get(d)
1389
+ );
1390
+ --f === 0 ? (document.removeEventListener(d, Et), gt.delete(d)) : gt.set(d, f);
1391
+ }
1392
+ fe.delete(c), u !== r && ((m = u.parentNode) == null || m.removeChild(u));
1393
+ };
1394
+ });
1395
+ return he.set(s, p), s;
1396
+ }
1397
+ let he = /* @__PURE__ */ new WeakMap();
1398
+ function gn(t, e) {
1399
+ const r = he.get(t);
1400
+ return r ? (he.delete(t), r(e)) : Promise.resolve();
1401
+ }
1402
+ function ru(t, e, r = !1) {
1403
+ E && Xt();
1404
+ var o = t, n = null, i = null, a = N, l = r ? we : 0, c = !1;
1405
+ const s = (u, d = !0) => {
1406
+ c = !0, p(d, u);
1407
+ }, p = (u, d) => {
1408
+ if (a === (a = u)) return;
1409
+ let f = !1;
1410
+ if (E) {
1411
+ const m = (
1412
+ /** @type {Comment} */
1413
+ o.data === ve
1414
+ );
1415
+ !!a === m && (o = ce(), j(o), Q(!1), f = !0);
1416
+ }
1417
+ a ? (n ? qt(n) : d && (n = Rt(() => d(o))), i && Kt(i, () => {
1418
+ i = null;
1419
+ })) : (i ? qt(i) : d && (i = Rt(() => d(o))), n && Kt(n, () => {
1420
+ n = null;
1421
+ })), f && Q(!0);
1422
+ };
1423
+ Me(() => {
1424
+ c = !1, e(s), c || p(null, null);
1425
+ }, l), E && (o = A);
1426
+ }
1427
+ let oe = null;
1428
+ function ou(t, e) {
1429
+ return e;
1430
+ }
1431
+ function vn(t, e, r, o) {
1432
+ for (var n = [], i = e.length, a = 0; a < i; a++)
1433
+ Ne(e[a].e, n, !0);
1434
+ var l = i > 0 && n.length === 0 && r !== null;
1435
+ if (l) {
1436
+ var c = (
1437
+ /** @type {Element} */
1438
+ /** @type {Element} */
1439
+ r.parentNode
1440
+ );
1441
+ Cr(c), c.append(
1442
+ /** @type {Element} */
1443
+ r
1444
+ ), o.clear(), it(t, e[0].prev, e[i - 1].next);
1445
+ }
1446
+ Or(n, () => {
1447
+ for (var s = 0; s < i; s++) {
1448
+ var p = e[s];
1449
+ l || (o.delete(p.k), it(t, p.prev, p.next)), rt(p.e, !l);
1450
+ }
1451
+ });
1452
+ }
1453
+ function nu(t, e, r, o, n, i = null) {
1454
+ var a = t, l = { flags: e, items: /* @__PURE__ */ new Map(), first: null }, c = (e & ir) !== 0;
1455
+ if (c) {
1456
+ var s = (
1457
+ /** @type {Element} */
1458
+ t
1459
+ );
1460
+ a = E ? j(
1461
+ /** @type {Comment | Text} */
1462
+ /* @__PURE__ */ et(s)
1463
+ ) : s.appendChild(st());
1464
+ }
1465
+ E && Xt();
1466
+ var p = null, u = !1, d = /* @__PURE__ */ Do(() => {
1467
+ var f = r();
1468
+ return ye(f) ? f : f == null ? [] : ke(f);
1469
+ });
1470
+ Me(() => {
1471
+ var f = I(d), m = f.length;
1472
+ if (u && m === 0)
1473
+ return;
1474
+ u = m === 0;
1475
+ let g = !1;
1476
+ if (E) {
1477
+ var b = (
1478
+ /** @type {Comment} */
1479
+ a.data === ve
1480
+ );
1481
+ b !== (m === 0) && (a = ce(), j(a), Q(!1), g = !0);
1482
+ }
1483
+ if (E) {
1484
+ for (var y = null, k, h = 0; h < m; h++) {
1485
+ if (A.nodeType === 8 && /** @type {Comment} */
1486
+ A.data === me) {
1487
+ a = /** @type {Comment} */
1488
+ A, g = !0, Q(!1);
1489
+ break;
1490
+ }
1491
+ var w = f[h], v = o(w, h);
1492
+ k = Kr(
1493
+ A,
1494
+ l,
1495
+ y,
1496
+ null,
1497
+ w,
1498
+ v,
1499
+ h,
1500
+ n,
1501
+ e,
1502
+ r
1503
+ ), l.items.set(v, k), y = k;
1504
+ }
1505
+ m > 0 && j(ce());
1506
+ }
1507
+ if (!E) {
1508
+ var _ = (
1509
+ /** @type {Effect} */
1510
+ $
1511
+ );
1512
+ mn(
1513
+ f,
1514
+ l,
1515
+ a,
1516
+ n,
1517
+ e,
1518
+ (_.f & H) !== 0,
1519
+ o,
1520
+ r
1521
+ );
1522
+ }
1523
+ i !== null && (m === 0 ? p ? qt(p) : p = Rt(() => i(a)) : p !== null && Kt(p, () => {
1524
+ p = null;
1525
+ })), g && Q(!0), I(d);
1526
+ }), E && (a = A);
1527
+ }
1528
+ function mn(t, e, r, o, n, i, a, l) {
1529
+ var Ie, Pe, De, Fe;
1530
+ var c = (n & ao) !== 0, s = (n & (pe | ge)) !== 0, p = t.length, u = e.items, d = e.first, f = d, m, g = null, b, y = [], k = [], h, w, v, _;
1531
+ if (c)
1532
+ for (_ = 0; _ < p; _ += 1)
1533
+ h = t[_], w = a(h, _), v = u.get(w), v !== void 0 && ((Ie = v.a) == null || Ie.measure(), (b ?? (b = /* @__PURE__ */ new Set())).add(v));
1534
+ for (_ = 0; _ < p; _ += 1) {
1535
+ if (h = t[_], w = a(h, _), v = u.get(w), v === void 0) {
1536
+ var S = f ? (
1537
+ /** @type {TemplateNode} */
1538
+ f.e.nodes_start
1539
+ ) : r;
1540
+ g = Kr(
1541
+ S,
1542
+ e,
1543
+ g,
1544
+ g === null ? e.first : g.next,
1545
+ h,
1546
+ w,
1547
+ _,
1548
+ o,
1549
+ n,
1550
+ l
1551
+ ), u.set(w, g), y = [], k = [], f = g.next;
1552
+ continue;
1553
+ }
1554
+ if (s && bn(v, h, _, n), v.e.f & H && (qt(v.e), c && ((Pe = v.a) == null || Pe.unfix(), (b ?? (b = /* @__PURE__ */ new Set())).delete(v))), v !== f) {
1555
+ if (m !== void 0 && m.has(v)) {
1556
+ if (y.length < k.length) {
1557
+ var T = k[0], P;
1558
+ g = T.prev;
1559
+ var Oe = y[0], Qt = y[y.length - 1];
1560
+ for (P = 0; P < y.length; P += 1)
1561
+ We(y[P], T, r);
1562
+ for (P = 0; P < k.length; P += 1)
1563
+ m.delete(k[P]);
1564
+ it(e, Oe.prev, Qt.next), it(e, g, Oe), it(e, Qt, T), f = T, g = Qt, _ -= 1, y = [], k = [];
1565
+ } else
1566
+ m.delete(v), We(v, f, r), it(e, v.prev, v.next), it(e, v, g === null ? e.first : g.next), it(e, g, v), g = v;
1567
+ continue;
1568
+ }
1569
+ for (y = [], k = []; f !== null && f.k !== w; )
1570
+ (i || !(f.e.f & H)) && (m ?? (m = /* @__PURE__ */ new Set())).add(f), k.push(f), f = f.next;
1571
+ if (f === null)
1572
+ continue;
1573
+ v = f;
1574
+ }
1575
+ y.push(v), g = v, f = v.next;
1576
+ }
1577
+ if (f !== null || m !== void 0) {
1578
+ for (var xt = m === void 0 ? [] : ke(m); f !== null; )
1579
+ (i || !(f.e.f & H)) && xt.push(f), f = f.next;
1580
+ var te = xt.length;
1581
+ if (te > 0) {
1582
+ var ro = n & ir && p === 0 ? r : null;
1583
+ if (c) {
1584
+ for (_ = 0; _ < te; _ += 1)
1585
+ (De = xt[_].a) == null || De.measure();
1586
+ for (_ = 0; _ < te; _ += 1)
1587
+ (Fe = xt[_].a) == null || Fe.fix();
1588
+ }
1589
+ vn(e, xt, ro, u);
1590
+ }
1591
+ }
1592
+ c && xe(() => {
1593
+ var Be;
1594
+ if (b !== void 0)
1595
+ for (v of b)
1596
+ (Be = v.a) == null || Be.apply();
1597
+ }), x.first = e.first && e.first.e, x.last = g && g.e;
1598
+ }
1599
+ function bn(t, e, r, o) {
1600
+ o & pe && se(t.v, e), o & ge ? se(
1601
+ /** @type {Value<number>} */
1602
+ t.i,
1603
+ r
1604
+ ) : t.i = r;
1605
+ }
1606
+ function Kr(t, e, r, o, n, i, a, l, c, s) {
1607
+ var p = oe, u = (c & pe) !== 0, d = (c & so) === 0, f = u ? d ? /* @__PURE__ */ Ae(n) : B(n) : n, m = c & ge ? B(a) : a, g = {
1608
+ i: m,
1609
+ v: f,
1610
+ k: i,
1611
+ a: null,
1612
+ // @ts-expect-error
1613
+ e: null,
1614
+ prev: r,
1615
+ next: o
1616
+ };
1617
+ oe = g;
1618
+ try {
1619
+ return g.e = Rt(() => l(t, f, m, s), E), g.e.prev = r && r.e, g.e.next = o && o.e, r === null ? e.first = g : (r.next = g, r.e.next = g.e), o !== null && (o.prev = g, o.e.prev = g.e), g;
1620
+ } finally {
1621
+ oe = p;
1622
+ }
1623
+ }
1624
+ function We(t, e, r) {
1625
+ for (var o = t.next ? (
1626
+ /** @type {TemplateNode} */
1627
+ t.next.e.nodes_start
1628
+ ) : r, n = e ? (
1629
+ /** @type {TemplateNode} */
1630
+ e.e.nodes_start
1631
+ ) : r, i = (
1632
+ /** @type {TemplateNode} */
1633
+ t.e.nodes_start
1634
+ ); i !== o; ) {
1635
+ var a = (
1636
+ /** @type {TemplateNode} */
1637
+ /* @__PURE__ */ nt(i)
1638
+ );
1639
+ n.before(i), i = a;
1640
+ }
1641
+ }
1642
+ function it(t, e, r) {
1643
+ e === null ? t.first = r : (e.next = r, e.e.next = r && r.e), r !== null && (r.prev = e, r.e.prev = e && e.e);
1644
+ }
1645
+ function qr(t) {
1646
+ var e, r, o = "";
1647
+ if (typeof t == "string" || typeof t == "number") o += t;
1648
+ else if (typeof t == "object") if (Array.isArray(t)) {
1649
+ var n = t.length;
1650
+ for (e = 0; e < n; e++) t[e] && (r = qr(t[e])) && (o && (o += " "), o += r);
1651
+ } else for (r in t) t[r] && (o && (o += " "), o += r);
1652
+ return o;
1653
+ }
1654
+ function wn() {
1655
+ for (var t, e, r = 0, o = "", n = arguments.length; r < n; r++) (t = arguments[r]) && (e = qr(t)) && (o && (o += " "), o += e);
1656
+ return o;
1657
+ }
1658
+ function yn(t) {
1659
+ return typeof t == "object" ? wn(t) : t ?? "";
1660
+ }
1661
+ function iu(t) {
1662
+ if (E) {
1663
+ var e = !1, r = () => {
1664
+ if (!e) {
1665
+ if (e = !0, t.hasAttribute("value")) {
1666
+ var o = t.value;
1667
+ Vt(t, "value", null), t.value = o;
1668
+ }
1669
+ if (t.hasAttribute("checked")) {
1670
+ var n = t.checked;
1671
+ Vt(t, "checked", null), t.checked = n;
1672
+ }
1673
+ }
1674
+ };
1675
+ t.__on_r = r, _o(r), Br();
1676
+ }
1677
+ }
1678
+ function au(t, e) {
1679
+ var r = t.__attributes ?? (t.__attributes = {});
1680
+ r.value === (r.value = // treat null and undefined the same for the initial value
1681
+ e ?? void 0) || // @ts-expect-error
1682
+ // `progress` elements always need their value set when it's `0`
1683
+ t.value === e && (e !== 0 || t.nodeName !== "PROGRESS") || (t.value = e ?? "");
1684
+ }
1685
+ function kn(t, e) {
1686
+ e ? t.hasAttribute("selected") || t.setAttribute("selected", "") : t.removeAttribute("selected");
1687
+ }
1688
+ function Vt(t, e, r, o) {
1689
+ var n = t.__attributes ?? (t.__attributes = {});
1690
+ E && (n[e] = t.getAttribute(e), e === "src" || e === "srcset" || e === "href" && t.nodeName === "LINK") || n[e] !== (n[e] = r) && (e === "style" && "__styles" in t && (t.__styles = {}), e === "loading" && (t[mo] = r), r == null ? t.removeAttribute(e) : typeof r != "string" && Le(t).includes(e) ? t[e] = r : t.setAttribute(e, r));
1691
+ }
1692
+ function su(t, e, r) {
1693
+ var o = $, n = x;
1694
+ W(null), U(null);
1695
+ try {
1696
+ // Don't compute setters for custom elements while they aren't registered yet,
1697
+ // because during their upgrade/instantiation they might add more setters.
1698
+ // Instead, fall back to a simple "an object, then set as property" heuristic.
1699
+ (de.has(t.nodeName) || // customElements may not be available in browser extension contexts
1700
+ !customElements || customElements.get(t.tagName.toLowerCase()) ? Le(t).includes(e) : r && typeof r == "object") ? t[e] = r : Vt(t, e, r == null ? r : String(r));
1701
+ } finally {
1702
+ W(o), U(n);
1703
+ }
1704
+ }
1705
+ function lu(t, e, r, o, n = !1, i = !1, a = !1) {
1706
+ var l = e || {}, c = t.tagName === "OPTION";
1707
+ for (var s in e)
1708
+ s in r || (r[s] = null);
1709
+ r.class && (r.class = yn(r.class));
1710
+ var p = Le(t), u = (
1711
+ /** @type {Record<string, unknown>} **/
1712
+ t.__attributes ?? (t.__attributes = {})
1713
+ );
1714
+ for (const y in r) {
1715
+ let k = r[y];
1716
+ if (c && y === "value" && k == null) {
1717
+ t.value = t.__value = "", l[y] = k;
1718
+ continue;
1719
+ }
1720
+ var d = l[y];
1721
+ if (k !== d) {
1722
+ l[y] = k;
1723
+ var f = y[0] + y[1];
1724
+ if (f !== "$$") {
1725
+ if (f === "on") {
1726
+ const h = {}, w = "$$" + y;
1727
+ let v = y.slice(2);
1728
+ var m = an(v);
1729
+ if (on(v) && (v = v.slice(0, -7), h.capture = !0), !m && d) {
1730
+ if (k != null) continue;
1731
+ t.removeEventListener(v, l[w], h), l[w] = null;
1732
+ }
1733
+ if (k != null)
1734
+ if (m)
1735
+ t[`__${v}`] = k, hn([v]);
1736
+ else {
1737
+ let _ = function(S) {
1738
+ l[y].call(this, S);
1739
+ };
1740
+ l[w] = Gr(v, t, _, h);
1741
+ }
1742
+ else m && (t[`__${v}`] = void 0);
1743
+ } else if (y === "style" && k != null)
1744
+ t.style.cssText = k + "";
1745
+ else if (y === "autofocus")
1746
+ fn(
1747
+ /** @type {HTMLElement} */
1748
+ t,
1749
+ !!k
1750
+ );
1751
+ else if (y === "__value" || y === "value" && k != null)
1752
+ t.value = t[y] = t.__value = k;
1753
+ else if (y === "selected" && c)
1754
+ kn(
1755
+ /** @type {HTMLOptionElement} */
1756
+ t,
1757
+ k
1758
+ );
1759
+ else {
1760
+ var g = y;
1761
+ n || (g = ln(g));
1762
+ var b = g === "defaultValue" || g === "defaultChecked";
1763
+ if (k == null && !i && !b)
1764
+ if (u[y] = null, g === "value" || g === "checked") {
1765
+ let h = (
1766
+ /** @type {HTMLInputElement} */
1767
+ t
1768
+ );
1769
+ if (g === "value") {
1770
+ let w = h.defaultValue;
1771
+ h.removeAttribute(g), h.defaultValue = w;
1772
+ } else {
1773
+ let w = h.defaultChecked;
1774
+ h.removeAttribute(g), h.defaultChecked = w;
1775
+ }
1776
+ } else
1777
+ t.removeAttribute(y);
1778
+ else b || p.includes(g) && (i || typeof k != "string") ? t[g] = k : typeof k != "function" && (E && (g === "src" || g === "href" || g === "srcset") || Vt(t, g, k));
1779
+ }
1780
+ y === "style" && "__styles" in t && (t.__styles = {});
1781
+ }
1782
+ }
1783
+ }
1784
+ return l;
1785
+ }
1786
+ var de = /* @__PURE__ */ new Map();
1787
+ function Le(t) {
1788
+ var e = de.get(t.nodeName);
1789
+ if (e) return e;
1790
+ de.set(t.nodeName, e = []);
1791
+ for (var r, o = t, n = Element.prototype; n !== o; ) {
1792
+ r = ur(o);
1793
+ for (var i in r)
1794
+ r[i].set && e.push(i);
1795
+ o = _e(o);
1796
+ }
1797
+ return e;
1798
+ }
1799
+ function cu(t, e, r) {
1800
+ var o = t.__className, n = _n(e);
1801
+ E && t.className === n ? t.__className = n : (o !== n || E && t.className !== n) && (e == null ? t.removeAttribute("class") : t.className = n, t.__className = n);
1802
+ }
1803
+ function _n(t, e) {
1804
+ return (t ?? "") + "";
1805
+ }
1806
+ function uu(t, e, r) {
1807
+ if (r) {
1808
+ if (t.classList.contains(e)) return;
1809
+ t.classList.add(e);
1810
+ } else {
1811
+ if (!t.classList.contains(e)) return;
1812
+ t.classList.remove(e);
1813
+ }
1814
+ }
1815
+ function Vr(t) {
1816
+ C === null && Pr(), Xo(() => {
1817
+ const e = Ht(t);
1818
+ if (typeof e == "function") return (
1819
+ /** @type {() => void} */
1820
+ e
1821
+ );
1822
+ });
1823
+ }
1824
+ function fu(t) {
1825
+ C === null && Pr(), Vr(() => () => Ht(t));
1826
+ }
1827
+ let Lt = !1;
1828
+ function xn(t) {
1829
+ var e = Lt;
1830
+ try {
1831
+ return Lt = !1, [t(), Lt];
1832
+ } finally {
1833
+ Lt = e;
1834
+ }
1835
+ }
1836
+ const En = {
1837
+ get(t, e) {
1838
+ if (!t.exclude.includes(e))
1839
+ return t.props[e];
1840
+ },
1841
+ set(t, e) {
1842
+ return !1;
1843
+ },
1844
+ getOwnPropertyDescriptor(t, e) {
1845
+ if (!t.exclude.includes(e) && e in t.props)
1846
+ return {
1847
+ enumerable: !0,
1848
+ configurable: !0,
1849
+ value: t.props[e]
1850
+ };
1851
+ },
1852
+ has(t, e) {
1853
+ return t.exclude.includes(e) ? !1 : e in t.props;
1854
+ },
1855
+ ownKeys(t) {
1856
+ return Reflect.ownKeys(t.props).filter((e) => !t.exclude.includes(e));
1857
+ }
1858
+ };
1859
+ // @__NO_SIDE_EFFECTS__
1860
+ function hu(t, e, r) {
1861
+ return new Proxy(
1862
+ { props: t, exclude: e },
1863
+ En
1864
+ );
1865
+ }
1866
+ function An(t) {
1867
+ for (var e = x, r = x; e !== null && !(e.f & (Z | dt)); )
1868
+ e = e.parent;
1869
+ try {
1870
+ return U(e), t();
1871
+ } finally {
1872
+ U(r);
1873
+ }
1874
+ }
1875
+ function $n(t, e, r, o) {
1876
+ var _;
1877
+ var n = (r & lo) !== 0, i = !0, a = (r & uo) !== 0, l = (r & fo) !== 0, c = !1, s;
1878
+ a ? [s, c] = xn(() => (
1879
+ /** @type {V} */
1880
+ t[e]
1881
+ )) : s = /** @type {V} */
1882
+ t[e];
1883
+ var p = at in t || cr in t, u = a && (((_ = ut(t, e)) == null ? void 0 : _.set) ?? (p && e in t && ((S) => t[e] = S))) || void 0, d = (
1884
+ /** @type {V} */
1885
+ o
1886
+ ), f = !0, m = !1, g = () => (m = !0, f && (f = !1, l ? d = Ht(
1887
+ /** @type {() => V} */
1888
+ o
1889
+ ) : d = /** @type {V} */
1890
+ o), d);
1891
+ s === void 0 && o !== void 0 && (u && i && Ro(), s = g(), u && u(s));
1892
+ var b;
1893
+ if (b = () => {
1894
+ var S = (
1895
+ /** @type {V} */
1896
+ t[e]
1897
+ );
1898
+ return S === void 0 ? g() : (f = !0, m = !1, S);
1899
+ }, !(r & co))
1900
+ return b;
1901
+ if (u) {
1902
+ var y = t.$$legacy;
1903
+ return function(S, T) {
1904
+ return arguments.length > 0 ? ((!T || y || c) && u(T ? b() : S), S) : b();
1905
+ };
1906
+ }
1907
+ var k = !1, h = !1, w = /* @__PURE__ */ Ae(s), v = An(
1908
+ () => /* @__PURE__ */ $e(() => {
1909
+ var S = b(), T = I(w);
1910
+ return k ? (k = !1, h = !0, T) : (h = !1, w.v = S);
1911
+ })
1912
+ );
1913
+ return n || (v.equals = Ee), function(S, T) {
1914
+ if (arguments.length > 0) {
1915
+ const P = T ? I(v) : a ? mt(S) : S;
1916
+ return v.equals(P) || (k = !0, Y(w, P), m && d !== void 0 && (d = P), Ht(() => I(v))), S;
1917
+ }
1918
+ return I(v);
1919
+ };
1920
+ }
1921
+ function Tn(t) {
1922
+ return new Sn(t);
1923
+ }
1924
+ var X, F;
1925
+ class Sn {
1926
+ /**
1927
+ * @param {ComponentConstructorOptions & {
1928
+ * component: any;
1929
+ * }} options
1930
+ */
1931
+ constructor(e) {
1932
+ /** @type {any} */
1933
+ ee(this, X);
1934
+ /** @type {Record<string, any>} */
1935
+ ee(this, F);
1936
+ var i;
1937
+ var r = /* @__PURE__ */ new Map(), o = (a, l) => {
1938
+ var c = /* @__PURE__ */ Ae(l);
1939
+ return r.set(a, c), c;
1940
+ };
1941
+ const n = new Proxy(
1942
+ { ...e.props || {}, $$events: {} },
1943
+ {
1944
+ get(a, l) {
1945
+ return I(r.get(l) ?? o(l, Reflect.get(a, l)));
1946
+ },
1947
+ has(a, l) {
1948
+ return l === cr ? !0 : (I(r.get(l) ?? o(l, Reflect.get(a, l))), Reflect.has(a, l));
1949
+ },
1950
+ set(a, l, c) {
1951
+ return Y(r.get(l) ?? o(l, c), c), Reflect.set(a, l, c);
1952
+ }
1953
+ }
1954
+ );
1955
+ re(this, F, (e.hydrate ? pn : Yr)(e.component, {
1956
+ target: e.target,
1957
+ anchor: e.anchor,
1958
+ props: n,
1959
+ context: e.context,
1960
+ intro: e.intro ?? !1,
1961
+ recover: e.recover
1962
+ })), (!((i = e == null ? void 0 : e.props) != null && i.$$host) || e.sync === !1) && Jt(), re(this, X, n.$$events);
1963
+ for (const a of Object.keys(M(this, F)))
1964
+ a === "$set" || a === "$destroy" || a === "$on" || Ut(this, a, {
1965
+ get() {
1966
+ return M(this, F)[a];
1967
+ },
1968
+ /** @param {any} value */
1969
+ set(l) {
1970
+ M(this, F)[a] = l;
1971
+ },
1972
+ enumerable: !0
1973
+ });
1974
+ M(this, F).$set = /** @param {Record<string, any>} next */
1975
+ (a) => {
1976
+ Object.assign(n, a);
1977
+ }, M(this, F).$destroy = () => {
1978
+ gn(M(this, F));
1979
+ };
1980
+ }
1981
+ /** @param {Record<string, any>} props */
1982
+ $set(e) {
1983
+ M(this, F).$set(e);
1984
+ }
1985
+ /**
1986
+ * @param {string} event
1987
+ * @param {(...args: any[]) => any} callback
1988
+ * @returns {any}
1989
+ */
1990
+ $on(e, r) {
1991
+ M(this, X)[e] = M(this, X)[e] || [];
1992
+ const o = (...n) => r.call(this, ...n);
1993
+ return M(this, X)[e].push(o), () => {
1994
+ M(this, X)[e] = M(this, X)[e].filter(
1995
+ /** @param {any} fn */
1996
+ (n) => n !== o
1997
+ );
1998
+ };
1999
+ }
2000
+ $destroy() {
2001
+ M(this, F).$destroy();
2002
+ }
2003
+ }
2004
+ X = new WeakMap(), F = new WeakMap();
2005
+ let Wr;
2006
+ typeof HTMLElement == "function" && (Wr = class extends HTMLElement {
2007
+ /**
2008
+ * @param {*} $$componentCtor
2009
+ * @param {*} $$slots
2010
+ * @param {*} use_shadow_dom
2011
+ */
2012
+ constructor(e, r, o) {
2013
+ super();
2014
+ /** The Svelte component constructor */
2015
+ D(this, "$$ctor");
2016
+ /** Slots */
2017
+ D(this, "$$s");
2018
+ /** @type {any} The Svelte component instance */
2019
+ D(this, "$$c");
2020
+ /** Whether or not the custom element is connected */
2021
+ D(this, "$$cn", !1);
2022
+ /** @type {Record<string, any>} Component props data */
2023
+ D(this, "$$d", {});
2024
+ /** `true` if currently in the process of reflecting component props back to attributes */
2025
+ D(this, "$$r", !1);
2026
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
2027
+ D(this, "$$p_d", {});
2028
+ /** @type {Record<string, EventListenerOrEventListenerObject[]>} Event listeners */
2029
+ D(this, "$$l", {});
2030
+ /** @type {Map<EventListenerOrEventListenerObject, Function>} Event listener unsubscribe functions */
2031
+ D(this, "$$l_u", /* @__PURE__ */ new Map());
2032
+ /** @type {any} The managed render effect for reflecting attributes */
2033
+ D(this, "$$me");
2034
+ this.$$ctor = e, this.$$s = r, o && this.attachShadow({ mode: "open" });
2035
+ }
2036
+ /**
2037
+ * @param {string} type
2038
+ * @param {EventListenerOrEventListenerObject} listener
2039
+ * @param {boolean | AddEventListenerOptions} [options]
2040
+ */
2041
+ addEventListener(e, r, o) {
2042
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(r), this.$$c) {
2043
+ const n = this.$$c.$on(e, r);
2044
+ this.$$l_u.set(r, n);
2045
+ }
2046
+ super.addEventListener(e, r, o);
2047
+ }
2048
+ /**
2049
+ * @param {string} type
2050
+ * @param {EventListenerOrEventListenerObject} listener
2051
+ * @param {boolean | AddEventListenerOptions} [options]
2052
+ */
2053
+ removeEventListener(e, r, o) {
2054
+ if (super.removeEventListener(e, r, o), this.$$c) {
2055
+ const n = this.$$l_u.get(r);
2056
+ n && (n(), this.$$l_u.delete(r));
2057
+ }
2058
+ }
2059
+ async connectedCallback() {
2060
+ if (this.$$cn = !0, !this.$$c) {
2061
+ let e = function(n) {
2062
+ return (i) => {
2063
+ const a = document.createElement("slot");
2064
+ n !== "default" && (a.name = n), dn(i, a);
2065
+ };
2066
+ };
2067
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
2068
+ return;
2069
+ const r = {}, o = Cn(this);
2070
+ for (const n of this.$$s)
2071
+ n in o && (n === "default" && !this.$$d.children ? (this.$$d.children = e(n), r.default = !0) : r[n] = e(n));
2072
+ for (const n of this.attributes) {
2073
+ const i = this.$$g_p(n.name);
2074
+ i in this.$$d || (this.$$d[i] = Dt(i, n.value, this.$$p_d, "toProp"));
2075
+ }
2076
+ for (const n in this.$$p_d)
2077
+ !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
2078
+ this.$$c = Tn({
2079
+ component: this.$$ctor,
2080
+ target: this.shadowRoot || this,
2081
+ props: {
2082
+ ...this.$$d,
2083
+ $$slots: r,
2084
+ $$host: this
2085
+ }
2086
+ }), this.$$me = Qo(() => {
2087
+ en(() => {
2088
+ var n;
2089
+ this.$$r = !0;
2090
+ for (const i of jt(this.$$c)) {
2091
+ if (!((n = this.$$p_d[i]) != null && n.reflect)) continue;
2092
+ this.$$d[i] = this.$$c[i];
2093
+ const a = Dt(
2094
+ i,
2095
+ this.$$d[i],
2096
+ this.$$p_d,
2097
+ "toAttribute"
2098
+ );
2099
+ a == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, a);
2100
+ }
2101
+ this.$$r = !1;
2102
+ });
2103
+ });
2104
+ for (const n in this.$$l)
2105
+ for (const i of this.$$l[n]) {
2106
+ const a = this.$$c.$on(n, i);
2107
+ this.$$l_u.set(i, a);
2108
+ }
2109
+ this.$$l = {};
2110
+ }
2111
+ }
2112
+ // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
2113
+ // and setting attributes through setAttribute etc, this is helpful
2114
+ /**
2115
+ * @param {string} attr
2116
+ * @param {string} _oldValue
2117
+ * @param {string} newValue
2118
+ */
2119
+ attributeChangedCallback(e, r, o) {
2120
+ var n;
2121
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Dt(e, o, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [e]: this.$$d[e] }));
2122
+ }
2123
+ disconnectedCallback() {
2124
+ this.$$cn = !1, Promise.resolve().then(() => {
2125
+ !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$me(), this.$$c = void 0);
2126
+ });
2127
+ }
2128
+ /**
2129
+ * @param {string} attribute_name
2130
+ */
2131
+ $$g_p(e) {
2132
+ return jt(this.$$p_d).find(
2133
+ (r) => this.$$p_d[r].attribute === e || !this.$$p_d[r].attribute && r.toLowerCase() === e
2134
+ ) || e;
2135
+ }
2136
+ });
2137
+ function Dt(t, e, r, o) {
2138
+ var i;
2139
+ const n = (i = r[t]) == null ? void 0 : i.type;
2140
+ if (e = n === "Boolean" && typeof e != "boolean" ? e != null : e, !o || !r[t])
2141
+ return e;
2142
+ if (o === "toAttribute")
2143
+ switch (n) {
2144
+ case "Object":
2145
+ case "Array":
2146
+ return e == null ? null : JSON.stringify(e);
2147
+ case "Boolean":
2148
+ return e ? "" : null;
2149
+ case "Number":
2150
+ return e ?? null;
2151
+ default:
2152
+ return e;
2153
+ }
2154
+ else
2155
+ switch (n) {
2156
+ case "Object":
2157
+ case "Array":
2158
+ return e && JSON.parse(e);
2159
+ case "Boolean":
2160
+ return e;
2161
+ // conversion already handled above
2162
+ case "Number":
2163
+ return e != null ? +e : e;
2164
+ default:
2165
+ return e;
2166
+ }
2167
+ }
2168
+ function Cn(t) {
2169
+ const e = {};
2170
+ return t.childNodes.forEach((r) => {
2171
+ e[
2172
+ /** @type {Element} node */
2173
+ r.slot || "default"
2174
+ ] = !0;
2175
+ }), e;
2176
+ }
2177
+ function Rn(t, e, r, o, n, i) {
2178
+ let a = class extends Wr {
2179
+ constructor() {
2180
+ super(t, r, n), this.$$p_d = e;
2181
+ }
2182
+ static get observedAttributes() {
2183
+ return jt(e).map(
2184
+ (l) => (e[l].attribute || l).toLowerCase()
2185
+ );
2186
+ }
2187
+ };
2188
+ return jt(e).forEach((l) => {
2189
+ Ut(a.prototype, l, {
2190
+ get() {
2191
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
2192
+ },
2193
+ set(c) {
2194
+ var u;
2195
+ c = Dt(l, c, e), this.$$d[l] = c;
2196
+ var s = this.$$c;
2197
+ if (s) {
2198
+ var p = (u = ut(s, l)) == null ? void 0 : u.get;
2199
+ p ? s[l] = c : s.$set({ [l]: c });
2200
+ }
2201
+ }
2202
+ });
2203
+ }), o.forEach((l) => {
2204
+ Ut(a.prototype, l, {
2205
+ get() {
2206
+ var c;
2207
+ return (c = this.$$c) == null ? void 0 : c[l];
2208
+ }
2209
+ });
2210
+ }), t.element = /** @type {any} */
2211
+ a, a;
2212
+ }
2213
+ function Mn(t) {
2214
+ return String.fromCodePoint(t.toLowerCase().charCodeAt(0) + 127365);
2215
+ }
2216
+ function Nn(t) {
2217
+ return t.split("-").pop().toUpperCase();
2218
+ }
2219
+ function du(t) {
2220
+ if (!t)
2221
+ throw new Error("countryCode is required");
2222
+ return Array.from(Nn(t)).map(Mn).join("");
2223
+ }
2224
+ const Ln = "AD", On = "AE", In = "AF", Pn = "AG", Dn = "AI", Fn = "AL", Bn = "AM", jn = "AO", Un = "AQ", Gn = "AR", zn = "AS", Yn = "AT", Hn = "AU", Kn = "AW", qn = "AX", Vn = "AZ", Wn = "BA", Zn = "BB", Jn = "BD", Xn = "BE", Qn = "BF", ti = "BG", ei = "BH", ri = "BI", oi = "BJ", ni = "BL", ii = "BM", ai = "BN", si = "BO", li = "BQ", ci = "BR", ui = "BS", fi = "BT", hi = "BV", di = "BW", pi = "BY", gi = "BZ", vi = "CA", mi = "CC", bi = "CD", wi = "CF", yi = "CG", ki = "CH", _i = "CI", xi = "CK", Ei = "CL", Ai = "CM", $i = "CN", Ti = "CO", Si = "CR", Ci = "CU", Ri = "CV", Mi = "CW", Ni = "CX", Li = "CY", Oi = "CZ", Ii = "DE", Pi = "DJ", Di = "DK", Fi = "DM", Bi = "DO", ji = "DZ", Ui = "EC", Gi = "EE", zi = "EG", Yi = "EH", Hi = "ER", Ki = "ES", qi = "ET", Vi = "FI", Wi = "FJ", Zi = "FK", Ji = "FM", Xi = "FO", Qi = "FR", ta = "GA", ea = "GB", ra = "GD", oa = "GE", na = "GF", ia = "GG", aa = "GH", sa = "GI", la = "GL", ca = "GM", ua = "GN", fa = "GP", ha = "GQ", da = "GR", pa = "GS", ga = "GT", va = "GU", ma = "GW", ba = "GY", wa = "HK", ya = "HM", ka = "HN", _a = "HR", xa = "HT", Ea = "HU", Aa = "ID", $a = "IE", Ta = "IL", Sa = "IM", Ca = "IN", Ra = "IO", Ma = "IQ", Na = "IR", La = "IS", Oa = "IT", Ia = "JE", Pa = "JM", Da = "JO", Fa = "JP", Ba = "KE", ja = "KG", Ua = "KH", Ga = "KI", za = "KM", Ya = "KN", Ha = "KP", Ka = "KR", qa = "KW", Va = "KY", Wa = "KZ", Za = "LA", Ja = "LB", Xa = "LC", Qa = "LI", ts = "LK", es = "LR", rs = "LS", os = "LT", ns = "LU", is = "LV", as = "LY", ss = "MA", ls = "MC", cs = "MD", us = "ME", fs = "MF", hs = "MG", ds = "MH", ps = "MK", gs = "ML", vs = "MM", ms = "MN", bs = "MO", ws = "MP", ys = "MQ", ks = "MR", _s = "MS", xs = "MT", Es = "MU", As = "MV", $s = "MW", Ts = "MX", Ss = "MY", Cs = "MZ", Rs = "NA", Ms = "NC", Ns = "NE", Ls = "NF", Os = "NG", Is = "NI", Ps = "NL", Ds = "NO", Fs = "NP", Bs = "NR", js = "NU", Us = "NZ", Gs = "OM", zs = "PA", Ys = "PE", Hs = "PF", Ks = "PG", qs = "PH", Vs = "PK", Ws = "PL", Zs = "PM", Js = "PN", Xs = "PR", Qs = "PS", tl = "PT", el = "PW", rl = "PY", ol = "QA", nl = "RE", il = "RO", al = "RS", sl = "RU", ll = "RW", cl = "SA", ul = "SB", fl = "SC", hl = "SD", dl = "SE", pl = "SG", gl = "SH", vl = "SI", ml = "SJ", bl = "SK", wl = "SL", yl = "SM", kl = "SN", _l = "SO", xl = "SR", El = "SS", Al = "ST", $l = "SV", Tl = "SX", Sl = "SY", Cl = "SZ", Rl = "TC", Ml = "TD", Nl = "TF", Ll = "TG", Ol = "TH", Il = "TJ", Pl = "TK", Dl = "TL", Fl = "TM", Bl = "TN", jl = "TO", Ul = "TR", Gl = "TT", zl = "TV", Yl = "TW", Hl = "TZ", Kl = "UA", ql = "UG", Vl = "UM", Wl = "US", Zl = "UY", Jl = "UZ", Xl = "VA", Ql = "VC", tc = "VE", ec = "VG", rc = "VI", oc = "VN", nc = "VU", ic = "WF", ac = "WS", sc = "XK", lc = "YE", cc = "YT", uc = "ZA", fc = "ZM", hc = "ZW", pu = {
2225
+ AND: Ln,
2226
+ ARE: On,
2227
+ AFG: In,
2228
+ ATG: Pn,
2229
+ AIA: Dn,
2230
+ ALB: Fn,
2231
+ ARM: Bn,
2232
+ AGO: jn,
2233
+ ATA: Un,
2234
+ ARG: Gn,
2235
+ ASM: zn,
2236
+ AUT: Yn,
2237
+ AUS: Hn,
2238
+ ABW: Kn,
2239
+ ALA: qn,
2240
+ AZE: Vn,
2241
+ BIH: Wn,
2242
+ BRB: Zn,
2243
+ BGD: Jn,
2244
+ BEL: Xn,
2245
+ BFA: Qn,
2246
+ BGR: ti,
2247
+ BHR: ei,
2248
+ BDI: ri,
2249
+ BEN: oi,
2250
+ BLM: ni,
2251
+ BMU: ii,
2252
+ BRN: ai,
2253
+ BOL: si,
2254
+ BES: li,
2255
+ BRA: ci,
2256
+ BHS: ui,
2257
+ BTN: fi,
2258
+ BVT: hi,
2259
+ BWA: di,
2260
+ BLR: pi,
2261
+ BLZ: gi,
2262
+ CAN: vi,
2263
+ CCK: mi,
2264
+ COD: bi,
2265
+ CAF: wi,
2266
+ COG: yi,
2267
+ CHE: ki,
2268
+ CIV: _i,
2269
+ COK: xi,
2270
+ CHL: Ei,
2271
+ CMR: Ai,
2272
+ CHN: $i,
2273
+ COL: Ti,
2274
+ CRI: Si,
2275
+ CUB: Ci,
2276
+ CPV: Ri,
2277
+ CUW: Mi,
2278
+ CXR: Ni,
2279
+ CYP: Li,
2280
+ CZE: Oi,
2281
+ DEU: Ii,
2282
+ DJI: Pi,
2283
+ DNK: Di,
2284
+ DMA: Fi,
2285
+ DOM: Bi,
2286
+ DZA: ji,
2287
+ ECU: Ui,
2288
+ EST: Gi,
2289
+ EGY: zi,
2290
+ ESH: Yi,
2291
+ ERI: Hi,
2292
+ ESP: Ki,
2293
+ ETH: qi,
2294
+ FIN: Vi,
2295
+ FJI: Wi,
2296
+ FLK: Zi,
2297
+ FSM: Ji,
2298
+ FRO: Xi,
2299
+ FRA: Qi,
2300
+ GAB: ta,
2301
+ GBR: ea,
2302
+ GRD: ra,
2303
+ GEO: oa,
2304
+ GUF: na,
2305
+ GGY: ia,
2306
+ GHA: aa,
2307
+ GIB: sa,
2308
+ GRL: la,
2309
+ GMB: ca,
2310
+ GIN: ua,
2311
+ GLP: fa,
2312
+ GNQ: ha,
2313
+ GRC: da,
2314
+ SGS: pa,
2315
+ GTM: ga,
2316
+ GUM: va,
2317
+ GNB: ma,
2318
+ GUY: ba,
2319
+ HKG: wa,
2320
+ HMD: ya,
2321
+ HND: ka,
2322
+ HRV: _a,
2323
+ HTI: xa,
2324
+ HUN: Ea,
2325
+ IDN: Aa,
2326
+ IRL: $a,
2327
+ ISR: Ta,
2328
+ IMN: Sa,
2329
+ IND: Ca,
2330
+ IOT: Ra,
2331
+ IRQ: Ma,
2332
+ IRN: Na,
2333
+ ISL: La,
2334
+ ITA: Oa,
2335
+ JEY: Ia,
2336
+ JAM: Pa,
2337
+ JOR: Da,
2338
+ JPN: Fa,
2339
+ KEN: Ba,
2340
+ KGZ: ja,
2341
+ KHM: Ua,
2342
+ KIR: Ga,
2343
+ COM: za,
2344
+ KNA: Ya,
2345
+ PRK: Ha,
2346
+ KOR: Ka,
2347
+ KWT: qa,
2348
+ CYM: Va,
2349
+ KAZ: Wa,
2350
+ LAO: Za,
2351
+ LBN: Ja,
2352
+ LCA: Xa,
2353
+ LIE: Qa,
2354
+ LKA: ts,
2355
+ LBR: es,
2356
+ LSO: rs,
2357
+ LTU: os,
2358
+ LUX: ns,
2359
+ LVA: is,
2360
+ LBY: as,
2361
+ MAR: ss,
2362
+ MCO: ls,
2363
+ MDA: cs,
2364
+ MNE: us,
2365
+ MAF: fs,
2366
+ MDG: hs,
2367
+ MHL: ds,
2368
+ MKD: ps,
2369
+ MLI: gs,
2370
+ MMR: vs,
2371
+ MNG: ms,
2372
+ MAC: bs,
2373
+ MNP: ws,
2374
+ MTQ: ys,
2375
+ MRT: ks,
2376
+ MSR: _s,
2377
+ MLT: xs,
2378
+ MUS: Es,
2379
+ MDV: As,
2380
+ MWI: $s,
2381
+ MEX: Ts,
2382
+ MYS: Ss,
2383
+ MOZ: Cs,
2384
+ NAM: Rs,
2385
+ NCL: Ms,
2386
+ NER: Ns,
2387
+ NFK: Ls,
2388
+ NGA: Os,
2389
+ NIC: Is,
2390
+ NLD: Ps,
2391
+ NOR: Ds,
2392
+ NPL: Fs,
2393
+ NRU: Bs,
2394
+ NIU: js,
2395
+ NZL: Us,
2396
+ OMN: Gs,
2397
+ PAN: zs,
2398
+ PER: Ys,
2399
+ PYF: Hs,
2400
+ PNG: Ks,
2401
+ PHL: qs,
2402
+ PAK: Vs,
2403
+ POL: Ws,
2404
+ SPM: Zs,
2405
+ PCN: Js,
2406
+ PRI: Xs,
2407
+ PSE: Qs,
2408
+ PRT: tl,
2409
+ PLW: el,
2410
+ PRY: rl,
2411
+ QAT: ol,
2412
+ REU: nl,
2413
+ ROU: il,
2414
+ SRB: al,
2415
+ RUS: sl,
2416
+ RWA: ll,
2417
+ SAU: cl,
2418
+ SLB: ul,
2419
+ SYC: fl,
2420
+ SDN: hl,
2421
+ SWE: dl,
2422
+ SGP: pl,
2423
+ SHN: gl,
2424
+ SVN: vl,
2425
+ SJM: ml,
2426
+ SVK: bl,
2427
+ SLE: wl,
2428
+ SMR: yl,
2429
+ SEN: kl,
2430
+ SOM: _l,
2431
+ SUR: xl,
2432
+ SSD: El,
2433
+ STP: Al,
2434
+ SLV: $l,
2435
+ SXM: Tl,
2436
+ SYR: Sl,
2437
+ SWZ: Cl,
2438
+ TCA: Rl,
2439
+ TCD: Ml,
2440
+ ATF: Nl,
2441
+ TGO: Ll,
2442
+ THA: Ol,
2443
+ TJK: Il,
2444
+ TKL: Pl,
2445
+ TLS: Dl,
2446
+ TKM: Fl,
2447
+ TUN: Bl,
2448
+ TON: jl,
2449
+ TUR: Ul,
2450
+ TTO: Gl,
2451
+ TUV: zl,
2452
+ TWN: Yl,
2453
+ TZA: Hl,
2454
+ UKR: Kl,
2455
+ UGA: ql,
2456
+ UMI: Vl,
2457
+ USA: Wl,
2458
+ URY: Zl,
2459
+ UZB: Jl,
2460
+ VAT: Xl,
2461
+ VCT: Ql,
2462
+ VEN: tc,
2463
+ VGB: ec,
2464
+ VIR: rc,
2465
+ VNM: oc,
2466
+ VUT: nc,
2467
+ WLF: ic,
2468
+ WSM: ac,
2469
+ XKX: sc,
2470
+ YEM: lc,
2471
+ MYT: cc,
2472
+ ZAF: uc,
2473
+ ZMB: fc,
2474
+ ZWE: hc
2475
+ }, dc = '"Twemoji Mozilla","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji","EmojiOne Color","Android Emoji",sans-serif';
2476
+ function pc() {
2477
+ const t = document.createElement("canvas");
2478
+ t.width = t.height = 1;
2479
+ const e = t.getContext("2d", { willReadFrequently: !0 });
2480
+ return e.textBaseline = "top", e.font = `100px ${dc}`, e.scale(0.01, 0.01), e;
2481
+ }
2482
+ function Ze(t, e, r) {
2483
+ return t.clearRect(0, 0, 100, 100), t.fillStyle = r, t.fillText(e, 0, 0), t.getImageData(0, 0, 1, 1).data.join(",");
2484
+ }
2485
+ function Je(t) {
2486
+ const e = pc(), r = Ze(e, t, "#fff"), o = Ze(e, t, "#000");
2487
+ return o === r && !o.startsWith("0,0,0,");
2488
+ }
2489
+ function gu(t = "Twemoji Country Flags", e = "https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2") {
2490
+ if (typeof window < "u" && Je("😊") && !Je("🇨🇭")) {
2491
+ const r = document.createElement("style");
2492
+ return r.textContent = `@font-face {
2493
+ font-family: "${t}";
2494
+ unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067,
2495
+ U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
2496
+ src: url('${e}') format('woff2');
2497
+ font-display: swap;
2498
+ }`, document.head.appendChild(r), !0;
2499
+ }
2500
+ return !1;
2501
+ }
2502
+ var gc = Object.defineProperty, vc = (t, e, r) => e in t ? gc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, $t = (t, e, r) => vc(t, typeof e != "symbol" ? e + "" : e, r);
2503
+ const Xe = {
2504
+ "#": { pattern: /[0-9]/ },
2505
+ "@": { pattern: /[a-zA-Z]/ },
2506
+ "*": { pattern: /[a-zA-Z0-9]/ }
2507
+ }, Qe = (t, e, r) => t.replaceAll(e, "").replace(r, ".").replace("..", ".").replace(/[^.\d]/g, ""), tr = (t, e, r) => {
2508
+ var o;
2509
+ return new Intl.NumberFormat(((o = r.number) == null ? void 0 : o.locale) ?? "en", {
2510
+ minimumFractionDigits: t,
2511
+ maximumFractionDigits: e,
2512
+ roundingMode: "trunc"
2513
+ });
2514
+ }, mc = (t, e = !0, r) => {
2515
+ var o, n, i, a;
2516
+ const l = ((o = r.number) == null ? void 0 : o.unsigned) !== !0 && t.startsWith("-") ? "-" : "", c = ((n = r.number) == null ? void 0 : n.fraction) ?? 0;
2517
+ let s = tr(0, c, r);
2518
+ const p = s.formatToParts(1000.12), u = ((i = p.find((b) => b.type === "group")) == null ? void 0 : i.value) ?? " ", d = ((a = p.find((b) => b.type === "decimal")) == null ? void 0 : a.value) ?? ".", f = Qe(t, u, d);
2519
+ if (Number.isNaN(parseFloat(f))) return l;
2520
+ const m = f.split(".");
2521
+ if (m[1] != null && m[1].length >= 1) {
2522
+ const b = m[1].length <= c ? m[1].length : c;
2523
+ s = tr(b, c, r);
2524
+ }
2525
+ let g = s.format(parseFloat(f));
2526
+ return e ? c > 0 && f.endsWith(".") && !f.slice(0, -1).includes(".") && (g += d) : g = Qe(g, u, d), l + g;
2527
+ };
2528
+ class Zr {
2529
+ constructor(e = {}) {
2530
+ $t(this, "opts", {}), $t(this, "memo", /* @__PURE__ */ new Map());
2531
+ const r = { ...e };
2532
+ if (r.tokens != null) {
2533
+ r.tokens = r.tokensReplace ? { ...r.tokens } : { ...Xe, ...r.tokens };
2534
+ for (const o of Object.values(r.tokens))
2535
+ typeof o.pattern == "string" && (o.pattern = new RegExp(o.pattern));
2536
+ } else
2537
+ r.tokens = Xe;
2538
+ Array.isArray(r.mask) && (r.mask.length > 1 ? r.mask = [...r.mask].sort((o, n) => o.length - n.length) : r.mask = r.mask[0] ?? ""), r.mask === "" && (r.mask = null), this.opts = r;
2539
+ }
2540
+ masked(e) {
2541
+ return this.process(e, this.findMask(e));
2542
+ }
2543
+ unmasked(e) {
2544
+ return this.process(e, this.findMask(e), !1);
2545
+ }
2546
+ isEager() {
2547
+ return this.opts.eager === !0;
2548
+ }
2549
+ isReversed() {
2550
+ return this.opts.reversed === !0;
2551
+ }
2552
+ completed(e) {
2553
+ const r = this.findMask(e);
2554
+ if (this.opts.mask == null || r == null) return !1;
2555
+ const o = this.process(e, r).length;
2556
+ return typeof this.opts.mask == "string" ? o >= this.opts.mask.length : o >= r.length;
2557
+ }
2558
+ findMask(e) {
2559
+ const r = this.opts.mask;
2560
+ if (r == null)
2561
+ return null;
2562
+ if (typeof r == "string")
2563
+ return r;
2564
+ if (typeof r == "function")
2565
+ return r(e);
2566
+ const o = this.process(e, r.slice(-1).pop() ?? "", !1);
2567
+ return r.find((n) => this.process(e, n, !1).length >= o.length) ?? "";
2568
+ }
2569
+ escapeMask(e) {
2570
+ const r = [], o = [];
2571
+ return e.split("").forEach((n, i) => {
2572
+ n === "!" && e[i - 1] !== "!" ? o.push(i - o.length) : r.push(n);
2573
+ }), { mask: r.join(""), escaped: o };
2574
+ }
2575
+ process(e, r, o = !0) {
2576
+ if (this.opts.number != null) return mc(e, o, this.opts);
2577
+ if (r == null) return e;
2578
+ const n = `v=${e},mr=${r},m=${o ? 1 : 0}`;
2579
+ if (this.memo.has(n)) return this.memo.get(n);
2580
+ const { mask: i, escaped: a } = this.escapeMask(r), l = [], c = this.opts.tokens != null ? this.opts.tokens : {}, s = this.isReversed() ? -1 : 1, p = this.isReversed() ? "unshift" : "push", u = this.isReversed() ? 0 : i.length - 1, d = this.isReversed() ? () => b > -1 && y > -1 : () => b < i.length && y < e.length, f = (h) => !this.isReversed() && h <= u || this.isReversed() && h >= u;
2581
+ let m, g = -1, b = this.isReversed() ? i.length - 1 : 0, y = this.isReversed() ? e.length - 1 : 0, k = !1;
2582
+ for (; d(); ) {
2583
+ const h = i.charAt(b), w = c[h], v = (w == null ? void 0 : w.transform) != null ? w.transform(e.charAt(y)) : e.charAt(y);
2584
+ if (!a.includes(b) && w != null ? (v.match(w.pattern) != null ? (l[p](v), w.repeated ? (g === -1 ? g = b : b === u && b !== g && (b = g - s), u === g && (b -= s)) : w.multiple && (k = !0, b -= s), b += s) : w.multiple ? k && (b += s, y -= s, k = !1) : v === m ? m = void 0 : w.optional && (b += s, y -= s), y += s) : (o && !this.isEager() && l[p](h), v === h && !this.isEager() ? y += s : m = h, this.isEager() || (b += s)), this.isEager())
2585
+ for (; f(b) && (c[i.charAt(b)] == null || a.includes(b)); ) {
2586
+ if (o) {
2587
+ if (l[p](i.charAt(b)), e.charAt(y) === i.charAt(b)) {
2588
+ b += s, y += s;
2589
+ continue;
2590
+ }
2591
+ } else i.charAt(b) === e.charAt(y) && (y += s);
2592
+ b += s;
2593
+ }
2594
+ }
2595
+ return this.memo.set(n, l.join("")), this.memo.get(n);
2596
+ }
2597
+ }
2598
+ const Jr = (t) => JSON.parse(t.replaceAll("'", '"')), bc = (t, e = {}) => {
2599
+ const r = { ...e };
2600
+ t.dataset.maska != null && t.dataset.maska !== "" && (r.mask = wc(t.dataset.maska)), t.dataset.maskaEager != null && (r.eager = Ot(t.dataset.maskaEager)), t.dataset.maskaReversed != null && (r.reversed = Ot(t.dataset.maskaReversed)), t.dataset.maskaTokensReplace != null && (r.tokensReplace = Ot(t.dataset.maskaTokensReplace)), t.dataset.maskaTokens != null && (r.tokens = yc(t.dataset.maskaTokens));
2601
+ const o = {};
2602
+ return t.dataset.maskaNumberLocale != null && (o.locale = t.dataset.maskaNumberLocale), t.dataset.maskaNumberFraction != null && (o.fraction = parseInt(t.dataset.maskaNumberFraction)), t.dataset.maskaNumberUnsigned != null && (o.unsigned = Ot(t.dataset.maskaNumberUnsigned)), (t.dataset.maskaNumber != null || Object.values(o).length > 0) && (r.number = o), r;
2603
+ }, Ot = (t) => t !== "" ? !!JSON.parse(t) : !0, wc = (t) => t.startsWith("[") && t.endsWith("]") ? Jr(t) : t, yc = (t) => {
2604
+ if (t.startsWith("{") && t.endsWith("}"))
2605
+ return Jr(t);
2606
+ const e = {};
2607
+ return t.split("|").forEach((r) => {
2608
+ const o = r.split(":");
2609
+ e[o[0]] = {
2610
+ pattern: new RegExp(o[1]),
2611
+ optional: o[2] === "optional",
2612
+ multiple: o[2] === "multiple",
2613
+ repeated: o[2] === "repeated"
2614
+ };
2615
+ }), e;
2616
+ };
2617
+ class vu {
2618
+ constructor(e, r = {}) {
2619
+ $t(this, "items", /* @__PURE__ */ new Map()), $t(this, "eventAbortController"), $t(this, "onInput", (o) => {
2620
+ if (o instanceof CustomEvent && o.type === "input" && !o.isTrusted && !o.bubbles)
2621
+ return;
2622
+ const n = o.target, i = this.items.get(n), a = "inputType" in o && o.inputType.startsWith("delete"), l = i.isEager(), c = a && l && i.unmasked(n.value) === "" ? "" : n.value;
2623
+ this.fixCursor(n, a, () => this.setValue(n, c));
2624
+ }), this.options = r, this.eventAbortController = new AbortController(), this.init(this.getInputs(e));
2625
+ }
2626
+ update(e = {}) {
2627
+ this.options = { ...e }, this.init(Array.from(this.items.keys()));
2628
+ }
2629
+ updateValue(e) {
2630
+ e.value !== "" && e.value !== this.processInput(e).masked && this.setValue(e, e.value);
2631
+ }
2632
+ destroy() {
2633
+ this.eventAbortController.abort(), this.items.clear();
2634
+ }
2635
+ init(e) {
2636
+ const r = this.getOptions(this.options);
2637
+ for (const o of e) {
2638
+ if (!this.items.has(o)) {
2639
+ const { signal: i } = this.eventAbortController;
2640
+ o.addEventListener("input", this.onInput, { capture: !0, signal: i });
2641
+ }
2642
+ const n = new Zr(bc(o, r));
2643
+ this.items.set(o, n), queueMicrotask(() => this.updateValue(o)), o.selectionStart === null && n.isEager() && console.warn("Maska: input of `%s` type is not supported", o.type);
2644
+ }
2645
+ }
2646
+ getInputs(e) {
2647
+ return typeof e == "string" ? Array.from(document.querySelectorAll(e)) : "length" in e ? Array.from(e) : [e];
2648
+ }
2649
+ getOptions(e) {
2650
+ const { onMaska: r, preProcess: o, postProcess: n, ...i } = e;
2651
+ return i;
2652
+ }
2653
+ fixCursor(e, r, o) {
2654
+ const n = e.selectionStart, i = e.value;
2655
+ if (o(), n === null || n === i.length && !r) return;
2656
+ const a = e.value, l = i.slice(0, n), c = a.slice(0, n), s = this.processInput(e, l).unmasked, p = this.processInput(e, c).unmasked;
2657
+ let u = n;
2658
+ l !== c && (u += r ? a.length - i.length : s.length - p.length), e.setSelectionRange(u, u);
2659
+ }
2660
+ setValue(e, r) {
2661
+ const o = this.processInput(e, r);
2662
+ e.value = o.masked, this.options.onMaska != null && (Array.isArray(this.options.onMaska) ? this.options.onMaska.forEach((n) => n(o)) : this.options.onMaska(o)), e.dispatchEvent(new CustomEvent("maska", { detail: o })), e.dispatchEvent(new CustomEvent("input", { detail: o.masked }));
2663
+ }
2664
+ processInput(e, r) {
2665
+ const o = this.items.get(e);
2666
+ let n = r ?? e.value;
2667
+ this.options.preProcess != null && (n = this.options.preProcess(n));
2668
+ let i = o.masked(n);
2669
+ return this.options.postProcess != null && (i = this.options.postProcess(i)), {
2670
+ masked: i,
2671
+ unmasked: o.unmasked(n),
2672
+ completed: o.completed(n)
2673
+ };
2674
+ }
2675
+ }
2676
+ const kc = "application/json", Xr = "Content-Type", vt = Symbol(), Qr = Symbol();
2677
+ function er(t = {}) {
2678
+ var e;
2679
+ const r = t instanceof Array ? Object.fromEntries(t) : t;
2680
+ return (e = Object.entries(r).find(([o]) => o.toLowerCase() === Xr.toLowerCase())) === null || e === void 0 ? void 0 : e[1];
2681
+ }
2682
+ function rr(t) {
2683
+ return /^application\/.*json.*/.test(t);
2684
+ }
2685
+ const ft = function(t, e, r = !1) {
2686
+ return Object.entries(e).reduce((o, [n, i]) => {
2687
+ const a = t[n];
2688
+ return Array.isArray(a) && Array.isArray(i) ? o[n] = r ? [...a, ...i] : i : typeof a == "object" && typeof i == "object" ? o[n] = ft(a, i, r) : o[n] = i, o;
2689
+ }, { ...t });
2690
+ }, yt = {
2691
+ // Default options
2692
+ options: {},
2693
+ // Error type
2694
+ errorType: "text",
2695
+ // Polyfills
2696
+ polyfills: {
2697
+ // fetch: null,
2698
+ // FormData: null,
2699
+ // URL: null,
2700
+ // URLSearchParams: null,
2701
+ // performance: null,
2702
+ // PerformanceObserver: null,
2703
+ // AbortController: null,
2704
+ },
2705
+ polyfill(t, e = !0, r = !1, ...o) {
2706
+ const n = this.polyfills[t] || (typeof self < "u" ? self[t] : null) || (typeof global < "u" ? global[t] : null);
2707
+ if (e && !n)
2708
+ throw new Error(t + " is not defined");
2709
+ return r && n ? new n(...o) : n;
2710
+ }
2711
+ };
2712
+ function _c(t, e = !1) {
2713
+ yt.options = e ? t : ft(yt.options, t);
2714
+ }
2715
+ function xc(t, e = !1) {
2716
+ yt.polyfills = e ? t : ft(yt.polyfills, t);
2717
+ }
2718
+ function Ec(t) {
2719
+ yt.errorType = t;
2720
+ }
2721
+ const Ac = (t) => (e) => t.reduceRight((r, o) => o(r), e) || e;
2722
+ class to extends Error {
2723
+ }
2724
+ const $c = (t) => {
2725
+ const e = /* @__PURE__ */ Object.create(null);
2726
+ t = t._addons.reduce((h, w) => w.beforeRequest && w.beforeRequest(h, t._options, e) || h, t);
2727
+ const { _url: r, _options: o, _config: n, _catchers: i, _resolvers: a, _middlewares: l, _addons: c } = t, s = new Map(i), p = ft(n.options, o);
2728
+ let u = r;
2729
+ const d = Ac(l)((h, w) => (u = h, n.polyfill("fetch")(h, w)))(r, p), f = new Error(), m = d.catch((h) => {
2730
+ throw { [vt]: h };
2731
+ }).then((h) => {
2732
+ var w;
2733
+ if (!h.ok) {
2734
+ const v = new to();
2735
+ if (v.cause = f, v.stack = v.stack + `
2736
+ CAUSE: ` + f.stack, v.response = h, v.status = h.status, v.url = u, h.type === "opaque")
2737
+ throw v;
2738
+ const _ = n.errorType === "json" || ((w = h.headers.get("Content-Type")) === null || w === void 0 ? void 0 : w.split(";")[0]) === "application/json";
2739
+ return (n.errorType ? _ ? h.text() : h[n.errorType]() : Promise.resolve(h.body)).then((T) => {
2740
+ throw v.message = typeof T == "string" ? T : h.statusText, T && (_ && typeof T == "string" ? (v.text = T, v.json = JSON.parse(T)) : v[n.errorType] = T), v;
2741
+ });
2742
+ }
2743
+ return h;
2744
+ }), g = (h) => h.catch((w) => {
2745
+ const v = Object.prototype.hasOwnProperty.call(w, vt), _ = v ? w[vt] : w, S = (_ == null ? void 0 : _.status) && s.get(_.status) || s.get(_ == null ? void 0 : _.name) || v && s.has(vt) && s.get(vt);
2746
+ if (S)
2747
+ return S(_, t);
2748
+ const T = s.get(Qr);
2749
+ if (T)
2750
+ return T(_, t);
2751
+ throw _;
2752
+ }), b = (h) => (w) => /* If a callback is provided, then callback with the body result otherwise return the parsed body itself. */ g(h ? m.then((v) => v && v[h]()).then((v) => w ? w(v) : v) : m.then((v) => w ? w(v) : v)), y = {
2753
+ _wretchReq: t,
2754
+ _fetchReq: d,
2755
+ _sharedState: e,
2756
+ res: b(null),
2757
+ json: b("json"),
2758
+ blob: b("blob"),
2759
+ formData: b("formData"),
2760
+ arrayBuffer: b("arrayBuffer"),
2761
+ text: b("text"),
2762
+ error(h, w) {
2763
+ return s.set(h, w), this;
2764
+ },
2765
+ badRequest(h) {
2766
+ return this.error(400, h);
2767
+ },
2768
+ unauthorized(h) {
2769
+ return this.error(401, h);
2770
+ },
2771
+ forbidden(h) {
2772
+ return this.error(403, h);
2773
+ },
2774
+ notFound(h) {
2775
+ return this.error(404, h);
2776
+ },
2777
+ timeout(h) {
2778
+ return this.error(408, h);
2779
+ },
2780
+ internalError(h) {
2781
+ return this.error(500, h);
2782
+ },
2783
+ fetchError(h) {
2784
+ return this.error(vt, h);
2785
+ }
2786
+ }, k = c.reduce((h, w) => ({
2787
+ ...h,
2788
+ ...typeof w.resolver == "function" ? w.resolver(h) : w.resolver
2789
+ }), y);
2790
+ return a.reduce((h, w) => w(h, t), k);
2791
+ }, Tc = {
2792
+ _url: "",
2793
+ _options: {},
2794
+ _config: yt,
2795
+ _catchers: /* @__PURE__ */ new Map(),
2796
+ _resolvers: [],
2797
+ _deferred: [],
2798
+ _middlewares: [],
2799
+ _addons: [],
2800
+ addon(t) {
2801
+ return { ...this, _addons: [...this._addons, t], ...t.wretch };
2802
+ },
2803
+ errorType(t) {
2804
+ return {
2805
+ ...this,
2806
+ _config: {
2807
+ ...this._config,
2808
+ errorType: t
2809
+ }
2810
+ };
2811
+ },
2812
+ polyfills(t, e = !1) {
2813
+ return {
2814
+ ...this,
2815
+ _config: {
2816
+ ...this._config,
2817
+ polyfills: e ? t : ft(this._config.polyfills, t)
2818
+ }
2819
+ };
2820
+ },
2821
+ url(t, e = !1) {
2822
+ if (e)
2823
+ return { ...this, _url: t };
2824
+ const r = this._url.split("?");
2825
+ return {
2826
+ ...this,
2827
+ _url: r.length > 1 ? r[0] + t + "?" + r[1] : this._url + t
2828
+ };
2829
+ },
2830
+ options(t, e = !1) {
2831
+ return { ...this, _options: e ? t : ft(this._options, t) };
2832
+ },
2833
+ headers(t) {
2834
+ const e = t ? Array.isArray(t) ? Object.fromEntries(t) : "entries" in t ? Object.fromEntries(t.entries()) : t : {};
2835
+ return { ...this, _options: ft(this._options, { headers: e }) };
2836
+ },
2837
+ accept(t) {
2838
+ return this.headers({ Accept: t });
2839
+ },
2840
+ content(t) {
2841
+ return this.headers({ [Xr]: t });
2842
+ },
2843
+ auth(t) {
2844
+ return this.headers({ Authorization: t });
2845
+ },
2846
+ catcher(t, e) {
2847
+ const r = new Map(this._catchers);
2848
+ return r.set(t, e), { ...this, _catchers: r };
2849
+ },
2850
+ catcherFallback(t) {
2851
+ return this.catcher(Qr, t);
2852
+ },
2853
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2854
+ resolve(t, e = !1) {
2855
+ return { ...this, _resolvers: e ? [t] : [...this._resolvers, t] };
2856
+ },
2857
+ defer(t, e = !1) {
2858
+ return {
2859
+ ...this,
2860
+ _deferred: e ? [t] : [...this._deferred, t]
2861
+ };
2862
+ },
2863
+ middlewares(t, e = !1) {
2864
+ return {
2865
+ ...this,
2866
+ _middlewares: e ? t : [...this._middlewares, ...t]
2867
+ };
2868
+ },
2869
+ fetch(t = this._options.method, e = "", r = null) {
2870
+ let o = this.url(e).options({ method: t });
2871
+ const n = er(o._options.headers), i = this._config.polyfill("FormData", !1), a = typeof r == "object" && !(i && r instanceof i) && (!o._options.headers || !n || rr(n));
2872
+ return o = r ? a ? o.json(r, n) : o.body(r) : o, $c(o._deferred.reduce((l, c) => c(l, l._url, l._options), o));
2873
+ },
2874
+ get(t = "") {
2875
+ return this.fetch("GET", t);
2876
+ },
2877
+ delete(t = "") {
2878
+ return this.fetch("DELETE", t);
2879
+ },
2880
+ put(t, e = "") {
2881
+ return this.fetch("PUT", e, t);
2882
+ },
2883
+ post(t, e = "") {
2884
+ return this.fetch("POST", e, t);
2885
+ },
2886
+ patch(t, e = "") {
2887
+ return this.fetch("PATCH", e, t);
2888
+ },
2889
+ head(t = "") {
2890
+ return this.fetch("HEAD", t);
2891
+ },
2892
+ opts(t = "") {
2893
+ return this.fetch("OPTIONS", t);
2894
+ },
2895
+ body(t) {
2896
+ return { ...this, _options: { ...this._options, body: t } };
2897
+ },
2898
+ json(t, e) {
2899
+ const r = er(this._options.headers);
2900
+ return this.content(e || rr(r) && r || kc).body(JSON.stringify(t));
2901
+ }
2902
+ };
2903
+ function ht(t = "", e = {}) {
2904
+ return { ...Tc, _url: t, _options: e };
2905
+ }
2906
+ ht.default = ht;
2907
+ ht.options = _c;
2908
+ ht.errorType = Ec;
2909
+ ht.polyfills = xc;
2910
+ ht.WretchError = to;
2911
+ const Sc = () => ({
2912
+ beforeRequest(t, e, r) {
2913
+ const o = t._config.polyfill("AbortController", !1, !0);
2914
+ !e.signal && o && (e.signal = o.signal);
2915
+ const n = {
2916
+ ref: null,
2917
+ clear() {
2918
+ n.ref && (clearTimeout(n.ref), n.ref = null);
2919
+ }
2920
+ };
2921
+ return r.abort = {
2922
+ timeout: n,
2923
+ fetchController: o
2924
+ }, t;
2925
+ },
2926
+ wretch: {
2927
+ signal(t) {
2928
+ return { ...this, _options: { ...this._options, signal: t.signal } };
2929
+ }
2930
+ },
2931
+ resolver: {
2932
+ setTimeout(t, e = this._sharedState.abort.fetchController) {
2933
+ const { timeout: r } = this._sharedState.abort;
2934
+ return r.clear(), r.ref = setTimeout(() => e.abort(), t), this;
2935
+ },
2936
+ controller() {
2937
+ return [this._sharedState.abort.fetchController, this];
2938
+ },
2939
+ onAbort(t) {
2940
+ return this.error("AbortError", t);
2941
+ }
2942
+ }
2943
+ });
2944
+ function eo(t, e = !1, r, o = r.polyfill("FormData", !0, !0), n = []) {
2945
+ return Object.entries(t).forEach(([i, a]) => {
2946
+ let l = n.reduce((c, s) => c ? `${c}[${s}]` : s, null);
2947
+ if (l = l ? `${l}[${i}]` : i, a instanceof Array || globalThis.FileList && a instanceof FileList)
2948
+ for (const c of a)
2949
+ o.append(l, c);
2950
+ else e && typeof a == "object" && (!(e instanceof Array) || !e.includes(i)) ? a !== null && eo(a, e, r, o, [...n, i]) : o.append(l, a);
2951
+ }), o;
2952
+ }
2953
+ const Cc = {
2954
+ wretch: {
2955
+ formData(t, e = !1) {
2956
+ return this.body(eo(t, e, this._config));
2957
+ }
2958
+ }
2959
+ };
2960
+ function or(t) {
2961
+ return typeof t < "u" ? t : "";
2962
+ }
2963
+ const Rc = (t, e, r, o, n) => {
2964
+ let i;
2965
+ if (typeof e == "string")
2966
+ i = e;
2967
+ else {
2968
+ const l = n.polyfill("URLSearchParams", !0, !0);
2969
+ for (const c in e) {
2970
+ const s = e[c];
2971
+ if (!(o && s == null))
2972
+ if (e[c] instanceof Array)
2973
+ for (const p of s)
2974
+ l.append(c, or(p));
2975
+ else
2976
+ l.append(c, or(s));
2977
+ }
2978
+ i = l.toString();
2979
+ }
2980
+ const a = t.split("?");
2981
+ return i ? r || a.length < 2 ? a[0] + "?" + i : t + "&" + i : r ? a[0] : t;
2982
+ }, Mc = {
2983
+ wretch: {
2984
+ query(t, e = !1, r = !1) {
2985
+ return { ...this, _url: Rc(this._url, t, e, r, this._config) };
2986
+ }
2987
+ }
2988
+ }, Nc = {
2989
+ number: {
2990
+ locale: "uk",
2991
+ fraction: 2,
2992
+ unsigned: !0
2993
+ }
2994
+ }, mu = {
2995
+ number: {
2996
+ locale: "uk",
2997
+ fraction: 0,
2998
+ unsigned: !0
2999
+ }
3000
+ }, bu = (t) => {
3001
+ const e = t.split(",");
3002
+ return e.length > 1 && e[1].length === 1 ? t.padEnd(t.length + 1, "0") : t;
3003
+ }, Lc = (t) => new Zr(Nc).unmasked(String(t)), nr = Symbol("aborted");
3004
+ class wu {
3005
+ constructor(e, r) {
3006
+ D(this, "abort");
3007
+ this.host = e, this.version = r;
3008
+ }
3009
+ getProfile(e) {
3010
+ return e === "GBP" ? "uk" : "euro";
3011
+ }
3012
+ async loadData(e = "/sf/country-list") {
3013
+ const r = await this.makeRequest().url(e).get();
3014
+ if (r.status === "success")
3015
+ return r.result;
3016
+ }
3017
+ async calculate(e) {
3018
+ var i;
3019
+ (i = this.abort) == null || i.abort(nr), this.abort = new AbortController();
3020
+ const r = e.isReceive ? e.payoutAmount : e.sendAmount, o = new URLSearchParams(window.location.search), n = {
3021
+ country: e.country,
3022
+ method: e.payoutType,
3023
+ amount: Lc(r),
3024
+ currency: e.payoutCurrency,
3025
+ send_currency: e.sendCurrency,
3026
+ is_receive: e.isReceive ? 1 : 0,
3027
+ profile: this.getProfile(e.sendCurrency),
3028
+ utm_source: o.get("utm_source"),
3029
+ utm_medium: o.get("utm_medium"),
3030
+ utm_campaign: o.get("utm_campaign"),
3031
+ utm_content: o.get("utm_content"),
3032
+ utm_term: o.get("utm_term")
3033
+ };
3034
+ try {
3035
+ const a = await this.makeRequest().url("/sf/calculate").formData(n).signal(this.abort).post();
3036
+ if (a.status !== "success")
3037
+ throw new Error();
3038
+ return a.result;
3039
+ } catch (a) {
3040
+ throw a === nr ? a : new Error("Calculation error, please try later");
3041
+ }
3042
+ }
3043
+ makeRequest(e) {
3044
+ let r = ht(e ?? this.host).errorType("json").addon(Sc()).addon(Cc).addon(Mc).resolve((o) => o.json());
3045
+ return this.version && (r = r.query({ api_version: this.version })), r;
3046
+ }
3047
+ }
3048
+ const Oc = `/*! tailwindcss v4.0.1 | MIT License | https://tailwindcss.com */@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-serif:ui-serif,Georgia,Cambria,"Times New Roman",Times,serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(.971 .013 17.38);--color-red-100:oklch(.936 .032 17.717);--color-red-200:oklch(.885 .062 18.334);--color-red-300:oklch(.808 .114 19.571);--color-red-400:oklch(.704 .191 22.216);--color-red-500:oklch(.637 .237 25.331);--color-red-600:oklch(.577 .245 27.325);--color-red-700:oklch(.505 .213 27.518);--color-red-800:oklch(.444 .177 26.899);--color-red-900:oklch(.396 .141 25.723);--color-red-950:oklch(.258 .092 26.042);--color-orange-50:oklch(.98 .016 73.684);--color-orange-100:oklch(.954 .038 75.164);--color-orange-200:oklch(.901 .076 70.697);--color-orange-300:oklch(.837 .128 66.29);--color-orange-400:oklch(.75 .183 55.934);--color-orange-500:oklch(.705 .213 47.604);--color-orange-600:oklch(.646 .222 41.116);--color-orange-700:oklch(.553 .195 38.402);--color-orange-800:oklch(.47 .157 37.304);--color-orange-900:oklch(.408 .123 38.172);--color-orange-950:oklch(.266 .079 36.259);--color-amber-50:oklch(.987 .022 95.277);--color-amber-100:oklch(.962 .059 95.617);--color-amber-200:oklch(.924 .12 95.746);--color-amber-300:oklch(.879 .169 91.605);--color-amber-400:oklch(.828 .189 84.429);--color-amber-500:oklch(.769 .188 70.08);--color-amber-600:oklch(.666 .179 58.318);--color-amber-700:oklch(.555 .163 48.998);--color-amber-800:oklch(.473 .137 46.201);--color-amber-900:oklch(.414 .112 45.904);--color-amber-950:oklch(.279 .077 45.635);--color-yellow-50:oklch(.987 .026 102.212);--color-yellow-100:oklch(.973 .071 103.193);--color-yellow-200:oklch(.945 .129 101.54);--color-yellow-300:oklch(.905 .182 98.111);--color-yellow-400:oklch(.852 .199 91.936);--color-yellow-500:oklch(.795 .184 86.047);--color-yellow-600:oklch(.681 .162 75.834);--color-yellow-700:oklch(.554 .135 66.442);--color-yellow-800:oklch(.476 .114 61.907);--color-yellow-900:oklch(.421 .095 57.708);--color-yellow-950:oklch(.286 .066 53.813);--color-lime-50:oklch(.986 .031 120.757);--color-lime-100:oklch(.967 .067 122.328);--color-lime-200:oklch(.938 .127 124.321);--color-lime-300:oklch(.897 .196 126.665);--color-lime-400:oklch(.841 .238 128.85);--color-lime-500:oklch(.768 .233 130.85);--color-lime-600:oklch(.648 .2 131.684);--color-lime-700:oklch(.532 .157 131.589);--color-lime-800:oklch(.453 .124 130.933);--color-lime-900:oklch(.405 .101 131.063);--color-lime-950:oklch(.274 .072 132.109);--color-green-50:oklch(.982 .018 155.826);--color-green-100:oklch(.962 .044 156.743);--color-green-200:oklch(.925 .084 155.995);--color-green-300:oklch(.871 .15 154.449);--color-green-400:oklch(.792 .209 151.711);--color-green-500:oklch(.723 .219 149.579);--color-green-600:oklch(.627 .194 149.214);--color-green-700:oklch(.527 .154 150.069);--color-green-800:oklch(.448 .119 151.328);--color-green-900:oklch(.393 .095 152.535);--color-green-950:oklch(.266 .065 152.934);--color-emerald-50:oklch(.979 .021 166.113);--color-emerald-100:oklch(.95 .052 163.051);--color-emerald-200:oklch(.905 .093 164.15);--color-emerald-300:oklch(.845 .143 164.978);--color-emerald-400:oklch(.765 .177 163.223);--color-emerald-500:oklch(.696 .17 162.48);--color-emerald-600:oklch(.596 .145 163.225);--color-emerald-700:oklch(.508 .118 165.612);--color-emerald-800:oklch(.432 .095 166.913);--color-emerald-900:oklch(.378 .077 168.94);--color-emerald-950:oklch(.262 .051 172.552);--color-teal-50:oklch(.984 .014 180.72);--color-teal-100:oklch(.953 .051 180.801);--color-teal-200:oklch(.91 .096 180.426);--color-teal-300:oklch(.855 .138 181.071);--color-teal-400:oklch(.777 .152 181.912);--color-teal-500:oklch(.704 .14 182.503);--color-teal-600:oklch(.6 .118 184.704);--color-teal-700:oklch(.511 .096 186.391);--color-teal-800:oklch(.437 .078 188.216);--color-teal-900:oklch(.386 .063 188.416);--color-teal-950:oklch(.277 .046 192.524);--color-cyan-50:oklch(.984 .019 200.873);--color-cyan-100:oklch(.956 .045 203.388);--color-cyan-200:oklch(.917 .08 205.041);--color-cyan-300:oklch(.865 .127 207.078);--color-cyan-400:oklch(.789 .154 211.53);--color-cyan-500:oklch(.715 .143 215.221);--color-cyan-600:oklch(.609 .126 221.723);--color-cyan-700:oklch(.52 .105 223.128);--color-cyan-800:oklch(.45 .085 224.283);--color-cyan-900:oklch(.398 .07 227.392);--color-cyan-950:oklch(.302 .056 229.695);--color-sky-50:oklch(.977 .013 236.62);--color-sky-100:oklch(.951 .026 236.824);--color-sky-200:oklch(.901 .058 230.902);--color-sky-300:oklch(.828 .111 230.318);--color-sky-400:oklch(.746 .16 232.661);--color-sky-500:oklch(.685 .169 237.323);--color-sky-600:oklch(.588 .158 241.966);--color-sky-700:oklch(.5 .134 242.749);--color-sky-800:oklch(.443 .11 240.79);--color-sky-900:oklch(.391 .09 240.876);--color-sky-950:oklch(.293 .066 243.157);--color-blue-50:oklch(.97 .014 254.604);--color-blue-100:oklch(.932 .032 255.585);--color-blue-200:oklch(.882 .059 254.128);--color-blue-300:oklch(.809 .105 251.813);--color-blue-400:oklch(.707 .165 254.624);--color-blue-500:oklch(.623 .214 259.815);--color-blue-600:oklch(.546 .245 262.881);--color-blue-700:oklch(.488 .243 264.376);--color-blue-800:oklch(.424 .199 265.638);--color-blue-900:oklch(.379 .146 265.522);--color-blue-950:oklch(.282 .091 267.935);--color-indigo-50:oklch(.962 .018 272.314);--color-indigo-100:oklch(.93 .034 272.788);--color-indigo-200:oklch(.87 .065 274.039);--color-indigo-300:oklch(.785 .115 274.713);--color-indigo-400:oklch(.673 .182 276.935);--color-indigo-500:oklch(.585 .233 277.117);--color-indigo-600:oklch(.511 .262 276.966);--color-indigo-700:oklch(.457 .24 277.023);--color-indigo-800:oklch(.398 .195 277.366);--color-indigo-900:oklch(.359 .144 278.697);--color-indigo-950:oklch(.257 .09 281.288);--color-violet-50:oklch(.969 .016 293.756);--color-violet-100:oklch(.943 .029 294.588);--color-violet-200:oklch(.894 .057 293.283);--color-violet-300:oklch(.811 .111 293.571);--color-violet-400:oklch(.702 .183 293.541);--color-violet-500:oklch(.606 .25 292.717);--color-violet-600:oklch(.541 .281 293.009);--color-violet-700:oklch(.491 .27 292.581);--color-violet-800:oklch(.432 .232 292.759);--color-violet-900:oklch(.38 .189 293.745);--color-violet-950:oklch(.283 .141 291.089);--color-purple-50:oklch(.977 .014 308.299);--color-purple-100:oklch(.946 .033 307.174);--color-purple-200:oklch(.902 .063 306.703);--color-purple-300:oklch(.827 .119 306.383);--color-purple-400:oklch(.714 .203 305.504);--color-purple-500:oklch(.627 .265 303.9);--color-purple-600:oklch(.558 .288 302.321);--color-purple-700:oklch(.496 .265 301.924);--color-purple-800:oklch(.438 .218 303.724);--color-purple-900:oklch(.381 .176 304.987);--color-purple-950:oklch(.291 .149 302.717);--color-fuchsia-50:oklch(.977 .017 320.058);--color-fuchsia-100:oklch(.952 .037 318.852);--color-fuchsia-200:oklch(.903 .076 319.62);--color-fuchsia-300:oklch(.833 .145 321.434);--color-fuchsia-400:oklch(.74 .238 322.16);--color-fuchsia-500:oklch(.667 .295 322.15);--color-fuchsia-600:oklch(.591 .293 322.896);--color-fuchsia-700:oklch(.518 .253 323.949);--color-fuchsia-800:oklch(.452 .211 324.591);--color-fuchsia-900:oklch(.401 .17 325.612);--color-fuchsia-950:oklch(.293 .136 325.661);--color-pink-50:oklch(.971 .014 343.198);--color-pink-100:oklch(.948 .028 342.258);--color-pink-200:oklch(.899 .061 343.231);--color-pink-300:oklch(.823 .12 346.018);--color-pink-400:oklch(.718 .202 349.761);--color-pink-500:oklch(.656 .241 354.308);--color-pink-600:oklch(.592 .249 .584);--color-pink-700:oklch(.525 .223 3.958);--color-pink-800:oklch(.459 .187 3.815);--color-pink-900:oklch(.408 .153 2.432);--color-pink-950:oklch(.284 .109 3.907);--color-rose-50:oklch(.969 .015 12.422);--color-rose-100:oklch(.941 .03 12.58);--color-rose-200:oklch(.892 .058 10.001);--color-rose-300:oklch(.81 .117 11.638);--color-rose-400:oklch(.712 .194 13.428);--color-rose-500:oklch(.645 .246 16.439);--color-rose-600:oklch(.586 .253 17.585);--color-rose-700:oklch(.514 .222 16.935);--color-rose-800:oklch(.455 .188 13.697);--color-rose-900:oklch(.41 .159 10.272);--color-rose-950:oklch(.271 .105 12.094);--color-slate-50:oklch(.984 .003 247.858);--color-slate-100:oklch(.968 .007 247.896);--color-slate-200:oklch(.929 .013 255.508);--color-slate-300:oklch(.869 .022 252.894);--color-slate-400:oklch(.704 .04 256.788);--color-slate-500:oklch(.554 .046 257.417);--color-slate-600:oklch(.446 .043 257.281);--color-slate-700:oklch(.372 .044 257.287);--color-slate-800:oklch(.279 .041 260.031);--color-slate-900:oklch(.208 .042 265.755);--color-slate-950:oklch(.129 .042 264.695);--color-gray-50:oklch(.985 .002 247.839);--color-gray-100:oklch(.967 .003 264.542);--color-gray-200:oklch(.928 .006 264.531);--color-gray-300:oklch(.872 .01 258.338);--color-gray-400:oklch(.707 .022 261.325);--color-gray-500:oklch(.551 .027 264.364);--color-gray-600:oklch(.446 .03 256.802);--color-gray-700:oklch(.373 .034 259.733);--color-gray-800:oklch(.278 .033 256.848);--color-gray-900:oklch(.21 .034 264.665);--color-gray-950:oklch(.13 .028 261.692);--color-zinc-50:oklch(.985 0 0);--color-zinc-100:oklch(.967 .001 286.375);--color-zinc-200:oklch(.92 .004 286.32);--color-zinc-300:oklch(.871 .006 286.286);--color-zinc-400:oklch(.705 .015 286.067);--color-zinc-500:oklch(.552 .016 285.938);--color-zinc-600:oklch(.442 .017 285.786);--color-zinc-700:oklch(.37 .013 285.805);--color-zinc-800:oklch(.274 .006 286.033);--color-zinc-900:oklch(.21 .006 285.885);--color-zinc-950:oklch(.141 .005 285.823);--color-neutral-50:oklch(.985 0 0);--color-neutral-100:oklch(.97 0 0);--color-neutral-200:oklch(.922 0 0);--color-neutral-300:oklch(.87 0 0);--color-neutral-400:oklch(.708 0 0);--color-neutral-500:oklch(.556 0 0);--color-neutral-600:oklch(.439 0 0);--color-neutral-700:oklch(.371 0 0);--color-neutral-800:oklch(.269 0 0);--color-neutral-900:oklch(.205 0 0);--color-neutral-950:oklch(.145 0 0);--color-stone-50:oklch(.985 .001 106.423);--color-stone-100:oklch(.97 .001 106.424);--color-stone-200:oklch(.923 .003 48.717);--color-stone-300:oklch(.869 .005 56.366);--color-stone-400:oklch(.709 .01 56.259);--color-stone-500:oklch(.553 .013 58.071);--color-stone-600:oklch(.444 .011 73.639);--color-stone-700:oklch(.374 .01 67.558);--color-stone-800:oklch(.268 .007 34.298);--color-stone-900:oklch(.216 .006 56.043);--color-stone-950:oklch(.147 .004 49.25);--color-black:#000;--color-white:#fff;--spacing:4px;--breakpoint-sm:640px;--breakpoint-md:768px;--breakpoint-lg:1024px;--breakpoint-xl:1280px;--breakpoint-2xl:1536px;--container-3xs:256px;--container-2xs:288px;--container-xs:320px;--container-sm:384px;--container-md:448px;--container-lg:512px;--container-xl:576px;--container-2xl:672px;--container-3xl:768px;--container-4xl:896px;--container-5xl:1024px;--container-6xl:1152px;--container-7xl:1280px;--text-xs:12px;--text-xs--line-height:calc(1/.75);--text-sm:14px;--text-sm--line-height:calc(1.25/.875);--text-base:16px;--text-base--line-height: 1.5 ;--text-lg:18px;--text-lg--line-height:calc(1.75/1.125);--text-xl:20px;--text-xl--line-height:calc(1.75/1.25);--text-2xl:24px;--text-2xl--line-height:calc(2/1.5);--text-3xl:30px;--text-3xl--line-height: 1.2 ;--text-4xl:36px;--text-4xl--line-height:calc(2.5/2.25);--text-5xl:48px;--text-5xl--line-height:1;--text-6xl:60px;--text-6xl--line-height:1;--text-7xl:72px;--text-7xl--line-height:1;--text-8xl:96px;--text-8xl--line-height:1;--text-9xl:128px;--text-9xl--line-height:1;--font-weight-thin:100;--font-weight-extralight:200;--font-weight-light:300;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-normal:0em;--tracking-wide:.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--leading-loose:2;--radius-xs:2px;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-2xl:16px;--radius-3xl:24px;--radius-4xl:32px;--shadow-2xs:0 1px #0000000d;--shadow-xs:0 1px 2px 0 #0000000d;--shadow-sm:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--shadow-xl:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--shadow-2xl:0 25px 50px -12px #00000040;--inset-shadow-2xs:inset 0 1px #0000000d;--inset-shadow-xs:inset 0 1px 1px #0000000d;--inset-shadow-sm:inset 0 2px 4px #0000000d;--drop-shadow-xs:0 1px 1px #0000000d;--drop-shadow-sm:0 1px 2px #00000026;--drop-shadow-md:0 3px 3px #0000001f;--drop-shadow-lg:0 4px 4px #00000026;--drop-shadow-xl:0 9px 7px #0000001a;--drop-shadow-2xl:0 25px 25px #00000026;--ease-in:cubic-bezier(.4,0,1,1);--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--animate-bounce:bounce 1s infinite;--blur-xs:4px;--blur-sm:8px;--blur-md:12px;--blur-lg:16px;--blur-xl:24px;--blur-2xl:40px;--blur-3xl:64px;--perspective-dramatic:100px;--perspective-near:300px;--perspective-normal:500px;--perspective-midrange:800px;--perspective-distant:1200px;--aspect-video:16/9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:"Twemoji Country Flags",var(--font-sans);--default-font-feature-settings:var(--font-sans--font-feature-settings);--default-font-variation-settings:var(--font-sans--font-variation-settings);--default-mono-font-family:var(--font-mono);--default-mono-font-feature-settings:var(--font-mono--font-feature-settings);--default-mono-font-variation-settings:var(--font-mono--font-variation-settings);--color-m2-primary:#00487e;--color-m2-accent:#98be27;--color-m2-warning:var(--color-orange-300);--color-m2-surface:color-mix(in oklab,var(--color-white)20%,transparent);--color-m2-text-primary:var(--color-white);--color-m2-text-button:var(--color-white);--color-m2-text-input:var(--color-gray-900);--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:color-mix(in oklab,var(--color-white)70%,transparent)}}@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:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}body{line-height:inherit}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;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}:-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;border-color:#6a7282;--tw-shadow:0 0 #0000;background-color:#fff;border-width:1px;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(.546 .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(0.551 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;width:16px;height:16px;color:#155dfc;border-color:#6a7282;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;flex-shrink:0;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(.546 .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}}@layer components{input:focus,textarea:focus,select:focus{--tw-ring-color:var(--color-m2-primary)}}@layer utilities{.\\@container{container-type:inline-size}.relative{position:relative}.col-span-full{grid-column:1/-1}.container{width:100%}@media (width>=40rem){.container{max-width:640px}}@media (width>=48rem){.container{max-width:768px}}@media (width>=64rem){.container{max-width:1024px}}@media (width>=80rem){.container{max-width:1280px}}@media (width>=96rem){.container{max-width:1536px}}.mx-auto{margin-inline:auto}.my-auto{margin-block:auto}.mt-4{margin-top:calc(var(--spacing)*4)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.size-7{width:calc(var(--spacing)*7);height:calc(var(--spacing)*7)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.h-6{height:calc(var(--spacing)*6)}.h-12{height:calc(var(--spacing)*12)}.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-full{width:100%}.w-min{width:min-content}.max-w-40{max-width:calc(var(--spacing)*40)}.max-w-lg{max-width:512px}.shrink-0{flex-shrink:0}.translate-y-2{--tw-translate-y:calc(var(--spacing)*2);translate:var(--tw-translate-x)var(--tw-translate-y)}.animate-pulse{animation:var(--animate-pulse)}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.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-full{border-radius:3.40282e38px}.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-2{border-style:var(--tw-border-style);border-width:2px}.bg-gray-300{background-color:var(--color-gray-300)}.bg-m2-accent{background-color:#98be27}.bg-m2-surface,.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-4{padding-block:calc(var(--spacing)*4)}.py-6{padding-block:calc(var(--spacing)*6)}.text-center{text-align:center}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.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-current{color:currentColor}.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)}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.filter{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,)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.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))}.select-none{-webkit-user-select:none;user-select:none}.backdrop\\:bg-black\\/30::backdrop{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}.backdrop\\:opacity-100::backdrop{opacity:1}.backdrop\\:transition-opacity::backdrop{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.backdrop\\:transition-discrete::backdrop{transition-behavior:allow-discrete}.open\\:translate-y-0:is([open],:popover-open,:open){--tw-translate-y:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.open\\:opacity-100:is([open],:popover-open,:open){opacity:1}@media (hover:hover){.hover\\:bg-m2-accent:hover{background-color:#98be27}.hover\\:opacity-50:hover{opacity:.5}.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 (width>=40rem){.sm\\:p-6{padding:calc(var(--spacing)*6)}}@container (width<384px){.\\@max-sm\\:after\\:w-64\\!:after{content:var(--tw-content);width:calc(var(--spacing)*64)!important}}@container (width>=384px){.\\@sm\\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}}@container (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 (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 (width>=896px){.\\@4xl\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@container (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 (width>=1152px){.\\@6xl\\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@starting-style{.backdrop\\:starting\\:opacity-0::backdrop{opacity:0}}@starting-style{.starting\\:open\\:translate-y-2:is([open],:popover-open,:open){--tw-translate-y:calc(var(--spacing)*2);translate:var(--tw-translate-x)var(--tw-translate-y)}}@starting-style{.starting\\:open\\:opacity-50:is([open],:popover-open,:open){opacity:.5}}.\\[\\&_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)}}[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 spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@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-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@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}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@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-content{syntax:"*";inherits:false;initial-value:""}`;
3049
+ function Ic(t, e) {
3050
+ Dr(e, !0);
3051
+ let r = $n(e, "host", 7);
3052
+ const o = (i) => {
3053
+ r().shadowRoot && (r().shadowRoot.adoptedStyleSheets = [i]);
3054
+ }, n = (i) => {
3055
+ const a = new CSSStyleSheet();
3056
+ for (let l of i.cssRules)
3057
+ l instanceof CSSPropertyRule && a.insertRule(l.cssText);
3058
+ document.adoptedStyleSheets = [a];
3059
+ };
3060
+ return Vr(() => {
3061
+ const i = new CSSStyleSheet();
3062
+ i.replaceSync(Oc), o(i), n(i);
3063
+ }), Fr({
3064
+ get host() {
3065
+ return r();
3066
+ },
3067
+ set host(i) {
3068
+ r(i), Jt();
3069
+ }
3070
+ });
3071
+ }
3072
+ Rn(Ic, { host: {} }, [], [], !0);
3073
+ export {
3074
+ en as $,
3075
+ wu as A,
3076
+ du as B,
3077
+ pu as C,
3078
+ $e as D,
3079
+ Gc as E,
3080
+ ye as F,
3081
+ _e as G,
3082
+ wo as H,
3083
+ Me as I,
3084
+ Rt as J,
3085
+ zr as K,
3086
+ q as L,
3087
+ et as M,
3088
+ E as N,
3089
+ Xt as O,
3090
+ rt as P,
3091
+ A as Q,
3092
+ nt as R,
3093
+ Ic as S,
3094
+ Re as T,
3095
+ At as U,
3096
+ j as V,
3097
+ we as W,
3098
+ Fc as X,
3099
+ xe as Y,
3100
+ Rr as Z,
3101
+ Ht as _,
3102
+ dn as a,
3103
+ Uc as a0,
3104
+ Eo as a1,
3105
+ Dc as a2,
3106
+ oe as a3,
3107
+ Wc as a4,
3108
+ Yc as a5,
3109
+ at as a6,
3110
+ fu as a7,
3111
+ Xo as a8,
3112
+ su as a9,
3113
+ jc as aa,
3114
+ Zc as ab,
3115
+ Xc as ac,
3116
+ uu as ad,
3117
+ zc as ae,
3118
+ iu as af,
3119
+ vu as ag,
3120
+ lu as ah,
3121
+ hu as ai,
3122
+ mu as aj,
3123
+ Nc as ak,
3124
+ Zr as al,
3125
+ bu as am,
3126
+ nr as an,
3127
+ Qc as ao,
3128
+ au as ap,
3129
+ Lc as aq,
3130
+ Fr as b,
3131
+ Rn as c,
3132
+ hn as d,
3133
+ Dr as e,
3134
+ Jt as f,
3135
+ I as g,
3136
+ gu as h,
3137
+ ru as i,
3138
+ Hc as j,
3139
+ nu as k,
3140
+ Bc as l,
3141
+ Y as m,
3142
+ mt as n,
3143
+ Vr as o,
3144
+ $n as p,
3145
+ tu as q,
3146
+ Kc as r,
3147
+ qc as s,
3148
+ Jc as t,
3149
+ ou as u,
3150
+ Vc as v,
3151
+ cu as w,
3152
+ yn as x,
3153
+ Vt as y,
3154
+ eu as z
3155
+ };