@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
@@ -1,72 +1,73 @@
1
1
  "use client";
2
- const e = i;
3
- (function(e, t) {
4
- let n = i, r = e();
5
- for (;;) try {
6
- if (-parseInt(n(238)) / 1 * (-parseInt(n(232)) / 2) + -parseInt(n(239)) / 3 + -parseInt(n(235)) / 4 * (parseInt(n(234)) / 5) + -parseInt(n(233)) / 6 * (-parseInt(n(231)) / 7) + parseInt(n(226)) / 8 + -parseInt(n(221)) / 9 * (-parseInt(n(222)) / 10) + -parseInt(n(223)) / 11 * (parseInt(n(230)) / 12) == t) break;
7
- r.push(r.shift());
8
- } catch {
9
- r.push(r.shift());
10
- }
11
- })(t, 912199);
2
+ function e(n, r) {
3
+ n -= 160;
4
+ let i = t(), a = i[n];
5
+ e.XwHzWS === void 0 && (e.YAAJUc = function(e) {
6
+ let t = "", n = "";
7
+ 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
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
9
+ return decodeURIComponent(n);
10
+ }, e.IBdzIZ = {}, e.XwHzWS = !0);
11
+ let o = i[0];
12
+ e.iqSGoN !== o && (e.IBdzIZ = {}, e.iqSGoN = o);
13
+ let s = e.IBdzIZ[n];
14
+ return s === void 0 ? (a = e.YAAJUc(a), e.IBdzIZ[n] = a) : a = s, a;
15
+ }
12
16
  function t() {
13
17
  let e = [
14
- "mZK2mdy2mfvWzvH0vq",
15
- "nfnby0nHrG",
16
- "Bwf4",
18
+ "mJi2nJu2m0rdteDQyW",
17
19
  "BwLU",
18
- "nty3nZKWBhf5yxvV",
19
- "mtm0nJm0m1fZuenIBq",
20
- "ovDmuKnlvG",
21
- "mtaYnJK1ntbxDeLKD1u",
22
- "mtG3zKrvvvzi",
20
+ "ogD1EfjrBW",
21
+ "mtbPzuvoyw0",
22
+ "mJK0mdu1m3HquvrZAG",
23
23
  "BwfW",
24
- "zNjVBq",
25
- "nJq1mJu1mLHRsKHQqG",
26
24
  "DMfSDwu",
25
+ "CMvKDwnL",
26
+ "mJq0odm2Du1QtwTf",
27
+ "ohzry3PYqW",
28
+ "odK1mZy4nKfwvgrMAW",
29
+ "Bwf4",
30
+ "mJC4mJCWq0jivxn6",
27
31
  "y29KzvbVAw50qxq",
32
+ "mtuWvLbfBw1k",
33
+ "mtj3zMvQAKe",
28
34
  "zMLYC3q",
29
- "mta2ndu1nKfuAwHpBq",
30
- "ndG0ndKWm0HSDvbZta",
31
- "nfr4DK9Tsq",
32
- "nK5ZD2PdrG"
35
+ "odrluhDwB2G",
36
+ "mZu4nZaZCeTYD1n2",
37
+ "odqXntq3DvbWwuHw"
33
38
  ];
34
39
  return t = function() {
35
40
  return e;
36
41
  }, t();
37
42
  }
38
- function n(e, t) {
39
- let n = i, r = e[0]?.[n(227)] ?? 0;
40
- return e[n(224)]((i, a) => {
41
- let o = n, s = Math[o(236)](0, i[o(227)]), c = a ? Math[o(236)](0, e[a - 1][o(227)]) : s, l = a === 0 ? 1 : r > 0 ? s / r : 0, u = a === 0 ? 1 : c > 0 ? s / c : 0, d = a ? Math[o(236)](0, c - s) : 0;
43
+ const n = e;
44
+ (function(t, n) {
45
+ let r = e, i = t();
46
+ for (;;) try {
47
+ if (parseInt(r(160)) / 1 * (parseInt(r(164)) / 2) + parseInt(r(170)) / 3 * (-parseInt(r(177)) / 4) + -parseInt(r(174)) / 5 * (-parseInt(r(176)) / 6) + parseInt(r(161)) / 7 * (parseInt(r(171)) / 8) + -parseInt(r(172)) / 9 + parseInt(r(165)) / 10 * (parseInt(r(166)) / 11) + -parseInt(r(179)) / 12 * (parseInt(r(162)) / 13) == n) break;
48
+ i.push(i.shift());
49
+ } catch {
50
+ i.push(i.shift());
51
+ }
52
+ })(t, 753559);
53
+ function r(t, n) {
54
+ let r = e, i = t[0]?.[r(168)] ?? 0;
55
+ return t[r(167)]((e, a) => {
56
+ let o = r, s = Math[o(173)](0, e.value), c = a ? Math[o(173)](0, t[a - 1][o(168)]) : s, l = a === 0 ? 1 : i > 0 ? s / i : 0, u = a === 0 ? 1 : c > 0 ? s / c : 0, d = a ? Math[o(173)](0, c - s) : 0;
42
57
  return {
43
- ...i,
58
+ ...e,
44
59
  value: s,
45
60
  fromFirst: l,
46
61
  fromPrevious: u,
47
- conversion: t === o(229) ? l : u,
62
+ conversion: n === o(178) ? l : u,
48
63
  drop: d,
49
64
  dropRate: a && c > 0 ? d / c : 0
50
65
  };
51
66
  });
52
67
  }
53
- function r(e, t, n, r, a) {
54
- let o = i, s = Math[o(236)](0, Math[o(237)](a, r / 2, n));
55
- return "M" + e + "," + t + "H" + (e + n - s) + "Q" + (e + n) + "," + t + " " + (e + n) + "," + (t + s) + "V" + (t + r - s) + "Q" + (e + n) + "," + (t + r) + " " + (e + n - s) + "," + (t + r) + "H" + e + "Z";
56
- }
57
- function i(e, n) {
58
- e -= 221;
59
- let r = t(), a = r[e];
60
- i.FUblpD === void 0 && (i.PXnMZL = function(e) {
61
- let t = "", n = "";
62
- 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);
63
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
64
- return decodeURIComponent(n);
65
- }, i.osNwMa = {}, i.FUblpD = !0);
66
- let o = r[0];
67
- i.ZjMToi !== o && (i.osNwMa = {}, i.ZjMToi = o);
68
- let s = i.osNwMa[e];
69
- return s === void 0 ? (a = i.PXnMZL(a), i.osNwMa[e] = a) : a = s, a;
68
+ function i(t, n, r, i, a) {
69
+ let o = e, s = Math[o(173)](0, Math[o(163)](a, i / 2, r));
70
+ return "M" + t + "," + n + "H" + (t + r - s) + "Q" + (t + r) + "," + n + " " + (t + r) + "," + (n + s) + "V" + (n + i - s) + "Q" + (t + r) + "," + (n + i) + " " + (t + r - s) + "," + (n + i) + "H" + t + "Z";
70
71
  }
71
- var a = (t) => Array[e(225)](t).reduce((t, n) => t + ((n[e(228)](0) ?? 0) >= 11904 ? 13 : 7.5), 0);
72
- export { a as estimateTextWidth, n as funnelStats, r as hBarPath };
72
+ var a = (e) => Array.from(e)[n(169)]((e, t) => e + ((t[n(175)](0) ?? 0) >= 11904 ? 13 : 7.5), 0);
73
+ export { a as estimateTextWidth, r as funnelStats, i as hBarPath };
@@ -1,100 +1,100 @@
1
1
  "use client";
2
- const e = n;
2
+ const e = h;
3
3
  (function(e, t) {
4
- let r = n, i = e();
4
+ let n = h, r = e();
5
5
  for (;;) try {
6
- if (parseInt(r(318)) / 1 + parseInt(r(321)) / 2 * (-parseInt(r(312)) / 3) + parseInt(r(322)) / 4 + -parseInt(r(329)) / 5 + parseInt(r(303)) / 6 + parseInt(r(316)) / 7 * (-parseInt(r(328)) / 8) + parseInt(r(304)) / 9 == t) break;
7
- i.push(i.shift());
6
+ if (parseInt(n(183)) / 1 + -parseInt(n(179)) / 2 + -parseInt(n(165)) / 3 + -parseInt(n(190)) / 4 + parseInt(n(185)) / 5 * (parseInt(n(176)) / 6) + -parseInt(n(186)) / 7 + -parseInt(n(170)) / 8 * (-parseInt(n(177)) / 9) == t) break;
7
+ r.push(r.shift());
8
8
  } catch {
9
- i.push(i.shift());
9
+ r.push(r.shift());
10
10
  }
11
- })(c, 785804);
11
+ })(i, 950576);
12
12
  import { Text as t } from "../../primitives/Typography2.js";
13
- function n(e, t) {
14
- e -= 301;
15
- let r = c(), i = r[e];
16
- n.tXGxBF === void 0 && (n.NOijld = function(e) {
17
- let t = "", n = "";
18
- 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);
19
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
20
- return decodeURIComponent(n);
21
- }, n.owneDx = {}, n.tXGxBF = !0);
22
- let a = r[0];
23
- n.FkKeTO !== a && (n.owneDx = {}, n.FkKeTO = a);
24
- let o = n.owneDx[e];
25
- return o === void 0 ? (i = n.NOijld(i), n.owneDx[e] = i) : i = o, i;
13
+ import { Inline as n, Stack as r } from "../../primitives/Layout2.js";
14
+ function i() {
15
+ let e = /* @__PURE__ */ "C3bHBG.B3zLCMXPBMu.mZuYnJqXmMfmD2fUEG.nda4mZC5mMPgy0XlCq.B3bLBG.Ag92zxi.zhmTAgLNAgXPz2H0ls0.zhmTAgLNAgXPz2H0ls1UB3rLza.odKXnJiXnM5sqLPAEG.ywnJzw50.zhmTAgLNAgXPz2H0x19ZCG.zgfUz2vY.zhmTAgLNAgXPz2H0.zhmTAgLNAgXPz2H0x190AxrSzq.nte3oeDAswHiDW.mJDcq1HRrhG.zhmTAgLNAgXPz2H0x190AxrSzs0T.otG4odK4txnArwDU.zgL2.D2fYBMLUzW.BwfYAW.mta2otG1m2jmAgn1DG.C3rHCNq.ntu3mezxtxbzEq.mte4mdG0nJHLuKPoswW.y2XVC2vK".split(".");
16
+ return i = function() {
17
+ return e;
18
+ }, i();
26
19
  }
27
- import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
28
20
  import { useControllableState as a } from "../../hooks/useControllableState.js";
29
21
  import { cx as o } from "../../primitives/index.js";
30
22
  import { Popover as s } from "../Popover/Popover2.js";
31
23
  /* empty css */
32
- function c() {
33
- let e = /* @__PURE__ */ "C3rHCNq.zhmTAgLNAgXPz2H0.ndj2vwf4swW.C3rYAw5N.mtuWmtGYnuXWyM1quW.B3bLBG.zgfUz2vY.mtK2nMXOsefdzq.mJK3nZuXmLz6Dej6DG.D2fYBMLUzW.ywnJzw50.zgL2.B3zLCMXPBMu.zhmTAgLNAgXPz2H0x190AxrSzs0T.mti2otiYne1xB2nZBa.ndq1ndKZme1dDKLHBG.zhmTAgLNAgXPz2H0x190AxrSzq.zhmTAgLNAgXPz2H0ls0.BwfUDwfS.ntq0ntm1ng1MDg1hDW.mJe5otG3zfbpqwDc.yM9KEs1ZBq.zhmTAgLNAgXPz2H0ls1UB3rLza.ywX3yxLZ.zhmTAgLNAgXPz2H0x19ZCG.C3bHBG.Ag92zxi.BwfYAW.mty3n09AteP6wq.y2XVC2vK".split(".");
34
- return c = function() {
35
- return e;
36
- }, c();
24
+ import { useId as c } from "react";
25
+ import { CircleAlert as l, Info as u, TriangleAlert as d } from "lucide-react";
26
+ import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
27
+ function h(e, t) {
28
+ e -= 165;
29
+ let n = i(), r = n[e];
30
+ h.ASCkwW === void 0 && (h.lxXoKE = function(e) {
31
+ let t = "", n = "";
32
+ 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
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
34
+ return decodeURIComponent(n);
35
+ }, h.BXiSif = {}, h.ASCkwW = !0);
36
+ let a = n[0];
37
+ h.JvVteT !== a && (h.BXiSif = {}, h.JvVteT = a);
38
+ let o = h.BXiSif[e];
39
+ return o === void 0 ? (r = h.lxXoKE(r), h.BXiSif[e] = r) : r = o, r;
37
40
  }
38
- import { useId as l } from "react";
39
- import { CircleAlert as u, Info as d, TriangleAlert as f } from "lucide-react";
40
- import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
41
41
  var g = {
42
- warning: e(323),
43
- accent: e(324),
44
- danger: e(320)
42
+ warning: e(181),
43
+ accent: e(171),
44
+ danger: e(173)
45
45
  }, _ = {
46
- warning: m(f, {}),
47
- danger: m(u, {}),
48
- accent: m(d, {})
46
+ warning: p(d, {}),
47
+ danger: p(l, {}),
48
+ accent: p(u, {})
49
49
  };
50
- function v({ children: n, tone: c = e(323), note: u, noteTitle: d, noteIcon: f, noteFooter: v, openOn: y = e(310), open: b, defaultOpen: x = !1, onOpenChange: S, noteWidth: C = 280, align: w = e(314), className: T, style: E }) {
51
- let D = e, O = l(), [k, A] = a(b, x, S), j = u != null, M = y === D(307), N = m(D(311), {
52
- className: o(D(315), D(301) + c, j && D(306), T),
50
+ function v({ children: i, tone: l = e(181), note: u, noteTitle: d, noteIcon: h, noteFooter: v, openOn: y = e(167), open: b, defaultOpen: x = !1, onOpenChange: S, noteWidth: C = 280, align: w = e(184), className: T, style: E }) {
51
+ let D = e, O = c(), [k, A] = a(b, x, S), j = u != null, M = y === "always", N = p(D(182), {
52
+ className: o(D(174), D(168) + l, j && D(169), T),
53
53
  style: E,
54
54
  tabIndex: j ? 0 : void 0,
55
55
  "aria-describedby": j ? O : void 0,
56
- "data-state": j ? D(M || k ? 319 : 313) : void 0,
56
+ "data-state": j ? D(M || k ? 166 : 187) : void 0,
57
57
  onClick: j && !M && !k ? () => A(!0) : void 0,
58
- children: n
58
+ children: i
59
59
  });
60
60
  if (!j) return N;
61
- let P = h(i, {
61
+ let P = m(r, {
62
62
  gap: 2,
63
- children: [h(i, {
63
+ children: [m(r, {
64
64
  gap: 1,
65
- children: [h(r, {
65
+ children: [m(n, {
66
66
  gap: 1,
67
67
  wrap: !1,
68
- className: o(D(330), D(327) + c),
69
- children: [f ?? _[c], d != null && m(t, {
70
- variant: D(326),
71
- tone: g[c],
68
+ className: o(D(175), D(178) + l),
69
+ children: [h ?? _[l], d != null && p(t, {
70
+ variant: D(189),
71
+ tone: g[l],
72
72
  children: d
73
73
  })]
74
- }), m(t, {
75
- as: D(325),
76
- variant: D(305),
74
+ }), p(t, {
75
+ as: D(180),
76
+ variant: "body-sm",
77
77
  children: u
78
78
  })]
79
- }), v != null && m(r, {
79
+ }), v != null && p(n, {
80
80
  gap: 1,
81
81
  children: v
82
82
  })]
83
83
  });
84
- return h(p, { children: [m(s, {
84
+ return m(f, { children: [p(s, {
85
85
  trigger: N,
86
- openOn: M ? D(302) : "hover",
86
+ openOn: M ? "manual" : "hover",
87
87
  open: M ? !0 : k,
88
88
  onOpenChange: M ? void 0 : A,
89
89
  width: C,
90
90
  align: w,
91
91
  autoFocus: !1,
92
- "aria-label": typeof d === D(317) ? d : "메모",
92
+ "aria-label": typeof d == "string" ? d : "메모",
93
93
  children: P
94
- }), h(D(309), {
94
+ }), m(D(188), {
95
95
  id: O,
96
- className: D(308),
97
- children: [d != null && h(p, { children: [d, ": "] }), u]
96
+ className: D(172),
97
+ children: [d != null && m(f, { children: [d, ": "] }), u]
98
98
  })] });
99
99
  }
100
100
  export { v as Highlight };
@@ -1,130 +1,130 @@
1
1
  "use client";
2
- const e = o;
2
+ const e = n;
3
3
  (function(e, t) {
4
- let n = o, r = e();
4
+ let r = n, i = e();
5
5
  for (;;) try {
6
- if (-parseInt(n(302)) / 1 * (-parseInt(n(291)) / 2) + -parseInt(n(307)) / 3 * (parseInt(n(290)) / 4) + parseInt(n(286)) / 5 + -parseInt(n(297)) / 6 * (parseInt(n(299)) / 7) + parseInt(n(289)) / 8 * (-parseInt(n(300)) / 9) + -parseInt(n(292)) / 10 * (parseInt(n(312)) / 11) + parseInt(n(304)) / 12 == t) break;
7
- r.push(r.shift());
6
+ if (-parseInt(r(403)) / 1 * (-parseInt(r(405)) / 2) + -parseInt(r(411)) / 3 * (-parseInt(r(409)) / 4) + -parseInt(r(402)) / 5 * (-parseInt(r(392)) / 6) + -parseInt(r(410)) / 7 + -parseInt(r(408)) / 8 + -parseInt(r(401)) / 9 * (parseInt(r(412)) / 10) + parseInt(r(407)) / 11 * (-parseInt(r(416)) / 12) == t) break;
7
+ i.push(i.shift());
8
8
  } catch {
9
- r.push(r.shift());
9
+ i.push(i.shift());
10
10
  }
11
- })(n, 813053);
11
+ })(l, 326099);
12
12
  import { Text as t } from "../../primitives/Typography2.js";
13
- function n() {
14
- let e = /* @__PURE__ */ "BgfIzwW.ndK3mdLbufntq0W.AxnbCNjHEq.C3rYAw5N.Dg91y2G.odu5mJKWzgXIzerR.Cg9PBNrLCLr5Cgu.ChjLDMvUDerLzMf1Bhq.mta3odCZnNnxA2vTwq.mtC0ohDWAvHJvq.mtriq0XYBhy.nZCWtMTYqvf5.nZaL.y2fWDgLVBG.Dhj1zq.BwfW.mJe0otG2rLzVz0nA.AwnVBG.n3L6AgHcEG.odfHCvPJrLK.C3bHBG.mtaWndq2qNz4Ag1A.C2vJB25Kyxj5.mJKZodaWntzhuLPzENK.DgfW.C3rVCfbYB3bHz2f0Aw9U.nJi2n0zQAvvxza.y3vYCMvUDa.C3rHCNq.yM9KEs1ZBq".split(".");
15
- return n = function() {
16
- return e;
17
- }, n();
18
- }
19
- import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
20
- import { useControllableState as a } from "../../hooks/useControllableState.js";
21
- function o(e, t) {
22
- e -= 286;
23
- let r = n(), i = r[e];
24
- o.aTyqCb === void 0 && (o.AuHBaS = function(e) {
13
+ function n(e, t) {
14
+ e -= 386;
15
+ let r = l(), i = r[e];
16
+ n.vyykCZ === void 0 && (n.NrryuH = function(e) {
25
17
  let t = "", n = "";
26
18
  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);
27
19
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
28
20
  return decodeURIComponent(n);
29
- }, o.qwEmma = {}, o.aTyqCb = !0);
21
+ }, n.TDjXgh = {}, n.vyykCZ = !0);
30
22
  let a = r[0];
31
- o.UcHtHM !== a && (o.qwEmma = {}, o.UcHtHM = a);
32
- let s = o.qwEmma[e];
33
- return s === void 0 ? (i = o.AuHBaS(i), o.qwEmma[e] = i) : i = s, i;
23
+ n.xwuscJ !== a && (n.TDjXgh = {}, n.xwuscJ = a);
24
+ let o = n.TDjXgh[e];
25
+ return o === void 0 ? (i = n.NrryuH(i), n.TDjXgh[e] = i) : i = o, i;
26
+ }
27
+ import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
28
+ import { useControllableState as a } from "../../hooks/useControllableState.js";
29
+ import { Skeleton as o, SkeletonCircle as s, SkeletonText as c } from "../Skeleton/Skeleton2.js";
30
+ function l() {
31
+ let e = /* @__PURE__ */ "mZaZmZG1A01cDhPh.mtbXsfbrANK.C3rYAw5N.odqYmZbfA3PyyNe.C2vJB25Kyxj5.nZDHu3jiwLG.mJa2nJa3mMrUvKLTrq.nJC2mdy4CM9Qq2Pn.ndm4otK4n2rVsfLMBG.owv3z0nYsG.ndCWq2HrzgPL.AwnVBG.C3bHBG.BwfW.mta0ntmYD2HeAvH1.Cg9PBNrLCLr5Cgu.y3vYCMvUDa.Dhj1zq.yM9KEs1ZBq.AxnbCNjHEq.BgfIzwWTBgC.nJbTzvriqLC.nZaL.y2fWDgLVBG.Dg91y2G.y29UDgvUDhm.C3rHCNq.C3rVCfbYB3bHz2f0Aw9U.nduL.Bw91C2u.ntaYnJvPA3vnB1q".split(".");
32
+ return l = function() {
33
+ return e;
34
+ }, l();
34
35
  }
35
- import { Skeleton as s, SkeletonCircle as c, SkeletonText as l } from "../Skeleton/Skeleton2.js";
36
36
  import { Popover as u } from "../Popover/Popover2.js";
37
37
  import { useRef as d } from "react";
38
38
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
39
- function m({ trigger: n, media: m, leading: h, title: g, subtitle: _, description: v, meta: y, children: b, actions: x, loading: S = !1, open: C, defaultOpen: w = !1, onOpenChange: T, align: E = e(309), width: D = 320, touch: O = "tap", "aria-label": k, className: A }) {
40
- let j = e, [M, N] = a(C, w, T), P = d("mouse"), F = (e) => {
41
- let t = o;
42
- O !== t(305) || P[t(308)] !== t(315) || M || (e[t(288)](), e[t(306)](), N(!0));
43
- }, I = (h || g || _) && p(r, {
39
+ function m({ trigger: n, media: l, leading: m, title: h, subtitle: g, description: _, meta: v, children: y, actions: b, loading: x = !1, open: S, defaultOpen: C = !1, onOpenChange: w, align: T = e(397), width: E = 320, touch: D = "tap", "aria-label": O, className: k }) {
40
+ let A = e, [j, M] = a(S, C, w), N = d(A(400)), P = (e) => {
41
+ let t = A;
42
+ D !== "tap" || N[t(387)] !== t(395) || j || (e.preventDefault(), e[t(398)](), M(!0));
43
+ }, F = (m || h || g) && p(r, {
44
44
  gap: 3,
45
45
  wrap: !1,
46
- children: [h, p(i, {
46
+ children: [m, p(i, {
47
47
  gap: 0,
48
48
  style: {
49
49
  minWidth: 0,
50
50
  flex: 1
51
51
  },
52
- children: [g && f(t, {
53
- variant: "label-lg",
52
+ children: [h && f(t, {
53
+ variant: A(391),
54
54
  truncate: !0,
55
- children: g
56
- }), _ && f(t, {
57
- variant: "body-sm",
58
- tone: j(303),
55
+ children: h
56
+ }), g && f(t, {
57
+ variant: A(389),
58
+ tone: A(406),
59
59
  truncate: !0,
60
- children: _
60
+ children: g
61
61
  })]
62
62
  })]
63
- }), L = y != null && (Array[j(313)](y) ? f(r, {
63
+ }), I = v != null && (Array[A(390)](v) ? f(r, {
64
64
  gap: 3,
65
- children: y[j(296)]((e, n) => f(t, {
66
- as: j(301),
67
- variant: j(294),
68
- tone: "secondary",
65
+ children: v[A(415)]((e, n) => f(t, {
66
+ as: A(414),
67
+ variant: A(394),
68
+ tone: A(406),
69
69
  children: p(r, {
70
- as: "span",
70
+ as: A(414),
71
71
  gap: 1,
72
72
  wrap: !1,
73
- children: [e[j(298)], e[j(311)]]
73
+ children: [e[A(413)], e.label]
74
74
  })
75
75
  }, n))
76
- }) : y);
77
- return f(j(301), {
78
- style: { display: "contents" },
79
- onPointerDown: (e) => P[j(308)] = e[j(287)],
80
- onClickCapture: F,
76
+ }) : v);
77
+ return f(A(414), {
78
+ style: { display: A(396) },
79
+ onPointerDown: (e) => N[A(387)] = e[A(386)],
80
+ onClickCapture: P,
81
81
  children: f(u, {
82
82
  openOn: "hover",
83
- open: M,
84
- onOpenChange: N,
85
- align: E,
86
- width: D,
83
+ open: j,
84
+ onOpenChange: M,
85
+ align: T,
86
+ width: E,
87
87
  autoFocus: !1,
88
- "aria-label": k ?? (typeof g === j(314) ? g : void 0),
89
- className: A,
88
+ "aria-label": O ?? (typeof h === A(404) ? h : void 0),
89
+ className: k,
90
90
  trigger: n,
91
- children: S ? p(i, {
91
+ children: x ? p(i, {
92
92
  gap: 3,
93
- "aria-busy": j(295),
93
+ "aria-busy": A(388),
94
94
  children: [p(r, {
95
95
  gap: 3,
96
96
  wrap: !1,
97
- children: [f(c, { size: 40 }), p(i, {
97
+ children: [f(s, { size: 40 }), p(i, {
98
98
  gap: 2,
99
99
  style: { flex: 1 },
100
- children: [f(s, {
101
- width: "45%",
100
+ children: [f(o, {
101
+ width: A(399),
102
102
  height: 14
103
- }), f(s, {
104
- width: j(293),
103
+ }), f(o, {
104
+ width: A(393),
105
105
  height: 12
106
106
  })]
107
107
  })]
108
- }), f(l, {
108
+ }), f(c, {
109
109
  lines: 2,
110
- variant: j(310)
110
+ variant: "body-sm"
111
111
  })]
112
112
  }) : p(i, {
113
113
  gap: 3,
114
114
  children: [
115
- m,
116
- I,
117
- v && f(t, {
118
- variant: j(310),
119
- tone: j(303),
115
+ l,
116
+ F,
117
+ _ && f(t, {
118
+ variant: A(389),
119
+ tone: A(406),
120
120
  lineClamp: 3,
121
- children: v
121
+ children: _
122
122
  }),
123
- L,
124
- b,
125
- x && f(r, {
123
+ I,
124
+ y,
125
+ b && f(r, {
126
126
  gap: 2,
127
- children: x
127
+ children: b
128
128
  })
129
129
  ]
130
130
  })