@iamfiro/design 0.3.2 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/brand-icon/AGENTS.md +1 -1
  3. package/agents/social-login-button/AGENTS.md +4 -3
  4. package/lib/components/Accordion/Accordion2.js +87 -87
  5. package/lib/components/ActionBar/ActionBar2.js +42 -44
  6. package/lib/components/Alert/Alert2.js +61 -61
  7. package/lib/components/AppShell/AppShell2.js +70 -71
  8. package/lib/components/AreaChart/AreaChart.js +38 -40
  9. package/lib/components/BarChart/BarChart2.js +126 -126
  10. package/lib/components/BarList/BarList2.js +95 -95
  11. package/lib/components/Breadcrumb/Breadcrumb2.js +68 -66
  12. package/lib/components/Calendar/Calendar2.js +164 -164
  13. package/lib/components/Calendar/DatePicker2.js +103 -102
  14. package/lib/components/Calendar/date.js +64 -66
  15. package/lib/components/Card/Card2.js +67 -67
  16. package/lib/components/CardFrame/CardFrame2.js +43 -51
  17. package/lib/components/Chart/ChartParts.js +94 -94
  18. package/lib/components/Chart/chart2.js +52 -52
  19. package/lib/components/Chart/useChartInteraction.js +54 -54
  20. package/lib/components/ChatBubble/ChatBubble2.js +92 -92
  21. package/lib/components/ChatBubble/formatChatTime.js +35 -41
  22. package/lib/components/ChatComposer/ChatComposer2.js +63 -63
  23. package/lib/components/CodeBlock/CodeBlock2.js +61 -61
  24. package/lib/components/CodeBlock/highlight.js +84 -84
  25. package/lib/components/ColorPicker/ColorPicker2.js +387 -386
  26. package/lib/components/ColorPicker/color.js +71 -71
  27. package/lib/components/ColorPicker/presets.js +41 -46
  28. package/lib/components/Combobox/Combobox2.js +117 -118
  29. package/lib/components/CommandMenu/CommandMenu.js +127 -127
  30. package/lib/components/Comment/Comment2.js +86 -60
  31. package/lib/components/ContextMenu/ContextMenu2.js +77 -75
  32. package/lib/components/DataGrid/DataGrid2.js +1192 -1190
  33. package/lib/components/DataGrid/GridPopover.js +94 -94
  34. package/lib/components/DataGrid/anchor.js +34 -31
  35. package/lib/components/DataGrid/model.js +284 -283
  36. package/lib/components/DataGrid/panels.js +398 -399
  37. package/lib/components/DataGrid/typeMeta.js +51 -50
  38. package/lib/components/DataGrid/types.js +38 -39
  39. package/lib/components/DescriptionList/DescriptionList2.js +103 -103
  40. package/lib/components/Dialog/AlertDialog.js +79 -78
  41. package/lib/components/Dialog/Dialog2.js +59 -59
  42. package/lib/components/Dialog/modal.js +44 -46
  43. package/lib/components/Drawer/Drawer2.js +130 -129
  44. package/lib/components/DropdownMenu/DropdownMenu2.js +235 -233
  45. package/lib/components/DropdownMenu/menuCore.js +69 -42
  46. package/lib/components/Dropzone/Dropzone2.js +79 -78
  47. package/lib/components/EmptyState/EmptyState2.js +34 -35
  48. package/lib/components/FileChip/FileChip2.js +73 -73
  49. package/lib/components/FileUpload/FileUpload.js +159 -159
  50. package/lib/components/FilterChips/FilterChips2.js +61 -61
  51. package/lib/components/FunnelChart/FunnelChart2.js +161 -161
  52. package/lib/components/FunnelChart/funnel.js +48 -44
  53. package/lib/components/Highlight/Highlight2.js +43 -43
  54. package/lib/components/HoverCard/HoverCard.js +59 -84
  55. package/lib/components/InlineDiff/InlineDiff2.js +112 -112
  56. package/lib/components/InlineDiff/diff.js +90 -90
  57. package/lib/components/InlineDiff/useDiffReview.js +64 -63
  58. package/lib/components/Kanban/Kanban2.js +386 -387
  59. package/lib/components/Kanban/KanbanCard.js +70 -95
  60. package/lib/components/Kanban/move.js +50 -46
  61. package/lib/components/LineChart/LineChart2.js +211 -211
  62. package/lib/components/List/List2.js +53 -54
  63. package/lib/components/Listbox/Listbox2.js +115 -115
  64. package/lib/components/Marker/Marker2.js +56 -61
  65. package/lib/components/Menubar/Menubar2.js +144 -141
  66. package/lib/components/MultiSelect/MultiSelect2.js +108 -108
  67. package/lib/components/NavigationMenu/NavigationMenu2.js +298 -299
  68. package/lib/components/NoticeStack/NoticeStack2.js +84 -84
  69. package/lib/components/NumberStepper/NumberStepper2.js +65 -66
  70. package/lib/components/OtpInput/OtpInput2.js +70 -69
  71. package/lib/components/Pagination/Pagination2.js +106 -106
  72. package/lib/components/Pagination/paginationRange.js +37 -39
  73. package/lib/components/PhoneInput/PhoneInput.js +87 -88
  74. package/lib/components/PieChart/PieChart2.js +160 -160
  75. package/lib/components/PieChart/arc.js +65 -62
  76. package/lib/components/PieChart/useArcTween.js +53 -60
  77. package/lib/components/Popover/Popover2.js +62 -62
  78. package/lib/components/ProgressTracker/ProgressTracker2.js +121 -121
  79. package/lib/components/Rating/Rating2.js +82 -81
  80. package/lib/components/Resizable/Resizable2.js +126 -127
  81. package/lib/components/Resizable/layout.js +73 -73
  82. package/lib/components/ScaledPreview/ScaledPreview2.js +68 -67
  83. package/lib/components/ScatterChart/ScatterChart2.js +214 -213
  84. package/lib/components/ScatterChart/scatter.js +47 -49
  85. package/lib/components/ScrollArea/ScrollArea2.js +117 -118
  86. package/lib/components/Select/Select2.js +78 -79
  87. package/lib/components/Sidebar/Sidebar2.js +69 -69
  88. package/lib/components/Skeleton/Skeleton2.js +57 -57
  89. package/lib/components/Slider/Slider2.js +73 -74
  90. package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -68
  91. package/lib/components/SparkChart/SparkChart2.js +145 -145
  92. package/lib/components/SparkChart/spark.js +64 -42
  93. package/lib/components/Sparkbar/Sparkbar2.js +60 -60
  94. package/lib/components/SplitView/SplitView2.js +51 -52
  95. package/lib/components/Stat/Stat2.js +90 -90
  96. package/lib/components/StepList/StepList2.js +70 -70
  97. package/lib/components/Table/Table2.js +70 -70
  98. package/lib/components/Tabs/Tabs2.js +81 -81
  99. package/lib/components/TagInput/TagInput2.js +220 -217
  100. package/lib/components/TimePicker/TimePicker2.js +187 -186
  101. package/lib/components/TimePicker/time.js +63 -62
  102. package/lib/components/Timeline/Timeline2.js +199 -199
  103. package/lib/components/Timeline/scale.js +67 -64
  104. package/lib/components/Toast/Toaster.js +100 -98
  105. package/lib/components/Toast/store.js +90 -94
  106. package/lib/components/ToggleGroup/ToggleGroup2.js +76 -76
  107. package/lib/components/Toolbar/Toolbar2.js +163 -161
  108. package/lib/components/Tracker/Tracker2.js +82 -82
  109. package/lib/components/TreeDiagram/TreeDiagram2.js +123 -124
  110. package/lib/components/TreeView/TreeView2.js +154 -152
  111. package/lib/hooks/timing.js +31 -30
  112. package/lib/hooks/useControllableState.js +37 -38
  113. package/lib/hooks/useCountdown.js +53 -56
  114. package/lib/hooks/useDigitInput.js +66 -41
  115. package/lib/hooks/useDismiss.js +55 -58
  116. package/lib/hooks/useElapsed.js +57 -55
  117. package/lib/hooks/useFloating.js +44 -44
  118. package/lib/hooks/useFocusTrap.js +70 -46
  119. package/lib/hooks/usePresence.js +23 -22
  120. package/lib/hooks/usePressToOpen.js +51 -51
  121. package/lib/hooks/useScrollLock.js +57 -58
  122. package/lib/hooks/useSelection.js +49 -52
  123. package/lib/index.js +65 -65
  124. package/lib/primitives/AspectRatio2.js +57 -57
  125. package/lib/primitives/BrandIcon.js +189 -158
  126. package/lib/primitives/ColorDot2.js +50 -45
  127. package/lib/primitives/CopyButton2.js +52 -50
  128. package/lib/primitives/CountBadge2.js +53 -55
  129. package/lib/primitives/Countdown2.js +28 -25
  130. package/lib/primitives/Delta2.js +41 -41
  131. package/lib/primitives/Elapsed.js +47 -47
  132. package/lib/primitives/FileIcon2.js +86 -86
  133. package/lib/primitives/Flag2.js +122 -122
  134. package/lib/primitives/IconStack2.js +55 -31
  135. package/lib/primitives/IconTile2.js +43 -43
  136. package/lib/primitives/Kbd2.js +55 -55
  137. package/lib/primitives/Layout2.js +78 -78
  138. package/lib/primitives/Link2.js +39 -36
  139. package/lib/primitives/MaskedText2.js +74 -52
  140. package/lib/primitives/Progress2.js +67 -66
  141. package/lib/primitives/RelativeTime.js +54 -61
  142. package/lib/primitives/SearchInput2.js +45 -45
  143. package/lib/primitives/SelectorButton2.js +72 -76
  144. package/lib/primitives/Spinner2.js +56 -56
  145. package/lib/primitives/StatusIcon2.js +63 -63
  146. package/lib/primitives/Swatch2.js +55 -61
  147. package/lib/primitives/Tooltip2.js +78 -78
  148. package/lib/primitives/Typography2.js +53 -53
  149. package/lib/primitives/formatCountdown.js +30 -29
  150. package/lib/primitives/formatElapsed.js +46 -49
  151. package/lib/primitives/formatRelativeTime.js +76 -50
  152. package/lib/primitives/hotkey.js +80 -80
  153. package/lib/primitives/index.js +169 -168
  154. package/lib/primitives/maskValue.js +55 -50
  155. package/lib/style.css +1 -1
  156. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  157. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  158. package/package.json +1 -1
@@ -1,42 +1,34 @@
1
1
  "use client";
2
- const e = t;
3
- (function(e, n) {
4
- let r = t, i = e();
2
+ const e = p;
3
+ (function(e, t) {
4
+ let n = p, r = e();
5
5
  for (;;) try {
6
- if (parseInt(r(238)) / 1 * (parseInt(r(214)) / 2) + parseInt(r(199)) / 3 * (parseInt(r(237)) / 4) + -parseInt(r(219)) / 5 + parseInt(r(229)) / 6 * (parseInt(r(226)) / 7) + parseInt(r(208)) / 8 * (-parseInt(r(212)) / 9) + parseInt(r(235)) / 10 * (parseInt(r(225)) / 11) + parseInt(r(239)) / 12 * (parseInt(r(222)) / 13) == n) break;
7
- i.push(i.shift());
6
+ if (-parseInt(n(289)) / 1 + parseInt(n(301)) / 2 * (parseInt(n(303)) / 3) + parseInt(n(293)) / 4 * (parseInt(n(304)) / 5) + -parseInt(n(315)) / 6 + -parseInt(n(299)) / 7 + -parseInt(n(311)) / 8 * (parseInt(n(313)) / 9) + -parseInt(n(317)) / 10 * (-parseInt(n(312)) / 11) == t) break;
7
+ r.push(r.shift());
8
8
  } catch {
9
- i.push(i.shift());
9
+ r.push(r.shift());
10
10
  }
11
- })(p, 574765);
12
- function t(e, n) {
13
- e -= 199;
14
- let r = p(), i = r[e];
15
- t.dgQlCe === void 0 && (t.OGjcKE = function(e) {
16
- let t = "", n = "";
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);
18
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
19
- return decodeURIComponent(n);
20
- }, t.YQBrFu = {}, t.dgQlCe = !0);
21
- let a = r[0];
22
- t.DkOFsG !== a && (t.YQBrFu = {}, t.DkOFsG = a);
23
- let o = t.YQBrFu[e];
24
- return o === void 0 ? (i = t.OGjcKE(i), t.YQBrFu[e] = i) : i = o, i;
25
- }
26
- var n = new Intl[e(231)](e(204)), r = new Intl.NumberFormat(e(204), {
27
- notation: e(200),
11
+ })(c, 989849);
12
+ var t = new Intl.NumberFormat("ko-KR"), n = new Intl.NumberFormat(e(306), {
13
+ notation: "compact",
28
14
  maximumFractionDigits: 1
29
- }), i = (e) => n.format(e), a = (t) => r[e(240)](t), o = (t) => Math[e(230)](t * 1e3) / 10 + "%", s = (t, n) => {
30
- let r = t ?? e(211) + (n % 6 + 1);
31
- return r.startsWith("--") ? "var(" + r + ")" : r;
32
- }, c = (t, n) => {
33
- let r = e, i = t?.[n];
34
- return typeof i === r(206) && Number[r(227)](i) ? i : null;
15
+ }), r = (n) => t[e(285)](n), i = (t) => n[e(285)](t), a = (t) => Math[e(288)](t * 1e3) / 10 + "%", o = (t, n) => {
16
+ let r = e, i = t ?? r(295) + (n % 6 + 1);
17
+ return i[r(290)]("--") ? r(320) + i + ")" : i;
18
+ }, s = (e, t) => {
19
+ let n = e?.[t];
20
+ return typeof n == "number" && Number.isFinite(n) ? n : null;
35
21
  };
22
+ function c() {
23
+ let e = /* @__PURE__ */ "DMfYkc0TywnJzw50kq.ls1JAgfYDc0.Bwf4.C3fYDa.zNjVBq.mte3mZeYntfmB2X4u1y.y2vPBa.ndm1mZbQswjus0C.DMfYkc0TC3vYzMfJzs1Hy3rPDMuP.mtqXveDbsxzU.mZCZmJvowLv0vxi.Bg9Nmta.A28Ts1i.C2XPy2u.BwLU.zMXVB3i.BgvUz3rO.mZKZodrhqKzytgW.ntyWnZi1zK5wEMLI.mZe0munXvLPpsG.BwfW.mtC1nZy0nLP3CeLTBG.CMvWBgfJzq.mta3mfrey0Tora.DMfYkc0TzgfUz2vYkq.DMfYkc0TywnJzw50lxnVzNqP.DMfYka.zM9YBwf0.DMfYkc0Ty2HHCNqTyxHPCYK.DMfYkc0TD2fYBMLUzY1ZB2z0kq.CM91BMq.mtK1nZiZnvbsDNrVBq.C3rHCNrZv2L0Aa.AM9PBG.CMv2zxjZzq.odrssM5KrfC".split(".");
24
+ return c = function() {
25
+ return e;
26
+ }, c();
27
+ }
36
28
  function l(t, n) {
37
- let r = e, i = Math[r(242)](1, n - 1);
38
- if (t <= 0) return Array[r(228)]({ length: i + 1 }, (e, t) => t);
39
- let a = t / i, o = 10 ** Math[r(217)](Math[r(232)](a)), s = ([
29
+ let r = e, i = Math.max(1, n - 1);
30
+ if (t <= 0) return Array[r(298)]({ length: i + 1 }, (e, t) => t);
31
+ let a = t / i, o = 10 ** Math[r(309)](Math[r(305)](a)), s = ([
40
32
  1,
41
33
  1.5,
42
34
  2,
@@ -44,18 +36,26 @@ function l(t, n) {
44
36
  3,
45
37
  5,
46
38
  10
47
- ][r(207)]((e) => e * o >= a) ?? 10) * o;
39
+ ].find((e) => e * o >= a) ?? 10) * o;
48
40
  return Array.from({ length: i + 1 }, (e, t) => t * s);
49
41
  }
50
- var u = (t) => Math[e(242)](...t.map((t) => t[e(223)])) * 7 + 14, d = (t, n, r = 110) => Math[e(242)](1, Math[e(210)](t / Math[e(242)](1, Math[e(217)](n / r)))), f = (t, n) => n === e(215) && t[e(223)] > 2 ? m(t) : t[e(234)](([e, t], n) => (n ? "L" : "M") + e + "," + t)[e(233)]("");
51
- function p() {
52
- let e = /* @__PURE__ */ "CMv2zxjZzq.mJK4nZy5ou1ms0rUDG.BgvUz3rO.CMvWBgfJzq.mtfev3PQthC.odC0m0X5AxnQAq.AxngAw5PDgu.zNjVBq.mZq5ogTlwgTuDG.CM91BMq.tNvTyMvYrM9YBwf0.Bg9Nmta.AM9PBG.BwfW.mta4nJq1mhLSAfDlAq.BwLU.mte5nJC2ne1SANngta.ndGXmdC2C1jQCKzU.mtjqy0PJCgG.zM9YBwf0.C3fYDa.Bwf4.nK5PsLb5uq.y29TCgfJDa.DMfYkc0TC3vYzMfJzs1Hy3rPDMuP.C2XPy2u.DMfYkc0TywnJzw50kq.A28Ts1i.DMfYkc0TzgfUz2vYkq.BNvTyMvY.zMLUza.mti4odGWmgHZzNPPyG.DMfYkc0TywnJzw50lxnVzNqP.y2vPBa.ls1JAgfYDc0.ntrPAe1wzKm.DMfYkc0TD2fYBMLUzYK.mKDTuhrHuW.C21VB3rO.DMfYkc0TzgfUz2vYlxnVzNqP.zMXVB3i.DMfYkc0Ty2HHCNqTyxHPCYK.mZaYmZy0mePgBK5YBW.DMfYkc0TD2fYBMLUzY1ZB2z0kq".split(".");
53
- return p = function() {
54
- return e;
55
- }, p();
42
+ var u = (t) => Math[e(296)](...t[e(314)]((t) => t[e(310)])) * 7 + 14, d = (t, n, r = 110) => Math[e(296)](1, Math[e(300)](t / Math[e(296)](1, Math[e(309)](n / r)))), f = (t, n) => n === "smooth" && t[e(310)] > 2 ? m(t) : t[e(314)](([e, t], n) => (n ? "L" : "M") + e + "," + t)[e(291)]("");
43
+ function p(e, t) {
44
+ e -= 285;
45
+ let n = c(), r = n[e];
46
+ p.YfBLIj === void 0 && (p.eUIONB = function(e) {
47
+ let t = "", n = "";
48
+ 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);
49
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
50
+ return decodeURIComponent(n);
51
+ }, p.crCkLG = {}, p.YfBLIj = !0);
52
+ let i = n[0];
53
+ p.ORnCDd !== i && (p.crCkLG = {}, p.ORnCDd = i);
54
+ let a = p.crCkLG[e];
55
+ return a === void 0 ? (r = p.eUIONB(r), p.crCkLG[e] = r) : r = a, r;
56
56
  }
57
57
  function m(t) {
58
- let n = e, r = t[n(223)], i = t[n(202)](0, -1)[n(234)](([e, n], r) => (t[r + 1][1] - n) / (t[r + 1][0] - e)), a = t.map((e, t) => t === 0 ? i[0] : t === r - 1 ? i[r - 2] : i[t - 1] * i[t] <= 0 ? 0 : (i[t - 1] + i[t]) / 2);
58
+ let n = e, r = t.length, i = t[n(307)](0, -1)[n(314)](([e, n], r) => (t[r + 1][1] - n) / (t[r + 1][0] - e)), a = t[n(314)]((e, t) => t === 0 ? i[0] : t === r - 1 ? i[r - 2] : i[t - 1] * i[t] <= 0 ? 0 : (i[t - 1] + i[t]) / 2);
59
59
  for (let e = 0; e < r - 1; e++) {
60
60
  if (i[e] === 0) {
61
61
  a[e] = a[e + 1] = 0;
@@ -63,7 +63,7 @@ function m(t) {
63
63
  }
64
64
  let t = a[e] / i[e], r = a[e + 1] / i[e], o = t * t + r * r;
65
65
  if (o > 9) {
66
- let s = 3 / Math[n(241)](o);
66
+ let s = 3 / Math[n(297)](o);
67
67
  a[e] = s * t * i[e], a[e + 1] = s * r * i[e];
68
68
  }
69
69
  }
@@ -75,22 +75,22 @@ function m(t) {
75
75
  return o;
76
76
  }
77
77
  function h(t, n, r, i, a) {
78
- let o = e, s = Math[o(242)](0, Math[o(236)](a, r / 2, i));
78
+ let o = e, s = Math[o(296)](0, Math[o(308)](a, r / 2, i));
79
79
  return "M" + t + "," + (n + i) + "V" + (n + s) + "Q" + t + "," + n + " " + (t + s) + "," + n + "H" + (t + r - s) + "Q" + (t + r) + "," + n + " " + (t + r) + "," + (n + s) + "V" + (n + i) + "Z";
80
80
  }
81
81
  var g = {
82
- neutral: e(201),
83
- accent: e(209),
84
- warning: e(220),
85
- danger: e(216)
82
+ neutral: e(302),
83
+ accent: e(319),
84
+ warning: e(287),
85
+ danger: "var(--danger-soft)"
86
86
  }, _ = {
87
- neutral: e(218),
88
- accent: e(203),
89
- warning: e(213),
90
- danger: e(205)
87
+ neutral: e(286),
88
+ accent: e(294),
89
+ warning: "var(--warning)",
90
+ danger: e(318)
91
91
  }, v = (e, t) => e.length ? f(e, t) : "";
92
92
  function y(t, n, r) {
93
93
  let i = e;
94
- return t.length ? "" + f(t, r) + f([...n][i(221)](), r)[i(224)](/^M/, "L") + "Z" : "";
94
+ return t[i(310)] ? "" + f(t, r) + f([...n][i(292)](), r)[i(316)](/^M/, "L") + "Z" : "";
95
95
  }
96
- export { g as CHART_TONE_SOFT, _ as CHART_TONE_STRONG, u as axisGutter, y as bandPath, h as barPath, s as chartColor, a as formatCompact, i as formatNumber, o as formatPercent, d as labelStep, v as linePath, l as niceTicks, c as numberAt };
96
+ export { g as CHART_TONE_SOFT, _ as CHART_TONE_STRONG, u as axisGutter, y as bandPath, h as barPath, o as chartColor, i as formatCompact, r as formatNumber, a as formatPercent, d as labelStep, v as linePath, l as niceTicks, s as numberAt };
@@ -1,58 +1,44 @@
1
1
  "use client";
2
- const e = n;
2
+ function e() {
3
+ let t = /* @__PURE__ */ "qxjYB3DsAwDODa.nJnnuufmsw8.mJq0mtmWENb3EeXu.y3vYCMvUDa.BgfZDa.ChjLDMvUDerLzMf1Bhq.nZG4ndmYs2vHt1Ly.n0DLsvjAsG.mty3odmWsgXiywnT.y2XPzw50v2LKDgG.Bwf4.B2jZzxj2zq.mJi4nZrWtNLiAKu.mtGXndu3muHtrhzQwa.mZzqAxzZqKS.nZiYntK4sNvvqwDU.z3jVDxa.sg9Tzq.BwLU.oMzVy3vZlxzPC2LIBgu.mtyWnZDOtfbXENO.rw5K.ogrkwevZta.zMLYC3q.Bwf0y2HLCW.zgLZy29UBMvJDa.C2v0vgLTzw91Da.A2v5.B2zMC2v0sgvPz2H0.Ag92zxjhCMfJzq.B2zMC2v0v2LKDgG.y2XLyxjuAw1LB3v0.qxjYB3DeB3DU".split(".");
4
+ return e = function() {
5
+ return t;
6
+ }, e();
7
+ }
8
+ const t = l;
3
9
  (function(e, t) {
4
- let r = n, i = e();
10
+ let n = l, r = e();
5
11
  for (;;) try {
6
- if (-parseInt(r(282)) / 1 + -parseInt(r(273)) / 2 + -parseInt(r(290)) / 3 + -parseInt(r(292)) / 4 + parseInt(r(278)) / 5 * (parseInt(r(274)) / 6) + parseInt(r(271)) / 7 * (parseInt(r(296)) / 8) + parseInt(r(299)) / 9 == t) break;
7
- i.push(i.shift());
12
+ if (parseInt(n(172)) / 1 * (-parseInt(n(149)) / 2) + -parseInt(n(147)) / 3 * (-parseInt(n(174)) / 4) + parseInt(n(168)) / 5 + -parseInt(n(175)) / 6 * (parseInt(n(167)) / 7) + -parseInt(n(166)) / 8 + parseInt(n(161)) / 9 * (parseInt(n(162)) / 10) + parseInt(n(173)) / 11 == t) break;
13
+ r.push(r.shift());
8
14
  } catch {
9
- i.push(i.shift());
15
+ r.push(r.shift());
10
16
  }
11
- })(t, 491486);
12
- function t() {
13
- let e = /* @__PURE__ */ "y2XLyxjuAw1LB3v0.mZjUwMPfq2K.C2v0vgLTzw91Da.qxjYB3DeB3DU.mti1mdC1ntj3twr4qu8.ndu5mZi2uurLyMDW.ChjLDMvUDerLzMf1Bhq.mteXnJK4EwLWExDj.mZi1ote0wufZEfbK.qxjYB3Dmzwz0.Bwf4.rxnJyxbL.mZvpsujQsKi.z3jVDxa.B2zMC2v0v2LKDgG.y3vYCMvUDa.nZa1nZjnr3HjBuW.y2XPzw50v2LKDgG.B2jZzxj2zq.zMLYC3q.oMzVy3vZlxzPC2LIBgu.Bwf0y2HLCW.A2v5.qxjYB3DsAwDODa.mJKZnduXm1n0qM5Tyq.BwLU.mtC0ntqYmg9XChbKvq.sg9Tzq.BgfZDa".split(".");
14
- return t = function() {
15
- return e;
16
- }, t();
17
- }
18
- function n(e, r) {
19
- e -= 271;
20
- let i = t(), a = i[e];
21
- n.XVvPyO === void 0 && (n.qNAjBf = function(e) {
22
- let t = "", n = "";
23
- 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);
24
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
25
- return decodeURIComponent(n);
26
- }, n.byXfMw = {}, n.XVvPyO = !0);
27
- let o = i[0];
28
- n.JFspSs !== o && (n.byXfMw = {}, n.JFspSs = o);
29
- let s = n.byXfMw[e];
30
- return s === void 0 ? (a = n.qNAjBf(a), n.byXfMw[e] = a) : a = s, a;
31
- }
32
- import { TIMING as r } from "../../hooks/timing.js";
33
- import { useControllableState as i } from "../../hooks/useControllableState.js";
34
- import { useEffect as a, useLayoutEffect as o, useRef as s, useState as c } from "react";
35
- function l({ count: t, activeIndex: l, defaultActiveIndex: u = null, onActiveIndexChange: d, initialKeyboardIndex: f = e(294) }) {
36
- let p = e, [m, h] = i(l, u, d), g = s(null), _ = s(null), [v, y] = c(0), [b, x] = c({
17
+ })(e, 107166);
18
+ import { TIMING as n } from "../../hooks/timing.js";
19
+ import { useControllableState as r } from "../../hooks/useControllableState.js";
20
+ import { useEffect as i, useLayoutEffect as a, useRef as o, useState as s } from "react";
21
+ function c({ count: e, activeIndex: c, defaultActiveIndex: u = null, onActiveIndexChange: d, initialKeyboardIndex: f = t(164) }) {
22
+ let p = t, [m, h] = r(c, u, d), g = o(null), _ = o(null), [v, y] = s(0), [b, x] = s({
37
23
  w: 0,
38
24
  h: 0
39
- }), S = s(void 0);
40
- o(() => {
41
- let e = n, t = g[e(281)], r = _[e(281)];
25
+ }), S = o(void 0);
26
+ a(() => {
27
+ let e = l, t = g[e(163)], n = _[e(163)];
42
28
  if (!t) return;
43
- let i = new ResizeObserver(() => {
44
- let n = e;
45
- y(t[n(283)]), r && x((e) => e.w === r[n(280)] && e.h === r.offsetHeight ? e : {
46
- w: r[n(280)],
47
- h: r.offsetHeight
29
+ let r = new ResizeObserver(() => {
30
+ let r = e;
31
+ y(t[r(169)]), n && x((e) => e.w === n[r(157)] && e.h === n[r(155)] ? e : {
32
+ w: n.offsetWidth,
33
+ h: n[r(155)]
48
34
  });
49
35
  });
50
- return i[e(284)](t), r && i[e(284)](r), y(t.clientWidth), () => i.disconnect();
51
- }, []), a(() => () => window[p(295)](S[p(281)]), []);
52
- let C = m !== null && m < t, [w, T] = c(m);
36
+ return r[e(171)](t), n && r.observe(n), y(t[e(169)]), () => r[e(152)]();
37
+ }, []), i(() => () => window[p(158)](S[p(163)]), []);
38
+ let C = m !== null && m < e, [w, T] = s(m);
53
39
  C && m !== w && T(m);
54
- let E = w !== null && w < t ? w : null, [D, O] = c(!1);
55
- return !C && D && O(!1), a(() => {
40
+ let E = w !== null && w < e ? w : null, [D, O] = s(!1);
41
+ return !C && D && O(!1), i(() => {
56
42
  if (!C) return;
57
43
  let e = requestAnimationFrame(() => e = requestAnimationFrame(() => O(!0)));
58
44
  return () => cancelAnimationFrame(e);
@@ -67,28 +53,42 @@ function l({ count: t, activeIndex: l, defaultActiveIndex: u = null, onActiveInd
67
53
  tipSize: b,
68
54
  hover: (e) => {
69
55
  let t = p;
70
- window[t(295)](S[t(281)]), e !== m && h(e);
56
+ window[t(158)](S[t(163)]), e !== m && h(e);
71
57
  },
72
58
  leave: () => {
73
59
  let e = p;
74
- window[e(295)](S.current), S[e(281)] = window[e(297)](() => h(null), r.hoverGrace);
60
+ window[e(158)](S[e(163)]), S.current = window[e(153)](() => h(null), n[e(156)]);
75
61
  },
76
62
  plotProps: {
77
63
  ref: g,
78
64
  tabIndex: 0,
79
- role: p(279),
80
- onKeyDown: (e) => {
65
+ role: p(143),
66
+ onKeyDown: (t) => {
81
67
  let n = p;
82
- if (!t) return;
83
- let r = m ?? (f === n(285) ? 0 : t - 1), i = e[n(288)] === n(289) || e.key === n(298) ? Math[n(291)](t - 1, r + 1) : e[n(288)] === n(275) || e.key === "ArrowUp" ? Math[n(276)](0, r - 1) : e.key === n(293) ? 0 : e[n(288)] === "End" ? t - 1 : void 0;
84
- i === void 0 ? e.key === n(277) && m !== null && (e[n(272)](), h(null)) : (e[n(272)](), h(i));
68
+ if (!e) return;
69
+ let r = m ?? (f === n(150) ? 0 : e - 1), i = t[n(154)] === n(160) || t.key === n(159) ? Math[n(145)](e - 1, r + 1) : t.key === "ArrowLeft" || t.key === "ArrowUp" ? Math[n(170)](0, r - 1) : t[n(154)] === n(144) ? 0 : t[n(154)] === n(148) ? e - 1 : void 0;
70
+ i === void 0 ? t[n(154)] === "Escape" && m !== null && (t[n(165)](), h(null)) : (t[n(165)](), h(i));
85
71
  },
86
- onFocus: (e) => {
72
+ onFocus: (t) => {
87
73
  let n = p;
88
- e.currentTarget[n(287)](n(286)) && m === null && t && h(f === "first" ? 0 : t - 1);
74
+ t.currentTarget[n(151)](n(146)) && m === null && e && h(f === n(150) ? 0 : e - 1);
89
75
  },
90
76
  onBlur: () => h(null)
91
77
  }
92
78
  };
93
79
  }
94
- export { l as useChartInteraction };
80
+ function l(t, n) {
81
+ t -= 143;
82
+ let r = e(), i = r[t];
83
+ l.EcvkMw === void 0 && (l.kIUajP = function(e) {
84
+ let t = "", n = "";
85
+ 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);
86
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
87
+ return decodeURIComponent(n);
88
+ }, l.CEEYHd = {}, l.EcvkMw = !0);
89
+ let a = r[0];
90
+ l.ROdnnf !== a && (l.CEEYHd = {}, l.ROdnnf = a);
91
+ let o = l.CEEYHd[t];
92
+ return o === void 0 ? (i = l.kIUajP(i), l.CEEYHd[t] = i) : i = o, i;
93
+ }
94
+ export { c as useChartInteraction };
@@ -1,115 +1,115 @@
1
1
  "use client";
2
- const e = d;
2
+ const e = r;
3
3
  (function(e, t) {
4
- let n = d, r = e();
4
+ let n = r, i = e();
5
5
  for (;;) try {
6
- if (parseInt(n(224)) / 1 * (-parseInt(n(212)) / 2) + parseInt(n(223)) / 3 * (parseInt(n(204)) / 4) + -parseInt(n(237)) / 5 * (parseInt(n(191)) / 6) + parseInt(n(209)) / 7 + -parseInt(n(195)) / 8 + parseInt(n(196)) / 9 + parseInt(n(194)) / 10 * (parseInt(n(215)) / 11) == t) break;
7
- r.push(r.shift());
6
+ if (parseInt(n(315)) / 1 * (parseInt(n(339)) / 2) + parseInt(n(335)) / 3 * (-parseInt(n(330)) / 4) + -parseInt(n(312)) / 5 + -parseInt(n(338)) / 6 + parseInt(n(319)) / 7 * (-parseInt(n(310)) / 8) + -parseInt(n(301)) / 9 * (-parseInt(n(325)) / 10) + parseInt(n(305)) / 11 == t) break;
7
+ i.push(i.shift());
8
8
  } catch {
9
- r.push(r.shift());
9
+ i.push(i.shift());
10
10
  }
11
- })(r, 968535);
11
+ })(o, 655216);
12
12
  import { Spinner as t } from "../../primitives/Spinner2.js";
13
13
  import { Text as n } from "../../primitives/Typography2.js";
14
- function r() {
15
- let e = /* @__PURE__ */ "C3bHBG.BwfW.Aw1N.BMv1DhjHBa.C2LUz2XL.zMfPBgvK.Aw5OzxjPDa.mJe0mZbmy25YzLG.64UK7iUCioUZToUcToQ4Sa.zhmTy2HHDc1IDwjIBgvFx2zPBgWTlq.C2LKzq.zMLSDgvY.C2vJB25Kyxj5.zhmTy2HHDc1IDwjIBgvFx21LDge.BgfZDa.ndaYA2PHruDy.zhmTy2HHDc1NCM91Ca.zMLYC3q.mJi2mfPWCuLKEG.nJeYnJuYogjNt1z5DG.ndGYmtm1nefxt3H5EG.Cg9ZAxrPB24.uhjVDMLKzxi.zw5K.C2vUzgLUzW.zhmTy2HHDc1NCM91Cf9FyNvIyMXLCW.CMvHza.r3jVDxa.ng9PCvbYAa.zhmTy2HHDc1NCM91Cf9FBMfTzq.zhmTy2HHDc1IDwjIBgvFx3n0yxr1CW.BgfIzwWTC20.A2v5.mteZotGYnJHJywvLqKe.BgvUz3rO.zgL2.mJu0otaYzhvdzuHx.BwLKzgXL.zhmTy2HHDc1IDwjIBgvFx3jVDW.odKYmvHNvuvAvq.7j6f66cLioYKKq.ywnJzw50.yM9KEs1Tza.z2HVC3q.zhmTy2HHDc1IDwjIBgvFx2fSzxj0.C3rHCNq.C3rYAw5N.ntuYmdaZv1bVsuzj.neTfrgzYuq.zhmTy2HHDc1IDwjIBgvFx2rVDhm.zhmTy2HHDc1NCM91Cf9FyxzHDgfY.7j2yioUPLoYlNoYNGa.Dg9bCNjHEq.C3rHDhvZ".split(".");
16
- return r = function() {
17
- return e;
18
- }, r();
19
- }
20
- import { Inline as i, Stack as a } from "../../primitives/Layout2.js";
21
- import { RelativeTime as o } from "../../primitives/RelativeTime.js";
22
- import { Avatar as s, Button as c, cx as l } from "../../primitives/index.js";
23
- import { formatChatTime as u } from "./formatChatTime.js";
24
- function d(e, t) {
25
- e -= 184;
26
- let n = r(), i = n[e];
27
- d.xQoXKX === void 0 && (d.KUZQZQ = function(e) {
14
+ function r(e, t) {
15
+ e -= 296;
16
+ let n = o(), i = n[e];
17
+ r.NqOgIJ === void 0 && (r.eZsoQg = function(e) {
28
18
  let t = "", n = "";
29
19
  for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
30
20
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
31
21
  return decodeURIComponent(n);
32
- }, d.OjOcqH = {}, d.xQoXKX = !0);
22
+ }, r.lswiZT = {}, r.NqOgIJ = !0);
33
23
  let a = n[0];
34
- d.ptlVaL !== a && (d.OjOcqH = {}, d.ptlVaL = a);
35
- let o = d.OjOcqH[e];
36
- return o === void 0 ? (i = d.KUZQZQ(i), d.OjOcqH[e] = i) : i = o, i;
24
+ r.sJcFdY !== a && (r.lswiZT = {}, r.sJcFdY = a);
25
+ let s = r.lswiZT[e];
26
+ return s === void 0 ? (i = r.eZsoQg(i), r.lswiZT[e] = i) : i = s, i;
27
+ }
28
+ import { Inline as i, Stack as a } from "../../primitives/Layout2.js";
29
+ function o() {
30
+ let e = /* @__PURE__ */ "zMfPBgvK.oufbA0nwDG.BgvUz3rO.BMv1DhjHBa.ndG4ntmYmgzxwML6Aq.mtzKzvfbu3m.y2fWDgLVBG.C2vJB25Kyxj5.Aw1N.zhmTy2HHDc1IDwjIBgvFx3n0yxr1CW.Cg9ZAxrPB24.C3rHDhvZ.zhmTy2HHDc1NCM91Cf9FyxzHDgfY.yM9KEs1Tza.zhmTy2HHDc1IDwjIBgvFx2fJDgLVBNm.zhmTy2HHDc1NCM91Ca.BgfIzwWTC20.C2LKzq.zgfUz2vY.C3bHBG.mtCWmtLguKDJDvy.7j6f66cLioYKKq.z3jVDxa.C2vUzgLUzW.mJuXmJGZndvLBLfKywe.BgfZDa.67o064k064QuioYKKq.Aw5OzxjPDa.zw5K.mZKYww95weXL.zhmTy2HHDc1IDwjIBgu.mtG3otq1nuj1uw5KtW.zMLYC3q.zhmTy2HHDc1IDwjIBgvFx3jVDW.nda1mtLLrwrVueW.7j2yioUPLoYlNoYNGa.Dg9bCNjHEq.BwfW.mtu5nZmZt3DQBvnm.7kce7iAH65cO.zhmTy2HHDc1IDwjIBgvFx2fSzxj0.7kce7iAHioYlPo2mQa.z2HVC3q.C2LUz2XL.mZaYmfDcB2TqyG.C3rHCNq.uhjVDMLKzxi.64UK7iUCioUZToUcToQ4Sa.zhmTy2HHDc1IDwjIBgvFx2zPBgW.mJG4mJi4qLDQtK5s.r3jVDxa.zgL2.C3rYAw5N".split(".");
31
+ return o = function() {
32
+ return e;
33
+ }, o();
37
34
  }
35
+ import { RelativeTime as s } from "../../primitives/RelativeTime.js";
36
+ import { Avatar as c, Button as l, cx as u } from "../../primitives/index.js";
37
+ import { formatChatTime as d } from "./formatChatTime.js";
38
38
  /* empty css */
39
39
  import { Children as f, createContext as p, isValidElement as m, useContext as h } from "react";
40
40
  import { AlertCircle as g, Check as _, CheckCheck as v, RotateCw as y } from "lucide-react";
41
41
  import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
42
42
  var C = p(null), w = {
43
- sending: "보내는 중",
44
- sent: "전송됨",
43
+ sending: e(307),
44
+ sent: e(320),
45
45
  read: "읽음",
46
- failed: "전송 실패"
46
+ failed: e(322)
47
47
  };
48
- function T({ status: e }) {
49
- let n = d;
50
- if (e === n(200)) return x(t, {
48
+ function T({ status: n }) {
49
+ let r = e;
50
+ if (n === r(304)) return x(t, {
51
51
  size: 12,
52
- tone: "inherit",
53
- label: w[n(200)]
52
+ tone: r(308),
53
+ label: w[r(304)]
54
54
  });
55
- if (e === n(235)) return null;
56
- let r = e === n(202) ? v : _;
57
- return x(n(230), {
58
- className: n(206),
59
- "data-status": e,
60
- role: n(232),
61
- "aria-label": w[e],
62
- children: x(r, { "aria-hidden": !0 })
55
+ if (n === "failed") return null;
56
+ let i = n === "read" ? v : _;
57
+ return x(r(300), {
58
+ className: r(343),
59
+ "data-status": n,
60
+ role: r(342),
61
+ "aria-label": w[n],
62
+ children: x(i, { "aria-hidden": !0 })
63
63
  });
64
64
  }
65
- function E({ side: e, tone: t, position: r, children: s, time: f, status: p, onRetry: m, typing: _, actions: v, footer: E, appear: D, className: O, style: k }) {
66
- let A = d, j = h(C), M = e ?? j?.[A(186)] ?? A(221), N = r ?? j?.[A(197)] ?? A(234), P = t ?? (M === A(199) ? A(217) : A(233)), F = N === "single" || N === A(190), I = F && (f != null || p != null) || p === "sending" || p === A(235), L = x(n, {
65
+ function E({ side: t, tone: r, position: o, children: c, time: f, status: p, onRetry: m, typing: _, actions: v, footer: E, appear: D, className: O, style: k }) {
66
+ let A = e, j = h(C), M = t ?? j?.[A(298)] ?? A(326), N = o ?? j?.[A(344)] ?? A(324), P = r ?? (M === A(309) ? "accent" : A(337)), F = N === "single" || N === A(306), I = F && (f != null || p != null) || p === A(304) || p === A(334), L = x(n, {
67
67
  as: "div",
68
- variant: A(218),
69
- tone: A(236),
70
- className: l("ds-chat-bubble__fill", A(185) + P),
68
+ variant: A(347),
69
+ tone: "inherit",
70
+ className: u(A(329), "ds-chat-bubble__fill--" + P),
71
71
  "data-typing": _ || void 0,
72
- children: _ ? S(A(230), {
73
- className: A(225),
74
- role: A(229),
75
- "aria-label": A(216),
72
+ children: _ ? S(A(300), {
73
+ className: "ds-chat-bubble__dots",
74
+ role: A(345),
75
+ "aria-label": A(302),
76
76
  children: [
77
- x(A(230), {}),
78
- x("span", {}),
77
+ x(A(300), {}),
78
+ x(A(300), {}),
79
79
  x("span", {})
80
80
  ]
81
- }) : s
81
+ }) : c
82
82
  }), R = I && x(i, {
83
83
  gap: 1,
84
84
  wrap: !1,
85
- className: A(189),
86
- "data-failed": p === "failed" || void 0,
87
- children: p === "failed" ? S(b, { children: [x(g, {
85
+ className: "ds-chat-bubble__meta",
86
+ "data-failed": p === A(334) || void 0,
87
+ children: p === A(334) ? S(b, { children: [x(g, {
88
88
  "aria-hidden": !0,
89
- className: A(220)
89
+ className: A(321)
90
90
  }), x(n, {
91
- variant: "caption",
92
- tone: "danger",
93
- children: w[A(235)]
94
- })] }) : S(b, { children: [p && x(T, { status: p }), F && f != null && x(o, {
91
+ variant: A(340),
92
+ tone: A(299),
93
+ children: w.failed
94
+ })] }) : S(b, { children: [p && x(T, { status: p }), F && f != null && x(s, {
95
95
  date: f,
96
- format: u,
96
+ format: d,
97
97
  refreshInterval: !1
98
98
  })] })
99
- }), z = p === A(235) && m && x(c, {
100
- variant: A(219),
99
+ }), z = p === A(334) && m && x(l, {
100
+ variant: A(323),
101
101
  size: "sm",
102
102
  icon: x(y, {}),
103
103
  onClick: m,
104
- children: A(184)
105
- }), B = v && x("span", {
106
- className: "ds-chat-bubble__actions",
104
+ children: A(328)
105
+ }), B = v && x(A(300), {
106
+ className: A(348),
107
107
  children: v
108
108
  });
109
109
  return S(a, {
110
110
  gap: 1,
111
- align: M === A(199) ? A(199) : A(221),
112
- className: l("ds-chat-bubble", O),
111
+ align: M === A(309) ? A(309) : A(326),
112
+ className: u(A(311), O),
113
113
  "data-side": M,
114
114
  "data-position": N,
115
115
  "data-status": p,
@@ -117,9 +117,9 @@ function E({ side: e, tone: t, position: r, children: s, time: f, status: p, onR
117
117
  style: k,
118
118
  children: [S(i, {
119
119
  gap: 2,
120
- align: A(199),
120
+ align: A(309),
121
121
  wrap: !1,
122
- className: A(214),
122
+ className: A(314),
123
123
  children: [
124
124
  L,
125
125
  R,
@@ -129,46 +129,46 @@ function E({ side: e, tone: t, position: r, children: s, time: f, status: p, onR
129
129
  }), E]
130
130
  });
131
131
  }
132
- function D({ author: t, avatar: r, side: o = "start", avatarSize: c = 28, showName: u = o === e(221), children: d, className: p, style: h }) {
133
- let g = e, _ = f[g(228)](d)[g(187)](m), v = _[g(210)] - 1, y = o === "start" && (r === void 0 ? typeof t === g(222) ? x(s, {
132
+ function D({ author: t, avatar: r, side: o = e(326), avatarSize: s = 28, showName: l = o === e(326), children: d, className: p, style: h }) {
133
+ let g = e, _ = f[g(317)](d).filter(m), v = _[g(336)] - 1, y = o === g(326) && (r === void 0 ? typeof t === g(333) ? x(c, {
134
134
  name: t,
135
- size: c
135
+ size: s
136
136
  }) : null : r), b = S(a, {
137
137
  gap: 1,
138
- align: o === g(199) ? g(199) : g(221),
139
- className: g(201),
140
- children: [u && t != null && x(n, {
141
- variant: g(207),
142
- tone: g(188),
143
- className: g(205),
138
+ align: o === g(309) ? g(309) : "start",
139
+ className: "ds-chat-group__bubbles",
140
+ children: [l && t != null && x(n, {
141
+ variant: g(297),
142
+ tone: g(341),
143
+ className: "ds-chat-group__name",
144
144
  children: t
145
- }), _[g(231)]((e, t) => x(C[g(198)], {
145
+ }), _[g(318)]((e, t) => x(C[g(327)], {
146
146
  value: {
147
147
  side: o,
148
- position: v === 0 ? g(234) : t === 0 ? g(193) : t === v ? "last" : g(213)
148
+ position: v === 0 ? "single" : t === 0 ? g(313) : t === v ? g(306) : "middle"
149
149
  },
150
150
  children: e
151
- }, e[g(208)] ?? t))]
151
+ }, e.key ?? t))]
152
152
  });
153
- return x(g(211), {
154
- className: l(g(192), p),
153
+ return x(g(332), {
154
+ className: u(g(296), p),
155
155
  "data-side": o,
156
- role: "group",
157
- "aria-label": typeof t == "string" ? t + g(227) : void 0,
156
+ role: g(303),
157
+ "aria-label": typeof t == "string" ? t + g(316) : void 0,
158
158
  style: {
159
- "--_avatar": c + "px",
159
+ "--_avatar": s + "px",
160
160
  ...h
161
161
  },
162
- children: o === "start" && (y || r === null) ? S(i, {
162
+ children: o === g(326) && (y || r === null) ? S(i, {
163
163
  gap: 2,
164
- align: g(221),
164
+ align: g(326),
165
165
  wrap: !1,
166
- children: [x(g(230), {
167
- className: g(226),
166
+ children: [x("span", {
167
+ className: g(346),
168
168
  children: y
169
169
  }), b]
170
170
  }) : b
171
171
  });
172
172
  }
173
- E[e(203)] = D;
173
+ E[e(331)] = D;
174
174
  export { E as ChatBubble, D as ChatBubbleGroup };