@moneyto/components 0.0.11 → 0.0.13

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