@gnome-ui/react 1.19.0 → 1.21.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
@@ -1,7 +1,7 @@
1
1
  import { Fragment as e, jsx as t, jsxs as n } from "react/jsx-runtime";
2
- import { Children as r, cloneElement as i, createContext as a, isValidElement as o, useCallback as s, useContext as c, useEffect as l, useId as u, useRef as d, useState as f } from "react";
3
- import { createPortal as p } from "react-dom";
4
- var m = {
2
+ import { Children as r, cloneElement as i, createContext as a, isValidElement as o, useCallback as s, useContext as c, useEffect as l, useId as u, useMemo as d, useRef as f, useState as p } from "react";
3
+ import { createPortal as m } from "react-dom";
4
+ var h = {
5
5
  blockquote: "_blockquote_j7x50_3",
6
6
  body: "_body_j7x50_15",
7
7
  icon: "_icon_j7x50_21",
@@ -16,34 +16,34 @@ var m = {
16
16
  };
17
17
  //#endregion
18
18
  //#region src/components/Blockquote/Blockquote.tsx
19
- function h({ variant: e = "default", icon: r, cite: i, children: a, className: o, ...s }) {
19
+ function g({ variant: e = "default", icon: r, cite: i, children: a, className: o, ...s }) {
20
20
  return /* @__PURE__ */ n("blockquote", {
21
21
  className: [
22
- m.blockquote,
23
- m[e],
22
+ h.blockquote,
23
+ h[e],
24
24
  o
25
25
  ].filter(Boolean).join(" "),
26
26
  ...s,
27
27
  children: [/* @__PURE__ */ n("div", {
28
- className: m.body,
28
+ className: h.body,
29
29
  children: [r && /* @__PURE__ */ t("span", {
30
- className: m.icon,
30
+ className: h.icon,
31
31
  "aria-hidden": "true",
32
32
  children: r
33
33
  }), /* @__PURE__ */ t("p", {
34
- className: m.content,
34
+ className: h.content,
35
35
  children: a
36
36
  })]
37
37
  }), i !== void 0 && /* @__PURE__ */ t("footer", {
38
- className: m.footer,
38
+ className: h.footer,
39
39
  children: /* @__PURE__ */ t("cite", {
40
- className: m.cite,
40
+ className: h.cite,
41
41
  children: i
42
42
  })
43
43
  })]
44
44
  });
45
45
  }
46
- var g = {
46
+ var _ = {
47
47
  button: "_button_1qgdy_1",
48
48
  pill: "_pill_1qgdy_52",
49
49
  circular: "_circular_1qgdy_59",
@@ -58,14 +58,14 @@ var g = {
58
58
  };
59
59
  //#endregion
60
60
  //#region src/components/Button/Button.tsx
61
- function _({ variant: e = "default", size: t = "md", shape: r = "default", osd: i = !1, leadingIcon: a, trailingIcon: o, children: s, className: c, ...l }) {
61
+ function v({ variant: e = "default", size: t = "md", shape: r = "default", osd: i = !1, leadingIcon: a, trailingIcon: o, children: s, className: c, ...l }) {
62
62
  return /* @__PURE__ */ n("button", {
63
63
  className: [
64
- g.button,
65
- g[e],
66
- t === "md" ? null : g[t],
67
- r === "default" ? null : g[r],
68
- i ? g.osd : null,
64
+ _.button,
65
+ _[e],
66
+ t === "md" ? null : _[t],
67
+ r === "default" ? null : _[r],
68
+ i ? _.osd : null,
69
69
  c
70
70
  ].filter(Boolean).join(" "),
71
71
  ...l,
@@ -78,20 +78,20 @@ function _({ variant: e = "default", size: t = "md", shape: r = "default", osd:
78
78
  }
79
79
  //#endregion
80
80
  //#region src/components/Text/Text.module.css
81
- var v = "_text_102e3_1", y = "_heading_102e3_41", b = "_body_102e3_48", x = "_document_102e3_55", S = "_caption_102e3_62", C = "_monospace_102e3_78", w = "_numeric_102e3_85", T = {
82
- text: v,
81
+ var y = "_text_102e3_1", b = "_heading_102e3_41", x = "_body_102e3_48", S = "_document_102e3_55", C = "_caption_102e3_62", w = "_monospace_102e3_78", T = "_numeric_102e3_85", E = {
82
+ text: y,
83
83
  "large-title": "_large-title_102e3_9",
84
84
  "title-1": "_title-1_102e3_16",
85
85
  "title-2": "_title-2_102e3_22",
86
86
  "title-3": "_title-3_102e3_28",
87
87
  "title-4": "_title-4_102e3_34",
88
- heading: y,
89
- body: b,
90
- document: x,
91
- caption: S,
88
+ heading: b,
89
+ body: x,
90
+ document: S,
91
+ caption: C,
92
92
  "caption-heading": "_caption-heading_102e3_69",
93
- monospace: C,
94
- numeric: w,
93
+ monospace: w,
94
+ numeric: T,
95
95
  "color-default": "_color-default_102e3_95",
96
96
  "color-dim": "_color-dim_102e3_99",
97
97
  "color-accent": "_color-accent_102e3_103",
@@ -99,7 +99,7 @@ var v = "_text_102e3_1", y = "_heading_102e3_41", b = "_body_102e3_48", x = "_do
99
99
  "color-success": "_color-success_102e3_111",
100
100
  "color-warning": "_color-warning_102e3_115",
101
101
  "color-error": "_color-error_102e3_119"
102
- }, E = {
102
+ }, D = {
103
103
  "large-title": "h1",
104
104
  "title-1": "h1",
105
105
  "title-2": "h2",
@@ -113,12 +113,12 @@ var v = "_text_102e3_1", y = "_heading_102e3_41", b = "_body_102e3_48", x = "_do
113
113
  monospace: "code",
114
114
  numeric: "span"
115
115
  };
116
- function D({ variant: e = "body", color: n = "default", as: r, className: i, children: a, ...o }) {
117
- return /* @__PURE__ */ t(r ?? E[e], {
116
+ function O({ variant: e = "body", color: n = "default", as: r, className: i, children: a, ...o }) {
117
+ return /* @__PURE__ */ t(r ?? D[e], {
118
118
  className: [
119
- T.text,
120
- T[e],
121
- T[`color-${n}`],
119
+ E.text,
120
+ E[e],
121
+ E[`color-${n}`],
122
122
  i
123
123
  ].filter(Boolean).join(" "),
124
124
  ...o,
@@ -127,29 +127,29 @@ function D({ variant: e = "body", color: n = "default", as: r, className: i, chi
127
127
  }
128
128
  //#endregion
129
129
  //#region src/components/Card/Card.module.css
130
- var O = "_card_7f351_1", k = "_interactive_7f351_19", A = {
131
- card: O,
130
+ var k = "_card_7f351_1", A = "_interactive_7f351_19", j = {
131
+ card: k,
132
132
  "padding-none": "_padding-none_7f351_12",
133
133
  "padding-sm": "_padding-sm_7f351_13",
134
134
  "padding-md": "_padding-md_7f351_14",
135
135
  "padding-lg": "_padding-lg_7f351_15",
136
- interactive: k
136
+ interactive: A
137
137
  };
138
138
  //#endregion
139
139
  //#region src/components/Card/Card.tsx
140
- function j({ interactive: e = !1, padding: n = "md", as: r, className: i, children: a, ...o }) {
140
+ function M({ interactive: e = !1, padding: n = "md", as: r, className: i, children: a, ...o }) {
141
141
  return /* @__PURE__ */ t(r ?? (e ? "button" : "div"), {
142
142
  className: [
143
- A.card,
144
- A[`padding-${n}`],
145
- e ? A.interactive : null,
143
+ j.card,
144
+ j[`padding-${n}`],
145
+ e ? j.interactive : null,
146
146
  i
147
147
  ].filter(Boolean).join(" "),
148
148
  ...o,
149
149
  children: a
150
150
  });
151
151
  }
152
- var M = {
152
+ var N = {
153
153
  spinner: "_spinner_101bb_3",
154
154
  spin: "_spin_101bb_3",
155
155
  sm: "_sm_101bb_15",
@@ -158,10 +158,10 @@ var M = {
158
158
  };
159
159
  //#endregion
160
160
  //#region src/components/Spinner/Spinner.tsx
161
- function N({ size: e = "md", label: n = "Loading…", className: r, ...i }) {
161
+ function P({ size: e = "md", label: n = "Loading…", className: r, ...i }) {
162
162
  let a = [
163
- M.spinner,
164
- M[e],
163
+ N.spinner,
164
+ N[e],
165
165
  r
166
166
  ].filter(Boolean).join(" ");
167
167
  return /* @__PURE__ */ t("span", {
@@ -172,7 +172,7 @@ function N({ size: e = "md", label: n = "Loading…", className: r, ...i }) {
172
172
  ...i
173
173
  });
174
174
  }
175
- var P = {
175
+ var F = {
176
176
  avatar: "_avatar_1f2cd_3",
177
177
  sm: "_sm_1f2cd_17",
178
178
  md: "_md_1f2cd_22",
@@ -211,9 +211,9 @@ function ne(e) {
211
211
  }
212
212
  function re({ name: e = "", src: n, alt: r, size: i = "md", color: a, className: o, ...s }) {
213
213
  let c = a ?? (e ? te(e) : "blue"), l = ne(e), u = [
214
- P.avatar,
215
- P[i],
216
- n ? null : P[`color-${c}`],
214
+ F.avatar,
215
+ F[i],
216
+ n ? null : F[`color-${c}`],
217
217
  o
218
218
  ].filter(Boolean).join(" ");
219
219
  return /* @__PURE__ */ t("span", {
@@ -224,10 +224,10 @@ function re({ name: e = "", src: n, alt: r, size: i = "md", color: a, className:
224
224
  children: n ? /* @__PURE__ */ t("img", {
225
225
  src: n,
226
226
  alt: r ?? e,
227
- className: P.image
227
+ className: F.image
228
228
  }) : /* @__PURE__ */ t("span", {
229
229
  "aria-hidden": "true",
230
- className: P.initials,
230
+ className: F.initials,
231
231
  children: l
232
232
  })
233
233
  });
@@ -272,7 +272,7 @@ var ce = { checkbox: "_checkbox_jnffk_3" };
272
272
  //#endregion
273
273
  //#region src/components/Checkbox/Checkbox.tsx
274
274
  function le({ indeterminate: e = !1, className: n, ...r }) {
275
- let i = d(null);
275
+ let i = f(null);
276
276
  return l(() => {
277
277
  i.current && (i.current.indeterminate = e);
278
278
  }, [e]), /* @__PURE__ */ t("input", {
@@ -530,7 +530,7 @@ var Ne = {
530
530
  md: 16,
531
531
  lg: 20
532
532
  };
533
- function F({ icon: e, size: n = "md", label: r, width: i, height: a, ...o }) {
533
+ function I({ icon: e, size: n = "md", label: r, width: i, height: a, ...o }) {
534
534
  let s = Ne[n];
535
535
  return /* @__PURE__ */ t("svg", {
536
536
  xmlns: "http://www.w3.org/2000/svg",
@@ -588,7 +588,7 @@ var Pe = {
588
588
  d: "M13.5 3 6 11.5 2.5 8 1 9.5l5 5 9-10z",
589
589
  fillRule: "evenodd"
590
590
  }]
591
- }, I = {
591
+ }, Be = {
592
592
  wrapper: "_wrapper_1rkb1_3",
593
593
  open: "_open_1rkb1_13",
594
594
  bar: "_bar_1rkb1_20",
@@ -601,8 +601,8 @@ var Pe = {
601
601
  };
602
602
  //#endregion
603
603
  //#region src/components/SearchBar/SearchBar.tsx
604
- function Be({ open: e, onClose: r, onClear: i, children: a, value: o, onChange: c, placeholder: u = "Search…", disabled: f, inline: p = !1, className: m, ...h }) {
605
- let g = d(null);
604
+ function Ve({ open: e, onClose: r, onClear: i, children: a, value: o, onChange: c, placeholder: u = "Search…", disabled: d, inline: p = !1, className: m, ...h }) {
605
+ let g = f(null);
606
606
  l(() => {
607
607
  if (e) {
608
608
  let e = requestAnimationFrame(() => g.current?.focus());
@@ -614,22 +614,22 @@ function Be({ open: e, onClose: r, onClear: i, children: a, value: o, onChange:
614
614
  }, [r, h]), v = o !== void 0 && o !== "";
615
615
  return /* @__PURE__ */ n("div", {
616
616
  className: [
617
- I.wrapper,
618
- e ? I.open : null,
617
+ Be.wrapper,
618
+ e ? Be.open : null,
619
619
  m
620
620
  ].filter(Boolean).join(" "),
621
621
  "aria-hidden": !e,
622
622
  children: [/* @__PURE__ */ n("div", {
623
623
  className: [
624
- I.bar,
625
- p ? I.inline : null,
626
- f ? I.disabled : null
624
+ Be.bar,
625
+ p ? Be.inline : null,
626
+ d ? Be.disabled : null
627
627
  ].filter(Boolean).join(" "),
628
628
  children: [
629
629
  /* @__PURE__ */ t("span", {
630
- className: I.searchIcon,
630
+ className: Be.searchIcon,
631
631
  "aria-hidden": !0,
632
- children: /* @__PURE__ */ t(F, {
632
+ children: /* @__PURE__ */ t(I, {
633
633
  icon: Ie,
634
634
  size: "md"
635
635
  })
@@ -641,34 +641,34 @@ function Be({ open: e, onClose: r, onClear: i, children: a, value: o, onChange:
641
641
  value: o,
642
642
  onChange: c,
643
643
  placeholder: u,
644
- disabled: f,
644
+ disabled: d,
645
645
  tabIndex: e ? void 0 : -1,
646
- className: I.input,
646
+ className: Be.input,
647
647
  onKeyDown: _,
648
648
  ...h
649
649
  }),
650
650
  v && /* @__PURE__ */ t("button", {
651
651
  type: "button",
652
- className: I.clearButton,
652
+ className: Be.clearButton,
653
653
  "aria-label": "Clear search",
654
654
  tabIndex: e ? void 0 : -1,
655
- disabled: f,
655
+ disabled: d,
656
656
  onClick: () => {
657
657
  i?.(), g.current?.focus();
658
658
  },
659
- children: /* @__PURE__ */ t(F, {
659
+ children: /* @__PURE__ */ t(I, {
660
660
  icon: Fe,
661
661
  size: "md"
662
662
  })
663
663
  })
664
664
  ]
665
665
  }), a && /* @__PURE__ */ t("div", {
666
- className: I.filterRow,
666
+ className: Be.filterRow,
667
667
  children: a
668
668
  })]
669
669
  });
670
670
  }
671
- var Ve = {
671
+ var He = {
672
672
  page: "_page_cb4hq_3",
673
673
  iconWrap: "_iconWrap_cb4hq_20",
674
674
  title: "_title_cb4hq_33",
@@ -678,8 +678,8 @@ var Ve = {
678
678
  };
679
679
  //#endregion
680
680
  //#region src/components/StatusPage/StatusPage.tsx
681
- function He({ icon: e, iconNode: r, title: i, description: a, children: o, compact: s = !1, className: c, ...l }) {
682
- let u = s ? 64 : 128, d = e ? /* @__PURE__ */ t(F, {
681
+ function Ue({ icon: e, iconNode: r, title: i, description: a, children: o, compact: s = !1, className: c, ...l }) {
682
+ let u = s ? 64 : 128, d = e ? /* @__PURE__ */ t(I, {
683
683
  icon: e,
684
684
  width: u,
685
685
  height: u,
@@ -687,27 +687,27 @@ function He({ icon: e, iconNode: r, title: i, description: a, children: o, compa
687
687
  }) : r ?? null;
688
688
  return /* @__PURE__ */ n("div", {
689
689
  className: [
690
- Ve.page,
691
- s ? Ve.compact : null,
690
+ He.page,
691
+ s ? He.compact : null,
692
692
  c
693
693
  ].filter(Boolean).join(" "),
694
694
  ...l,
695
695
  children: [
696
696
  d && /* @__PURE__ */ t("div", {
697
- className: Ve.iconWrap,
697
+ className: He.iconWrap,
698
698
  "aria-hidden": "true",
699
699
  children: d
700
700
  }),
701
701
  /* @__PURE__ */ t("p", {
702
- className: Ve.title,
702
+ className: He.title,
703
703
  children: i
704
704
  }),
705
705
  a && /* @__PURE__ */ t("p", {
706
- className: Ve.description,
706
+ className: He.description,
707
707
  children: a
708
708
  }),
709
709
  o && /* @__PURE__ */ t("div", {
710
- className: Ve.actions,
710
+ className: He.actions,
711
711
  children: o
712
712
  })
713
713
  ]
@@ -715,21 +715,21 @@ function He({ icon: e, iconNode: r, title: i, description: a, children: o, compa
715
715
  }
716
716
  //#endregion
717
717
  //#region src/hooks/useBreakpoint.ts
718
- var Ue = {
718
+ var We = {
719
719
  narrow: 400,
720
720
  medium: 550,
721
721
  wide: 860
722
722
  };
723
- function We() {
723
+ function Ge() {
724
724
  let e = () => {
725
725
  let e = typeof window < "u" ? window.innerWidth : 1280;
726
726
  return {
727
- isNarrow: e <= Ue.narrow,
728
- isMedium: e <= Ue.medium,
729
- isWide: e <= Ue.wide,
727
+ isNarrow: e <= We.narrow,
728
+ isMedium: e <= We.medium,
729
+ isWide: e <= We.wide,
730
730
  width: e
731
731
  };
732
- }, [t, n] = f(e);
732
+ }, [t, n] = p(e);
733
733
  return l(() => {
734
734
  let t = () => n(e());
735
735
  return window.addEventListener("resize", t, { passive: !0 }), () => window.removeEventListener("resize", t);
@@ -737,46 +737,46 @@ function We() {
737
737
  }
738
738
  //#endregion
739
739
  //#region src/components/Sidebar/Sidebar.module.css
740
- var Ge = "_sidebar_b80pp_3", Ke = "_section_b80pp_21", qe = "_sectionTitle_b80pp_33", Je = "_list_b80pp_47", Ye = "_item_b80pp_58", Xe = "_itemBtn_b80pp_64", Ze = "_active_b80pp_111", Qe = "_itemIcon_b80pp_127", $e = "_itemLabel_b80pp_140", et = "_itemSuffix_b80pp_150", tt = "_contextMenu_b80pp_159", nt = "_contextMenuItem_b80pp_183", rt = "_contextMenuDestructive_b80pp_219", it = "_searchWrap_b80pp_225", at = "_pageMode_b80pp_236", ot = "_dragOver_b80pp_243", st = "_collapsed_b80pp_251", ct = "_itemCollapsed_b80pp_262", L = {
741
- sidebar: Ge,
742
- section: Ke,
743
- sectionTitle: qe,
744
- list: Je,
745
- item: Ye,
746
- itemBtn: Xe,
747
- active: Ze,
748
- itemIcon: Qe,
749
- itemLabel: $e,
750
- itemSuffix: et,
751
- contextMenu: tt,
740
+ var Ke = "_sidebar_b80pp_3", qe = "_section_b80pp_21", Je = "_sectionTitle_b80pp_33", Ye = "_list_b80pp_47", Xe = "_item_b80pp_58", Ze = "_itemBtn_b80pp_64", Qe = "_active_b80pp_111", $e = "_itemIcon_b80pp_127", et = "_itemLabel_b80pp_140", tt = "_itemSuffix_b80pp_150", nt = "_contextMenu_b80pp_159", rt = "_contextMenuItem_b80pp_183", it = "_contextMenuDestructive_b80pp_219", at = "_searchWrap_b80pp_225", ot = "_pageMode_b80pp_236", st = "_dragOver_b80pp_243", ct = "_collapsed_b80pp_251", lt = "_itemCollapsed_b80pp_262", L = {
741
+ sidebar: Ke,
742
+ section: qe,
743
+ sectionTitle: Je,
744
+ list: Ye,
745
+ item: Xe,
746
+ itemBtn: Ze,
747
+ active: Qe,
748
+ itemIcon: $e,
749
+ itemLabel: et,
750
+ itemSuffix: tt,
751
+ contextMenu: nt,
752
752
  "menu-in": "_menu-in_b80pp_1",
753
- contextMenuItem: nt,
754
- contextMenuDestructive: rt,
755
- searchWrap: it,
756
- pageMode: at,
757
- dragOver: ot,
758
- collapsed: st,
759
- itemCollapsed: ct
760
- }, lt = a(!1);
761
- function ut() {
762
- return c(lt);
753
+ contextMenuItem: rt,
754
+ contextMenuDestructive: it,
755
+ searchWrap: at,
756
+ pageMode: ot,
757
+ dragOver: st,
758
+ collapsed: ct,
759
+ itemCollapsed: lt
760
+ }, ut = a(!1);
761
+ function dt() {
762
+ return c(ut);
763
763
  }
764
- var dt = a("");
765
- function ft(e, t) {
764
+ var ft = a("");
765
+ function pt(e, t) {
766
766
  let n = 0;
767
767
  return r.forEach(e, (e) => {
768
768
  if (!o(e)) return;
769
769
  let r = e.props;
770
- typeof r.label == "string" ? r.label.toLowerCase().includes(t.toLowerCase()) && n++ : r.children && (n += ft(r.children, t));
770
+ typeof r.label == "string" ? r.label.toLowerCase().includes(t.toLowerCase()) && n++ : r.children && (n += pt(r.children, t));
771
771
  }), n;
772
772
  }
773
- function pt({ children: e, collapsed: r = !1, searchable: i, filter: a, onFilterChange: o, mode: s, className: c, ...l }) {
774
- let [u, d] = f(""), { isNarrow: p } = We(), m = a !== void 0, h = m ? a : u, g = (e) => {
773
+ function mt({ children: e, collapsed: r = !1, searchable: i, filter: a, onFilterChange: o, mode: s, className: c, ...l }) {
774
+ let [u, d] = p(""), { isNarrow: f } = Ge(), m = a !== void 0, h = m ? a : u, g = (e) => {
775
775
  m || d(e), o?.(e);
776
- }, _ = h.length > 0, v = s ?? (p ? "page" : "sidebar"), y = !_ || ft(e, h) > 0;
777
- return /* @__PURE__ */ t(lt.Provider, {
776
+ }, _ = h.length > 0, v = s ?? (f ? "page" : "sidebar"), y = !_ || pt(e, h) > 0;
777
+ return /* @__PURE__ */ t(ut.Provider, {
778
778
  value: r,
779
- children: /* @__PURE__ */ t(dt.Provider, {
779
+ children: /* @__PURE__ */ t(ft.Provider, {
780
780
  value: h,
781
781
  children: /* @__PURE__ */ n("nav", {
782
782
  className: [
@@ -788,7 +788,7 @@ function pt({ children: e, collapsed: r = !1, searchable: i, filter: a, onFilter
788
788
  ...l,
789
789
  children: [i && /* @__PURE__ */ t("div", {
790
790
  className: L.searchWrap,
791
- children: /* @__PURE__ */ t(Be, {
791
+ children: /* @__PURE__ */ t(Ve, {
792
792
  open: !0,
793
793
  value: h,
794
794
  onChange: (e) => g(e.target.value),
@@ -796,7 +796,7 @@ function pt({ children: e, collapsed: r = !1, searchable: i, filter: a, onFilter
796
796
  onClear: () => g(""),
797
797
  inline: !0
798
798
  })
799
- }), _ && !y ? /* @__PURE__ */ t(He, {
799
+ }), _ && !y ? /* @__PURE__ */ t(Ue, {
800
800
  title: "No Results",
801
801
  description: "No items match your search.",
802
802
  compact: !0
@@ -807,7 +807,7 @@ function pt({ children: e, collapsed: r = !1, searchable: i, filter: a, onFilter
807
807
  }
808
808
  //#endregion
809
809
  //#region src/components/Sidebar/SidebarSection.tsx
810
- function mt({ title: e, children: r, className: i, ...a }) {
810
+ function ht({ title: e, children: r, className: i, ...a }) {
811
811
  return /* @__PURE__ */ n("section", {
812
812
  className: [L.section, i].filter(Boolean).join(" "),
813
813
  ...a,
@@ -821,15 +821,15 @@ function mt({ title: e, children: r, className: i, ...a }) {
821
821
  })]
822
822
  });
823
823
  }
824
- var ht = {
824
+ var gt = {
825
825
  tooltip: "_tooltip_y4het_3",
826
826
  visible: "_visible_y4het_29",
827
827
  top: "_top_y4het_55",
828
828
  bottom: "_bottom_y4het_62",
829
829
  left: "_left_y4het_69",
830
830
  right: "_right_y4het_76"
831
- }, gt = 6;
832
- function _t(e, t, n) {
831
+ }, _t = 6;
832
+ function vt(e, t, n) {
833
833
  let r = window.innerWidth, i = window.innerHeight, a = [
834
834
  n,
835
835
  n === "top" || n === "bottom" ? n === "top" ? "bottom" : "top" : n === "left" ? "right" : "left",
@@ -840,7 +840,7 @@ function _t(e, t, n) {
840
840
  ];
841
841
  for (let n of a) {
842
842
  let a = 0, o = 0;
843
- n === "top" ? (a = e.top - t.height - gt, o = e.left + e.width / 2 - t.width / 2) : n === "bottom" ? (a = e.bottom + gt, o = e.left + e.width / 2 - t.width / 2) : n === "left" ? (a = e.top + e.height / 2 - t.height / 2, o = e.left - t.width - gt) : (a = e.top + e.height / 2 - t.height / 2, o = e.right + gt);
843
+ n === "top" ? (a = e.top - t.height - _t, o = e.left + e.width / 2 - t.width / 2) : n === "bottom" ? (a = e.bottom + _t, o = e.left + e.width / 2 - t.width / 2) : n === "left" ? (a = e.top + e.height / 2 - t.height / 2, o = e.left - t.width - _t) : (a = e.top + e.height / 2 - t.height / 2, o = e.right + _t);
844
844
  let s = o >= 8 && o + t.width <= r - 8, c = a >= 8 && a + t.height <= i - 8;
845
845
  if (s && c) return {
846
846
  top: Math.max(8, Math.min(a, i - t.height - 8)),
@@ -849,17 +849,17 @@ function _t(e, t, n) {
849
849
  };
850
850
  }
851
851
  let o = 0, s = 0;
852
- return n === "top" && (o = e.top - t.height - gt, s = e.left + e.width / 2 - t.width / 2), n === "bottom" && (o = e.bottom + gt, s = e.left + e.width / 2 - t.width / 2), n === "left" && (o = e.top + e.height / 2 - t.height / 2, s = e.left - t.width - gt), n === "right" && (o = e.top + e.height / 2 - t.height / 2, s = e.right + gt), {
852
+ return n === "top" && (o = e.top - t.height - _t, s = e.left + e.width / 2 - t.width / 2), n === "bottom" && (o = e.bottom + _t, s = e.left + e.width / 2 - t.width / 2), n === "left" && (o = e.top + e.height / 2 - t.height / 2, s = e.left - t.width - _t), n === "right" && (o = e.top + e.height / 2 - t.height / 2, s = e.right + _t), {
853
853
  top: Math.max(8, Math.min(o, i - t.height - 8)),
854
854
  left: Math.max(8, Math.min(s, window.innerWidth - t.width - 8)),
855
855
  placement: n
856
856
  };
857
857
  }
858
- function vt({ label: r, placement: a = "top", delay: o = 500, children: c }) {
859
- let m = u(), [h, g] = f(!1), [_, v] = f(null), y = d(null), b = d(null), x = d(null), S = () => {
858
+ function yt({ label: r, placement: a = "top", delay: o = 500, children: c }) {
859
+ let d = u(), [h, g] = p(!1), [_, v] = p(null), y = f(null), b = f(null), x = f(null), S = () => {
860
860
  x.current &&= (clearTimeout(x.current), null);
861
861
  }, C = s(() => {
862
- !y.current || !b.current || v(_t(y.current.getBoundingClientRect(), b.current.getBoundingClientRect(), a));
862
+ !y.current || !b.current || v(vt(y.current.getBoundingClientRect(), b.current.getBoundingClientRect(), a));
863
863
  }, [a]);
864
864
  l(() => {
865
865
  if (h) return C(), window.addEventListener("scroll", C, {
@@ -885,7 +885,7 @@ function vt({ label: r, placement: a = "top", delay: o = 500, children: c }) {
885
885
  }, [h, T]);
886
886
  let E = i(c, {
887
887
  ref: y,
888
- "aria-describedby": m,
888
+ "aria-describedby": d,
889
889
  onMouseEnter: (e) => {
890
890
  w(), c.props.onMouseEnter?.(e);
891
891
  },
@@ -900,12 +900,12 @@ function vt({ label: r, placement: a = "top", delay: o = 500, children: c }) {
900
900
  }
901
901
  }), D = /* @__PURE__ */ t("div", {
902
902
  ref: b,
903
- id: m,
903
+ id: d,
904
904
  role: "tooltip",
905
905
  className: [
906
- ht.tooltip,
907
- _ ? ht[_.placement] : null,
908
- h && _ ? ht.visible : null
906
+ gt.tooltip,
907
+ _ ? gt[_.placement] : null,
908
+ h && _ ? gt.visible : null
909
909
  ].filter(Boolean).join(" "),
910
910
  style: _ ? {
911
911
  top: _.top,
@@ -917,16 +917,16 @@ function vt({ label: r, placement: a = "top", delay: o = 500, children: c }) {
917
917
  },
918
918
  children: r
919
919
  });
920
- return /* @__PURE__ */ n(e, { children: [E, typeof document < "u" ? p(D, document.body) : D] });
920
+ return /* @__PURE__ */ n(e, { children: [E, typeof document < "u" ? m(D, document.body) : D] });
921
921
  }
922
922
  //#endregion
923
923
  //#region src/components/Sidebar/SidebarItem.tsx
924
- function yt({ label: e, icon: r, active: i = !1, suffix: a, badge: o, tooltip: u, menuItems: m, onDrop: h, acceptTypes: g, className: _, ...v }) {
925
- let y = ut(), b = c(dt), x = a ?? o, S = y ? u ?? e : u, C = b.length > 0 && !e.toLowerCase().includes(b.toLowerCase()), [w, T] = f(!1), E = (e) => {
924
+ function bt({ label: e, icon: r, active: i = !1, suffix: a, badge: o, tooltip: u, menuItems: d, onDrop: h, acceptTypes: g, className: _, ...v }) {
925
+ let y = dt(), b = c(ft), x = a ?? o, S = y ? u ?? e : u, C = b.length > 0 && !e.toLowerCase().includes(b.toLowerCase()), [w, T] = p(!1), E = (e) => {
926
926
  h && (g?.length && !g.some((t) => e.dataTransfer.types.includes(t)) || (e.preventDefault(), T(!0)));
927
927
  }, D = () => T(!1), O = (e) => {
928
928
  h && (e.preventDefault(), T(!1), h(e));
929
- }, [k, A] = f(null), j = d(null), M = s((e, t) => A({
929
+ }, [k, A] = p(null), j = f(null), M = s((e, t) => A({
930
930
  x: e,
931
931
  y: t
932
932
  }), []), N = s(() => A(null), []);
@@ -942,15 +942,15 @@ function yt({ label: e, icon: r, active: i = !1, suffix: a, badge: o, tooltip: u
942
942
  };
943
943
  }, [k, N]);
944
944
  let P = (e) => {
945
- m?.length && (e.preventDefault(), M(e.clientX, e.clientY));
946
- }, ee = (e) => {
945
+ d?.length && (e.preventDefault(), M(e.clientX, e.clientY));
946
+ }, F = (e) => {
947
947
  if (e.key === "ContextMenu" || e.key === "F10" && e.shiftKey) {
948
- if (!m?.length) return;
948
+ if (!d?.length) return;
949
949
  e.preventDefault();
950
950
  let t = e.currentTarget.getBoundingClientRect();
951
951
  M(t.right, t.top);
952
952
  }
953
- }, te = /* @__PURE__ */ n("button", {
953
+ }, ee = /* @__PURE__ */ n("button", {
954
954
  type: "button",
955
955
  "aria-current": i ? "page" : void 0,
956
956
  "aria-label": y ? e : void 0,
@@ -962,7 +962,7 @@ function yt({ label: e, icon: r, active: i = !1, suffix: a, badge: o, tooltip: u
962
962
  _
963
963
  ].filter(Boolean).join(" "),
964
964
  onContextMenu: P,
965
- onKeyDown: ee,
965
+ onKeyDown: F,
966
966
  onDragOver: E,
967
967
  onDragLeave: D,
968
968
  onDrop: O,
@@ -970,7 +970,7 @@ function yt({ label: e, icon: r, active: i = !1, suffix: a, badge: o, tooltip: u
970
970
  children: [
971
971
  r && /* @__PURE__ */ t("span", {
972
972
  className: L.itemIcon,
973
- children: /* @__PURE__ */ t(F, {
973
+ children: /* @__PURE__ */ t(I, {
974
974
  icon: r,
975
975
  size: "md",
976
976
  "aria-hidden": !0
@@ -989,11 +989,11 @@ function yt({ label: e, icon: r, active: i = !1, suffix: a, badge: o, tooltip: u
989
989
  return /* @__PURE__ */ n("li", {
990
990
  className: L.item,
991
991
  hidden: C || void 0,
992
- children: [S ? /* @__PURE__ */ t(vt, {
992
+ children: [S ? /* @__PURE__ */ t(yt, {
993
993
  label: S,
994
994
  placement: "right",
995
- children: te
996
- }) : te, k && m?.length && typeof document < "u" && p(/* @__PURE__ */ t("div", {
995
+ children: ee
996
+ }) : ee, k && d?.length && typeof document < "u" && m(/* @__PURE__ */ t("div", {
997
997
  ref: j,
998
998
  className: L.contextMenu,
999
999
  style: {
@@ -1001,7 +1001,7 @@ function yt({ label: e, icon: r, active: i = !1, suffix: a, badge: o, tooltip: u
1001
1001
  left: k.x
1002
1002
  },
1003
1003
  role: "menu",
1004
- children: m.map((e) => /* @__PURE__ */ t("button", {
1004
+ children: d.map((e) => /* @__PURE__ */ t("button", {
1005
1005
  type: "button",
1006
1006
  role: "menuitem",
1007
1007
  disabled: e.disabled,
@@ -1014,7 +1014,7 @@ function yt({ label: e, icon: r, active: i = !1, suffix: a, badge: o, tooltip: u
1014
1014
  }), document.body)]
1015
1015
  });
1016
1016
  }
1017
- var bt = {
1017
+ var xt = {
1018
1018
  spin: "_spin_7d4yi_3",
1019
1019
  disabled: "_disabled_7d4yi_36",
1020
1020
  btn: "_btn_7d4yi_43",
@@ -1022,15 +1022,15 @@ var bt = {
1022
1022
  };
1023
1023
  //#endregion
1024
1024
  //#region src/components/SpinButton/SpinButton.tsx
1025
- function xt(e) {
1025
+ function St(e) {
1026
1026
  let t = e.toString(), n = t.indexOf(".");
1027
1027
  return n === -1 ? 0 : t.length - n - 1;
1028
1028
  }
1029
- function St(e, t, n) {
1029
+ function Ct(e, t, n) {
1030
1030
  return Math.min(n, Math.max(t, e));
1031
1031
  }
1032
- function Ct({ value: e, onChange: r, min: i = 0, max: a = 100, step: o = 1, decimals: c, disabled: l = !1, className: u, "aria-label": d, "aria-labelledby": f, ...p }) {
1033
- let m = c ?? xt(o), h = s((e) => r(parseFloat(St(e, i, a).toFixed(m))), [
1032
+ function wt({ value: e, onChange: r, min: i = 0, max: a = 100, step: o = 1, decimals: c, disabled: l = !1, className: u, "aria-label": d, "aria-labelledby": f, ...p }) {
1033
+ let m = c ?? St(o), h = s((e) => r(parseFloat(Ct(e, i, a).toFixed(m))), [
1034
1034
  r,
1035
1035
  i,
1036
1036
  a,
@@ -1074,8 +1074,8 @@ function Ct({ value: e, onChange: r, min: i = 0, max: a = 100, step: o = 1, deci
1074
1074
  tabIndex: l ? -1 : 0,
1075
1075
  onKeyDown: l ? void 0 : g,
1076
1076
  className: [
1077
- bt.spin,
1078
- l ? bt.disabled : null,
1077
+ xt.spin,
1078
+ l ? xt.disabled : null,
1079
1079
  u
1080
1080
  ].filter(Boolean).join(" "),
1081
1081
  ...p,
@@ -1085,12 +1085,12 @@ function Ct({ value: e, onChange: r, min: i = 0, max: a = 100, step: o = 1, deci
1085
1085
  tabIndex: -1,
1086
1086
  "aria-hidden": "true",
1087
1087
  disabled: l || e <= i,
1088
- className: bt.btn,
1088
+ className: xt.btn,
1089
1089
  onClick: () => h(e - o),
1090
1090
  children: "−"
1091
1091
  }),
1092
1092
  /* @__PURE__ */ t("span", {
1093
- className: bt.value,
1093
+ className: xt.value,
1094
1094
  "aria-hidden": "true",
1095
1095
  children: e.toFixed(m)
1096
1096
  }),
@@ -1099,7 +1099,7 @@ function Ct({ value: e, onChange: r, min: i = 0, max: a = 100, step: o = 1, deci
1099
1099
  tabIndex: -1,
1100
1100
  "aria-hidden": "true",
1101
1101
  disabled: l || e >= a,
1102
- className: bt.btn,
1102
+ className: xt.btn,
1103
1103
  onClick: () => h(e + o),
1104
1104
  children: "+"
1105
1105
  })
@@ -1119,8 +1119,8 @@ var R = {
1119
1119
  };
1120
1120
  //#endregion
1121
1121
  //#region src/components/Tabs/TabBar.tsx
1122
- function wt({ children: e, className: n, inline: r = !1, "aria-label": i = "Tabs", ...a }) {
1123
- let o = d(null);
1122
+ function Tt({ children: e, className: n, inline: r = !1, "aria-label": i = "Tabs", ...a }) {
1123
+ let o = f(null);
1124
1124
  function s(e) {
1125
1125
  let t = Array.from(o.current?.querySelectorAll("[role=tab]:not(:disabled)") ?? []), n = t.findIndex((e) => e === document.activeElement);
1126
1126
  if (n === -1) return;
@@ -1151,7 +1151,7 @@ function wt({ children: e, className: n, inline: r = !1, "aria-label": i = "Tabs
1151
1151
  }
1152
1152
  //#endregion
1153
1153
  //#region src/components/Tabs/TabItem.tsx
1154
- function Tt({ label: e, icon: r, active: i = !1, panelId: a, onClose: o, closeLabel: s = "Close tab", className: c, disabled: l, ...u }) {
1154
+ function Et({ label: e, icon: r, active: i = !1, panelId: a, onClose: o, closeLabel: s = "Close tab", className: c, disabled: l, ...u }) {
1155
1155
  return /* @__PURE__ */ n("button", {
1156
1156
  role: "tab",
1157
1157
  type: "button",
@@ -1169,7 +1169,7 @@ function Tt({ label: e, icon: r, active: i = !1, panelId: a, onClose: o, closeLa
1169
1169
  children: [
1170
1170
  r && /* @__PURE__ */ t("span", {
1171
1171
  className: R.tabIcon,
1172
- children: /* @__PURE__ */ t(F, {
1172
+ children: /* @__PURE__ */ t(I, {
1173
1173
  icon: r,
1174
1174
  size: "sm",
1175
1175
  "aria-hidden": !0
@@ -1197,7 +1197,7 @@ function Tt({ label: e, icon: r, active: i = !1, panelId: a, onClose: o, closeLa
1197
1197
  }
1198
1198
  //#endregion
1199
1199
  //#region src/components/Tabs/TabPanel.tsx
1200
- function Et({ id: e, active: n = !1, className: r, children: i, ...a }) {
1200
+ function Dt({ id: e, active: n = !1, className: r, children: i, ...a }) {
1201
1201
  return /* @__PURE__ */ t("div", {
1202
1202
  id: e,
1203
1203
  role: "tabpanel",
@@ -1221,7 +1221,7 @@ var z = {
1221
1221
  };
1222
1222
  //#endregion
1223
1223
  //#region src/components/ActionRow/ActionRow.tsx
1224
- function Dt({ title: e, subtitle: r, leading: i, trailing: a, interactive: o = !1, variant: s = "default", className: c, ...l }) {
1224
+ function Ot({ title: e, subtitle: r, leading: i, trailing: a, interactive: o = !1, variant: s = "default", className: c, ...l }) {
1225
1225
  let u = o ? "button" : "div", d = s === "property";
1226
1226
  return /* @__PURE__ */ n(u, {
1227
1227
  className: [
@@ -1253,7 +1253,7 @@ function Dt({ title: e, subtitle: r, leading: i, trailing: a, interactive: o = !
1253
1253
  ]
1254
1254
  });
1255
1255
  }
1256
- var Ot = {
1256
+ var kt = {
1257
1257
  list: "_list_cy3hv_3",
1258
1258
  item: "_item_cy3hv_17",
1259
1259
  separate: "_separate_cy3hv_26",
@@ -1262,23 +1262,23 @@ var Ot = {
1262
1262
  };
1263
1263
  //#endregion
1264
1264
  //#region src/components/BoxedList/BoxedList.tsx
1265
- function kt({ children: e, variant: i = "default", className: a, ...o }) {
1265
+ function At({ children: e, variant: i = "default", className: a, ...o }) {
1266
1266
  let s = r.toArray(e).filter(Boolean), c = i === "separate";
1267
1267
  return /* @__PURE__ */ t("ul", {
1268
1268
  role: "list",
1269
1269
  className: [
1270
- Ot.list,
1271
- c ? Ot.separate : null,
1270
+ kt.list,
1271
+ c ? kt.separate : null,
1272
1272
  a
1273
1273
  ].filter(Boolean).join(" "),
1274
1274
  ...o,
1275
1275
  children: s.map((e, r) => /* @__PURE__ */ n("li", {
1276
- className: c ? Ot.separateItem : Ot.item,
1276
+ className: c ? kt.separateItem : kt.item,
1277
1277
  children: [!c && r > 0 && /* @__PURE__ */ t(ae, { "aria-hidden": "true" }), e]
1278
1278
  }, r))
1279
1279
  });
1280
1280
  }
1281
- var At = {
1281
+ var jt = {
1282
1282
  switcher: "_switcher_1uh9r_3",
1283
1283
  item: "_item_1uh9r_18",
1284
1284
  active: "_active_1uh9r_45",
@@ -1287,8 +1287,8 @@ var At = {
1287
1287
  };
1288
1288
  //#endregion
1289
1289
  //#region src/components/ViewSwitcher/ViewSwitcher.tsx
1290
- function jt({ children: e, className: n, "aria-label": r = "View switcher", ...i }) {
1291
- let a = d(null);
1290
+ function Mt({ children: e, className: n, "aria-label": r = "View switcher", ...i }) {
1291
+ let a = f(null);
1292
1292
  function o(e) {
1293
1293
  let t = Array.from(a.current?.querySelectorAll("[role=radio]:not(:disabled)") ?? []), n = t.findIndex((e) => e === document.activeElement);
1294
1294
  if (n === -1) return;
@@ -1305,14 +1305,14 @@ function jt({ children: e, className: n, "aria-label": r = "View switcher", ...i
1305
1305
  role: "radiogroup",
1306
1306
  "aria-label": r,
1307
1307
  onKeyDown: o,
1308
- className: [At.switcher, n].filter(Boolean).join(" "),
1308
+ className: [jt.switcher, n].filter(Boolean).join(" "),
1309
1309
  ...i,
1310
1310
  children: e
1311
1311
  });
1312
1312
  }
1313
1313
  //#endregion
1314
1314
  //#region src/components/ViewSwitcher/ViewSwitcherItem.tsx
1315
- function Mt({ label: e, icon: r, active: i = !1, className: a, disabled: o, ...s }) {
1315
+ function Nt({ label: e, icon: r, active: i = !1, className: a, disabled: o, ...s }) {
1316
1316
  return /* @__PURE__ */ n("button", {
1317
1317
  type: "button",
1318
1318
  role: "radio",
@@ -1320,48 +1320,48 @@ function Mt({ label: e, icon: r, active: i = !1, className: a, disabled: o, ...s
1320
1320
  tabIndex: i ? 0 : -1,
1321
1321
  disabled: o,
1322
1322
  className: [
1323
- At.item,
1324
- i ? At.active : null,
1323
+ jt.item,
1324
+ i ? jt.active : null,
1325
1325
  a
1326
1326
  ].filter(Boolean).join(" "),
1327
1327
  ...s,
1328
1328
  children: [r && /* @__PURE__ */ t("span", {
1329
- className: At.itemIcon,
1330
- children: /* @__PURE__ */ t(F, {
1329
+ className: jt.itemIcon,
1330
+ children: /* @__PURE__ */ t(I, {
1331
1331
  icon: r,
1332
1332
  size: "md",
1333
1333
  "aria-hidden": !0
1334
1334
  })
1335
1335
  }), /* @__PURE__ */ t("span", {
1336
- className: At.itemLabel,
1336
+ className: jt.itemLabel,
1337
1337
  children: e
1338
1338
  })]
1339
1339
  });
1340
1340
  }
1341
1341
  //#endregion
1342
1342
  //#region src/components/Toast/Toast.module.css
1343
- var Nt = "_toaster_1tgvb_3", Pt = "_toasterBottom_1tgvb_18", Ft = "_toasterTop_1tgvb_22", It = "_toast_1tgvb_3", Lt = "_title_1tgvb_69", Rt = "_actions_1tgvb_76", zt = "_actionBtn_1tgvb_85", Bt = "_dismissBtn_1tgvb_118", Vt = {
1344
- toaster: Nt,
1345
- toasterBottom: Pt,
1346
- toasterTop: Ft,
1347
- toast: It,
1343
+ var Pt = "_toaster_1tgvb_3", Ft = "_toasterBottom_1tgvb_18", It = "_toasterTop_1tgvb_22", Lt = "_toast_1tgvb_3", Rt = "_title_1tgvb_69", zt = "_actions_1tgvb_76", Bt = "_actionBtn_1tgvb_85", Vt = "_dismissBtn_1tgvb_118", Ht = {
1344
+ toaster: Pt,
1345
+ toasterBottom: Ft,
1346
+ toasterTop: It,
1347
+ toast: Lt,
1348
1348
  "toast-in": "_toast-in_1tgvb_1",
1349
- title: Lt,
1350
- actions: Rt,
1351
- actionBtn: zt,
1352
- dismissBtn: Bt
1349
+ title: Rt,
1350
+ actions: zt,
1351
+ actionBtn: Bt,
1352
+ dismissBtn: Vt
1353
1353
  };
1354
1354
  //#endregion
1355
1355
  //#region src/components/Toast/Toast.tsx
1356
- function Ht({ title: e, duration: r = 3e3, onDismiss: i, actionLabel: a, onAction: o, dismissible: s = !1, className: c, ...u }) {
1357
- let f = d(null), p = d(r), m = d(0), h = () => {
1358
- f.current &&= (clearTimeout(f.current), null);
1356
+ function Ut({ title: e, duration: r = 3e3, onDismiss: i, actionLabel: a, onAction: o, dismissible: s = !1, className: c, ...u }) {
1357
+ let d = f(null), p = f(r), m = f(0), h = () => {
1358
+ d.current &&= (clearTimeout(d.current), null);
1359
1359
  }, g = (e) => {
1360
- e <= 0 || !i || (h(), m.current = Date.now(), f.current = setTimeout(() => i(), e));
1360
+ e <= 0 || !i || (h(), m.current = Date.now(), d.current = setTimeout(() => i(), e));
1361
1361
  };
1362
1362
  l(() => (r > 0 && (p.current = r, g(r)), h), [r]);
1363
1363
  let _ = () => {
1364
- if (f.current) {
1364
+ if (d.current) {
1365
1365
  let e = Date.now() - m.current;
1366
1366
  p.current = Math.max(0, p.current - e), h();
1367
1367
  }
@@ -1374,30 +1374,30 @@ function Ht({ title: e, duration: r = 3e3, onDismiss: i, actionLabel: a, onActio
1374
1374
  role: "status",
1375
1375
  "aria-live": "polite",
1376
1376
  "aria-atomic": "true",
1377
- className: [Vt.toast, c].filter(Boolean).join(" "),
1377
+ className: [Ht.toast, c].filter(Boolean).join(" "),
1378
1378
  onMouseEnter: _,
1379
1379
  onMouseLeave: v,
1380
1380
  onFocus: _,
1381
1381
  onBlur: v,
1382
1382
  ...u,
1383
1383
  children: [/* @__PURE__ */ t("span", {
1384
- className: Vt.title,
1384
+ className: Ht.title,
1385
1385
  children: e
1386
1386
  }), (a || s) && /* @__PURE__ */ n("span", {
1387
- className: Vt.actions,
1387
+ className: Ht.actions,
1388
1388
  children: [a && /* @__PURE__ */ t("button", {
1389
1389
  type: "button",
1390
- className: Vt.actionBtn,
1390
+ className: Ht.actionBtn,
1391
1391
  onClick: y,
1392
1392
  children: a
1393
1393
  }), s && /* @__PURE__ */ t("button", {
1394
1394
  type: "button",
1395
- className: Vt.dismissBtn,
1395
+ className: Ht.dismissBtn,
1396
1396
  "aria-label": "Dismiss",
1397
1397
  onClick: () => {
1398
1398
  h(), i?.();
1399
1399
  },
1400
- children: /* @__PURE__ */ t(F, {
1400
+ children: /* @__PURE__ */ t(I, {
1401
1401
  icon: Fe,
1402
1402
  size: "md",
1403
1403
  "aria-hidden": !0
@@ -1408,93 +1408,93 @@ function Ht({ title: e, duration: r = 3e3, onDismiss: i, actionLabel: a, onActio
1408
1408
  }
1409
1409
  //#endregion
1410
1410
  //#region src/components/Toast/Toaster.tsx
1411
- function Ut({ position: e = "bottom", children: n, container: r, className: i, ...a }) {
1411
+ function Wt({ position: e = "bottom", children: n, container: r, className: i, ...a }) {
1412
1412
  let o = /* @__PURE__ */ t("div", {
1413
1413
  "aria-label": "Notifications",
1414
1414
  className: [
1415
- Vt.toaster,
1416
- e === "top" ? Vt.toasterTop : Vt.toasterBottom,
1415
+ Ht.toaster,
1416
+ e === "top" ? Ht.toasterTop : Ht.toasterBottom,
1417
1417
  i
1418
1418
  ].filter(Boolean).join(" "),
1419
1419
  ...a,
1420
1420
  children: n
1421
1421
  });
1422
- return typeof document > "u" ? o : p(o, r ?? document.body);
1422
+ return typeof document > "u" ? o : m(o, r ?? document.body);
1423
1423
  }
1424
1424
  //#endregion
1425
1425
  //#region src/components/Dialog/Dialog.module.css
1426
- var Wt = "_backdrop_zx0yn_3", Gt = "_dialog_zx0yn_26", Kt = "_title_zx0yn_56", qt = "_body_zx0yn_70", Jt = "_footer_zx0yn_85", Yt = "_btn_zx0yn_92", Xt = "_dialogAbout_zx0yn_155", Zt = "_aboutHeader_zx0yn_162", Qt = "_aboutIcon_zx0yn_171", $t = "_aboutAppName_zx0yn_180", en = "_aboutVersion_zx0yn_187", tn = "_aboutTabBar_zx0yn_194", nn = "_aboutTabBtn_zx0yn_201", rn = "_aboutTabBtnActive_zx0yn_220", an = "_aboutTabContent_zx0yn_233", on = "_aboutSection_zx0yn_238", sn = "_aboutComments_zx0yn_243", cn = "_aboutInfoList_zx0yn_252", ln = "_aboutInfoLabel_zx0yn_259", un = "_aboutInfoValue_zx0yn_267", dn = "_aboutLink_zx0yn_275", fn = "_aboutCreditGroup_zx0yn_283", pn = "_aboutCreditTitle_zx0yn_287", mn = "_aboutCreditList_zx0yn_297", hn = "_aboutCreditItem_zx0yn_306", gn = "_aboutCopyright_zx0yn_312", _n = "_aboutLicenseType_zx0yn_319", vn = "_aboutLicenseText_zx0yn_326", B = {
1427
- backdrop: Wt,
1426
+ var Gt = "_backdrop_zx0yn_3", Kt = "_dialog_zx0yn_26", qt = "_title_zx0yn_56", Jt = "_body_zx0yn_70", Yt = "_footer_zx0yn_85", Xt = "_btn_zx0yn_92", Zt = "_dialogAbout_zx0yn_155", Qt = "_aboutHeader_zx0yn_162", $t = "_aboutIcon_zx0yn_171", en = "_aboutAppName_zx0yn_180", tn = "_aboutVersion_zx0yn_187", nn = "_aboutTabBar_zx0yn_194", rn = "_aboutTabBtn_zx0yn_201", an = "_aboutTabBtnActive_zx0yn_220", on = "_aboutTabContent_zx0yn_233", sn = "_aboutSection_zx0yn_238", cn = "_aboutComments_zx0yn_243", ln = "_aboutInfoList_zx0yn_252", un = "_aboutInfoLabel_zx0yn_259", dn = "_aboutInfoValue_zx0yn_267", fn = "_aboutLink_zx0yn_275", pn = "_aboutCreditGroup_zx0yn_283", mn = "_aboutCreditTitle_zx0yn_287", hn = "_aboutCreditList_zx0yn_297", gn = "_aboutCreditItem_zx0yn_306", _n = "_aboutCopyright_zx0yn_312", vn = "_aboutLicenseType_zx0yn_319", yn = "_aboutLicenseText_zx0yn_326", B = {
1427
+ backdrop: Gt,
1428
1428
  "backdrop-in": "_backdrop-in_zx0yn_1",
1429
- dialog: Gt,
1429
+ dialog: Kt,
1430
1430
  "dialog-in": "_dialog-in_zx0yn_1",
1431
- title: Kt,
1432
- body: qt,
1433
- footer: Jt,
1434
- btn: Yt,
1431
+ title: qt,
1432
+ body: Jt,
1433
+ footer: Yt,
1434
+ btn: Xt,
1435
1435
  "btn-default": "_btn-default_zx0yn_140",
1436
1436
  "btn-suggested": "_btn-suggested_zx0yn_144",
1437
1437
  "btn-destructive": "_btn-destructive_zx0yn_149",
1438
- dialogAbout: Xt,
1439
- aboutHeader: Zt,
1440
- aboutIcon: Qt,
1441
- aboutAppName: $t,
1442
- aboutVersion: en,
1443
- aboutTabBar: tn,
1444
- aboutTabBtn: nn,
1445
- aboutTabBtnActive: rn,
1446
- aboutTabContent: an,
1447
- aboutSection: on,
1448
- aboutComments: sn,
1449
- aboutInfoList: cn,
1450
- aboutInfoLabel: ln,
1451
- aboutInfoValue: un,
1452
- aboutLink: dn,
1453
- aboutCreditGroup: fn,
1454
- aboutCreditTitle: pn,
1455
- aboutCreditList: mn,
1456
- aboutCreditItem: hn,
1457
- aboutCopyright: gn,
1458
- aboutLicenseType: _n,
1459
- aboutLicenseText: vn
1460
- }, yn = "button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
1461
- function bn(e, t) {
1438
+ dialogAbout: Zt,
1439
+ aboutHeader: Qt,
1440
+ aboutIcon: $t,
1441
+ aboutAppName: en,
1442
+ aboutVersion: tn,
1443
+ aboutTabBar: nn,
1444
+ aboutTabBtn: rn,
1445
+ aboutTabBtnActive: an,
1446
+ aboutTabContent: on,
1447
+ aboutSection: sn,
1448
+ aboutComments: cn,
1449
+ aboutInfoList: ln,
1450
+ aboutInfoLabel: un,
1451
+ aboutInfoValue: dn,
1452
+ aboutLink: fn,
1453
+ aboutCreditGroup: pn,
1454
+ aboutCreditTitle: mn,
1455
+ aboutCreditList: hn,
1456
+ aboutCreditItem: gn,
1457
+ aboutCopyright: _n,
1458
+ aboutLicenseType: vn,
1459
+ aboutLicenseText: yn
1460
+ }, bn = "button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
1461
+ function xn(e, t) {
1462
1462
  if (e.key !== "Tab") return;
1463
- let n = Array.from(t.current?.querySelectorAll(yn) ?? []);
1463
+ let n = Array.from(t.current?.querySelectorAll(bn) ?? []);
1464
1464
  if (!n.length) return;
1465
1465
  let r = n[0], i = n[n.length - 1];
1466
1466
  e.shiftKey ? document.activeElement === r && (e.preventDefault(), i.focus()) : document.activeElement === i && (e.preventDefault(), r.focus());
1467
1467
  }
1468
- var xn = {
1468
+ var Sn = {
1469
1469
  details: "Details",
1470
1470
  credits: "Credits",
1471
1471
  legal: "Legal"
1472
1472
  };
1473
- function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, closeOnBackdrop: m = !0, role: h = "dialog", responses: g, onResponse: _, variant: v, applicationName: y, applicationIcon: b, version: x, comments: S, developerName: C, website: w, websiteLabel: T, developers: E, designers: D, artists: O, copyright: k, licenseType: A, licenseText: j, links: M, className: N, ...P }) {
1474
- let ee = d(null), te = u(), ne = d(null), [re, ie] = f("details"), ae = !!g, oe = v === "about";
1473
+ function Cn({ open: r, title: i, children: a, buttons: o = [], onClose: c, closeOnBackdrop: d = !0, role: h = "dialog", responses: g, onResponse: _, variant: v, applicationName: y, applicationIcon: b, version: x, comments: S, developerName: C, website: w, websiteLabel: T, developers: E, designers: D, artists: O, copyright: k, licenseType: A, licenseText: j, links: M, className: N, ...P }) {
1474
+ let F = f(null), ee = u(), te = f(null), [ne, re] = p("details"), ie = !!g, ae = v === "about";
1475
1475
  l(() => {
1476
- r ? (ne.current = document.activeElement, (ee.current?.querySelector(yn))?.focus()) : (ne.current?.focus(), oe && ie("details"));
1477
- }, [r, oe]);
1478
- let se = s(() => {
1476
+ r ? (te.current = document.activeElement, (F.current?.querySelector(bn))?.focus()) : (te.current?.focus(), ae && re("details"));
1477
+ }, [r, ae]);
1478
+ let oe = s(() => {
1479
1479
  let e = g?.find((e) => e.variant !== "destructive" && !e.disabled);
1480
1480
  e && _?.(e.id);
1481
- }, [g, _]), ce = ae ? se : m ? c : void 0, le = s((e) => {
1481
+ }, [g, _]), se = ie ? oe : d ? c : void 0, ce = s((e) => {
1482
1482
  if (e.key === "Escape") {
1483
- e.preventDefault(), ae ? se() : c?.();
1483
+ e.preventDefault(), ie ? oe() : c?.();
1484
1484
  return;
1485
1485
  }
1486
- bn(e, ee);
1486
+ xn(e, F);
1487
1487
  }, [
1488
- ae,
1489
- se,
1488
+ ie,
1489
+ oe,
1490
1490
  c
1491
1491
  ]);
1492
1492
  if (!r) return null;
1493
- let ue = [
1493
+ let le = [
1494
1494
  "details",
1495
1495
  !!(E?.length || D?.length || O?.length) && "credits",
1496
1496
  !!(k || A || j) && "legal"
1497
- ].filter(Boolean), de = () => oe ? /* @__PURE__ */ t("div", {
1497
+ ].filter(Boolean), ue = () => ae ? /* @__PURE__ */ t("div", {
1498
1498
  className: B.footer,
1499
1499
  children: /* @__PURE__ */ t("button", {
1500
1500
  type: "button",
@@ -1502,7 +1502,7 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
1502
1502
  onClick: c,
1503
1503
  children: "Close"
1504
1504
  })
1505
- }) : ae && g ? /* @__PURE__ */ t("div", {
1505
+ }) : ie && g ? /* @__PURE__ */ t("div", {
1506
1506
  className: B.footer,
1507
1507
  children: g.map((e) => /* @__PURE__ */ t("button", {
1508
1508
  type: "button",
@@ -1520,7 +1520,7 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
1520
1520
  onClick: e.onClick,
1521
1521
  children: e.label
1522
1522
  }, e.label))
1523
- }) : null, fe = () => /* @__PURE__ */ n(e, { children: [
1523
+ }) : null, de = () => /* @__PURE__ */ n(e, { children: [
1524
1524
  /* @__PURE__ */ n("div", {
1525
1525
  className: B.aboutHeader,
1526
1526
  children: [
@@ -1529,7 +1529,7 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
1529
1529
  children: b
1530
1530
  }),
1531
1531
  /* @__PURE__ */ t("div", {
1532
- id: te,
1532
+ id: ee,
1533
1533
  className: B.aboutAppName,
1534
1534
  children: y
1535
1535
  }),
@@ -1539,22 +1539,22 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
1539
1539
  })
1540
1540
  ]
1541
1541
  }),
1542
- ue.length > 1 && /* @__PURE__ */ t("div", {
1542
+ le.length > 1 && /* @__PURE__ */ t("div", {
1543
1543
  className: B.aboutTabBar,
1544
1544
  role: "tablist",
1545
- children: ue.map((e) => /* @__PURE__ */ t("button", {
1545
+ children: le.map((e) => /* @__PURE__ */ t("button", {
1546
1546
  type: "button",
1547
1547
  role: "tab",
1548
- "aria-selected": re === e,
1549
- className: [B.aboutTabBtn, re === e ? B.aboutTabBtnActive : null].filter(Boolean).join(" "),
1550
- onClick: () => ie(e),
1551
- children: xn[e]
1548
+ "aria-selected": ne === e,
1549
+ className: [B.aboutTabBtn, ne === e ? B.aboutTabBtnActive : null].filter(Boolean).join(" "),
1550
+ onClick: () => re(e),
1551
+ children: Sn[e]
1552
1552
  }, e))
1553
1553
  }),
1554
1554
  /* @__PURE__ */ n("div", {
1555
1555
  className: B.aboutTabContent,
1556
1556
  children: [
1557
- re === "details" && /* @__PURE__ */ n("div", {
1557
+ ne === "details" && /* @__PURE__ */ n("div", {
1558
1558
  className: B.aboutSection,
1559
1559
  children: [S && /* @__PURE__ */ t("p", {
1560
1560
  className: B.aboutComments,
@@ -1598,7 +1598,7 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
1598
1598
  ]
1599
1599
  })]
1600
1600
  }),
1601
- re === "credits" && /* @__PURE__ */ t("div", {
1601
+ ne === "credits" && /* @__PURE__ */ t("div", {
1602
1602
  className: B.aboutSection,
1603
1603
  children: [
1604
1604
  {
@@ -1627,7 +1627,7 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
1627
1627
  })]
1628
1628
  }, e))
1629
1629
  }),
1630
- re === "legal" && /* @__PURE__ */ n("div", {
1630
+ ne === "legal" && /* @__PURE__ */ n("div", {
1631
1631
  className: B.aboutSection,
1632
1632
  children: [
1633
1633
  k && /* @__PURE__ */ t("p", {
@@ -1646,63 +1646,63 @@ function Sn({ open: r, title: i, children: a, buttons: o = [], onClose: c, close
1646
1646
  })
1647
1647
  ]
1648
1648
  })
1649
- ] }), pe = /* @__PURE__ */ t("div", {
1649
+ ] }), fe = /* @__PURE__ */ t("div", {
1650
1650
  className: B.backdrop,
1651
- onClick: ce,
1651
+ onClick: se,
1652
1652
  "aria-hidden": "true",
1653
1653
  children: /* @__PURE__ */ n("div", {
1654
- ref: ee,
1654
+ ref: F,
1655
1655
  role: h,
1656
1656
  "aria-modal": "true",
1657
- "aria-labelledby": te,
1657
+ "aria-labelledby": ee,
1658
1658
  className: [
1659
1659
  B.dialog,
1660
- oe ? B.dialogAbout : null,
1660
+ ae ? B.dialogAbout : null,
1661
1661
  N
1662
1662
  ].filter(Boolean).join(" "),
1663
- onKeyDown: le,
1663
+ onKeyDown: ce,
1664
1664
  onClick: (e) => e.stopPropagation(),
1665
1665
  ...P,
1666
- children: [oe ? fe() : /* @__PURE__ */ n(e, { children: [i && /* @__PURE__ */ t("div", {
1667
- id: te,
1666
+ children: [ae ? de() : /* @__PURE__ */ n(e, { children: [i && /* @__PURE__ */ t("div", {
1667
+ id: ee,
1668
1668
  className: B.title,
1669
1669
  children: i
1670
1670
  }), a && /* @__PURE__ */ t("div", {
1671
1671
  className: B.body,
1672
1672
  children: a
1673
- })] }), de()]
1673
+ })] }), ue()]
1674
1674
  })
1675
1675
  });
1676
- return typeof document > "u" ? pe : p(pe, document.body);
1676
+ return typeof document > "u" ? fe : m(fe, document.body);
1677
1677
  }
1678
1678
  //#endregion
1679
1679
  //#region src/components/Dropdown/Dropdown.module.css
1680
- var Cn = "_wrapper_1hi05_3", wn = "_trigger_1hi05_11", Tn = "_triggerOpen_1hi05_63", En = "_triggerLabel_1hi05_73", Dn = "_placeholder_1hi05_81", On = "_chevron_1hi05_87", kn = "_chevronOpen_1hi05_94", An = "_list_1hi05_100", jn = "_listDown_1hi05_129", Mn = "_listUp_1hi05_133", Nn = "_option_1hi05_145", Pn = "_optionActive_1hi05_162", Fn = "_optionSelected_1hi05_166", In = "_optionDisabled_1hi05_170", Ln = "_optionText_1hi05_178", Rn = "_optionLabel_1hi05_186", zn = "_optionDesc_1hi05_192", Bn = "_checkIcon_1hi05_202", V = {
1681
- wrapper: Cn,
1682
- trigger: wn,
1683
- triggerOpen: Tn,
1684
- triggerLabel: En,
1685
- placeholder: Dn,
1686
- chevron: On,
1687
- chevronOpen: kn,
1688
- list: An,
1680
+ var wn = "_wrapper_1hi05_3", Tn = "_trigger_1hi05_11", En = "_triggerOpen_1hi05_63", Dn = "_triggerLabel_1hi05_73", On = "_placeholder_1hi05_81", kn = "_chevron_1hi05_87", An = "_chevronOpen_1hi05_94", jn = "_list_1hi05_100", Mn = "_listDown_1hi05_129", Nn = "_listUp_1hi05_133", Pn = "_option_1hi05_145", Fn = "_optionActive_1hi05_162", In = "_optionSelected_1hi05_166", Ln = "_optionDisabled_1hi05_170", Rn = "_optionText_1hi05_178", zn = "_optionLabel_1hi05_186", Bn = "_optionDesc_1hi05_192", Vn = "_checkIcon_1hi05_202", V = {
1681
+ wrapper: wn,
1682
+ trigger: Tn,
1683
+ triggerOpen: En,
1684
+ triggerLabel: Dn,
1685
+ placeholder: On,
1686
+ chevron: kn,
1687
+ chevronOpen: An,
1688
+ list: jn,
1689
1689
  "list-in": "_list-in_1hi05_1",
1690
- listDown: jn,
1691
- listUp: Mn,
1690
+ listDown: Mn,
1691
+ listUp: Nn,
1692
1692
  "list-in-up": "_list-in-up_1hi05_1",
1693
- option: Nn,
1694
- optionActive: Pn,
1695
- optionSelected: Fn,
1696
- optionDisabled: In,
1697
- optionText: Ln,
1698
- optionLabel: Rn,
1699
- optionDesc: zn,
1700
- checkIcon: Bn
1693
+ option: Pn,
1694
+ optionActive: Fn,
1695
+ optionSelected: In,
1696
+ optionDisabled: Ln,
1697
+ optionText: Rn,
1698
+ optionLabel: zn,
1699
+ optionDesc: Bn,
1700
+ checkIcon: Vn
1701
1701
  };
1702
1702
  //#endregion
1703
1703
  //#region src/components/Dropdown/Dropdown.tsx
1704
- function Vn({ options: e, value: r, onChange: i, placeholder: a = "Select an option", disabled: o, className: c, ...p }) {
1705
- let [m, h] = f(!1), [g, _] = f(-1), [v, y] = f(!1), b = u(), x = u(), S = d(null), C = d(null), w = e.find((e) => e.value === r), T = s(() => {
1704
+ function Hn({ options: e, value: r, onChange: i, placeholder: a = "Select an option", disabled: o, className: c, ...d }) {
1705
+ let [m, h] = p(!1), [g, _] = p(-1), [v, y] = p(!1), b = u(), x = u(), S = f(null), C = f(null), w = e.find((e) => e.value === r), T = s(() => {
1706
1706
  if (!S.current) return;
1707
1707
  let t = S.current.getBoundingClientRect(), n = window.innerHeight - t.bottom, r = Math.min(e.length * 48 + 8, 280);
1708
1708
  y(n < r && t.top > r);
@@ -1786,7 +1786,7 @@ function Vn({ options: e, value: r, onChange: i, placeholder: a = "Select an opt
1786
1786
  ]);
1787
1787
  return /* @__PURE__ */ n("div", {
1788
1788
  className: [V.wrapper, c].filter(Boolean).join(" "),
1789
- ...p,
1789
+ ...d,
1790
1790
  children: [/* @__PURE__ */ n("button", {
1791
1791
  ref: S,
1792
1792
  id: b,
@@ -1803,7 +1803,7 @@ function Vn({ options: e, value: r, onChange: i, placeholder: a = "Select an opt
1803
1803
  children: [/* @__PURE__ */ t("span", {
1804
1804
  className: [V.triggerLabel, w ? null : V.placeholder].filter(Boolean).join(" "),
1805
1805
  children: w?.label ?? a
1806
- }), /* @__PURE__ */ t(F, {
1806
+ }), /* @__PURE__ */ t(I, {
1807
1807
  icon: Pe,
1808
1808
  size: "md",
1809
1809
  "aria-hidden": !0,
@@ -1839,7 +1839,7 @@ function Vn({ options: e, value: r, onChange: i, placeholder: a = "Select an opt
1839
1839
  className: V.optionDesc,
1840
1840
  children: e.description
1841
1841
  })]
1842
- }), e.value === r && /* @__PURE__ */ t(F, {
1842
+ }), e.value === r && /* @__PURE__ */ t(I, {
1843
1843
  icon: ze,
1844
1844
  size: "md",
1845
1845
  "aria-hidden": !0,
@@ -1849,7 +1849,7 @@ function Vn({ options: e, value: r, onChange: i, placeholder: a = "Select an opt
1849
1849
  })]
1850
1850
  });
1851
1851
  }
1852
- var Hn = {
1852
+ var Un = {
1853
1853
  wrapper: "_wrapper_11zhs_3",
1854
1854
  hasLabels: "_hasLabels_11zhs_11",
1855
1855
  track: "_track_11zhs_17",
@@ -1862,21 +1862,21 @@ var Hn = {
1862
1862
  };
1863
1863
  //#endregion
1864
1864
  //#region src/components/Slider/Slider.tsx
1865
- function Un(e, t, n) {
1865
+ function Wn(e, t, n) {
1866
1866
  return Math.min(n, Math.max(t, e));
1867
1867
  }
1868
- function Wn(e, t, n, r) {
1868
+ function Gn(e, t, n, r) {
1869
1869
  return parseFloat((Math.round((e - t) / n) * n + t).toFixed(r));
1870
1870
  }
1871
- function Gn(e) {
1871
+ function Kn(e) {
1872
1872
  let t = e.toString(), n = t.indexOf(".");
1873
1873
  return n === -1 ? 0 : t.length - n - 1;
1874
1874
  }
1875
- function Kn({ value: e, onChange: r, min: i = 0, max: a = 100, step: o = 1, disabled: c = !1, marks: l, className: u, "aria-label": f, "aria-labelledby": p, "aria-describedby": m, ...h }) {
1876
- let g = d(null), _ = Gn(o), v = (Un(e, i, a) - i) / (a - i) * 100, y = s((e) => {
1875
+ function qn({ value: e, onChange: r, min: i = 0, max: a = 100, step: o = 1, disabled: c = !1, marks: l, className: u, "aria-label": d, "aria-labelledby": p, "aria-describedby": m, ...h }) {
1876
+ let g = f(null), _ = Kn(o), v = (Wn(e, i, a) - i) / (a - i) * 100, y = s((e) => {
1877
1877
  if (!g.current) return;
1878
1878
  let { left: t, width: n } = g.current.getBoundingClientRect();
1879
- r(Un(Wn((e - t) / n * (a - i) + i, i, o, _), i, a));
1879
+ r(Wn(Gn((e - t) / n * (a - i) + i, i, o, _), i, a));
1880
1880
  }, [
1881
1881
  i,
1882
1882
  a,
@@ -1889,7 +1889,7 @@ function Kn({ value: e, onChange: r, min: i = 0, max: a = 100, step: o = 1, disa
1889
1889
  e.currentTarget.hasPointerCapture(e.pointerId) && y(e.clientX);
1890
1890
  }, [y]), S = s((t) => {
1891
1891
  let n = (e) => {
1892
- t.preventDefault(), r(Un(Wn(e, i, o, _), i, a));
1892
+ t.preventDefault(), r(Wn(Gn(e, i, o, _), i, a));
1893
1893
  };
1894
1894
  switch (t.key) {
1895
1895
  case "ArrowRight":
@@ -1923,8 +1923,8 @@ function Kn({ value: e, onChange: r, min: i = 0, max: a = 100, step: o = 1, disa
1923
1923
  ]), C = l && l.length > 0, w = C && l.some((e) => e.label);
1924
1924
  return /* @__PURE__ */ n("div", {
1925
1925
  className: [
1926
- Hn.wrapper,
1927
- w ? Hn.hasLabels : null,
1926
+ Un.wrapper,
1927
+ w ? Un.hasLabels : null,
1928
1928
  u
1929
1929
  ].filter(Boolean).join(" "),
1930
1930
  ...h,
@@ -1935,40 +1935,40 @@ function Kn({ value: e, onChange: r, min: i = 0, max: a = 100, step: o = 1, disa
1935
1935
  "aria-valuemin": i,
1936
1936
  "aria-valuemax": a,
1937
1937
  "aria-valuenow": e,
1938
- "aria-label": f,
1938
+ "aria-label": d,
1939
1939
  "aria-labelledby": p,
1940
1940
  "aria-describedby": m,
1941
1941
  "aria-disabled": c || void 0,
1942
- className: [Hn.track, c ? Hn.disabled : null].filter(Boolean).join(" "),
1942
+ className: [Un.track, c ? Un.disabled : null].filter(Boolean).join(" "),
1943
1943
  onPointerDown: b,
1944
1944
  onPointerMove: x,
1945
1945
  onKeyDown: c ? void 0 : S,
1946
1946
  children: [
1947
1947
  /* @__PURE__ */ t("div", {
1948
- className: Hn.fill,
1948
+ className: Un.fill,
1949
1949
  style: { width: `${v}%` }
1950
1950
  }),
1951
1951
  /* @__PURE__ */ t("div", {
1952
- className: Hn.thumb,
1952
+ className: Un.thumb,
1953
1953
  style: { left: `${v}%` },
1954
1954
  "aria-hidden": "true"
1955
1955
  }),
1956
1956
  C && l.map((e) => {
1957
- let n = (Un(e.value, i, a) - i) / (a - i) * 100;
1957
+ let n = (Wn(e.value, i, a) - i) / (a - i) * 100;
1958
1958
  return /* @__PURE__ */ t("div", {
1959
- className: Hn.tick,
1959
+ className: Un.tick,
1960
1960
  style: { left: `${n}%` },
1961
1961
  "aria-hidden": "true"
1962
1962
  }, e.value);
1963
1963
  })
1964
1964
  ]
1965
1965
  }), w && /* @__PURE__ */ t("div", {
1966
- className: Hn.labels,
1966
+ className: Un.labels,
1967
1967
  "aria-hidden": "true",
1968
1968
  children: l.map((e) => {
1969
- let n = (Un(e.value, i, a) - i) / (a - i) * 100;
1969
+ let n = (Wn(e.value, i, a) - i) / (a - i) * 100;
1970
1970
  return /* @__PURE__ */ t("span", {
1971
- className: Hn.markLabel,
1971
+ className: Un.markLabel,
1972
1972
  style: { left: `${n}%` },
1973
1973
  children: e.label
1974
1974
  }, e.value);
@@ -1976,7 +1976,7 @@ function Kn({ value: e, onChange: r, min: i = 0, max: a = 100, step: o = 1, disa
1976
1976
  })]
1977
1977
  });
1978
1978
  }
1979
- var qn = {
1979
+ var Jn = {
1980
1980
  panel: "_panel_1tk9v_3",
1981
1981
  visible: "_visible_1tk9v_36",
1982
1982
  arrow: "_arrow_1tk9v_44",
@@ -1984,8 +1984,8 @@ var qn = {
1984
1984
  top: "_top_1tk9v_67",
1985
1985
  left: "_left_1tk9v_75",
1986
1986
  right: "_right_1tk9v_83"
1987
- }, Jn = 8, H = 10, Yn = 6;
1988
- function Xn(e, t, n) {
1987
+ }, Yn = 8, H = 10, Xn = 6;
1988
+ function Zn(e, t, n) {
1989
1989
  let r = window.innerWidth, i = window.innerHeight, a = [...new Set([
1990
1990
  n,
1991
1991
  n === "top" ? "bottom" : n === "bottom" ? "top" : n === "left" ? "right" : "left",
@@ -1996,17 +1996,17 @@ function Xn(e, t, n) {
1996
1996
  ])];
1997
1997
  function o(n) {
1998
1998
  return n === "bottom" ? {
1999
- top: e.bottom + Jn,
1999
+ top: e.bottom + Yn,
2000
2000
  left: e.left + e.width / 2 - t.width / 2
2001
2001
  } : n === "top" ? {
2002
- top: e.top - t.height - Jn,
2002
+ top: e.top - t.height - Yn,
2003
2003
  left: e.left + e.width / 2 - t.width / 2
2004
2004
  } : n === "left" ? {
2005
2005
  top: e.top + e.height / 2 - t.height / 2,
2006
- left: e.left - t.width - Jn
2006
+ left: e.left - t.width - Yn
2007
2007
  } : {
2008
2008
  top: e.top + e.height / 2 - t.height / 2,
2009
- left: e.right + Jn
2009
+ left: e.right + Yn
2010
2010
  };
2011
2011
  }
2012
2012
  for (let n of a) {
@@ -2026,7 +2026,7 @@ function Xn(e, t, n) {
2026
2026
  top: a,
2027
2027
  left: i,
2028
2028
  placement: n,
2029
- arrowOffset: Math.max(Yn + 4, Math.min(o, t.width - Yn - 4))
2029
+ arrowOffset: Math.max(Xn + 4, Math.min(o, t.width - Xn - 4))
2030
2030
  };
2031
2031
  }
2032
2032
  if ((n === "left" || n === "right") && l) {
@@ -2035,34 +2035,34 @@ function Xn(e, t, n) {
2035
2035
  top: r,
2036
2036
  left: s,
2037
2037
  placement: n,
2038
- arrowOffset: Math.max(Yn + 4, Math.min(o, t.height - Yn - 4))
2038
+ arrowOffset: Math.max(Xn + 4, Math.min(o, t.height - Xn - 4))
2039
2039
  };
2040
2040
  }
2041
2041
  }
2042
- let s = e.bottom + Jn, c = e.left + e.width / 2 - t.width / 2, l = Math.max(H, Math.min(s, i - t.height - H)), u = Math.max(H, Math.min(c, r - t.width - H)), d = e.left + e.width / 2 - u;
2042
+ let s = e.bottom + Yn, c = e.left + e.width / 2 - t.width / 2, l = Math.max(H, Math.min(s, i - t.height - H)), u = Math.max(H, Math.min(c, r - t.width - H)), d = e.left + e.width / 2 - u;
2043
2043
  return {
2044
2044
  top: l,
2045
2045
  left: u,
2046
2046
  placement: "bottom",
2047
- arrowOffset: Math.max(Yn + 4, Math.min(d, t.width - Yn - 4))
2047
+ arrowOffset: Math.max(Xn + 4, Math.min(d, t.width - Xn - 4))
2048
2048
  };
2049
2049
  }
2050
- function Zn({ content: r, placement: a = "bottom", open: o, onClose: c, onOpenChange: m, children: h }) {
2051
- let g = o !== void 0, [_, v] = f(!1), y = g ? o : _, [b, x] = f(null), S = u(), C = u(), w = d(null), T = d(null), E = d(null), D = s(() => {
2052
- g ? c?.() : v(!1), m?.(!1);
2050
+ function Qn({ content: r, placement: a = "bottom", open: o, onClose: c, onOpenChange: d, children: h }) {
2051
+ let g = o !== void 0, [_, v] = p(!1), y = g ? o : _, [b, x] = p(null), S = u(), C = u(), w = f(null), T = f(null), E = f(null), D = s(() => {
2052
+ g ? c?.() : v(!1), d?.(!1);
2053
2053
  }, [
2054
2054
  g,
2055
2055
  c,
2056
- m
2056
+ d
2057
2057
  ]), O = s(() => {
2058
- y ? D() : (g || v(!0), m?.(!0));
2058
+ y ? D() : (g || v(!0), d?.(!0));
2059
2059
  }, [
2060
2060
  y,
2061
2061
  D,
2062
2062
  g,
2063
- m
2063
+ d
2064
2064
  ]), k = s(() => {
2065
- !w.current || !T.current || x(Xn(w.current.getBoundingClientRect(), T.current.getBoundingClientRect(), a));
2065
+ !w.current || !T.current || x(Zn(w.current.getBoundingClientRect(), T.current.getBoundingClientRect(), a));
2066
2066
  }, [a]);
2067
2067
  l(() => {
2068
2068
  if (!y) return;
@@ -2104,9 +2104,9 @@ function Zn({ content: r, placement: a = "bottom", open: o, onClose: c, onOpenCh
2104
2104
  "aria-labelledby": S,
2105
2105
  tabIndex: -1,
2106
2106
  className: [
2107
- qn.panel,
2108
- b ? qn[b.placement] : null,
2109
- y && b ? qn.visible : null
2107
+ Jn.panel,
2108
+ b ? Jn[b.placement] : null,
2109
+ y && b ? Jn.visible : null
2110
2110
  ].filter(Boolean).join(" "),
2111
2111
  style: b ? {
2112
2112
  top: b.top,
@@ -2119,25 +2119,25 @@ function Zn({ content: r, placement: a = "bottom", open: o, onClose: c, onOpenCh
2119
2119
  },
2120
2120
  onKeyDown: A,
2121
2121
  children: [/* @__PURE__ */ t("div", {
2122
- className: qn.arrow,
2122
+ className: Jn.arrow,
2123
2123
  "aria-hidden": "true",
2124
2124
  style: b?.arrowOffset === void 0 ? void 0 : b.placement === "top" || b.placement === "bottom" ? {
2125
- left: b.arrowOffset - Yn,
2125
+ left: b.arrowOffset - Xn,
2126
2126
  marginLeft: 0
2127
2127
  } : {
2128
- top: b.arrowOffset - Yn,
2128
+ top: b.arrowOffset - Xn,
2129
2129
  marginTop: 0
2130
2130
  }
2131
2131
  }), r]
2132
2132
  });
2133
- return /* @__PURE__ */ n(e, { children: [j, y && (typeof document < "u" ? p(M, document.body) : M)] });
2133
+ return /* @__PURE__ */ n(e, { children: [j, y && (typeof document < "u" ? m(M, document.body) : M)] });
2134
2134
  }
2135
- var Qn = { clamp: "_clamp_1j51b_6" };
2135
+ var $n = { clamp: "_clamp_1j51b_6" };
2136
2136
  //#endregion
2137
2137
  //#region src/components/Clamp/Clamp.tsx
2138
- function $n({ maximumSize: e = 600, children: n, className: r, style: i, ...a }) {
2138
+ function er({ maximumSize: e = 600, children: n, className: r, style: i, ...a }) {
2139
2139
  return /* @__PURE__ */ t("div", {
2140
- className: [Qn.clamp, r].filter(Boolean).join(" "),
2140
+ className: [$n.clamp, r].filter(Boolean).join(" "),
2141
2141
  style: {
2142
2142
  maxWidth: e,
2143
2143
  ...i
@@ -2158,8 +2158,8 @@ var U = {
2158
2158
  };
2159
2159
  //#endregion
2160
2160
  //#region src/components/NavigationSplitView/NavigationSplitView.tsx
2161
- function er({ sidebar: e, content: r, showContent: i = !1, minSidebarWidth: a = 180, maxSidebarWidth: o = 280, sidebarWidthFraction: s = .25, className: c, style: l, ...u }) {
2162
- let { isNarrow: d } = We(), f = `clamp(${a}px, ${s * 100}%, ${o}px)`;
2161
+ function tr({ sidebar: e, content: r, showContent: i = !1, minSidebarWidth: a = 180, maxSidebarWidth: o = 280, sidebarWidthFraction: s = .25, className: c, style: l, ...u }) {
2162
+ let { isNarrow: d } = Ge(), f = `clamp(${a}px, ${s * 100}%, ${o}px)`;
2163
2163
  return /* @__PURE__ */ n("div", {
2164
2164
  className: [
2165
2165
  U.root,
@@ -2204,8 +2204,8 @@ var W = {
2204
2204
  };
2205
2205
  //#endregion
2206
2206
  //#region src/components/OverlaySplitView/OverlaySplitView.tsx
2207
- function tr({ sidebar: e, content: r, showSidebar: i = !1, onClose: a, sidebarPosition: o = "start", minSidebarWidth: s = 180, maxSidebarWidth: c = 280, sidebarWidthFraction: u = .25, className: f, style: p, ...m }) {
2208
- let { isNarrow: h } = We(), g = d(null), _ = `clamp(${s}px, ${u * 100}%, ${c}px)`;
2207
+ function nr({ sidebar: e, content: r, showSidebar: i = !1, onClose: a, sidebarPosition: o = "start", minSidebarWidth: s = 180, maxSidebarWidth: c = 280, sidebarWidthFraction: u = .25, className: d, style: p, ...m }) {
2208
+ let { isNarrow: h } = Ge(), g = f(null), _ = `clamp(${s}px, ${u * 100}%, ${c}px)`;
2209
2209
  l(() => {
2210
2210
  if (!h || !i) return;
2211
2211
  let e = (e) => {
@@ -2225,7 +2225,7 @@ function tr({ sidebar: e, content: r, showSidebar: i = !1, onClose: a, sidebarPo
2225
2225
  W.root,
2226
2226
  h ? W.narrow : W.wide,
2227
2227
  v ? W.end : W.start,
2228
- f
2228
+ d
2229
2229
  ].filter(Boolean).join(" "),
2230
2230
  style: {
2231
2231
  "--sidebar-width": _,
@@ -2251,53 +2251,53 @@ function tr({ sidebar: e, content: r, showSidebar: i = !1, onClose: a, sidebarPo
2251
2251
  ]
2252
2252
  });
2253
2253
  }
2254
- var nr = { bar: "_bar_njcvu_3" };
2254
+ var rr = { bar: "_bar_njcvu_3" };
2255
2255
  //#endregion
2256
2256
  //#region src/components/ViewSwitcherBar/ViewSwitcherBar.tsx
2257
- function rr({ children: e, reveal: n = !0, className: r, ...i }) {
2257
+ function ir({ children: e, reveal: n = !0, className: r, ...i }) {
2258
2258
  return n ? /* @__PURE__ */ t("div", {
2259
2259
  role: "navigation",
2260
2260
  "aria-label": "Bottom navigation",
2261
- className: [nr.bar, r].filter(Boolean).join(" "),
2261
+ className: [rr.bar, r].filter(Boolean).join(" "),
2262
2262
  ...i,
2263
2263
  children: e
2264
2264
  }) : null;
2265
2265
  }
2266
- var ir = {
2266
+ var ar = {
2267
2267
  link: "_link_x1qyh_1",
2268
2268
  externalIcon: "_externalIcon_x1qyh_36"
2269
2269
  };
2270
2270
  //#endregion
2271
2271
  //#region src/components/Link/Link.tsx
2272
- function ar({ external: e = !1, children: r, className: i, target: a, rel: o, ...s }) {
2272
+ function or({ external: e = !1, children: r, className: i, target: a, rel: o, ...s }) {
2273
2273
  let c = e || a === "_blank";
2274
2274
  return /* @__PURE__ */ n("a", {
2275
- className: [ir.link, i].filter(Boolean).join(" "),
2275
+ className: [ar.link, i].filter(Boolean).join(" "),
2276
2276
  target: c ? "_blank" : a,
2277
2277
  rel: c ? "noopener noreferrer" : o,
2278
2278
  ...s,
2279
2279
  children: [r, c && /* @__PURE__ */ t("span", {
2280
- className: ir.externalIcon,
2280
+ className: ar.externalIcon,
2281
2281
  "aria-label": "(opens in new tab)",
2282
2282
  children: "↗"
2283
2283
  })]
2284
2284
  });
2285
2285
  }
2286
- var or = {
2286
+ var sr = {
2287
2287
  group: "_group_1fa3l_3",
2288
2288
  item: "_item_1fa3l_18",
2289
2289
  iconOnly: "_iconOnly_1fa3l_48",
2290
2290
  active: "_active_1fa3l_53",
2291
2291
  itemIcon: "_itemIcon_1fa3l_86",
2292
2292
  itemLabel: "_itemLabel_1fa3l_92"
2293
- }, sr = a(null);
2294
- function cr() {
2295
- let e = c(sr);
2293
+ }, cr = a(null);
2294
+ function lr() {
2295
+ let e = c(cr);
2296
2296
  if (!e) throw Error("ToggleGroupItem must be used inside ToggleGroup");
2297
2297
  return e;
2298
2298
  }
2299
- function lr({ value: e, onValueChange: n, "aria-label": r = "Options", children: i, className: a, ...o }) {
2300
- let s = d(null);
2299
+ function ur({ value: e, onValueChange: n, "aria-label": r = "Options", children: i, className: a, ...o }) {
2300
+ let s = f(null);
2301
2301
  function c(e) {
2302
2302
  let t = Array.from(s.current?.querySelectorAll("[role=radio]:not(:disabled)") ?? []), n = t.findIndex((e) => e === document.activeElement);
2303
2303
  if (n === -1) return;
@@ -2309,7 +2309,7 @@ function lr({ value: e, onValueChange: n, "aria-label": r = "Options", children:
2309
2309
  else return;
2310
2310
  e.preventDefault(), t[r].focus(), t[r].click();
2311
2311
  }
2312
- return /* @__PURE__ */ t(sr.Provider, {
2312
+ return /* @__PURE__ */ t(cr.Provider, {
2313
2313
  value: {
2314
2314
  value: e,
2315
2315
  onValueChange: n
@@ -2319,7 +2319,7 @@ function lr({ value: e, onValueChange: n, "aria-label": r = "Options", children:
2319
2319
  role: "radiogroup",
2320
2320
  "aria-label": r,
2321
2321
  onKeyDown: c,
2322
- className: [or.group, a].filter(Boolean).join(" "),
2322
+ className: [sr.group, a].filter(Boolean).join(" "),
2323
2323
  ...o,
2324
2324
  children: i
2325
2325
  })
@@ -2327,8 +2327,8 @@ function lr({ value: e, onValueChange: n, "aria-label": r = "Options", children:
2327
2327
  }
2328
2328
  //#endregion
2329
2329
  //#region src/components/ToggleGroup/ToggleGroupItem.tsx
2330
- function ur({ name: e, label: r, icon: i, disabled: a, className: o, ...s }) {
2331
- let { value: c, onValueChange: l } = cr(), u = c === e, d = i && !r;
2330
+ function dr({ name: e, label: r, icon: i, disabled: a, className: o, ...s }) {
2331
+ let { value: c, onValueChange: l } = lr(), u = c === e, d = i && !r;
2332
2332
  return /* @__PURE__ */ n("button", {
2333
2333
  type: "button",
2334
2334
  role: "radio",
@@ -2337,28 +2337,28 @@ function ur({ name: e, label: r, icon: i, disabled: a, className: o, ...s }) {
2337
2337
  disabled: a,
2338
2338
  onClick: () => l(e),
2339
2339
  className: [
2340
- or.item,
2341
- u ? or.active : null,
2342
- d ? or.iconOnly : null,
2340
+ sr.item,
2341
+ u ? sr.active : null,
2342
+ d ? sr.iconOnly : null,
2343
2343
  o
2344
2344
  ].filter(Boolean).join(" "),
2345
2345
  ...s,
2346
2346
  children: [i && /* @__PURE__ */ t("span", {
2347
- className: or.itemIcon,
2348
- children: /* @__PURE__ */ t(F, {
2347
+ className: sr.itemIcon,
2348
+ children: /* @__PURE__ */ t(I, {
2349
2349
  icon: i,
2350
2350
  size: "md",
2351
2351
  "aria-hidden": !0
2352
2352
  })
2353
2353
  }), r && /* @__PURE__ */ t("span", {
2354
- className: or.itemLabel,
2354
+ className: sr.itemLabel,
2355
2355
  children: r
2356
2356
  })]
2357
2357
  });
2358
2358
  }
2359
2359
  //#endregion
2360
2360
  //#region src/components/Box/Box.tsx
2361
- function dr({ orientation: e = "vertical", spacing: n = 6, align: r, justify: i = "start", className: a, style: o, children: s, ...c }) {
2361
+ function fr({ orientation: e = "vertical", spacing: n = 6, align: r, justify: i = "start", className: a, style: o, children: s, ...c }) {
2362
2362
  let l = e === "horizontal" ? "center" : "stretch";
2363
2363
  return /* @__PURE__ */ t("div", {
2364
2364
  className: a,
@@ -2374,13 +2374,13 @@ function dr({ orientation: e = "vertical", spacing: n = 6, align: r, justify: i
2374
2374
  children: s
2375
2375
  });
2376
2376
  }
2377
- var fr = {
2377
+ var pr = {
2378
2378
  wrapBox: "_wrapBox_1ik0x_1",
2379
2379
  reverse: "_reverse_1ik0x_10"
2380
2380
  };
2381
2381
  //#endregion
2382
2382
  //#region src/components/WrapBox/WrapBox.tsx
2383
- function pr({ childSpacing: e = 6, lineSpacing: n, justify: r = "start", align: i = "center", wrapReverse: a = !1, children: o, className: s, style: c, ...l }) {
2383
+ function mr({ childSpacing: e = 6, lineSpacing: n, justify: r = "start", align: i = "center", wrapReverse: a = !1, children: o, className: s, style: c, ...l }) {
2384
2384
  let u = typeof e == "number" ? `${e}px` : e, d = n == null ? u : typeof n == "number" ? `${n}px` : n, f = {
2385
2385
  "--wrapbox-gap": u,
2386
2386
  "--wrapbox-row-gap": d,
@@ -2390,8 +2390,8 @@ function pr({ childSpacing: e = 6, lineSpacing: n, justify: r = "start", align:
2390
2390
  };
2391
2391
  return /* @__PURE__ */ t("div", {
2392
2392
  className: [
2393
- fr.wrapBox,
2394
- a ? fr.reverse : null,
2393
+ pr.wrapBox,
2394
+ a ? pr.reverse : null,
2395
2395
  s
2396
2396
  ].filter(Boolean).join(" "),
2397
2397
  style: f,
@@ -2399,7 +2399,7 @@ function pr({ childSpacing: e = 6, lineSpacing: n, justify: r = "start", align:
2399
2399
  children: o
2400
2400
  });
2401
2401
  }
2402
- var mr = {
2402
+ var hr = {
2403
2403
  chip: "_chip_e26qc_3",
2404
2404
  selectable: "_selectable_e26qc_31",
2405
2405
  selected: "_selected_e26qc_55",
@@ -2410,36 +2410,36 @@ var mr = {
2410
2410
  };
2411
2411
  //#endregion
2412
2412
  //#region src/components/Chip/Chip.tsx
2413
- function hr({ label: r, icon: i, onRemove: a, selectable: o = !1, selected: s = !1, onToggle: c, disabled: l = !1, className: u, ...d }) {
2413
+ function gr({ label: r, icon: i, onRemove: a, selectable: o = !1, selected: s = !1, onToggle: c, disabled: l = !1, className: u, ...d }) {
2414
2414
  let f = o && !a, p = [
2415
- mr.chip,
2416
- s ? mr.selected : null,
2417
- l ? mr.disabled : null,
2418
- f ? mr.selectable : null,
2415
+ hr.chip,
2416
+ s ? hr.selected : null,
2417
+ l ? hr.disabled : null,
2418
+ f ? hr.selectable : null,
2419
2419
  u
2420
2420
  ].filter(Boolean).join(" "), m = /* @__PURE__ */ n(e, { children: [
2421
2421
  i && /* @__PURE__ */ t("span", {
2422
- className: mr.icon,
2423
- children: /* @__PURE__ */ t(F, {
2422
+ className: hr.icon,
2423
+ children: /* @__PURE__ */ t(I, {
2424
2424
  icon: i,
2425
2425
  size: "sm",
2426
2426
  "aria-hidden": !0
2427
2427
  })
2428
2428
  }),
2429
2429
  /* @__PURE__ */ t("span", {
2430
- className: mr.label,
2430
+ className: hr.label,
2431
2431
  children: r
2432
2432
  }),
2433
2433
  a && /* @__PURE__ */ t("button", {
2434
2434
  type: "button",
2435
- className: mr.remove,
2435
+ className: hr.remove,
2436
2436
  "aria-label": `Remove ${r}`,
2437
2437
  disabled: l,
2438
2438
  onClick: (e) => {
2439
2439
  e.stopPropagation(), a();
2440
2440
  },
2441
2441
  tabIndex: l ? -1 : 0,
2442
- children: /* @__PURE__ */ t(F, {
2442
+ children: /* @__PURE__ */ t(I, {
2443
2443
  icon: Fe,
2444
2444
  size: "sm",
2445
2445
  "aria-hidden": !0
@@ -2464,33 +2464,33 @@ function hr({ label: r, icon: i, onRemove: a, selectable: o = !1, selected: s =
2464
2464
  }
2465
2465
  //#endregion
2466
2466
  //#region src/components/ShortcutsDialog/ShortcutsDialog.module.css
2467
- var gr = "_backdrop_zvuhh_3", _r = "_dialog_zvuhh_26", vr = "_header_zvuhh_59", yr = "_title_zvuhh_67", br = "_closeBtn_zvuhh_74", xr = "_searchRow_zvuhh_112", Sr = "_searchIcon_zvuhh_124", Cr = "_searchInput_zvuhh_132", wr = "_searchClear_zvuhh_151", Tr = "_body_zvuhh_174", Er = "_empty_zvuhh_182", Dr = "_section_zvuhh_193", Or = "_sectionTitle_zvuhh_199", kr = "_list_zvuhh_209", Ar = "_row_zvuhh_225", jr = "_keys_zvuhh_240", Mr = "_keyCap_zvuhh_247", Nr = "_plus_zvuhh_277", Pr = "_description_zvuhh_284", G = {
2468
- backdrop: gr,
2467
+ var _r = "_backdrop_zvuhh_3", vr = "_dialog_zvuhh_26", yr = "_header_zvuhh_59", br = "_title_zvuhh_67", xr = "_closeBtn_zvuhh_74", Sr = "_searchRow_zvuhh_112", Cr = "_searchIcon_zvuhh_124", wr = "_searchInput_zvuhh_132", Tr = "_searchClear_zvuhh_151", Er = "_body_zvuhh_174", Dr = "_empty_zvuhh_182", Or = "_section_zvuhh_193", kr = "_sectionTitle_zvuhh_199", Ar = "_list_zvuhh_209", jr = "_row_zvuhh_225", Mr = "_keys_zvuhh_240", Nr = "_keyCap_zvuhh_247", Pr = "_plus_zvuhh_277", Fr = "_description_zvuhh_284", G = {
2468
+ backdrop: _r,
2469
2469
  "backdrop-in": "_backdrop-in_zvuhh_1",
2470
- dialog: _r,
2470
+ dialog: vr,
2471
2471
  "dialog-in": "_dialog-in_zvuhh_1",
2472
- header: vr,
2473
- title: yr,
2474
- closeBtn: br,
2475
- searchRow: xr,
2476
- searchIcon: Sr,
2477
- searchInput: Cr,
2478
- searchClear: wr,
2479
- body: Tr,
2480
- empty: Er,
2481
- section: Dr,
2482
- sectionTitle: Or,
2483
- list: kr,
2484
- row: Ar,
2485
- keys: jr,
2486
- keyCap: Mr,
2487
- plus: Nr,
2488
- description: Pr
2489
- }, Fr = "button:not([disabled]), [href], input:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
2490
- function Ir({ open: e, onClose: r, title: i = "Keyboard Shortcuts", sections: a }) {
2491
- let [o, c] = f(""), u = d(null), m = d(null), h = d(null), g = d(`shortcuts-title-${Math.random().toString(36).slice(2, 9)}`);
2472
+ header: yr,
2473
+ title: br,
2474
+ closeBtn: xr,
2475
+ searchRow: Sr,
2476
+ searchIcon: Cr,
2477
+ searchInput: wr,
2478
+ searchClear: Tr,
2479
+ body: Er,
2480
+ empty: Dr,
2481
+ section: Or,
2482
+ sectionTitle: kr,
2483
+ list: Ar,
2484
+ row: jr,
2485
+ keys: Mr,
2486
+ keyCap: Nr,
2487
+ plus: Pr,
2488
+ description: Fr
2489
+ }, Ir = "button:not([disabled]), [href], input:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
2490
+ function Lr({ open: e, onClose: r, title: i = "Keyboard Shortcuts", sections: a }) {
2491
+ let [o, c] = p(""), u = f(null), d = f(null), h = f(null), g = f(`shortcuts-title-${Math.random().toString(36).slice(2, 9)}`);
2492
2492
  l(() => {
2493
- e ? (h.current = document.activeElement, requestAnimationFrame(() => m.current?.focus())) : (c(""), h.current?.focus());
2493
+ e ? (h.current = document.activeElement, requestAnimationFrame(() => d.current?.focus())) : (c(""), h.current?.focus());
2494
2494
  }, [e]);
2495
2495
  let _ = s((e) => {
2496
2496
  if (e.key === "Escape") {
@@ -2498,7 +2498,7 @@ function Ir({ open: e, onClose: r, title: i = "Keyboard Shortcuts", sections: a
2498
2498
  return;
2499
2499
  }
2500
2500
  if (e.key !== "Tab") return;
2501
- let t = Array.from(u.current?.querySelectorAll(Fr) ?? []);
2501
+ let t = Array.from(u.current?.querySelectorAll(Ir) ?? []);
2502
2502
  if (t.length === 0) return;
2503
2503
  let n = t[0], i = t[t.length - 1];
2504
2504
  e.shiftKey ? document.activeElement === n && (e.preventDefault(), i.focus()) : document.activeElement === i && (e.preventDefault(), n.focus());
@@ -2543,7 +2543,7 @@ function Ir({ open: e, onClose: r, title: i = "Keyboard Shortcuts", sections: a
2543
2543
  children: "⌕"
2544
2544
  }),
2545
2545
  /* @__PURE__ */ t("input", {
2546
- ref: m,
2546
+ ref: d,
2547
2547
  type: "search",
2548
2548
  className: G.searchInput,
2549
2549
  placeholder: "Search shortcuts…",
@@ -2556,7 +2556,7 @@ function Ir({ open: e, onClose: r, title: i = "Keyboard Shortcuts", sections: a
2556
2556
  className: G.searchClear,
2557
2557
  "aria-label": "Clear search",
2558
2558
  onClick: () => {
2559
- c(""), m.current?.focus();
2559
+ c(""), d.current?.focus();
2560
2560
  },
2561
2561
  children: "×"
2562
2562
  })
@@ -2604,9 +2604,9 @@ function Ir({ open: e, onClose: r, title: i = "Keyboard Shortcuts", sections: a
2604
2604
  ]
2605
2605
  })
2606
2606
  });
2607
- return typeof document > "u" ? b : p(b, document.body);
2607
+ return typeof document > "u" ? b : m(b, document.body);
2608
2608
  }
2609
- var Lr = {
2609
+ var Rr = {
2610
2610
  sidebar: "_sidebar_kmj4b_3",
2611
2611
  list: "_list_kmj4b_17",
2612
2612
  item: "_item_kmj4b_28",
@@ -2616,14 +2616,14 @@ var Lr = {
2616
2616
  itemLabel: "_itemLabel_kmj4b_119",
2617
2617
  itemSuffix: "_itemSuffix_kmj4b_129",
2618
2618
  count: "_count_kmj4b_136"
2619
- }, Rr = a(null);
2620
- function zr() {
2621
- let e = c(Rr);
2619
+ }, zr = a(null);
2620
+ function Br() {
2621
+ let e = c(zr);
2622
2622
  if (!e) throw Error("ViewSwitcherSidebarItem must be used inside ViewSwitcherSidebar");
2623
2623
  return e;
2624
2624
  }
2625
- function Br({ value: e, onValueChange: n, "aria-label": r = "Views", children: i, className: a, ...o }) {
2626
- let s = d(null);
2625
+ function Vr({ value: e, onValueChange: n, "aria-label": r = "Views", children: i, className: a, ...o }) {
2626
+ let s = f(null);
2627
2627
  function c(e) {
2628
2628
  let t = Array.from(s.current?.querySelectorAll("[role=radio]:not(:disabled)") ?? []), n = t.findIndex((e) => e === document.activeElement);
2629
2629
  if (n === -1) return;
@@ -2635,20 +2635,20 @@ function Br({ value: e, onValueChange: n, "aria-label": r = "Views", children: i
2635
2635
  else return;
2636
2636
  e.preventDefault(), t[r].focus(), t[r].click();
2637
2637
  }
2638
- return /* @__PURE__ */ t(Rr.Provider, {
2638
+ return /* @__PURE__ */ t(zr.Provider, {
2639
2639
  value: {
2640
2640
  value: e,
2641
2641
  onValueChange: n
2642
2642
  },
2643
2643
  children: /* @__PURE__ */ t("nav", {
2644
- className: [Lr.sidebar, a].filter(Boolean).join(" "),
2644
+ className: [Rr.sidebar, a].filter(Boolean).join(" "),
2645
2645
  onKeyDown: c,
2646
2646
  ...o,
2647
2647
  children: /* @__PURE__ */ t("ul", {
2648
2648
  ref: s,
2649
2649
  role: "radiogroup",
2650
2650
  "aria-label": r,
2651
- className: Lr.list,
2651
+ className: Rr.list,
2652
2652
  children: i
2653
2653
  })
2654
2654
  })
@@ -2656,10 +2656,10 @@ function Br({ value: e, onValueChange: n, "aria-label": r = "Views", children: i
2656
2656
  }
2657
2657
  //#endregion
2658
2658
  //#region src/components/ViewSwitcherSidebar/ViewSwitcherSidebarItem.tsx
2659
- function Vr({ name: e, label: r, icon: i, count: a, suffix: o, disabled: s, className: c, ...l }) {
2660
- let { value: u, onValueChange: d } = zr(), f = u === e, p = o ?? a ?? null;
2659
+ function Hr({ name: e, label: r, icon: i, count: a, suffix: o, disabled: s, className: c, ...l }) {
2660
+ let { value: u, onValueChange: d } = Br(), f = u === e, p = o ?? a ?? null;
2661
2661
  return /* @__PURE__ */ t("li", {
2662
- className: Lr.item,
2662
+ className: Rr.item,
2663
2663
  children: /* @__PURE__ */ n("button", {
2664
2664
  type: "button",
2665
2665
  role: "radio",
@@ -2668,28 +2668,28 @@ function Vr({ name: e, label: r, icon: i, count: a, suffix: o, disabled: s, clas
2668
2668
  disabled: s,
2669
2669
  onClick: () => d(e),
2670
2670
  className: [
2671
- Lr.itemBtn,
2672
- f ? Lr.active : null,
2671
+ Rr.itemBtn,
2672
+ f ? Rr.active : null,
2673
2673
  c
2674
2674
  ].filter(Boolean).join(" "),
2675
2675
  ...l,
2676
2676
  children: [
2677
2677
  i && /* @__PURE__ */ t("span", {
2678
- className: Lr.itemIcon,
2679
- children: /* @__PURE__ */ t(F, {
2678
+ className: Rr.itemIcon,
2679
+ children: /* @__PURE__ */ t(I, {
2680
2680
  icon: i,
2681
2681
  size: "md",
2682
2682
  "aria-hidden": !0
2683
2683
  })
2684
2684
  }),
2685
2685
  /* @__PURE__ */ t("span", {
2686
- className: Lr.itemLabel,
2686
+ className: Rr.itemLabel,
2687
2687
  children: r
2688
2688
  }),
2689
2689
  p != null && /* @__PURE__ */ t("span", {
2690
- className: Lr.itemSuffix,
2690
+ className: Rr.itemSuffix,
2691
2691
  children: typeof p == "number" ? /* @__PURE__ */ t("span", {
2692
- className: Lr.count,
2692
+ className: Rr.count,
2693
2693
  children: p > 99 ? "99+" : p
2694
2694
  }) : p
2695
2695
  })
@@ -2699,8 +2699,8 @@ function Vr({ name: e, label: r, icon: i, count: a, suffix: o, disabled: s, clas
2699
2699
  }
2700
2700
  //#endregion
2701
2701
  //#region src/components/BreakpointBin/BreakpointBin.tsx
2702
- function Hr({ breakpoints: e, children: n, className: r, style: i, ...a }) {
2703
- let o = d(null), [s, c] = f({
2702
+ function Ur({ breakpoints: e, children: n, className: r, style: i, ...a }) {
2703
+ let o = f(null), [s, c] = p({
2704
2704
  activeBreakpoint: null,
2705
2705
  width: 0
2706
2706
  });
@@ -2729,7 +2729,7 @@ function Hr({ breakpoints: e, children: n, className: r, style: i, ...a }) {
2729
2729
  children: n(s)
2730
2730
  });
2731
2731
  }
2732
- var Ur = {
2732
+ var Wr = {
2733
2733
  row: "_row_1ba2f_3",
2734
2734
  title: "_title_1ba2f_48",
2735
2735
  leading: "_leading_1ba2f_59",
@@ -2740,31 +2740,31 @@ var Ur = {
2740
2740
  };
2741
2741
  //#endregion
2742
2742
  //#region src/components/ButtonRow/ButtonRow.tsx
2743
- function Wr({ title: e, variant: r = "default", leading: i, trailing: a, className: o, ...s }) {
2743
+ function Gr({ title: e, variant: r = "default", leading: i, trailing: a, className: o, ...s }) {
2744
2744
  return /* @__PURE__ */ n("button", {
2745
2745
  className: [
2746
- Ur.row,
2747
- Ur[r],
2746
+ Wr.row,
2747
+ Wr[r],
2748
2748
  o
2749
2749
  ].filter(Boolean).join(" "),
2750
2750
  ...s,
2751
2751
  children: [
2752
2752
  i && /* @__PURE__ */ t("span", {
2753
- className: Ur.leading,
2753
+ className: Wr.leading,
2754
2754
  children: i
2755
2755
  }),
2756
2756
  /* @__PURE__ */ t("span", {
2757
- className: Ur.title,
2757
+ className: Wr.title,
2758
2758
  children: e
2759
2759
  }),
2760
2760
  a && /* @__PURE__ */ t("span", {
2761
- className: Ur.trailing,
2761
+ className: Wr.trailing,
2762
2762
  children: a
2763
2763
  })
2764
2764
  ]
2765
2765
  });
2766
2766
  }
2767
- var Gr = {
2767
+ var Kr = {
2768
2768
  container: "_container_4kjnf_3",
2769
2769
  primary: "_primary_4kjnf_14",
2770
2770
  toggle: "_toggle_4kjnf_15",
@@ -2778,8 +2778,8 @@ var Gr = {
2778
2778
  };
2779
2779
  //#endregion
2780
2780
  //#region src/components/SplitButton/SplitButton.tsx
2781
- function Kr({ label: r, variant: i = "default", dropdownContent: a, dropdownLabel: o = "More options", disabled: c = !1, onClick: u, className: m, ...h }) {
2782
- let [g, _] = f(!1), [v, y] = f({}), b = d(null), x = d(null), S = d(null), C = s(() => _(!1), []), w = s(() => {
2781
+ function qr({ label: r, variant: i = "default", dropdownContent: a, dropdownLabel: o = "More options", disabled: c = !1, onClick: u, className: d, ...h }) {
2782
+ let [g, _] = p(!1), [v, y] = p({}), b = f(null), x = f(null), S = f(null), C = s(() => _(!1), []), w = s(() => {
2783
2783
  if (!x.current || !S.current) return;
2784
2784
  let e = x.current.getBoundingClientRect(), t = S.current.getBoundingClientRect(), n = window.innerWidth, r = e.right - t.width;
2785
2785
  r < 8 && (r = 8), r + t.width > n - 8 && (r = n - t.width - 8), y({
@@ -2808,15 +2808,15 @@ function Kr({ label: r, variant: i = "default", dropdownContent: a, dropdownLabe
2808
2808
  let T = (e) => {
2809
2809
  e.key === "Escape" && (e.stopPropagation(), C(), x.current?.focus());
2810
2810
  }, E = [
2811
- Gr.container,
2812
- Gr[i],
2813
- m
2811
+ Kr.container,
2812
+ Kr[i],
2813
+ d
2814
2814
  ].filter(Boolean).join(" "), D = /* @__PURE__ */ t("div", {
2815
2815
  ref: S,
2816
2816
  role: "dialog",
2817
2817
  "aria-label": o,
2818
2818
  tabIndex: -1,
2819
- className: [Gr.dropdown, g ? Gr.dropdownVisible : null].filter(Boolean).join(" "),
2819
+ className: [Kr.dropdown, g ? Kr.dropdownVisible : null].filter(Boolean).join(" "),
2820
2820
  style: Object.keys(v).length ? {
2821
2821
  ...v,
2822
2822
  position: "fixed"
@@ -2835,26 +2835,26 @@ function Kr({ label: r, variant: i = "default", dropdownContent: a, dropdownLabe
2835
2835
  className: E,
2836
2836
  children: [
2837
2837
  /* @__PURE__ */ t("button", {
2838
- className: Gr.primary,
2838
+ className: Kr.primary,
2839
2839
  disabled: c,
2840
2840
  onClick: u,
2841
2841
  ...h,
2842
2842
  children: r
2843
2843
  }),
2844
2844
  /* @__PURE__ */ t("span", {
2845
- className: Gr.separator,
2845
+ className: Kr.separator,
2846
2846
  "aria-hidden": "true"
2847
2847
  }),
2848
2848
  /* @__PURE__ */ t("button", {
2849
2849
  ref: x,
2850
- className: Gr.toggle,
2850
+ className: Kr.toggle,
2851
2851
  disabled: c,
2852
2852
  "aria-label": o,
2853
2853
  "aria-haspopup": "dialog",
2854
2854
  "aria-expanded": g,
2855
2855
  onClick: () => _((e) => !e),
2856
2856
  children: /* @__PURE__ */ t("svg", {
2857
- className: Gr.chevron,
2857
+ className: Kr.chevron,
2858
2858
  width: "16",
2859
2859
  height: "16",
2860
2860
  viewBox: "0 0 16 16",
@@ -2871,53 +2871,53 @@ function Kr({ label: r, variant: i = "default", dropdownContent: a, dropdownLabe
2871
2871
  })
2872
2872
  })
2873
2873
  ]
2874
- }), g && (typeof document < "u" ? p(D, document.body) : D)] });
2874
+ }), g && (typeof document < "u" ? m(D, document.body) : D)] });
2875
2875
  }
2876
- var qr = {
2876
+ var Jr = {
2877
2877
  toolbar: "_toolbar_1avgl_2",
2878
2878
  spacer: "_spacer_1avgl_20"
2879
2879
  };
2880
2880
  //#endregion
2881
2881
  //#region src/components/Toolbar/Toolbar.tsx
2882
- function Jr({ children: e, className: n, ...r }) {
2882
+ function Yr({ children: e, className: n, ...r }) {
2883
2883
  return /* @__PURE__ */ t("div", {
2884
- className: [qr.toolbar, n].filter(Boolean).join(" "),
2884
+ className: [Jr.toolbar, n].filter(Boolean).join(" "),
2885
2885
  ...r,
2886
2886
  children: e
2887
2887
  });
2888
2888
  }
2889
2889
  //#endregion
2890
2890
  //#region src/components/Toolbar/Spacer.tsx
2891
- function Yr({ className: e, ...n }) {
2891
+ function Xr({ className: e, ...n }) {
2892
2892
  return /* @__PURE__ */ t("div", {
2893
2893
  "aria-hidden": "true",
2894
- className: [qr.spacer, e].filter(Boolean).join(" "),
2894
+ className: [Jr.spacer, e].filter(Boolean).join(" "),
2895
2895
  ...n
2896
2896
  });
2897
2897
  }
2898
- var Xr = {
2898
+ var Zr = {
2899
2899
  linked: "_linked_1tser_3",
2900
2900
  vertical: "_vertical_1tser_9"
2901
2901
  };
2902
2902
  //#endregion
2903
2903
  //#region src/components/LinkedGroup/LinkedGroup.tsx
2904
- function Zr({ children: e, vertical: n = !1, className: r, ...i }) {
2904
+ function Qr({ children: e, vertical: n = !1, className: r, ...i }) {
2905
2905
  return /* @__PURE__ */ t("div", {
2906
2906
  className: [
2907
- Xr.linked,
2908
- n ? Xr.vertical : null,
2907
+ Zr.linked,
2908
+ n ? Zr.vertical : null,
2909
2909
  r
2910
2910
  ].filter(Boolean).join(" "),
2911
2911
  ...i,
2912
2912
  children: e
2913
2913
  });
2914
2914
  }
2915
- var Qr = { frame: "_frame_1bq7b_2" };
2915
+ var $r = { frame: "_frame_1bq7b_2" };
2916
2916
  //#endregion
2917
2917
  //#region src/components/Frame/Frame.tsx
2918
- function $r({ children: e, className: n, ...r }) {
2918
+ function ei({ children: e, className: n, ...r }) {
2919
2919
  return /* @__PURE__ */ t("div", {
2920
- className: [Qr.frame, n].filter(Boolean).join(" "),
2920
+ className: [$r.frame, n].filter(Boolean).join(" "),
2921
2921
  ...r,
2922
2922
  children: e
2923
2923
  });
@@ -2940,8 +2940,8 @@ var K = {
2940
2940
  };
2941
2941
  //#endregion
2942
2942
  //#region src/components/ExpanderRow/ExpanderRow.tsx
2943
- function ei({ title: e, subtitle: i, leading: a, trailing: o, children: s, expanded: c, defaultExpanded: l = !1, onExpandedChange: d, className: p, ...m }) {
2944
- let h = c !== void 0, [g, _] = f(l), v = h ? c : g, y = u(), b = u(), x = () => {
2943
+ function ti({ title: e, subtitle: i, leading: a, trailing: o, children: s, expanded: c, defaultExpanded: l = !1, onExpandedChange: d, className: f, ...m }) {
2944
+ let h = c !== void 0, [g, _] = p(l), v = h ? c : g, y = u(), b = u(), x = () => {
2945
2945
  let e = !v;
2946
2946
  h || _(e), d?.(e);
2947
2947
  }, S = r.toArray(s).filter(Boolean);
@@ -2949,7 +2949,7 @@ function ei({ title: e, subtitle: i, leading: a, trailing: o, children: s, expan
2949
2949
  className: [
2950
2950
  K.expanderRow,
2951
2951
  v ? K.expanded : null,
2952
- p
2952
+ f
2953
2953
  ].filter(Boolean).join(" "),
2954
2954
  ...m,
2955
2955
  children: [/* @__PURE__ */ n("button", {
@@ -3012,7 +3012,7 @@ function ei({ title: e, subtitle: i, leading: a, trailing: o, children: s, expan
3012
3012
  })]
3013
3013
  });
3014
3014
  }
3015
- var ti = {
3015
+ var ni = {
3016
3016
  switcher: "_switcher_2tknm_3",
3017
3017
  item: "_item_2tknm_10",
3018
3018
  iconOnly: "_iconOnly_2tknm_38",
@@ -3022,14 +3022,14 @@ var ti = {
3022
3022
  active: "_active_2tknm_68",
3023
3023
  flat: "_flat_2tknm_121",
3024
3024
  round: "_round_2tknm_169"
3025
- }, ni = a(null);
3026
- function ri() {
3027
- let e = c(ni);
3025
+ }, ri = a(null);
3026
+ function ii() {
3027
+ let e = c(ri);
3028
3028
  if (!e) throw Error("InlineViewSwitcherItem must be used inside InlineViewSwitcher");
3029
3029
  return e;
3030
3030
  }
3031
- function ii({ value: e, onValueChange: n, variant: r = "default", "aria-label": i = "View switcher", children: a, className: o, ...s }) {
3032
- let c = d(null);
3031
+ function ai({ value: e, onValueChange: n, variant: r = "default", "aria-label": i = "View switcher", children: a, className: o, ...s }) {
3032
+ let c = f(null);
3033
3033
  function l(e) {
3034
3034
  let t = Array.from(c.current?.querySelectorAll("[role=radio]:not(:disabled)") ?? []), n = t.findIndex((e) => e === document.activeElement);
3035
3035
  if (n === -1) return;
@@ -3041,7 +3041,7 @@ function ii({ value: e, onValueChange: n, variant: r = "default", "aria-label":
3041
3041
  else return;
3042
3042
  e.preventDefault(), t[r].focus(), t[r].click();
3043
3043
  }
3044
- return /* @__PURE__ */ t(ni.Provider, {
3044
+ return /* @__PURE__ */ t(ri.Provider, {
3045
3045
  value: {
3046
3046
  value: e,
3047
3047
  onValueChange: n
@@ -3052,8 +3052,8 @@ function ii({ value: e, onValueChange: n, variant: r = "default", "aria-label":
3052
3052
  "aria-label": i,
3053
3053
  onKeyDown: l,
3054
3054
  className: [
3055
- ti.switcher,
3056
- ti[r],
3055
+ ni.switcher,
3056
+ ni[r],
3057
3057
  o
3058
3058
  ].filter(Boolean).join(" "),
3059
3059
  ...s,
@@ -3063,8 +3063,8 @@ function ii({ value: e, onValueChange: n, variant: r = "default", "aria-label":
3063
3063
  }
3064
3064
  //#endregion
3065
3065
  //#region src/components/InlineViewSwitcher/InlineViewSwitcherItem.tsx
3066
- function ai({ name: e, label: r, icon: i, disabled: a, className: o, ...s }) {
3067
- let { value: c, onValueChange: l } = ri(), u = c === e, d = i && !r;
3066
+ function oi({ name: e, label: r, icon: i, disabled: a, className: o, ...s }) {
3067
+ let { value: c, onValueChange: l } = ii(), u = c === e, d = i && !r;
3068
3068
  return /* @__PURE__ */ n("button", {
3069
3069
  type: "button",
3070
3070
  role: "radio",
@@ -3073,26 +3073,26 @@ function ai({ name: e, label: r, icon: i, disabled: a, className: o, ...s }) {
3073
3073
  disabled: a,
3074
3074
  onClick: () => l(e),
3075
3075
  className: [
3076
- ti.item,
3077
- u ? ti.active : null,
3078
- d ? ti.iconOnly : null,
3076
+ ni.item,
3077
+ u ? ni.active : null,
3078
+ d ? ni.iconOnly : null,
3079
3079
  o
3080
3080
  ].filter(Boolean).join(" "),
3081
3081
  ...s,
3082
3082
  children: [i && /* @__PURE__ */ t("span", {
3083
- className: ti.itemIcon,
3084
- children: /* @__PURE__ */ t(F, {
3083
+ className: ni.itemIcon,
3084
+ children: /* @__PURE__ */ t(I, {
3085
3085
  icon: i,
3086
3086
  size: "md",
3087
3087
  "aria-hidden": !0
3088
3088
  })
3089
3089
  }), r && /* @__PURE__ */ t("span", {
3090
- className: ti.itemLabel,
3090
+ className: ni.itemLabel,
3091
3091
  children: r
3092
3092
  })]
3093
3093
  });
3094
3094
  }
3095
- var oi = {
3095
+ var si = {
3096
3096
  row: "_row_jl3bc_3",
3097
3097
  disabled: "_disabled_jl3bc_41",
3098
3098
  leading: "_leading_jl3bc_49",
@@ -3105,8 +3105,8 @@ var oi = {
3105
3105
  };
3106
3106
  //#endregion
3107
3107
  //#region src/components/SwitchRow/SwitchRow.tsx
3108
- function si({ title: e, subtitle: r, leading: i, checked: a, defaultChecked: o = !1, onCheckedChange: s, disabled: c = !1, className: l, onClick: d, ...p }) {
3109
- let m = a !== void 0, [h, g] = f(o), _ = m ? a : h, v = u(), y = (e) => {
3108
+ function ci({ title: e, subtitle: r, leading: i, checked: a, defaultChecked: o = !1, onCheckedChange: s, disabled: c = !1, className: l, onClick: d, ...f }) {
3109
+ let m = a !== void 0, [h, g] = p(o), _ = m ? a : h, v = u(), y = (e) => {
3110
3110
  let t = !_;
3111
3111
  m || g(t), s?.(t), d?.(e);
3112
3112
  };
@@ -3116,32 +3116,32 @@ function si({ title: e, subtitle: r, leading: i, checked: a, defaultChecked: o =
3116
3116
  "aria-labelledby": v,
3117
3117
  disabled: c,
3118
3118
  className: [
3119
- oi.row,
3120
- c ? oi.disabled : null,
3119
+ si.row,
3120
+ c ? si.disabled : null,
3121
3121
  l
3122
3122
  ].filter(Boolean).join(" "),
3123
3123
  onClick: y,
3124
- ...p,
3124
+ ...f,
3125
3125
  children: [
3126
3126
  i && /* @__PURE__ */ t("span", {
3127
- className: oi.leading,
3127
+ className: si.leading,
3128
3128
  children: i
3129
3129
  }),
3130
3130
  /* @__PURE__ */ n("span", {
3131
- className: oi.content,
3131
+ className: si.content,
3132
3132
  id: v,
3133
3133
  children: [/* @__PURE__ */ t("span", {
3134
- className: oi.title,
3134
+ className: si.title,
3135
3135
  children: e
3136
3136
  }), r && /* @__PURE__ */ t("span", {
3137
- className: oi.subtitle,
3137
+ className: si.subtitle,
3138
3138
  children: r
3139
3139
  })]
3140
3140
  }),
3141
3141
  /* @__PURE__ */ t("span", {
3142
- className: oi.switchTrack,
3142
+ className: si.switchTrack,
3143
3143
  "aria-hidden": "true",
3144
- children: /* @__PURE__ */ t("span", { className: [oi.switchThumb, _ ? oi.switchThumbOn : null].filter(Boolean).join(" ") })
3144
+ children: /* @__PURE__ */ t("span", { className: [si.switchThumb, _ ? si.switchThumbOn : null].filter(Boolean).join(" ") })
3145
3145
  })
3146
3146
  ]
3147
3147
  });
@@ -3160,8 +3160,8 @@ var q = {
3160
3160
  };
3161
3161
  //#endregion
3162
3162
  //#region src/components/CheckRow/CheckRow.tsx
3163
- function ci({ title: e, subtitle: r, leading: i, checked: a, defaultChecked: o = !1, onCheckedChange: s, disabled: c = !1, className: l, onClick: d, ...p }) {
3164
- let m = a !== void 0, [h, g] = f(o), _ = m ? a : h, v = u(), y = (e) => {
3163
+ function li({ title: e, subtitle: r, leading: i, checked: a, defaultChecked: o = !1, onCheckedChange: s, disabled: c = !1, className: l, onClick: d, ...f }) {
3164
+ let m = a !== void 0, [h, g] = p(o), _ = m ? a : h, v = u(), y = (e) => {
3165
3165
  let t = !_;
3166
3166
  m || g(t), s?.(t), d?.(e);
3167
3167
  };
@@ -3176,7 +3176,7 @@ function ci({ title: e, subtitle: r, leading: i, checked: a, defaultChecked: o =
3176
3176
  l
3177
3177
  ].filter(Boolean).join(" "),
3178
3178
  onClick: y,
3179
- ...p,
3179
+ ...f,
3180
3180
  children: [
3181
3181
  /* @__PURE__ */ t("span", {
3182
3182
  className: q.checkboxWrap,
@@ -3220,36 +3220,36 @@ function ci({ title: e, subtitle: r, leading: i, checked: a, defaultChecked: o =
3220
3220
  }
3221
3221
  //#endregion
3222
3222
  //#region src/components/ComboRow/ComboRow.module.css
3223
- var li = "_row_46mn8_3", ui = "_disabled_46mn8_16", di = "_leading_46mn8_23", fi = "_content_46mn8_32", pi = "_title_46mn8_40", mi = "_subtitle_46mn8_51", hi = "_comboWrap_46mn8_65", gi = "_trigger_46mn8_73", _i = "_triggerOpen_46mn8_126", vi = "_triggerLabel_46mn8_136", yi = "_placeholder_46mn8_144", bi = "_chevron_46mn8_150", xi = "_chevronOpen_46mn8_157", Si = "_list_46mn8_163", Ci = "_listDown_46mn8_192", wi = "_listUp_46mn8_196", Ti = "_option_46mn8_208", Ei = "_optionActive_46mn8_225", Di = "_optionSelected_46mn8_229", Oi = "_optionDisabled_46mn8_233", ki = "_optionLabel_46mn8_239", Ai = "_checkIcon_46mn8_247", J = {
3224
- row: li,
3225
- disabled: ui,
3226
- leading: di,
3227
- content: fi,
3228
- title: pi,
3229
- subtitle: mi,
3230
- comboWrap: hi,
3231
- trigger: gi,
3232
- triggerOpen: _i,
3233
- triggerLabel: vi,
3234
- placeholder: yi,
3235
- chevron: bi,
3236
- chevronOpen: xi,
3237
- list: Si,
3223
+ var ui = "_row_46mn8_3", di = "_disabled_46mn8_16", fi = "_leading_46mn8_23", pi = "_content_46mn8_32", mi = "_title_46mn8_40", hi = "_subtitle_46mn8_51", gi = "_comboWrap_46mn8_65", _i = "_trigger_46mn8_73", vi = "_triggerOpen_46mn8_126", yi = "_triggerLabel_46mn8_136", bi = "_placeholder_46mn8_144", xi = "_chevron_46mn8_150", Si = "_chevronOpen_46mn8_157", Ci = "_list_46mn8_163", wi = "_listDown_46mn8_192", Ti = "_listUp_46mn8_196", Ei = "_option_46mn8_208", Di = "_optionActive_46mn8_225", Oi = "_optionSelected_46mn8_229", ki = "_optionDisabled_46mn8_233", Ai = "_optionLabel_46mn8_239", ji = "_checkIcon_46mn8_247", J = {
3224
+ row: ui,
3225
+ disabled: di,
3226
+ leading: fi,
3227
+ content: pi,
3228
+ title: mi,
3229
+ subtitle: hi,
3230
+ comboWrap: gi,
3231
+ trigger: _i,
3232
+ triggerOpen: vi,
3233
+ triggerLabel: yi,
3234
+ placeholder: bi,
3235
+ chevron: xi,
3236
+ chevronOpen: Si,
3237
+ list: Ci,
3238
3238
  "list-in": "_list-in_46mn8_1",
3239
- listDown: Ci,
3240
- listUp: wi,
3239
+ listDown: wi,
3240
+ listUp: Ti,
3241
3241
  "list-in-up": "_list-in-up_46mn8_1",
3242
- option: Ti,
3243
- optionActive: Ei,
3244
- optionSelected: Di,
3245
- optionDisabled: Oi,
3246
- optionLabel: ki,
3247
- checkIcon: Ai
3242
+ option: Ei,
3243
+ optionActive: Di,
3244
+ optionSelected: Oi,
3245
+ optionDisabled: ki,
3246
+ optionLabel: Ai,
3247
+ checkIcon: ji
3248
3248
  };
3249
3249
  //#endregion
3250
3250
  //#region src/components/ComboRow/ComboRow.tsx
3251
- function ji({ title: e, subtitle: r, leading: i, options: a, value: o, defaultValue: c, onValueChange: p, disabled: m = !1, className: h, ...g }) {
3252
- let _ = o !== void 0, [v, y] = f(c), b = _ ? o : v, [x, S] = f(!1), [C, w] = f(-1), [T, E] = f(!1), D = u(), O = u(), k = d(null), A = d(null), j = a.find((e) => e.value === b), M = s(() => {
3251
+ function Mi({ title: e, subtitle: r, leading: i, options: a, value: o, defaultValue: c, onValueChange: d, disabled: m = !1, className: h, ...g }) {
3252
+ let _ = o !== void 0, [v, y] = p(c), b = _ ? o : v, [x, S] = p(!1), [C, w] = p(-1), [T, E] = p(!1), D = u(), O = u(), k = f(null), A = f(null), j = a.find((e) => e.value === b), M = s(() => {
3253
3253
  if (!k.current) return;
3254
3254
  let e = k.current.getBoundingClientRect(), t = window.innerHeight - e.bottom, n = Math.min(a.length * 44 + 8, 260);
3255
3255
  E(t < n && e.top > n);
@@ -3265,11 +3265,11 @@ function ji({ title: e, subtitle: r, leading: i, options: a, value: o, defaultVa
3265
3265
  b
3266
3266
  ]), P = s(() => {
3267
3267
  S(!1), w(-1), k.current?.focus();
3268
- }, []), ee = s((e) => {
3269
- e.disabled || (_ || y(e.value), p?.(e.value), P());
3268
+ }, []), F = s((e) => {
3269
+ e.disabled || (_ || y(e.value), d?.(e.value), P());
3270
3270
  }, [
3271
3271
  _,
3272
- p,
3272
+ d,
3273
3273
  P
3274
3274
  ]);
3275
3275
  l(() => {
@@ -3281,7 +3281,7 @@ function ji({ title: e, subtitle: r, leading: i, options: a, value: o, defaultVa
3281
3281
  };
3282
3282
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
3283
3283
  }, [x, P]);
3284
- let te = s((e) => {
3284
+ let ee = s((e) => {
3285
3285
  switch (e.key) {
3286
3286
  case "Enter":
3287
3287
  case " ":
@@ -3296,7 +3296,7 @@ function ji({ title: e, subtitle: r, leading: i, options: a, value: o, defaultVa
3296
3296
  N,
3297
3297
  M,
3298
3298
  a
3299
- ]), ne = s((e) => {
3299
+ ]), te = s((e) => {
3300
3300
  let t = a.map((e, t) => ({
3301
3301
  o: e,
3302
3302
  i: t
@@ -3322,7 +3322,7 @@ function ji({ title: e, subtitle: r, leading: i, options: a, value: o, defaultVa
3322
3322
  break;
3323
3323
  case "Enter":
3324
3324
  case " ":
3325
- e.preventDefault(), C >= 0 && ee(a[C]);
3325
+ e.preventDefault(), C >= 0 && F(a[C]);
3326
3326
  break;
3327
3327
  case "Escape":
3328
3328
  case "Tab":
@@ -3332,7 +3332,7 @@ function ji({ title: e, subtitle: r, leading: i, options: a, value: o, defaultVa
3332
3332
  }, [
3333
3333
  a,
3334
3334
  C,
3335
- ee,
3335
+ F,
3336
3336
  P
3337
3337
  ]);
3338
3338
  return /* @__PURE__ */ n("div", {
@@ -3371,7 +3371,7 @@ function ji({ title: e, subtitle: r, leading: i, options: a, value: o, defaultVa
3371
3371
  disabled: m,
3372
3372
  className: [J.trigger, x ? J.triggerOpen : null].filter(Boolean).join(" "),
3373
3373
  onClick: () => x ? P() : N(),
3374
- onKeyDown: te,
3374
+ onKeyDown: ee,
3375
3375
  children: [/* @__PURE__ */ t("span", {
3376
3376
  className: [J.triggerLabel, j ? null : J.placeholder].filter(Boolean).join(" "),
3377
3377
  children: j?.label ?? "—"
@@ -3398,7 +3398,7 @@ function ji({ title: e, subtitle: r, leading: i, options: a, value: o, defaultVa
3398
3398
  "aria-labelledby": D,
3399
3399
  tabIndex: -1,
3400
3400
  className: [J.list, T ? J.listUp : J.listDown].filter(Boolean).join(" "),
3401
- onKeyDown: ne,
3401
+ onKeyDown: te,
3402
3402
  children: a.map((e, r) => /* @__PURE__ */ n("li", {
3403
3403
  id: `${O}-opt-${r}`,
3404
3404
  role: "option",
@@ -3411,7 +3411,7 @@ function ji({ title: e, subtitle: r, leading: i, options: a, value: o, defaultVa
3411
3411
  e.disabled ? J.optionDisabled : null
3412
3412
  ].filter(Boolean).join(" "),
3413
3413
  onMouseEnter: () => !e.disabled && w(r),
3414
- onClick: () => ee(e),
3414
+ onClick: () => F(e),
3415
3415
  children: [/* @__PURE__ */ t("span", {
3416
3416
  className: J.optionLabel,
3417
3417
  children: e.label
@@ -3451,8 +3451,8 @@ var Y = {
3451
3451
  };
3452
3452
  //#endregion
3453
3453
  //#region src/components/EntryRow/EntryRow.tsx
3454
- function Mi({ title: e, value: r, defaultValue: i = "", onValueChange: a, leading: o, trailing: s, disabled: c, className: l, id: p, onChange: m, ...h }) {
3455
- let g = u(), _ = p ?? g, v = r !== void 0, [y, b] = f(String(i)), x = v ? String(r) : y, [S, C] = f(!1), w = d(null), T = S || x.length > 0;
3454
+ function Ni({ title: e, value: r, defaultValue: i = "", onValueChange: a, leading: o, trailing: s, disabled: c, className: l, id: d, onChange: m, ...h }) {
3455
+ let g = u(), _ = d ?? g, v = r !== void 0, [y, b] = p(String(i)), x = v ? String(r) : y, [S, C] = p(!1), w = f(null), T = S || x.length > 0;
3456
3456
  return /* @__PURE__ */ n("div", {
3457
3457
  className: [
3458
3458
  Y.row,
@@ -3493,33 +3493,33 @@ function Mi({ title: e, value: r, defaultValue: i = "", onValueChange: a, leadin
3493
3493
  ]
3494
3494
  });
3495
3495
  }
3496
- var Ni = { revealButton: "_revealButton_1j8z0_3" };
3496
+ var Pi = { revealButton: "_revealButton_1j8z0_3" };
3497
3497
  //#endregion
3498
3498
  //#region src/components/PasswordEntryRow/PasswordEntryRow.tsx
3499
- function Pi({ trailing: r, disabled: i, ...a }) {
3500
- let [o, s] = f(!1), c = /* @__PURE__ */ t("button", {
3499
+ function Fi({ trailing: r, disabled: i, ...a }) {
3500
+ let [o, s] = p(!1), c = /* @__PURE__ */ t("button", {
3501
3501
  type: "button",
3502
- className: Ni.revealButton,
3502
+ className: Pi.revealButton,
3503
3503
  onClick: (e) => {
3504
3504
  e.stopPropagation(), s((e) => !e);
3505
3505
  },
3506
3506
  "aria-label": o ? "Conceal password" : "Reveal password",
3507
3507
  "aria-pressed": o,
3508
3508
  disabled: i,
3509
- children: /* @__PURE__ */ t(F, {
3509
+ children: /* @__PURE__ */ t(I, {
3510
3510
  icon: o ? Re : Le,
3511
3511
  size: "md",
3512
3512
  "aria-hidden": !0
3513
3513
  })
3514
3514
  });
3515
- return /* @__PURE__ */ t(Mi, {
3515
+ return /* @__PURE__ */ t(Ni, {
3516
3516
  ...a,
3517
3517
  type: o ? "text" : "password",
3518
3518
  disabled: i,
3519
3519
  trailing: /* @__PURE__ */ n(e, { children: [r, c] })
3520
3520
  });
3521
3521
  }
3522
- var X = {
3522
+ var Ii = {
3523
3523
  row: "_row_ycg6f_3",
3524
3524
  disabled: "_disabled_ycg6f_16",
3525
3525
  leading: "_leading_ycg6f_23",
@@ -3532,16 +3532,16 @@ var X = {
3532
3532
  };
3533
3533
  //#endregion
3534
3534
  //#region src/components/SpinRow/SpinRow.tsx
3535
- function Fi(e) {
3535
+ function Li(e) {
3536
3536
  let t = e.toString(), n = t.indexOf(".");
3537
3537
  return n === -1 ? 0 : t.length - n - 1;
3538
3538
  }
3539
- function Ii(e, t, n) {
3539
+ function Ri(e, t, n) {
3540
3540
  return Math.min(n, Math.max(t, e));
3541
3541
  }
3542
- function Li({ title: e, subtitle: r, leading: i, value: a, defaultValue: o = 0, onValueChange: c, min: l = 0, max: d = 100, step: p = 1, decimals: m, disabled: h = !1, className: g, ..._ }) {
3543
- let v = a !== void 0, [y, b] = f(o), x = v ? a : y, S = m ?? Fi(p), C = u(), w = s((e) => {
3544
- let t = parseFloat(Ii(e, l, d).toFixed(S));
3542
+ function zi({ title: e, subtitle: r, leading: i, value: a, defaultValue: o = 0, onValueChange: c, min: l = 0, max: d = 100, step: f = 1, decimals: m, disabled: h = !1, className: g, ..._ }) {
3543
+ let v = a !== void 0, [y, b] = p(o), x = v ? a : y, S = m ?? Li(f), C = u(), w = s((e) => {
3544
+ let t = parseFloat(Ri(e, l, d).toFixed(S));
3545
3545
  v || b(t), c?.(t);
3546
3546
  }, [
3547
3547
  v,
@@ -3552,16 +3552,16 @@ function Li({ title: e, subtitle: r, leading: i, value: a, defaultValue: o = 0,
3552
3552
  ]), T = s((e) => {
3553
3553
  switch (e.key) {
3554
3554
  case "ArrowUp":
3555
- e.preventDefault(), w(x + p);
3555
+ e.preventDefault(), w(x + f);
3556
3556
  break;
3557
3557
  case "ArrowDown":
3558
- e.preventDefault(), w(x - p);
3558
+ e.preventDefault(), w(x - f);
3559
3559
  break;
3560
3560
  case "PageUp":
3561
- e.preventDefault(), w(x + p * 10);
3561
+ e.preventDefault(), w(x + f * 10);
3562
3562
  break;
3563
3563
  case "PageDown":
3564
- e.preventDefault(), w(x - p * 10);
3564
+ e.preventDefault(), w(x - f * 10);
3565
3565
  break;
3566
3566
  case "Home":
3567
3567
  e.preventDefault(), w(l);
@@ -3572,30 +3572,30 @@ function Li({ title: e, subtitle: r, leading: i, value: a, defaultValue: o = 0,
3572
3572
  }
3573
3573
  }, [
3574
3574
  x,
3575
- p,
3575
+ f,
3576
3576
  l,
3577
3577
  d,
3578
3578
  w
3579
3579
  ]);
3580
3580
  return /* @__PURE__ */ n("div", {
3581
3581
  className: [
3582
- X.row,
3583
- h ? X.disabled : null,
3582
+ Ii.row,
3583
+ h ? Ii.disabled : null,
3584
3584
  g
3585
3585
  ].filter(Boolean).join(" "),
3586
3586
  ..._,
3587
3587
  children: [
3588
3588
  i && /* @__PURE__ */ t("span", {
3589
- className: X.leading,
3589
+ className: Ii.leading,
3590
3590
  children: i
3591
3591
  }),
3592
3592
  /* @__PURE__ */ n("span", {
3593
- className: X.content,
3593
+ className: Ii.content,
3594
3594
  children: [/* @__PURE__ */ t("span", {
3595
- className: X.title,
3595
+ className: Ii.title,
3596
3596
  children: e
3597
3597
  }), r && /* @__PURE__ */ t("span", {
3598
- className: X.subtitle,
3598
+ className: Ii.subtitle,
3599
3599
  children: r
3600
3600
  })]
3601
3601
  }),
@@ -3608,22 +3608,22 @@ function Li({ title: e, subtitle: r, leading: i, value: a, defaultValue: o = 0,
3608
3608
  "aria-disabled": h || void 0,
3609
3609
  tabIndex: h ? -1 : 0,
3610
3610
  onKeyDown: h ? void 0 : T,
3611
- className: X.spin,
3611
+ className: Ii.spin,
3612
3612
  children: [
3613
3613
  /* @__PURE__ */ t("button", {
3614
3614
  type: "button",
3615
3615
  tabIndex: -1,
3616
3616
  "aria-hidden": "true",
3617
3617
  disabled: h || x <= l,
3618
- className: X.spinBtn,
3618
+ className: Ii.spinBtn,
3619
3619
  onClick: (e) => {
3620
- e.stopPropagation(), w(x - p);
3620
+ e.stopPropagation(), w(x - f);
3621
3621
  },
3622
3622
  children: "−"
3623
3623
  }),
3624
3624
  /* @__PURE__ */ t("span", {
3625
3625
  id: C,
3626
- className: X.spinValue,
3626
+ className: Ii.spinValue,
3627
3627
  "aria-hidden": "true",
3628
3628
  children: x.toFixed(S)
3629
3629
  }),
@@ -3632,9 +3632,9 @@ function Li({ title: e, subtitle: r, leading: i, value: a, defaultValue: o = 0,
3632
3632
  tabIndex: -1,
3633
3633
  "aria-hidden": "true",
3634
3634
  disabled: h || x >= d,
3635
- className: X.spinBtn,
3635
+ className: Ii.spinBtn,
3636
3636
  onClick: (e) => {
3637
- e.stopPropagation(), w(x + p);
3637
+ e.stopPropagation(), w(x + f);
3638
3638
  },
3639
3639
  children: "+"
3640
3640
  })
@@ -3645,50 +3645,50 @@ function Li({ title: e, subtitle: r, leading: i, value: a, defaultValue: o = 0,
3645
3645
  }
3646
3646
  //#endregion
3647
3647
  //#region src/components/NavigationView/NavigationView.module.css
3648
- var Ri = "_view_1r1om_3", zi = "_page_1r1om_12", Bi = "_pageHeader_1r1om_23", Vi = "_pageTitle_1r1om_34", Hi = "_pageContent_1r1om_43", Ui = "_enterForward_1r1om_52", Wi = "_enterBack_1r1om_56", Gi = {
3649
- view: Ri,
3650
- page: zi,
3651
- pageHeader: Bi,
3652
- pageTitle: Vi,
3653
- pageContent: Hi,
3654
- enterForward: Ui,
3648
+ var Bi = "_view_1r1om_3", Vi = "_page_1r1om_12", Hi = "_pageHeader_1r1om_23", Ui = "_pageTitle_1r1om_34", Wi = "_pageContent_1r1om_43", Gi = "_enterForward_1r1om_52", Ki = "_enterBack_1r1om_56", qi = {
3649
+ view: Bi,
3650
+ page: Vi,
3651
+ pageHeader: Hi,
3652
+ pageTitle: Ui,
3653
+ pageContent: Wi,
3654
+ enterForward: Gi,
3655
3655
  "slide-in-right": "_slide-in-right_1r1om_1",
3656
- enterBack: Wi,
3656
+ enterBack: Ki,
3657
3657
  "slide-in-left": "_slide-in-left_1r1om_1"
3658
- }, Ki = a({
3658
+ }, Ji = a({
3659
3659
  navigate: () => {},
3660
3660
  pop: () => {},
3661
3661
  canGoBack: !1,
3662
3662
  currentTag: "",
3663
3663
  direction: "forward"
3664
3664
  });
3665
- function qi() {
3666
- return c(Ki);
3665
+ function Yi() {
3666
+ return c(Ji);
3667
3667
  }
3668
- function Ji({ tag: e, title: r, children: i, className: a, ...o }) {
3669
- let { currentTag: s, direction: l } = c(Ki);
3668
+ function Xi({ tag: e, title: r, children: i, className: a, ...o }) {
3669
+ let { currentTag: s, direction: l } = c(Ji);
3670
3670
  return s === e ? /* @__PURE__ */ n("div", {
3671
3671
  className: [
3672
- Gi.page,
3673
- l === "forward" ? Gi.enterForward : Gi.enterBack,
3672
+ qi.page,
3673
+ l === "forward" ? qi.enterForward : qi.enterBack,
3674
3674
  a
3675
3675
  ].filter(Boolean).join(" "),
3676
3676
  ...o,
3677
3677
  children: [/* @__PURE__ */ t("div", {
3678
- className: Gi.pageHeader,
3678
+ className: qi.pageHeader,
3679
3679
  children: /* @__PURE__ */ t("span", {
3680
- className: Gi.pageTitle,
3680
+ className: qi.pageTitle,
3681
3681
  children: r
3682
3682
  })
3683
3683
  }), /* @__PURE__ */ t("div", {
3684
- className: Gi.pageContent,
3684
+ className: qi.pageContent,
3685
3685
  children: i
3686
3686
  })]
3687
3687
  }) : null;
3688
3688
  }
3689
- function Yi({ initialPage: e, children: n, className: r, ...i }) {
3690
- let [a, o] = f([e]), s = a[a.length - 1], c = a.length > 1, [l, u] = f("forward");
3691
- return /* @__PURE__ */ t(Ki.Provider, {
3689
+ function Zi({ initialPage: e, children: n, className: r, ...i }) {
3690
+ let [a, o] = p([e]), s = a[a.length - 1], c = a.length > 1, [l, u] = p("forward");
3691
+ return /* @__PURE__ */ t(Ji.Provider, {
3692
3692
  value: {
3693
3693
  navigate: (e) => {
3694
3694
  u("forward"), o((t) => [...t, e]);
@@ -3701,7 +3701,7 @@ function Yi({ initialPage: e, children: n, className: r, ...i }) {
3701
3701
  direction: l
3702
3702
  },
3703
3703
  children: /* @__PURE__ */ t("div", {
3704
- className: [Gi.view, r].filter(Boolean).join(" "),
3704
+ className: [qi.view, r].filter(Boolean).join(" "),
3705
3705
  ...i,
3706
3706
  children: n
3707
3707
  })
@@ -3709,20 +3709,20 @@ function Yi({ initialPage: e, children: n, className: r, ...i }) {
3709
3709
  }
3710
3710
  //#endregion
3711
3711
  //#region src/components/BottomSheet/BottomSheet.module.css
3712
- var Xi = "_backdrop_zzv98_3", Zi = "_sheet_zzv98_26", Qi = "_handle_zzv98_49", $i = "_handleBar_zzv98_56", ea = "_title_zzv98_66", ta = "_content_zzv98_79", na = {
3713
- backdrop: Xi,
3712
+ var Qi = "_backdrop_zzv98_3", $i = "_sheet_zzv98_26", ea = "_handle_zzv98_49", ta = "_handleBar_zzv98_56", na = "_title_zzv98_66", ra = "_content_zzv98_79", ia = {
3713
+ backdrop: Qi,
3714
3714
  "backdrop-in": "_backdrop-in_zzv98_1",
3715
- sheet: Zi,
3715
+ sheet: $i,
3716
3716
  "sheet-in": "_sheet-in_zzv98_1",
3717
- handle: Qi,
3718
- handleBar: $i,
3719
- title: ea,
3720
- content: ta
3721
- }, ra = "button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
3722
- function ia({ open: e, title: r, children: i, onClose: a, closeOnBackdrop: o = !0, className: c, ...f }) {
3723
- let m = d(null), h = u(), g = d(null);
3717
+ handle: ea,
3718
+ handleBar: ta,
3719
+ title: na,
3720
+ content: ra
3721
+ }, aa = "button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
3722
+ function oa({ open: e, title: r, children: i, onClose: a, closeOnBackdrop: o = !0, className: c, ...d }) {
3723
+ let p = f(null), h = u(), g = f(null);
3724
3724
  l(() => {
3725
- e ? (g.current = document.activeElement, (m.current?.querySelector(ra))?.focus()) : g.current?.focus();
3725
+ e ? (g.current = document.activeElement, (p.current?.querySelector(aa))?.focus()) : g.current?.focus();
3726
3726
  }, [e]);
3727
3727
  let _ = s((e) => {
3728
3728
  if (e.key === "Escape") {
@@ -3730,46 +3730,46 @@ function ia({ open: e, title: r, children: i, onClose: a, closeOnBackdrop: o = !
3730
3730
  return;
3731
3731
  }
3732
3732
  if (e.key !== "Tab") return;
3733
- let t = Array.from(m.current?.querySelectorAll(ra) ?? []);
3733
+ let t = Array.from(p.current?.querySelectorAll(aa) ?? []);
3734
3734
  if (t.length === 0) return;
3735
3735
  let n = t[0], r = t[t.length - 1];
3736
3736
  e.shiftKey ? document.activeElement === n && (e.preventDefault(), r.focus()) : document.activeElement === r && (e.preventDefault(), n.focus());
3737
3737
  }, [a]);
3738
3738
  if (!e) return null;
3739
3739
  let v = /* @__PURE__ */ t("div", {
3740
- className: na.backdrop,
3740
+ className: ia.backdrop,
3741
3741
  onClick: o ? a : void 0,
3742
3742
  "aria-hidden": "true",
3743
3743
  children: /* @__PURE__ */ n("div", {
3744
- ref: m,
3744
+ ref: p,
3745
3745
  role: "dialog",
3746
3746
  "aria-modal": "true",
3747
3747
  "aria-labelledby": r ? h : void 0,
3748
- className: [na.sheet, c].filter(Boolean).join(" "),
3748
+ className: [ia.sheet, c].filter(Boolean).join(" "),
3749
3749
  onKeyDown: _,
3750
3750
  onClick: (e) => e.stopPropagation(),
3751
- ...f,
3751
+ ...d,
3752
3752
  children: [
3753
3753
  /* @__PURE__ */ t("div", {
3754
- className: na.handle,
3754
+ className: ia.handle,
3755
3755
  "aria-hidden": "true",
3756
- children: /* @__PURE__ */ t("div", { className: na.handleBar })
3756
+ children: /* @__PURE__ */ t("div", { className: ia.handleBar })
3757
3757
  }),
3758
3758
  r && /* @__PURE__ */ t("div", {
3759
3759
  id: h,
3760
- className: na.title,
3760
+ className: ia.title,
3761
3761
  children: r
3762
3762
  }),
3763
3763
  i && /* @__PURE__ */ t("div", {
3764
- className: na.content,
3764
+ className: ia.content,
3765
3765
  children: i
3766
3766
  })
3767
3767
  ]
3768
3768
  })
3769
3769
  });
3770
- return typeof document > "u" ? v : p(v, document.body);
3770
+ return typeof document > "u" ? v : m(v, document.body);
3771
3771
  }
3772
- var Z = {
3772
+ var sa = {
3773
3773
  carousel: "_carousel_117hp_3",
3774
3774
  horizontal: "_horizontal_117hp_20",
3775
3775
  vertical: "_vertical_117hp_27",
@@ -3783,9 +3783,9 @@ var Z = {
3783
3783
  };
3784
3784
  //#endregion
3785
3785
  //#region src/components/Carousel/Carousel.tsx
3786
- function aa({ pages: e, currentPage: n, onPageSelected: r, className: i, ...a }) {
3786
+ function ca({ pages: e, currentPage: n, onPageSelected: r, className: i, ...a }) {
3787
3787
  return /* @__PURE__ */ t("div", {
3788
- className: [Z.indicatorDots, i].filter(Boolean).join(" "),
3788
+ className: [sa.indicatorDots, i].filter(Boolean).join(" "),
3789
3789
  role: "tablist",
3790
3790
  "aria-label": "Carousel pages",
3791
3791
  ...a,
@@ -3794,14 +3794,14 @@ function aa({ pages: e, currentPage: n, onPageSelected: r, className: i, ...a })
3794
3794
  role: "tab",
3795
3795
  "aria-selected": i === n,
3796
3796
  "aria-label": `Page ${i + 1}`,
3797
- className: [Z.dot, i === n ? Z.dotActive : null].filter(Boolean).join(" "),
3797
+ className: [sa.dot, i === n ? sa.dotActive : null].filter(Boolean).join(" "),
3798
3798
  onClick: () => r?.(i)
3799
3799
  }, i))
3800
3800
  });
3801
3801
  }
3802
- function oa({ pages: e, currentPage: n, onPageSelected: r, className: i, ...a }) {
3802
+ function la({ pages: e, currentPage: n, onPageSelected: r, className: i, ...a }) {
3803
3803
  return /* @__PURE__ */ t("div", {
3804
- className: [Z.indicatorLines, i].filter(Boolean).join(" "),
3804
+ className: [sa.indicatorLines, i].filter(Boolean).join(" "),
3805
3805
  role: "tablist",
3806
3806
  "aria-label": "Carousel pages",
3807
3807
  ...a,
@@ -3810,13 +3810,13 @@ function oa({ pages: e, currentPage: n, onPageSelected: r, className: i, ...a })
3810
3810
  role: "tab",
3811
3811
  "aria-selected": i === n,
3812
3812
  "aria-label": `Page ${i + 1}`,
3813
- className: [Z.line, i === n ? Z.lineActive : null].filter(Boolean).join(" "),
3813
+ className: [sa.line, i === n ? sa.lineActive : null].filter(Boolean).join(" "),
3814
3814
  onClick: () => r?.(i)
3815
3815
  }, i))
3816
3816
  });
3817
3817
  }
3818
- function sa({ children: e, orientation: n = "horizontal", spacing: i = 0, loop: a = !1, onPageChanged: o, page: c, className: u, ...p }) {
3819
- let m = d(null), h = r.count(e), [g, _] = f(0), v = c !== void 0, y = v ? c : g;
3818
+ function ua({ children: e, orientation: n = "horizontal", spacing: i = 0, loop: a = !1, onPageChanged: o, page: c, className: u, ...d }) {
3819
+ let m = f(null), h = r.count(e), [g, _] = p(0), v = c !== void 0, y = v ? c : g;
3820
3820
  l(() => {
3821
3821
  v && b(c, "smooth");
3822
3822
  }, [c]);
@@ -3871,15 +3871,15 @@ function sa({ children: e, orientation: n = "horizontal", spacing: i = 0, loop:
3871
3871
  "aria-roledescription": "carousel",
3872
3872
  tabIndex: 0,
3873
3873
  className: [
3874
- Z.carousel,
3875
- S ? Z.horizontal : Z.vertical,
3874
+ sa.carousel,
3875
+ S ? sa.horizontal : sa.vertical,
3876
3876
  u
3877
3877
  ].filter(Boolean).join(" "),
3878
3878
  style: S ? { columnGap: i || void 0 } : { rowGap: i || void 0 },
3879
3879
  onKeyDown: x,
3880
- ...p,
3880
+ ...d,
3881
3881
  children: r.map(e, (e, n) => /* @__PURE__ */ t("div", {
3882
- className: Z.slide,
3882
+ className: sa.slide,
3883
3883
  role: "group",
3884
3884
  "aria-roledescription": "slide",
3885
3885
  "aria-label": `${n + 1} of ${h}`,
@@ -3889,49 +3889,49 @@ function sa({ children: e, orientation: n = "horizontal", spacing: i = 0, loop:
3889
3889
  }
3890
3890
  //#endregion
3891
3891
  //#region src/components/Bin/Bin.tsx
3892
- function ca({ children: e, ...n }) {
3892
+ function da({ children: e, ...n }) {
3893
3893
  return /* @__PURE__ */ t("div", {
3894
3894
  ...n,
3895
3895
  children: e
3896
3896
  });
3897
3897
  }
3898
- var la = {
3898
+ var fa = {
3899
3899
  content: "_content_1xkwk_3",
3900
3900
  icon: "_icon_1xkwk_9",
3901
3901
  label: "_label_1xkwk_15"
3902
3902
  };
3903
3903
  //#endregion
3904
3904
  //#region src/components/ButtonContent/ButtonContent.tsx
3905
- function ua({ icon: e, label: r, iconPosition: i = "start", className: a, ...o }) {
3905
+ function pa({ icon: e, label: r, iconPosition: i = "start", className: a, ...o }) {
3906
3906
  return /* @__PURE__ */ n("span", {
3907
3907
  className: [
3908
- la.content,
3909
- i === "end" ? la.iconEnd : null,
3908
+ fa.content,
3909
+ i === "end" ? fa.iconEnd : null,
3910
3910
  a
3911
3911
  ].filter(Boolean).join(" "),
3912
3912
  ...o,
3913
3913
  children: [
3914
3914
  e && i === "start" && /* @__PURE__ */ t("span", {
3915
- className: la.icon,
3915
+ className: fa.icon,
3916
3916
  "aria-hidden": "true",
3917
3917
  children: e
3918
3918
  }),
3919
3919
  /* @__PURE__ */ t("span", {
3920
- className: la.label,
3920
+ className: fa.label,
3921
3921
  children: r
3922
3922
  }),
3923
3923
  e && i === "end" && /* @__PURE__ */ t("span", {
3924
- className: la.icon,
3924
+ className: fa.icon,
3925
3925
  "aria-hidden": "true",
3926
3926
  children: e
3927
3927
  })
3928
3928
  ]
3929
3929
  });
3930
3930
  }
3931
- var da = {
3931
+ var ma = {
3932
3932
  label: "_label_h3znl_3",
3933
3933
  key: "_key_h3znl_9"
3934
- }, fa = {
3934
+ }, ha = {
3935
3935
  ctrl: "⌃",
3936
3936
  control: "⌃",
3937
3937
  shift: "⇧",
@@ -3959,22 +3959,22 @@ var da = {
3959
3959
  home: "⇱",
3960
3960
  end: "⇲"
3961
3961
  };
3962
- function pa({ shortcut: e, symbols: n = !0, className: r, ...i }) {
3962
+ function ga({ shortcut: e, symbols: n = !0, className: r, ...i }) {
3963
3963
  let a = e.split("+").map((e) => e.trim()).filter(Boolean);
3964
3964
  return /* @__PURE__ */ t("span", {
3965
- className: [da.label, r].filter(Boolean).join(" "),
3965
+ className: [ma.label, r].filter(Boolean).join(" "),
3966
3966
  "aria-label": e,
3967
3967
  ...i,
3968
3968
  children: a.map((e, r) => {
3969
- let i = n ? fa[e.toLowerCase()] ?? e : e;
3969
+ let i = n ? ha[e.toLowerCase()] ?? e : e;
3970
3970
  return /* @__PURE__ */ t("kbd", {
3971
- className: da.key,
3971
+ className: ma.key,
3972
3972
  children: i
3973
3973
  }, r);
3974
3974
  })
3975
3975
  });
3976
3976
  }
3977
- var ma = {
3977
+ var _a = {
3978
3978
  toolbarView: "_toolbarView_134hf_3",
3979
3979
  top: "_top_134hf_11",
3980
3980
  content: "_content_134hf_16",
@@ -3982,47 +3982,47 @@ var ma = {
3982
3982
  };
3983
3983
  //#endregion
3984
3984
  //#region src/components/ToolbarView/ToolbarView.tsx
3985
- function ha({ topBar: e, bottomBar: r, children: i, className: a, ...o }) {
3985
+ function va({ topBar: e, bottomBar: r, children: i, className: a, ...o }) {
3986
3986
  return /* @__PURE__ */ n("div", {
3987
- className: [ma.toolbarView, a].filter(Boolean).join(" "),
3987
+ className: [_a.toolbarView, a].filter(Boolean).join(" "),
3988
3988
  ...o,
3989
3989
  children: [
3990
3990
  e && /* @__PURE__ */ t("div", {
3991
- className: ma.top,
3991
+ className: _a.top,
3992
3992
  children: e
3993
3993
  }),
3994
3994
  /* @__PURE__ */ t("div", {
3995
- className: ma.content,
3995
+ className: _a.content,
3996
3996
  children: i
3997
3997
  }),
3998
3998
  r && /* @__PURE__ */ t("div", {
3999
- className: ma.bottom,
3999
+ className: _a.bottom,
4000
4000
  children: r
4001
4001
  })
4002
4002
  ]
4003
4003
  });
4004
4004
  }
4005
- var ga = {
4005
+ var ya = {
4006
4006
  windowTitle: "_windowTitle_zm877_3",
4007
4007
  title: "_title_zm877_11",
4008
4008
  subtitle: "_subtitle_zm877_24"
4009
4009
  };
4010
4010
  //#endregion
4011
4011
  //#region src/components/WindowTitle/WindowTitle.tsx
4012
- function _a({ title: e, subtitle: r, className: i, ...a }) {
4012
+ function ba({ title: e, subtitle: r, className: i, ...a }) {
4013
4013
  return /* @__PURE__ */ n("div", {
4014
- className: [ga.windowTitle, i].filter(Boolean).join(" "),
4014
+ className: [ya.windowTitle, i].filter(Boolean).join(" "),
4015
4015
  ...a,
4016
4016
  children: [/* @__PURE__ */ t("span", {
4017
- className: ga.title,
4017
+ className: ya.title,
4018
4018
  children: e
4019
4019
  }), r && /* @__PURE__ */ t("span", {
4020
- className: ga.subtitle,
4020
+ className: ya.subtitle,
4021
4021
  children: r
4022
4022
  })]
4023
4023
  });
4024
4024
  }
4025
- var va = {
4025
+ var xa = {
4026
4026
  group: "_group_17s4f_3",
4027
4027
  header: "_header_17s4f_11",
4028
4028
  headerText: "_headerText_17s4f_17",
@@ -4033,98 +4033,98 @@ var va = {
4033
4033
  };
4034
4034
  //#endregion
4035
4035
  //#region src/components/PreferencesGroup/PreferencesGroup.tsx
4036
- function ya({ title: e, description: r, headerSuffix: i, children: a, className: o, ...s }) {
4036
+ function Sa({ title: e, description: r, headerSuffix: i, children: a, className: o, ...s }) {
4037
4037
  let c = e || r || i;
4038
4038
  return /* @__PURE__ */ n("div", {
4039
- className: [va.group, o].filter(Boolean).join(" "),
4039
+ className: [xa.group, o].filter(Boolean).join(" "),
4040
4040
  ...s,
4041
4041
  children: [c && /* @__PURE__ */ n("div", {
4042
- className: va.header,
4042
+ className: xa.header,
4043
4043
  children: [/* @__PURE__ */ n("div", {
4044
- className: va.headerText,
4044
+ className: xa.headerText,
4045
4045
  children: [e && /* @__PURE__ */ t("span", {
4046
- className: va.title,
4046
+ className: xa.title,
4047
4047
  children: e
4048
4048
  }), r && /* @__PURE__ */ t("span", {
4049
- className: va.description,
4049
+ className: xa.description,
4050
4050
  children: r
4051
4051
  })]
4052
4052
  }), i && /* @__PURE__ */ t("div", {
4053
- className: va.suffix,
4053
+ className: xa.suffix,
4054
4054
  children: i
4055
4055
  })]
4056
4056
  }), /* @__PURE__ */ t("div", {
4057
- className: va.content,
4057
+ className: xa.content,
4058
4058
  children: a
4059
4059
  })]
4060
4060
  });
4061
4061
  }
4062
- var ba = {
4062
+ var Ca = {
4063
4063
  page: "_page_gt42j_3",
4064
4064
  inner: "_inner_gt42j_10"
4065
4065
  };
4066
4066
  //#endregion
4067
4067
  //#region src/components/PreferencesPage/PreferencesPage.tsx
4068
- function xa({ title: e, iconName: n, children: r, className: i, ...a }) {
4068
+ function wa({ title: e, iconName: n, children: r, className: i, ...a }) {
4069
4069
  return /* @__PURE__ */ t("div", {
4070
- className: [ba.page, i].filter(Boolean).join(" "),
4070
+ className: [Ca.page, i].filter(Boolean).join(" "),
4071
4071
  role: "tabpanel",
4072
4072
  ...a,
4073
4073
  children: /* @__PURE__ */ t("div", {
4074
- className: ba.inner,
4074
+ className: Ca.inner,
4075
4075
  children: r
4076
4076
  })
4077
4077
  });
4078
4078
  }
4079
4079
  //#endregion
4080
4080
  //#region src/components/PreferencesDialog/PreferencesDialog.module.css
4081
- var Sa = "_backdrop_1u1bd_3", Ca = "_dialog_1u1bd_26", wa = "_dialogMulti_1u1bd_46", Ta = "_header_1u1bd_63", Ea = "_closeBtn_1u1bd_73", Da = "_title_1u1bd_102", Oa = "_searchWrap_1u1bd_112", ka = "_searchInput_1u1bd_116", Aa = "_body_1u1bd_143", ja = "_sidebar_1u1bd_152", Ma = "_navList_1u1bd_160", Na = "_navItem_1u1bd_169", Pa = "_navItemActive_1u1bd_190", Fa = "_navIcon_1u1bd_205", Ia = "_navLabel_1u1bd_211", La = "_pageWrap_1u1bd_221", Q = {
4082
- backdrop: Sa,
4081
+ var Ta = "_backdrop_1u1bd_3", Ea = "_dialog_1u1bd_26", Da = "_dialogMulti_1u1bd_46", Oa = "_header_1u1bd_63", ka = "_closeBtn_1u1bd_73", Aa = "_title_1u1bd_102", ja = "_searchWrap_1u1bd_112", Ma = "_searchInput_1u1bd_116", Na = "_body_1u1bd_143", Pa = "_sidebar_1u1bd_152", Fa = "_navList_1u1bd_160", Ia = "_navItem_1u1bd_169", La = "_navItemActive_1u1bd_190", Ra = "_navIcon_1u1bd_205", za = "_navLabel_1u1bd_211", Ba = "_pageWrap_1u1bd_221", X = {
4082
+ backdrop: Ta,
4083
4083
  "backdrop-in": "_backdrop-in_1u1bd_1",
4084
- dialog: Ca,
4084
+ dialog: Ea,
4085
4085
  "dialog-in": "_dialog-in_1u1bd_1",
4086
- dialogMulti: wa,
4087
- header: Ta,
4088
- closeBtn: Ea,
4089
- title: Da,
4090
- searchWrap: Oa,
4091
- searchInput: ka,
4092
- body: Aa,
4093
- sidebar: ja,
4094
- navList: Ma,
4095
- navItem: Na,
4096
- navItemActive: Pa,
4097
- navIcon: Fa,
4098
- navLabel: Ia,
4099
- pageWrap: La
4100
- }, Ra = "button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
4101
- function za(e, t) {
4086
+ dialogMulti: Da,
4087
+ header: Oa,
4088
+ closeBtn: ka,
4089
+ title: Aa,
4090
+ searchWrap: ja,
4091
+ searchInput: Ma,
4092
+ body: Na,
4093
+ sidebar: Pa,
4094
+ navList: Fa,
4095
+ navItem: Ia,
4096
+ navItemActive: La,
4097
+ navIcon: Ra,
4098
+ navLabel: za,
4099
+ pageWrap: Ba
4100
+ }, Va = "button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
4101
+ function Ha(e, t) {
4102
4102
  if (e.key !== "Tab") return;
4103
- let n = Array.from(t.current?.querySelectorAll(Ra) ?? []);
4103
+ let n = Array.from(t.current?.querySelectorAll(Va) ?? []);
4104
4104
  if (!n.length) return;
4105
4105
  let r = n[0], i = n[n.length - 1];
4106
4106
  e.shiftKey ? document.activeElement === r && (e.preventDefault(), i.focus()) : document.activeElement === i && (e.preventDefault(), r.focus());
4107
4107
  }
4108
- function Ba({ open: e, onClose: a, children: c, searchable: m = !0, className: h, ...g }) {
4109
- let _ = d(null), v = d(null), y = u(), b = r.toArray(c).filter((e) => o(e)), [x, S] = f(0), [C, w] = f("");
4108
+ function Ua({ open: e, onClose: a, children: c, searchable: d = !0, className: h, ...g }) {
4109
+ let _ = f(null), v = f(null), y = u(), b = r.toArray(c).filter((e) => o(e)), [x, S] = p(0), [C, w] = p("");
4110
4110
  l(() => {
4111
4111
  if (e) {
4112
4112
  S(0), w("");
4113
4113
  let e = requestAnimationFrame(() => {
4114
- m && v.current ? v.current.focus() : (_.current?.querySelector(Ra))?.focus();
4114
+ d && v.current ? v.current.focus() : (_.current?.querySelector(Va))?.focus();
4115
4115
  });
4116
4116
  return () => cancelAnimationFrame(e);
4117
4117
  }
4118
- }, [e, m]);
4118
+ }, [e, d]);
4119
4119
  let T = s((e) => {
4120
4120
  if (e.key === "Escape") {
4121
4121
  e.stopPropagation(), a();
4122
4122
  return;
4123
4123
  }
4124
- za(e, _);
4124
+ Ha(e, _);
4125
4125
  }, [a]), E = b.length > 1, D = b[x] ?? b[0], O = C.trim().toLowerCase();
4126
- return e ? p(/* @__PURE__ */ t("div", {
4127
- className: Q.backdrop,
4126
+ return e ? m(/* @__PURE__ */ t("div", {
4127
+ className: X.backdrop,
4128
4128
  onClick: (e) => {
4129
4129
  e.target === e.currentTarget && a();
4130
4130
  },
@@ -4135,79 +4135,79 @@ function Ba({ open: e, onClose: a, children: c, searchable: m = !0, className: h
4135
4135
  "aria-modal": "true",
4136
4136
  "aria-labelledby": y,
4137
4137
  className: [
4138
- Q.dialog,
4139
- E ? Q.dialogMulti : null,
4138
+ X.dialog,
4139
+ E ? X.dialogMulti : null,
4140
4140
  h
4141
4141
  ].filter(Boolean).join(" "),
4142
4142
  onKeyDown: T,
4143
4143
  ...g,
4144
4144
  children: [/* @__PURE__ */ n("div", {
4145
- className: Q.header,
4145
+ className: X.header,
4146
4146
  children: [
4147
4147
  /* @__PURE__ */ t("button", {
4148
4148
  type: "button",
4149
- className: Q.closeBtn,
4149
+ className: X.closeBtn,
4150
4150
  onClick: a,
4151
4151
  "aria-label": "Close preferences",
4152
4152
  children: "✕"
4153
4153
  }),
4154
4154
  /* @__PURE__ */ t("span", {
4155
4155
  id: y,
4156
- className: Q.title,
4156
+ className: X.title,
4157
4157
  children: "Preferences"
4158
4158
  }),
4159
- m && /* @__PURE__ */ t("div", {
4160
- className: Q.searchWrap,
4159
+ d && /* @__PURE__ */ t("div", {
4160
+ className: X.searchWrap,
4161
4161
  children: /* @__PURE__ */ t("input", {
4162
4162
  ref: v,
4163
4163
  type: "search",
4164
4164
  placeholder: "Search…",
4165
4165
  value: C,
4166
4166
  onChange: (e) => w(e.target.value),
4167
- className: Q.searchInput,
4167
+ className: X.searchInput,
4168
4168
  "aria-label": "Search preferences"
4169
4169
  })
4170
4170
  })
4171
4171
  ]
4172
4172
  }), /* @__PURE__ */ n("div", {
4173
- className: Q.body,
4173
+ className: X.body,
4174
4174
  children: [E && /* @__PURE__ */ t("nav", {
4175
- className: Q.sidebar,
4175
+ className: X.sidebar,
4176
4176
  "aria-label": "Preferences pages",
4177
4177
  children: /* @__PURE__ */ t("ul", {
4178
4178
  role: "tablist",
4179
- className: Q.navList,
4179
+ className: X.navList,
4180
4180
  children: b.map((e, r) => /* @__PURE__ */ t("li", {
4181
4181
  role: "presentation",
4182
4182
  children: /* @__PURE__ */ n("button", {
4183
4183
  role: "tab",
4184
4184
  type: "button",
4185
4185
  "aria-selected": r === x,
4186
- className: [Q.navItem, r === x ? Q.navItemActive : null].filter(Boolean).join(" "),
4186
+ className: [X.navItem, r === x ? X.navItemActive : null].filter(Boolean).join(" "),
4187
4187
  onClick: () => S(r),
4188
4188
  children: [e.props.iconName && /* @__PURE__ */ t("span", {
4189
4189
  className: [
4190
- Q.navIcon,
4190
+ X.navIcon,
4191
4191
  "icon",
4192
4192
  e.props.iconName
4193
4193
  ].join(" "),
4194
4194
  "aria-hidden": "true"
4195
4195
  }), /* @__PURE__ */ t("span", {
4196
- className: Q.navLabel,
4196
+ className: X.navLabel,
4197
4197
  children: e.props.title
4198
4198
  })]
4199
4199
  })
4200
4200
  }, r))
4201
4201
  })
4202
4202
  }), /* @__PURE__ */ t("div", {
4203
- className: Q.pageWrap,
4203
+ className: X.pageWrap,
4204
4204
  children: D && i(D, { "data-search-query": O || void 0 })
4205
4205
  })]
4206
4206
  })]
4207
4207
  })
4208
4208
  }), document.body) : null;
4209
4209
  }
4210
- var $ = {
4210
+ var Z = {
4211
4211
  vertical: "_vertical_12mfk_12",
4212
4212
  item: "_item_12mfk_18",
4213
4213
  leading: "_leading_12mfk_25",
@@ -4224,63 +4224,63 @@ var $ = {
4224
4224
  };
4225
4225
  //#endregion
4226
4226
  //#region src/components/Timeline/Timeline.tsx
4227
- function Va({ items: e, orientation: r = "vertical", variant: i = "default", className: a, ...o }) {
4227
+ function Wa({ items: e, orientation: r = "vertical", variant: i = "default", className: a, ...o }) {
4228
4228
  let s = r === "horizontal", c = i !== "none";
4229
4229
  return /* @__PURE__ */ t("div", {
4230
4230
  role: "list",
4231
4231
  className: [
4232
- $.root,
4233
- s ? $.horizontal : $.vertical,
4232
+ Z.root,
4233
+ s ? Z.horizontal : Z.vertical,
4234
4234
  a
4235
4235
  ].filter(Boolean).join(" "),
4236
4236
  ...o,
4237
4237
  children: e.map((r, a) => {
4238
- let o = a === 0, l = a === e.length - 1, u = [$.line, i === "dotted" ? $.lineDotted : null].filter(Boolean).join(" "), d = /* @__PURE__ */ t("div", {
4239
- className: [$.node, r.icon ? $.nodeWithIcon : $.nodeDot].filter(Boolean).join(" "),
4238
+ let o = a === 0, l = a === e.length - 1, u = [Z.line, i === "dotted" ? Z.lineDotted : null].filter(Boolean).join(" "), d = /* @__PURE__ */ t("div", {
4239
+ className: [Z.node, r.icon ? Z.nodeWithIcon : Z.nodeDot].filter(Boolean).join(" "),
4240
4240
  children: r.icon && /* @__PURE__ */ t("span", {
4241
- className: $.iconWrap,
4241
+ className: Z.iconWrap,
4242
4242
  "aria-hidden": "true",
4243
4243
  children: r.icon
4244
4244
  })
4245
4245
  });
4246
4246
  return /* @__PURE__ */ n("div", {
4247
4247
  role: "listitem",
4248
- className: $.item,
4248
+ className: Z.item,
4249
4249
  children: [
4250
4250
  /* @__PURE__ */ t("div", {
4251
- className: $.leading,
4251
+ className: Z.leading,
4252
4252
  children: r.leading
4253
4253
  }),
4254
4254
  s ? /* @__PURE__ */ n("div", {
4255
- className: $.nodeTrack,
4255
+ className: Z.nodeTrack,
4256
4256
  children: [
4257
4257
  /* @__PURE__ */ t("div", {
4258
4258
  className: [
4259
- $.line,
4260
- i === "dotted" ? $.lineDotted : null,
4261
- o || !c ? $.lineInvisible : null
4259
+ Z.line,
4260
+ i === "dotted" ? Z.lineDotted : null,
4261
+ o || !c ? Z.lineInvisible : null
4262
4262
  ].filter(Boolean).join(" "),
4263
4263
  "aria-hidden": "true"
4264
4264
  }),
4265
4265
  d,
4266
4266
  /* @__PURE__ */ t("div", {
4267
4267
  className: [
4268
- $.line,
4269
- i === "dotted" ? $.lineDotted : null,
4270
- l || !c ? $.lineInvisible : null
4268
+ Z.line,
4269
+ i === "dotted" ? Z.lineDotted : null,
4270
+ l || !c ? Z.lineInvisible : null
4271
4271
  ].filter(Boolean).join(" "),
4272
4272
  "aria-hidden": "true"
4273
4273
  })
4274
4274
  ]
4275
4275
  }) : /* @__PURE__ */ n("div", {
4276
- className: $.nodeTrack,
4276
+ className: Z.nodeTrack,
4277
4277
  children: [d, !l && c && /* @__PURE__ */ t("div", {
4278
4278
  className: u,
4279
4279
  "aria-hidden": "true"
4280
4280
  })]
4281
4281
  }),
4282
4282
  /* @__PURE__ */ t("div", {
4283
- className: $.content,
4283
+ className: Z.content,
4284
4284
  children: r.content
4285
4285
  })
4286
4286
  ]
@@ -4288,7 +4288,7 @@ function Va({ items: e, orientation: r = "vertical", variant: i = "default", cla
4288
4288
  })
4289
4289
  });
4290
4290
  }
4291
- var Ha = {
4291
+ var Ga = {
4292
4292
  pathBar: "_pathBar_1n4ev_3",
4293
4293
  list: "_list_1n4ev_12",
4294
4294
  item: "_item_1n4ev_25",
@@ -4299,20 +4299,20 @@ var Ha = {
4299
4299
  };
4300
4300
  //#endregion
4301
4301
  //#region src/components/PathBar/PathBar.tsx
4302
- function Ua({ segments: e, onNavigate: r, className: i, ...a }) {
4302
+ function Ka({ segments: e, onNavigate: r, className: i, ...a }) {
4303
4303
  return /* @__PURE__ */ t("nav", {
4304
4304
  "aria-label": "Breadcrumb",
4305
- className: [Ha.pathBar, i].filter(Boolean).join(" "),
4305
+ className: [Ga.pathBar, i].filter(Boolean).join(" "),
4306
4306
  ...a,
4307
4307
  children: /* @__PURE__ */ t("ol", {
4308
- className: Ha.list,
4308
+ className: Ga.list,
4309
4309
  "aria-label": "Path segments",
4310
4310
  children: e.map((i, a) => {
4311
4311
  let o = a === e.length - 1;
4312
4312
  return /* @__PURE__ */ n("li", {
4313
- className: Ha.item,
4313
+ className: Ga.item,
4314
4314
  children: [a > 0 && /* @__PURE__ */ t("span", {
4315
- className: Ha.separator,
4315
+ className: Ga.separator,
4316
4316
  "aria-hidden": "true",
4317
4317
  children: /* @__PURE__ */ t("svg", {
4318
4318
  width: "12",
@@ -4329,19 +4329,19 @@ function Ua({ segments: e, onNavigate: r, className: i, ...a }) {
4329
4329
  })
4330
4330
  })
4331
4331
  }), o ? /* @__PURE__ */ n("span", {
4332
- className: Ha.current,
4332
+ className: Ga.current,
4333
4333
  "aria-current": "page",
4334
4334
  children: [i.icon && /* @__PURE__ */ t("span", {
4335
- className: Ha.icon,
4335
+ className: Ga.icon,
4336
4336
  "aria-hidden": "true",
4337
4337
  children: i.icon
4338
4338
  }), i.label]
4339
4339
  }) : /* @__PURE__ */ n("button", {
4340
4340
  type: "button",
4341
- className: Ha.segment,
4341
+ className: Ga.segment,
4342
4342
  onClick: () => r?.(i.path, a),
4343
4343
  children: [i.icon && /* @__PURE__ */ t("span", {
4344
- className: Ha.icon,
4344
+ className: Ga.icon,
4345
4345
  "aria-hidden": "true",
4346
4346
  children: i.icon
4347
4347
  }), i.label]
@@ -4351,7 +4351,424 @@ function Ua({ segments: e, onNavigate: r, className: i, ...a }) {
4351
4351
  })
4352
4352
  });
4353
4353
  }
4354
+ var Q = {
4355
+ wrapper: "_wrapper_1upmq_1",
4356
+ svg: "_svg_1upmq_10",
4357
+ label: "_label_1upmq_15",
4358
+ cell: "_cell_1upmq_23",
4359
+ tooltip: "_tooltip_1upmq_58",
4360
+ legend: "_legend_1upmq_74",
4361
+ legendLabel: "_legendLabel_1upmq_81",
4362
+ legendCell: "_legendCell_1upmq_89"
4363
+ }, qa = [
4364
+ "Jan",
4365
+ "Feb",
4366
+ "Mar",
4367
+ "Apr",
4368
+ "May",
4369
+ "Jun",
4370
+ "Jul",
4371
+ "Aug",
4372
+ "Sep",
4373
+ "Oct",
4374
+ "Nov",
4375
+ "Dec"
4376
+ ], Ja = [
4377
+ "Sun",
4378
+ "Mon",
4379
+ "Tue",
4380
+ "Wed",
4381
+ "Thu",
4382
+ "Fri",
4383
+ "Sat"
4384
+ ], Ya = 28, Xa = 20, Za = [
4385
+ "var(--gnome-card-shade-color, rgba(0,0,0,0.07))",
4386
+ "var(--gnome-green-1, #8ff0a4)",
4387
+ "var(--gnome-green-2, #57e389)",
4388
+ "var(--gnome-green-4, #2ec27e)",
4389
+ "var(--gnome-green-5, #26a269)"
4390
+ ];
4391
+ function Qa(e) {
4392
+ return `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}`;
4393
+ }
4394
+ function $a(e) {
4395
+ let [t, n, r] = e.split("-").map(Number);
4396
+ return new Date(t, n - 1, r);
4397
+ }
4398
+ function eo(e) {
4399
+ return $a(e).toLocaleDateString("en-US", {
4400
+ weekday: "long",
4401
+ year: "numeric",
4402
+ month: "long",
4403
+ day: "numeric"
4404
+ });
4405
+ }
4406
+ function to({ data: e, maxLevel: r = 4, colorScale: i, cellSize: a = 12, cellGap: o = 3, weekStartDay: s = 1, showMonthLabels: c = !0, showDayLabels: l = !0, showLegend: u = !0, weeks: m = 52, ariaLabel: h = "Contribution graph", onDayClick: g, tooltipContent: _, className: v }) {
4407
+ let y = a + o, b = f(null), x = f(null), S = i ?? Za, [C, w] = p({
4408
+ col: 0,
4409
+ row: 0
4410
+ }), [T, E] = p(null), D = d(() => {
4411
+ let t = /* @__PURE__ */ new Map();
4412
+ for (let n of e) t.set(n.date, n.count);
4413
+ return t;
4414
+ }, [e]), O = d(() => Math.max(1, ...e.map((e) => e.count)), [e]), { grid: k, monthLabels: A } = d(() => {
4415
+ let e = /* @__PURE__ */ new Date();
4416
+ e.setHours(0, 0, 0, 0);
4417
+ let t = (e.getDay() - s + 7) % 7, n = new Date(e);
4418
+ n.setDate(e.getDate() - t);
4419
+ let i = new Date(n);
4420
+ i.setDate(n.getDate() - (m - 1) * 7);
4421
+ let a = [], o = [], c = -1;
4422
+ for (let t = 0; t < m; t++) {
4423
+ let n = new Date(i);
4424
+ n.setDate(i.getDate() + t * 7), n.getMonth() !== c && (o.push({
4425
+ col: t,
4426
+ month: qa[n.getMonth()]
4427
+ }), c = n.getMonth());
4428
+ let s = [];
4429
+ for (let n = 0; n < 7; n++) {
4430
+ let a = new Date(i);
4431
+ a.setDate(i.getDate() + t * 7 + n);
4432
+ let o = a > e, c = Qa(a), l = o ? 0 : D.get(c) ?? 0, u = l === 0 ? 0 : Math.min(r, Math.ceil(l / O * r));
4433
+ s.push({
4434
+ iso: c,
4435
+ count: l,
4436
+ level: u,
4437
+ future: o
4438
+ });
4439
+ }
4440
+ a.push(s);
4441
+ }
4442
+ return {
4443
+ grid: a,
4444
+ monthLabels: o
4445
+ };
4446
+ }, [
4447
+ D,
4448
+ O,
4449
+ r,
4450
+ m,
4451
+ s
4452
+ ]), j = d(() => [
4453
+ 1,
4454
+ 3,
4455
+ 5
4456
+ ].map((e) => ({
4457
+ row: (e - s + 7) % 7,
4458
+ label: Ja[e]
4459
+ })), [s]), M = l ? Ya : 0, N = c ? Xa : 0, P = M + m * y - o, F = N + 7 * y - o, ee = Math.min(4, Math.floor(a / 3));
4460
+ function te(e, t) {
4461
+ let n = Math.max(0, Math.min(m - 1, e)), r = Math.max(0, Math.min(6, t));
4462
+ w({
4463
+ col: n,
4464
+ row: r
4465
+ }), b.current?.querySelector(`[data-col="${n}"][data-row="${r}"]`)?.focus();
4466
+ }
4467
+ function ne(e, t, n) {
4468
+ let r = {
4469
+ ArrowRight: [t + 1, n],
4470
+ ArrowLeft: [t - 1, n],
4471
+ ArrowDown: [t, n + 1],
4472
+ ArrowUp: [t, n - 1]
4473
+ };
4474
+ if (r[e.key]) e.preventDefault(), te(...r[e.key]);
4475
+ else if (e.key === "Enter" || e.key === " ") {
4476
+ e.preventDefault();
4477
+ let r = k[t]?.[n];
4478
+ r && !r.future && g?.({
4479
+ date: r.iso,
4480
+ count: r.count
4481
+ });
4482
+ }
4483
+ }
4484
+ function re(e, t) {
4485
+ let n = x.current;
4486
+ if (!n) return;
4487
+ let r = n.getBoundingClientRect(), i = e.currentTarget.getBoundingClientRect();
4488
+ E({
4489
+ x: i.left - r.left + a / 2,
4490
+ y: i.top - r.top,
4491
+ text: t
4492
+ });
4493
+ }
4494
+ function ie(e) {
4495
+ return e.future ? S[0] : S[Math.min(e.level, S.length - 1)] ?? S[S.length - 1];
4496
+ }
4497
+ function ae(e) {
4498
+ return e.future ? eo(e.iso) : _?.({
4499
+ date: e.iso,
4500
+ count: e.count
4501
+ }) ?? `${e.count} contribution${e.count === 1 ? "" : "s"} on ${eo(e.iso)}`;
4502
+ }
4503
+ return /* @__PURE__ */ n("div", {
4504
+ ref: x,
4505
+ className: [Q.wrapper, v].filter(Boolean).join(" "),
4506
+ children: [
4507
+ /* @__PURE__ */ n("svg", {
4508
+ ref: b,
4509
+ width: P,
4510
+ height: F,
4511
+ className: Q.svg,
4512
+ "aria-label": h,
4513
+ role: "img",
4514
+ children: [
4515
+ c && A.map(({ col: e, month: n }) => /* @__PURE__ */ t("text", {
4516
+ x: M + e * y,
4517
+ y: 12,
4518
+ className: Q.label,
4519
+ children: n
4520
+ }, `m-${e}`)),
4521
+ l && j.map(({ row: e, label: n }) => /* @__PURE__ */ t("text", {
4522
+ x: 0,
4523
+ y: N + e * y + a - 1,
4524
+ className: Q.label,
4525
+ children: n
4526
+ }, `d-${e}`)),
4527
+ /* @__PURE__ */ t("g", {
4528
+ role: "grid",
4529
+ "aria-label": h,
4530
+ children: k.map((e, n) => /* @__PURE__ */ t("g", {
4531
+ role: "row",
4532
+ children: e.map((e, r) => {
4533
+ let i = ae(e), o = C.col === n && C.row === r;
4534
+ return /* @__PURE__ */ t("rect", {
4535
+ "data-col": n,
4536
+ "data-row": r,
4537
+ x: M + n * y,
4538
+ y: N + r * y,
4539
+ width: a,
4540
+ height: a,
4541
+ rx: ee,
4542
+ fill: ie(e),
4543
+ opacity: e.future ? .35 : 1,
4544
+ className: Q.cell,
4545
+ role: "gridcell",
4546
+ "aria-label": i,
4547
+ "aria-disabled": e.future || void 0,
4548
+ tabIndex: o ? 0 : -1,
4549
+ onClick: () => !e.future && g?.({
4550
+ date: e.iso,
4551
+ count: e.count
4552
+ }),
4553
+ onKeyDown: (e) => ne(e, n, r),
4554
+ onFocus: () => w({
4555
+ col: n,
4556
+ row: r
4557
+ }),
4558
+ onMouseEnter: (e) => re(e, i),
4559
+ onMouseLeave: () => E(null)
4560
+ }, `${n}-${r}`);
4561
+ })
4562
+ }, n))
4563
+ })
4564
+ ]
4565
+ }),
4566
+ T && /* @__PURE__ */ t("div", {
4567
+ className: Q.tooltip,
4568
+ style: {
4569
+ left: T.x,
4570
+ top: T.y
4571
+ },
4572
+ role: "tooltip",
4573
+ children: T.text
4574
+ }),
4575
+ u && /* @__PURE__ */ n("div", {
4576
+ className: Q.legend,
4577
+ children: [
4578
+ /* @__PURE__ */ t("span", {
4579
+ className: Q.legendLabel,
4580
+ children: "Less"
4581
+ }),
4582
+ Array.from({ length: r + 1 }, (e, n) => /* @__PURE__ */ t("svg", {
4583
+ width: a,
4584
+ height: a,
4585
+ "aria-hidden": "true",
4586
+ className: Q.legendCell,
4587
+ children: /* @__PURE__ */ t("rect", {
4588
+ width: a,
4589
+ height: a,
4590
+ rx: ee,
4591
+ fill: S[Math.min(n, S.length - 1)]
4592
+ })
4593
+ }, n)),
4594
+ /* @__PURE__ */ t("span", {
4595
+ className: Q.legendLabel,
4596
+ children: "More"
4597
+ })
4598
+ ]
4599
+ })
4600
+ ]
4601
+ });
4602
+ }
4603
+ var $ = {
4604
+ outer: "_outer_1pg3h_3",
4605
+ scroll: "_scroll_1pg3h_13",
4606
+ table: "_table_1pg3h_20",
4607
+ thead: "_thead_1pg3h_28",
4608
+ th: "_th_1pg3h_28",
4609
+ headerLabel: "_headerLabel_1pg3h_48",
4610
+ sortBtn: "_sortBtn_1pg3h_55",
4611
+ sortBtnActive: "_sortBtnActive_1pg3h_84",
4612
+ sortActive: "_sortActive_1pg3h_89",
4613
+ sortNeutral: "_sortNeutral_1pg3h_93",
4614
+ tbody: "_tbody_1pg3h_99",
4615
+ row: "_row_1pg3h_105",
4616
+ rowSelectable: "_rowSelectable_1pg3h_114",
4617
+ rowSelected: "_rowSelected_1pg3h_126",
4618
+ td: "_td_1pg3h_144",
4619
+ alignStart: "_alignStart_1pg3h_156",
4620
+ alignCenter: "_alignCenter_1pg3h_160",
4621
+ alignEnd: "_alignEnd_1pg3h_164",
4622
+ checkboxCol: "_checkboxCol_1pg3h_170",
4623
+ checkbox: "_checkbox_1pg3h_170",
4624
+ emptyCell: "_emptyCell_1pg3h_186",
4625
+ emptyLabel: "_emptyLabel_1pg3h_191"
4626
+ }, no = {
4627
+ start: $.alignStart,
4628
+ center: $.alignCenter,
4629
+ end: $.alignEnd
4630
+ };
4631
+ function ro({ direction: r }) {
4632
+ return /* @__PURE__ */ t("svg", {
4633
+ width: "10",
4634
+ height: "10",
4635
+ viewBox: "0 0 10 10",
4636
+ "aria-hidden": "true",
4637
+ className: r ? $.sortActive : $.sortNeutral,
4638
+ children: r === "asc" ? /* @__PURE__ */ t("path", {
4639
+ d: "M5 2 L9 8 L1 8 Z",
4640
+ fill: "currentColor"
4641
+ }) : r === "desc" ? /* @__PURE__ */ t("path", {
4642
+ d: "M5 8 L1 2 L9 2 Z",
4643
+ fill: "currentColor"
4644
+ }) : /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("path", {
4645
+ d: "M5 1 L8 5 L2 5 Z",
4646
+ fill: "currentColor",
4647
+ opacity: "0.4"
4648
+ }), /* @__PURE__ */ t("path", {
4649
+ d: "M5 9 L2 5 L8 5 Z",
4650
+ fill: "currentColor",
4651
+ opacity: "0.4"
4652
+ })] })
4653
+ });
4654
+ }
4655
+ function io({ columns: e, rows: r, rowKey: i, selectionMode: a = "none", selectedRows: o = [], onSelectionChange: s, sortState: c, onSort: l, height: u, emptyState: d, className: m, ariaLabel: h }) {
4656
+ let g = f(null), [_, v] = p(0), y = new Set(o), b = a === "multiple", x = e.length + (b ? 1 : 0);
4657
+ function S(e) {
4658
+ l && l(e, c?.columnId === e && c.direction === "asc" ? "desc" : "asc");
4659
+ }
4660
+ function C(e) {
4661
+ if (!(a === "none" || !s)) if (a === "single") s(y.has(e) ? [] : [e]);
4662
+ else {
4663
+ let t = new Set(y);
4664
+ t.has(e) ? t.delete(e) : t.add(e), s([...t]);
4665
+ }
4666
+ }
4667
+ function w(e, t, n) {
4668
+ let i = g.current?.querySelectorAll("tr") ?? [];
4669
+ if (e.key === "ArrowDown") {
4670
+ e.preventDefault();
4671
+ let n = Math.min(r.length - 1, t + 1);
4672
+ v(n), i[n]?.focus();
4673
+ } else if (e.key === "ArrowUp") {
4674
+ e.preventDefault();
4675
+ let n = Math.max(0, t - 1);
4676
+ v(n), i[n]?.focus();
4677
+ } else (e.key === " " || e.key === "Enter") && (e.preventDefault(), C(n));
4678
+ }
4679
+ function T(e) {
4680
+ s && s(e ? r.map(i) : []);
4681
+ }
4682
+ let E = u ? { height: typeof u == "number" ? `${u}px` : u } : {};
4683
+ return /* @__PURE__ */ t("div", {
4684
+ className: [$.outer, m].filter(Boolean).join(" "),
4685
+ children: /* @__PURE__ */ t("div", {
4686
+ className: $.scroll,
4687
+ style: E,
4688
+ children: /* @__PURE__ */ n("table", {
4689
+ className: $.table,
4690
+ role: "grid",
4691
+ "aria-label": h,
4692
+ "aria-multiselectable": a === "multiple" || void 0,
4693
+ children: [/* @__PURE__ */ t("thead", {
4694
+ className: $.thead,
4695
+ children: /* @__PURE__ */ n("tr", { children: [b && /* @__PURE__ */ t("th", {
4696
+ className: [$.th, $.checkboxCol].join(" "),
4697
+ children: /* @__PURE__ */ t("input", {
4698
+ type: "checkbox",
4699
+ className: $.checkbox,
4700
+ checked: r.length > 0 && o.length === r.length,
4701
+ ref: (e) => {
4702
+ e && (e.indeterminate = o.length > 0 && o.length < r.length);
4703
+ },
4704
+ onChange: (e) => T(e.target.checked),
4705
+ "aria-label": "Select all rows"
4706
+ })
4707
+ }), e.map((e) => {
4708
+ let r = c?.columnId === e.id;
4709
+ return /* @__PURE__ */ t("th", {
4710
+ className: [$.th, e.align ? no[e.align] : null].filter(Boolean).join(" "),
4711
+ style: e.width ? { width: e.width } : void 0,
4712
+ "aria-sort": r ? c.direction === "asc" ? "ascending" : "descending" : e.sortable ? "none" : void 0,
4713
+ children: e.sortable && l ? /* @__PURE__ */ n("button", {
4714
+ type: "button",
4715
+ className: [$.sortBtn, r ? $.sortBtnActive : null].filter(Boolean).join(" "),
4716
+ onClick: () => S(e.id),
4717
+ children: [/* @__PURE__ */ t("span", { children: e.header }), /* @__PURE__ */ t(ro, { direction: r ? c.direction : null })]
4718
+ }) : /* @__PURE__ */ t("span", {
4719
+ className: $.headerLabel,
4720
+ children: e.header
4721
+ })
4722
+ }, e.id);
4723
+ })] })
4724
+ }), /* @__PURE__ */ t("tbody", {
4725
+ ref: g,
4726
+ className: $.tbody,
4727
+ children: r.length === 0 ? /* @__PURE__ */ t("tr", { children: /* @__PURE__ */ t("td", {
4728
+ colSpan: x,
4729
+ className: $.emptyCell,
4730
+ children: d ?? /* @__PURE__ */ t("span", {
4731
+ className: $.emptyLabel,
4732
+ children: "No items"
4733
+ })
4734
+ }) }) : r.map((r, o) => {
4735
+ let s = i(r), c = y.has(s);
4736
+ return /* @__PURE__ */ n("tr", {
4737
+ className: [
4738
+ $.row,
4739
+ c ? $.rowSelected : null,
4740
+ a === "none" ? null : $.rowSelectable
4741
+ ].filter(Boolean).join(" "),
4742
+ role: "row",
4743
+ "aria-selected": a === "none" ? void 0 : c,
4744
+ tabIndex: _ === o ? 0 : -1,
4745
+ onClick: () => C(s),
4746
+ onKeyDown: (e) => w(e, o, s),
4747
+ onFocus: () => v(o),
4748
+ children: [b && /* @__PURE__ */ t("td", {
4749
+ className: [$.td, $.checkboxCol].join(" "),
4750
+ children: /* @__PURE__ */ t("input", {
4751
+ type: "checkbox",
4752
+ className: $.checkbox,
4753
+ checked: c,
4754
+ onChange: () => C(s),
4755
+ onClick: (e) => e.stopPropagation(),
4756
+ tabIndex: -1,
4757
+ "aria-label": `Select row ${o + 1}`
4758
+ })
4759
+ }), e.map((e) => /* @__PURE__ */ t("td", {
4760
+ className: [$.td, e.align ? no[e.align] : null].filter(Boolean).join(" "),
4761
+ role: "gridcell",
4762
+ children: e.cell(r, o)
4763
+ }, e.id))]
4764
+ }, s);
4765
+ })
4766
+ })]
4767
+ })
4768
+ })
4769
+ });
4770
+ }
4354
4771
  //#endregion
4355
- export { Dt as ActionRow, re as Avatar, Me as Badge, Ee as Banner, ca as Bin, h as Blockquote, ia as BottomSheet, dr as Box, kt as BoxedList, Hr as BreakpointBin, _ as Button, ua as ButtonContent, Wr as ButtonRow, j as Card, sa as Carousel, aa as CarouselIndicatorDots, oa as CarouselIndicatorLines, ci as CheckRow, le as Checkbox, hr as Chip, $n as Clamp, ji as ComboRow, Sn as Dialog, Vn as Dropdown, Mi as EntryRow, ei as ExpanderRow, Ae as Footer, $r as Frame, Ue as GNOME_BREAKPOINTS, Oe as HeaderBar, F as Icon, ii as InlineViewSwitcher, ai as InlineViewSwitcherItem, ar as Link, Zr as LinkedGroup, Ji as NavigationPage, er as NavigationSplitView, Yi as NavigationView, tr as OverlaySplitView, Pi as PasswordEntryRow, Ua as PathBar, Zn as Popover, Ba as PreferencesDialog, ya as PreferencesGroup, xa as PreferencesPage, he as ProgressBar, pe as RadioButton, Be as SearchBar, ae as Separator, pa as ShortcutLabel, Ir as ShortcutsDialog, pt as Sidebar, lt as SidebarCollapsedContext, yt as SidebarItem, mt as SidebarSection, Kn as Slider, Yr as Spacer, Ct as SpinButton, Li as SpinRow, N as Spinner, Kr as SplitButton, He as StatusPage, se as Switch, si as SwitchRow, wt as TabBar, Tt as TabItem, Et as TabPanel, D as Text, de as TextField, Va as Timeline, Ht as Toast, Ut as Toaster, lr as ToggleGroup, ur as ToggleGroupItem, Jr as Toolbar, ha as ToolbarView, vt as Tooltip, jt as ViewSwitcher, rr as ViewSwitcherBar, Mt as ViewSwitcherItem, Br as ViewSwitcherSidebar, Vr as ViewSwitcherSidebarItem, _a as WindowTitle, pr as WrapBox, We as useBreakpoint, qi as useNavigation, ut as useSidebarCollapsed };
4772
+ export { Ot as ActionRow, re as Avatar, Me as Badge, Ee as Banner, da as Bin, g as Blockquote, oa as BottomSheet, fr as Box, At as BoxedList, Ur as BreakpointBin, v as Button, pa as ButtonContent, Gr as ButtonRow, M as Card, ua as Carousel, ca as CarouselIndicatorDots, la as CarouselIndicatorLines, li as CheckRow, le as Checkbox, gr as Chip, er as Clamp, io as ColumnView, Mi as ComboRow, to as ContributionGraph, Cn as Dialog, Hn as Dropdown, Ni as EntryRow, ti as ExpanderRow, Ae as Footer, ei as Frame, We as GNOME_BREAKPOINTS, Oe as HeaderBar, I as Icon, ai as InlineViewSwitcher, oi as InlineViewSwitcherItem, or as Link, Qr as LinkedGroup, Xi as NavigationPage, tr as NavigationSplitView, Zi as NavigationView, nr as OverlaySplitView, Fi as PasswordEntryRow, Ka as PathBar, Qn as Popover, Ua as PreferencesDialog, Sa as PreferencesGroup, wa as PreferencesPage, he as ProgressBar, pe as RadioButton, Ve as SearchBar, ae as Separator, ga as ShortcutLabel, Lr as ShortcutsDialog, mt as Sidebar, ut as SidebarCollapsedContext, bt as SidebarItem, ht as SidebarSection, qn as Slider, Xr as Spacer, wt as SpinButton, zi as SpinRow, P as Spinner, qr as SplitButton, Ue as StatusPage, se as Switch, ci as SwitchRow, Tt as TabBar, Et as TabItem, Dt as TabPanel, O as Text, de as TextField, Wa as Timeline, Ut as Toast, Wt as Toaster, ur as ToggleGroup, dr as ToggleGroupItem, Yr as Toolbar, va as ToolbarView, yt as Tooltip, Mt as ViewSwitcher, ir as ViewSwitcherBar, Nt as ViewSwitcherItem, Vr as ViewSwitcherSidebar, Hr as ViewSwitcherSidebarItem, ba as WindowTitle, mr as WrapBox, Ge as useBreakpoint, Yi as useNavigation, dt as useSidebarCollapsed };
4356
4773
 
4357
4774
  //# sourceMappingURL=index.js.map