@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,55 +1,49 @@
1
1
  "use client";
2
2
  function e() {
3
3
  var t = [
4
- "otaXmJCWy21Qz2Dn",
4
+ "ndq2oda4nNPergPUta",
5
+ "mtyWnJi4uvjLwuf3",
6
+ "mJe2nJKXmMTsvuPoDq",
7
+ "mZyWndq2zurXvw9e",
8
+ "odqYndLIzevxA3C",
5
9
  "mI1KAwDPDa",
6
- "muPht2LMva",
7
- "mZbRqLrNvwC",
8
- "zM9YBwf0",
9
- "mti0vvDPvLrS",
10
- "A28Ts1i",
11
- "mteYmZG1nvrps2f4DW",
12
- "ndG1mJHVruzMqu4",
13
- "rgf0zvrPBwvgB3jTyxq",
14
- "ndmWm0jorLDWsG",
15
- "otbNA2jWEKy",
16
- "odG0otm5mePRB0DpwG",
17
- "BNvTzxjPyW",
18
- "nJKYmJj6uwDKrey",
19
- "ntuZqKDxquTw",
20
- "mtaYmtKYmhDACKf1ra",
21
- "mtaYmZi4BeHWsxHS"
10
+ "mte3mdmXmML5BLn1CG",
11
+ "mJe1mZjLv1z3vu8",
12
+ "nZeYC1reBw1n",
13
+ "mtbcAvP3sK8",
14
+ "mZeWrwfnqwXt",
15
+ "zM9YBwf0"
22
16
  ];
23
17
  return e = function() {
24
18
  return t;
25
19
  }, e();
26
20
  }
27
- function t(n, r) {
28
- n -= 232;
29
- var i = e(), a = i[n];
30
- t.zodsLH === void 0 && (t.iZfybt = function(e) {
31
- 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);
32
- for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
33
- return decodeURIComponent(r);
34
- }, t.TKMWJG = {}, t.zodsLH = !0);
35
- var o = i[0];
36
- t.oPuMxO !== o && (t.TKMWJG = {}, t.oPuMxO = o);
37
- var s = t.TKMWJG[n];
38
- return s === void 0 ? (a = t.iZfybt(a), t.TKMWJG[n] = a) : a = s, a;
39
- }
40
- (function(e, n) {
41
- for (var r = t, i = e();;) try {
42
- if (-parseInt(r(244)) / 1 * (-parseInt(r(242)) / 2) + -parseInt(r(238)) / 3 * (parseInt(r(247)) / 4) + parseInt(r(249)) / 5 * (-parseInt(r(245)) / 6) + parseInt(r(239)) / 7 * (parseInt(r(241)) / 8) + -parseInt(r(235)) / 9 * (parseInt(r(240)) / 10) + parseInt(r(236)) / 11 + parseInt(r(232)) / 12 * (parseInt(r(234)) / 13) == n) break;
21
+ (function(e, t) {
22
+ for (var r = n, i = e();;) try {
23
+ if (-parseInt(r(469)) / 1 + -parseInt(r(460)) / 2 + parseInt(r(468)) / 3 + parseInt(r(467)) / 4 * (-parseInt(r(463)) / 5) + parseInt(r(466)) / 6 + -parseInt(r(461)) / 7 * (parseInt(r(462)) / 8) + -parseInt(r(470)) / 9 * (-parseInt(r(464)) / 10) == t) break;
43
24
  i.push(i.shift());
44
25
  } catch {
45
26
  i.push(i.shift());
46
27
  }
47
- })(e, 743109);
48
- function n(e) {
49
- var n = t;
50
- return new Intl[n(233)](n(248), {
51
- hour: n(237),
52
- minute: n(243)
53
- })[n(246)](e);
28
+ })(e, 457496);
29
+ function t(e) {
30
+ var t = n;
31
+ return new Intl.DateTimeFormat("ko-KR", {
32
+ hour: "numeric",
33
+ minute: t(471)
34
+ })[t(465)](e);
35
+ }
36
+ function n(t, r) {
37
+ t -= 460;
38
+ var i = e(), a = i[t];
39
+ n.QvxyRw === void 0 && (n.qLAUEp = function(e) {
40
+ 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);
41
+ for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
42
+ return decodeURIComponent(r);
43
+ }, n.TDYKef = {}, n.QvxyRw = !0);
44
+ var o = i[0];
45
+ n.NVIBaY !== o && (n.TDYKef = {}, n.NVIBaY = o);
46
+ var s = n.TDYKef[t];
47
+ return s === void 0 ? (a = n.qLAUEp(a), n.TDYKef[t] = a) : a = s, a;
54
48
  }
55
- export { n as formatChatTime };
49
+ export { t as formatChatTime };
@@ -1,52 +1,52 @@
1
1
  "use client";
2
- const e = n;
3
- (function(e, t) {
4
- let r = n, i = e();
5
- for (;;) try {
6
- if (parseInt(r(146)) / 1 + -parseInt(r(157)) / 2 * (-parseInt(r(133)) / 3) + -parseInt(r(162)) / 4 * (parseInt(r(154)) / 5) + -parseInt(r(172)) / 6 * (-parseInt(r(167)) / 7) + -parseInt(r(164)) / 8 * (parseInt(r(135)) / 9) + -parseInt(r(144)) / 10 + parseInt(r(139)) / 11 == t) break;
7
- i.push(i.shift());
8
- } catch {
9
- i.push(i.shift());
10
- }
11
- })(c, 222738);
12
- import { Kbd as t } from "../../primitives/Kbd2.js";
13
- function n(e, t) {
14
- e -= 133;
15
- let r = c(), i = r[e];
16
- n.rZQDzh === void 0 && (n.CwXlxU = function(e) {
2
+ function e() {
3
+ let t = /* @__PURE__ */ "y3vYCMvUDa.zhmTy29TCg9ZzxjFx3nLBMq.7j2r64U1ioYKKEYNGa.mZy1mJbbt09hs1a.mtq2ntKZnLbYv1DXua.rxnJyxbL.zhmTy29UDhjVBcbKCY1JB21WB3nLCG.67o064k06RIWia.zw50zxi.7yYm7j28ioYYQoU2Ga.zM9JDxm.mJy0mJjjCwPuwgK.zhmTy29TCg9ZzxiTlxnT.zhmTy29TCg9ZzxjFx2zVB3rLCG.zgL2.mZeWnZeYnwv0r0j2zW.zw5K.67o064k06RIW.7ksr7kEaia.yNv0Dg9UlcbHlcbPBNb1DcWGDgv4DgfYzweSifTYB2XLpsjTzw51iL0.ChjLDMvUDerLzMf1Bhq.AxndB21WB3nPBMC.mZe2mdm3nfvwtK5PrG.nMrqEw9vvq.rw50zxi.DgfYz2v0.y3vYCMvUDfrHCMDLDa.DhjPBq.C2HPzNrlzxK.mJiWotC1mfrpwxzkyW.A2v5.mJq4me5PBwvdqq.66Y07jEh7j2065oGioUSVoYwToUZToYeUoYALa.ovr1AvbWEa.ChjPBwfYEq.y3vYCMvUDenVBg9Y.DMfSDwu.ndfNCg5YDhe.y29UDgfPBNm.BMf0AxzLrxzLBNq.mtmZotrOwwPWt0m".split(".");
4
+ return e = function() {
5
+ return t;
6
+ }, e();
7
+ }
8
+ function t(n, r) {
9
+ n -= 204;
10
+ let i = e(), a = i[n];
11
+ t.nvoQKf === void 0 && (t.dwBUyc = function(e) {
17
12
  let t = "", n = "";
18
13
  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
14
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
20
15
  return decodeURIComponent(n);
21
- }, n.KoaNUE = {}, n.rZQDzh = !0);
22
- let a = r[0];
23
- n.xPsWzL !== a && (n.KoaNUE = {}, n.xPsWzL = a);
24
- let o = n.KoaNUE[e];
25
- return o === void 0 ? (i = n.CwXlxU(i), n.KoaNUE[e] = i) : i = o, i;
26
- }
27
- import { Tooltip as r } from "../../primitives/Tooltip2.js";
28
- import { Box as i, Inline as a, Stack as o } from "../../primitives/Layout2.js";
29
- import { useControllableState as s } from "../../hooks/useControllableState.js";
30
- function c() {
31
- let e = /* @__PURE__ */ "nfzbDg1quW.DhjPBq.66Y07jEh7j2065oGioUSVoYwToUZToYeUoYALa.zhmTy29UDhjVBcbKCY1JB21WB3nLCG.DMfSDwu.nZa3ntq4s3jyExn6.ChjLDMvUDerLzMf1Bhq.mJyYngr0DLfOta.z2HVC3q.7yYm7j28ioYYQoU2Ga.ndKWrLfAs1Ds.67o064k06RIWia.y29UDgfPBNm.zhmTy29TCg9ZzxjFx3nLBMq.yMv0D2vLBG.mtC3mZzYsNPhq0W.DgfYz2v0.mtaXmZaXB2jhywvl.7ksr7kEaia.nZe1nwTcruP4AW.ChjPBwfYEq.A2v5.zhmTy29TCg9ZzxjFx2zVB3rLCG.mteWmdqXohbRvhDNvG.zhmTy29TCg9ZzxiTlxnT.7j2r64U1ioYKKEYNGa.yNv0Dg9UlcbHlcbPBNb1DcWGDgv4DgfYzweSifTYB2XLpsjTzw51iL0.y3vYCMvUDa.nJK1nJbWu3fgEKy.C2HPzNrlzxK.mJKYodq5s0P2sLPO.AxndB21WB3nPBMC.BMf0AxzLrxzLBNq.zM9JDxm.y3vYCMvUDfrHCMDLDa.zgL2.zw50zxi.rw50zxi.nuXMDNbYsW.zxnJ.y3vYCMvUDenVBg9Y".split(".");
32
- return c = function() {
33
- return e;
34
- }, c();
16
+ }, t.yhBknu = {}, t.nvoQKf = !0);
17
+ let o = i[0];
18
+ t.Pllwkd !== o && (t.yhBknu = {}, t.Pllwkd = o);
19
+ let s = t.yhBknu[n];
20
+ return s === void 0 ? (a = t.dwBUyc(a), t.yhBknu[n] = a) : a = s, a;
35
21
  }
22
+ const n = t;
23
+ (function(e, n) {
24
+ let r = t, i = e();
25
+ for (;;) try {
26
+ if (-parseInt(r(217)) / 1 * (parseInt(r(220)) / 2) + parseInt(r(244)) / 3 * (-parseInt(r(224)) / 4) + parseInt(r(209)) / 5 + parseInt(r(243)) / 6 + parseInt(r(236)) / 7 + -parseInt(r(225)) / 8 * (parseInt(r(213)) / 9) + -parseInt(r(211)) / 10 * (parseInt(r(232)) / 11) == n) break;
27
+ i.push(i.shift());
28
+ } catch {
29
+ i.push(i.shift());
30
+ }
31
+ })(e, 340779);
32
+ import { Kbd as r } from "../../primitives/Kbd2.js";
33
+ import { Tooltip as i } from "../../primitives/Tooltip2.js";
34
+ import { Box as a, Inline as o, Stack as s } from "../../primitives/Layout2.js";
35
+ import { useControllableState as c } from "../../hooks/useControllableState.js";
36
36
  import { Button as l, Textarea as u, cx as d } from "../../primitives/index.js";
37
37
  /* empty css */
38
38
  import { useRef as f } from "react";
39
39
  import { ArrowUp as p, Plus as m, Square as h } from "lucide-react";
40
40
  import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
41
- function y({ value: n, defaultValue: c = "", onValueChange: y, onSubmit: b, placeholder: x = e(159), disabled: S, pending: C, onStop: w, onAttach: T, attachLabel: E = e(166), tools: D, actions: O, attachments: k, footer: A, maxRows: j, size: M = "md", autoFocus: N, name: P, "aria-label": F = "메시지", className: I }) {
42
- let L = e, [R, z] = s(n, c, y), B = f(null), V = !S && !C && R[L(158)]() !== "", H = M === "sm", U = () => {
41
+ function y({ value: e, defaultValue: t = "", onValueChange: y, onSubmit: b, placeholder: x = n(212), disabled: S, pending: C, onStop: w, onAttach: T, attachLabel: E = n(230), tools: D, actions: O, attachments: k, footer: A, maxRows: j, size: M = "md", autoFocus: N, name: P, "aria-label": F = "메시지", className: I }) {
42
+ let L = n, [R, z] = c(e, t, y), B = f(null), V = !S && !C && R[L(207)]() !== "", H = M === "sm", U = () => {
43
43
  V && (b?.(R), z(""));
44
44
  }, W = (e) => {
45
45
  let t = L;
46
- e[t(148)][t(147)] || (e[t(137)] === t(153) && !e[t(145)] ? (e[t(163)](), U()) : e[t(137)] === "Escape" && C && w?.());
46
+ e[t(219)][t(242)] || (e[t(210)] === t(204) && !e[t(208)] ? (e[t(241)](), U()) : e[t(210)] === t(226) && C && w?.());
47
47
  }, G = (e) => {
48
- let t = L, n = e.target;
49
- !S && e[t(150)][t(169)](n) && (n.closest(t(142)) || (e[t(163)](), B[t(143)]?.[t(149)]()));
48
+ let t = L, n = e[t(205)];
49
+ !S && e[t(206)][t(218)](n) && (n.closest(t(240)) || (e.preventDefault(), B[t(221)]?.[t(231)]()));
50
50
  }, K = H ? "sm" : "md", q = _(u, {
51
51
  ref: B,
52
52
  className: "ds-composer__input",
@@ -54,7 +54,7 @@ function y({ value: n, defaultValue: c = "", onValueChange: y, onSubmit: b, plac
54
54
  autoResize: !0,
55
55
  maxRows: j ?? (H ? 4 : 8),
56
56
  value: R,
57
- onChange: (e) => z(e[L(173)][L(161)]),
57
+ onChange: (e) => z(e[L(205)][L(216)]),
58
58
  onKeyDown: W,
59
59
  placeholder: x,
60
60
  disabled: S,
@@ -62,55 +62,55 @@ function y({ value: n, defaultValue: c = "", onValueChange: y, onSubmit: b, plac
62
62
  name: P,
63
63
  "aria-label": F
64
64
  }), J = T && _(l, {
65
- variant: L(165),
65
+ variant: "ghost",
66
66
  size: K,
67
67
  iconOnly: !0,
68
68
  icon: _(m, {}),
69
69
  "aria-label": E,
70
70
  onClick: T,
71
71
  disabled: S
72
- }), Y = C ? _(r, {
73
- content: v(g, { children: [L(134), _(t, {
74
- keys: [L(155)],
72
+ }), Y = C ? _(i, {
73
+ content: v(g, { children: [L(239), _(r, {
74
+ keys: ["esc"],
75
75
  size: "sm"
76
76
  })] }),
77
77
  children: _(l, {
78
- className: L(170),
79
- variant: L(136),
78
+ className: "ds-composer__send",
79
+ variant: L(214),
80
80
  size: K,
81
81
  iconOnly: !0,
82
- icon: _(h, { fill: L(156) }),
83
- "aria-label": L(141),
82
+ icon: _(h, { fill: L(215) }),
83
+ "aria-label": L(223),
84
84
  onClick: w
85
85
  })
86
- }) : _(r, {
87
- content: v(g, { children: [L(168), _(t, {
88
- keys: [L(152)],
86
+ }) : _(i, {
87
+ content: v(g, { children: [L(228), _(r, {
88
+ keys: [L(229)],
89
89
  size: "sm"
90
90
  })] }),
91
91
  children: _(l, {
92
- className: L(170),
93
- variant: L(136),
92
+ className: L(222),
93
+ variant: L(214),
94
94
  size: K,
95
95
  iconOnly: !0,
96
96
  icon: _(p, {}),
97
- "aria-label": "보내기",
97
+ "aria-label": L(238),
98
98
  disabled: !V,
99
99
  onClick: U
100
100
  })
101
101
  });
102
- return v(L(151), {
103
- className: d(L(160), H && L(140), I),
102
+ return v(L(235), {
103
+ className: d(L(227), H && L(233), I),
104
104
  "data-disabled": S || void 0,
105
105
  "data-pending": C || void 0,
106
106
  onMouseDown: G,
107
- children: [H ? _(i, {
107
+ children: [H ? _(a, {
108
108
  padding: 2,
109
- children: v(o, {
109
+ children: v(s, {
110
110
  gap: 2,
111
- children: [k, v(a, {
111
+ children: [k, v(o, {
112
112
  gap: 1,
113
- align: "end",
113
+ align: L(237),
114
114
  wrap: !1,
115
115
  children: [
116
116
  J,
@@ -121,22 +121,22 @@ function y({ value: n, defaultValue: c = "", onValueChange: y, onSubmit: b, plac
121
121
  ]
122
122
  })]
123
123
  })
124
- }) : _(i, {
124
+ }) : _(a, {
125
125
  padding: 3,
126
- children: v(o, {
126
+ children: v(s, {
127
127
  gap: 3,
128
128
  children: [
129
129
  k,
130
130
  q,
131
- v(a, {
131
+ v(o, {
132
132
  gap: 2,
133
- justify: L(171),
133
+ justify: "between",
134
134
  wrap: !1,
135
- children: [v(a, {
135
+ children: [v(o, {
136
136
  gap: 2,
137
137
  wrap: !1,
138
138
  children: [J, D]
139
- }), v(a, {
139
+ }), v(o, {
140
140
  gap: 1,
141
141
  wrap: !1,
142
142
  children: [O, Y]
@@ -144,8 +144,8 @@ function y({ value: n, defaultValue: c = "", onValueChange: y, onSubmit: b, plac
144
144
  })
145
145
  ]
146
146
  })
147
- }), A && _(L(151), {
148
- className: L(138),
147
+ }), A && _(L(235), {
148
+ className: L(234),
149
149
  children: A
150
150
  })]
151
151
  });
@@ -1,93 +1,93 @@
1
1
  "use client";
2
- const e = t;
3
- function t(e, n) {
4
- e -= 398;
5
- let r = f(), i = r[e];
6
- t.LebAVZ === void 0 && (t.qsqgQP = function(e) {
7
- let t = "", n = "";
8
- for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
9
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
10
- return decodeURIComponent(n);
11
- }, t.BYwlkz = {}, t.LebAVZ = !0);
12
- let a = r[0];
13
- t.aWHwjZ !== a && (t.BYwlkz = {}, t.aWHwjZ = a);
14
- let o = t.BYwlkz[e];
15
- return o === void 0 ? (i = t.qsqgQP(i), t.BYwlkz[e] = i) : i = o, i;
2
+ function e() {
3
+ let t = /* @__PURE__ */ "zhmTy29Kzv9FAgvHza.zhmTy29Kzq.zhmTy29Kzv9FBw9Yzq.mta3nJmYn0XKAMPzua.ChjL.BwfW.mtC0mtKXnhn6BeTZDG.nZy0BezQueDt.zhmTy29Kzv9FChjLigrZlxnJCM9SBa.ngzMz2LMyW.zNjVBq.zhmTy29Kzv9FDgL0Bgu.C3bHBG.Dhn4.mZe2mZy1tfzjt1H0.zhmTy29Kzv9Fz3v0DgvY.yNv0Dg9U.CgXHAw4.mte2q2TKz2v4.mti5nty1Bg1Rve93.oeHVD3Pgua.y29Kzq.zhmTy29Kzv9FAw5SAw5L.Dgv4Da.C3bSAxq.mtu1mJC1mMTmB3vWyW.mJqZnZm5mgjjAeXZsa.7l2u65oCioUnLcdRS7tQUlaGWRCG.DhLWzq.yMfZAa.zhmTy29Kzv9FDc0.zhmTy29Kzv9FChjVBxb0.zgL2".split(".");
4
+ return e = function() {
5
+ return t;
6
+ }, e();
16
7
  }
17
- (function(e, n) {
18
- let r = t, i = e();
8
+ const t = s;
9
+ (function(e, t) {
10
+ let n = s, r = e();
19
11
  for (;;) try {
20
- if (-parseInt(r(411)) / 1 * (parseInt(r(425)) / 2) + parseInt(r(407)) / 3 + -parseInt(r(429)) / 4 * (parseInt(r(417)) / 5) + -parseInt(r(403)) / 6 * (-parseInt(r(415)) / 7) + -parseInt(r(427)) / 8 + parseInt(r(399)) / 9 * (-parseInt(r(412)) / 10) + parseInt(r(413)) / 11 == n) break;
21
- i.push(i.shift());
12
+ if (parseInt(n(427)) / 1 * (parseInt(n(405)) / 2) + parseInt(n(434)) / 3 + parseInt(n(429)) / 4 * (-parseInt(n(406)) / 5) + -parseInt(n(412)) / 6 + -parseInt(n(423)) / 7 + -parseInt(n(407)) / 8 * (-parseInt(n(426)) / 9) + parseInt(n(413)) / 10 == t) break;
13
+ r.push(r.shift());
22
14
  } catch {
23
- i.push(i.shift());
15
+ r.push(r.shift());
24
16
  }
25
- })(f, 743407);
17
+ })(e, 148586);
26
18
  import { CopyButton as n } from "../../primitives/CopyButton2.js";
27
19
  import { cx as r } from "../../primitives/index.js";
28
20
  import { tokenize as i } from "./highlight.js";
29
21
  /* empty css */
30
22
  import { useMemo as a, useState as o } from "react";
31
- import { ChevronDown as s } from "lucide-react";
32
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
33
- function u({ code: t, language: u = e(416), title: f, command: p, showLineNumbers: m, maxHeight: h, copyable: g = !0, className: _ }) {
34
- let v = e, y = t[v(421)](/\n+$/, ""), b = a(() => i(y, p ? v(409) : u), [
23
+ function s(t, n) {
24
+ t -= 405;
25
+ let r = e(), i = r[t];
26
+ s.sFfriN === void 0 && (s.ZOEboR = function(e) {
27
+ let t = "", n = "";
28
+ 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);
29
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
30
+ return decodeURIComponent(n);
31
+ }, s.XWVWsA = {}, s.sFfriN = !0);
32
+ let a = r[0];
33
+ s.IBcvIa !== a && (s.XWVWsA = {}, s.IBcvIa = a);
34
+ let o = s.XWVWsA[t];
35
+ return o === void 0 ? (i = s.ZOEboR(i), s.XWVWsA[t] = i) : i = o, i;
36
+ }
37
+ import { ChevronDown as c } from "lucide-react";
38
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
39
+ function d({ code: e, language: s = t(433), title: d, command: p, showLineNumbers: m, maxHeight: h, copyable: g = !0, className: _ }) {
40
+ let v = t, y = e.replace(/\n+$/, ""), b = a(() => i(y, p ? v(416) : s), [
35
41
  y,
36
- u,
42
+ s,
37
43
  p
38
- ]), [x, S] = o(!1), C = y[v(414)]("\n")[v(418)], w = !!h && C * 22 > h;
39
- return p ? l(v(401), {
40
- className: r(v(426), v(402), _),
44
+ ]), [x, S] = o(!1), C = y[v(411)]("\n").length, w = !!h && C * 22 > h;
45
+ return p ? u(v(419), {
46
+ className: r(v(421), "ds-code--command", _),
41
47
  children: [
42
- c(v(422), {
43
- className: v(408),
48
+ l(v(432), {
49
+ className: v(418),
44
50
  "aria-hidden": !0,
45
51
  children: "$"
46
52
  }),
47
- c(v(428), {
48
- className: v(404),
49
- children: d(b)
53
+ l(v(408), {
54
+ className: v(409),
55
+ children: f(b)
50
56
  }),
51
- g && c(n, { value: y })
57
+ g && l(n, { value: y })
52
58
  ]
53
- }) : l(v(401), {
59
+ }) : u(v(419), {
54
60
  className: r("ds-code", _),
55
61
  "data-collapsed": w && !x || void 0,
56
62
  children: [
57
- (f || g) && l("div", {
58
- className: "ds-code__head",
59
- children: [c(v(422), {
60
- className: v(423),
61
- children: f
62
- }), g && c(n, { value: y })]
63
+ (d || g) && u(v(419), {
64
+ className: v(420),
65
+ children: [l("span", {
66
+ className: v(431),
67
+ children: d
68
+ }), g && l(n, { value: y })]
63
69
  }),
64
- l("pre", {
65
- className: "ds-code__pre ds-scroll",
70
+ u(v(424), {
71
+ className: v(428),
66
72
  style: w && !x ? { maxHeight: h } : void 0,
67
- children: [m && c(v(422), {
68
- className: v(420),
73
+ children: [m && l(v(432), {
74
+ className: v(435),
69
75
  "aria-hidden": !0,
70
- children: Array.from({ length: C }, (e, t) => c(v(422), { children: t + 1 }, t))
71
- }), c(v(428), { children: d(b) })]
76
+ children: Array[v(430)]({ length: C }, (e, t) => l(v(432), { children: t + 1 }, t))
77
+ }), l(v(408), { children: f(b) })]
72
78
  }),
73
- w && l(v(398), {
74
- type: v(398),
75
- className: v(400),
79
+ w && u("button", {
80
+ type: v(436),
81
+ className: v(422),
76
82
  "data-expanded": x || void 0,
77
83
  onClick: () => S((e) => !e),
78
- children: [x ? "접기" : v(424) + C + "줄", c(s, {})]
84
+ children: [x ? "접기" : v(414) + C + "줄", l(c, {})]
79
85
  })
80
86
  ]
81
87
  });
82
88
  }
83
- var d = (t) => t[e(419)]((t, n) => t[e(410)] === "plain" ? t[e(406)] : c(e(422), {
84
- className: e(405) + t[e(410)],
85
- children: t[e(406)]
89
+ var f = (e) => e[t(425)]((e, n) => e[t(415)] === t(437) ? e[t(410)] : l(t(432), {
90
+ className: t(417) + e.type,
91
+ children: e[t(410)]
86
92
  }, n));
87
- function f() {
88
- let e = /* @__PURE__ */ "zgL2.zhmTy29Kzs0Ty29TBwfUza.ndiYndzXzNLKv2S.zhmTy29Kzv9FAw5SAw5L.zhmTy29Kzv9FDc0.Dgv4Da.mti5mJa2mw9HDKDJAG.zhmTy29Kzv9FChjVBxb0.yMfZAa.DhLWzq.muHwwxvxqW.mty2otKWExzJDNDb.mZe4oti4mtDbC3Dpzw0.C3bSAxq.otHPENnkvvG.Dhn4.mJa1BLj6DKLf.BgvUz3rO.BwfW.zhmTy29Kzv9Fz3v0DgvY.CMvWBgfJzq.C3bHBG.zhmTy29Kzv9FDgL0Bgu.7l2u65oCioUnLcdRS7tQUlaGWRCG.mJaXodm3oeHHrvfTqG.zhmTy29Kzq.mty4ndiXnKj1DKvjrG.y29Kzq.mtC1mJHQwwLsBgO.yNv0Dg9U.nJKZt1HXEKfm.zhmTy29Kzv9FBw9Yzq".split(".");
89
- return f = function() {
90
- return e;
91
- }, f();
92
- }
93
- export { u as CodeBlock };
93
+ export { d as CodeBlock };
@@ -1,110 +1,110 @@
1
1
  "use client";
2
- function e() {
3
- let t = [
4
- "mtrqrxrjDey",
5
- "ntaYntq3nfjOwu9SBa",
6
- "CgXHAw4",
7
- "mJC1oda5ogLTqu1Nva",
8
- "mJy1otq3z0HWuvfe",
9
- "DgfN",
10
- "zxHLyW",
11
- "y29TBwvUDa",
12
- "A2v5D29Yza",
13
- "BgfZDeLUzgv4",
14
- "Dgv4Da",
15
- "ChvZAa",
16
- "mtm1odqWz3fbC29U",
17
- "yxr0CG",
18
- "mJuXmdq2nvLrs2f6vG",
19
- "ota3nty4vxnQyuzr",
20
- "nLvyDNf4CG",
21
- "C3rYAw5N",
22
- "ChjVCa",
23
- "mta1nZy3mK5Svg9Zwa",
24
- "ChvUy3q",
25
- "BgvUz3rO"
26
- ];
27
- return e = function() {
28
- return t;
29
- }, e();
30
- }
31
- function t(n, r) {
32
- n -= 275;
33
- let i = e(), a = i[n];
34
- t.bsjmPq === void 0 && (t.HpQIDY = function(e) {
35
- let t = "", n = "";
36
- 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);
37
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
38
- return decodeURIComponent(n);
39
- }, t.OIfJZT = {}, t.bsjmPq = !0);
40
- let o = i[0];
41
- t.wLNuLx !== o && (t.OIfJZT = {}, t.wLNuLx = o);
42
- let s = t.OIfJZT[n];
43
- return s === void 0 ? (a = t.HpQIDY(a), t.OIfJZT[n] = a) : a = s, a;
44
- }
45
- const n = t;
46
- (function(e, n) {
47
- let r = t, i = e();
2
+ const e = r;
3
+ (function(e, t) {
4
+ let n = r, i = e();
48
5
  for (;;) try {
49
- if (-parseInt(r(280)) / 1 + -parseInt(r(290)) / 2 * (-parseInt(r(294)) / 3) + -parseInt(r(287)) / 4 + parseInt(r(282)) / 5 + -parseInt(r(284)) / 6 * (-parseInt(r(293)) / 7) + -parseInt(r(283)) / 8 + -parseInt(r(291)) / 9 == n) break;
6
+ if (parseInt(n(155)) / 1 * (parseInt(n(169)) / 2) + -parseInt(n(154)) / 3 + parseInt(n(174)) / 4 + -parseInt(n(164)) / 5 + -parseInt(n(158)) / 6 + parseInt(n(163)) / 7 + -parseInt(n(167)) / 8 * (-parseInt(n(161)) / 9) == t) break;
50
7
  i.push(i.shift());
51
8
  } catch {
52
9
  i.push(i.shift());
53
10
  }
54
- })(e, 444560);
55
- var r = {
11
+ })(n, 615714);
12
+ var t = {
56
13
  tsx: [
57
- [n(275), /\/\/[^\n]*|\/\*[\s\S]*?\*\//y],
58
- [n(285), /'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|`(?:\\.|[^`\\])*`/y],
59
- [n(295), /<\/?[A-Za-z][\w.]*|\/?>/y],
60
- [n(276), /\b(?:import|from|export|default|const|let|var|function|return|if|else|for|of|in|new|type|interface|extends|as|async|await|true|false|null|undefined|typeof|keyof)\b/y],
14
+ ["comment", /\/\/[^\n]*|\/\*[\s\S]*?\*\//y],
15
+ [e(159), /'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|`(?:\\.|[^`\\])*`/y],
16
+ [e(166), /<\/?[A-Za-z][\w.]*|\/?>/y],
17
+ [e(173), /\b(?:import|from|export|default|const|let|var|function|return|if|else|for|of|in|new|type|interface|extends|as|async|await|true|false|null|undefined|typeof|keyof)\b/y],
61
18
  ["number", /\b\d[\d_.]*\b/y],
62
- [n(281), /\b[a-zA-Z-]+(?==)/y],
19
+ ["attr", /\b[a-zA-Z-]+(?==)/y],
63
20
  ["fn", /\b[a-zA-Z_]\w*(?=\()/y],
64
- [n(288), /[{}()[\];,.:?=+\-*&|!<>]/y]
21
+ [e(170), /[{}()[\];,.:?=+\-*&|!<>]/y]
65
22
  ],
66
23
  css: [
67
- [n(275), /\/\*[\s\S]*?\*\//y],
68
- [n(285), /'[^']*'|"[^"]*"/y],
69
- [n(286), /--?[a-zA-Z][\w-]*(?=\s*:)/y],
70
- ["tag", /[.#]?[a-zA-Z][\w-]*(?=[^{;]*\{)/y],
71
- ["number", /\b\d[\d.]*(?:px|rem|em|%|ms|s|deg|fr)?\b|#[0-9a-fA-F]{3,8}\b/y],
24
+ ["comment", /\/\*[\s\S]*?\*\//y],
25
+ [e(159), /'[^']*'|"[^"]*"/y],
26
+ [e(172), /--?[a-zA-Z][\w-]*(?=\s*:)/y],
27
+ [e(166), /[.#]?[a-zA-Z][\w-]*(?=[^{;]*\{)/y],
28
+ [e(153), /\b\d[\d.]*(?:px|rem|em|%|ms|s|deg|fr)?\b|#[0-9a-fA-F]{3,8}\b/y],
72
29
  ["fn", /\b[a-z-]+(?=\()/y],
73
- [n(288), /[{}();:,]/y]
30
+ [e(170), /[{}();:,]/y]
74
31
  ],
75
32
  bash: [
76
- [n(275), /#[^\n]*/y],
77
- ["string", /'[^']*'|"[^"]*"/y],
78
- [n(276), /\b(?:npm|npx|pnpm|yarn|git|cd)\b/y],
79
- [n(281), /\s--?[\w-]+/y]
33
+ [e(162), /#[^\n]*/y],
34
+ [e(159), /'[^']*'|"[^"]*"/y],
35
+ ["keyword", /\b(?:npm|npx|pnpm|yarn|git|cd)\b/y],
36
+ [e(171), /\s--?[\w-]+/y]
80
37
  ]
81
38
  };
82
- function i(e, t) {
83
- let i = n;
84
- if (t === i(278)) return [{
85
- type: "plain",
86
- text: e
39
+ function n() {
40
+ let e = [
41
+ "ChvZAa",
42
+ "mtm4mJKXmfnjDMvUAW",
43
+ "C3rYAw5N",
44
+ "BgvUz3rO",
45
+ "otbAB0HRwuK",
46
+ "y29TBwvUDa",
47
+ "ntaWnJu5nNLIqwHmwq",
48
+ "nta5nZy0nvroq0rOBq",
49
+ "BgfZDeLUzgv4",
50
+ "DgfN",
51
+ "mJK1nZeYseHksvLd",
52
+ "CgXHAw4",
53
+ "mteWqMfTwgvk",
54
+ "ChvUy3q",
55
+ "yxr0CG",
56
+ "ChjVCa",
57
+ "A2v5D29Yza",
58
+ "mZa4ntG4nhbTqwnSuq",
59
+ "BNvTyMvY",
60
+ "mJa5nJuZofHmtKvAzW",
61
+ "mti4nZDbChbTBMO",
62
+ "zxHLyW"
63
+ ];
64
+ return n = function() {
65
+ return e;
66
+ }, n();
67
+ }
68
+ function r(e, t) {
69
+ e -= 153;
70
+ let i = n(), a = i[e];
71
+ r.VJUSzQ === void 0 && (r.CUQYhr = function(e) {
72
+ let t = "", n = "";
73
+ 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);
74
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
75
+ return decodeURIComponent(n);
76
+ }, r.rpElNO = {}, r.VJUSzQ = !0);
77
+ let o = i[0];
78
+ r.UHNQJg !== o && (r.rpElNO = {}, r.UHNQJg = o);
79
+ let s = r.rpElNO[e];
80
+ return s === void 0 ? (a = r.CUQYhr(a), r.rpElNO[e] = a) : a = s, a;
81
+ }
82
+ function i(n, r) {
83
+ let i = e;
84
+ if (r === "text") return [{
85
+ type: i(168),
86
+ text: n
87
87
  }];
88
- let a = r[t], o = [], s = "", c = 0;
89
- j: for (; c < e[i(289)];) {
90
- for (let [t, n] of a) {
91
- n[i(277)] = c;
92
- let r = n[i(296)](e);
93
- if (r && r[0].length) {
94
- s && o[i(279)]({
95
- type: i(292),
88
+ let a = t[r], o = [], s = "", c = 0;
89
+ s: for (; c < n.length;) {
90
+ for (let [e, t] of a) {
91
+ t[i(165)] = c;
92
+ let r = t[i(156)](n);
93
+ if (r && r[0][i(160)]) {
94
+ s && o[i(157)]({
95
+ type: "plain",
96
96
  text: s
97
97
  }), s = "", o.push({
98
- type: t,
98
+ type: e,
99
99
  text: r[0]
100
- }), c += r[0][i(289)];
101
- continue j;
100
+ }), c += r[0].length;
101
+ continue s;
102
102
  }
103
103
  }
104
- s += e[c++];
104
+ s += n[c++];
105
105
  }
106
- return s && o.push({
107
- type: "plain",
106
+ return s && o[i(157)]({
107
+ type: i(168),
108
108
  text: s
109
109
  }), o;
110
110
  }