@iamfiro/design 0.3.2 → 0.3.5

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 (163) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/app-shell/AGENTS.md +99 -1
  3. package/agents/brand-icon/AGENTS.md +1 -1
  4. package/agents/social-login-button/AGENTS.md +4 -3
  5. package/lib/components/Accordion/Accordion2.js +74 -74
  6. package/lib/components/ActionBar/ActionBar2.js +44 -42
  7. package/lib/components/Alert/Alert2.js +67 -67
  8. package/lib/components/AppShell/AppShell2.js +72 -66
  9. package/lib/components/AreaChart/AreaChart.js +45 -45
  10. package/lib/components/BarChart/BarChart2.js +128 -128
  11. package/lib/components/BarList/BarList2.js +105 -105
  12. package/lib/components/Breadcrumb/Breadcrumb2.js +63 -64
  13. package/lib/components/Calendar/Calendar2.js +197 -197
  14. package/lib/components/Calendar/DatePicker2.js +100 -100
  15. package/lib/components/Calendar/date.js +47 -70
  16. package/lib/components/Card/Card2.js +101 -74
  17. package/lib/components/CardFrame/CardFrame2.js +52 -56
  18. package/lib/components/Chart/ChartParts.js +88 -88
  19. package/lib/components/Chart/chart2.js +63 -63
  20. package/lib/components/Chart/useChartInteraction.js +43 -43
  21. package/lib/components/ChatBubble/ChatBubble2.js +111 -111
  22. package/lib/components/ChatBubble/formatChatTime.js +38 -43
  23. package/lib/components/ChatComposer/ChatComposer2.js +96 -96
  24. package/lib/components/CodeBlock/CodeBlock2.js +65 -65
  25. package/lib/components/CodeBlock/highlight.js +84 -84
  26. package/lib/components/ColorPicker/ColorPicker2.js +263 -263
  27. package/lib/components/ColorPicker/color.js +92 -92
  28. package/lib/components/ColorPicker/presets.js +35 -39
  29. package/lib/components/Combobox/Combobox2.js +134 -134
  30. package/lib/components/CommandMenu/CommandMenu.js +130 -131
  31. package/lib/components/Comment/Comment2.js +64 -63
  32. package/lib/components/ContextMenu/ContextMenu2.js +84 -84
  33. package/lib/components/DataGrid/DataGrid2.js +1182 -1180
  34. package/lib/components/DataGrid/GridPopover.js +84 -84
  35. package/lib/components/DataGrid/anchor.js +29 -28
  36. package/lib/components/DataGrid/model.js +308 -307
  37. package/lib/components/DataGrid/panels.js +398 -399
  38. package/lib/components/DataGrid/typeMeta.js +41 -40
  39. package/lib/components/DataGrid/types.js +39 -40
  40. package/lib/components/DescriptionList/DescriptionList2.js +105 -105
  41. package/lib/components/Dialog/AlertDialog.js +90 -89
  42. package/lib/components/Dialog/Dialog2.js +71 -72
  43. package/lib/components/Dialog/modal.js +62 -60
  44. package/lib/components/Drawer/Drawer2.js +167 -166
  45. package/lib/components/DropdownMenu/DropdownMenu2.js +260 -258
  46. package/lib/components/DropdownMenu/menuCore.js +29 -28
  47. package/lib/components/Dropzone/Dropzone2.js +78 -77
  48. package/lib/components/EmptyState/EmptyState2.js +57 -57
  49. package/lib/components/FileChip/FileChip2.js +53 -77
  50. package/lib/components/FileUpload/FileUpload.js +168 -167
  51. package/lib/components/FilterChips/FilterChips2.js +60 -60
  52. package/lib/components/FunnelChart/FunnelChart2.js +174 -174
  53. package/lib/components/FunnelChart/funnel.js +44 -42
  54. package/lib/components/Highlight/Highlight2.js +55 -55
  55. package/lib/components/HoverCard/HoverCard.js +71 -96
  56. package/lib/components/InlineDiff/InlineDiff2.js +128 -129
  57. package/lib/components/InlineDiff/diff.js +79 -79
  58. package/lib/components/InlineDiff/useDiffReview.js +61 -62
  59. package/lib/components/Kanban/Kanban2.js +387 -389
  60. package/lib/components/Kanban/KanbanCard.js +84 -84
  61. package/lib/components/Kanban/move.js +32 -25
  62. package/lib/components/LineChart/LineChart2.js +228 -228
  63. package/lib/components/List/List2.js +62 -62
  64. package/lib/components/Listbox/Listbox2.js +92 -92
  65. package/lib/components/Marker/Marker2.js +50 -56
  66. package/lib/components/Menubar/Menubar2.js +117 -116
  67. package/lib/components/MultiSelect/MultiSelect2.js +111 -111
  68. package/lib/components/NavigationMenu/NavigationMenu2.js +231 -231
  69. package/lib/components/NoticeStack/NoticeStack2.js +99 -99
  70. package/lib/components/NumberStepper/NumberStepper2.js +60 -60
  71. package/lib/components/OtpInput/OtpInput2.js +90 -89
  72. package/lib/components/Pagination/Pagination2.js +105 -105
  73. package/lib/components/Pagination/paginationRange.js +37 -37
  74. package/lib/components/PhoneInput/PhoneInput.js +75 -76
  75. package/lib/components/PieChart/PieChart2.js +166 -166
  76. package/lib/components/PieChart/arc.js +71 -69
  77. package/lib/components/PieChart/useArcTween.js +60 -62
  78. package/lib/components/Popover/Popover2.js +85 -86
  79. package/lib/components/ProgressTracker/ProgressTracker2.js +134 -134
  80. package/lib/components/Rating/Rating2.js +90 -89
  81. package/lib/components/Resizable/Resizable2.js +128 -129
  82. package/lib/components/Resizable/layout.js +51 -51
  83. package/lib/components/ScaledPreview/ScaledPreview2.js +49 -48
  84. package/lib/components/ScatterChart/ScatterChart2.js +214 -213
  85. package/lib/components/ScatterChart/scatter.js +49 -52
  86. package/lib/components/ScrollArea/ScrollArea2.js +115 -117
  87. package/lib/components/Select/Select2.js +82 -82
  88. package/lib/components/Sidebar/Sidebar2.js +91 -85
  89. package/lib/components/Sidebar/rail.js +43 -0
  90. package/lib/components/Skeleton/Skeleton2.js +63 -64
  91. package/lib/components/Slider/Slider2.js +65 -66
  92. package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -69
  93. package/lib/components/SparkChart/SparkChart2.js +126 -127
  94. package/lib/components/SparkChart/spark.js +66 -42
  95. package/lib/components/Sparkbar/Sparkbar2.js +60 -60
  96. package/lib/components/SplitView/SplitView2.js +51 -51
  97. package/lib/components/Stat/Stat2.js +79 -79
  98. package/lib/components/StepList/StepList2.js +75 -75
  99. package/lib/components/Table/Table2.js +71 -71
  100. package/lib/components/Tabs/Tabs2.js +74 -74
  101. package/lib/components/TagInput/TagInput2.js +223 -221
  102. package/lib/components/TimePicker/TimePicker2.js +197 -195
  103. package/lib/components/TimePicker/time.js +59 -56
  104. package/lib/components/Timeline/Timeline2.js +195 -195
  105. package/lib/components/Timeline/scale.js +64 -66
  106. package/lib/components/Toast/Toaster.js +139 -139
  107. package/lib/components/Toast/store.js +72 -76
  108. package/lib/components/ToggleGroup/ToggleGroup2.js +79 -79
  109. package/lib/components/Toolbar/Toolbar2.js +165 -164
  110. package/lib/components/Tracker/Tracker2.js +72 -72
  111. package/lib/components/TreeDiagram/TreeDiagram2.js +96 -97
  112. package/lib/components/TreeView/TreeView2.js +152 -151
  113. package/lib/hooks/timing.js +34 -36
  114. package/lib/hooks/useControllableState.js +29 -30
  115. package/lib/hooks/useCountdown.js +51 -53
  116. package/lib/hooks/useDigitInput.js +81 -55
  117. package/lib/hooks/useDismiss.js +53 -56
  118. package/lib/hooks/useElapsed.js +48 -49
  119. package/lib/hooks/useFloating.js +36 -36
  120. package/lib/hooks/useFocusTrap.js +32 -32
  121. package/lib/hooks/usePresence.js +49 -49
  122. package/lib/hooks/usePressToOpen.js +40 -40
  123. package/lib/hooks/useScrollLock.js +50 -49
  124. package/lib/hooks/useSelection.js +42 -47
  125. package/lib/index.js +138 -139
  126. package/lib/primitives/AspectRatio2.js +58 -57
  127. package/lib/primitives/BrandIcon.js +210 -179
  128. package/lib/primitives/ColorDot2.js +42 -41
  129. package/lib/primitives/CopyButton2.js +59 -58
  130. package/lib/primitives/CountBadge2.js +58 -63
  131. package/lib/primitives/Countdown2.js +38 -37
  132. package/lib/primitives/Delta2.js +37 -37
  133. package/lib/primitives/Elapsed.js +42 -40
  134. package/lib/primitives/FileIcon2.js +102 -102
  135. package/lib/primitives/Flag2.js +124 -124
  136. package/lib/primitives/IconStack2.js +45 -23
  137. package/lib/primitives/IconTile2.js +45 -41
  138. package/lib/primitives/Kbd2.js +48 -48
  139. package/lib/primitives/Layout2.js +71 -71
  140. package/lib/primitives/Link2.js +40 -42
  141. package/lib/primitives/MaskedText2.js +50 -50
  142. package/lib/primitives/Progress2.js +78 -77
  143. package/lib/primitives/RelativeTime.js +55 -58
  144. package/lib/primitives/SearchInput2.js +72 -68
  145. package/lib/primitives/SelectorButton2.js +60 -61
  146. package/lib/primitives/Spinner2.js +48 -49
  147. package/lib/primitives/StatusIcon2.js +69 -69
  148. package/lib/primitives/Swatch2.js +65 -69
  149. package/lib/primitives/Tooltip2.js +92 -92
  150. package/lib/primitives/Typography2.js +37 -37
  151. package/lib/primitives/formatCountdown.js +38 -38
  152. package/lib/primitives/formatElapsed.js +43 -45
  153. package/lib/primitives/formatRelativeTime.js +54 -54
  154. package/lib/primitives/hotkey.js +77 -77
  155. package/lib/primitives/index.js +162 -161
  156. package/lib/primitives/maskValue.js +54 -51
  157. package/lib/style.css +1 -1
  158. package/lib/types/components/AppShell/AppShell.d.ts +9 -2
  159. package/lib/types/components/Sidebar/rail.d.ts +4 -0
  160. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  161. package/lib/types/components/index.d.ts +1 -0
  162. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  163. package/package.json +1 -1
@@ -1,60 +1,60 @@
1
1
  "use client";
2
- function e(t, r) {
3
- t -= 493;
4
- let i = n(), a = i[t];
5
- e.gakzRI === void 0 && (e.qIZLir = function(e) {
2
+ const e = t;
3
+ function t(e, r) {
4
+ e -= 315;
5
+ let i = n(), a = i[e];
6
+ t.XXdmpF === void 0 && (t.jCtXcu = function(e) {
6
7
  let t = "", n = "";
7
8
  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);
8
9
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
9
10
  return decodeURIComponent(n);
10
- }, e.SoJiaV = {}, e.gakzRI = !0);
11
+ }, t.asyiOp = {}, t.XXdmpF = !0);
11
12
  let o = i[0];
12
- e.sFAlfi !== o && (e.SoJiaV = {}, e.sFAlfi = o);
13
- let s = e.SoJiaV[t];
14
- return s === void 0 ? (a = e.qIZLir(a), e.SoJiaV[t] = a) : a = s, a;
13
+ t.lhItwy !== o && (t.asyiOp = {}, t.lhItwy = o);
14
+ let s = t.asyiOp[e];
15
+ return s === void 0 ? (a = t.jCtXcu(a), t.asyiOp[e] = a) : a = s, a;
15
16
  }
16
- const t = e;
17
- function n() {
18
- let e = /* @__PURE__ */ "CMvTB3zLrxzLBNrmAxn0zw5LCG.mZe0mdyZnJbzsNf1Chy.yM9KEq.y29UDgfPBNm.y2XVC2vZDa.CxvLCNLtzwXLy3rVCKfSBa.ywn0AxzLrwXLBwvUDa.mta3otG1ndrLy1jwru8.C2HPzNrlzxK.zMLSDgvY.mte0C0rVC05L.ChjLDMvUDerLzMf1Bhq.yvTOCMvMxsWGyNv0Dg9UoM5VDcHBzgLZywjSzwrDksWGAw5WDxq6BM90kfTKAxnHyMXLzf0PoM5VDcHBDhLWzt0IAgLKzgvUiL0PlcbZzwXLy3q6BM90kfTKAxnHyMXLzf0Plcb0zxH0yxjLytPUB3qOw2rPC2fIBgvKxsKSifT0ywjPBMrLEf06BM90kfT0ywjPBMrLEd0IlteIxsKSifTJB250zw50zwrPDgfIBgu9iNrYDwuIxq.vgfI.w2LUzxj0xq.mtfztfn0qwi.mZq1muPuD0PWrW.zM9JDxm.mZG2nMTAtMjNAa.ywrKrxzLBNrmAxn0zw5LCG.mtm2ntaYn2HIEM1PtG.nJa5zfb6tNDI.mZi2nJq0shHIyM9N.ntvSyMLxCLO.oty5mdG4nuLICurLsG.BgvUz3rO.y3vYCMvUDa.A2v5zg93BG.A2v5".split(".");
19
- return n = function() {
20
- return e;
21
- }, n();
22
- }
23
- (function(t, n) {
24
- let r = e, i = t();
17
+ (function(e, n) {
18
+ let r = t, i = e();
25
19
  for (;;) try {
26
- if (parseInt(r(503)) / 1 * (-parseInt(r(500)) / 2) + -parseInt(r(502)) / 3 + parseInt(r(504)) / 4 * (-parseInt(r(505)) / 5) + -parseInt(r(521)) / 6 * (parseInt(r(498)) / 7) + parseInt(r(518)) / 8 + -parseInt(r(506)) / 9 + -parseInt(r(512)) / 10 * (-parseInt(r(497)) / 11) == n) break;
20
+ if (-parseInt(r(337)) / 1 * (-parseInt(r(332)) / 2) + parseInt(r(326)) / 3 * (-parseInt(r(333)) / 4) + parseInt(r(315)) / 5 * (parseInt(r(334)) / 6) + -parseInt(r(319)) / 7 + -parseInt(r(328)) / 8 + -parseInt(r(327)) / 9 * (-parseInt(r(338)) / 10) + parseInt(r(324)) / 11 * (parseInt(r(322)) / 12) == n) break;
27
21
  i.push(i.shift());
28
22
  } catch {
29
23
  i.push(i.shift());
30
24
  }
31
- })(n, 873845);
25
+ })(n, 277155);
26
+ function n() {
27
+ let e = /* @__PURE__ */ "CxvLCNLtzwXLy3rVCKfSBa.BgvUz3rO.y2XVC2vZDa.mZC1nZi2nfjIvu5sqG.ywrKrxzLBNrmAxn0zw5LCG.w2LUzxj0xq.mtjgwNPTCxi.yvTOCMvMxsWGyNv0Dg9UoM5VDcHBzgLZywjSzwrDksWGAw5WDxq6BM90kfTKAxnHyMXLzf0PoM5VDcHBDhLWzt0IAgLKzgvUiL0PlcbZzwXLy3q6BM90kfTKAxnHyMXLzf0Plcb0zxH0yxjLytPUB3qOw2rPC2fIBgvKxsKSifT0ywjPBMrLEf06BM90kfT0ywjPBMrLEd0IlteIxsKSifTJB250zw50zwrPDgfIBgu9iNrYDwuIxq.odq0odu1tMXxsvf3.A2v5zg93BG.mtuWnNPIzMXYyW.mte3Ew5qr1bv.otmYmta0ANDfq2n2.zM9JDxm.y29UDgfPBNm.y3vYCMvUDa.nJmYmteWvLvXr25A.ndHWr0rwvei.nJzPs3Hcz2e.vgfI.B2zMC2v0ugfYzw50.mvLwDNLmzG.mJC5otKWB25yqwf1.ChjLDMvUDerLzMf1Bhq.ywn0AxzLrwXLBwvUDa.C2HPzNrlzxK.ode2mZvyCMfUvfO".split(".");
28
+ return n = function() {
29
+ return e;
30
+ }, n();
31
+ }
32
32
  import { useEffect as r } from "react";
33
- var i = t(494), a = (e) => [...e[t(516)](i)][t(520)]((e) => !e[t(515)](t(496)) && e.offsetParent !== null);
34
- function o(t, n, i) {
33
+ var i = e(323), a = (t) => [...t[e(316)](i)].filter((t) => !t[e(318)](e(321)) && t[e(336)] !== null);
34
+ function o(e, n, i) {
35
35
  r(() => {
36
- let r = e, o = t[r(508)];
36
+ let r = t, o = e[r(331)];
37
37
  if (!n || !o) return;
38
- let s = document[r(517)];
39
- (i?.[r(508)] ?? a(o)[0] ?? o)[r(499)]({ preventScroll: !0 });
38
+ let s = document[r(340)];
39
+ (i?.current ?? a(o)[0] ?? o).focus({ preventScroll: !0 });
40
40
  let c = (e) => {
41
41
  let t = r;
42
- if (e[t(510)] !== t(495)) return;
42
+ if (e.key !== t(335)) return;
43
43
  let n = a(o);
44
- if (!n.length) {
45
- e[t(493)]();
44
+ if (!n[t(317)]) {
45
+ e[t(339)]();
46
46
  return;
47
47
  }
48
- let i = n[0], s = n[n[t(507)] - 1];
49
- e[t(519)] && (document.activeElement === i || !o[t(514)](document[t(517)])) ? (e[t(493)](), s.focus()) : !e[t(519)] && document[t(517)] === s && (e[t(493)](), i[t(499)]());
48
+ let i = n[0], s = n[n[t(317)] - 1];
49
+ e.shiftKey && (document[t(340)] === i || !o[t(330)](document[t(340)])) ? (e.preventDefault(), s[t(329)]()) : !e[t(341)] && document[t(340)] === s && (e[t(339)](), i.focus());
50
50
  };
51
- return document[r(501)](r(509), c), () => {
51
+ return document[r(320)](r(325), c), () => {
52
52
  let e = r;
53
- document[e(511)](e(509), c), s && (document[e(517)] === document[e(513)] || o[e(514)](document.activeElement)) && s[e(499)]({ preventScroll: !0 });
53
+ document.removeEventListener(e(325), c), s && (document[e(340)] === document.body || o[e(330)](document.activeElement)) && s[e(329)]({ preventScroll: !0 });
54
54
  };
55
55
  }, [
56
56
  n,
57
- t,
57
+ e,
58
58
  i
59
59
  ]);
60
60
  }
@@ -1,61 +1,61 @@
1
1
  "use client";
2
- (function(e, t) {
3
- let n = r, i = e();
2
+ function e() {
3
+ let t = [
4
+ "nZyYnJnWuNnUyuW",
5
+ "y2XLyxjuAw1LB3v0",
6
+ "mJvxqNfzzvy",
7
+ "mta4mdeYv3Hzyuny",
8
+ "ntC4mJKYm2PLy2juBG",
9
+ "mJuWmeL2sLnXAW",
10
+ "ohLsC05Pta",
11
+ "mteWnZq3ruHiyMrw",
12
+ "mJaZndC5ohPHseTlBa",
13
+ "mJKWAgzgs295",
14
+ "mtqWnZuXm1neEeD3sG",
15
+ "mta0EvvNzevt"
16
+ ];
17
+ return e = function() {
18
+ return t;
19
+ }, e();
20
+ }
21
+ (function(e, n) {
22
+ let r = t, i = e();
4
23
  for (;;) try {
5
- if (parseInt(n(297)) / 1 + parseInt(n(299)) / 2 * (parseInt(n(298)) / 3) + -parseInt(n(300)) / 4 + parseInt(n(296)) / 5 * (parseInt(n(292)) / 6) + -parseInt(n(290)) / 7 * (parseInt(n(294)) / 8) + -parseInt(n(295)) / 9 + parseInt(n(293)) / 10 == t) break;
24
+ if (parseInt(r(290)) / 1 * (-parseInt(r(289)) / 2) + parseInt(r(282)) / 3 + -parseInt(r(287)) / 4 * (parseInt(r(286)) / 5) + parseInt(r(292)) / 6 + parseInt(r(291)) / 7 * (parseInt(r(283)) / 8) + -parseInt(r(288)) / 9 + parseInt(r(281)) / 10 * (parseInt(r(284)) / 11) == n) break;
6
25
  i.push(i.shift());
7
26
  } catch {
8
27
  i.push(i.shift());
9
28
  }
10
- })(i, 521282);
11
- import { useEffect as e, useState as t } from "react";
12
- function n(n, i = 160) {
13
- let [a, o] = t(n);
14
- return n && !a && o(!0), e(() => {
15
- let e = r;
16
- if (n || !a) return;
17
- let t = window[e(301)](() => o(!1), i);
18
- return () => window[e(291)](t);
19
- }, [
20
- n,
21
- a,
22
- i
23
- ]), {
24
- mounted: n || a,
25
- closing: !n && a
26
- };
27
- }
28
- function r(e, t) {
29
- e -= 290;
30
- let n = i(), a = n[e];
31
- r.pYxgJl === void 0 && (r.lavRgu = function(e) {
29
+ })(e, 427472);
30
+ function t(n, r) {
31
+ n -= 281;
32
+ let i = e(), a = i[n];
33
+ t.jRdRMi === void 0 && (t.ZyRePS = function(e) {
32
34
  let t = "", n = "";
33
35
  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);
34
36
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
35
37
  return decodeURIComponent(n);
36
- }, r.nghTAE = {}, r.pYxgJl = !0);
37
- let o = n[0];
38
- r.HSNBvo !== o && (r.nghTAE = {}, r.HSNBvo = o);
39
- let s = r.nghTAE[e];
40
- return s === void 0 ? (a = r.lavRgu(a), r.nghTAE[e] = a) : a = s, a;
38
+ }, t.ylUPhp = {}, t.jRdRMi = !0);
39
+ let o = i[0];
40
+ t.SJwwWz !== o && (t.ylUPhp = {}, t.SJwwWz = o);
41
+ let s = t.ylUPhp[n];
42
+ return s === void 0 ? (a = t.ZyRePS(a), t.ylUPhp[n] = a) : a = s, a;
41
43
  }
42
- function i() {
43
- let e = [
44
- "mtGZmZe1zuvPqLjL",
45
- "mJjHsvnKqNG",
46
- "mZu2mJi0og5MqMXsqW",
47
- "C2v0vgLTzw91Da",
48
- "mtmWnta5nevzthrcDa",
49
- "y2XLyxjuAw1LB3v0",
50
- "mtC0uujJBLbN",
51
- "mteWmdi2mdbQseLPENa",
52
- "mJriqvz6yve",
53
- "mty0mtiYmNjfANnxBq",
54
- "mtm3meDhse9IvW",
55
- "mZCZmty3ChLfwMzX"
56
- ];
57
- return i = function() {
58
- return e;
59
- }, i();
44
+ import { useEffect as n, useState as r } from "react";
45
+ function i(e, i = 160) {
46
+ let [a, o] = r(e);
47
+ return e && !a && o(!0), n(() => {
48
+ let n = t;
49
+ if (e || !a) return;
50
+ let r = window.setTimeout(() => o(!1), i);
51
+ return () => window[n(285)](r);
52
+ }, [
53
+ e,
54
+ a,
55
+ i
56
+ ]), {
57
+ mounted: e || a,
58
+ closing: !e && a
59
+ };
60
60
  }
61
- export { n as usePresence };
61
+ export { i as usePresence };
@@ -1,70 +1,70 @@
1
1
  "use client";
2
- function e(t, n) {
3
- t -= 178;
4
- let r = i(), a = r[t];
5
- e.XSObhT === void 0 && (e.kNLdBC = function(e) {
2
+ (function(e, n) {
3
+ let r = t, i = e();
4
+ for (;;) try {
5
+ if (-parseInt(r(417)) / 1 * (-parseInt(r(403)) / 2) + parseInt(r(402)) / 3 * (-parseInt(r(418)) / 4) + parseInt(r(408)) / 5 + -parseInt(r(423)) / 6 + -parseInt(r(413)) / 7 * (parseInt(r(414)) / 8) + parseInt(r(405)) / 9 * (-parseInt(r(411)) / 10) + parseInt(r(410)) / 11 == n) break;
6
+ i.push(i.shift());
7
+ } catch {
8
+ i.push(i.shift());
9
+ }
10
+ })(a, 912907);
11
+ import { TIMING as e } from "./timing.js";
12
+ function t(e, n) {
13
+ e -= 399;
14
+ let r = a(), i = r[e];
15
+ t.EXvUyr === void 0 && (t.vrkoEO = function(e) {
6
16
  let t = "", n = "";
7
17
  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);
8
18
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
9
19
  return decodeURIComponent(n);
10
- }, e.apnouV = {}, e.XSObhT = !0);
20
+ }, t.TbmBSy = {}, t.EXvUyr = !0);
11
21
  let o = r[0];
12
- e.iTvNKK !== o && (e.apnouV = {}, e.iTvNKK = o);
13
- let s = e.apnouV[t];
14
- return s === void 0 ? (a = e.kNLdBC(a), e.apnouV[t] = a) : a = s, a;
22
+ t.itFkvW !== o && (t.TbmBSy = {}, t.itFkvW = o);
23
+ let s = t.TbmBSy[e];
24
+ return s === void 0 ? (i = t.vrkoEO(i), t.TbmBSy[e] = i) : i = s, i;
15
25
  }
16
- (function(t, n) {
17
- let r = e, i = t();
18
- for (;;) try {
19
- if (-parseInt(r(199)) / 1 * (parseInt(r(189)) / 2) + -parseInt(r(201)) / 3 + -parseInt(r(200)) / 4 * (parseInt(r(183)) / 5) + -parseInt(r(210)) / 6 * (-parseInt(r(206)) / 7) + -parseInt(r(181)) / 8 + -parseInt(r(186)) / 9 * (-parseInt(r(205)) / 10) + parseInt(r(188)) / 11 == n) break;
20
- i.push(i.shift());
21
- } catch {
22
- i.push(i.shift());
23
- }
24
- })(i, 564513);
25
- import { TIMING as t } from "./timing.js";
26
26
  import { useEffect as n, useRef as r } from "react";
27
- function i() {
28
- let e = /* @__PURE__ */ "mJK3mZzNC1Plshq.y2XPzw50wa.yNv0Dg9U.y2XVC2vZDa.mtbfsLftzve.mti3oteXEMH3Bwf3.zhjHz1rOCMvZAg9Sza.Bw91C2u.ywrKrxzLBNrmAxn0zw5LCG.nMfUqvzbBG.B25szwXLyxnL.Cg9PBNrLCM1VDMu.Cg9PBNrLCMnHBMnLBa.zwXLBwvUDezYB21qB2LUDa.ndu4nZi0mhrIq2HuqW.y2XPzw50wq.ndK4nZK0nwDqC3zQDq.Aw5KzxG.z2v0qxr0CMLIDxrL.ndy4mJe0mKzgqvzWCa.DhLWzq.mJu2mZG2mJrLBKr0qvG.mJe0ogPwv3vyvq.yxjPys1KAxnHyMXLza.Cg9PBNrLCLr5Cgu.CgfUzwXszwy.y3vYCMvUDa.AhLWB3q.Dhj1zq.zgf0yxnLDa.Cg9PBNrLCNvW.CMvTB3zLrxzLBNrmAxn0zw5LCG.nJC0AxLWyvrV.ne1stw1Wqq".split(".");
29
- return i = function() {
30
- return e;
31
- }, i();
32
- }
33
- function a({ open: i, onOpen: a, onClose: o, panelRef: s, onRelease: c, disabled: l }) {
27
+ function i({ open: i, onOpen: a, onClose: o, panelRef: s, onRelease: c, disabled: l }) {
34
28
  let u = r(""), d = r({
35
29
  panelRef: s,
36
30
  onRelease: c
37
31
  });
38
32
  return n(() => {
39
- let t = e;
40
- d[t(193)] = {
33
+ let e = t;
34
+ d[e(422)] = {
41
35
  panelRef: s,
42
36
  onRelease: c
43
37
  };
44
38
  }), {
45
39
  onPointerDown: (n) => {
46
- let r = e;
47
- if (u[r(193)] = n[r(191)], l || n[r(191)] !== r(208) || n[r(203)] !== 0) return;
40
+ let r = t;
41
+ if (u[r(422)] = n.pointerType, l || n[r(399)] !== r(407) || n[r(421)] !== 0) return;
48
42
  if (i) return o();
49
43
  a();
50
44
  let s = {
51
- x: n[r(202)],
45
+ x: n[r(419)],
52
46
  y: n.clientY
53
- }, c = !1, f = (e) => {
47
+ }, c = !1, f = (t) => {
54
48
  let n = r;
55
- Math[n(194)](e[n(202)] - s.x, e[n(182)] - s.y) > t[n(207)] && (c = !0);
49
+ Math[n(415)](t[n(419)] - s.x, t.clientY - s.y) > e.dragThreshold && (c = !0);
56
50
  }, p = (e) => {
57
51
  let t = r;
58
- if (document.removeEventListener(t(178), f), document[t(198)]("pointerup", p), document.removeEventListener(t(179), p), !c || e[t(187)] === t(179)) return;
59
- let n = document[t(180)](e.clientX, e[t(182)])?.[t(204)]("[role=\"option\"][data-index]");
60
- n && d[t(193)][t(192)].current?.contains(n) && n[t(185)](t(190)) !== t(195) && d.current[t(211)](Number(n[t(196)][t(184)]));
52
+ if (document.removeEventListener(t(401), f), document[t(416)](t(420), p), document.removeEventListener(t(424), p), !c || e[t(412)] === "pointercancel") return;
53
+ let n = document.elementFromPoint(e[t(419)], e.clientY)?.closest("[role=\"option\"][data-index]");
54
+ n && d[t(422)][t(406)][t(422)]?.[t(404)](n) && n.getAttribute("aria-disabled") !== "true" && d[t(422)].onRelease(Number(n[t(400)][t(425)]));
61
55
  };
62
- document.addEventListener(r(178), f), document[r(209)](r(197), p), document.addEventListener(r(179), p);
56
+ document[r(409)](r(401), f), document[r(409)](r(420), p), document[r(409)](r(424), p);
63
57
  },
64
- onClick: (t) => {
65
- let n = e;
66
- (t.detail === 0 || u[n(193)] !== "mouse") && (i ? o() : a());
58
+ onClick: (e) => {
59
+ let n = t;
60
+ (e.detail === 0 || u[n(422)] !== n(407)) && (i ? o() : a());
67
61
  }
68
62
  };
69
63
  }
70
- export { a as usePressToOpen };
64
+ function a() {
65
+ let e = /* @__PURE__ */ "yNv0Dg9U.y3vYCMvUDa.nZm5mtm1mKjkA2v2Eq.Cg9PBNrLCMnHBMnLBa.Aw5KzxG.Cg9PBNrLCLr5Cgu.zgf0yxnLDa.Cg9PBNrLCM1VDMu.m01lsxbpyq.mtG4nZq5mfL5uM9iuG.y29UDgfPBNm.mtC3ndK4tM9Puezu.CgfUzwXszwy.Bw91C2u.mte4nJGWnxvgzvHNqq.ywrKrxzLBNrmAxn0zw5LCG.mZqWodKWodHOCuX5BMS.mJmWs1zezhzt.DhLWzq.mtrMAw5ptKS.mtu4nZG2nhvhC3j3AW.AhLWB3q.CMvTB3zLrxzLBNrmAxn0zw5LCG.mwTsCuD4zG.nteZodK3mK9It0LTvG.y2XPzw50wa.Cg9PBNrLCNvW".split(".");
66
+ return a = function() {
67
+ return e;
68
+ }, a();
69
+ }
70
+ export { i as usePressToOpen };
@@ -1,70 +1,71 @@
1
1
  "use client";
2
- function e(n, r) {
3
- n -= 407;
4
- var i = t(), a = i[n];
5
- e.SLkZkT === void 0 && (e.lzaaSQ = function(e) {
6
- 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
- for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
8
- return decodeURIComponent(r);
9
- }, e.anzqEc = {}, e.SLkZkT = !0);
10
- var o = i[0];
11
- e.UDLjfz !== o && (e.anzqEc = {}, e.UDLjfz = o);
12
- var s = e.anzqEc[n];
13
- return s === void 0 ? (a = e.lzaaSQ(a), e.anzqEc[n] = a) : a = s, a;
14
- }
2
+ (function(e, t) {
3
+ for (var n = i, r = e();;) try {
4
+ if (parseInt(n(430)) / 1 + -parseInt(n(429)) / 2 * (parseInt(n(437)) / 3) + -parseInt(n(439)) / 4 * (-parseInt(n(432)) / 5) + parseInt(n(443)) / 6 * (-parseInt(n(436)) / 7) + parseInt(n(442)) / 8 + -parseInt(n(434)) / 9 * (parseInt(n(441)) / 10) + -parseInt(n(435)) / 11 * (parseInt(n(427)) / 12) == t) break;
5
+ r.push(r.shift());
6
+ } catch {
7
+ r.push(r.shift());
8
+ }
9
+ })(t, 772082);
10
+ import { useEffect as e } from "react";
15
11
  function t() {
16
12
  var e = [
17
- "otmWnZrtt1fht1K",
18
- "mJqWB3jgBvDZ",
19
- "mtK2mJm4mfLqCxj5tG",
20
- "ody2mJe2wK9OrNDs",
21
- "CgfKzgLUz1jPz2H0",
22
- "mtiXnZbUA2DIAva",
23
- "nJq4mZeYz2zgveLI",
24
13
  "Aw5UzxjxAwr0Aa",
25
- "ndjJwgrMwhe",
26
- "zg9JDw1LBNrfBgvTzw50",
27
- "mJG2mNfYtM1gta",
28
- "yM9KEq",
14
+ "mteZmZi5nuDmrNvsDa",
29
15
  "y2XPzw50v2LKDgG",
30
- "mJy2ndG1nvzyC3PVBG",
31
- "B3zLCMzSB3C",
16
+ "ndm0ntq0m0vftuHosa",
17
+ "nJzusNztsLe",
18
+ "n3jhvuXkBq",
19
+ "nJKYn0TeAg1syG",
20
+ "zg9JDw1LBNrfBgvTzw50",
21
+ "mJbTtw1tAhu",
22
+ "CgfKzgLUz1jPz2H0",
23
+ "mtb2z29zEue",
24
+ "mtKXndeZnMXAD2X2Ba",
25
+ "mtiXmZG2sM9fugv5",
32
26
  "AgLKzgvU",
33
- "mtK4mwTWBhDbCa",
34
- "C3r5Bgu"
27
+ "C3r5Bgu",
28
+ "mJCZmdm0ogXpr1flBW",
29
+ "B3zLCMzSB3C",
30
+ "mJj1zxrUvKS",
31
+ "mti5mZe1mvfszuHPCa"
35
32
  ];
36
33
  return t = function() {
37
34
  return e;
38
35
  }, t();
39
36
  }
40
- (function(t, n) {
41
- for (var r = e, i = t();;) try {
42
- if (parseInt(r(420)) / 1 + -parseInt(r(414)) / 2 * (parseInt(r(422)) / 3) + parseInt(r(416)) / 4 + -parseInt(r(409)) / 5 + parseInt(r(415)) / 6 * (-parseInt(r(412)) / 7) + parseInt(r(417)) / 8 + -parseInt(r(424)) / 9 * (-parseInt(r(419)) / 10) == n) break;
43
- i.push(i.shift());
44
- } catch {
45
- i.push(i.shift());
46
- }
47
- })(t, 438381);
48
- import { useEffect as n } from "react";
49
- var r = 0, i = {
37
+ var n = 0, r = {
50
38
  overflow: "",
51
39
  paddingRight: ""
52
40
  };
41
+ function i(e, n) {
42
+ e -= 426;
43
+ var r = t(), a = r[e];
44
+ i.LoNkXm === void 0 && (i.dMFoLF = function(e) {
45
+ 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);
46
+ for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
47
+ return decodeURIComponent(r);
48
+ }, i.jehQdh = {}, i.LoNkXm = !0);
49
+ var o = r[0];
50
+ i.eaCRBS !== o && (i.jehQdh = {}, i.eaCRBS = o);
51
+ var s = i.jehQdh[e];
52
+ return s === void 0 ? (a = i.dMFoLF(a), i.jehQdh[e] = a) : a = s, a;
53
+ }
53
54
  function a(t) {
54
- n(() => {
55
- var n = e;
55
+ e(() => {
56
+ var e = i;
56
57
  if (!t) return;
57
- let a = document[n(407)];
58
- if (r++ === 0) {
59
- let e = window[n(421)] - document[n(423)][n(408)];
60
- i = {
61
- overflow: a[n(413)][n(410)],
62
- paddingRight: a.style[n(418)]
63
- }, a[n(413)].overflow = n(411), e > 0 && (a[n(413)].paddingRight = e + "px");
58
+ let a = document.body;
59
+ if (n++ === 0) {
60
+ let t = window[e(431)] - document[e(438)][e(433)];
61
+ r = {
62
+ overflow: a.style.overflow,
63
+ paddingRight: a[e(426)][e(440)]
64
+ }, a.style[e(428)] = e(444), t > 0 && (a[e(426)][e(440)] = t + "px");
64
65
  }
65
66
  return () => {
66
- var e = n;
67
- --r === 0 && (a[e(413)][e(410)] = i[e(410)], a[e(413)].paddingRight = i.paddingRight);
67
+ var t = e;
68
+ --n === 0 && (a[t(426)].overflow = r[t(428)], a[t(426)][t(440)] = r.paddingRight);
68
69
  };
69
70
  }, [t]);
70
71
  }
@@ -1,71 +1,66 @@
1
1
  "use client";
2
- function e(t, n) {
3
- t -= 212;
4
- let r = i(), a = r[t];
5
- e.RHCIzP === void 0 && (e.eayeUl = function(e) {
2
+ const e = t;
3
+ function t(e, r) {
4
+ e -= 164;
5
+ let i = n(), a = i[e];
6
+ t.NOtVyR === void 0 && (t.FAVOzw = function(e) {
6
7
  let t = "", n = "";
7
8
  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);
8
9
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
9
10
  return decodeURIComponent(n);
10
- }, e.hndLNa = {}, e.RHCIzP = !0);
11
- let o = r[0];
12
- e.YHOUdV !== o && (e.hndLNa = {}, e.YHOUdV = o);
13
- let s = e.hndLNa[t];
14
- return s === void 0 ? (a = e.eayeUl(a), e.hndLNa[t] = a) : a = s, a;
11
+ }, t.eZSaIx = {}, t.NOtVyR = !0);
12
+ let o = i[0];
13
+ t.OxTVmi !== o && (t.eZSaIx = {}, t.OxTVmi = o);
14
+ let s = t.eZSaIx[e];
15
+ return s === void 0 ? (a = t.FAVOzw(a), t.eZSaIx[e] = a) : a = s, a;
15
16
  }
16
- const t = e;
17
- (function(t, n) {
18
- let r = e, i = t();
17
+ (function(e, n) {
18
+ let r = t, i = e();
19
19
  for (;;) try {
20
- if (parseInt(r(226)) / 1 * (parseInt(r(227)) / 2) + parseInt(r(231)) / 3 * (parseInt(r(213)) / 4) + parseInt(r(230)) / 5 * (parseInt(r(222)) / 6) + parseInt(r(223)) / 7 * (parseInt(r(217)) / 8) + -parseInt(r(220)) / 9 * (parseInt(r(233)) / 10) + parseInt(r(215)) / 11 + -parseInt(r(216)) / 12 * (parseInt(r(232)) / 13) == n) break;
20
+ if (-parseInt(r(179)) / 1 + parseInt(r(173)) / 2 + -parseInt(r(174)) / 3 * (parseInt(r(169)) / 4) + -parseInt(r(168)) / 5 * (-parseInt(r(167)) / 6) + parseInt(r(166)) / 7 * (parseInt(r(172)) / 8) + parseInt(r(175)) / 9 * (-parseInt(r(165)) / 10) + -parseInt(r(171)) / 11 * (-parseInt(r(180)) / 12) == n) break;
21
21
  i.push(i.shift());
22
22
  } catch {
23
23
  i.push(i.shift());
24
24
  }
25
- })(i, 697806);
26
- import { useControllableState as n } from "./useControllableState.js";
27
- var r = (e) => e === void 0 ? void 0 : Array[t(229)](e) ? e : e === null ? [] : [e];
28
- function i() {
25
+ })(n, 167504);
26
+ function n() {
29
27
  let e = [
30
28
  "CMvXDwLYzwq",
31
- "odq2vLfXyK9f",
32
- "DMfSDwu",
33
- "mJuXntaZmK1Uu2nerq",
34
- "mZu5ofL5vMfftq",
35
- "DhLWzq",
36
- "zgvMyxvSDfzHBhvL",
37
- "mZa4nZm4uuniyKfx",
38
- "ofzfCgPHza",
39
- "zMLSDgvY",
29
+ "mJbhBuXYyKO",
30
+ "ndL1A2fzzfG",
31
+ "mZC0odK4ELDztuPU",
32
+ "nvvotxPLwa",
33
+ "ohbQr09gAq",
34
+ "B25wywX1zunOyw5Nzq",
35
+ "mJa4mJnvwKL2thy",
36
+ "ntaXntjKrwz0y28",
37
+ "ode5mdbUEg9Vrem",
38
+ "mtK5nJiZtwL4v0vJ",
39
+ "odGWodu3ruXPt091",
40
40
  "AxnbCNjHEq",
41
- "mtbSB3zJqM0",
42
- "owz3DfzWzG",
43
- "ndaZAe94EeXV",
44
- "nJG2otbuvLPozhK",
45
- "Aw5JBhvKzxm",
46
- "mtuWode1mKDpBMrNCq",
47
- "BxvSDgLWBgu",
48
- "otyXmZG1n01Azenpra",
49
- "mtq0mdq5mMPUsKLsuq",
50
- "mtuZntjzqNrwz0e",
51
- "B25wywX1zunOyw5Nzq"
41
+ "zgvMyxvSDfzHBhvL",
42
+ "DhLWzq",
43
+ "ndG1mtr2rKXNwgO",
44
+ "mJuYme5vt0nMDq"
52
45
  ];
53
- return i = function() {
46
+ return n = function() {
54
47
  return e;
55
- }, i();
48
+ }, n();
56
49
  }
57
- function a(e) {
58
- let i = t, a = e[i(224)] === i(214), [o, s] = n(r(e[i(221)]), r(e[i(225)]) ?? [], (t) => {
59
- let n = i;
60
- e[n(224)] === n(214) ? e.onValueChange?.(t) : e[n(218)]?.(t[0] ?? null);
61
- }), c = (e) => o[i(212)](e);
50
+ import { useControllableState as r } from "./useControllableState.js";
51
+ var i = (t) => t === void 0 ? void 0 : Array[e(176)](t) ? t : t === null ? [] : [t];
52
+ function a(t) {
53
+ let n = e, a = t[n(178)] === "multiple", [o, s] = r(i(t.value), i(t[n(177)]) ?? [], (e) => {
54
+ let r = n;
55
+ t[r(178)] === "multiple" ? t[r(170)]?.(e) : t[r(170)]?.(e[0] ?? null);
56
+ }), c = (e) => o.includes(e);
62
57
  return {
63
58
  selected: o,
64
59
  setSelected: s,
65
60
  isSelected: c,
66
- toggle: (t) => {
67
- let n = i;
68
- a ? s(c(t) ? o[n(228)]((e) => e !== t) : [...o, t]) : c(t) ? e[n(219)] || s([]) : s([t]);
61
+ toggle: (e) => {
62
+ let r = n;
63
+ a ? s(c(e) ? o.filter((t) => t !== e) : [...o, e]) : c(e) ? t[r(164)] || s([]) : s([e]);
69
64
  },
70
65
  clear: () => s([]),
71
66
  multiple: a