@iamfiro/design 0.3.0 → 0.3.2

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.
Files changed (156) hide show
  1. package/agents/avatar/AGENTS.md +29 -1
  2. package/agents/tooltip/AGENTS.md +1 -1
  3. package/lib/components/Accordion/Accordion2.js +76 -76
  4. package/lib/components/ActionBar/ActionBar2.js +43 -43
  5. package/lib/components/Alert/Alert2.js +46 -46
  6. package/lib/components/AppShell/AppShell2.js +58 -58
  7. package/lib/components/AreaChart/AreaChart.js +39 -40
  8. package/lib/components/BarChart/BarChart2.js +169 -169
  9. package/lib/components/BarList/BarList2.js +99 -99
  10. package/lib/components/Breadcrumb/Breadcrumb2.js +65 -66
  11. package/lib/components/Calendar/Calendar2.js +172 -171
  12. package/lib/components/Calendar/DatePicker2.js +101 -102
  13. package/lib/components/Calendar/date.js +71 -71
  14. package/lib/components/Card/Card2.js +55 -56
  15. package/lib/components/CardFrame/CardFrame2.js +52 -52
  16. package/lib/components/Chart/ChartParts.js +90 -90
  17. package/lib/components/Chart/chart2.js +52 -52
  18. package/lib/components/Chart/useChartInteraction.js +44 -44
  19. package/lib/components/ChatBubble/ChatBubble2.js +112 -112
  20. package/lib/components/ChatBubble/formatChatTime.js +44 -42
  21. package/lib/components/ChatComposer/ChatComposer2.js +94 -94
  22. package/lib/components/CodeBlock/CodeBlock2.js +66 -66
  23. package/lib/components/CodeBlock/highlight.js +67 -70
  24. package/lib/components/ColorPicker/ColorPicker2.js +404 -405
  25. package/lib/components/ColorPicker/color.js +81 -81
  26. package/lib/components/ColorPicker/presets.js +44 -43
  27. package/lib/components/Combobox/Combobox2.js +128 -128
  28. package/lib/components/CommandMenu/CommandMenu.js +137 -137
  29. package/lib/components/Comment/Comment2.js +55 -80
  30. package/lib/components/ContextMenu/ContextMenu2.js +93 -94
  31. package/lib/components/DataGrid/DataGrid2.js +1181 -1180
  32. package/lib/components/DataGrid/GridPopover.js +112 -112
  33. package/lib/components/DataGrid/anchor.js +23 -25
  34. package/lib/components/DataGrid/model.js +274 -275
  35. package/lib/components/DataGrid/panels.js +423 -423
  36. package/lib/components/DataGrid/typeMeta.js +21 -22
  37. package/lib/components/DataGrid/types.js +38 -37
  38. package/lib/components/DescriptionList/DescriptionList2.js +107 -107
  39. package/lib/components/Dialog/AlertDialog.js +53 -53
  40. package/lib/components/Dialog/Dialog2.js +71 -70
  41. package/lib/components/Dialog/modal.js +59 -58
  42. package/lib/components/Drawer/Drawer2.js +123 -124
  43. package/lib/components/DropdownMenu/DropdownMenu2.js +198 -200
  44. package/lib/components/DropdownMenu/menuCore.js +46 -47
  45. package/lib/components/Dropzone/Dropzone2.js +77 -77
  46. package/lib/components/EmptyState/EmptyState2.js +57 -56
  47. package/lib/components/FileChip/FileChip2.js +71 -71
  48. package/lib/components/FileUpload/FileUpload.js +119 -119
  49. package/lib/components/FilterChips/FilterChips2.js +61 -61
  50. package/lib/components/FunnelChart/FunnelChart2.js +141 -141
  51. package/lib/components/FunnelChart/funnel.js +51 -51
  52. package/lib/components/Highlight/Highlight2.js +54 -54
  53. package/lib/components/HoverCard/HoverCard.js +108 -83
  54. package/lib/components/InlineDiff/InlineDiff2.js +126 -126
  55. package/lib/components/InlineDiff/diff.js +82 -82
  56. package/lib/components/InlineDiff/useDiffReview.js +62 -60
  57. package/lib/components/Kanban/Kanban2.js +382 -382
  58. package/lib/components/Kanban/KanbanCard.js +92 -92
  59. package/lib/components/Kanban/move.js +45 -49
  60. package/lib/components/LineChart/LineChart2.js +207 -207
  61. package/lib/components/List/List2.js +71 -71
  62. package/lib/components/Listbox/Listbox2.js +115 -115
  63. package/lib/components/Marker/Marker2.js +67 -60
  64. package/lib/components/Menubar/Menubar2.js +130 -133
  65. package/lib/components/MultiSelect/MultiSelect2.js +104 -104
  66. package/lib/components/NavigationMenu/NavigationMenu2.js +261 -262
  67. package/lib/components/NoticeStack/NoticeStack2.js +105 -105
  68. package/lib/components/NumberStepper/NumberStepper2.js +67 -67
  69. package/lib/components/OtpInput/OtpInput2.js +66 -67
  70. package/lib/components/Pagination/Pagination2.js +90 -90
  71. package/lib/components/Pagination/paginationRange.js +24 -24
  72. package/lib/components/PhoneInput/PhoneInput.js +74 -74
  73. package/lib/components/PieChart/PieChart2.js +119 -119
  74. package/lib/components/PieChart/arc.js +63 -42
  75. package/lib/components/PieChart/useArcTween.js +56 -54
  76. package/lib/components/Popover/Popover2.js +61 -61
  77. package/lib/components/ProgressTracker/ProgressTracker2.js +127 -127
  78. package/lib/components/Rating/Rating2.js +81 -81
  79. package/lib/components/Resizable/Resizable2.js +112 -110
  80. package/lib/components/Resizable/layout.js +50 -50
  81. package/lib/components/ScaledPreview/ScaledPreview2.js +49 -50
  82. package/lib/components/ScatterChart/ScatterChart2.js +226 -227
  83. package/lib/components/ScatterChart/scatter.js +59 -57
  84. package/lib/components/ScrollArea/ScrollArea2.js +112 -112
  85. package/lib/components/Select/Select2.js +79 -79
  86. package/lib/components/Sidebar/Sidebar2.js +79 -79
  87. package/lib/components/Skeleton/Skeleton2.js +68 -68
  88. package/lib/components/Slider/Slider2.js +78 -77
  89. package/lib/components/SocialLoginButton/SocialLoginButton.js +65 -66
  90. package/lib/components/SparkChart/SparkChart2.js +146 -145
  91. package/lib/components/SparkChart/spark.js +41 -67
  92. package/lib/components/Sparkbar/Sparkbar2.js +61 -60
  93. package/lib/components/SplitView/SplitView2.js +53 -53
  94. package/lib/components/Stat/Stat2.js +94 -94
  95. package/lib/components/StepList/StepList2.js +70 -70
  96. package/lib/components/Table/Table2.js +63 -63
  97. package/lib/components/Tabs/Tabs2.js +70 -70
  98. package/lib/components/TagInput/TagInput2.js +236 -239
  99. package/lib/components/TimePicker/TimePicker2.js +231 -232
  100. package/lib/components/TimePicker/time.js +63 -65
  101. package/lib/components/Timeline/Timeline2.js +167 -167
  102. package/lib/components/Timeline/scale.js +55 -55
  103. package/lib/components/Toast/Toaster.js +151 -152
  104. package/lib/components/Toast/store.js +90 -87
  105. package/lib/components/ToggleGroup/ToggleGroup2.js +91 -91
  106. package/lib/components/Toolbar/Toolbar2.js +145 -145
  107. package/lib/components/Tracker/Tracker2.js +76 -76
  108. package/lib/components/TreeDiagram/TreeDiagram2.js +112 -111
  109. package/lib/components/TreeView/TreeView2.js +124 -124
  110. package/lib/hooks/timing.js +30 -29
  111. package/lib/hooks/useControllableState.js +37 -36
  112. package/lib/hooks/useCountdown.js +56 -59
  113. package/lib/hooks/useDigitInput.js +52 -78
  114. package/lib/hooks/useDismiss.js +58 -57
  115. package/lib/hooks/useElapsed.js +54 -54
  116. package/lib/hooks/useFloating.js +26 -26
  117. package/lib/hooks/useFocusTrap.js +42 -42
  118. package/lib/hooks/usePresence.js +49 -48
  119. package/lib/hooks/usePressToOpen.js +42 -41
  120. package/lib/hooks/useScrollLock.js +45 -44
  121. package/lib/hooks/useSelection.js +45 -39
  122. package/lib/index.js +71 -71
  123. package/lib/primitives/AspectRatio2.js +60 -60
  124. package/lib/primitives/BrandIcon.js +161 -161
  125. package/lib/primitives/ColorDot2.js +42 -45
  126. package/lib/primitives/CopyButton2.js +57 -56
  127. package/lib/primitives/CountBadge2.js +55 -51
  128. package/lib/primitives/Countdown2.js +41 -46
  129. package/lib/primitives/Delta2.js +36 -36
  130. package/lib/primitives/Elapsed.js +49 -49
  131. package/lib/primitives/FileIcon2.js +96 -96
  132. package/lib/primitives/Flag2.js +135 -135
  133. package/lib/primitives/IconStack2.js +38 -60
  134. package/lib/primitives/IconTile2.js +28 -29
  135. package/lib/primitives/Kbd2.js +50 -50
  136. package/lib/primitives/Layout2.js +71 -71
  137. package/lib/primitives/Link2.js +32 -31
  138. package/lib/primitives/MaskedText2.js +49 -74
  139. package/lib/primitives/Progress2.js +65 -66
  140. package/lib/primitives/RelativeTime.js +58 -57
  141. package/lib/primitives/SearchInput2.js +65 -65
  142. package/lib/primitives/SelectorButton2.js +74 -73
  143. package/lib/primitives/Spinner2.js +50 -50
  144. package/lib/primitives/StatusIcon2.js +68 -68
  145. package/lib/primitives/Swatch2.js +59 -55
  146. package/lib/primitives/Tooltip2.js +81 -81
  147. package/lib/primitives/Typography2.js +53 -53
  148. package/lib/primitives/formatCountdown.js +21 -22
  149. package/lib/primitives/formatElapsed.js +43 -42
  150. package/lib/primitives/formatRelativeTime.js +50 -50
  151. package/lib/primitives/hotkey.js +82 -82
  152. package/lib/primitives/index.js +193 -174
  153. package/lib/primitives/maskValue.js +28 -28
  154. package/lib/style.css +1 -1
  155. package/lib/types/primitives/index.d.ts +6 -2
  156. package/package.json +1 -1
@@ -1,153 +1,153 @@
1
1
  "use client";
2
- const e = n;
3
- function t() {
4
- let e = /* @__PURE__ */ "zhmTz3jPzc1Tzw51x19Zzxa.ndG0mJrxDNvkq2S.zgLZywjSzwq.B3bLBG.Aw5WDxqSihrLEhrHCMvHlcbZzwXLy3q.odu3mJyZyLL5Du5Z.zhmTB3b0Aw9Ux19JAgvJAW.C3rHCNq.rw5K.zhmTz3jPzc1Tzw51x19JAgv2CM9U.zhmTB3b0Aw9UigrZlwDYAwqTBwvUDv9FAxrLBq.ChjLC2vUDgf0Aw9U.CxvLCNLtzwXLy3rVCG.zhmTB3b0Aw9Ux19Py29U.A2v5zg93BG.B25tzwXLy3q.w2rHDgeTywn0AxzLxq.zM9JDxm.oxbPvfrJyq.y29UDgfPBNm.y2HLy2TLza.mtu0zeTpuLf0.zgLHBg9N.zhmTz3jPzc1WB3a.DgfYz2v0.zhmTBgLZDgjVEf9Fz3jVDxa.y3vYCMvUDa.BMf0AxzLrxzLBNq.mZy4nJK0q01mru1T.AgvHzgLUzW.ChjLDMvUDerLzMf1Bhq.C2vWyxjHDg9Y.A2v5.ndq1ntiXmezvy3zVvG.BwfW.sg9Tzq.mZK3mdi3neXqre10yW.qxjYB3DeB3DU.BgvUz3rO.otzYvM5rCuO.CxvLCNLtzwXLy3rVCKfSBa.mvLAB3nKuW.ywn0AxzLrwXLBwvUDa.lMrZlwDYAwqTCg9W.zhmTz3jPzc1Tzw51x19OAw50.zhmTC2nYB2XS.AxndB21WB3nPBMC.mta1nZa0zNvRwMLh.y2XVC2vZDa.AwnVBG.zMLSDgvY.mtnrChfir2i.C3bHBG.oxvhB1vTwq.BwvUDwL0zw1JAgvJA2jVEa.zhmTB3b0Aw9Ux190zxH0.zhmTz3jPzc1Tzw51.BgfIzwW.AgLUDa.CMvTB3zLrxzLBNrmAxn0zw5LCG.yM9KEq.C2vWlq.zgL2.qxjYB3DvCa.C2vSzwn0.mtyYC3HpDufO.mteWnJy1DxPVDerk".split(".");
5
- return t = function() {
2
+ const e = f;
3
+ (function(e, t) {
4
+ let n = f, r = e();
5
+ for (;;) try {
6
+ if (-parseInt(n(278)) / 1 * (parseInt(n(226)) / 2) + -parseInt(n(263)) / 3 * (-parseInt(n(281)) / 4) + -parseInt(n(250)) / 5 + -parseInt(n(254)) / 6 * (-parseInt(n(239)) / 7) + parseInt(n(277)) / 8 * (-parseInt(n(232)) / 9) + -parseInt(n(217)) / 10 + parseInt(n(238)) / 11 * (parseInt(n(272)) / 12) == t) break;
7
+ r.push(r.shift());
8
+ } catch {
9
+ r.push(r.shift());
10
+ }
11
+ })(l, 385897);
12
+ import { cx as t } from "../../primitives/index.js";
13
+ import { useFloating as n } from "../../hooks/useFloating.js";
14
+ import { useDismiss as r } from "../../hooks/useDismiss.js";
15
+ import { useEffect as i, useRef as a, useState as o } from "react";
16
+ import { Check as s, ChevronRight as c } from "lucide-react";
17
+ function l() {
18
+ let e = /* @__PURE__ */ "AwnVBG.ChjLDMvUDerLzMf1Bhq.CMvTB3zLrxzLBNrmAxn0zw5LCG.AgLUDa.B25tzwXLy3q.mZiYnJm3n0zjCxnMzW.ntuZuLvlzhnb.zhmTz3jPzc1WB3a.CxvLCNLtzwXLy3rVCKfSBa.zhmTB3b0Aw9Ux19JAgvJAW.DMLZAwjPBgL0Eq.A2v5.Aw5WDxqSihrLEhrHCMvH.zgLZywjSzwq.BwfW.qxjYB3DeB3DU.zhmTB3b0Aw9Ux19Py29U.mZCYmtuWvuDmr29p.CxvLCNLtzwXLy3rVCG.C3rHCNq.ChjLC2vUDgf0Aw9U.ntqYndzuAeHLBgW.zhmTC2nYB2XS.CgfUzwW.zgLHBg9N.C3rVCfbYB3bHz2f0Aw9U.zgfUz2vY.DgfYz2v0.BMvHCMvZDa.BwvUDwL0zw0.mteXvKjsBgXY.C3bHBG.zgL2.C2vWyxjHDg9Y.AxndB21WB3nPBMC.Aw5WDxqSihrLEhrHCMvHlcbZzwXLy3q.yM9KEq.y2HLy2TLza.C2nYB2XSsw50B1zPzxC.mZzKAu5yr1q.sg9Tzq.ywrKrxzLBNrmAxn0zw5LCG.rw50zxi.lMrZlwDYAwqTCg9W.mJy0A3nTyLjl.ntq4mZqXBMzor0vz.AgvHzgLUzW.zhmTz3jPzc1Tzw51x19JAgv2CM9U.mtu4nJbpz3fYBva.zhmTz3jPzc1Tzw51x19OAw50.C2vSzwn0.rxnJyxbL.zhmTB3b0Aw9Ux19SywjLBa.B2jQzwn0.BgvUz3rO.zM9JDxm.y2XVC2vK.nde3ota1mg1TAKjMuG.zhmTB3b0Aw9Ux190zxH0.ywn0AxzLrwXLBwvUDa.BwvUDwL0zw1JAgvJA2jVEa.y2XVC2vZDa.AgLKzgvU.B3bLBG.Aw5WDxq.zhmTz3jPzc1Tzw51x19Zzxa.mM1fBxbIsW.C3vIBwvUDq.C2vWlq.y3vYCMvUDa.A2v5zg93BG.BwvUDq.odu3mtzTver1qM0".split(".");
19
+ return l = function() {
6
20
  return e;
7
- }, t();
21
+ }, l();
8
22
  }
9
- function n(e, r) {
10
- e -= 312;
11
- let i = t(), a = i[e];
12
- n.mTtNFb === void 0 && (n.haFPYO = function(e) {
23
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
24
+ function f(e, t) {
25
+ e -= 214;
26
+ let n = l(), r = n[e];
27
+ f.UHFfyf === void 0 && (f.XjtdXn = function(e) {
13
28
  let t = "", n = "";
14
29
  for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
15
30
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
16
31
  return decodeURIComponent(n);
17
- }, n.CZfIBL = {}, n.mTtNFb = !0);
18
- let o = i[0];
19
- n.EjytaH !== o && (n.CZfIBL = {}, n.EjytaH = o);
20
- let s = n.CZfIBL[e];
21
- return s === void 0 ? (a = n.haFPYO(a), n.CZfIBL[e] = a) : a = s, a;
32
+ }, f.mObGxX = {}, f.UHFfyf = !0);
33
+ let i = n[0];
34
+ f.xRElqO !== i && (f.mObGxX = {}, f.xRElqO = i);
35
+ let a = f.mObGxX[e];
36
+ return a === void 0 ? (r = f.XjtdXn(r), f.mObGxX[e] = r) : r = a, r;
22
37
  }
23
- (function(e, t) {
24
- let r = n, i = e();
25
- for (;;) try {
26
- if (-parseInt(r(354)) / 1 * (parseInt(r(341)) / 2) + -parseInt(r(331)) / 3 * (-parseInt(r(314)) / 4) + parseInt(r(312)) / 5 * (-parseInt(r(378)) / 6) + -parseInt(r(334)) / 7 * (-parseInt(r(360)) / 8) + -parseInt(r(366)) / 9 * (-parseInt(r(346)) / 10) + -parseInt(r(318)) / 11 * (-parseInt(r(352)) / 12) + -parseInt(r(364)) / 13 * (parseInt(r(349)) / 14) == t) break;
27
- i.push(i.shift());
28
- } catch {
29
- i.push(i.shift());
30
- }
31
- })(t, 330460);
32
- import { cx as r } from "../../primitives/index.js";
33
- import { useFloating as i } from "../../hooks/useFloating.js";
34
- import { useDismiss as a } from "../../hooks/useDismiss.js";
35
- import { useEffect as o, useRef as s, useState as c } from "react";
36
- import { Check as l, ChevronRight as u } from "lucide-react";
37
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
38
38
  import { createPortal as p } from "react-dom";
39
- function m({ anchor: t, closing: c, onClose: l, align: u = e(320), width: f, maxHeight: m = 420, initialFocus: h, className: g, keepFocus: _, label: v, children: y }) {
40
- let b = e, x = s(null), { style: S, side: C } = i(t, !0, {
39
+ function m({ anchor: o, closing: s, onClose: c, align: l = e(252), width: d, maxHeight: f = 420, initialFocus: m, className: h, keepFocus: g, label: _, children: v }) {
40
+ let y = e, b = a(null), { style: x, side: S } = n(o, !0, {
41
41
  matchWidth: !1,
42
- align: u,
43
- panelRef: x,
44
- maxHeight: m
42
+ align: l,
43
+ panelRef: b,
44
+ maxHeight: f
45
45
  });
46
- a(!c, [x, t], l);
47
- let w = S.visibility !== "hidden";
48
- return o(() => {
49
- let e = n, t = x[e(339)];
50
- if (!w || c || !h || !t || t[e(332)](document[e(355)])) return;
51
- let r = t[e(353)]("input:not([type=checkbox]):not([readonly])"), i = h === "panel" ? t : h === "input" ? r[0] : r[r.length - 1];
52
- i?.[e(330)]({ preventScroll: !0 }), i instanceof HTMLInputElement && i[e(377)]();
46
+ r(!s, [b, o], c);
47
+ let C = x[y(243)] !== y(222);
48
+ return i(() => {
49
+ let e = y, t = b[e(229)];
50
+ if (!C || s || !m || !t || t.contains(document[e(219)])) return;
51
+ let n = t[e(241)]("input:not([type=checkbox]):not([readonly])"), r = m === e(256) ? t : m === e(224) ? n[0] : n[n.length - 1];
52
+ r?.[e(215)]({ preventScroll: !0 }), r instanceof HTMLInputElement && r[e(283)]();
53
53
  }, [
54
- w,
55
- c,
56
- h
57
- ]), p(d(b(375), {
58
- ref: x,
59
- role: b(335),
60
- "aria-label": v,
54
+ C,
55
+ s,
56
+ m
57
+ ]), p(u(y(265), {
58
+ ref: b,
59
+ role: y(257),
60
+ "aria-label": _,
61
61
  tabIndex: -1,
62
- className: r("ds-popover", b(358), b(336), g),
63
- "data-side": C,
64
- "data-state": c ? "closed" : b(316),
62
+ className: t("ds-popover", y(255), y(240), h),
63
+ "data-side": S,
64
+ "data-state": y(s ? 216 : 223),
65
65
  style: {
66
- ...S,
67
- width: f
66
+ ...x,
67
+ width: d
68
68
  },
69
- onPointerDown: _ ? (e) => e[b(337)][b(361)](b(317)) || e[b(343)]() : void 0,
69
+ onPointerDown: g ? (e) => e[y(260)].closest(y(268)) || e[y(234)]() : void 0,
70
70
  onKeyDown: (e) => {
71
- let t = b;
72
- e[t(345)] === "Escape" && !e[t(340)][t(359)] && (e.stopPropagation(), l());
71
+ let t = y;
72
+ e[t(244)] === t(284) && !e.nativeEvent[t(267)] && (e[t(258)](), c());
73
73
  },
74
- children: y
75
- }), document[b(373)]);
74
+ children: v
75
+ }), document[y(269)]);
76
76
  }
77
- function h({ items: t, className: n }) {
78
- let i = e, a = t[i(363)]((e) => typeof e == "object" && i(345) in e), [p, m] = c(-1), h = s(null), g = (e) => {
79
- let t = i, n = a[t(351)], r = p;
80
- for (let i = 0; i < n && (r = ((r + e) % n + n) % n, a[r][t(315)]); i++);
77
+ function h({ items: n, className: r }) {
78
+ let l = e, f = n.filter((e) => typeof e === l(286) && l(244) in e), [p, m] = o(-1), h = a(null), g = (e) => {
79
+ let t = l, n = f.length, r = p;
80
+ for (let i = 0; i < n && (r = ((r + e) % n + n) % n, f[r][t(246)]); i++);
81
81
  m(r);
82
82
  }, _ = (e) => {
83
- let t = i;
84
- if (!e.target[t(361)]("input, textarea")) {
85
- if (e[t(345)] === t(350)) g(1);
86
- else if (e.key === t(376)) g(-1);
87
- else if (e.key === t(348)) m(0);
88
- else if (e[t(345)] === t(321)) m(a[t(351)] - 1);
89
- else if ((e[t(345)] === "Enter" || e[t(345)] === " ") && a[p] && !a[p].disabled) a[p][t(328)]();
83
+ let t = l;
84
+ if (!e[t(260)].closest(t(245))) {
85
+ if (e[t(244)] === t(248)) g(1);
86
+ else if (e[t(244)] === "ArrowUp") g(-1);
87
+ else if (e.key === t(273)) m(0);
88
+ else if (e.key === "End") m(f[t(214)] - 1);
89
+ else if ((e.key === t(275) || e[t(244)] === " ") && f[p] && !f[p][t(246)]) f[p][t(237)]();
90
90
  else return;
91
- e[t(343)]();
91
+ e[t(234)]();
92
92
  }
93
93
  };
94
- o(() => {
95
- let e = i, t = h[e(339)]?.[e(361)](e(356));
94
+ i(() => {
95
+ let e = l, t = h[e(229)]?.[e(221)](e(276));
96
96
  if (!t) return;
97
97
  let n = (e) => _(e);
98
- return t.addEventListener(e(327), n), () => t[e(372)]("keydown", n);
99
- }), o(() => {
100
- let e = i;
101
- h.current?.[e(325)](e(329))?.scrollIntoView({ block: "nearest" });
98
+ return t[e(274)](e(230), n), () => t[e(235)](e(230), n);
99
+ }), i(() => {
100
+ let e = l;
101
+ h[e(229)]?.[e(251)]("[data-active]")?.[e(271)]({ block: e(261) });
102
102
  }, [p]);
103
103
  let v = -1;
104
- return d(i(375), {
104
+ return u(l(265), {
105
105
  ref: h,
106
- role: "menu",
107
- className: r(i(369), n),
108
- children: t[i(347)]((e, t) => {
109
- let n = i;
110
- if (e === n(344)) return d(n(375), {
111
- role: n(344),
112
- className: n(313)
113
- }, n(374) + t);
114
- if (n(342) in e) return d(n(375), {
115
- className: n(338),
116
- role: n(324),
117
- children: e[n(342)]
118
- }, "h-" + e[n(342)]);
106
+ role: l(231),
107
+ className: t("ds-grid-menu", r),
108
+ children: n[l(247)]((e, t) => {
109
+ let n = l;
110
+ if (e === n(266)) return u(n(265), {
111
+ role: n(266),
112
+ className: n(225)
113
+ }, n(228) + t);
114
+ if (n(279) in e) return u(n(265), {
115
+ className: "ds-listbox__group",
116
+ role: n(253),
117
+ children: e[n(279)]
118
+ }, "h-" + e[n(279)]);
119
119
  v++;
120
120
  let r = v;
121
- return f("div", {
122
- role: e[n(333)] == null ? "menuitem" : n(367),
123
- "aria-checked": e[n(333)],
124
- "aria-disabled": e[n(315)] || void 0,
121
+ return d(n(265), {
122
+ role: e[n(270)] == null ? n(262) : n(220),
123
+ "aria-checked": e.checked,
124
+ "aria-disabled": e[n(246)] || void 0,
125
125
  "data-active": r === p || void 0,
126
- "data-danger": e.danger || void 0,
127
- className: n(323),
128
- onPointerMove: () => !e[n(315)] && r !== p && m(r),
126
+ "data-danger": e[n(259)] || void 0,
127
+ className: "ds-option ds-grid-menu__item",
128
+ onPointerMove: () => !e[n(246)] && r !== p && m(r),
129
129
  onPointerLeave: () => m(-1),
130
- onClick: () => !e.disabled && e[n(328)](),
130
+ onClick: () => !e[n(246)] && e.onSelect(),
131
131
  children: [
132
- e.icon && d("span", {
133
- className: n(326),
134
- children: e[n(362)]
132
+ e.icon && u(n(264), {
133
+ className: n(249),
134
+ children: e[n(233)]
135
135
  }),
136
- d(n(365), {
137
- className: n(368),
138
- children: d(n(365), {
139
- className: "ds-option__label",
140
- children: e[n(370)]
136
+ u("span", {
137
+ className: n(218),
138
+ children: u(n(264), {
139
+ className: n(285),
140
+ children: e.label
141
141
  })
142
142
  }),
143
- e[n(371)] != null && d(n(365), {
144
- className: n(357),
145
- children: e[n(371)]
143
+ e.hint != null && u(n(264), {
144
+ className: n(282),
145
+ children: e[n(236)]
146
146
  }),
147
- e[n(333)] && d(l, { className: n(319) }),
148
- e.submenu && d(u, { className: n(322) })
147
+ e[n(270)] && u(s, { className: n(242) }),
148
+ e[n(227)] && u(c, { className: n(280) })
149
149
  ]
150
- }, e[n(345)]);
150
+ }, e[n(244)]);
151
151
  })
152
152
  });
153
153
  }
@@ -1,25 +1,25 @@
1
1
  "use client";
2
+ (function(t, n) {
3
+ for (var r = e, i = t();;) try {
4
+ if (parseInt(r(183)) / 1 + -parseInt(r(176)) / 2 + parseInt(r(180)) / 3 * (-parseInt(r(179)) / 4) + parseInt(r(178)) / 5 * (-parseInt(r(175)) / 6) + parseInt(r(177)) / 7 + parseInt(r(181)) / 8 + parseInt(r(182)) / 9 == n) break;
5
+ i.push(i.shift());
6
+ } catch {
7
+ i.push(i.shift());
8
+ }
9
+ })(r, 164200);
2
10
  function e(t, n) {
3
- t -= 267;
11
+ t -= 175;
4
12
  var i = r(), a = i[t];
5
- e.acrcBN === void 0 && (e.VmJxzx = function(e) {
13
+ e.cQJGMB === void 0 && (e.cLjvXu = function(e) {
6
14
  for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
7
15
  for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
8
16
  return decodeURIComponent(r);
9
- }, e.YGAZaH = {}, e.acrcBN = !0);
17
+ }, e.FxIWgD = {}, e.cQJGMB = !0);
10
18
  var o = i[0];
11
- e.MEjiJu !== o && (e.YGAZaH = {}, e.MEjiJu = o);
12
- var s = e.YGAZaH[t];
13
- return s === void 0 ? (a = e.VmJxzx(a), e.YGAZaH[t] = a) : a = s, a;
19
+ e.XZWFrf !== o && (e.FxIWgD = {}, e.XZWFrf = o);
20
+ var s = e.FxIWgD[t];
21
+ return s === void 0 ? (a = e.cLjvXu(a), e.FxIWgD[t] = a) : a = s, a;
14
22
  }
15
- (function(t, n) {
16
- for (var r = e, i = t();;) try {
17
- if (-parseInt(r(268)) / 1 * (-parseInt(r(275)) / 2) + parseInt(r(276)) / 3 * (parseInt(r(270)) / 4) + -parseInt(r(269)) / 5 + -parseInt(r(274)) / 6 + -parseInt(r(273)) / 7 * (-parseInt(r(267)) / 8) + parseInt(r(271)) / 9 + parseInt(r(272)) / 10 * (parseInt(r(277)) / 11) == n) break;
18
- i.push(i.shift());
19
- } catch {
20
- i.push(i.shift());
21
- }
22
- })(r, 503861);
23
23
  function t(e, t) {
24
24
  return { current: {
25
25
  getBoundingClientRect: () => new DOMRect(e, t, 0, 0),
@@ -31,17 +31,15 @@ function n(e) {
31
31
  }
32
32
  function r() {
33
33
  var e = [
34
- "ota1nJK5qu1jCKvq",
35
- "ndGZotGYnujwuuf5tG",
36
- "nJuYsLbLBfzf",
37
- "nJKZntaYmKHkz2Dhtq",
38
- "ody5ntblDKvRBwO",
39
- "nZq5D0zPu2DY",
40
- "mZKXndKYoff3zefJsa",
41
- "mKLMANzssG",
42
- "mJu1ou1Ms2Heza",
43
- "mJuZqxvXz1PX",
44
- "ode1mKX6Ahr2EG"
34
+ "mti0y3Hitfnw",
35
+ "nJmZme9QvLDlva",
36
+ "nZGWnJaWEuHXquvu",
37
+ "mJe4mte2oeXRtxbnyq",
38
+ "mtq4otm1vufMs0r4",
39
+ "mtyXmtzdt1v6D2K",
40
+ "ndq1mZCWwLbczurA",
41
+ "mtq5mJyXn0DHuLDsCa",
42
+ "ndy1vLfwz2rR"
45
43
  ];
46
44
  return r = function() {
47
45
  return e;