@iamfiro/design 0.3.1 → 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 (161) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/avatar/AGENTS.md +29 -1
  3. package/agents/brand-icon/AGENTS.md +1 -1
  4. package/agents/social-login-button/AGENTS.md +4 -3
  5. package/agents/tooltip/AGENTS.md +1 -1
  6. package/lib/components/Accordion/Accordion2.js +92 -92
  7. package/lib/components/ActionBar/ActionBar2.js +42 -45
  8. package/lib/components/Alert/Alert2.js +77 -77
  9. package/lib/components/AppShell/AppShell2.js +70 -71
  10. package/lib/components/AreaChart/AreaChart.js +32 -35
  11. package/lib/components/BarChart/BarChart2.js +155 -155
  12. package/lib/components/BarList/BarList2.js +93 -93
  13. package/lib/components/Breadcrumb/Breadcrumb2.js +62 -64
  14. package/lib/components/Calendar/Calendar2.js +183 -182
  15. package/lib/components/Calendar/DatePicker2.js +116 -115
  16. package/lib/components/Calendar/date.js +67 -66
  17. package/lib/components/Card/Card2.js +67 -67
  18. package/lib/components/CardFrame/CardFrame2.js +34 -37
  19. package/lib/components/Chart/ChartParts.js +90 -90
  20. package/lib/components/Chart/chart2.js +62 -62
  21. package/lib/components/Chart/useChartInteraction.js +51 -51
  22. package/lib/components/ChatBubble/ChatBubble2.js +117 -117
  23. package/lib/components/ChatBubble/formatChatTime.js +37 -36
  24. package/lib/components/ChatComposer/ChatComposer2.js +55 -55
  25. package/lib/components/CodeBlock/CodeBlock2.js +60 -60
  26. package/lib/components/CodeBlock/highlight.js +72 -72
  27. package/lib/components/ColorPicker/ColorPicker2.js +232 -231
  28. package/lib/components/ColorPicker/color.js +67 -67
  29. package/lib/components/ColorPicker/presets.js +25 -24
  30. package/lib/components/Combobox/Combobox2.js +140 -140
  31. package/lib/components/CommandMenu/CommandMenu.js +135 -135
  32. package/lib/components/Comment/Comment2.js +82 -57
  33. package/lib/components/ContextMenu/ContextMenu2.js +101 -100
  34. package/lib/components/DataGrid/DataGrid2.js +872 -871
  35. package/lib/components/DataGrid/GridPopover.js +98 -98
  36. package/lib/components/DataGrid/anchor.js +34 -33
  37. package/lib/components/DataGrid/model.js +291 -290
  38. package/lib/components/DataGrid/panels.js +337 -336
  39. package/lib/components/DataGrid/typeMeta.js +49 -48
  40. package/lib/components/DataGrid/types.js +34 -33
  41. package/lib/components/DescriptionList/DescriptionList2.js +109 -109
  42. package/lib/components/Dialog/AlertDialog.js +53 -53
  43. package/lib/components/Dialog/Dialog2.js +72 -72
  44. package/lib/components/Dialog/modal.js +67 -68
  45. package/lib/components/Drawer/Drawer2.js +117 -117
  46. package/lib/components/DropdownMenu/DropdownMenu2.js +267 -266
  47. package/lib/components/DropdownMenu/menuCore.js +68 -42
  48. package/lib/components/Dropzone/Dropzone2.js +78 -78
  49. package/lib/components/EmptyState/EmptyState2.js +58 -56
  50. package/lib/components/FileChip/FileChip2.js +72 -48
  51. package/lib/components/FileUpload/FileUpload.js +137 -138
  52. package/lib/components/FilterChips/FilterChips2.js +61 -61
  53. package/lib/components/FunnelChart/FunnelChart2.js +161 -161
  54. package/lib/components/FunnelChart/funnel.js +50 -49
  55. package/lib/components/Highlight/Highlight2.js +56 -56
  56. package/lib/components/HoverCard/HoverCard.js +73 -73
  57. package/lib/components/InlineDiff/InlineDiff2.js +129 -129
  58. package/lib/components/InlineDiff/diff.js +87 -87
  59. package/lib/components/InlineDiff/useDiffReview.js +54 -52
  60. package/lib/components/Kanban/Kanban2.js +383 -384
  61. package/lib/components/Kanban/KanbanCard.js +68 -93
  62. package/lib/components/Kanban/move.js +43 -43
  63. package/lib/components/LineChart/LineChart2.js +164 -164
  64. package/lib/components/List/List2.js +60 -60
  65. package/lib/components/Listbox/Listbox2.js +108 -108
  66. package/lib/components/Marker/Marker2.js +59 -57
  67. package/lib/components/Menubar/Menubar2.js +120 -119
  68. package/lib/components/MultiSelect/MultiSelect2.js +111 -111
  69. package/lib/components/NavigationMenu/NavigationMenu2.js +277 -279
  70. package/lib/components/NoticeStack/NoticeStack2.js +109 -109
  71. package/lib/components/NumberStepper/NumberStepper2.js +70 -70
  72. package/lib/components/OtpInput/OtpInput2.js +94 -94
  73. package/lib/components/Pagination/Pagination2.js +109 -109
  74. package/lib/components/Pagination/paginationRange.js +37 -38
  75. package/lib/components/PhoneInput/PhoneInput.js +83 -84
  76. package/lib/components/PieChart/PieChart2.js +157 -157
  77. package/lib/components/PieChart/arc.js +72 -72
  78. package/lib/components/PieChart/useArcTween.js +50 -53
  79. package/lib/components/Popover/Popover2.js +62 -61
  80. package/lib/components/ProgressTracker/ProgressTracker2.js +104 -104
  81. package/lib/components/Rating/Rating2.js +89 -88
  82. package/lib/components/Resizable/Resizable2.js +133 -134
  83. package/lib/components/Resizable/layout.js +56 -56
  84. package/lib/components/ScaledPreview/ScaledPreview2.js +64 -63
  85. package/lib/components/ScatterChart/ScatterChart2.js +252 -251
  86. package/lib/components/ScatterChart/scatter.js +50 -52
  87. package/lib/components/ScrollArea/ScrollArea2.js +122 -122
  88. package/lib/components/Select/Select2.js +84 -85
  89. package/lib/components/Sidebar/Sidebar2.js +79 -79
  90. package/lib/components/Skeleton/Skeleton2.js +56 -56
  91. package/lib/components/Slider/Slider2.js +63 -63
  92. package/lib/components/SocialLoginButton/SocialLoginButton.js +54 -46
  93. package/lib/components/SparkChart/SparkChart2.js +129 -128
  94. package/lib/components/SparkChart/spark.js +49 -48
  95. package/lib/components/Sparkbar/Sparkbar2.js +59 -58
  96. package/lib/components/SplitView/SplitView2.js +54 -55
  97. package/lib/components/Stat/Stat2.js +59 -59
  98. package/lib/components/StepList/StepList2.js +78 -78
  99. package/lib/components/Table/Table2.js +55 -55
  100. package/lib/components/Tabs/Tabs2.js +76 -76
  101. package/lib/components/TagInput/TagInput2.js +218 -215
  102. package/lib/components/TimePicker/TimePicker2.js +204 -204
  103. package/lib/components/TimePicker/time.js +59 -58
  104. package/lib/components/Timeline/Timeline2.js +179 -179
  105. package/lib/components/Timeline/scale.js +60 -55
  106. package/lib/components/Toast/Toaster.js +103 -103
  107. package/lib/components/Toast/store.js +47 -47
  108. package/lib/components/ToggleGroup/ToggleGroup2.js +77 -77
  109. package/lib/components/Toolbar/Toolbar2.js +138 -138
  110. package/lib/components/Tracker/Tracker2.js +99 -99
  111. package/lib/components/TreeDiagram/TreeDiagram2.js +117 -117
  112. package/lib/components/TreeView/TreeView2.js +145 -145
  113. package/lib/hooks/timing.js +33 -33
  114. package/lib/hooks/useControllableState.js +33 -33
  115. package/lib/hooks/useCountdown.js +54 -55
  116. package/lib/hooks/useDigitInput.js +85 -84
  117. package/lib/hooks/useDismiss.js +55 -55
  118. package/lib/hooks/useElapsed.js +55 -55
  119. package/lib/hooks/useFloating.js +21 -21
  120. package/lib/hooks/useFocusTrap.js +67 -67
  121. package/lib/hooks/usePresence.js +33 -29
  122. package/lib/hooks/usePressToOpen.js +33 -33
  123. package/lib/hooks/useScrollLock.js +54 -55
  124. package/lib/hooks/useSelection.js +54 -48
  125. package/lib/index.js +67 -68
  126. package/lib/primitives/AspectRatio2.js +58 -54
  127. package/lib/primitives/BrandIcon.js +189 -158
  128. package/lib/primitives/ColorDot2.js +52 -51
  129. package/lib/primitives/CopyButton2.js +66 -64
  130. package/lib/primitives/CountBadge2.js +56 -56
  131. package/lib/primitives/Countdown2.js +36 -34
  132. package/lib/primitives/Delta2.js +41 -66
  133. package/lib/primitives/Elapsed.js +32 -32
  134. package/lib/primitives/FileIcon2.js +90 -90
  135. package/lib/primitives/Flag2.js +157 -157
  136. package/lib/primitives/IconStack2.js +60 -58
  137. package/lib/primitives/IconTile2.js +46 -48
  138. package/lib/primitives/Kbd2.js +51 -51
  139. package/lib/primitives/Layout2.js +71 -71
  140. package/lib/primitives/Link2.js +37 -35
  141. package/lib/primitives/MaskedText2.js +71 -75
  142. package/lib/primitives/Progress2.js +72 -72
  143. package/lib/primitives/RelativeTime.js +60 -64
  144. package/lib/primitives/SearchInput2.js +55 -56
  145. package/lib/primitives/SelectorButton2.js +69 -71
  146. package/lib/primitives/Spinner2.js +63 -59
  147. package/lib/primitives/StatusIcon2.js +66 -66
  148. package/lib/primitives/Swatch2.js +54 -56
  149. package/lib/primitives/Tooltip2.js +77 -77
  150. package/lib/primitives/Typography2.js +67 -67
  151. package/lib/primitives/formatCountdown.js +38 -41
  152. package/lib/primitives/formatElapsed.js +41 -40
  153. package/lib/primitives/formatRelativeTime.js +74 -48
  154. package/lib/primitives/hotkey.js +81 -81
  155. package/lib/primitives/index.js +220 -199
  156. package/lib/primitives/maskValue.js +53 -52
  157. package/lib/style.css +1 -1
  158. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  159. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  160. package/lib/types/primitives/index.d.ts +6 -2
  161. package/package.json +1 -1
@@ -2,37 +2,37 @@
2
2
  (function(e, t) {
3
3
  let n = i, r = e();
4
4
  for (;;) try {
5
- if (-parseInt(n(297)) / 1 * (-parseInt(n(318)) / 2) + -parseInt(n(317)) / 3 + -parseInt(n(306)) / 4 * (-parseInt(n(315)) / 5) + parseInt(n(308)) / 6 * (parseInt(n(295)) / 7) + parseInt(n(307)) / 8 * (-parseInt(n(303)) / 9) + -parseInt(n(304)) / 10 + parseInt(n(314)) / 11 == t) break;
5
+ if (-parseInt(n(424)) / 1 * (-parseInt(n(407)) / 2) + -parseInt(n(416)) / 3 * (parseInt(n(412)) / 4) + parseInt(n(399)) / 5 * (-parseInt(n(422)) / 6) + -parseInt(n(423)) / 7 * (-parseInt(n(402)) / 8) + parseInt(n(419)) / 9 * (-parseInt(n(410)) / 10) + -parseInt(n(406)) / 11 + -parseInt(n(415)) / 12 * (-parseInt(n(411)) / 13) == t) break;
6
6
  r.push(r.shift());
7
7
  } catch {
8
8
  r.push(r.shift());
9
9
  }
10
- })(a, 354952);
10
+ })(a, 514362);
11
11
  import { useLayoutEffect as e, useState as t } from "react";
12
12
  var n = 8;
13
13
  function r(r, a, o = {}) {
14
- let s = i, { offset: c = 6, matchWidth: l = !0, maxHeight: u = 300, align: d = s(313), panelRef: f } = o, [p, m] = t({
15
- position: "fixed",
16
- visibility: s(291)
17
- }), [h, g] = t("bottom");
14
+ let s = i, { offset: c = 6, matchWidth: l = !0, maxHeight: u = 300, align: d = s(409), panelRef: f } = o, [p, m] = t({
15
+ position: s(401),
16
+ visibility: "hidden"
17
+ }), [h, g] = t(s(417));
18
18
  return e(() => {
19
19
  let e = s;
20
20
  if (!a) return;
21
21
  let t = () => {
22
- let e = i, t = r[e(309)];
22
+ let e = i, t = r[e(404)];
23
23
  if (!t) return;
24
- let a = t.getBoundingClientRect(), o = window[e(294)] - a[e(298)] - c - n, s = a[e(312)] - c - n, p = o < Math[e(301)](u, 180) && s > o, h = l ? a[e(310)] : void 0, _ = h ?? f?.[e(309)]?.[e(302)] ?? 0, v = d === e(289) ? a[e(319)] - _ : d === e(290) ? a.left + (a[e(310)] - _) / 2 : a[e(296)], y = Math[e(300)](n, Math[e(301)](v, window[e(293)] - _ - n));
25
- g(e(p ? 312 : 298)), m({
26
- position: e(311),
24
+ let a = t[e(405)](), o = window[e(400)] - a[e(417)] - c - n, s = a[e(425)] - c - n, p = o < Math[e(398)](u, 180) && s > o, h = l ? a[e(421)] : void 0, _ = h ?? f?.[e(404)]?.offsetWidth ?? 0, v = d === "end" ? a.right - _ : d === e(403) ? a.left + (a[e(421)] - _) / 2 : a[e(414)], y = Math.max(n, Math[e(398)](v, window.innerWidth - _ - n));
25
+ g(p ? "top" : e(417)), m({
26
+ position: e(401),
27
27
  left: y,
28
28
  width: h,
29
- maxHeight: Math[e(300)](120, Math[e(301)](u, p ? s : o)),
30
- ...p ? { bottom: window.innerHeight - a[e(312)] + c } : { top: a.bottom + c }
29
+ maxHeight: Math[e(413)](120, Math.min(u, p ? s : o)),
30
+ ...p ? { bottom: window[e(400)] - a.top + c } : { top: a.bottom + c }
31
31
  });
32
32
  };
33
- return t(), window[e(305)](e(292), t), window.addEventListener(e(299), t, !0), () => {
33
+ return t(), window[e(418)](e(408), t), window[e(418)](e(426), t, !0), () => {
34
34
  let n = e;
35
- window[n(316)]("resize", t), window[n(316)](n(299), t, !0);
35
+ window[n(420)](n(408), t), window[n(420)]("scroll", t, !0);
36
36
  };
37
37
  }, [
38
38
  a,
@@ -48,22 +48,22 @@ function r(r, a, o = {}) {
48
48
  };
49
49
  }
50
50
  function i(e, t) {
51
- e -= 289;
51
+ e -= 398;
52
52
  let n = a(), r = n[e];
53
- i.ApGFCH === void 0 && (i.qdKTkU = function(e) {
53
+ i.KljUhR === void 0 && (i.CqJGBl = function(e) {
54
54
  let t = "", n = "";
55
55
  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);
56
56
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
57
57
  return decodeURIComponent(n);
58
- }, i.RyxQeb = {}, i.ApGFCH = !0);
58
+ }, i.lSaVQE = {}, i.KljUhR = !0);
59
59
  let o = n[0];
60
- i.VHUPao !== o && (i.RyxQeb = {}, i.VHUPao = o);
61
- let s = i.RyxQeb[e];
62
- return s === void 0 ? (r = i.qdKTkU(r), i.RyxQeb[e] = r) : r = s, r;
60
+ i.KVCwxM !== o && (i.lSaVQE = {}, i.KVCwxM = o);
61
+ let s = i.lSaVQE[e];
62
+ return s === void 0 ? (r = i.CqJGBl(r), i.lSaVQE[e] = r) : r = s, r;
63
63
  }
64
64
  export { r as useFloating };
65
65
  function a() {
66
- let e = /* @__PURE__ */ "mtKXmtD6yM1AyKS.BgvMDa.mwPVDeDYuq.yM90Dg9T.C2nYB2XS.Bwf4.BwLU.B2zMC2v0v2LKDgG.oxbPqxfsqW.nZaYmdCWmezxrNztyG.ywrKrxzLBNrmAxn0zw5LCG.mtKZmZuYy0zzA1P5.ntiWntaXnLzOC3fdwa.nZG2q2HZrurL.y3vYCMvUDa.D2LKDgG.zML4zwq.Dg9W.C3rHCNq.nJa2ndi1nMHgywzLza.mJv3zfzqvMK.CMvTB3zLrxzLBNrmAxn0zw5LCG.mZqYnJe4BMThuKjz.mtm0mJiXnKPYALzlzq.CMLNAhq.zw5K.y2vUDgvY.AgLKzgvU.CMvZAxPL.Aw5UzxjxAwr0Aa.Aw5UzxjizwLNAhq".split(".");
66
+ let e = /* @__PURE__ */ "mteXodC0nfzmBg1Qyq.y2vUDgvY.y3vYCMvUDa.z2v0qM91BMrPBMDdBgLLBNrszwn0.mteYndGYmdrzDxPOyuy.nZi0qKrIz21O.CMvZAxPL.C3rHCNq.mtbUqM9bveG.mJmYndy2DuXZtvb1.mtC5mJCYogrStM1Wzq.Bwf4.BgvMDa.mtyZmKD5uxrMzG.m2noBuvzzW.yM90Dg9T.ywrKrxzLBNrmAxn0zw5LCG.nZu5nZe0m1jty1r2va.CMvTB3zLrxzLBNrmAxn0zw5LCG.D2LKDgG.nLLPAwD6EG.mtrrA0TYEKq.ndi0BKTVBNLe.Dg9W.C2nYB2XS.BwLU.mtC5ndu1r0D4sgzL.Aw5UzxjizwLNAhq.zML4zwq".split(".");
67
67
  return a = function() {
68
68
  return e;
69
69
  }, a();
@@ -1,85 +1,85 @@
1
1
  "use client";
2
2
  const e = a;
3
- function t() {
4
- let e = [
5
- "mJyWnta4zunRDxbh",
6
- "BgvUz3rO",
7
- "ChjLDMvUDerLzMf1Bhq",
8
- "mtC2nZaWrgTLv29P",
9
- "A2v5",
10
- "mZy4mZD2AfnVz2K",
11
- "A2v5zg93BG",
12
- "ofPVugPvDW",
13
- "CMvTB3zLrxzLBNrmAxn0zw5LCG",
14
- "w2LUzxj0xq",
15
- "C2HPzNrlzxK",
16
- "nZiXndvnu3PHvuC",
17
- "vgfI",
18
- "mZi5ndaXmwTyquHSCG",
19
- "mtu5nZCXnMfJEenbyq",
20
- "zMLSDgvY",
21
- "nJyYnZe1C0DvDwXk",
22
- "y3vYCMvUDa",
23
- "y2XVC2vZDa",
24
- "ywn0AxzLrwXLBwvUDa",
25
- "ota0q0L5zwf2",
26
- "zM9JDxm",
27
- "CxvLCNLtzwXLy3rVCKfSBa"
28
- ];
29
- return t = function() {
30
- return e;
31
- }, t();
32
- }
33
3
  (function(e, t) {
34
4
  let n = a, r = e();
35
5
  for (;;) try {
36
- if (-parseInt(n(473)) / 1 * (parseInt(n(469)) / 2) + parseInt(n(478)) / 3 + parseInt(n(476)) / 4 + -parseInt(n(465)) / 5 + parseInt(n(462)) / 6 + -parseInt(n(475)) / 7 + -parseInt(n(459)) / 8 * (-parseInt(n(467)) / 9) == t) break;
6
+ if (parseInt(n(360)) / 1 * (parseInt(n(380)) / 2) + parseInt(n(368)) / 3 + parseInt(n(363)) / 4 + -parseInt(n(362)) / 5 + -parseInt(n(376)) / 6 * (parseInt(n(373)) / 7) + -parseInt(n(377)) / 8 + parseInt(n(365)) / 9 * (-parseInt(n(369)) / 10) == t) break;
37
7
  r.push(r.shift());
38
8
  } catch {
39
9
  r.push(r.shift());
40
10
  }
41
- })(t, 331768);
42
- import { useEffect as n } from "react";
43
- var r = "a[href], button:not([disabled]), input:not([disabled]):not([type=\"hidden\"]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"]", i = (t) => [...t[e(461)](r)][e(477)]((t) => !t[e(480)](e(471)) && t.offsetParent !== null);
44
- function a(e, n) {
45
- e -= 459;
46
- let r = t(), i = r[e];
47
- a.sUyvjB === void 0 && (a.quDdFg = function(e) {
48
- let t = "", n = "";
49
- 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);
50
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
51
- return decodeURIComponent(n);
52
- }, a.MTMpnR = {}, a.sUyvjB = !0);
53
- let o = r[0];
54
- a.AcprJb !== o && (a.MTMpnR = {}, a.AcprJb = o);
55
- let s = a.MTMpnR[e];
56
- return s === void 0 ? (i = a.quDdFg(i), a.MTMpnR[e] = i) : i = s, i;
57
- }
58
- function o(e, t, r) {
59
- n(() => {
60
- let n = a, o = e[n(479)];
61
- if (!t || !o) return;
62
- let s = document[n(481)];
63
- (r?.[n(479)] ?? i(o)[0] ?? o).focus({ preventScroll: !0 });
11
+ })(o, 252497);
12
+ import { useEffect as t } from "react";
13
+ var n = e(367), r = (t) => [...t[e(371)](n)].filter((t) => !t.closest("[inert]") && t[e(370)] !== null);
14
+ function i(e, n, i) {
15
+ t(() => {
16
+ let t = a, o = e[t(366)];
17
+ if (!n || !o) return;
18
+ let s = document[t(372)];
19
+ (i?.[t(366)] ?? r(o)[0] ?? o)[t(379)]({ preventScroll: !0 });
64
20
  let c = (e) => {
65
- let t = n;
66
- if (e[t(466)] !== t(474)) return;
67
- let r = i(o);
68
- if (!r[t(463)]) {
69
- e[t(464)]();
21
+ let n = t;
22
+ if (e.key !== n(364)) return;
23
+ let i = r(o);
24
+ if (!i[n(382)]) {
25
+ e[n(381)]();
70
26
  return;
71
27
  }
72
- let a = r[0], s = r[r[t(463)] - 1];
73
- e.shiftKey && (document.activeElement === a || !o.contains(document.activeElement)) ? (e[t(464)](), s[t(460)]()) : !e[t(472)] && document[t(481)] === s && (e.preventDefault(), a[t(460)]());
28
+ let a = i[0], s = i[i.length - 1];
29
+ e[n(374)] && (document.activeElement === a || !o[n(378)](document[n(372)])) ? (e[n(381)](), s[n(379)]()) : !e[n(374)] && document.activeElement === s && (e.preventDefault(), a[n(379)]());
74
30
  };
75
- return document.addEventListener(n(468), c), () => {
76
- let e = n;
77
- document[e(470)]("keydown", c), s && (document[e(481)] === document.body || o.contains(document[e(481)])) && s[e(460)]({ preventScroll: !0 });
31
+ return document.addEventListener(t(361), c), () => {
32
+ let e = t;
33
+ document.removeEventListener(e(361), c), s && (document[e(372)] === document[e(375)] || o[e(378)](document.activeElement)) && s[e(379)]({ preventScroll: !0 });
78
34
  };
79
35
  }, [
80
- t,
36
+ n,
81
37
  e,
82
- r
38
+ i
83
39
  ]);
84
40
  }
85
- export { i as focusableIn, o as useFocusTrap };
41
+ export { r as focusableIn, i as useFocusTrap };
42
+ function a(e, t) {
43
+ e -= 360;
44
+ let n = o(), r = n[e];
45
+ a.kebSsh === void 0 && (a.qcnGXI = function(e) {
46
+ let t = "", n = "";
47
+ 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);
48
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
49
+ return decodeURIComponent(n);
50
+ }, a.wspjqu = {}, a.kebSsh = !0);
51
+ let i = n[0];
52
+ a.jdCIac !== i && (a.wspjqu = {}, a.jdCIac = i);
53
+ let s = a.wspjqu[e];
54
+ return s === void 0 ? (r = a.qcnGXI(r), a.wspjqu[e] = r) : r = s, r;
55
+ }
56
+ function o() {
57
+ let e = [
58
+ "ywn0AxzLrwXLBwvUDa",
59
+ "mZe0mdjPtffcqLa",
60
+ "C2HPzNrlzxK",
61
+ "yM9KEq",
62
+ "ndyYu1jgt3bq",
63
+ "mtuYndG0mg9NDe9OzG",
64
+ "y29UDgfPBNm",
65
+ "zM9JDxm",
66
+ "nZe2ndi2yNbgCxDH",
67
+ "ChjLDMvUDerLzMf1Bhq",
68
+ "BgvUz3rO",
69
+ "mvvfCvjnAW",
70
+ "A2v5zg93BG",
71
+ "nta4otqWAg51rhLA",
72
+ "mte1nJCXmLjluxv5yG",
73
+ "vgfI",
74
+ "ntGYm1zcthrTvW",
75
+ "y3vYCMvUDa",
76
+ "yvTOCMvMxsWGyNv0Dg9UoM5VDcHBzgLZywjSzwrDksWGAw5WDxq6BM90kfTKAxnHyMXLzf0PoM5VDcHBDhLWzt0IAgLKzgvUiL0PlcbZzwXLy3q6BM90kfTKAxnHyMXLzf0Plcb0zxH0yxjLytPUB3qOw2rPC2fIBgvKxsKSifT0ywjPBMrLEf06BM90kfT0ywjPBMrLEd0IlteIxsKSifTJB250zw50zwrPDgfIBgu9iNrYDwuIxq",
77
+ "mta5mtCZmgf5v21mra",
78
+ "mtG3mgHyB1DisG",
79
+ "B2zMC2v0ugfYzw50",
80
+ "CxvLCNLtzwXLy3rVCKfSBa"
81
+ ];
82
+ return o = function() {
83
+ return e;
84
+ }, o();
85
+ }
@@ -2,55 +2,59 @@
2
2
  (function(e, t) {
3
3
  let n = r, i = e();
4
4
  for (;;) try {
5
- if (-parseInt(n(198)) / 1 + -parseInt(n(199)) / 2 + -parseInt(n(206)) / 3 * (parseInt(n(203)) / 4) + parseInt(n(202)) / 5 + -parseInt(n(197)) / 6 * (parseInt(n(201)) / 7) + parseInt(n(205)) / 8 * (-parseInt(n(204)) / 9) + parseInt(n(200)) / 10 == t) break;
5
+ if (parseInt(n(321)) / 1 * (parseInt(n(327)) / 2) + parseInt(n(320)) / 3 * (-parseInt(n(326)) / 4) + parseInt(n(328)) / 5 + -parseInt(n(322)) / 6 * (parseInt(n(318)) / 7) + parseInt(n(323)) / 8 + -parseInt(n(319)) / 9 + -parseInt(n(316)) / 10 * (-parseInt(n(317)) / 11) == t) break;
6
6
  i.push(i.shift());
7
7
  } catch {
8
8
  i.push(i.shift());
9
9
  }
10
- })(i, 294829);
10
+ })(i, 811899);
11
11
  import { useEffect as e, useState as t } from "react";
12
- function n(n, r = 160) {
13
- let [i, a] = t(n);
14
- return n && !i && a(!0), e(() => {
15
- if (n || !i) return;
16
- let e = window.setTimeout(() => a(!1), r);
17
- return () => window.clearTimeout(e);
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(325)](() => o(!1), i);
18
+ return () => window[e(324)](t);
18
19
  }, [
19
20
  n,
20
- i,
21
- r
21
+ a,
22
+ i
22
23
  ]), {
23
- mounted: n || i,
24
- closing: !n && i
24
+ mounted: n || a,
25
+ closing: !n && a
25
26
  };
26
27
  }
28
+ export { n as usePresence };
27
29
  function r(e, t) {
28
- e -= 197;
30
+ e -= 316;
29
31
  let n = i(), a = n[e];
30
- r.rGhIyr === void 0 && (r.OdXmBP = function(e) {
32
+ r.YNdcvZ === void 0 && (r.CvjLkl = function(e) {
31
33
  let t = "", n = "";
32
34
  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);
33
35
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
34
36
  return decodeURIComponent(n);
35
- }, r.IugABf = {}, r.rGhIyr = !0);
37
+ }, r.zIyhTj = {}, r.YNdcvZ = !0);
36
38
  let o = n[0];
37
- r.DHThdv !== o && (r.IugABf = {}, r.DHThdv = o);
38
- let s = r.IugABf[e];
39
- return s === void 0 ? (a = r.OdXmBP(a), r.IugABf[e] = a) : a = s, a;
39
+ r.mUjINi !== o && (r.zIyhTj = {}, r.mUjINi = o);
40
+ let s = r.zIyhTj[e];
41
+ return s === void 0 ? (a = r.CvjLkl(a), r.zIyhTj[e] = a) : a = s, a;
40
42
  }
41
- export { n as usePresence };
42
43
  function i() {
43
44
  let e = [
44
- "nZa4sgPAAezo",
45
- "ntm2nZjQCeD0EK0",
46
- "mte3mdG4BM5bBKPN",
47
- "mta4mJCWmZbPEg9hCw4",
48
- "mtG5nJnwuMTArxa",
49
- "mtqWmdyZnxvtq3frtW",
50
- "mZm3mtjSwvjpwgC",
51
- "ndCZotaZmuXtv0Hrra",
52
- "ohHYAezuDa",
53
- "mZLNrhDICvq"
45
+ "C2v0vgLTzw91Da",
46
+ "mtq0tenXC0Hx",
47
+ "mtu4odqZmKr4rvr2sa",
48
+ "mtK2mdm4nwXcwwDpEq",
49
+ "mte0nJe2mZb3u2fUs08",
50
+ "mtfbtMfzqxe",
51
+ "mJq5nti4m1Dxy3fytq",
52
+ "nta3otG3oxvxyuv4vq",
53
+ "mtaWndq2y1DcwMPu",
54
+ "mvLpANPWuq",
55
+ "nK1xBu9nBa",
56
+ "ndG0ntu2mg1TCg5KwG",
57
+ "y2XLyxjuAw1LB3v0"
54
58
  ];
55
59
  return i = function() {
56
60
  return e;
@@ -1,70 +1,70 @@
1
1
  "use client";
2
2
  (function(e, t) {
3
- let n = a, r = e();
3
+ let n = i, r = e();
4
4
  for (;;) try {
5
- if (-parseInt(n(404)) / 1 + -parseInt(n(402)) / 2 + -parseInt(n(394)) / 3 + parseInt(n(403)) / 4 + -parseInt(n(390)) / 5 * (-parseInt(n(405)) / 6) + -parseInt(n(392)) / 7 + parseInt(n(387)) / 8 == t) break;
5
+ if (-parseInt(n(296)) / 1 + -parseInt(n(276)) / 2 + -parseInt(n(277)) / 3 * (-parseInt(n(280)) / 4) + parseInt(n(282)) / 5 * (-parseInt(n(293)) / 6) + -parseInt(n(284)) / 7 + -parseInt(n(298)) / 8 * (-parseInt(n(271)) / 9) + parseInt(n(278)) / 10 == t) break;
6
6
  r.push(r.shift());
7
7
  } catch {
8
8
  r.push(r.shift());
9
9
  }
10
- })(r, 145077);
10
+ })(a, 128290);
11
11
  import { TIMING as e } from "./timing.js";
12
12
  import { useEffect as t, useRef as n } from "react";
13
- function r() {
14
- let e = /* @__PURE__ */ "y2XPzw50wq.zhjHz1rOCMvZAg9Sza.Cg9PBNrLCM1VDMu.z2v0qxr0CMLIDxrL.AhLWB3q.y3vYCMvUDa.Aw5KzxG.zgv0ywLS.y2XPzw50wa.Cg9PBNrLCLr5Cgu.Bw91C2u.y29UDgfPBNm.ywrKrxzLBNrmAxn0zw5LCG.mZK0mdu3nNzWs2nqCW.DhLWzq.CMvTB3zLrxzLBNrmAxn0zw5LCG.ode0ote1u3HzzLDO.y2XVC2vZDa.mtiXnJy2m0PvALH1DG.Cg9PBNrLCNvW.ntiZndC5C1PnBNPr.zwXLBwvUDezYB21qB2LUDa.Dhj1zq.B25szwXLyxnL.w3jVBgu9iM9WDgLVBIjDw2rHDgeTAw5KzxHD.yNv0Dg9U.Cg9PBNrLCMnHBMnLBa.yxjPys1KAxnHyMXLza.nteWmdy4uLn5Chvy.odK0mZGWq2XOvfHm.mtmWnZm3wfbet1fh.nM5JweHcvq".split(".");
15
- return r = function() {
16
- return e;
17
- }, r();
18
- }
19
- function i({ open: r, onOpen: i, onClose: o, panelRef: s, onRelease: c, disabled: l }) {
13
+ function r({ open: r, onOpen: a, onClose: o, panelRef: s, onRelease: c, disabled: l }) {
20
14
  let u = n(""), d = n({
21
15
  panelRef: s,
22
16
  onRelease: c
23
17
  });
24
18
  return t(() => {
25
- let e = a;
26
- d[e(411)] = {
19
+ let e = i;
20
+ d[e(291)] = {
27
21
  panelRef: s,
28
22
  onRelease: c
29
23
  };
30
24
  }), {
31
25
  onPointerDown: (t) => {
32
- let n = a;
33
- if (u[n(411)] = t[n(383)], l || t[n(383)] !== n(384) || t[n(399)] !== 0) return;
26
+ let n = i;
27
+ if (u[n(291)] = t[n(281)], l || t[n(281)] !== "mouse" || t[n(300)] !== 0) return;
34
28
  if (r) return o();
35
- i();
29
+ a();
36
30
  let s = {
37
- x: t[n(382)],
38
- y: t[n(406)]
31
+ x: t[n(287)],
32
+ y: t.clientY
39
33
  }, c = !1, f = (t) => {
40
34
  let r = n;
41
- Math[r(410)](t[r(382)] - s.x, t[r(406)] - s.y) > e[r(407)] && (c = !0);
35
+ Math[r(295)](t.clientX - s.x, t[r(272)] - s.y) > e[r(270)] && (c = !0);
42
36
  }, p = (e) => {
43
37
  let t = n;
44
- if (document[t(389)](t(408), f), document[t(389)](t(393), p), document[t(389)](t(400), p), !c || e[t(388)] === t(400)) return;
45
- let r = document[t(395)](e[t(382)], e[t(406)])?.[t(391)](t(398));
46
- r && d.current.panelRef[t(411)]?.[t(385)](r) && r[t(409)](t(401)) !== t(396) && d[t(411)][t(397)](Number(r.dataset[t(412)]));
38
+ if (document[t(290)](t(289), f), document[t(290)](t(283), p), document[t(290)](t(285), p), !c || e.type === t(285)) return;
39
+ let r = document.elementFromPoint(e[t(287)], e[t(272)])?.closest("[role=\"option\"][data-index]");
40
+ r && d[t(291)][t(273)][t(291)]?.contains(r) && r[t(288)](t(279)) !== t(275) && d[t(291)][t(297)](Number(r[t(294)][t(274)]));
47
41
  };
48
- document[n(386)](n(408), f), document[n(386)](n(393), p), document[n(386)]("pointercancel", p);
42
+ document[n(292)](n(289), f), document[n(292)](n(283), p), document[n(292)]("pointercancel", p);
49
43
  },
50
44
  onClick: (e) => {
51
- let t = a;
52
- (e[t(413)] === 0 || u[t(411)] !== t(384)) && (r ? o() : i());
45
+ let t = i;
46
+ (e[t(299)] === 0 || u.current !== t(286)) && (r ? o() : a());
53
47
  }
54
48
  };
55
49
  }
56
- function a(e, t) {
57
- e -= 382;
58
- let n = r(), i = n[e];
59
- a.TkrWgw === void 0 && (a.XEdUhX = function(e) {
50
+ function i(e, t) {
51
+ e -= 270;
52
+ let n = a(), r = n[e];
53
+ i.RczWdd === void 0 && (i.AulazW = function(e) {
60
54
  let t = "", n = "";
61
55
  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);
62
56
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
63
57
  return decodeURIComponent(n);
64
- }, a.SXNRWg = {}, a.TkrWgw = !0);
58
+ }, i.vWTqET = {}, i.RczWdd = !0);
65
59
  let o = n[0];
66
- a.Izmfcs !== o && (a.SXNRWg = {}, a.Izmfcs = o);
67
- let s = a.SXNRWg[e];
68
- return s === void 0 ? (i = a.XEdUhX(i), a.SXNRWg[e] = i) : i = s, i;
60
+ i.FrxWln !== o && (i.vWTqET = {}, i.FrxWln = o);
61
+ let s = i.vWTqET[e];
62
+ return s === void 0 ? (r = i.AulazW(r), i.vWTqET[e] = r) : r = s, r;
63
+ }
64
+ function a() {
65
+ let e = /* @__PURE__ */ "Aw5KzxG.Dhj1zq.ndaYnJq2CvHNru1T.nK9My0Xrrq.nte5ntu4mfzJugjjBG.yxjPys1KAxnHyMXLza.mJi3nZi0sNb1DuDp.Cg9PBNrLCLr5Cgu.mtmWu1vOEhvv.Cg9PBNrLCNvW.mte5ntu4nMj0A21MuW.Cg9PBNrLCMnHBMnLBa.Bw91C2u.y2XPzw50wa.z2v0qxr0CMLIDxrL.Cg9PBNrLCM1VDMu.CMvTB3zLrxzLBNrmAxn0zw5LCG.y3vYCMvUDa.ywrKrxzLBNrmAxn0zw5LCG.ndK4mdztz2P5whe.zgf0yxnLDa.AhLWB3q.nty4mJLtse9tt00.B25szwXLyxnL.mZi4CvrmvLzP.zgv0ywLS.yNv0Dg9U.zhjHz1rOCMvZAg9Sza.mZa2ntr2B3jMtu4.y2XPzw50wq.CgfUzwXszwy".split(".");
66
+ return a = function() {
67
+ return e;
68
+ }, a();
69
69
  }
70
- export { i as usePressToOpen };
70
+ export { r as usePressToOpen };
@@ -1,71 +1,70 @@
1
1
  "use client";
2
- (function(e, n) {
3
- for (var r = t, i = e();;) try {
4
- if (parseInt(r(178)) / 1 * (parseInt(r(176)) / 2) + -parseInt(r(190)) / 3 + parseInt(r(180)) / 4 * (parseInt(r(185)) / 5) + -parseInt(r(179)) / 6 * (-parseInt(r(188)) / 7) + -parseInt(r(181)) / 8 + parseInt(r(189)) / 9 + -parseInt(r(175)) / 10 == n) break;
5
- i.push(i.shift());
2
+ (function(e, t) {
3
+ for (var n = i, r = e();;) try {
4
+ if (parseInt(n(144)) / 1 + -parseInt(n(140)) / 2 + parseInt(n(147)) / 3 * (parseInt(n(148)) / 4) + -parseInt(n(142)) / 5 + -parseInt(n(139)) / 6 + -parseInt(n(137)) / 7 * (parseInt(n(149)) / 8) + -parseInt(n(146)) / 9 * (parseInt(n(143)) / 10) == t) break;
5
+ r.push(r.shift());
6
6
  } catch {
7
- i.push(i.shift());
7
+ r.push(r.shift());
8
8
  }
9
- })(e, 477774);
10
- function e() {
11
- var t = [
12
- "mtu4mZm1mgP2ywr6Ba",
13
- "C3r5Bgu",
14
- "mxnNz3Lurq",
15
- "mZbvENb0A2G",
16
- "nZzxqNjcAhy",
17
- "mJq1mdq0mfjgBgjxwq",
18
- "yM9KEq",
9
+ })(r, 361227);
10
+ import { useEffect as e } from "react";
11
+ var t = 0, n = {
12
+ overflow: "",
13
+ paddingRight: ""
14
+ };
15
+ function r() {
16
+ var e = [
17
+ "mtrqvwjnELO",
18
+ "zg9JDw1LBNrfBgvTzw50",
19
+ "mtyYntGYnLbeC0XTAW",
20
+ "nda5nJjdy1zdwvy",
21
+ "CgfKzgLUz1jPz2H0",
22
+ "odK5mZm1vxDiu1Lk",
23
+ "mJu3mZKWvKvLz1v6",
24
+ "ntC5mtiYExPhAwHN",
19
25
  "AgLKzgvU",
26
+ "ovvZwuPeqW",
27
+ "mtaXmZq4n3HZDNbsuG",
28
+ "nfPWAunera",
29
+ "mJm0nJy0sNfpq3P2",
30
+ "C3r5Bgu",
20
31
  "Aw5UzxjxAwr0Aa",
21
- "nJa2ntbpvfvQqLO",
22
- "y2XPzw50v2LKDgG",
23
- "B3zLCMzSB3C",
24
- "nJe5oteZCvr5zffd",
25
- "nJu5mJK5nwr5vM1AEq",
26
- "nZy2mJmZv0fmtwDk",
27
- "CgfKzgLUz1jPz2H0",
28
- "zg9JDw1LBNrfBgvTzw50",
29
- "mte1odaWntbyz0TqzwG"
32
+ "yM9KEq",
33
+ "B3zLCMzSB3C"
30
34
  ];
31
- return e = function() {
32
- return t;
33
- }, e();
35
+ return r = function() {
36
+ return e;
37
+ }, r();
34
38
  }
35
- function t(n, r) {
36
- n -= 174;
37
- var i = e(), a = i[n];
38
- t.bTCgVH === void 0 && (t.UYasjV = function(e) {
39
+ function i(e, t) {
40
+ e -= 135;
41
+ var n = r(), a = n[e];
42
+ i.oFGfuG === void 0 && (i.uNApkJ = function(e) {
39
43
  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);
40
44
  for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
41
45
  return decodeURIComponent(r);
42
- }, t.qklqHo = {}, t.bTCgVH = !0);
43
- var o = i[0];
44
- t.wtgIZC !== o && (t.qklqHo = {}, t.wtgIZC = o);
45
- var s = t.qklqHo[n];
46
- return s === void 0 ? (a = t.UYasjV(a), t.qklqHo[n] = a) : a = s, a;
46
+ }, i.NrvrOE = {}, i.oFGfuG = !0);
47
+ var o = n[0];
48
+ i.UfsysW !== o && (i.NrvrOE = {}, i.UfsysW = o);
49
+ var s = i.NrvrOE[e];
50
+ return s === void 0 ? (a = i.uNApkJ(a), i.NrvrOE[e] = a) : a = s, a;
47
51
  }
48
- import { useEffect as n } from "react";
49
- var r = 0, i = {
50
- overflow: "",
51
- paddingRight: ""
52
- };
53
- function a(e) {
54
- n(() => {
55
- var n = t;
56
- if (!e) return;
57
- let a = document[n(182)];
58
- if (r++ === 0) {
59
- let e = window[n(184)] - document[n(174)][n(186)];
60
- i = {
61
- overflow: a[n(177)][n(187)],
62
- paddingRight: a.style[n(191)]
63
- }, a[n(177)][n(187)] = n(183), e > 0 && (a[n(177)].paddingRight = e + "px");
52
+ function a(r) {
53
+ e(() => {
54
+ var e = i;
55
+ if (!r) return;
56
+ let a = document[e(135)];
57
+ if (t++ === 0) {
58
+ let t = window[e(151)] - document[e(138)].clientWidth;
59
+ n = {
60
+ overflow: a[e(150)][e(136)],
61
+ paddingRight: a[e(150)][e(141)]
62
+ }, a[e(150)][e(136)] = e(145), t > 0 && (a.style[e(141)] = t + "px");
64
63
  }
65
64
  return () => {
66
- var e = n;
67
- --r === 0 && (a[e(177)].overflow = i[e(187)], a.style.paddingRight = i.paddingRight);
65
+ var r = e;
66
+ --t === 0 && (a[r(150)][r(136)] = n[r(136)], a[r(150)][r(141)] = n[r(141)]);
68
67
  };
69
- }, [e]);
68
+ }, [r]);
70
69
  }
71
70
  export { a as useScrollLock };