@iamfiro/design 0.3.2 → 0.3.4

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 (158) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/brand-icon/AGENTS.md +1 -1
  3. package/agents/social-login-button/AGENTS.md +4 -3
  4. package/lib/components/Accordion/Accordion2.js +87 -87
  5. package/lib/components/ActionBar/ActionBar2.js +42 -44
  6. package/lib/components/Alert/Alert2.js +61 -61
  7. package/lib/components/AppShell/AppShell2.js +70 -71
  8. package/lib/components/AreaChart/AreaChart.js +38 -40
  9. package/lib/components/BarChart/BarChart2.js +126 -126
  10. package/lib/components/BarList/BarList2.js +95 -95
  11. package/lib/components/Breadcrumb/Breadcrumb2.js +68 -66
  12. package/lib/components/Calendar/Calendar2.js +164 -164
  13. package/lib/components/Calendar/DatePicker2.js +103 -102
  14. package/lib/components/Calendar/date.js +64 -66
  15. package/lib/components/Card/Card2.js +67 -67
  16. package/lib/components/CardFrame/CardFrame2.js +43 -51
  17. package/lib/components/Chart/ChartParts.js +94 -94
  18. package/lib/components/Chart/chart2.js +52 -52
  19. package/lib/components/Chart/useChartInteraction.js +54 -54
  20. package/lib/components/ChatBubble/ChatBubble2.js +92 -92
  21. package/lib/components/ChatBubble/formatChatTime.js +35 -41
  22. package/lib/components/ChatComposer/ChatComposer2.js +63 -63
  23. package/lib/components/CodeBlock/CodeBlock2.js +61 -61
  24. package/lib/components/CodeBlock/highlight.js +84 -84
  25. package/lib/components/ColorPicker/ColorPicker2.js +387 -386
  26. package/lib/components/ColorPicker/color.js +71 -71
  27. package/lib/components/ColorPicker/presets.js +41 -46
  28. package/lib/components/Combobox/Combobox2.js +117 -118
  29. package/lib/components/CommandMenu/CommandMenu.js +127 -127
  30. package/lib/components/Comment/Comment2.js +86 -60
  31. package/lib/components/ContextMenu/ContextMenu2.js +77 -75
  32. package/lib/components/DataGrid/DataGrid2.js +1192 -1190
  33. package/lib/components/DataGrid/GridPopover.js +94 -94
  34. package/lib/components/DataGrid/anchor.js +34 -31
  35. package/lib/components/DataGrid/model.js +284 -283
  36. package/lib/components/DataGrid/panels.js +398 -399
  37. package/lib/components/DataGrid/typeMeta.js +51 -50
  38. package/lib/components/DataGrid/types.js +38 -39
  39. package/lib/components/DescriptionList/DescriptionList2.js +103 -103
  40. package/lib/components/Dialog/AlertDialog.js +79 -78
  41. package/lib/components/Dialog/Dialog2.js +59 -59
  42. package/lib/components/Dialog/modal.js +44 -46
  43. package/lib/components/Drawer/Drawer2.js +130 -129
  44. package/lib/components/DropdownMenu/DropdownMenu2.js +235 -233
  45. package/lib/components/DropdownMenu/menuCore.js +69 -42
  46. package/lib/components/Dropzone/Dropzone2.js +79 -78
  47. package/lib/components/EmptyState/EmptyState2.js +34 -35
  48. package/lib/components/FileChip/FileChip2.js +73 -73
  49. package/lib/components/FileUpload/FileUpload.js +159 -159
  50. package/lib/components/FilterChips/FilterChips2.js +61 -61
  51. package/lib/components/FunnelChart/FunnelChart2.js +161 -161
  52. package/lib/components/FunnelChart/funnel.js +48 -44
  53. package/lib/components/Highlight/Highlight2.js +43 -43
  54. package/lib/components/HoverCard/HoverCard.js +59 -84
  55. package/lib/components/InlineDiff/InlineDiff2.js +112 -112
  56. package/lib/components/InlineDiff/diff.js +90 -90
  57. package/lib/components/InlineDiff/useDiffReview.js +64 -63
  58. package/lib/components/Kanban/Kanban2.js +386 -387
  59. package/lib/components/Kanban/KanbanCard.js +70 -95
  60. package/lib/components/Kanban/move.js +50 -46
  61. package/lib/components/LineChart/LineChart2.js +211 -211
  62. package/lib/components/List/List2.js +53 -54
  63. package/lib/components/Listbox/Listbox2.js +115 -115
  64. package/lib/components/Marker/Marker2.js +56 -61
  65. package/lib/components/Menubar/Menubar2.js +144 -141
  66. package/lib/components/MultiSelect/MultiSelect2.js +108 -108
  67. package/lib/components/NavigationMenu/NavigationMenu2.js +298 -299
  68. package/lib/components/NoticeStack/NoticeStack2.js +84 -84
  69. package/lib/components/NumberStepper/NumberStepper2.js +65 -66
  70. package/lib/components/OtpInput/OtpInput2.js +70 -69
  71. package/lib/components/Pagination/Pagination2.js +106 -106
  72. package/lib/components/Pagination/paginationRange.js +37 -39
  73. package/lib/components/PhoneInput/PhoneInput.js +87 -88
  74. package/lib/components/PieChart/PieChart2.js +160 -160
  75. package/lib/components/PieChart/arc.js +65 -62
  76. package/lib/components/PieChart/useArcTween.js +53 -60
  77. package/lib/components/Popover/Popover2.js +62 -62
  78. package/lib/components/ProgressTracker/ProgressTracker2.js +121 -121
  79. package/lib/components/Rating/Rating2.js +82 -81
  80. package/lib/components/Resizable/Resizable2.js +126 -127
  81. package/lib/components/Resizable/layout.js +73 -73
  82. package/lib/components/ScaledPreview/ScaledPreview2.js +68 -67
  83. package/lib/components/ScatterChart/ScatterChart2.js +214 -213
  84. package/lib/components/ScatterChart/scatter.js +47 -49
  85. package/lib/components/ScrollArea/ScrollArea2.js +117 -118
  86. package/lib/components/Select/Select2.js +78 -79
  87. package/lib/components/Sidebar/Sidebar2.js +69 -69
  88. package/lib/components/Skeleton/Skeleton2.js +57 -57
  89. package/lib/components/Slider/Slider2.js +73 -74
  90. package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -68
  91. package/lib/components/SparkChart/SparkChart2.js +145 -145
  92. package/lib/components/SparkChart/spark.js +64 -42
  93. package/lib/components/Sparkbar/Sparkbar2.js +60 -60
  94. package/lib/components/SplitView/SplitView2.js +51 -52
  95. package/lib/components/Stat/Stat2.js +90 -90
  96. package/lib/components/StepList/StepList2.js +70 -70
  97. package/lib/components/Table/Table2.js +70 -70
  98. package/lib/components/Tabs/Tabs2.js +81 -81
  99. package/lib/components/TagInput/TagInput2.js +220 -217
  100. package/lib/components/TimePicker/TimePicker2.js +187 -186
  101. package/lib/components/TimePicker/time.js +63 -62
  102. package/lib/components/Timeline/Timeline2.js +199 -199
  103. package/lib/components/Timeline/scale.js +67 -64
  104. package/lib/components/Toast/Toaster.js +100 -98
  105. package/lib/components/Toast/store.js +90 -94
  106. package/lib/components/ToggleGroup/ToggleGroup2.js +76 -76
  107. package/lib/components/Toolbar/Toolbar2.js +163 -161
  108. package/lib/components/Tracker/Tracker2.js +82 -82
  109. package/lib/components/TreeDiagram/TreeDiagram2.js +123 -124
  110. package/lib/components/TreeView/TreeView2.js +154 -152
  111. package/lib/hooks/timing.js +31 -30
  112. package/lib/hooks/useControllableState.js +37 -38
  113. package/lib/hooks/useCountdown.js +53 -56
  114. package/lib/hooks/useDigitInput.js +66 -41
  115. package/lib/hooks/useDismiss.js +55 -58
  116. package/lib/hooks/useElapsed.js +57 -55
  117. package/lib/hooks/useFloating.js +44 -44
  118. package/lib/hooks/useFocusTrap.js +70 -46
  119. package/lib/hooks/usePresence.js +23 -22
  120. package/lib/hooks/usePressToOpen.js +51 -51
  121. package/lib/hooks/useScrollLock.js +57 -58
  122. package/lib/hooks/useSelection.js +49 -52
  123. package/lib/index.js +65 -65
  124. package/lib/primitives/AspectRatio2.js +57 -57
  125. package/lib/primitives/BrandIcon.js +189 -158
  126. package/lib/primitives/ColorDot2.js +50 -45
  127. package/lib/primitives/CopyButton2.js +52 -50
  128. package/lib/primitives/CountBadge2.js +53 -55
  129. package/lib/primitives/Countdown2.js +28 -25
  130. package/lib/primitives/Delta2.js +41 -41
  131. package/lib/primitives/Elapsed.js +47 -47
  132. package/lib/primitives/FileIcon2.js +86 -86
  133. package/lib/primitives/Flag2.js +122 -122
  134. package/lib/primitives/IconStack2.js +55 -31
  135. package/lib/primitives/IconTile2.js +43 -43
  136. package/lib/primitives/Kbd2.js +55 -55
  137. package/lib/primitives/Layout2.js +78 -78
  138. package/lib/primitives/Link2.js +39 -36
  139. package/lib/primitives/MaskedText2.js +74 -52
  140. package/lib/primitives/Progress2.js +67 -66
  141. package/lib/primitives/RelativeTime.js +54 -61
  142. package/lib/primitives/SearchInput2.js +45 -45
  143. package/lib/primitives/SelectorButton2.js +72 -76
  144. package/lib/primitives/Spinner2.js +56 -56
  145. package/lib/primitives/StatusIcon2.js +63 -63
  146. package/lib/primitives/Swatch2.js +55 -61
  147. package/lib/primitives/Tooltip2.js +78 -78
  148. package/lib/primitives/Typography2.js +53 -53
  149. package/lib/primitives/formatCountdown.js +30 -29
  150. package/lib/primitives/formatElapsed.js +46 -49
  151. package/lib/primitives/formatRelativeTime.js +76 -50
  152. package/lib/primitives/hotkey.js +80 -80
  153. package/lib/primitives/index.js +169 -168
  154. package/lib/primitives/maskValue.js +55 -50
  155. package/lib/style.css +1 -1
  156. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  157. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  158. package/package.json +1 -1
@@ -1,153 +1,153 @@
1
1
  "use client";
2
- const e = f;
2
+ const e = r;
3
3
  (function(e, t) {
4
- let n = f, r = e();
4
+ let n = r, i = e();
5
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());
6
+ if (parseInt(n(241)) / 1 * (parseInt(n(268)) / 2) + parseInt(n(252)) / 3 + parseInt(n(228)) / 4 + -parseInt(n(229)) / 5 * (-parseInt(n(267)) / 6) + parseInt(n(248)) / 7 + -parseInt(n(257)) / 8 * (-parseInt(n(226)) / 9) + -parseInt(n(217)) / 10 == t) break;
7
+ i.push(i.shift());
8
8
  } catch {
9
- r.push(r.shift());
9
+ i.push(i.shift());
10
10
  }
11
- })(l, 385897);
11
+ })(i, 206404);
12
12
  import { cx as t } from "../../primitives/index.js";
13
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() {
20
- return e;
21
- }, l();
22
- }
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) {
14
+ function r(e, t) {
15
+ e -= 202;
16
+ let n = i(), a = n[e];
17
+ r.IMoRpI === void 0 && (r.naqGRd = function(e) {
28
18
  let t = "", n = "";
29
19
  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);
30
20
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
31
21
  return decodeURIComponent(n);
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
+ }, r.JZYrQd = {}, r.IMoRpI = !0);
23
+ let o = n[0];
24
+ r.NgnDbw !== o && (r.JZYrQd = {}, r.NgnDbw = o);
25
+ let s = r.JZYrQd[e];
26
+ return s === void 0 ? (a = r.naqGRd(a), r.JZYrQd[e] = a) : a = s, a;
27
+ }
28
+ function i() {
29
+ let e = /* @__PURE__ */ "BMvHCMvZDa.Aw5WDxq6BM90kfT0ExbLpwnOzwnRyM94xsK6BM90kfTYzwfKB25SEv0P.CxvLCNLtzwXLy3rVCG.AgLUDa.BgvUz3rO.mZiWmJrtqvLjz2G.zhmTB3b0Aw9Ux19SywjLBa.AxndB21WB3nPBMC.AgLKzgvU.zhmTz3jPzc1Tzw51x19OAw50.lMrZlwDYAwqTCg9W.CgfUzwW.mtaZoda3mMLPBwD1DG.zgLHBg9N.C2vWyxjHDg9Y.w2rHDgeTywn0AxzLxq.ntK5odeXCK9QqMnt.sg9Tzq.C3rVCfbYB3bHz2f0Aw9U.B2jQzwn0.DgfYz2v0.mJrYrNDdwwO.zhmTCg9WB3zLCG.Aw5WDxqSihrLEhrHCMvH.C3vIBwvUDq.zgfUz2vY.AwnVBG.C2vWlq.B3bLBG.A2v5zg93BG.rw5K.nLbov0Xtra.mtbStMnjAhu.zhmTz3jPzc1WB3a.C3bHBG.zhmTz3jPzc1Tzw51x19JAgv2CM9U.y2XVC2vZDa.y29UDgfPBNm.BwfW.ChjLDMvUDerLzMf1Bhq.rxnJyxbL.C2vSzwn0.zhmTz3jPzc1Tzw51x19Zzxa.ywrKrxzLBNrmAxn0zw5LCG.zhmTBgLZDgjVEf9Fz3jVDxa.C3rHCNq.zhmTB3b0Aw9Ux19Py29U.BwvUDq.BgfIzwW.CMvTB3zLrxzLBNrmAxn0zw5LCG.BMf0AxzLrxzLBNq.odCZnZiXmgD5CfvUva.zhmTB3b0Aw9UigrZlwDYAwqTBwvUDv9FAxrLBq.CxvLCNLtzwXLy3rVCKfSBa.ywn0AxzLrwXLBwvUDa.rw50zxi.AgvHzgLUzW.zgLZywjSzwq.C2nYB2XSsw50B1zPzxC.zhmTB3b0Aw9Ux19JAgvJAW.nda4mZq4r0HqtMLS.y2HLy2TLza.mtq3ntCXnKD6vKzdBG.mZmZnJm1q3jty29e.zMLSDgvY.zgL2.DMLZAwjPBgL0Eq.A2v5.B25tzwXLy3q.zM9JDxm".split(".");
30
+ return i = function() {
31
+ return e;
32
+ }, i();
37
33
  }
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: 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, {
39
+ function m({ anchor: r, closing: i, onClose: c, align: l = e(211), width: u, maxHeight: f = 420, initialFocus: m, className: h, keepFocus: g, label: _, children: v }) {
40
+ let y = e, b = s(null), { style: x, side: S } = n(r, !0, {
41
41
  matchWidth: !1,
42
42
  align: l,
43
43
  panelRef: b,
44
44
  maxHeight: f
45
45
  });
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)]();
46
+ a(!i, [b, r], c);
47
+ let C = x[y(232)] !== y(244);
48
+ return o(() => {
49
+ let e = y, t = b.current;
50
+ if (!C || i || !m || !t || t[e(203)](document[e(220)])) return;
51
+ let n = t[e(219)](e(237)), r = m === e(247) ? t : m === "input" ? n[0] : n[n[e(240)] - 1];
52
+ r?.[e(235)]({ preventScroll: !0 }), r instanceof HTMLInputElement && r[e(207)]();
53
53
  }, [
54
54
  C,
55
- s,
55
+ i,
56
56
  m
57
- ]), p(u(y(265), {
57
+ ]), p(d(y(231), {
58
58
  ref: b,
59
- role: y(257),
59
+ role: y(249),
60
60
  "aria-label": _,
61
61
  tabIndex: -1,
62
- className: t("ds-popover", y(255), y(240), h),
62
+ className: t(y(258), "ds-scroll", y(269), h),
63
63
  "data-side": S,
64
- "data-state": y(s ? 216 : 223),
64
+ "data-state": i ? "closed" : y(264),
65
65
  style: {
66
66
  ...x,
67
- width: d
67
+ width: u
68
68
  },
69
- onPointerDown: g ? (e) => e[y(260)].closest(y(268)) || e[y(234)]() : void 0,
69
+ onPointerDown: g ? (e) => e[y(256)][y(202)]("input, textarea, select") || e.preventDefault() : void 0,
70
70
  onKeyDown: (e) => {
71
71
  let t = y;
72
- e[t(244)] === t(284) && !e.nativeEvent[t(267)] && (e[t(258)](), c());
72
+ e[t(233)] === t(206) && !e[t(216)][t(243)] && (e[t(254)](), c());
73
73
  },
74
74
  children: v
75
- }), document[y(269)]);
75
+ }), document.body);
76
76
  }
77
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++);
78
+ let i = e, a = n[i(230)]((e) => typeof e === i(255) && i(233) in e), [p, m] = c(-1), h = s(null), g = (e) => {
79
+ let t = i, n = a.length, r = p;
80
+ for (let i = 0; i < n && (r = ((r + e) % n + n) % n, a[r][t(223)]); i++);
81
81
  m(r);
82
82
  }, _ = (e) => {
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)]();
83
+ let t = i;
84
+ if (!e[t(256)].closest(t(259))) {
85
+ if (e[t(233)] === "ArrowDown") g(1);
86
+ else if (e[t(233)] === "ArrowUp") g(-1);
87
+ else if (e[t(233)] === t(253)) m(0);
88
+ else if (e[t(233)] === t(266)) m(a[t(240)] - 1);
89
+ else if ((e.key === t(221) || e.key === " ") && a[p] && !a[p].disabled) a[p][t(234)]();
90
90
  else return;
91
- e[t(234)]();
91
+ e[t(205)]();
92
92
  }
93
93
  };
94
- i(() => {
95
- let e = l, t = h[e(229)]?.[e(221)](e(276));
94
+ o(() => {
95
+ let e = i, t = h.current?.[e(202)](e(246));
96
96
  if (!t) return;
97
97
  let n = (e) => _(e);
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) });
98
+ return t[e(209)](e(265), n), () => t[e(215)](e(265), n);
99
+ }), o(() => {
100
+ let e = i;
101
+ h.current?.[e(238)](e(251))?.[e(224)]({ block: e(236) });
102
102
  }, [p]);
103
103
  let v = -1;
104
- return u(l(265), {
104
+ return d(i(231), {
105
105
  ref: h,
106
- role: l(231),
106
+ role: i(213),
107
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)]);
108
+ children: n[i(204)]((e, t) => {
109
+ let n = i;
110
+ if (e === n(250)) return d(n(231), {
111
+ role: n(250),
112
+ className: n(208)
113
+ }, n(263) + t);
114
+ if ("heading" in e) return d(n(231), {
115
+ className: n(210),
116
+ role: "presentation",
117
+ children: e[n(222)]
118
+ }, "h-" + e.heading);
119
119
  v++;
120
120
  let r = v;
121
- return d(n(265), {
122
- role: e[n(270)] == null ? n(262) : n(220),
121
+ return f(n(231), {
122
+ role: e.checked == null ? "menuitem" : "menuitemcheckbox",
123
123
  "aria-checked": e.checked,
124
- "aria-disabled": e[n(246)] || void 0,
124
+ "aria-disabled": e[n(223)] || void 0,
125
125
  "data-active": r === p || void 0,
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),
126
+ "data-danger": e[n(261)] || void 0,
127
+ className: n(218),
128
+ onPointerMove: () => !e[n(223)] && r !== p && m(r),
129
129
  onPointerLeave: () => m(-1),
130
- onClick: () => !e[n(246)] && e.onSelect(),
130
+ onClick: () => !e[n(223)] && e[n(234)](),
131
131
  children: [
132
- e.icon && u(n(264), {
133
- className: n(249),
134
- children: e[n(233)]
132
+ e[n(262)] && d(n(270), {
133
+ className: n(212),
134
+ children: e.icon
135
135
  }),
136
- u("span", {
137
- className: n(218),
138
- children: u(n(264), {
139
- className: n(285),
140
- children: e.label
136
+ d(n(270), {
137
+ className: "ds-option__text",
138
+ children: d(n(270), {
139
+ className: n(242),
140
+ children: e[n(214)]
141
141
  })
142
142
  }),
143
- e.hint != null && u(n(264), {
144
- className: n(282),
145
- children: e[n(236)]
143
+ e[n(239)] != null && d(n(270), {
144
+ className: n(245),
145
+ children: e[n(239)]
146
146
  }),
147
- e[n(270)] && u(s, { className: n(242) }),
148
- e[n(227)] && u(c, { className: n(280) })
147
+ e[n(227)] && d(l, { className: n(225) }),
148
+ e[n(260)] && d(u, { className: n(271) })
149
149
  ]
150
- }, e[n(244)]);
150
+ }, e.key);
151
151
  })
152
152
  });
153
153
  }
@@ -1,48 +1,51 @@
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;
2
+ (function(e, n) {
3
+ for (var r = t, i = e();;) try {
4
+ if (-parseInt(r(288)) / 1 * (-parseInt(r(282)) / 2) + -parseInt(r(280)) / 3 * (-parseInt(r(285)) / 4) + -parseInt(r(283)) / 5 * (-parseInt(r(287)) / 6) + -parseInt(r(278)) / 7 + -parseInt(r(286)) / 8 * (parseInt(r(279)) / 9) + parseInt(r(284)) / 10 + -parseInt(r(289)) / 11 * (parseInt(r(281)) / 12) == n) break;
5
5
  i.push(i.shift());
6
6
  } catch {
7
7
  i.push(i.shift());
8
8
  }
9
- })(r, 164200);
10
- function e(t, n) {
11
- t -= 175;
12
- var i = r(), a = i[t];
13
- e.cQJGMB === void 0 && (e.cLjvXu = function(e) {
9
+ })(e, 796328);
10
+ function e() {
11
+ var t = [
12
+ "mtuYmte4nu5cAeTduG",
13
+ "odC5mZmZngXpD1P1BG",
14
+ "otC0odu2ne16Be1zsq",
15
+ "mZCYmdG2mxHRB3DdDG",
16
+ "m0PrEw5Uvq",
17
+ "mtjpBgzpvvy",
18
+ "mNrMvhfuuW",
19
+ "mZy1DNLYtfvc",
20
+ "ndm4nZGWtvvxExbt",
21
+ "ndC2ndyZmMr6Bw5krq",
22
+ "mtzSAg5nDe0",
23
+ "odCWndj2DvbczNq"
24
+ ];
25
+ return e = function() {
26
+ return t;
27
+ }, e();
28
+ }
29
+ function t(n, r) {
30
+ n -= 278;
31
+ var i = e(), a = i[n];
32
+ t.DLAtMW === void 0 && (t.ggowYh = function(e) {
14
33
  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);
15
34
  for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
16
35
  return decodeURIComponent(r);
17
- }, e.FxIWgD = {}, e.cQJGMB = !0);
36
+ }, t.eRCwti = {}, t.DLAtMW = !0);
18
37
  var o = i[0];
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;
38
+ t.wwhyys !== o && (t.eRCwti = {}, t.wwhyys = o);
39
+ var s = t.eRCwti[n];
40
+ return s === void 0 ? (a = t.ggowYh(a), t.eRCwti[n] = a) : a = s, a;
22
41
  }
23
- function t(e, t) {
42
+ function n(e, t) {
24
43
  return { current: {
25
44
  getBoundingClientRect: () => new DOMRect(e, t, 0, 0),
26
45
  contains: () => !1
27
46
  } };
28
47
  }
29
- function n(e) {
48
+ function r(e) {
30
49
  return { current: e };
31
50
  }
32
- function r() {
33
- var e = [
34
- "mti0y3Hitfnw",
35
- "nJmZme9QvLDlva",
36
- "nZGWnJaWEuHXquvu",
37
- "mJe4mte2oeXRtxbnyq",
38
- "mtq4otm1vufMs0r4",
39
- "mtyXmtzdt1v6D2K",
40
- "ndq1mZCWwLbczurA",
41
- "mtq5mJyXn0DHuLDsCa",
42
- "ndy1vLfwz2rR"
43
- ];
44
- return r = function() {
45
- return e;
46
- }, r();
47
- }
48
- export { n as elementAnchor, t as pointAnchor };
51
+ export { r as elementAnchor, n as pointAnchor };