tguikit 0.3.0 → 0.4.0

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.
package/dist/index.js CHANGED
@@ -312,109 +312,174 @@ function ae({ ref: e, author: t, className: n, children: r, ...i }) {
312
312
  });
313
313
  }
314
314
  ae.displayName = "Blockquote";
315
- var oe = {
315
+ var N = {
316
+ nav: "_nav_12mkz_1",
317
+ list: "_list_12mkz_8",
318
+ item: "_item_12mkz_18",
319
+ link: "_link_12mkz_25",
320
+ current: "_current_12mkz_48",
321
+ ellipsis: "_ellipsis_12mkz_57",
322
+ chevron: "_chevron_12mkz_61"
323
+ }, oe = () => /* @__PURE__ */ h("svg", {
324
+ className: N.chevron,
325
+ width: "14",
326
+ height: "14",
327
+ viewBox: "0 0 18 18",
328
+ fill: "none",
329
+ "aria-hidden": !0,
330
+ children: /* @__PURE__ */ h("path", {
331
+ d: "M6.75 4.5L11.25 9l-4.5 4.5",
332
+ stroke: "currentColor",
333
+ strokeWidth: "1.8",
334
+ strokeLinecap: "round",
335
+ strokeLinejoin: "round"
336
+ })
337
+ });
338
+ function se({ ref: e, items: t, maxItems: n = 4, className: r, ...i }) {
339
+ let a = t.length > n ? [
340
+ t[0],
341
+ "ellipsis",
342
+ ...t.slice(t.length - (n - 1))
343
+ ] : t;
344
+ return /* @__PURE__ */ h("nav", {
345
+ ref: e,
346
+ "aria-label": "Breadcrumbs",
347
+ className: y(N.nav, r),
348
+ ...i,
349
+ children: /* @__PURE__ */ h("ol", {
350
+ className: N.list,
351
+ children: a.map((e, t) => {
352
+ let n = t === a.length - 1;
353
+ return /* @__PURE__ */ g("li", {
354
+ className: N.item,
355
+ children: [e === "ellipsis" ? /* @__PURE__ */ h("span", {
356
+ className: N.ellipsis,
357
+ "aria-hidden": !0,
358
+ children: "…"
359
+ }) : n ? /* @__PURE__ */ h("span", {
360
+ className: N.current,
361
+ "aria-current": "page",
362
+ children: e.label
363
+ }) : e.href == null ? /* @__PURE__ */ h("button", {
364
+ type: "button",
365
+ className: N.link,
366
+ onClick: e.onClick,
367
+ children: e.label
368
+ }) : /* @__PURE__ */ h("a", {
369
+ href: e.href,
370
+ className: N.link,
371
+ onClick: e.onClick,
372
+ children: e.label
373
+ }), n ? null : /* @__PURE__ */ h(oe, {})]
374
+ }, t);
375
+ })
376
+ })
377
+ });
378
+ }
379
+ se.displayName = "Breadcrumbs";
380
+ var ce = {
316
381
  spinner: "_spinner_1kqa4_1",
317
382
  "tgui-spinner": "_tgui-spinner_1kqa4_1",
318
383
  s: "_s_1kqa4_1",
319
384
  m: "_m_1kqa4_17",
320
385
  l: "_l_1kqa4_23"
321
- }, se = _(oe.spinner, {
386
+ }, le = _(ce.spinner, {
322
387
  variants: { size: {
323
- s: oe.s,
324
- m: oe.m,
325
- l: oe.l
388
+ s: ce.s,
389
+ m: ce.m,
390
+ l: ce.l
326
391
  } },
327
392
  defaultVariants: { size: "m" }
328
393
  });
329
394
  //#endregion
330
395
  //#region src/components/Spinner/Spinner.tsx
331
- function ce({ ref: e, size: t = "m", className: n, ...r }) {
396
+ function ue({ ref: e, size: t = "m", className: n, ...r }) {
332
397
  return /* @__PURE__ */ h("span", {
333
398
  ref: e,
334
399
  role: "status",
335
400
  "aria-label": "Loading",
336
- className: y(se({ size: t }), n),
401
+ className: y(le({ size: t }), n),
337
402
  ...r
338
403
  });
339
404
  }
340
- ce.displayName = "Spinner";
341
- var le = {
405
+ ue.displayName = "Spinner";
406
+ var de = {
342
407
  typography: "_typography_1uxpm_1",
343
408
  "weight-1": "_weight-1_1uxpm_6",
344
409
  "weight-2": "_weight-2_1uxpm_10",
345
410
  "weight-3": "_weight-3_1uxpm_14",
346
411
  caps: "_caps_1uxpm_18"
347
- }, ue = _(le.typography, {
412
+ }, fe = _(de.typography, {
348
413
  variants: {
349
414
  weight: {
350
- 1: le["weight-1"],
351
- 2: le["weight-2"],
352
- 3: le["weight-3"]
415
+ 1: de["weight-1"],
416
+ 2: de["weight-2"],
417
+ 3: de["weight-3"]
353
418
  },
354
- caps: { true: le.caps }
419
+ caps: { true: de.caps }
355
420
  },
356
421
  defaultVariants: { weight: "3" }
357
422
  });
358
423
  //#endregion
359
424
  //#region src/components/Typography/Typography.tsx
360
- function N({ ref: e, weight: t, caps: n, Component: r = "span", className: i, ...a }) {
425
+ function P({ ref: e, weight: t, caps: n, Component: r = "span", className: i, ...a }) {
361
426
  return /* @__PURE__ */ h(r, {
362
427
  ref: e,
363
- className: y(ue({
428
+ className: y(fe({
364
429
  weight: t,
365
430
  caps: n
366
431
  }), i),
367
432
  ...a
368
433
  });
369
434
  }
370
- N.displayName = "Typography";
435
+ P.displayName = "Typography";
371
436
  //#endregion
372
437
  //#region src/components/Subheadline/Subheadline.module.css
373
- var de = {
438
+ var pe = {
374
439
  "level-1": "_level-1_1azf3_1",
375
440
  "level-2": "_level-2_1azf3_6"
376
- }, fe = _("", {
441
+ }, me = _("", {
377
442
  variants: { level: {
378
- 1: de["level-1"],
379
- 2: de["level-2"]
443
+ 1: pe["level-1"],
444
+ 2: pe["level-2"]
380
445
  } },
381
446
  defaultVariants: { level: "1" }
382
447
  });
383
448
  //#endregion
384
449
  //#region src/components/Subheadline/Subheadline.tsx
385
- function P({ ref: e, level: t, Component: n = "h6", className: r, ...i }) {
386
- return /* @__PURE__ */ h(N, {
450
+ function F({ ref: e, level: t, Component: n = "h6", className: r, ...i }) {
451
+ return /* @__PURE__ */ h(P, {
387
452
  ref: e,
388
453
  Component: n,
389
- className: y(fe({ level: t }), r),
454
+ className: y(me({ level: t }), r),
390
455
  ...i
391
456
  });
392
457
  }
393
- P.displayName = "Subheadline";
458
+ F.displayName = "Subheadline";
394
459
  //#endregion
395
460
  //#region src/components/TguiProvider/context.ts
396
- var pe = n(null);
397
- pe.displayName = "TguiContext";
461
+ var he = n(null);
462
+ he.displayName = "TguiContext";
398
463
  //#endregion
399
464
  //#region src/components/TguiProvider/useTgui.ts
400
- function F() {
401
- let e = a(pe);
465
+ function I() {
466
+ let e = a(he);
402
467
  if (e === null) throw Error("useTgui must be used within a <TguiProvider>.");
403
468
  return e;
404
469
  }
405
- var me = {
470
+ var ge = {
406
471
  ripple: "_ripple_1cc3x_1",
407
472
  wave: "_wave_1cc3x_9",
408
473
  "wave-rise": "_wave-rise_1cc3x_1"
409
474
  };
410
475
  //#endregion
411
476
  //#region src/components/Tappable/Ripple.tsx
412
- function he({ waves: e, onWaveEnd: t }) {
477
+ function _e({ waves: e, onWaveEnd: t }) {
413
478
  return /* @__PURE__ */ h("span", {
414
479
  "aria-hidden": !0,
415
- className: me.ripple,
480
+ className: ge.ripple,
416
481
  children: e.map((e) => /* @__PURE__ */ h("span", {
417
- className: me.wave,
482
+ className: ge.wave,
418
483
  style: {
419
484
  top: e.y,
420
485
  left: e.x
@@ -423,12 +488,12 @@ function he({ waves: e, onWaveEnd: t }) {
423
488
  }, e.id))
424
489
  });
425
490
  }
426
- var ge = {
491
+ var ve = {
427
492
  tappable: "_tappable_10au7_1",
428
493
  "tappable--ios": "_tappable--ios_10au7_17",
429
494
  "tappable--opacity": "_tappable--opacity_10au7_18"
430
- }, _e = 70, ve = 600;
431
- function ye() {
495
+ }, ye = 70, be = 600;
496
+ function xe() {
432
497
  let [e, t] = d([]), n = u(0), r = u(/* @__PURE__ */ new Map()), a = u(/* @__PURE__ */ new Set());
433
498
  o(() => {
434
499
  let e = r.current, t = a.current;
@@ -453,9 +518,9 @@ function ye() {
453
518
  }]);
454
519
  let i = setTimeout(() => {
455
520
  a.current.delete(i), s(e);
456
- }, ve);
521
+ }, be);
457
522
  a.current.add(i);
458
- }, _e);
523
+ }, ye);
459
524
  r.current.set(u, d);
460
525
  }, [s]),
461
526
  onPointerCancel: i((e) => {
@@ -467,11 +532,11 @@ function ye() {
467
532
  }
468
533
  //#endregion
469
534
  //#region src/components/Tappable/Tappable.tsx
470
- function be({ ref: e, Component: t = "div", interactiveAnimation: n = "background", className: r, children: i, onPointerDown: a, onPointerCancel: o, ...s }) {
471
- let { platform: c } = F(), l = ye(), u = !!s.disabled, d = !!s.readOnly, f = c === "base" && n === "background" && !d && !u && (t !== "div" && t !== "span" || s.onClick != null);
535
+ function Se({ ref: e, Component: t = "div", interactiveAnimation: n = "background", className: r, children: i, onPointerDown: a, onPointerCancel: o, ...s }) {
536
+ let { platform: c } = I(), l = xe(), u = !!s.disabled, d = !!s.readOnly, f = c === "base" && n === "background" && !d && !u && (t !== "div" && t !== "span" || s.onClick != null);
472
537
  return /* @__PURE__ */ g(t, {
473
538
  ref: e,
474
- className: y(ge.tappable, c === "ios" && ge["tappable--ios"], n === "opacity" && ge["tappable--opacity"], r),
539
+ className: y(ve.tappable, c === "ios" && ve["tappable--ios"], n === "opacity" && ve["tappable--opacity"], r),
475
540
  "data-readonly": d || void 0,
476
541
  "data-disabled": u || void 0,
477
542
  "aria-disabled": u || void 0,
@@ -482,64 +547,64 @@ function be({ ref: e, Component: t = "div", interactiveAnimation: n = "backgroun
482
547
  f && l.onPointerCancel(e), o?.(e);
483
548
  },
484
549
  ...s,
485
- children: [f && /* @__PURE__ */ h(he, {
550
+ children: [f && /* @__PURE__ */ h(_e, {
486
551
  waves: l.waves,
487
552
  onWaveEnd: l.removeWave
488
553
  }), i]
489
554
  });
490
555
  }
491
- be.displayName = "Tappable";
492
- var xe = { text: "_text_5v0x0_1" };
556
+ Se.displayName = "Tappable";
557
+ var Ce = { text: "_text_5v0x0_1" };
493
558
  //#endregion
494
559
  //#region src/components/Text/Text.tsx
495
- function I({ ref: e, className: t, Component: n = "span", ...r }) {
496
- return /* @__PURE__ */ h(N, {
560
+ function L({ ref: e, className: t, Component: n = "span", ...r }) {
561
+ return /* @__PURE__ */ h(P, {
497
562
  ref: e,
498
563
  Component: n,
499
- className: y(xe.text, t),
564
+ className: y(Ce.text, t),
500
565
  ...r
501
566
  });
502
567
  }
503
- I.displayName = "Text";
568
+ L.displayName = "Text";
504
569
  //#endregion
505
570
  //#region src/shared/lib/telegram.ts
506
- function Se() {
571
+ function we() {
507
572
  if (!(typeof window > "u")) return window.Telegram?.WebApp;
508
573
  }
509
574
  //#endregion
510
575
  //#region src/shared/lib/appearance.ts
511
- var Ce = "(prefers-color-scheme: dark)";
512
- function we() {
576
+ var Te = "(prefers-color-scheme: dark)";
577
+ function Ee() {
513
578
  return typeof window < "u" && typeof window.matchMedia == "function";
514
579
  }
515
- function Te() {
516
- let e = Se();
517
- return e ? e.colorScheme === "dark" ? "dark" : "light" : we() && window.matchMedia(Ce).matches ? "dark" : "light";
580
+ function De() {
581
+ let e = we();
582
+ return e ? e.colorScheme === "dark" ? "dark" : "light" : Ee() && window.matchMedia(Te).matches ? "dark" : "light";
518
583
  }
519
- function Ee(e) {
520
- let t = Se();
584
+ function Oe(e) {
585
+ let t = we();
521
586
  if (t) return t.onEvent("themeChanged", e), () => t.offEvent("themeChanged", e);
522
- if (!we()) return () => {};
523
- let n = window.matchMedia(Ce);
587
+ if (!Ee()) return () => {};
588
+ let n = window.matchMedia(Te);
524
589
  return n.addEventListener("change", e), () => n.removeEventListener("change", e);
525
590
  }
526
591
  //#endregion
527
592
  //#region src/shared/lib/platform.ts
528
- var De = /* @__PURE__ */ new Set(["ios", "macos"]);
529
- function Oe() {
530
- let e = Se();
531
- if (e) return De.has(e.platform) ? "ios" : "base";
593
+ var ke = /* @__PURE__ */ new Set(["ios", "macos"]);
594
+ function Ae() {
595
+ let e = we();
596
+ if (e) return ke.has(e.platform) ? "ios" : "base";
532
597
  if (typeof navigator > "u") return "base";
533
598
  let t = navigator.userAgent, n = t.includes("Macintosh") && navigator.maxTouchPoints > 1;
534
599
  return /iphone|ipad|ipod/i.test(t) || n ? "ios" : "base";
535
600
  }
536
- var ke = {
537
- wrapper: "_wrapper_mqlq3_1",
538
- "wrapper--ios": "_wrapper--ios_mqlq3_89",
539
- "wrapper--dark": "_wrapper--dark_mqlq3_102"
540
- }, Ae = () => "light";
541
- function je({ ref: e, platform: t, appearance: n, portalContainer: r, className: a, children: o, ...s }) {
542
- let c = l(() => t ?? Oe(), [t]), u = f(Ee, Te, Ae), p = n ?? u, [m, g] = d(null), _ = i((t) => {
601
+ var je = {
602
+ wrapper: "_wrapper_qycbb_1",
603
+ "wrapper--ios": "_wrapper--ios_qycbb_95",
604
+ "wrapper--dark": "_wrapper--dark_qycbb_108"
605
+ }, Me = () => "light";
606
+ function Ne({ ref: e, platform: t, appearance: n, portalContainer: r, className: a, children: o, ...s }) {
607
+ let c = l(() => t ?? Ae(), [t]), u = f(Oe, De, Me), p = n ?? u, [m, g] = d(null), _ = i((t) => {
543
608
  g(t), typeof e == "function" ? e(t) : e && (e.current = t);
544
609
  }, [e]), v = l(() => ({
545
610
  platform: c,
@@ -553,16 +618,16 @@ function je({ ref: e, platform: t, appearance: n, portalContainer: r, className:
553
618
  ]);
554
619
  return /* @__PURE__ */ h("div", {
555
620
  ref: _,
556
- className: y(ke.wrapper, c === "ios" && ke["wrapper--ios"], p === "dark" && ke["wrapper--dark"], a),
621
+ className: y(je.wrapper, c === "ios" && je["wrapper--ios"], p === "dark" && je["wrapper--dark"], a),
557
622
  ...s,
558
- children: /* @__PURE__ */ h(pe.Provider, {
623
+ children: /* @__PURE__ */ h(he.Provider, {
559
624
  value: v,
560
625
  children: o
561
626
  })
562
627
  });
563
628
  }
564
- je.displayName = "TguiProvider";
565
- var L = {
629
+ Ne.displayName = "TguiProvider";
630
+ var R = {
566
631
  button: "_button_6vql2_1",
567
632
  stretched: "_stretched_6vql2_13",
568
633
  before: "_before_6vql2_34",
@@ -581,24 +646,24 @@ var L = {
581
646
  "mode-gray": "_mode-gray_6vql2_126",
582
647
  "mode-outline": "_mode-outline_6vql2_133",
583
648
  "mode-white": "_mode-white_6vql2_141"
584
- }, Me = _(L.button, {
649
+ }, Pe = _(R.button, {
585
650
  variants: {
586
651
  mode: {
587
- filled: L["mode-filled"],
588
- bezeled: L["mode-bezeled"],
589
- plain: L["mode-plain"],
590
- gray: L["mode-gray"],
591
- outline: L["mode-outline"],
592
- white: L["mode-white"]
652
+ filled: R["mode-filled"],
653
+ bezeled: R["mode-bezeled"],
654
+ plain: R["mode-plain"],
655
+ gray: R["mode-gray"],
656
+ outline: R["mode-outline"],
657
+ white: R["mode-white"]
593
658
  },
594
659
  size: {
595
- s: L["size-s"],
596
- m: L["size-m"],
597
- l: L["size-l"]
660
+ s: R["size-s"],
661
+ m: R["size-m"],
662
+ l: R["size-l"]
598
663
  },
599
- stretched: { true: L.stretched },
664
+ stretched: { true: R.stretched },
600
665
  platform: {
601
- ios: L.ios,
666
+ ios: R.ios,
602
667
  base: null
603
668
  }
604
669
  },
@@ -609,85 +674,85 @@ var L = {
609
674
  });
610
675
  //#endregion
611
676
  //#region src/components/Button/Button.tsx
612
- function Ne({ size: e, children: t }) {
677
+ function Fe({ size: e, children: t }) {
613
678
  let n = {
614
679
  weight: "2",
615
- className: L.content
680
+ className: R.content
616
681
  }, r = /* @__PURE__ */ h("span", {
617
- className: L.label,
682
+ className: R.label,
618
683
  children: t
619
684
  });
620
- return e === "l" ? /* @__PURE__ */ h(I, {
685
+ return e === "l" ? /* @__PURE__ */ h(L, {
621
686
  ...n,
622
687
  children: r
623
- }) : /* @__PURE__ */ h(P, {
688
+ }) : /* @__PURE__ */ h(F, {
624
689
  level: "2",
625
690
  ...n,
626
691
  children: r
627
692
  });
628
693
  }
629
- function Pe({ ref: e, Component: t = "button", mode: n = "filled", size: r = "m", stretched: i = !1, loading: a = !1, type: o, before: s, after: c, children: l, className: u, ...d }) {
630
- let { platform: f } = F();
631
- return /* @__PURE__ */ g(be, {
694
+ function Ie({ ref: e, Component: t = "button", mode: n = "filled", size: r = "m", stretched: i = !1, loading: a = !1, type: o, before: s, after: c, children: l, className: u, ...d }) {
695
+ let { platform: f } = I();
696
+ return /* @__PURE__ */ g(Se, {
632
697
  ref: e,
633
698
  Component: t,
634
699
  type: t === "button" ? o ?? "button" : o,
635
700
  "aria-busy": a || void 0,
636
- className: y(Me({
701
+ className: y(Pe({
637
702
  mode: n,
638
703
  size: r,
639
704
  stretched: i,
640
705
  platform: f
641
- }), a && L.loading, u),
706
+ }), a && R.loading, u),
642
707
  ...d,
643
708
  children: [
644
- a ? /* @__PURE__ */ h(ce, {
709
+ a ? /* @__PURE__ */ h(ue, {
645
710
  size: "s",
646
- className: L.spinner,
711
+ className: R.spinner,
647
712
  "aria-hidden": !0
648
713
  }) : null,
649
714
  s ? /* @__PURE__ */ h("span", {
650
- className: L.before,
715
+ className: R.before,
651
716
  children: s
652
717
  }) : null,
653
- /* @__PURE__ */ h(Ne, {
718
+ /* @__PURE__ */ h(Fe, {
654
719
  size: r,
655
720
  children: l
656
721
  }),
657
722
  c ? /* @__PURE__ */ h("span", {
658
- className: L.after,
723
+ className: R.after,
659
724
  children: c
660
725
  }) : null
661
726
  ]
662
727
  });
663
728
  }
664
- Pe.displayName = "Button";
729
+ Ie.displayName = "Button";
665
730
  //#endregion
666
731
  //#region src/components/Caption/Caption.module.css
667
- var Fe = {
732
+ var Le = {
668
733
  "level-1": "_level-1_1fkm7_1",
669
734
  "level-2": "_level-2_1fkm7_6"
670
- }, Ie = _("", {
735
+ }, Re = _("", {
671
736
  variants: { level: {
672
- 1: Fe["level-1"],
673
- 2: Fe["level-2"]
737
+ 1: Le["level-1"],
738
+ 2: Le["level-2"]
674
739
  } },
675
740
  defaultVariants: { level: "1" }
676
741
  });
677
742
  //#endregion
678
743
  //#region src/components/Caption/Caption.tsx
679
- function R({ ref: e, level: t, Component: n = "span", className: r, ...i }) {
680
- return /* @__PURE__ */ h(N, {
744
+ function ze({ ref: e, level: t, Component: n = "span", className: r, ...i }) {
745
+ return /* @__PURE__ */ h(P, {
681
746
  ref: e,
682
747
  Component: n,
683
- className: y(Ie({ level: t }), r),
748
+ className: y(Re({ level: t }), r),
684
749
  ...i
685
750
  });
686
751
  }
687
- R.displayName = "Caption";
752
+ ze.displayName = "Caption";
688
753
  //#endregion
689
754
  //#region src/components/Card/Card.context.ts
690
- var Le = n({ type: "plain" }), Re = {
755
+ var Be = n({ type: "plain" }), Ve = {
691
756
  card: "_card_1maup_1",
692
757
  cardAmbient: "_cardAmbient_1maup_17",
693
758
  cell: "_cell_1maup_21",
@@ -709,7 +774,7 @@ var Le = n({ type: "plain" }), Re = {
709
774
  hovered: "_hovered_1w7p5_56",
710
775
  ios: "_ios_1w7p5_60",
711
776
  interactive: "_interactive_1w7p5_67"
712
- }, ze = _(z.cell, { variants: {
777
+ }, He = _(z.cell, { variants: {
713
778
  platform: {
714
779
  ios: z.ios,
715
780
  base: null
@@ -720,32 +785,32 @@ var Le = n({ type: "plain" }), Re = {
720
785
  } });
721
786
  //#endregion
722
787
  //#region src/components/Cell/Cell.tsx
723
- function Be({ ios: e, children: t }) {
724
- return e ? /* @__PURE__ */ h(I, {
788
+ function Ue({ ios: e, children: t }) {
789
+ return e ? /* @__PURE__ */ h(L, {
725
790
  className: z.head,
726
791
  children: t
727
- }) : /* @__PURE__ */ h(P, {
792
+ }) : /* @__PURE__ */ h(F, {
728
793
  level: "1",
729
794
  className: z.head,
730
795
  children: t
731
796
  });
732
797
  }
733
- function Ve({ ios: e, children: t }) {
734
- return e ? /* @__PURE__ */ h(R, {
798
+ function We({ ios: e, children: t }) {
799
+ return e ? /* @__PURE__ */ h(ze, {
735
800
  className: z.description,
736
801
  children: t
737
- }) : /* @__PURE__ */ h(P, {
802
+ }) : /* @__PURE__ */ h(F, {
738
803
  level: "2",
739
804
  className: z.description,
740
805
  children: t
741
806
  });
742
807
  }
743
- function He({ ref: e, Component: t = "div", subhead: n, children: r, hint: i, titleBadge: a, subtitle: o, description: s, before: c, after: l, hovered: u, multiline: d, className: f, ...p }) {
744
- let { platform: m } = F(), _ = m === "ios", v = r != null || i != null || a != null, b = p.onClick != null || p.href != null || t === "a" || t === "button" || t === "label";
745
- return /* @__PURE__ */ g(be, {
808
+ function Ge({ ref: e, Component: t = "div", subhead: n, children: r, hint: i, titleBadge: a, subtitle: o, description: s, before: c, after: l, hovered: u, multiline: d, className: f, ...p }) {
809
+ let { platform: m } = I(), _ = m === "ios", v = r != null || i != null || a != null, b = p.onClick != null || p.href != null || t === "a" || t === "button" || t === "label";
810
+ return /* @__PURE__ */ g(Se, {
746
811
  ref: e,
747
812
  Component: t,
748
- className: y(ze({
813
+ className: y(He({
749
814
  platform: m,
750
815
  hovered: u,
751
816
  multiline: d,
@@ -760,12 +825,12 @@ function He({ ref: e, Component: t = "div", subhead: n, children: r, hint: i, ti
760
825
  /* @__PURE__ */ g("div", {
761
826
  className: z.middle,
762
827
  children: [
763
- n == null ? null : /* @__PURE__ */ h(P, {
828
+ n == null ? null : /* @__PURE__ */ h(F, {
764
829
  level: "2",
765
830
  className: z.subhead,
766
831
  children: n
767
832
  }),
768
- v ? /* @__PURE__ */ g(Be, {
833
+ v ? /* @__PURE__ */ g(Ue, {
769
834
  ios: _,
770
835
  children: [
771
836
  r == null ? null : /* @__PURE__ */ h("span", {
@@ -779,12 +844,12 @@ function He({ ref: e, Component: t = "div", subhead: n, children: r, hint: i, ti
779
844
  a
780
845
  ]
781
846
  }) : null,
782
- o == null ? null : /* @__PURE__ */ h(P, {
847
+ o == null ? null : /* @__PURE__ */ h(F, {
783
848
  level: "2",
784
849
  className: z.subtitle,
785
850
  children: o
786
851
  }),
787
- s == null ? null : /* @__PURE__ */ h(Ve, {
852
+ s == null ? null : /* @__PURE__ */ h(We, {
788
853
  ios: _,
789
854
  children: s
790
855
  })
@@ -797,54 +862,54 @@ function He({ ref: e, Component: t = "div", subhead: n, children: r, hint: i, ti
797
862
  ]
798
863
  });
799
864
  }
800
- He.displayName = "Cell";
865
+ Ge.displayName = "Cell";
801
866
  //#endregion
802
867
  //#region src/components/Card/CardCell.tsx
803
- function Ue({ ref: e, children: t, subtitle: n, className: r, ...i }) {
804
- let { type: o } = a(Le), s = o === "ambient";
805
- return /* @__PURE__ */ h(He, {
868
+ function Ke({ ref: e, children: t, subtitle: n, className: r, ...i }) {
869
+ let { type: o } = a(Be), s = o === "ambient";
870
+ return /* @__PURE__ */ h(Ge, {
806
871
  ref: e,
807
- className: y(Re.cell, s && Re.cellAmbient, r),
872
+ className: y(Ve.cell, s && Ve.cellAmbient, r),
808
873
  subtitle: n == null ? void 0 : /* @__PURE__ */ h("span", {
809
- className: Re.cellSubtitle,
874
+ className: Ve.cellSubtitle,
810
875
  children: n
811
876
  }),
812
877
  ...i,
813
878
  children: t == null ? null : /* @__PURE__ */ h("span", {
814
- className: Re.cellHeader,
879
+ className: Ve.cellHeader,
815
880
  children: t
816
881
  })
817
882
  });
818
883
  }
819
- Ue.displayName = "CardCell";
884
+ Ke.displayName = "CardCell";
820
885
  //#endregion
821
886
  //#region src/components/Card/Card.tsx
822
- function We({ ref: e, type: t = "plain", className: n, children: r, ...i }) {
887
+ function qe({ ref: e, type: t = "plain", className: n, children: r, ...i }) {
823
888
  let a = l(() => ({ type: t }), [t]);
824
- return /* @__PURE__ */ h(Le.Provider, {
889
+ return /* @__PURE__ */ h(Be.Provider, {
825
890
  value: a,
826
891
  children: /* @__PURE__ */ h("article", {
827
892
  ref: e,
828
- className: y(Re.card, t === "ambient" && Re.cardAmbient, n),
893
+ className: y(Ve.card, t === "ambient" && Ve.cardAmbient, n),
829
894
  ...i,
830
895
  children: r
831
896
  })
832
897
  });
833
898
  }
834
- We.displayName = "Card", We.Cell = Ue;
835
- var Ge = {
899
+ qe.displayName = "Card", qe.Cell = Ke;
900
+ var Je = {
836
901
  checkbox: "_checkbox_yjw6v_1",
837
902
  input: "_input_yjw6v_12",
838
903
  box: "_box_yjw6v_22"
839
904
  };
840
905
  //#endregion
841
906
  //#region src/components/Checkbox/Checkbox.tsx
842
- function Ke({ ref: e, indeterminate: t = !1, disabled: n, className: r, style: i, ...a }) {
907
+ function Ye({ ref: e, indeterminate: t = !1, disabled: n, className: r, style: i, ...a }) {
843
908
  let s = u(null);
844
909
  return o(() => {
845
910
  s.current && (s.current.indeterminate = t);
846
911
  }, [t]), /* @__PURE__ */ g("span", {
847
- className: y(Ge.checkbox, r),
912
+ className: y(Je.checkbox, r),
848
913
  style: i,
849
914
  "data-disabled": n || void 0,
850
915
  children: [/* @__PURE__ */ h("input", {
@@ -852,16 +917,16 @@ function Ke({ ref: e, indeterminate: t = !1, disabled: n, className: r, style: i
852
917
  s.current = t, typeof e == "function" ? e(t) : e && (e.current = t);
853
918
  },
854
919
  type: "checkbox",
855
- className: Ge.input,
920
+ className: Je.input,
856
921
  disabled: n,
857
922
  ...a
858
923
  }), /* @__PURE__ */ h("span", {
859
- className: Ge.box,
924
+ className: Je.box,
860
925
  "aria-hidden": !0
861
926
  })]
862
927
  });
863
928
  }
864
- Ke.displayName = "Checkbox";
929
+ Ye.displayName = "Checkbox";
865
930
  var B = {
866
931
  chip: "_chip_13v10_1",
867
932
  "mode-elevated": "_mode-elevated_13v10_16",
@@ -871,7 +936,7 @@ var B = {
871
936
  after: "_after_13v10_38",
872
937
  label: "_label_13v10_49",
873
938
  remove: "_remove_13v10_56"
874
- }, qe = _(B.chip, {
939
+ }, Xe = _(B.chip, {
875
940
  variants: {
876
941
  mode: {
877
942
  elevated: B["mode-elevated"],
@@ -883,10 +948,10 @@ var B = {
883
948
  });
884
949
  //#endregion
885
950
  //#region src/components/Chip/Chip.tsx
886
- function Je({ ref: e, Component: t = "div", mode: n = "elevated", before: r, after: i, onClick: a, onRemove: o, removeLabel: s = "Remove", className: c, children: l, ...u }) {
951
+ function Ze({ ref: e, Component: t = "div", mode: n = "elevated", before: r, after: i, onClick: a, onRemove: o, removeLabel: s = "Remove", className: c, children: l, ...u }) {
887
952
  return /* @__PURE__ */ g(t, {
888
953
  ref: e,
889
- className: y(qe({
954
+ className: y(Xe({
890
955
  mode: n,
891
956
  clickable: a != null
892
957
  }), c),
@@ -927,48 +992,48 @@ function Je({ ref: e, Component: t = "div", mode: n = "elevated", before: r, aft
927
992
  ]
928
993
  });
929
994
  }
930
- Je.displayName = "Chip";
931
- var Ye = {
995
+ Ze.displayName = "Chip";
996
+ var Qe = {
932
997
  root: "_root_hheo5_1",
933
998
  svg: "_svg_hheo5_6",
934
999
  track: "_track_hheo5_10",
935
1000
  indicator: "_indicator_hheo5_14"
936
- }, Xe = {
1001
+ }, $e = {
937
1002
  s: 20,
938
1003
  m: 28,
939
1004
  l: 36
940
- }, Ze = {
1005
+ }, et = {
941
1006
  s: 2,
942
1007
  m: 2.5,
943
1008
  l: 3
944
1009
  };
945
1010
  //#endregion
946
1011
  //#region src/components/CircularProgress/CircularProgress.tsx
947
- function Qe({ ref: e, value: t = 0, size: n = "m", className: r, ...i }) {
948
- let a = Math.max(0, Math.min(100, t)), o = Xe[n], s = Ze[n], c = (o - s) / 2, l = 2 * Math.PI * c, u = o / 2;
1012
+ function tt({ ref: e, value: t = 0, size: n = "m", className: r, ...i }) {
1013
+ let a = Math.max(0, Math.min(100, t)), o = $e[n], s = et[n], c = (o - s) / 2, l = 2 * Math.PI * c, u = o / 2;
949
1014
  return /* @__PURE__ */ h("span", {
950
1015
  ref: e,
951
1016
  role: "progressbar",
952
1017
  "aria-valuemin": 0,
953
1018
  "aria-valuemax": 100,
954
1019
  "aria-valuenow": Math.round(a),
955
- className: y(Ye.root, r),
1020
+ className: y(Qe.root, r),
956
1021
  ...i,
957
1022
  children: /* @__PURE__ */ g("svg", {
958
- className: Ye.svg,
1023
+ className: Qe.svg,
959
1024
  width: o,
960
1025
  height: o,
961
1026
  viewBox: `0 0 ${o} ${o}`,
962
1027
  "aria-hidden": !0,
963
1028
  children: [/* @__PURE__ */ h("circle", {
964
- className: Ye.track,
1029
+ className: Qe.track,
965
1030
  cx: u,
966
1031
  cy: u,
967
1032
  r: c,
968
1033
  strokeWidth: s,
969
1034
  fill: "none"
970
1035
  }), /* @__PURE__ */ h("circle", {
971
- className: Ye.indicator,
1036
+ className: Qe.indicator,
972
1037
  cx: u,
973
1038
  cy: u,
974
1039
  r: c,
@@ -981,46 +1046,46 @@ function Qe({ ref: e, value: t = 0, size: n = "m", className: r, ...i }) {
981
1046
  })
982
1047
  });
983
1048
  }
984
- Qe.displayName = "CircularProgress";
985
- var $e = { divider: "_divider_fq1ux_1" };
1049
+ tt.displayName = "CircularProgress";
1050
+ var nt = { divider: "_divider_fq1ux_1" };
986
1051
  //#endregion
987
1052
  //#region src/components/Divider/Divider.tsx
988
- function et({ ref: e, className: t, ...n }) {
1053
+ function rt({ ref: e, className: t, ...n }) {
989
1054
  return /* @__PURE__ */ h("hr", {
990
1055
  ref: e,
991
- className: y($e.divider, t),
1056
+ className: y(nt.divider, t),
992
1057
  ...n
993
1058
  });
994
1059
  }
995
- et.displayName = "Divider";
996
- var tt = {
1060
+ rt.displayName = "Divider";
1061
+ var it = {
997
1062
  fixedLayout: "_fixedLayout_1b5hq_1",
998
1063
  top: "_top_1b5hq_9",
999
1064
  bottom: "_bottom_1b5hq_14"
1000
1065
  };
1001
1066
  //#endregion
1002
1067
  //#region src/components/FixedLayout/FixedLayout.tsx
1003
- function nt({ ref: e, vertical: t = "bottom", className: n, ...r }) {
1068
+ function at({ ref: e, vertical: t = "bottom", className: n, ...r }) {
1004
1069
  return /* @__PURE__ */ h("div", {
1005
1070
  ref: e,
1006
- className: y(tt.fixedLayout, tt[t], n),
1071
+ className: y(it.fixedLayout, it[t], n),
1007
1072
  ...r
1008
1073
  });
1009
1074
  }
1010
- nt.displayName = "FixedLayout";
1011
- var rt = { headline: "_headline_17ihj_1" };
1075
+ at.displayName = "FixedLayout";
1076
+ var ot = { headline: "_headline_17ihj_1" };
1012
1077
  //#endregion
1013
1078
  //#region src/components/Headline/Headline.tsx
1014
- function it({ ref: e, weight: t = "2", className: n, Component: r = "h5", ...i }) {
1015
- return /* @__PURE__ */ h(N, {
1079
+ function st({ ref: e, weight: t = "2", className: n, Component: r = "h5", ...i }) {
1080
+ return /* @__PURE__ */ h(P, {
1016
1081
  ref: e,
1017
1082
  weight: t,
1018
1083
  Component: r,
1019
- className: y(rt.headline, n),
1084
+ className: y(ot.headline, n),
1020
1085
  ...i
1021
1086
  });
1022
1087
  }
1023
- it.displayName = "Headline";
1088
+ st.displayName = "Headline";
1024
1089
  var V = {
1025
1090
  root: "_root_ykq8r_1",
1026
1091
  edge: "_edge_ykq8r_9",
@@ -1029,8 +1094,8 @@ var V = {
1029
1094
  "edge--end": "_edge--end_ykq8r_34",
1030
1095
  scroller: "_scroller_ykq8r_39",
1031
1096
  snap: "_snap_ykq8r_72"
1032
- }, at = 4;
1033
- function ot({ ref: e, snap: t = !1, fade: n = !0, className: r, children: a, ...s }) {
1097
+ }, ct = 4;
1098
+ function lt({ ref: e, snap: t = !1, fade: n = !0, className: r, children: a, ...s }) {
1034
1099
  let c = u(null), [l, f] = d({
1035
1100
  start: !1,
1036
1101
  end: !1
@@ -1071,7 +1136,7 @@ function ot({ ref: e, snap: t = !1, fade: n = !0, className: r, children: a, ...
1071
1136
  if (!t.down || !n) return;
1072
1137
  let r = e.clientX - t.startX;
1073
1138
  if (!t.moved) {
1074
- if (Math.abs(r) < at) return;
1139
+ if (Math.abs(r) < ct) return;
1075
1140
  t.moved = !0, n.setPointerCapture(e.pointerId), n.dataset.grabbing = "true", n.style.scrollBehavior = "auto";
1076
1141
  }
1077
1142
  e.preventDefault(), n.scrollLeft = t.startScroll - r;
@@ -1106,7 +1171,7 @@ function ot({ ref: e, snap: t = !1, fade: n = !0, className: r, children: a, ...
1106
1171
  })]
1107
1172
  });
1108
1173
  }
1109
- ot.displayName = "HorizontalScroll";
1174
+ lt.displayName = "HorizontalScroll";
1110
1175
  var H = {
1111
1176
  iconButton: "_iconButton_1ifh1_1",
1112
1177
  circle: "_circle_1ifh1_15",
@@ -1119,7 +1184,7 @@ var H = {
1119
1184
  "mode-plain": "_mode-plain_1ifh1_72",
1120
1185
  "mode-gray": "_mode-gray_1ifh1_76",
1121
1186
  "mode-outline": "_mode-outline_1ifh1_81"
1122
- }, st = _(H.iconButton, {
1187
+ }, ut = _(H.iconButton, {
1123
1188
  variants: {
1124
1189
  mode: {
1125
1190
  bezeled: H["mode-bezeled"],
@@ -1145,13 +1210,13 @@ var H = {
1145
1210
  });
1146
1211
  //#endregion
1147
1212
  //#region src/components/IconButton/IconButton.tsx
1148
- function ct({ ref: e, Component: t = "button", mode: n = "plain", size: r = "m", circle: i = !1, type: a, className: o, children: s, ...c }) {
1149
- let { platform: l } = F();
1150
- return /* @__PURE__ */ h(be, {
1213
+ function dt({ ref: e, Component: t = "button", mode: n = "plain", size: r = "m", circle: i = !1, type: a, className: o, children: s, ...c }) {
1214
+ let { platform: l } = I();
1215
+ return /* @__PURE__ */ h(Se, {
1151
1216
  ref: e,
1152
1217
  Component: t,
1153
1218
  type: t === "button" ? a ?? "button" : a,
1154
- className: y(st({
1219
+ className: y(ut({
1155
1220
  mode: n,
1156
1221
  size: r,
1157
1222
  circle: i,
@@ -1164,8 +1229,8 @@ function ct({ ref: e, Component: t = "button", mode: n = "plain", size: r = "m",
1164
1229
  })
1165
1230
  });
1166
1231
  }
1167
- ct.displayName = "IconButton";
1168
- var lt = {
1232
+ dt.displayName = "IconButton";
1233
+ var ft = {
1169
1234
  frame: "_frame_1q5rs_1",
1170
1235
  bordered: "_bordered_1q5rs_10",
1171
1236
  img: "_img_1q5rs_14",
@@ -1173,7 +1238,7 @@ var lt = {
1173
1238
  placeholder: "_placeholder_1q5rs_25",
1174
1239
  fallback: "_fallback_1q5rs_26",
1175
1240
  "tgui-image-shimmer": "_tgui-image-shimmer_1q5rs_1"
1176
- }, ut = /* @__PURE__ */ h("svg", {
1241
+ }, pt = /* @__PURE__ */ h("svg", {
1177
1242
  viewBox: "0 0 24 24",
1178
1243
  fill: "none",
1179
1244
  "aria-hidden": !0,
@@ -1184,7 +1249,7 @@ var lt = {
1184
1249
  strokeLinejoin: "round"
1185
1250
  })
1186
1251
  });
1187
- function dt({ ref: e, size: t, width: n, height: r, aspectRatio: i, fit: a = "cover", radius: o, bordered: s = !1, fallback: c = ut, src: l, alt: u = "", className: f, style: p, onLoad: m, onError: _, ...v }) {
1252
+ function mt({ ref: e, size: t, width: n, height: r, aspectRatio: i, fit: a = "cover", radius: o, bordered: s = !1, fallback: c = pt, src: l, alt: u = "", className: f, style: p, onLoad: m, onError: _, ...v }) {
1188
1253
  let [b, x] = d(null), [S, C] = d(!1), w = l != null && l === b, T = {
1189
1254
  ...p,
1190
1255
  width: t ?? n,
@@ -1194,12 +1259,12 @@ function dt({ ref: e, size: t, width: n, height: r, aspectRatio: i, fit: a = "co
1194
1259
  "--tgui--image--fit": a
1195
1260
  };
1196
1261
  return /* @__PURE__ */ g("div", {
1197
- className: y(lt.frame, s && lt.bordered, !S && lt.loading, f),
1262
+ className: y(ft.frame, s && ft.bordered, !S && ft.loading, f),
1198
1263
  style: T,
1199
1264
  children: [
1200
1265
  l != null && !w ? /* @__PURE__ */ h("img", {
1201
1266
  ref: e,
1202
- className: lt.img,
1267
+ className: ft.img,
1203
1268
  src: l,
1204
1269
  alt: u,
1205
1270
  draggable: !1,
@@ -1212,33 +1277,91 @@ function dt({ ref: e, size: t, width: n, height: r, aspectRatio: i, fit: a = "co
1212
1277
  ...v
1213
1278
  }) : null,
1214
1279
  !S && !w ? /* @__PURE__ */ h("div", {
1215
- className: lt.placeholder,
1280
+ className: ft.placeholder,
1216
1281
  "aria-hidden": !0
1217
1282
  }) : null,
1218
1283
  w ? /* @__PURE__ */ h("div", {
1219
- className: lt.fallback,
1284
+ className: ft.fallback,
1220
1285
  "aria-hidden": !0,
1221
1286
  children: c
1222
1287
  }) : null
1223
1288
  ]
1224
1289
  });
1225
1290
  }
1226
- dt.displayName = "Image";
1291
+ mt.displayName = "Image";
1292
+ //#endregion
1293
+ //#region src/components/InlineButtons/context.ts
1294
+ var ht = n({ mode: "bezeled" });
1295
+ ht.displayName = "InlineButtonsContext";
1296
+ var gt = {
1297
+ group: "_group_ezipj_1",
1298
+ item: "_item_ezipj_15",
1299
+ "mode-bezeled": "_mode-bezeled_ezipj_35",
1300
+ "mode-plain": "_mode-plain_ezipj_39",
1301
+ "mode-gray": "_mode-gray_ezipj_43",
1302
+ icon: "_icon_ezipj_48",
1303
+ label: "_label_ezipj_62"
1304
+ }, _t = _(gt.item, {
1305
+ variants: { mode: {
1306
+ bezeled: gt["mode-bezeled"],
1307
+ plain: gt["mode-plain"],
1308
+ gray: gt["mode-gray"]
1309
+ } },
1310
+ defaultVariants: { mode: "bezeled" }
1311
+ });
1312
+ //#endregion
1313
+ //#region src/components/InlineButtons/InlineButtonsItem.tsx
1314
+ function vt({ ref: e, icon: t, children: n, className: r, ...i }) {
1315
+ let { mode: o } = a(ht);
1316
+ return /* @__PURE__ */ g(Se, {
1317
+ ref: e,
1318
+ Component: "button",
1319
+ type: "button",
1320
+ interactiveAnimation: "opacity",
1321
+ className: y(_t({ mode: o }), r),
1322
+ ...i,
1323
+ children: [/* @__PURE__ */ h("span", {
1324
+ className: gt.icon,
1325
+ children: t
1326
+ }), /* @__PURE__ */ h(ze, {
1327
+ className: gt.label,
1328
+ level: "2",
1329
+ weight: "2",
1330
+ children: n
1331
+ })]
1332
+ });
1333
+ }
1334
+ vt.displayName = "InlineButtonsItem";
1335
+ //#endregion
1336
+ //#region src/components/InlineButtons/InlineButtons.tsx
1337
+ function yt({ ref: e, mode: t = "bezeled", className: n, children: r, ...i }) {
1338
+ return /* @__PURE__ */ h(ht.Provider, {
1339
+ value: { mode: t },
1340
+ children: /* @__PURE__ */ h("div", {
1341
+ ref: e,
1342
+ role: "group",
1343
+ className: y(gt.group, n),
1344
+ ...i,
1345
+ children: r
1346
+ })
1347
+ });
1348
+ }
1349
+ yt.displayName = "InlineButtons", yt.Item = vt;
1227
1350
  var U = {
1228
- base: "_base_1k0ze_1",
1229
- body: "_body_1k0ze_7",
1230
- ios: "_ios_1k0ze_23",
1231
- "align-start": "_align-start_1k0ze_29",
1232
- before: "_before_1k0ze_33",
1233
- after: "_after_1k0ze_34",
1234
- header: "_header_1k0ze_39",
1235
- focused: "_focused_1k0ze_53",
1236
- error: "_error_1k0ze_61",
1237
- disabled: "_disabled_1k0ze_73"
1351
+ base: "_base_1jyfl_1",
1352
+ body: "_body_1jyfl_7",
1353
+ ios: "_ios_1jyfl_23",
1354
+ "align-start": "_align-start_1jyfl_29",
1355
+ before: "_before_1jyfl_33",
1356
+ after: "_after_1jyfl_34",
1357
+ header: "_header_1jyfl_39",
1358
+ focused: "_focused_1jyfl_53",
1359
+ error: "_error_1jyfl_61",
1360
+ disabled: "_disabled_1jyfl_73"
1238
1361
  };
1239
1362
  //#endregion
1240
1363
  //#region src/components/FormField/FormField.tsx
1241
- function ft({ ref: e, ios: t = !1, status: n = "default", disabled: r = !1, alignStart: i = !1, header: a, before: o, after: s, className: c, children: l }) {
1364
+ function bt({ ref: e, ios: t = !1, status: n = "default", disabled: r = !1, alignStart: i = !1, header: a, before: o, after: s, className: c, children: l }) {
1242
1365
  return /* @__PURE__ */ g("div", {
1243
1366
  ref: e,
1244
1367
  className: y(t ? U.ios : U.base, n === "error" && U.error, n === "focused" && U.focused, r && U.disabled, i && U["align-start"], c),
@@ -1262,13 +1385,13 @@ function ft({ ref: e, ios: t = !1, status: n = "default", disabled: r = !1, alig
1262
1385
  }) : null]
1263
1386
  });
1264
1387
  }
1265
- ft.displayName = "FormField";
1266
- var pt = { field: "_field_11zrf_1" };
1388
+ bt.displayName = "FormField";
1389
+ var xt = { field: "_field_11zrf_1" };
1267
1390
  //#endregion
1268
1391
  //#region src/components/Input/Input.tsx
1269
- function mt({ ref: e, type: t = "text", header: n, before: r, after: i, status: a, disabled: o, className: s, onFocus: c, onBlur: l, ...u }) {
1270
- let { platform: f } = F(), p = f === "ios", [m, g] = d(!1);
1271
- return /* @__PURE__ */ h(ft, {
1392
+ function St({ ref: e, type: t = "text", header: n, before: r, after: i, status: a, disabled: o, className: s, onFocus: c, onBlur: l, ...u }) {
1393
+ let { platform: f } = I(), p = f === "ios", [m, g] = d(!1);
1394
+ return /* @__PURE__ */ h(bt, {
1272
1395
  ios: p,
1273
1396
  status: a ?? (m ? "focused" : "default"),
1274
1397
  disabled: o,
@@ -1276,10 +1399,10 @@ function mt({ ref: e, type: t = "text", header: n, before: r, after: i, status:
1276
1399
  before: r,
1277
1400
  after: i,
1278
1401
  className: s,
1279
- children: /* @__PURE__ */ h(p ? I : P, {
1402
+ children: /* @__PURE__ */ h(p ? L : F, {
1280
1403
  ref: e,
1281
1404
  Component: "input",
1282
- className: pt.field,
1405
+ className: xt.field,
1283
1406
  type: t,
1284
1407
  disabled: o,
1285
1408
  onFocus: (e) => {
@@ -1292,38 +1415,38 @@ function mt({ ref: e, type: t = "text", header: n, before: r, after: i, status:
1292
1415
  })
1293
1416
  });
1294
1417
  }
1295
- mt.displayName = "Input";
1418
+ St.displayName = "Input";
1296
1419
  //#endregion
1297
1420
  //#region src/components/LargeTitle/LargeTitle.module.css
1298
- var ht = { "large-title": "_large-title_15hug_1" };
1421
+ var Ct = { "large-title": "_large-title_15hug_1" };
1299
1422
  //#endregion
1300
1423
  //#region src/components/LargeTitle/LargeTitle.tsx
1301
- function gt({ ref: e, weight: t = "1", className: n, Component: r = "h1", ...i }) {
1302
- return /* @__PURE__ */ h(N, {
1424
+ function wt({ ref: e, weight: t = "1", className: n, Component: r = "h1", ...i }) {
1425
+ return /* @__PURE__ */ h(P, {
1303
1426
  ref: e,
1304
1427
  weight: t,
1305
1428
  Component: r,
1306
- className: y(ht["large-title"], n),
1429
+ className: y(Ct["large-title"], n),
1307
1430
  ...i
1308
1431
  });
1309
1432
  }
1310
- gt.displayName = "LargeTitle";
1311
- var _t = {
1433
+ wt.displayName = "LargeTitle";
1434
+ var Tt = {
1312
1435
  link: "_link_1ylyy_1",
1313
1436
  icon: "_icon_1ylyy_18"
1314
1437
  };
1315
1438
  //#endregion
1316
1439
  //#region src/components/Link/Link.tsx
1317
- function vt({ ref: e, target: t, rel: n, className: r, children: i, ...a }) {
1440
+ function Et({ ref: e, target: t, rel: n, className: r, children: i, ...a }) {
1318
1441
  let o = t === "_blank";
1319
1442
  return /* @__PURE__ */ g("a", {
1320
1443
  ref: e,
1321
1444
  target: t,
1322
1445
  rel: o ? n ?? "noopener noreferrer" : n,
1323
- className: y(_t.link, r),
1446
+ className: y(Tt.link, r),
1324
1447
  ...a,
1325
1448
  children: [i, o ? /* @__PURE__ */ h("svg", {
1326
- className: _t.icon,
1449
+ className: Tt.icon,
1327
1450
  viewBox: "0 0 16 16",
1328
1451
  fill: "none",
1329
1452
  "aria-hidden": !0,
@@ -1337,36 +1460,152 @@ function vt({ ref: e, target: t, rel: n, className: r, children: i, ...a }) {
1337
1460
  }) : null]
1338
1461
  });
1339
1462
  }
1340
- vt.displayName = "Link";
1341
- var yt = {
1463
+ Et.displayName = "Link";
1464
+ var Dt = {
1342
1465
  list: "_list_1rhgw_1",
1343
1466
  ios: "_ios_1rhgw_5"
1344
1467
  };
1345
1468
  //#endregion
1346
1469
  //#region src/components/List/List.tsx
1347
- function bt({ ref: e, Component: t = "div", className: n, children: r, ...i }) {
1348
- let { platform: a } = F();
1470
+ function Ot({ ref: e, Component: t = "div", className: n, children: r, ...i }) {
1471
+ let { platform: a } = I();
1349
1472
  return /* @__PURE__ */ h(t, {
1350
1473
  ref: e,
1351
- className: y(yt.list, a === "ios" && yt.ios, n),
1474
+ className: y(Dt.list, a === "ios" && Dt.ios, n),
1352
1475
  ...i,
1353
1476
  children: r
1354
1477
  });
1355
1478
  }
1356
- bt.displayName = "List";
1357
- var xt = {
1479
+ Ot.displayName = "List";
1480
+ var W = {
1481
+ nav: "_nav_4ys7l_1",
1482
+ list: "_list_4ys7l_5",
1483
+ page: "_page_4ys7l_14",
1484
+ "page--active": "_page--active_4ys7l_27",
1485
+ dots: "_dots_4ys7l_44",
1486
+ dotList: "_dotList_4ys7l_53",
1487
+ dot: "_dot_4ys7l_44",
1488
+ dotGap: "_dotGap_4ys7l_87"
1489
+ }, kt = "dots";
1490
+ function At(e, t) {
1491
+ return Array.from({ length: t - e + 1 }, (t, n) => e + n);
1492
+ }
1493
+ function jt(e, t, n) {
1494
+ if (n * 2 + 5 >= t) return At(1, t);
1495
+ let r = Math.max(e - n, 1), i = Math.min(e + n, t), a = r > 2, o = i < t - 1;
1496
+ return !a && o ? [
1497
+ ...At(1, 3 + n * 2),
1498
+ kt,
1499
+ t
1500
+ ] : a && !o ? [
1501
+ 1,
1502
+ kt,
1503
+ ...At(t - (3 + n * 2) + 1, t)
1504
+ ] : [
1505
+ 1,
1506
+ kt,
1507
+ ...At(r, i),
1508
+ kt,
1509
+ t
1510
+ ];
1511
+ }
1512
+ //#endregion
1513
+ //#region src/components/Pagination/CompactPagination.tsx
1514
+ function Mt({ ref: e, page: t, count: n, onChange: r, siblingCount: i = 1, className: a, ...o }) {
1515
+ let s = jt(t, n, i);
1516
+ return /* @__PURE__ */ h("nav", {
1517
+ ref: e,
1518
+ "aria-label": "Pagination",
1519
+ className: y(W.nav, a),
1520
+ ...o,
1521
+ children: /* @__PURE__ */ h("ul", {
1522
+ className: W.dotList,
1523
+ children: s.map((e, n) => e === "dots" ? /* @__PURE__ */ h("li", {
1524
+ className: W.dotGap,
1525
+ "aria-hidden": !0
1526
+ }, `dots-${n}`) : /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h("button", {
1527
+ type: "button",
1528
+ className: W.dot,
1529
+ "data-active": e === t || void 0,
1530
+ "aria-label": `Page ${e}`,
1531
+ "aria-current": e === t ? "page" : void 0,
1532
+ onClick: () => r(e)
1533
+ }) }, e))
1534
+ })
1535
+ });
1536
+ }
1537
+ Mt.displayName = "CompactPagination";
1538
+ //#endregion
1539
+ //#region src/components/Pagination/Pagination.tsx
1540
+ var Nt = ({ direction: e }) => /* @__PURE__ */ h("svg", {
1541
+ width: "16",
1542
+ height: "16",
1543
+ viewBox: "0 0 18 18",
1544
+ fill: "none",
1545
+ "aria-hidden": !0,
1546
+ children: /* @__PURE__ */ h("path", {
1547
+ d: e === "prev" ? "M11.25 4.5L6.75 9l4.5 4.5" : "M6.75 4.5L11.25 9l-4.5 4.5",
1548
+ stroke: "currentColor",
1549
+ strokeWidth: "1.8",
1550
+ strokeLinecap: "round",
1551
+ strokeLinejoin: "round"
1552
+ })
1553
+ });
1554
+ function Pt({ ref: e, page: t, count: n, onChange: r, siblingCount: i = 1, className: a, ...o }) {
1555
+ let s = jt(t, n, i);
1556
+ return /* @__PURE__ */ h("nav", {
1557
+ ref: e,
1558
+ "aria-label": "Pagination",
1559
+ className: y(W.nav, a),
1560
+ ...o,
1561
+ children: /* @__PURE__ */ g("ul", {
1562
+ className: W.list,
1563
+ children: [
1564
+ /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h(dt, {
1565
+ mode: "gray",
1566
+ size: "s",
1567
+ "aria-label": "Previous page",
1568
+ disabled: t <= 1,
1569
+ onClick: () => r(t - 1),
1570
+ children: /* @__PURE__ */ h(Nt, { direction: "prev" })
1571
+ }) }),
1572
+ s.map((e, n) => e === "dots" ? /* @__PURE__ */ h("li", {
1573
+ className: W.dots,
1574
+ "aria-hidden": !0,
1575
+ children: "…"
1576
+ }, `dots-${n}`) : /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h("button", {
1577
+ type: "button",
1578
+ className: y(W.page, e === t && W["page--active"]),
1579
+ "aria-current": e === t ? "page" : void 0,
1580
+ onClick: () => r(e),
1581
+ children: e
1582
+ }) }, e)),
1583
+ /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h(dt, {
1584
+ mode: "gray",
1585
+ size: "s",
1586
+ "aria-label": "Next page",
1587
+ disabled: t >= n,
1588
+ onClick: () => r(t + 1),
1589
+ children: /* @__PURE__ */ h(Nt, { direction: "next" })
1590
+ }) })
1591
+ ]
1592
+ })
1593
+ });
1594
+ }
1595
+ Pt.displayName = "Pagination";
1596
+ var Ft = {
1358
1597
  pinInput: "_pinInput_fn21m_1",
1359
1598
  cell: "_cell_fn21m_6"
1360
- }, St = {
1599
+ }, It = {
1361
1600
  numeric: /[0-9]/,
1362
1601
  alphanumeric: /[a-z0-9]/i
1363
1602
  };
1364
- function Ct({ ref: e, length: t = 4, value: n, defaultValue: r = "", onChange: i, onComplete: a, type: o = "numeric", mask: s = !1, disabled: c = !1, invalid: f = !1, name: p, "aria-label": m = "Verification code", className: g }) {
1603
+ function Lt({ ref: e, length: t = 4, value: n, defaultValue: r = "", onChange: i, onComplete: a, type: o = "numeric", mask: s = !1, disabled: c = !1, invalid: f = !1, name: p, "aria-label": m = "Verification code", className: g }) {
1365
1604
  let [_, v] = d(r.slice(0, t)), b = n ?? _, x = l(() => {
1366
1605
  let e = b.split("").slice(0, t);
1367
1606
  for (; e.length < t;) e.push("");
1368
1607
  return e;
1369
- }, [b, t]), S = u([]), C = St[o], w = (e) => {
1608
+ }, [b, t]), S = u([]), C = It[o], w = (e) => {
1370
1609
  let r = e.join("");
1371
1610
  n ?? v(r), i?.(r), r.length === t && e.every(Boolean) && a?.(r);
1372
1611
  }, T = (e) => {
@@ -1393,7 +1632,7 @@ function Ct({ ref: e, length: t = 4, value: n, defaultValue: r = "", onChange: i
1393
1632
  };
1394
1633
  return /* @__PURE__ */ h("div", {
1395
1634
  ref: e,
1396
- className: y(xt.pinInput, g),
1635
+ className: y(Ft.pinInput, g),
1397
1636
  role: "group",
1398
1637
  "aria-label": m,
1399
1638
  "data-invalid": f || void 0,
@@ -1401,7 +1640,7 @@ function Ct({ ref: e, length: t = 4, value: n, defaultValue: r = "", onChange: i
1401
1640
  ref: (e) => {
1402
1641
  S.current[t] = e;
1403
1642
  },
1404
- className: xt.cell,
1643
+ className: Ft.cell,
1405
1644
  type: s ? "password" : "text",
1406
1645
  inputMode: o === "numeric" ? "numeric" : "text",
1407
1646
  autoComplete: t === 0 ? "one-time-code" : "off",
@@ -1417,63 +1656,63 @@ function Ct({ ref: e, length: t = 4, value: n, defaultValue: r = "", onChange: i
1417
1656
  }, t))
1418
1657
  });
1419
1658
  }
1420
- Ct.displayName = "PinInput";
1659
+ Lt.displayName = "PinInput";
1421
1660
  //#endregion
1422
1661
  //#region src/components/Title/Title.module.css
1423
- var wt = {
1662
+ var Rt = {
1424
1663
  "level-1": "_level-1_rosk9_1",
1425
1664
  "level-2": "_level-2_rosk9_6",
1426
1665
  "level-3": "_level-3_rosk9_11"
1427
- }, Tt = {
1666
+ }, zt = {
1428
1667
  1: {
1429
1668
  tag: "h2",
1430
- className: wt["level-1"]
1669
+ className: Rt["level-1"]
1431
1670
  },
1432
1671
  2: {
1433
1672
  tag: "h3",
1434
- className: wt["level-2"]
1673
+ className: Rt["level-2"]
1435
1674
  },
1436
1675
  3: {
1437
1676
  tag: "h4",
1438
- className: wt["level-3"]
1677
+ className: Rt["level-3"]
1439
1678
  }
1440
1679
  };
1441
1680
  //#endregion
1442
1681
  //#region src/components/Title/Title.tsx
1443
- function Et({ ref: e, level: t = "2", Component: n, className: r, ...i }) {
1444
- let { tag: a, className: o } = Tt[t];
1445
- return /* @__PURE__ */ h(N, {
1682
+ function Bt({ ref: e, level: t = "2", Component: n, className: r, ...i }) {
1683
+ let { tag: a, className: o } = zt[t];
1684
+ return /* @__PURE__ */ h(P, {
1446
1685
  ref: e,
1447
1686
  Component: n ?? a,
1448
1687
  className: y(o, r),
1449
1688
  ...i
1450
1689
  });
1451
1690
  }
1452
- Et.displayName = "Title";
1453
- var Dt = {
1691
+ Bt.displayName = "Title";
1692
+ var Vt = {
1454
1693
  placeholder: "_placeholder_4t5fq_1",
1455
1694
  fields: "_fields_4t5fq_13",
1456
1695
  description: "_description_4t5fq_19"
1457
1696
  };
1458
1697
  //#endregion
1459
1698
  //#region src/components/Placeholder/Placeholder.tsx
1460
- function Ot({ ref: e, children: t, header: n, description: r, action: i, className: a, ...o }) {
1699
+ function Ht({ ref: e, children: t, header: n, description: r, action: i, className: a, ...o }) {
1461
1700
  return /* @__PURE__ */ g("section", {
1462
1701
  ref: e,
1463
- className: y(Dt.placeholder, a),
1702
+ className: y(Vt.placeholder, a),
1464
1703
  ...o,
1465
1704
  children: [
1466
1705
  t,
1467
1706
  n != null || r != null ? /* @__PURE__ */ g("dl", {
1468
- className: Dt.fields,
1469
- children: [n == null ? null : /* @__PURE__ */ h(Et, {
1707
+ className: Vt.fields,
1708
+ children: [n == null ? null : /* @__PURE__ */ h(Bt, {
1470
1709
  Component: "dt",
1471
1710
  level: "3",
1472
1711
  weight: "2",
1473
1712
  children: n
1474
- }), r == null ? null : /* @__PURE__ */ h(I, {
1713
+ }), r == null ? null : /* @__PURE__ */ h(L, {
1475
1714
  Component: "dd",
1476
- className: Dt.description,
1715
+ className: Vt.description,
1477
1716
  children: r
1478
1717
  })]
1479
1718
  }) : null,
@@ -1481,21 +1720,21 @@ function Ot({ ref: e, children: t, header: n, description: r, action: i, classNa
1481
1720
  ]
1482
1721
  });
1483
1722
  }
1484
- Ot.displayName = "Placeholder";
1723
+ Ht.displayName = "Placeholder";
1485
1724
  //#endregion
1486
1725
  //#region src/components/Portal/Portal.tsx
1487
- function kt({ children: e, container: t }) {
1488
- let { portalContainer: n } = F(), r = t ?? n;
1726
+ function Ut({ children: e, container: t }) {
1727
+ let { portalContainer: n } = I(), r = t ?? n;
1489
1728
  return r ? v(e, r) : null;
1490
1729
  }
1491
- kt.displayName = "Portal";
1492
- var At = {
1730
+ Ut.displayName = "Portal";
1731
+ var Wt = {
1493
1732
  track: "_track_5w1vs_1",
1494
1733
  bar: "_bar_5w1vs_9"
1495
1734
  };
1496
1735
  //#endregion
1497
1736
  //#region src/components/Progress/Progress.tsx
1498
- function jt({ ref: e, value: t = 0, className: n, ...r }) {
1737
+ function Gt({ ref: e, value: t = 0, className: n, ...r }) {
1499
1738
  let i = Math.max(0, Math.min(100, t));
1500
1739
  return /* @__PURE__ */ h("div", {
1501
1740
  ref: e,
@@ -1503,54 +1742,54 @@ function jt({ ref: e, value: t = 0, className: n, ...r }) {
1503
1742
  "aria-valuemin": 0,
1504
1743
  "aria-valuemax": 100,
1505
1744
  "aria-valuenow": Math.round(i),
1506
- className: y(At.track, n),
1745
+ className: y(Wt.track, n),
1507
1746
  ...r,
1508
1747
  children: /* @__PURE__ */ h("div", {
1509
- className: At.bar,
1748
+ className: Wt.bar,
1510
1749
  style: { width: `${i}%` }
1511
1750
  })
1512
1751
  });
1513
1752
  }
1514
- jt.displayName = "Progress";
1515
- var Mt = {
1753
+ Gt.displayName = "Progress";
1754
+ var Kt = {
1516
1755
  radio: "_radio_czv9z_1",
1517
1756
  input: "_input_czv9z_12",
1518
1757
  dot: "_dot_czv9z_22"
1519
1758
  };
1520
1759
  //#endregion
1521
1760
  //#region src/components/Radio/Radio.tsx
1522
- function Nt({ ref: e, disabled: t, className: n, style: r, ...i }) {
1761
+ function qt({ ref: e, disabled: t, className: n, style: r, ...i }) {
1523
1762
  return /* @__PURE__ */ g("span", {
1524
- className: y(Mt.radio, n),
1763
+ className: y(Kt.radio, n),
1525
1764
  style: r,
1526
1765
  "data-disabled": t || void 0,
1527
1766
  children: [/* @__PURE__ */ h("input", {
1528
1767
  ref: e,
1529
1768
  type: "radio",
1530
- className: Mt.input,
1769
+ className: Kt.input,
1531
1770
  disabled: t,
1532
1771
  ...i
1533
1772
  }), /* @__PURE__ */ h("span", {
1534
- className: Mt.dot,
1773
+ className: Kt.dot,
1535
1774
  "aria-hidden": !0
1536
1775
  })]
1537
1776
  });
1538
1777
  }
1539
- Nt.displayName = "Radio";
1540
- var W = {
1778
+ qt.displayName = "Radio";
1779
+ var G = {
1541
1780
  rating: "_rating_pfqty_1",
1542
1781
  row: "_row_pfqty_7",
1543
1782
  empty: "_empty_pfqty_12",
1544
1783
  fill: "_fill_pfqty_16",
1545
1784
  star: "_star_pfqty_29",
1546
1785
  interactive: "_interactive_pfqty_41"
1547
- }, Pt = /* @__PURE__ */ h("svg", {
1786
+ }, Jt = /* @__PURE__ */ h("svg", {
1548
1787
  viewBox: "0 0 24 24",
1549
1788
  fill: "currentColor",
1550
1789
  "aria-hidden": !0,
1551
1790
  children: /* @__PURE__ */ h("path", { d: "M12 2l2.9 6.3 6.9.8-5.1 4.7 1.4 6.8L12 17.8 5.9 20.4l1.4-6.8L2.2 9.1l6.9-.8z" })
1552
1791
  });
1553
- function Ft({ ref: e, value: t, defaultValue: n = 0, onChange: r, count: i = 5, readOnly: a = !1, disabled: o = !1, icon: s = Pt, name: c, "aria-label": l = "Rating", className: u }) {
1792
+ function Yt({ ref: e, value: t, defaultValue: n = 0, onChange: r, count: i = 5, readOnly: a = !1, disabled: o = !1, icon: s = Jt, name: c, "aria-label": l = "Rating", className: u }) {
1554
1793
  let [f, p] = d(n), m = t ?? f, [_, v] = d(null), b = !a && !o, x = Math.max(0, Math.min(1, (_ ?? m) / i)) * 100, S = (e) => {
1555
1794
  b && (t ?? p(e), r?.(e));
1556
1795
  }, C = (e) => {
@@ -1561,13 +1800,13 @@ function Ft({ ref: e, value: t, defaultValue: n = 0, onChange: r, count: i = 5,
1561
1800
  } : {}, E = b ? "radiogroup" : "img", D = b ? l : `${l}: ${m} out of ${i}`;
1562
1801
  return /* @__PURE__ */ g("div", {
1563
1802
  ref: e,
1564
- className: y(W.rating, b && W.interactive, u),
1803
+ className: y(G.rating, b && G.interactive, u),
1565
1804
  "data-disabled": o || void 0,
1566
1805
  role: E,
1567
1806
  "aria-label": D,
1568
1807
  ...T,
1569
1808
  children: [/* @__PURE__ */ h("div", {
1570
- className: y(W.row, W.empty),
1809
+ className: y(G.row, G.empty),
1571
1810
  "aria-hidden": !b,
1572
1811
  children: w.map((e) => b ? /* @__PURE__ */ h("button", {
1573
1812
  type: "button",
@@ -1576,32 +1815,122 @@ function Ft({ ref: e, value: t, defaultValue: n = 0, onChange: r, count: i = 5,
1576
1815
  "aria-label": `${e}`,
1577
1816
  tabIndex: e === (Math.round(m) || 1) ? 0 : -1,
1578
1817
  name: c,
1579
- className: W.star,
1818
+ className: G.star,
1580
1819
  onClick: () => S(e),
1581
1820
  onMouseEnter: () => v(e),
1582
1821
  onFocus: () => v(e),
1583
1822
  onBlur: () => v(null),
1584
1823
  children: s
1585
1824
  }, e) : /* @__PURE__ */ h("span", {
1586
- className: W.star,
1825
+ className: G.star,
1587
1826
  children: s
1588
1827
  }, e))
1589
1828
  }), /* @__PURE__ */ h("div", {
1590
- className: W.fill,
1829
+ className: G.fill,
1591
1830
  style: { clipPath: `inset(0 ${100 - x}% 0 0)` },
1592
1831
  "aria-hidden": !0,
1593
1832
  children: /* @__PURE__ */ h("div", {
1594
- className: W.row,
1833
+ className: G.row,
1595
1834
  children: w.map((e) => /* @__PURE__ */ h("span", {
1596
- className: W.star,
1835
+ className: G.star,
1597
1836
  children: s
1598
1837
  }, e))
1599
1838
  })
1600
1839
  })]
1601
1840
  });
1602
1841
  }
1603
- Ft.displayName = "Rating";
1604
- var G = {
1842
+ Yt.displayName = "Rating";
1843
+ var Xt = {
1844
+ bar: "_bar_4mkob_1",
1845
+ field: "_field_4mkob_8",
1846
+ icon: "_icon_4mkob_20",
1847
+ input: "_input_4mkob_26",
1848
+ clear: "_clear_4mkob_49",
1849
+ cancel: "_cancel_4mkob_70",
1850
+ "cancel--visible": "_cancel--visible_4mkob_86"
1851
+ }, Zt = (e) => e.preventDefault();
1852
+ function Qt({ ref: e, value: t, onChange: n, placeholder: r = "Search", onCancel: i, label: a = "Search", className: o, ...s }) {
1853
+ let c = u(null), [l, f] = d(!1), p = () => {
1854
+ n(""), c.current?.focus();
1855
+ }, m = () => {
1856
+ i?.(), c.current?.blur();
1857
+ };
1858
+ return /* @__PURE__ */ g("div", {
1859
+ ref: e,
1860
+ className: y(Xt.bar, o),
1861
+ ...s,
1862
+ children: [/* @__PURE__ */ g("div", {
1863
+ className: Xt.field,
1864
+ children: [
1865
+ /* @__PURE__ */ g("svg", {
1866
+ className: Xt.icon,
1867
+ width: "16",
1868
+ height: "16",
1869
+ viewBox: "0 0 16 16",
1870
+ fill: "none",
1871
+ "aria-hidden": !0,
1872
+ children: [/* @__PURE__ */ h("circle", {
1873
+ cx: "7",
1874
+ cy: "7",
1875
+ r: "5.25",
1876
+ stroke: "currentColor",
1877
+ strokeWidth: "1.5"
1878
+ }), /* @__PURE__ */ h("path", {
1879
+ d: "M11.5 11.5L14.5 14.5",
1880
+ stroke: "currentColor",
1881
+ strokeWidth: "1.5",
1882
+ strokeLinecap: "round"
1883
+ })]
1884
+ }),
1885
+ /* @__PURE__ */ h("input", {
1886
+ ref: c,
1887
+ type: "search",
1888
+ className: Xt.input,
1889
+ value: t,
1890
+ placeholder: r,
1891
+ "aria-label": a,
1892
+ onChange: (e) => n(e.target.value),
1893
+ onFocus: () => f(!0),
1894
+ onBlur: () => f(!1)
1895
+ }),
1896
+ t.length > 0 ? /* @__PURE__ */ h("button", {
1897
+ type: "button",
1898
+ className: Xt.clear,
1899
+ "aria-label": "Clear",
1900
+ onMouseDown: Zt,
1901
+ onClick: p,
1902
+ children: /* @__PURE__ */ g("svg", {
1903
+ width: "14",
1904
+ height: "14",
1905
+ viewBox: "0 0 14 14",
1906
+ "aria-hidden": !0,
1907
+ children: [/* @__PURE__ */ h("circle", {
1908
+ cx: "7",
1909
+ cy: "7",
1910
+ r: "7",
1911
+ fill: "currentColor",
1912
+ opacity: "0.15"
1913
+ }), /* @__PURE__ */ h("path", {
1914
+ d: "M4.5 4.5l5 5M9.5 4.5l-5 5",
1915
+ stroke: "currentColor",
1916
+ strokeWidth: "1.4",
1917
+ strokeLinecap: "round"
1918
+ })]
1919
+ })
1920
+ }) : null
1921
+ ]
1922
+ }), i == null ? null : /* @__PURE__ */ h("button", {
1923
+ type: "button",
1924
+ className: y(Xt.cancel, l && Xt["cancel--visible"]),
1925
+ tabIndex: l ? 0 : -1,
1926
+ onMouseDown: Zt,
1927
+ onClick: m,
1928
+ children: "Cancel"
1929
+ })]
1930
+ });
1931
+ }
1932
+ Qt.displayName = "SearchBar";
1933
+ var K = {
1605
1934
  body: "_body_1o4ef_1",
1606
1935
  sectionBase: "_sectionBase_1o4ef_6",
1607
1936
  bodyWithHeader: "_bodyWithHeader_1o4ef_6",
@@ -1616,93 +1945,93 @@ var G = {
1616
1945
  };
1617
1946
  //#endregion
1618
1947
  //#region src/components/Section/SectionFooter.tsx
1619
- function It({ ios: e, children: t }) {
1620
- return e ? /* @__PURE__ */ h(R, {
1621
- className: G.footerText,
1948
+ function $t({ ios: e, children: t }) {
1949
+ return e ? /* @__PURE__ */ h(ze, {
1950
+ className: K.footerText,
1622
1951
  children: t
1623
- }) : /* @__PURE__ */ h(P, {
1952
+ }) : /* @__PURE__ */ h(F, {
1624
1953
  level: "2",
1625
- className: G.footerText,
1954
+ className: K.footerText,
1626
1955
  children: t
1627
1956
  });
1628
1957
  }
1629
- function Lt({ ref: e, centered: t = !1, className: n, children: r, ...i }) {
1630
- let { platform: a } = F(), o = a === "ios";
1958
+ function en({ ref: e, centered: t = !1, className: n, children: r, ...i }) {
1959
+ let { platform: a } = I(), o = a === "ios";
1631
1960
  return /* @__PURE__ */ h("footer", {
1632
1961
  ref: e,
1633
- className: y(G.footer, o && G.footerIos, t && G.footerCentered, n),
1962
+ className: y(K.footer, o && K.footerIos, t && K.footerCentered, n),
1634
1963
  ...i,
1635
- children: /* @__PURE__ */ h(It, {
1964
+ children: /* @__PURE__ */ h($t, {
1636
1965
  ios: o,
1637
1966
  children: r
1638
1967
  })
1639
1968
  });
1640
1969
  }
1641
- Lt.displayName = "SectionFooter";
1970
+ en.displayName = "SectionFooter";
1642
1971
  //#endregion
1643
1972
  //#region src/components/Section/SectionHeader.tsx
1644
- function Rt({ ios: e, large: t, children: n }) {
1645
- return t ? e ? /* @__PURE__ */ h(P, {
1973
+ function tn({ ios: e, large: t, children: n }) {
1974
+ return t ? e ? /* @__PURE__ */ h(F, {
1646
1975
  Component: "h2",
1647
1976
  level: "1",
1648
1977
  weight: "2",
1649
1978
  children: n
1650
- }) : /* @__PURE__ */ h(I, {
1979
+ }) : /* @__PURE__ */ h(L, {
1651
1980
  Component: "h2",
1652
1981
  weight: "2",
1653
1982
  children: n
1654
- }) : e ? /* @__PURE__ */ h(R, {
1983
+ }) : e ? /* @__PURE__ */ h(ze, {
1655
1984
  Component: "h2",
1656
1985
  caps: !0,
1657
1986
  children: n
1658
- }) : /* @__PURE__ */ h(P, {
1987
+ }) : /* @__PURE__ */ h(F, {
1659
1988
  Component: "h2",
1660
1989
  level: "2",
1661
1990
  weight: "2",
1662
1991
  children: n
1663
1992
  });
1664
1993
  }
1665
- function zt({ ref: e, large: t = !1, className: n, children: r, ...i }) {
1666
- let { platform: a } = F(), o = a === "ios";
1994
+ function nn({ ref: e, large: t = !1, className: n, children: r, ...i }) {
1995
+ let { platform: a } = I(), o = a === "ios";
1667
1996
  return /* @__PURE__ */ h("header", {
1668
1997
  ref: e,
1669
- className: y(G.header, o && G.headerIos, t && G.headerLarge, n),
1998
+ className: y(K.header, o && K.headerIos, t && K.headerLarge, n),
1670
1999
  ...i,
1671
- children: /* @__PURE__ */ h(Rt, {
2000
+ children: /* @__PURE__ */ h(tn, {
1672
2001
  ios: o,
1673
2002
  large: t,
1674
2003
  children: r
1675
2004
  })
1676
2005
  });
1677
2006
  }
1678
- zt.displayName = "SectionHeader";
2007
+ nn.displayName = "SectionHeader";
1679
2008
  //#endregion
1680
2009
  //#region src/components/Section/Section.tsx
1681
- var Bt = (e) => typeof e == "string" || typeof e == "number";
1682
- function Vt({ ref: n, header: i, footer: a, className: o, children: s, ...c }) {
1683
- let { platform: l } = F(), u = e.toArray(s);
2010
+ var rn = (e) => typeof e == "string" || typeof e == "number";
2011
+ function an({ ref: n, header: i, footer: a, className: o, children: s, ...c }) {
2012
+ let { platform: l } = I(), u = e.toArray(s);
1684
2013
  return /* @__PURE__ */ g("section", {
1685
2014
  ref: n,
1686
- className: y(l === "ios" ? G.sectionIos : G.sectionBase, o),
2015
+ className: y(l === "ios" ? K.sectionIos : K.sectionBase, o),
1687
2016
  ...c,
1688
2017
  children: [/* @__PURE__ */ g("div", {
1689
- className: G.bodyWithHeader,
1690
- children: [Bt(i) ? /* @__PURE__ */ h(zt, { children: i }) : i, /* @__PURE__ */ h("div", {
1691
- className: G.body,
1692
- children: u.map((e, n) => /* @__PURE__ */ g(t, { children: [e, n < u.length - 1 ? /* @__PURE__ */ h(et, {}) : null] }, r(e) ? e.key : n))
2018
+ className: K.bodyWithHeader,
2019
+ children: [rn(i) ? /* @__PURE__ */ h(nn, { children: i }) : i, /* @__PURE__ */ h("div", {
2020
+ className: K.body,
2021
+ children: u.map((e, n) => /* @__PURE__ */ g(t, { children: [e, n < u.length - 1 ? /* @__PURE__ */ h(rt, {}) : null] }, r(e) ? e.key : n))
1693
2022
  })]
1694
- }), Bt(a) ? /* @__PURE__ */ h(Lt, { children: a }) : a]
2023
+ }), rn(a) ? /* @__PURE__ */ h(en, { children: a }) : a]
1695
2024
  });
1696
2025
  }
1697
- Vt.displayName = "Section", Vt.Header = zt, Vt.Footer = Lt;
1698
- var Ht = {
2026
+ an.displayName = "Section", an.Header = nn, an.Footer = en;
2027
+ var on = {
1699
2028
  control: "_control_1uo8p_1",
1700
2029
  pill: "_pill_1uo8p_10",
1701
2030
  item: "_item_1uo8p_28"
1702
2031
  };
1703
2032
  //#endregion
1704
2033
  //#region src/components/SegmentedControl/SegmentedControl.tsx
1705
- function Ut({ ref: e, className: t, children: n, onKeyDown: r, ...a }) {
2034
+ function sn({ ref: e, className: t, children: n, onKeyDown: r, ...a }) {
1706
2035
  let s = u(null), [l, f] = d(null), p = i(() => {
1707
2036
  let e = s.current;
1708
2037
  if (!e) return;
@@ -1724,7 +2053,7 @@ function Ut({ ref: e, className: t, children: n, onKeyDown: r, ...a }) {
1724
2053
  return /* @__PURE__ */ g("div", {
1725
2054
  ref: m,
1726
2055
  role: "radiogroup",
1727
- className: y(Ht.control, t),
2056
+ className: y(on.control, t),
1728
2057
  onKeyDown: (e) => {
1729
2058
  if (r?.(e), e.key !== "ArrowLeft" && e.key !== "ArrowRight") return;
1730
2059
  let t = s.current;
@@ -1737,7 +2066,7 @@ function Ut({ ref: e, className: t, children: n, onKeyDown: r, ...a }) {
1737
2066
  },
1738
2067
  ...a,
1739
2068
  children: [/* @__PURE__ */ h("div", {
1740
- className: Ht.pill,
2069
+ className: on.pill,
1741
2070
  style: l ? {
1742
2071
  transform: `translateX(${l.left}px)`,
1743
2072
  width: l.width
@@ -1746,10 +2075,10 @@ function Ut({ ref: e, className: t, children: n, onKeyDown: r, ...a }) {
1746
2075
  }), n]
1747
2076
  });
1748
2077
  }
1749
- Ut.displayName = "SegmentedControl";
2078
+ sn.displayName = "SegmentedControl";
1750
2079
  //#endregion
1751
2080
  //#region src/components/SegmentedControl/SegmentedControlItem.tsx
1752
- function Wt({ ref: e, selected: t = !1, className: n, ...r }) {
2081
+ function cn({ ref: e, selected: t = !1, className: n, ...r }) {
1753
2082
  return /* @__PURE__ */ h("button", {
1754
2083
  ref: e,
1755
2084
  type: "button",
@@ -1757,12 +2086,12 @@ function Wt({ ref: e, selected: t = !1, className: n, ...r }) {
1757
2086
  "aria-checked": t,
1758
2087
  tabIndex: t ? 0 : -1,
1759
2088
  "data-selected": t || void 0,
1760
- className: y(Ht.item, n),
2089
+ className: y(on.item, n),
1761
2090
  ...r
1762
2091
  });
1763
2092
  }
1764
- Wt.displayName = "SegmentedControlItem";
1765
- var K = {
2093
+ cn.displayName = "SegmentedControlItem";
2094
+ var q = {
1766
2095
  base: "_base_yxki5_1",
1767
2096
  row: "_row_yxki5_7",
1768
2097
  ios: "_ios_yxki5_17",
@@ -1775,17 +2104,17 @@ var K = {
1775
2104
  };
1776
2105
  //#endregion
1777
2106
  //#region src/components/Select/Select.tsx
1778
- function Gt({ ref: e, header: t, status: n, disabled: r, className: i, onFocus: a, onBlur: o, children: s, ...c }) {
1779
- let { platform: l } = F(), u = l === "ios", [f, p] = d(!1), m = n ?? (f ? "focused" : "default"), _ = u ? I : P;
2107
+ function ln({ ref: e, header: t, status: n, disabled: r, className: i, onFocus: a, onBlur: o, children: s, ...c }) {
2108
+ let { platform: l } = I(), u = l === "ios", [f, p] = d(!1), m = n ?? (f ? "focused" : "default"), _ = u ? L : F;
1780
2109
  return /* @__PURE__ */ g("div", {
1781
- className: y(u ? K.ios : K.base, m === "error" && K.error, m === "focused" && K.focused, r && K.disabled, i),
2110
+ className: y(u ? q.ios : q.base, m === "error" && q.error, m === "focused" && q.focused, r && q.disabled, i),
1782
2111
  "aria-disabled": r || void 0,
1783
2112
  children: [/* @__PURE__ */ g("div", {
1784
- className: K.row,
2113
+ className: q.row,
1785
2114
  children: [/* @__PURE__ */ h(_, {
1786
2115
  ref: e,
1787
2116
  Component: "select",
1788
- className: K.select,
2117
+ className: q.select,
1789
2118
  disabled: r,
1790
2119
  onFocus: (e) => {
1791
2120
  r || p(!0), a?.(e);
@@ -1797,30 +2126,30 @@ function Gt({ ref: e, header: t, status: n, disabled: r, className: i, onFocus:
1797
2126
  children: s
1798
2127
  }), /* @__PURE__ */ h("span", {
1799
2128
  "aria-hidden": !0,
1800
- className: K.chevron
2129
+ className: q.chevron
1801
2130
  })]
1802
2131
  }), t != null && !u ? /* @__PURE__ */ h("span", {
1803
- className: K.header,
2132
+ className: q.header,
1804
2133
  children: t
1805
2134
  }) : null]
1806
2135
  });
1807
2136
  }
1808
- Gt.displayName = "Select";
2137
+ ln.displayName = "Select";
1809
2138
  //#endregion
1810
2139
  //#region src/shared/lib/useReducedMotion.ts
1811
- var Kt = "(prefers-reduced-motion: reduce)";
1812
- function qt(e) {
2140
+ var un = "(prefers-reduced-motion: reduce)";
2141
+ function dn(e) {
1813
2142
  if (typeof window > "u" || !window.matchMedia) return () => {};
1814
- let t = window.matchMedia(Kt);
2143
+ let t = window.matchMedia(un);
1815
2144
  return t.addEventListener("change", e), () => t.removeEventListener("change", e);
1816
2145
  }
1817
- function Jt() {
1818
- return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia(Kt).matches;
2146
+ function fn() {
2147
+ return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia(un).matches;
1819
2148
  }
1820
- function Yt() {
1821
- return f(qt, Jt, () => !1);
2149
+ function pn() {
2150
+ return f(dn, fn, () => !1);
1822
2151
  }
1823
- var q = {
2152
+ var J = {
1824
2153
  backdrop: "_backdrop_a10cl_1",
1825
2154
  "backdrop--contained": "_backdrop--contained_a10cl_12",
1826
2155
  "backdrop--visible": "_backdrop--visible_a10cl_16",
@@ -1832,12 +2161,12 @@ var q = {
1832
2161
  title: "_title_a10cl_95",
1833
2162
  close: "_close_a10cl_100",
1834
2163
  body: "_body_a10cl_105"
1835
- }, Xt = 340, Zt = 6, Qt = 96, $t = .5;
1836
- function en(e) {
2164
+ }, mn = 340, hn = 6, gn = 96, _n = .5;
2165
+ function vn(e) {
1837
2166
  return Array.from(e.querySelectorAll("a[href],button:not([disabled]),textarea:not([disabled]),input:not([disabled]),select:not([disabled]),[tabindex]:not([tabindex=\"-1\"])")).filter((e) => e.offsetParent !== null || e === document.activeElement);
1838
2167
  }
1839
- function tn({ ref: e, open: t, onClose: n, header: r, children: a, dismissable: s = !0, closeLabel: c = "Close", className: l, container: f }) {
1840
- let p = Yt(), m = f != null, [_, v] = d(t), [b, x] = d(!1), S = u(null), C = u(null), w = u({
2168
+ function yn({ ref: e, open: t, onClose: n, header: r, children: a, dismissable: s = !0, closeLabel: c = "Close", className: l, container: f }) {
2169
+ let p = pn(), m = f != null, [_, v] = d(t), [b, x] = d(!1), S = u(null), C = u(null), w = u({
1841
2170
  id: -1,
1842
2171
  active: !1,
1843
2172
  startY: 0,
@@ -1854,7 +2183,7 @@ function tn({ ref: e, open: t, onClose: n, header: r, children: a, dismissable:
1854
2183
  v(!1);
1855
2184
  return;
1856
2185
  }
1857
- let e = setTimeout(() => v(!1), Xt);
2186
+ let e = setTimeout(() => v(!1), mn);
1858
2187
  return () => clearTimeout(e);
1859
2188
  }, [t, p]), o(() => {
1860
2189
  if (!_ || !t) return;
@@ -1888,7 +2217,7 @@ function tn({ ref: e, open: t, onClose: n, header: r, children: a, dismissable:
1888
2217
  ]);
1889
2218
  let T = i((e) => {
1890
2219
  if (e.key !== "Tab" || !S.current) return;
1891
- let t = en(S.current);
2220
+ let t = vn(S.current);
1892
2221
  if (t.length === 0) {
1893
2222
  e.preventDefault(), S.current.focus();
1894
2223
  return;
@@ -1909,7 +2238,7 @@ function tn({ ref: e, open: t, onClose: n, header: r, children: a, dismissable:
1909
2238
  if (t.id !== e.pointerId) return;
1910
2239
  let n = e.clientY - t.startY;
1911
2240
  if (!t.active) {
1912
- if (n < Zt) return;
2241
+ if (n < hn) return;
1913
2242
  t.active = !0, e.currentTarget.setPointerCapture(e.pointerId), S.current && (S.current.style.transition = "none");
1914
2243
  }
1915
2244
  let r = e.timeStamp - t.lastT;
@@ -1926,16 +2255,16 @@ function tn({ ref: e, open: t, onClose: n, header: r, children: a, dismissable:
1926
2255
  active: !1
1927
2256
  }, !t.active)) return;
1928
2257
  e.currentTarget.releasePointerCapture?.(e.pointerId);
1929
- let r = S.current, i = e.clientY - t.startY > Qt || t.velocity > $t;
2258
+ let r = S.current, i = e.clientY - t.startY > gn || t.velocity > _n;
1930
2259
  r && (r.style.transition = "", r.getBoundingClientRect(), r.style.transform = ""), i && (x(!1), n());
1931
2260
  };
1932
2261
  if (!_) return null;
1933
2262
  let k = b && t;
1934
- return /* @__PURE__ */ h(kt, {
2263
+ return /* @__PURE__ */ h(Ut, {
1935
2264
  container: f,
1936
2265
  children: /* @__PURE__ */ h("div", {
1937
2266
  ref: e,
1938
- className: y(q.backdrop, m && q["backdrop--contained"], k && q["backdrop--visible"]),
2267
+ className: y(J.backdrop, m && J["backdrop--contained"], k && J["backdrop--visible"]),
1939
2268
  onPointerDown: (e) => {
1940
2269
  e.target === e.currentTarget && s && n();
1941
2270
  },
@@ -1944,27 +2273,27 @@ function tn({ ref: e, open: t, onClose: n, header: r, children: a, dismissable:
1944
2273
  role: "dialog",
1945
2274
  "aria-modal": "true",
1946
2275
  tabIndex: -1,
1947
- className: y(q.panel, k && q["panel--visible"], l),
2276
+ className: y(J.panel, k && J["panel--visible"], l),
1948
2277
  onKeyDown: T,
1949
2278
  children: [/* @__PURE__ */ g("div", {
1950
- className: q.grip,
2279
+ className: J.grip,
1951
2280
  onPointerDown: E,
1952
2281
  onPointerMove: D,
1953
2282
  onPointerUp: O,
1954
2283
  onPointerCancel: O,
1955
2284
  children: [s ? /* @__PURE__ */ h("span", {
1956
- className: q.handle,
2285
+ className: J.handle,
1957
2286
  "aria-hidden": !0
1958
2287
  }) : null, r == null ? null : /* @__PURE__ */ g("div", {
1959
- className: q.header,
2288
+ className: J.header,
1960
2289
  children: [/* @__PURE__ */ h("div", {
1961
- className: q.title,
2290
+ className: J.title,
1962
2291
  children: r
1963
- }), s ? /* @__PURE__ */ h(ct, {
2292
+ }), s ? /* @__PURE__ */ h(dt, {
1964
2293
  mode: "gray",
1965
2294
  size: "s",
1966
2295
  circle: !0,
1967
- className: q.close,
2296
+ className: J.close,
1968
2297
  "aria-label": c,
1969
2298
  onClick: n,
1970
2299
  children: /* @__PURE__ */ h("svg", {
@@ -1982,32 +2311,32 @@ function tn({ ref: e, open: t, onClose: n, header: r, children: a, dismissable:
1982
2311
  }) : null]
1983
2312
  })]
1984
2313
  }), /* @__PURE__ */ h("div", {
1985
- className: q.body,
2314
+ className: J.body,
1986
2315
  children: a
1987
2316
  })]
1988
2317
  })
1989
2318
  })
1990
2319
  });
1991
2320
  }
1992
- tn.displayName = "Sheet";
1993
- var nn = {
2321
+ yn.displayName = "Sheet";
2322
+ var bn = {
1994
2323
  skeleton: "_skeleton_197j4_1",
1995
2324
  visible: "_visible_197j4_5",
1996
2325
  "tgui-skeleton": "_tgui-skeleton_197j4_1"
1997
2326
  };
1998
2327
  //#endregion
1999
2328
  //#region src/components/Skeleton/Skeleton.tsx
2000
- function rn({ ref: e, visible: t = !0, className: n, children: r, ...i }) {
2329
+ function xn({ ref: e, visible: t = !0, className: n, children: r, ...i }) {
2001
2330
  return /* @__PURE__ */ h("div", {
2002
2331
  ref: e,
2003
2332
  "aria-hidden": t || void 0,
2004
- className: y(nn.skeleton, t && nn.visible, n),
2333
+ className: y(bn.skeleton, t && bn.visible, n),
2005
2334
  ...i,
2006
2335
  children: r
2007
2336
  });
2008
2337
  }
2009
- rn.displayName = "Skeleton";
2010
- var J = {
2338
+ xn.displayName = "Skeleton";
2339
+ var Sn = {
2011
2340
  slider: "_slider_avyl5_1",
2012
2341
  track: "_track_avyl5_8",
2013
2342
  rail: "_rail_avyl5_16",
@@ -2017,28 +2346,28 @@ var J = {
2017
2346
  };
2018
2347
  //#endregion
2019
2348
  //#region src/components/Slider/Slider.tsx
2020
- function an({ ref: e, value: t, defaultValue: n, onChange: r, min: i = 0, max: a = 100, step: o = 1, before: s, after: c, disabled: l, className: u, ...f }) {
2349
+ function Cn({ ref: e, value: t, defaultValue: n, onChange: r, min: i = 0, max: a = 100, step: o = 1, before: s, after: c, disabled: l, className: u, ...f }) {
2021
2350
  let [p, m] = d(n ?? i), _ = t ?? p, v = a > i ? (_ - i) / (a - i) * 100 : 0;
2022
2351
  return /* @__PURE__ */ g("div", {
2023
- className: y(J.slider, u),
2352
+ className: y(Sn.slider, u),
2024
2353
  "data-disabled": l || void 0,
2025
2354
  children: [
2026
2355
  s == null ? null : /* @__PURE__ */ h("span", {
2027
- className: J.side,
2356
+ className: Sn.side,
2028
2357
  children: s
2029
2358
  }),
2030
2359
  /* @__PURE__ */ g("span", {
2031
- className: J.track,
2360
+ className: Sn.track,
2032
2361
  children: [
2033
- /* @__PURE__ */ h("span", { className: J.rail }),
2362
+ /* @__PURE__ */ h("span", { className: Sn.rail }),
2034
2363
  /* @__PURE__ */ h("span", {
2035
- className: J.fill,
2364
+ className: Sn.fill,
2036
2365
  style: { width: `${Math.max(0, Math.min(100, v))}%` }
2037
2366
  }),
2038
2367
  /* @__PURE__ */ h("input", {
2039
2368
  ref: e,
2040
2369
  type: "range",
2041
- className: J.input,
2370
+ className: Sn.input,
2042
2371
  min: i,
2043
2372
  max: a,
2044
2373
  step: o,
@@ -2053,17 +2382,17 @@ function an({ ref: e, value: t, defaultValue: n, onChange: r, min: i = 0, max: a
2053
2382
  ]
2054
2383
  }),
2055
2384
  c == null ? null : /* @__PURE__ */ h("span", {
2056
- className: J.side,
2385
+ className: Sn.side,
2057
2386
  children: c
2058
2387
  })
2059
2388
  ]
2060
2389
  });
2061
2390
  }
2062
- an.displayName = "Slider";
2391
+ Cn.displayName = "Slider";
2063
2392
  //#endregion
2064
2393
  //#region src/components/Snackbar/context.ts
2065
- var on = n(null);
2066
- on.displayName = "SnackbarContext";
2394
+ var wn = n(null);
2395
+ wn.displayName = "SnackbarContext";
2067
2396
  var Y = {
2068
2397
  viewport: "_viewport_1rbuf_1",
2069
2398
  snackbar: "_snackbar_1rbuf_19",
@@ -2074,8 +2403,8 @@ var Y = {
2074
2403
  message: "_message_1rbuf_69",
2075
2404
  description: "_description_1rbuf_74",
2076
2405
  action: "_action_1rbuf_80"
2077
- }, sn = 240, cn = 80;
2078
- function ln({ children: e, duration: t = 4e3, max: n = 3 }) {
2406
+ }, Tn = 240, En = 80;
2407
+ function Dn({ children: e, duration: t = 4e3, max: n = 3 }) {
2079
2408
  let [r, a] = d([]), o = u(0), s = i((e) => {
2080
2409
  a((t) => t.filter((t) => t.id !== e));
2081
2410
  }, []), c = i((e) => {
@@ -2088,11 +2417,11 @@ function ln({ children: e, duration: t = 4e3, max: n = 3 }) {
2088
2417
  show: c,
2089
2418
  dismiss: s
2090
2419
  }), [c, s]);
2091
- return /* @__PURE__ */ g(on.Provider, {
2420
+ return /* @__PURE__ */ g(wn.Provider, {
2092
2421
  value: f,
2093
- children: [e, r.length > 0 ? /* @__PURE__ */ h(kt, { children: /* @__PURE__ */ h("div", {
2422
+ children: [e, r.length > 0 ? /* @__PURE__ */ h(Ut, { children: /* @__PURE__ */ h("div", {
2094
2423
  className: Y.viewport,
2095
- children: r.map((e) => /* @__PURE__ */ h(un, {
2424
+ children: r.map((e) => /* @__PURE__ */ h(On, {
2096
2425
  item: e,
2097
2426
  defaultDuration: t,
2098
2427
  onDismiss: () => s(e.id)
@@ -2100,9 +2429,9 @@ function ln({ children: e, duration: t = 4e3, max: n = 3 }) {
2100
2429
  }) }) : null]
2101
2430
  });
2102
2431
  }
2103
- ln.displayName = "SnackbarProvider";
2104
- function un({ item: e, defaultDuration: t, onDismiss: n }) {
2105
- let r = Yt(), [a, s] = d(!1), [l, f] = d(!1), p = u(null), m = e.duration ?? t, _ = u(m), v = u(0), b = u(null), x = u({
2432
+ Dn.displayName = "SnackbarProvider";
2433
+ function On({ item: e, defaultDuration: t, onDismiss: n }) {
2434
+ let r = pn(), [a, s] = d(!1), [l, f] = d(!1), p = u(null), m = e.duration ?? t, _ = u(m), v = u(0), b = u(null), x = u({
2106
2435
  id: -1,
2107
2436
  startX: 0,
2108
2437
  active: !1
@@ -2116,7 +2445,7 @@ function un({ item: e, defaultDuration: t, onDismiss: n }) {
2116
2445
  n();
2117
2446
  return;
2118
2447
  }
2119
- let e = setTimeout(n, sn);
2448
+ let e = setTimeout(n, Tn);
2120
2449
  return () => clearTimeout(e);
2121
2450
  }, [r, n]), C = i(() => {
2122
2451
  b.current && (clearTimeout(b.current), b.current = null, _.current -= Date.now() - v.current);
@@ -2155,7 +2484,7 @@ function un({ item: e, defaultDuration: t, onDismiss: n }) {
2155
2484
  if (!i) return;
2156
2485
  i.classList.remove(Y["snackbar--dragging"]);
2157
2486
  let a = e.clientX - t.startX;
2158
- if (t.active && Math.abs(a) > cn) {
2487
+ if (t.active && Math.abs(a) > En) {
2159
2488
  if (r) {
2160
2489
  n();
2161
2490
  return;
@@ -2205,22 +2534,22 @@ function un({ item: e, defaultDuration: t, onDismiss: n }) {
2205
2534
  }
2206
2535
  //#endregion
2207
2536
  //#region src/components/Snackbar/useSnackbar.ts
2208
- function dn() {
2209
- let e = a(on);
2537
+ function kn() {
2538
+ let e = a(wn);
2210
2539
  if (!e) throw Error("useSnackbar must be used within a <SnackbarProvider>.");
2211
2540
  return e;
2212
2541
  }
2213
2542
  //#endregion
2214
2543
  //#region src/components/Spoiler/particles.ts
2215
- var fn = Math.PI * 2, pn = (e) => Math.max(0, Math.min(1, e)), mn = (e) => 1 - (1 - e) ** 3;
2216
- function hn(e, t, n, r) {
2544
+ var An = Math.PI * 2, jn = (e) => Math.max(0, Math.min(1, e)), Mn = (e) => 1 - (1 - e) ** 3;
2545
+ function Nn(e, t, n, r) {
2217
2546
  let i = Math.max(t, e - n);
2218
2547
  return r < t ? Math.max(0, r / t) : r > i ? Math.max(0, 1 - (r - i) / (e - i)) : 1;
2219
2548
  }
2220
- function gn(e, t, n) {
2549
+ function Pn(e, t, n) {
2221
2550
  let r = Math.round(Math.min(1800, Math.max(12, n * e * t))), i = [];
2222
2551
  for (let n = 0; n < r; n += 1) {
2223
- let n = 2 + Math.random() * 10, r = Math.random() * fn, a = .3 + Math.random() * 1.2, o = Math.random();
2552
+ let n = 2 + Math.random() * 10, r = Math.random() * An, a = .3 + Math.random() * 1.2, o = Math.random();
2224
2553
  i.push({
2225
2554
  x0: Math.random() * e,
2226
2555
  y0: Math.random() * t,
@@ -2235,7 +2564,7 @@ function gn(e, t, n) {
2235
2564
  }
2236
2565
  return i;
2237
2566
  }
2238
- function _n(e, t, n, r, i, a, o, s, c) {
2567
+ function Fn(e, t, n, r, i, a, o, s, c) {
2239
2568
  e.clearRect(0, 0, t, n);
2240
2569
  let l = t / r, u = n / r, [d, f, p] = a, m = i.length;
2241
2570
  for (let t = 0; t < m; t += 1) {
@@ -2247,23 +2576,23 @@ function _n(e, t, n, r, i, a, o, s, c) {
2247
2576
  g < 0 && (g += l);
2248
2577
  let _ = (n.y0 + n.vy * h) % u;
2249
2578
  _ < 0 && (_ += u);
2250
- let v = hn(n.life, .15, .3, h), y = v * (.45 + .55 * (1 - h / n.life));
2579
+ let v = Nn(n.life, .15, .3, h), y = v * (.45 + .55 * (1 - h / n.life));
2251
2580
  if (s != null && c > 0) {
2252
- let e = pn((o - (s + 2 / 3 * c * t / m)) / (1 / 3 * c));
2253
- y *= mn(1 - e);
2581
+ let e = jn((o - (s + 2 / 3 * c * t / m)) / (1 / 3 * c));
2582
+ y *= Mn(1 - e);
2254
2583
  }
2255
2584
  if (y <= .01) continue;
2256
2585
  let b = Math.max(.5, n.size * v) * r;
2257
- e.fillStyle = `rgba(${d}, ${f}, ${p}, ${y.toFixed(3)})`, e.beginPath(), n.square ? e.rect(g * r, _ * r, b, b) : e.arc(g * r, _ * r, b / 2, 0, fn), e.fill();
2586
+ e.fillStyle = `rgba(${d}, ${f}, ${p}, ${y.toFixed(3)})`, e.beginPath(), n.square ? e.rect(g * r, _ * r, b, b) : e.arc(g * r, _ * r, b / 2, 0, An), e.fill();
2258
2587
  }
2259
2588
  }
2260
- var vn = {
2589
+ var In = {
2261
2590
  spoiler: "_spoiler_15ysm_1",
2262
2591
  revealed: "_revealed_15ysm_15",
2263
2592
  canvas: "_canvas_15ysm_20",
2264
2593
  content: "_content_15ysm_67"
2265
- }, yn = .5;
2266
- function bn(e) {
2594
+ }, Ln = .5;
2595
+ function Rn(e) {
2267
2596
  let t = e.match(/-?\d*\.?\d+/g);
2268
2597
  return !t || t.length < 3 ? [
2269
2598
  128,
@@ -2275,8 +2604,8 @@ function bn(e) {
2275
2604
  Number(t[2])
2276
2605
  ];
2277
2606
  }
2278
- function xn({ ref: e, revealed: t, defaultRevealed: n = !1, onRevealedChange: r, revealOn: i = "click", accentColor: a, density: s = .1, fps: c = 40, revealLabel: l = "Reveal hidden text", className: f, style: p, children: m, onClick: _, onKeyDown: v, onMouseEnter: b, onMouseLeave: x, ...S }) {
2279
- let [C, w] = d(n), T = t ?? C, E = Yt(), D = i === "click", O = u(null), k = u(null), A = u([]), j = u([
2607
+ function zn({ ref: e, revealed: t, defaultRevealed: n = !1, onRevealedChange: r, revealOn: i = "click", accentColor: a, density: s = .1, fps: c = 40, revealLabel: l = "Reveal hidden text", className: f, style: p, children: m, onClick: _, onKeyDown: v, onMouseEnter: b, onMouseLeave: x, ...S }) {
2608
+ let [C, w] = d(n), T = t ?? C, E = pn(), D = i === "click", O = u(null), k = u(null), A = u([]), j = u([
2280
2609
  128,
2281
2610
  128,
2282
2611
  128
@@ -2289,10 +2618,10 @@ function xn({ ref: e, revealed: t, defaultRevealed: n = !1, onRevealedChange: r,
2289
2618
  if (!e || !t || !n) return;
2290
2619
  let r = Math.min(2, window.devicePixelRatio || 1), i = () => {
2291
2620
  let n = t.getBoundingClientRect(), i = Math.max(1, Math.round(n.width * r)), o = Math.max(1, Math.round(n.height * r));
2292
- (t.width !== i || t.height !== o) && (t.width = i, t.height = o, A.current = gn(i / r, o / r, s)), j.current = bn(a ?? getComputedStyle(e).color);
2621
+ (t.width !== i || t.height !== o) && (t.width = i, t.height = o, A.current = Pn(i / r, o / r, s)), j.current = Rn(a ?? getComputedStyle(e).color);
2293
2622
  };
2294
2623
  if (i(), E) {
2295
- _n(n, t.width, t.height, r, A.current, j.current, .6, null, 0);
2624
+ Fn(n, t.width, t.height, r, A.current, j.current, .6, null, 0);
2296
2625
  return;
2297
2626
  }
2298
2627
  let o = 0, l = 0, u = -1, d = 1e3 / Math.max(8, c), f = (e) => {
@@ -2300,11 +2629,11 @@ function xn({ ref: e, revealed: t, defaultRevealed: n = !1, onRevealedChange: r,
2300
2629
  let i = (e - l) / 1e3;
2301
2630
  M.current = i;
2302
2631
  let a = te.current;
2303
- if (a != null && i > a + yn + .06) {
2632
+ if (a != null && i > a + Ln + .06) {
2304
2633
  n.clearRect(0, 0, t.width, t.height), re(!1);
2305
2634
  return;
2306
2635
  }
2307
- o = requestAnimationFrame(f), !(!ee.current || e - u < d) && (u = e, _n(n, t.width, t.height, r, A.current, j.current, i, a, yn));
2636
+ o = requestAnimationFrame(f), !(!ee.current || e - u < d) && (u = e, Fn(n, t.width, t.height, r, A.current, j.current, i, a, Ln));
2308
2637
  };
2309
2638
  o = requestAnimationFrame(f);
2310
2639
  let p = typeof ResizeObserver < "u" ? new ResizeObserver(i) : null;
@@ -2327,7 +2656,7 @@ function xn({ ref: e, revealed: t, defaultRevealed: n = !1, onRevealedChange: r,
2327
2656
  ref: (t) => {
2328
2657
  O.current = t, typeof e == "function" ? e(t) : e && (e.current = t);
2329
2658
  },
2330
- className: y(vn.spoiler, T && vn.revealed, f),
2659
+ className: y(In.spoiler, T && In.revealed, f),
2331
2660
  role: "button",
2332
2661
  tabIndex: 0,
2333
2662
  "aria-pressed": T,
@@ -2350,18 +2679,121 @@ function xn({ ref: e, revealed: t, defaultRevealed: n = !1, onRevealedChange: r,
2350
2679
  },
2351
2680
  ...S,
2352
2681
  children: [/* @__PURE__ */ h("span", {
2353
- className: vn.content,
2682
+ className: In.content,
2354
2683
  "aria-hidden": !T,
2355
2684
  children: m
2356
2685
  }), ne ? /* @__PURE__ */ h("canvas", {
2357
2686
  ref: k,
2358
- className: vn.canvas,
2687
+ className: In.canvas,
2359
2688
  "aria-hidden": !0
2360
2689
  }) : null]
2361
2690
  });
2362
2691
  }
2363
- xn.displayName = "Spoiler";
2364
- var Sn = {
2692
+ zn.displayName = "Spoiler";
2693
+ var Bn = {
2694
+ stepper: "_stepper_j2yr8_1",
2695
+ value: "_value_j2yr8_7",
2696
+ "pulse-up": "_pulse-up_j2yr8_1",
2697
+ "pulse-down": "_pulse-down_j2yr8_1"
2698
+ }, Vn = (e, t, n) => Math.min(n, Math.max(t, e)), Hn = () => /* @__PURE__ */ h("svg", {
2699
+ width: "14",
2700
+ height: "14",
2701
+ viewBox: "0 0 14 14",
2702
+ "aria-hidden": !0,
2703
+ children: /* @__PURE__ */ h("path", {
2704
+ d: "M2.5 7h9",
2705
+ stroke: "currentColor",
2706
+ strokeWidth: "1.6",
2707
+ strokeLinecap: "round"
2708
+ })
2709
+ }), Un = () => /* @__PURE__ */ h("svg", {
2710
+ width: "14",
2711
+ height: "14",
2712
+ viewBox: "0 0 14 14",
2713
+ "aria-hidden": !0,
2714
+ children: /* @__PURE__ */ h("path", {
2715
+ d: "M7 2.5v9M2.5 7h9",
2716
+ stroke: "currentColor",
2717
+ strokeWidth: "1.6",
2718
+ strokeLinecap: "round"
2719
+ })
2720
+ });
2721
+ function Wn({ ref: e, value: t, onChange: n, min: r = 0, max: i = Infinity, step: a = 1, disabled: s = !1, className: c, ...l }) {
2722
+ let f = pn(), [p, m] = d(String(t)), [_, v] = d(null), b = u(t);
2723
+ o(() => {
2724
+ m(String(t)), t !== b.current && (f || v(t > b.current ? "up" : "down"), b.current = t);
2725
+ }, [t, f]);
2726
+ let x = () => {
2727
+ let e = Number.parseFloat(p), a = Vn(Number.isNaN(e) ? t : e, r, i);
2728
+ n(a), m(String(a));
2729
+ }, S = (e) => {
2730
+ e.key === "Enter" && (x(), e.currentTarget.blur());
2731
+ };
2732
+ return /* @__PURE__ */ g("div", {
2733
+ ref: e,
2734
+ className: y(Bn.stepper, c),
2735
+ ...l,
2736
+ children: [
2737
+ /* @__PURE__ */ h(dt, {
2738
+ mode: "gray",
2739
+ size: "s",
2740
+ circle: !0,
2741
+ "aria-label": "Decrease",
2742
+ disabled: s || t <= r,
2743
+ onClick: () => n(Vn(t - a, r, i)),
2744
+ children: /* @__PURE__ */ h(Hn, {})
2745
+ }),
2746
+ /* @__PURE__ */ h("input", {
2747
+ className: Bn.value,
2748
+ type: "number",
2749
+ inputMode: "numeric",
2750
+ "aria-label": "Value",
2751
+ value: p,
2752
+ disabled: s,
2753
+ "data-pulse": _ ?? void 0,
2754
+ onChange: (e) => m(e.target.value),
2755
+ onBlur: x,
2756
+ onKeyDown: S,
2757
+ onAnimationEnd: () => v(null)
2758
+ }),
2759
+ /* @__PURE__ */ h(dt, {
2760
+ mode: "gray",
2761
+ size: "s",
2762
+ circle: !0,
2763
+ "aria-label": "Increase",
2764
+ disabled: s || t >= i,
2765
+ onClick: () => n(Vn(t + a, r, i)),
2766
+ children: /* @__PURE__ */ h(Un, {})
2767
+ })
2768
+ ]
2769
+ });
2770
+ }
2771
+ Wn.displayName = "Stepper";
2772
+ var Gn = {
2773
+ steps: "_steps_u50on_1",
2774
+ segment: "_segment_u50on_8",
2775
+ fill: "_fill_u50on_16"
2776
+ }, Kn = (e) => Math.max(0, Math.min(1, e));
2777
+ function qn({ ref: e, count: t, progress: n, className: r, ...i }) {
2778
+ return /* @__PURE__ */ h("div", {
2779
+ ref: e,
2780
+ role: "progressbar",
2781
+ "aria-valuemin": 0,
2782
+ "aria-valuemax": t,
2783
+ "aria-valuenow": Math.max(0, Math.min(t, n)),
2784
+ className: y(Gn.steps, r),
2785
+ ...i,
2786
+ children: Array.from({ length: t }, (e, t) => /* @__PURE__ */ h("div", {
2787
+ className: Gn.segment,
2788
+ children: /* @__PURE__ */ h("div", {
2789
+ className: Gn.fill,
2790
+ style: { width: `${Kn(n - t) * 100}%` }
2791
+ })
2792
+ }, t))
2793
+ });
2794
+ }
2795
+ qn.displayName = "Steps";
2796
+ var Jn = {
2365
2797
  switch: "_switch_s4zd1_1",
2366
2798
  input: "_input_s4zd1_18",
2367
2799
  control: "_control_s4zd1_28",
@@ -2370,26 +2802,26 @@ var Sn = {
2370
2802
  };
2371
2803
  //#endregion
2372
2804
  //#region src/components/Switch/Switch.tsx
2373
- function Cn({ ref: e, disabled: t, className: n, style: r, ...i }) {
2374
- let { platform: a } = F();
2805
+ function Yn({ ref: e, disabled: t, className: n, style: r, ...i }) {
2806
+ let { platform: a } = I();
2375
2807
  return /* @__PURE__ */ g("label", {
2376
- className: y(Sn.switch, a === "ios" ? Sn.ios : Sn.base, n),
2808
+ className: y(Jn.switch, a === "ios" ? Jn.ios : Jn.base, n),
2377
2809
  style: r,
2378
2810
  "data-disabled": t || void 0,
2379
2811
  children: [/* @__PURE__ */ h("input", {
2380
2812
  ref: e,
2381
2813
  type: "checkbox",
2382
- className: Sn.input,
2814
+ className: Jn.input,
2383
2815
  disabled: t,
2384
2816
  ...i
2385
2817
  }), /* @__PURE__ */ h("span", {
2386
2818
  "aria-hidden": !0,
2387
- className: Sn.control
2819
+ className: Jn.control
2388
2820
  })]
2389
2821
  });
2390
2822
  }
2391
- Cn.displayName = "Switch";
2392
- var X = {
2823
+ Yn.displayName = "Switch";
2824
+ var Xn = {
2393
2825
  bar: "_bar_muj3n_1",
2394
2826
  barIos: "_barIos_muj3n_10",
2395
2827
  item: "_item_muj3n_15",
@@ -2400,44 +2832,44 @@ var X = {
2400
2832
  };
2401
2833
  //#endregion
2402
2834
  //#region src/components/TabBar/TabBarItem.tsx
2403
- function wn({ ref: e, selected: t, text: n, children: r, className: i, ...a }) {
2404
- let { platform: o } = F(), s = o === "ios";
2405
- return /* @__PURE__ */ g(be, {
2835
+ function Zn({ ref: e, selected: t, text: n, children: r, className: i, ...a }) {
2836
+ let { platform: o } = I(), s = o === "ios";
2837
+ return /* @__PURE__ */ g(Se, {
2406
2838
  ref: e,
2407
2839
  Component: "button",
2408
2840
  interactiveAnimation: "opacity",
2409
2841
  "aria-current": t ? "page" : void 0,
2410
- className: y(X.item, s && X.itemIos, t && X.itemSelected, i),
2842
+ className: y(Xn.item, s && Xn.itemIos, t && Xn.itemSelected, i),
2411
2843
  ...a,
2412
2844
  children: [r == null ? null : /* @__PURE__ */ h("span", {
2413
- className: X.icon,
2845
+ className: Xn.icon,
2414
2846
  children: r
2415
- }), n == null ? null : /* @__PURE__ */ h(R, {
2416
- className: X.text,
2847
+ }), n == null ? null : /* @__PURE__ */ h(ze, {
2848
+ className: Xn.text,
2417
2849
  weight: "2",
2418
2850
  level: s ? "2" : "1",
2419
2851
  children: n
2420
2852
  })]
2421
2853
  });
2422
2854
  }
2423
- wn.displayName = "TabBarItem";
2855
+ Zn.displayName = "TabBarItem";
2424
2856
  //#endregion
2425
2857
  //#region src/components/TabBar/TabBar.tsx
2426
- function Tn({ ref: e, className: t, children: n, ...r }) {
2427
- let { platform: i } = F();
2858
+ function Qn({ ref: e, className: t, children: n, ...r }) {
2859
+ let { platform: i } = I();
2428
2860
  return /* @__PURE__ */ h("nav", {
2429
2861
  ref: e,
2430
- className: y(X.bar, i === "ios" && X.barIos, t),
2862
+ className: y(Xn.bar, i === "ios" && Xn.barIos, t),
2431
2863
  ...r,
2432
2864
  children: n
2433
2865
  });
2434
2866
  }
2435
- Tn.displayName = "TabBar", Tn.Item = wn;
2436
- var En = { field: "_field_1crg0_1" };
2867
+ Qn.displayName = "TabBar", Qn.Item = Zn;
2868
+ var $n = { field: "_field_1crg0_1" };
2437
2869
  //#endregion
2438
2870
  //#region src/components/Textarea/Textarea.tsx
2439
- function Dn({ ref: e, header: t, status: n, autoGrow: r = !1, maxRows: a, rows: s = 3, disabled: c, className: l, value: f, defaultValue: p, onFocus: m, onBlur: g, onChange: _, ...v }) {
2440
- let { platform: y } = F(), b = y === "ios", [x, S] = d(!1), C = n ?? (x ? "focused" : "default"), w = b ? I : P, T = u(null), E = i((t) => {
2871
+ function er({ ref: e, header: t, status: n, autoGrow: r = !1, maxRows: a, rows: s = 3, disabled: c, className: l, value: f, defaultValue: p, onFocus: m, onBlur: g, onChange: _, ...v }) {
2872
+ let { platform: y } = I(), b = y === "ios", [x, S] = d(!1), C = n ?? (x ? "focused" : "default"), w = b ? L : F, T = u(null), E = i((t) => {
2441
2873
  T.current = t, typeof e == "function" ? e(t) : e && (e.current = t);
2442
2874
  }, [e]), D = i(() => {
2443
2875
  let e = T.current;
@@ -2450,7 +2882,7 @@ function Dn({ ref: e, header: t, status: n, autoGrow: r = !1, maxRows: a, rows:
2450
2882
  D,
2451
2883
  f,
2452
2884
  p
2453
- ]), /* @__PURE__ */ h(ft, {
2885
+ ]), /* @__PURE__ */ h(bt, {
2454
2886
  ios: b,
2455
2887
  status: C,
2456
2888
  disabled: c,
@@ -2460,7 +2892,7 @@ function Dn({ ref: e, header: t, status: n, autoGrow: r = !1, maxRows: a, rows:
2460
2892
  children: /* @__PURE__ */ h(w, {
2461
2893
  ref: E,
2462
2894
  Component: "textarea",
2463
- className: En.field,
2895
+ className: $n.field,
2464
2896
  rows: s,
2465
2897
  disabled: c,
2466
2898
  value: f,
@@ -2478,14 +2910,68 @@ function Dn({ ref: e, header: t, status: n, autoGrow: r = !1, maxRows: a, rows:
2478
2910
  })
2479
2911
  });
2480
2912
  }
2481
- Dn.displayName = "Textarea";
2482
- var On = {
2913
+ er.displayName = "Textarea";
2914
+ var X = {
2915
+ timeline: "_timeline_1usgg_1",
2916
+ item: "_item_1usgg_9",
2917
+ rail: "_rail_1usgg_20",
2918
+ connector: "_connector_1usgg_29",
2919
+ dot: "_dot_1usgg_47",
2920
+ content: "_content_1usgg_74",
2921
+ heading: "_heading_1usgg_80",
2922
+ title: "_title_1usgg_87",
2923
+ time: "_time_1usgg_1",
2924
+ description: "_description_1usgg_101"
2925
+ };
2926
+ //#endregion
2927
+ //#region src/components/Timeline/Timeline.tsx
2928
+ function tr({ ref: e, className: t, children: n, ...r }) {
2929
+ return /* @__PURE__ */ h("ol", {
2930
+ ref: e,
2931
+ className: y(X.timeline, t),
2932
+ ...r,
2933
+ children: n
2934
+ });
2935
+ }
2936
+ tr.displayName = "Timeline";
2937
+ //#endregion
2938
+ //#region src/components/Timeline/TimelineItem.tsx
2939
+ function nr({ ref: e, title: t, description: n, time: r, active: i = !1, className: a, ...o }) {
2940
+ return /* @__PURE__ */ g("li", {
2941
+ ref: e,
2942
+ className: y(X.item, a),
2943
+ "data-active": i || void 0,
2944
+ ...o,
2945
+ children: [/* @__PURE__ */ g("span", {
2946
+ className: X.rail,
2947
+ "aria-hidden": !0,
2948
+ children: [/* @__PURE__ */ h("span", { className: X.connector }), /* @__PURE__ */ h("span", { className: X.dot })]
2949
+ }), /* @__PURE__ */ g("div", {
2950
+ className: X.content,
2951
+ children: [/* @__PURE__ */ g("div", {
2952
+ className: X.heading,
2953
+ children: [/* @__PURE__ */ h("span", {
2954
+ className: X.title,
2955
+ children: t
2956
+ }), r == null ? null : /* @__PURE__ */ h("span", {
2957
+ className: X.time,
2958
+ children: r
2959
+ })]
2960
+ }), n == null ? null : /* @__PURE__ */ h("div", {
2961
+ className: X.description,
2962
+ children: n
2963
+ })]
2964
+ })]
2965
+ });
2966
+ }
2967
+ nr.displayName = "TimelineItem";
2968
+ var rr = {
2483
2969
  trigger: "_trigger_83ipz_1",
2484
2970
  tooltip: "_tooltip_83ipz_5",
2485
2971
  "tooltip--visible": "_tooltip--visible_83ipz_25",
2486
2972
  arrow: "_arrow_83ipz_44"
2487
2973
  }, Z = 8, Q = 8, $ = (e, t, n) => Math.max(t, Math.min(n, e));
2488
- function kn(e, t, n) {
2974
+ function ir(e, t, n) {
2489
2975
  let r = window.innerWidth, i = window.innerHeight, a = n;
2490
2976
  a === "top" && e.top - t.height - Z < Q ? a = "bottom" : a === "bottom" && e.bottom + t.height + Z > i - Q ? a = "top" : a === "left" && e.left - t.width - Z < Q ? a = "right" : a === "right" && e.right + t.width + Z > r - Q && (a = "left");
2491
2977
  let o = 0, s = 0;
@@ -2500,12 +2986,12 @@ function kn(e, t, n) {
2500
2986
  arrow: u
2501
2987
  };
2502
2988
  }
2503
- function An({ ref: e, children: t, content: n, placement: r = "top", open: a, onOpenChange: l, className: f }) {
2989
+ function ar({ ref: e, children: t, content: n, placement: r = "top", open: a, onOpenChange: l, className: f }) {
2504
2990
  let [p, _] = d(!1), v = a ?? p, b = u(null), x = u(null), S = u(null), [C, w] = d(null), [T, E] = d(!1), D = s(), O = i((e) => {
2505
2991
  a ?? _(e), l?.(e);
2506
2992
  }, [a, l]), k = i(() => {
2507
2993
  let e = b.current, t = x.current;
2508
- !e || !t || w(kn(e.getBoundingClientRect(), t.getBoundingClientRect(), r));
2994
+ !e || !t || w(ir(e.getBoundingClientRect(), t.getBoundingClientRect(), r));
2509
2995
  }, [r]);
2510
2996
  c(() => {
2511
2997
  if (!v) {
@@ -2538,7 +3024,7 @@ function An({ ref: e, children: t, content: n, placement: r = "top", open: a, on
2538
3024
  ref: (t) => {
2539
3025
  b.current = t, typeof e == "function" ? e(t) : e && (e.current = t);
2540
3026
  },
2541
- className: y(On.trigger, f),
3027
+ className: y(rr.trigger, f),
2542
3028
  "aria-describedby": v ? D : void 0,
2543
3029
  onPointerEnter: (e) => {
2544
3030
  e.pointerType !== "touch" && O(!0);
@@ -2554,11 +3040,11 @@ function An({ ref: e, children: t, content: n, placement: r = "top", open: a, on
2554
3040
  onFocus: () => O(!0),
2555
3041
  onBlur: () => O(!1),
2556
3042
  children: t
2557
- }), v ? /* @__PURE__ */ h(kt, { children: /* @__PURE__ */ g("div", {
3043
+ }), v ? /* @__PURE__ */ h(Ut, { children: /* @__PURE__ */ g("div", {
2558
3044
  ref: x,
2559
3045
  id: D,
2560
3046
  role: "tooltip",
2561
- className: y(On.tooltip, T && On["tooltip--visible"]),
3047
+ className: y(rr.tooltip, T && rr["tooltip--visible"]),
2562
3048
  style: C ? {
2563
3049
  top: C.top,
2564
3050
  left: C.left,
@@ -2567,14 +3053,14 @@ function An({ ref: e, children: t, content: n, placement: r = "top", open: a, on
2567
3053
  } : void 0,
2568
3054
  "data-placement": C?.placement,
2569
3055
  children: [n, C ? /* @__PURE__ */ h("span", {
2570
- className: On.arrow,
3056
+ className: rr.arrow,
2571
3057
  style: C.arrow,
2572
3058
  "aria-hidden": !0
2573
3059
  }) : null]
2574
3060
  }) }) : null] });
2575
3061
  }
2576
- An.displayName = "Tooltip";
3062
+ ar.displayName = "Tooltip";
2577
3063
  //#endregion
2578
- export { C as Accordion, w as AccordionItem, O as Avatar, A as AvatarStack, te as Badge, re as Banner, ae as Blockquote, Pe as Button, R as Caption, We as Card, Ue as CardCell, He as Cell, Ke as Checkbox, Je as Chip, Qe as CircularProgress, et as Divider, nt as FixedLayout, it as Headline, ot as HorizontalScroll, ct as IconButton, dt as Image, mt as Input, gt as LargeTitle, vt as Link, bt as List, Ct as PinInput, Ot as Placeholder, kt as Portal, jt as Progress, Nt as Radio, Ft as Rating, Vt as Section, Lt as SectionFooter, zt as SectionHeader, Ut as SegmentedControl, Wt as SegmentedControlItem, Gt as Select, tn as Sheet, rn as Skeleton, an as Slider, ln as SnackbarProvider, ce as Spinner, xn as Spoiler, P as Subheadline, Cn as Switch, Tn as TabBar, wn as TabBarItem, be as Tappable, I as Text, Dn as Textarea, je as TguiProvider, Et as Title, An as Tooltip, N as Typography, dn as useSnackbar, F as useTgui };
3064
+ export { C as Accordion, w as AccordionItem, O as Avatar, A as AvatarStack, te as Badge, re as Banner, ae as Blockquote, se as Breadcrumbs, Ie as Button, ze as Caption, qe as Card, Ke as CardCell, Ge as Cell, Ye as Checkbox, Ze as Chip, tt as CircularProgress, Mt as CompactPagination, rt as Divider, at as FixedLayout, st as Headline, lt as HorizontalScroll, dt as IconButton, mt as Image, yt as InlineButtons, vt as InlineButtonsItem, St as Input, wt as LargeTitle, Et as Link, Ot as List, Pt as Pagination, Lt as PinInput, Ht as Placeholder, Ut as Portal, Gt as Progress, qt as Radio, Yt as Rating, Qt as SearchBar, an as Section, en as SectionFooter, nn as SectionHeader, sn as SegmentedControl, cn as SegmentedControlItem, ln as Select, yn as Sheet, xn as Skeleton, Cn as Slider, Dn as SnackbarProvider, ue as Spinner, zn as Spoiler, Wn as Stepper, qn as Steps, F as Subheadline, Yn as Switch, Qn as TabBar, Zn as TabBarItem, Se as Tappable, L as Text, er as Textarea, Ne as TguiProvider, tr as Timeline, nr as TimelineItem, Bt as Title, ar as Tooltip, P as Typography, kn as useSnackbar, I as useTgui };
2579
3065
 
2580
3066
  //# sourceMappingURL=index.js.map