@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,62 +1,89 @@
1
1
  "use client";
2
- const e = d;
2
+ const e = l;
3
3
  (function(e, t) {
4
- let n = d, r = e();
4
+ let n = l, r = e();
5
5
  for (;;) try {
6
- if (parseInt(n(213)) / 1 + -parseInt(n(206)) / 2 + -parseInt(n(208)) / 3 + -parseInt(n(194)) / 4 * (-parseInt(n(203)) / 5) + -parseInt(n(212)) / 6 * (parseInt(n(209)) / 7) + -parseInt(n(205)) / 8 + -parseInt(n(202)) / 9 * (-parseInt(n(197)) / 10) == t) break;
6
+ if (-parseInt(n(213)) / 1 + parseInt(n(228)) / 2 + -parseInt(n(209)) / 3 + -parseInt(n(214)) / 4 * (parseInt(n(212)) / 5) + parseInt(n(222)) / 6 * (-parseInt(n(210)) / 7) + -parseInt(n(208)) / 8 + -parseInt(n(207)) / 9 * (-parseInt(n(221)) / 10) == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(u, 307785);
12
- import { TIMING as t } from "../../hooks/timing.js";
13
- import { createContext as n, useRef as r, useState as i } from "react";
14
- var a = e(207), o = n(null);
15
- function s(t) {
16
- let n = e, a = r(null), [o] = i(() => /* @__PURE__ */ new Set());
11
+ })(t, 254577);
12
+ function t() {
13
+ let e = [
14
+ "ntq4mJeXwK5HsK1q",
15
+ "mtq3mdDSyvP6vhC",
16
+ "zgf0ys1ZDwiTDhjPz2DLCG",
17
+ "mtbWuvPHAM8",
18
+ "mta5mZKZENnYtxrw",
19
+ "mte4mdGWu0Pbv2ff",
20
+ "y2XPy2S",
21
+ "zMLSDgvY",
22
+ "AgfZqxr0CMLIDxrL",
23
+ "Cg9PBNrLCM1VDMu",
24
+ "y3vYCMvUDa",
25
+ "zwXLBwvUDezYB21qB2LUDa",
26
+ "otm5nJC2mgnRAxHoCa",
27
+ "mtKYvufUv2rW",
28
+ "ywrKrxzLBNrmAxn0zw5LCG",
29
+ "w2rHDgeTBwvUDs1PDgvTxtPUB3qOw2fYAweTzgLZywjSzwq9iNrYDwuIxsK",
30
+ "Cg9PBNrLCNvW",
31
+ "y2XVC2vZDa",
32
+ "CMvTB3zLrxzLBNrmAxn0zw5LCG",
33
+ "oda2odjPDuLMCMW",
34
+ "w3jVBgu9iM1LBNuIxq",
35
+ "y2XPzw50wq",
36
+ "y2XPzw50wa",
37
+ "owDNz0vVza",
38
+ "mJq1nJmWnhrKwxn5uW"
39
+ ];
40
+ return t = function() {
41
+ return e;
42
+ }, t();
43
+ }
44
+ import { TIMING as n } from "../../hooks/timing.js";
45
+ import { createContext as r, useRef as i, useState as a } from "react";
46
+ var o = e(224), s = r(null);
47
+ function c(t) {
48
+ let n = e, r = i(null), [o] = a(() => /* @__PURE__ */ new Set());
17
49
  return {
18
50
  closeAll: t,
19
- isAimingAtSub: (e, t) => a[n(196)]?.(e, t) ?? !1,
51
+ isAimingAtSub: (e, t) => r[n(219)]?.(e, t) ?? !1,
20
52
  setAim: (e) => {
21
53
  let t = n;
22
- a[t(196)] = e;
54
+ r[t(219)] = e;
23
55
  },
24
56
  panels: o
25
57
  };
26
58
  }
27
- var c = (t) => [...t?.querySelectorAll(e(207)) ?? []][e(217)]((n) => n[e(198)](e(211)) === t);
28
- function l(n) {
29
- let r = e, i = {
30
- x: n[r(210)],
31
- y: n[r(199)]
32
- }, o = !1, s = (e) => {
33
- Math[r(195)](e.clientX - i.x, e.clientY - i.y) > t.dragThreshold && (o = !0);
34
- }, c = (e) => {
35
- let t = r;
36
- if (document[t(193)](t(215), s), document[t(193)](t(204), c), !o) return;
37
- let n = document[t(214)](e[t(210)], e[t(199)])?.[t(198)](a);
38
- n && !n[t(201)](t(216)) && n[t(192)]();
39
- };
40
- document[r(200)](r(215), s), document[r(200)](r(204), c);
41
- }
42
- function u() {
43
- let e = /* @__PURE__ */ "y3vYCMvUDa.ndy0mde3mgnXzNPusW.y2XVC2vZDa.y2XPzw50wq.ywrKrxzLBNrmAxn0zw5LCG.AgfZqxr0CMLIDxrL.mJDhCg9yqNO.mtm5mtK4nvbMtKnVEG.Cg9PBNrLCNvW.mZy1otG5nNzUtePusG.odG1ntu4Bfbzverz.w2rHDgeTBwvUDs1PDgvTxtPUB3qOw2fYAweTzgLZywjSzwq9iNrYDwuIxsK.mta2odyZm0XKv2vira.n0LmuNLhrq.y2XPzw50wa.w3jVBgu9iM1LBNuIxq.oti1otK4vgvPwfrc.ndGXndD2Eev6uMO.zwXLBwvUDezYB21qB2LUDa.Cg9PBNrLCM1VDMu.zgf0ys1ZDwiTDhjPz2DLCG.zMLSDgvY.y2XPy2S.CMvTB3zLrxzLBNrmAxn0zw5LCG.nfbYBvHcqq.AhLWB3q".split(".");
44
- return u = function() {
45
- return e;
46
- }, u();
47
- }
48
- function d(e, t) {
49
- e -= 192;
50
- let n = u(), r = n[e];
51
- d.IfwkUm === void 0 && (d.rIUhHs = function(e) {
59
+ function l(e, n) {
60
+ e -= 207;
61
+ let r = t(), i = r[e];
62
+ l.qyWFBw === void 0 && (l.KeKAuW = function(e) {
52
63
  let t = "", n = "";
53
64
  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);
54
65
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
55
66
  return decodeURIComponent(n);
56
- }, d.iMnkyH = {}, d.IfwkUm = !0);
57
- let i = n[0];
58
- d.jXGSbd !== i && (d.iMnkyH = {}, d.jXGSbd = i);
59
- let a = d.iMnkyH[e];
60
- return a === void 0 ? (r = d.rIUhHs(r), d.iMnkyH[e] = r) : r = a, r;
67
+ }, l.IbYinL = {}, l.qyWFBw = !0);
68
+ let a = r[0];
69
+ l.IqWVnz !== a && (l.IbYinL = {}, l.IqWVnz = a);
70
+ let o = l.IbYinL[e];
71
+ return o === void 0 ? (i = l.KeKAuW(i), l.IbYinL[e] = i) : i = o, i;
72
+ }
73
+ var u = (t) => [...t?.querySelectorAll("[data-menu-item]:not([aria-disabled=\"true\"])") ?? []][e(216)]((n) => n[e(226)](e(229)) === t);
74
+ function d(t) {
75
+ let r = e, i = {
76
+ x: t[r(231)],
77
+ y: t[r(230)]
78
+ }, a = !1, s = (e) => {
79
+ let t = r;
80
+ Math.hypot(e[t(231)] - i.x, e[t(230)] - i.y) > n.dragThreshold && (a = !0);
81
+ }, c = (e) => {
82
+ let t = r;
83
+ if (document[t(227)](t(218), s), document.removeEventListener(t(225), c), !a) return;
84
+ let n = document[t(220)](e[t(231)], e.clientY)?.[t(226)](o);
85
+ n && !n[t(217)](t(211)) && n[t(215)]();
86
+ };
87
+ document[r(223)](r(218), s), document[r(223)](r(225), c);
61
88
  }
62
- export { a as MENU_ITEM, o as MenuContext, c as menuItems, l as trackPressDragRelease, s as useMenuRoot };
89
+ export { o as MENU_ITEM, s as MenuContext, u as menuItems, d as trackPressDragRelease, c as useMenuRoot };
@@ -1,65 +1,72 @@
1
1
  "use client";
2
- const e = t;
2
+ function e() {
3
+ let t = /* @__PURE__ */ "BwfW.zMLSDgvY.C3zN.ChjLDMvUDerLzMf1Bhq.y2XPy2S.zhmTzhjVChPVBMvFx3nOzwv0igrZlwrYB3b6B25Lx19ZAgvLDc0TBgvMDa.C3bSAxq.mty1otG4ogLWsgPJDq.zhmTzhjVChPVBMvFx3nOzwv0igrZlwrYB3b6B25Lx19ZAgvLDc0TCMLNAhq.ntK4mtzRvvb3vNO.mJq4mdi4zNLsywTL.DhjPBq.ndaYmJqYq2HZDw5N.zMLSzq.rw50zxi.zMLSzxm.C2XPy2u.C29Tzq.nZGWAvzNC0Td.zw5KC1DPDgG.ndHgEfLIALu.ntqZotHHwhvQrNi.zgf0yvrYyw5ZzMvY.CMvJDa.C3rHCNrZv2L0Aa.zhmTzhjVChPVBMvFx2XPBMS.yNv0Dg9U.zhmTzhjVChPVBMvFx2rLC2m.Dg9mB3DLCKnHC2u.y3vYCMvUDa.nZqYzuPuCMPl.7yYm7j28ioYyRoUMRoQ4Sa.DhLWzq.mte3mZG1quHhqMvn.C3bHBG.A2v5.uerg.Bwf4.7lc+7jwe67o06RIW.BgvUz3rO.DMfSDwu.C2v0vgLTzw91Da.zhmTzhjVChPVBMvFx3rPDgXL.zhmTzhjVChPVBMu.Aw5JBhvKzxm.7jES6RIW7jEqio2mJoYDVoYDHcdRGyZSLRqG64At6RgW64kyia.ue5h.y3vYCMvUDfrHCMDLDa.mZnUrxHtruS.Aw5WDxq.rMLSzxm.zhmTzhjVChPVBMvFx2vKz2u.zNjVBq.zhmTzhjVChPVBMvFx2fYDa.zgL2.nde3mda0mMzTtKDNrW".split(".");
4
+ return e = function() {
5
+ return t;
6
+ }, e();
7
+ }
8
+ function t(n, r) {
9
+ n -= 186;
10
+ let i = e(), a = i[n];
11
+ t.nhirKz === void 0 && (t.loZLrs = function(e) {
12
+ let t = "", n = "";
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);
14
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
15
+ return decodeURIComponent(n);
16
+ }, t.LHhmGG = {}, t.nhirKz = !0);
17
+ let o = i[0];
18
+ t.hGNOBw !== o && (t.LHhmGG = {}, t.hGNOBw = o);
19
+ let s = t.LHhmGG[n];
20
+ return s === void 0 ? (a = t.loZLrs(a), t.LHhmGG[n] = a) : a = s, a;
21
+ }
22
+ const n = t;
3
23
  (function(e, n) {
4
24
  let r = t, i = e();
5
25
  for (;;) try {
6
- if (parseInt(r(394)) / 1 + -parseInt(r(411)) / 2 * (-parseInt(r(369)) / 3) + -parseInt(r(396)) / 4 + -parseInt(r(370)) / 5 * (-parseInt(r(373)) / 6) + -parseInt(r(398)) / 7 + parseInt(r(409)) / 8 * (-parseInt(r(395)) / 9) + parseInt(r(387)) / 10 == n) break;
26
+ if (-parseInt(r(199)) / 1 + -parseInt(r(208)) / 2 * (parseInt(r(235)) / 3) + parseInt(r(194)) / 4 + parseInt(r(220)) / 5 * (parseInt(r(207)) / 6) + parseInt(r(217)) / 7 * (-parseInt(r(196)) / 8) + -parseInt(r(186)) / 9 + -parseInt(r(205)) / 10 * (-parseInt(r(197)) / 11) == n) break;
7
27
  i.push(i.shift());
8
28
  } catch {
9
29
  i.push(i.shift());
10
30
  }
11
- })(p, 404052);
12
- function t(e, n) {
13
- e -= 364;
14
- let r = p(), i = r[e];
15
- t.wPqRvf === void 0 && (t.pzSyhD = 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.MhkMTq = {}, t.wPqRvf = !0);
21
- let a = r[0];
22
- t.SecTdO !== a && (t.MhkMTq = {}, t.SecTdO = a);
23
- let o = t.MhkMTq[e];
24
- return o === void 0 ? (i = t.pzSyhD(i), t.MhkMTq[e] = i) : i = o, i;
25
- }
26
- import { cx as n } from "../../primitives/index.js";
31
+ })(e, 404201);
32
+ import { cx as r } from "../../primitives/index.js";
27
33
  /* empty css */
28
- import { useEffect as r, useRef as i, useState as a } from "react";
29
- import { Upload as o } from "lucide-react";
30
- import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
31
- function u(e, n) {
34
+ import { useEffect as i, useRef as a, useState as o } from "react";
35
+ import { Upload as s } from "lucide-react";
36
+ import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
37
+ function d(e, n) {
32
38
  let r = t;
33
39
  if (!n) return !0;
34
- let i = e[r(401)][r(415)](), a = e[r(384)].toLowerCase();
35
- return n[r(413)](",")[r(400)]((e) => e[r(376)]().toLowerCase())[r(386)](Boolean).some((e) => e[r(381)](".") ? i[r(408)](e) : e[r(408)]("/*") ? a.startsWith(e[r(397)](0, -1)) : a === e);
40
+ let i = e.name[r(215)](), a = e[r(219)][r(215)]();
41
+ return n[r(193)](",")[r(187)]((e) => e[r(198)]()[r(215)]())[r(188)](Boolean)[r(204)]((e) => e[r(211)](".") ? i[r(206)](e) : e[r(206)]("/*") ? a[r(211)](e[r(203)](0, -1)) : a === e);
36
42
  }
37
- var d = (t) => Array[e(377)](t[e(402)][e(391)])[e(410)](e(390));
38
- function f({ onFiles: f, accept: p, multiple: m = !0, disabled: h, invalid: g, title: _, description: v, size: y = "md", name: b, className: x, style: S, "aria-label": C = e(368) }) {
39
- let w = e, T = i(null), E = i(0), [D, O] = a(!1), [k, A] = a(0);
40
- r(() => {
43
+ var f = (e) => Array[n(239)](e[n(209)].types).includes(n(237));
44
+ function p({ onFiles: e, accept: p, multiple: m = !0, disabled: h, invalid: g, title: _, description: v, size: y = "md", name: b, className: x, style: S, "aria-label": C = n(218) }) {
45
+ let w = n, T = a(null), E = a(0), [D, O] = o(!1), [k, A] = o(0);
46
+ i(() => {
41
47
  let e = t;
42
48
  if (!k) return;
43
- let n = window[e(404)](() => A(0), 400);
49
+ let n = window[e(228)](() => A(0), 400);
44
50
  return () => window.clearTimeout(n);
45
51
  }, [k]);
46
- let j = (e) => {
47
- let n = t;
48
- if (!e || h) return;
49
- let r = m ? Array[n(377)](e) : Array.from(e)[n(397)](0, 1);
50
- if (!r[n(365)]) return;
51
- let i = r.filter((e) => u(e, p)), a = r.filter((e) => !i[n(410)](e));
52
- a[n(365)] && A((e) => e + 1), f?.(i, a);
52
+ let j = (n) => {
53
+ let r = t;
54
+ if (!n || h) return;
55
+ let i = m ? Array[r(239)](n) : Array[r(239)](n)[r(203)](0, 1);
56
+ if (!i.length) return;
57
+ let a = i[r(188)]((e) => d(e, p)), o = i[r(188)]((e) => !a[r(231)](e));
58
+ o[r(226)] && A((e) => e + 1), e?.(a, o);
53
59
  }, M = () => {
54
- h || T[t(405)]?.click();
60
+ let e = t;
61
+ h || T[e(216)]?.[e(191)]();
55
62
  };
56
- return l(s, { children: [l(w(388), {
57
- role: w(378),
63
+ return u(c, { children: [u(w(241), {
64
+ role: w(213),
58
65
  tabIndex: h ? -1 : 0,
59
66
  "aria-label": C,
60
67
  "aria-disabled": h || void 0,
61
68
  "aria-invalid": g || void 0,
62
- className: n("ds-dropzone", y === "sm" && w(379), x),
69
+ className: r(w(230), y === "sm" && "ds-dropzone--sm", x),
63
70
  style: S,
64
71
  "data-dragging": D || void 0,
65
72
  "data-disabled": h || void 0,
@@ -68,61 +75,61 @@ function f({ onFiles: f, accept: p, multiple: m = !0, disabled: h, invalid: g, t
68
75
  onClick: M,
69
76
  onKeyDown: (e) => {
70
77
  let n = t;
71
- (e[n(371)] === n(380) || e.key === " ") && (e[n(392)](), M());
78
+ (e[n(222)] === n(201) || e.key === " ") && (e[n(190)](), M());
72
79
  },
73
80
  onDragEnter: (e) => {
74
81
  let t = w;
75
- !h && d(e) && (e[t(392)](), E[t(405)] += 1, O(!0));
82
+ !h && f(e) && (e[t(190)](), E.current += 1, O(!0));
76
83
  },
77
84
  onDragOver: (e) => {
78
85
  let t = w;
79
- !h && d(e) && (e[t(392)](), e[t(402)][t(412)] = t(393));
86
+ !h && f(e) && (e.preventDefault(), e[t(209)].dropEffect = "copy");
80
87
  },
81
88
  onDragLeave: () => {
82
89
  let e = w;
83
- E.current = Math[e(367)](0, E[e(405)] - 1), E.current === 0 && O(!1);
90
+ E.current = Math[e(224)](0, E.current - 1), E[e(216)] === 0 && O(!1);
84
91
  },
85
92
  onDrop: (e) => {
86
93
  let t = w;
87
- h || (e[t(392)](), E[t(405)] = 0, O(!1), j(e[t(402)][t(372)]));
94
+ h || (e.preventDefault(), E[t(216)] = 0, O(!1), j(e[t(209)][t(202)]));
88
95
  },
89
96
  children: [
90
- c(w(399), {
91
- className: "ds-dropzone__edge",
97
+ l(w(189), {
98
+ className: w(238),
92
99
  "aria-hidden": !0,
93
- children: c(w(374), {})
100
+ children: l(w(210), {})
94
101
  }),
95
- l("span", {
96
- className: "ds-dropzone__art",
102
+ u(w(221), {
103
+ className: w(240),
97
104
  "aria-hidden": !0,
98
- children: [y === "md" && l(s, { children: [c("span", {
99
- className: "ds-dropzone__sheet ds-dropzone__sheet--left",
100
- children: "PDF"
101
- }), c("span", {
102
- className: w(414),
103
- children: w(389)
104
- })] }), c(w(375), {
105
- className: w(366),
106
- children: c(o, {})
105
+ children: [y === "md" && u(c, { children: [l(w(221), {
106
+ className: w(192),
107
+ children: w(223)
108
+ }), l(w(221), {
109
+ className: w(195),
110
+ children: w(233)
111
+ })] }), l(w(221), {
112
+ className: "ds-dropzone__tile",
113
+ children: l(s, {})
107
114
  })]
108
115
  }),
109
- l(w(375), {
110
- className: w(407),
111
- children: [c("span", {
112
- className: w(382),
113
- children: _ ?? l(s, { children: [w(406), c("span", {
114
- className: w(385),
115
- children: w(403)
116
+ u("span", {
117
+ className: "ds-dropzone__text",
118
+ children: [l("span", {
119
+ className: w(229),
120
+ children: _ ?? u(c, { children: [w(232), l("span", {
121
+ className: w(212),
122
+ children: w(225)
116
123
  })] })
117
- }), v && c(w(375), {
118
- className: "ds-dropzone__desc",
124
+ }), v && l(w(221), {
125
+ className: w(214),
119
126
  children: v
120
127
  })]
121
128
  })
122
129
  ]
123
- }), c("input", {
130
+ }), l(w(236), {
124
131
  ref: T,
125
- type: "file",
132
+ type: w(200),
126
133
  name: b,
127
134
  accept: p,
128
135
  multiple: m,
@@ -131,14 +138,8 @@ function f({ onFiles: f, accept: p, multiple: m = !0, disabled: h, invalid: g, t
131
138
  tabIndex: -1,
132
139
  onChange: (e) => {
133
140
  let t = w;
134
- j(e[t(364)][t(372)]), e[t(364)][t(383)] = "";
141
+ j(e[t(234)][t(202)]), e.currentTarget[t(227)] = "";
135
142
  }
136
143
  })] });
137
144
  }
138
- function p() {
139
- let e = /* @__PURE__ */ "mtmXntC3mtbdy3jMB2G.zgL2.ue5h.rMLSzxm.DhLWzxm.ChjLDMvUDerLzMf1Bhq.y29WEq.mtyXmZC0BuLTvgjI.owrcr1bmzG.mJaZmtKYtMXPA0Do.C2XPy2u.ndKZmtK1nu9fCgvzrG.C3zN.BwfW.BMfTzq.zgf0yvrYyw5ZzMvY.7lc+7jwe67o06RIW.C2v0vgLTzw91Da.y3vYCMvUDa.7jES6RIW7jEqio2mJoYDVoYDHcdRGyZSLRqG64At6RgW64kyia.zhmTzhjVChPVBMvFx3rLEhq.zw5KC1DPDgG.ndm3ndeZnLjrsuHcta.Aw5JBhvKzxm.mta5nJe4y0jNqMfl.zhjVCevMzMvJDa.C3bSAxq.zhmTzhjVChPVBMvFx3nOzwv0igrZlwrYB3b6B25Lx19ZAgvLDc0TCMLNAhq.Dg9mB3DLCKnHC2u.y3vYCMvUDfrHCMDLDa.BgvUz3rO.zhmTzhjVChPVBMvFx3rPBgu.Bwf4.7yYm7j28ioYyRoUMRoQ4Sa.nK96uLntBq.ntK3mdK1s25NzfLb.A2v5.zMLSzxm.nLHPvMTUuW.CMvJDa.C3bHBG.DhjPBq.zNjVBq.yNv0Dg9U.zhmTzhjVChPVBMuTlxnT.rw50zxi.C3rHCNrZv2L0Aa.zhmTzhjVChPVBMvFx3rPDgXL.DMfSDwu.DhLWzq.zhmTzhjVChPVBMvFx2XPBMS.zMLSDgvY".split(".");
140
- return p = function() {
141
- return e;
142
- }, p();
143
- }
144
- export { f as Dropzone, u as matchesAccept };
145
+ export { p as Dropzone, d as matchesAccept };
@@ -1,73 +1,72 @@
1
1
  "use client";
2
2
  const e = t;
3
3
  function t(e, n) {
4
- e -= 350;
4
+ e -= 151;
5
5
  let r = a(), i = r[e];
6
- t.DJejlQ === void 0 && (t.kfPoLX = function(e) {
6
+ t.kcxjrR === void 0 && (t.PwAMpq = function(e) {
7
7
  let t = "", n = "";
8
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
9
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
10
10
  return decodeURIComponent(n);
11
- }, t.AvDzGP = {}, t.DJejlQ = !0);
11
+ }, t.LUhqMW = {}, t.kcxjrR = !0);
12
12
  let o = r[0];
13
- t.AuxfGz !== o && (t.AvDzGP = {}, t.AuxfGz = o);
14
- let s = t.AvDzGP[e];
15
- return s === void 0 ? (i = t.kfPoLX(i), t.AvDzGP[e] = i) : i = s, i;
13
+ t.SJDqAP !== o && (t.LUhqMW = {}, t.SJDqAP = o);
14
+ let s = t.LUhqMW[e];
15
+ return s === void 0 ? (i = t.PwAMpq(i), t.LUhqMW[e] = i) : i = s, i;
16
16
  }
17
17
  (function(e, n) {
18
18
  let r = t, i = e();
19
19
  for (;;) try {
20
- if (parseInt(r(360)) / 1 * (parseInt(r(358)) / 2) + parseInt(r(356)) / 3 * (parseInt(r(374)) / 4) + -parseInt(r(364)) / 5 + parseInt(r(351)) / 6 * (-parseInt(r(357)) / 7) + parseInt(r(353)) / 8 + -parseInt(r(366)) / 9 * (parseInt(r(371)) / 10) + -parseInt(r(362)) / 11 == n) break;
20
+ if (parseInt(r(162)) / 1 * (-parseInt(r(152)) / 2) + -parseInt(r(167)) / 3 + -parseInt(r(155)) / 4 + parseInt(r(174)) / 5 + parseInt(r(171)) / 6 * (-parseInt(r(156)) / 7) + -parseInt(r(158)) / 8 * (-parseInt(r(160)) / 9) + parseInt(r(172)) / 10 == n) break;
21
21
  i.push(i.shift());
22
22
  } catch {
23
23
  i.push(i.shift());
24
24
  }
25
- })(a, 324784);
25
+ })(a, 844496);
26
26
  import { cx as n } from "../../primitives/index.js";
27
27
  /* empty css */
28
28
  import { jsx as r } from "react/jsx-runtime";
29
- function i({ icon: t, media: i, title: a, description: o, actions: s, footer: c, tone: l = e(370), size: u = "md", align: d = e(367), className: f, style: p }) {
29
+ function i({ icon: t, media: i, title: a, description: o, actions: s, footer: c, tone: l = e(157), size: u = "md", align: d = e(153), className: f, style: p }) {
30
30
  let m = e, h = [];
31
- return i ? h.push([m(352), i]) : t && h[m(355)]([m(373), t]), h[m(355)]([m(369), a]), o && h.push([m(361), o]), s && h[m(355)]([m(350), s]), c && h[m(355)]([m(368), c]), r(m(354), {
32
- className: n("ds-empty", m(359) + u, m(359) + l, d === m(363) && "ds-empty--start", f),
31
+ return i ? h.push([m(173), i]) : t && h[m(164)]([m(165), t]), h[m(164)]([m(169), a]), o && h[m(164)]([m(163), o]), s && h[m(164)](["actions", s]), c && h[m(164)]([m(168), c]), r(m(166), {
32
+ className: n(m(154), m(170) + u, m(170) + l, d === "start" && m(151), f),
33
33
  style: p,
34
- children: h[m(372)](([e, t], n) => r(m(354), {
35
- className: m(365) + e,
34
+ children: h[m(161)](([e, t], n) => r("div", {
35
+ className: m(159) + e,
36
36
  style: { "--_i": n },
37
37
  children: t
38
38
  }, e))
39
39
  });
40
40
  }
41
- export { i as EmptyState };
42
41
  function a() {
43
42
  let e = [
44
- "BwvKAwe",
45
- "ndiZoty3mLD3sxjwuq",
46
- "zgL2",
47
- "ChvZAa",
48
- "mtiXmJG0EeDrzgTA",
49
- "mtaZotaXy3PuvvDz",
50
- "mZHnCNDjzxq",
51
- "zhmTzw1WDhKTlq",
52
- "mJC1nJLQvxryrNq",
53
- "zgvZyW",
54
- "mtC1odGWmxbSvxDyqq",
55
- "C3rHCNq",
56
- "nda4mdaWzeDeAMPX",
57
- "zhmTzw1WDhLFxW",
58
- "ntrIrgTvtMy",
43
+ "zhmTzw1WDhKTlxn0yxj0",
44
+ "mKz5veHpvW",
59
45
  "y2vUDgvY",
60
- "zM9VDgvY",
61
- "DgL0Bgu",
46
+ "zhmTzw1WDhK",
47
+ "mtu5mJa4oeLhrgjWwa",
48
+ "n1zgDKn5sG",
62
49
  "zgvMyxvSDa",
63
- "ndCYmdiWAxLwDgfl",
50
+ "nJq5nJC0nhbKyNr0sa",
51
+ "zhmTzw1WDhLFxW",
52
+ "mtHJCwXjsxm",
64
53
  "BwfW",
54
+ "mtq5mta1n0fNAwzWEa",
55
+ "zgvZyW",
56
+ "ChvZAa",
65
57
  "AwnVBG",
66
- "ndbAEMnrreC",
67
- "ywn0Aw9UCW",
68
- "mJq2uKDuvM5s"
58
+ "zgL2",
59
+ "mtC2otG3ngjZEgj5wG",
60
+ "zM9VDgvY",
61
+ "DgL0Bgu",
62
+ "zhmTzw1WDhKTlq",
63
+ "ntiYmtq0nNDRyvDTCa",
64
+ "mtu1mdyWntb6s3DAyMC",
65
+ "BwvKAwe",
66
+ "nta5ndKXnvDZuNvyAq"
69
67
  ];
70
68
  return a = function() {
71
69
  return e;
72
70
  }, a();
73
71
  }
72
+ export { i as EmptyState };
@@ -1,79 +1,93 @@
1
1
  "use client";
2
- const e = d;
3
- function t() {
2
+ const e = t;
3
+ function t(e, n) {
4
+ e -= 331;
5
+ let i = r(), a = i[e];
6
+ t.JKThWk === void 0 && (t.ksAGBC = 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.KwIcrU = {}, t.JKThWk = !0);
12
+ let o = i[0];
13
+ t.mfYwmo !== o && (t.KwIcrU = {}, t.mfYwmo = o);
14
+ let s = t.KwIcrU[e];
15
+ return s === void 0 ? (a = t.ksAGBC(a), t.KwIcrU[e] = a) : a = s, a;
16
+ }
17
+ (function(e, n) {
18
+ let r = t, i = e();
19
+ for (;;) try {
20
+ if (parseInt(r(340)) / 1 + parseInt(r(349)) / 2 * (-parseInt(r(351)) / 3) + parseInt(r(346)) / 4 + -parseInt(r(348)) / 5 + parseInt(r(337)) / 6 * (-parseInt(r(336)) / 7) + -parseInt(r(332)) / 8 + parseInt(r(331)) / 9 * (parseInt(r(343)) / 10) == n) break;
21
+ i.push(i.shift());
22
+ } catch {
23
+ i.push(i.shift());
24
+ }
25
+ })(r, 563753);
26
+ import { FileIcon as n } from "../../primitives/FileIcon2.js";
27
+ function r() {
4
28
  let e = [
5
- "BgvUz3rO",
6
- "zhmTzMLSzs1JAgLW",
7
- "x2jSyw5R",
29
+ "mZu3sK5KCNvS",
30
+ "C3bHBG",
31
+ "zhmTzMLSzs1JAgLWx19IyxnL",
32
+ "nJmXoda5ouP0AuXHtG",
33
+ "mZm0nJKXmNDOt2nmCq",
34
+ "BM9YzwzLCNjLCG",
35
+ "BgfZDeLUzgv4t2y",
36
+ "z2HVC3q",
37
+ "mZv0qxvgwvO",
38
+ "nZu0mZaYB2Tgq1Ly",
8
39
  "zhmTzMLSzs1JAgLWls1PBNrLCMfJDgL2zq",
40
+ "y2XPCa",
41
+ "mta2ody5n0HUvxHtzG",
9
42
  "zhmTzMLSzs1JAgLWx19Uyw1L",
10
- "BgfZDeLUzgv4t2y",
11
- "mtiWmti3wgTqCwj0",
12
- "zhmTzMLSzs1JAgLWx19LEhq",
43
+ "zhmTzMLSzs1JAgLW",
44
+ "mtbothL5D3O",
13
45
  "yNv0Dg9U",
14
- "y2XPCa",
15
- "mtm2CeP4uuvU",
16
- "mJaWnJKXmejNqwLhCG",
17
- "C3bHBG",
18
- "mty1mJe5nuXhrhjhvq",
19
- "nZqZmZCYqwvWwuTx",
20
- "z2HVC3q",
46
+ "zhmTzMLSzs1JAgLWx19ZAxPL",
47
+ "mZeWodm3mLnuEMngtG",
21
48
  "C2XPy2u",
22
- "BNvTyMvY",
23
- "BM9YzwzLCNjLCG",
24
- "mte5mta4n3jqBxzjsa",
25
- "nduYotu4AKjSzwvS",
26
- "mtjxBhLrugy",
27
- "mJK3mti0mhzXEuzXvG"
49
+ "ndi1nJuWmgzjCNrlra",
50
+ "mtq0mNHczgD6vW",
51
+ "zMLSzq"
28
52
  ];
29
- return t = function() {
53
+ return r = function() {
30
54
  return e;
31
- }, t();
55
+ }, r();
32
56
  }
33
- (function(e, t) {
34
- let n = d, r = e();
35
- for (;;) try {
36
- if (-parseInt(n(310)) / 1 + parseInt(n(304)) / 2 + parseInt(n(309)) / 3 + parseInt(n(312)) / 4 + -parseInt(n(303)) / 5 * (parseInt(n(311)) / 6) + parseInt(n(296)) / 7 * (parseInt(n(300)) / 8) + -parseInt(n(301)) / 9 == t) break;
37
- r.push(r.shift());
38
- } catch {
39
- r.push(r.shift());
40
- }
41
- })(t, 466436);
42
- import { FileIcon as n } from "../../primitives/FileIcon2.js";
43
- import { cx as r } from "../../primitives/index.js";
44
- import { formatBytes as i } from "../FileUpload/FileUpload.js";
57
+ import { cx as i } from "../../primitives/index.js";
58
+ import { formatBytes as a } from "../FileUpload/FileUpload.js";
45
59
  /* empty css */
46
- import { Paperclip as a } from "lucide-react";
47
- import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
48
- function l(e) {
49
- let t = d, n = e[t(295)](".");
50
- return n <= 0 || e[t(313)] - n > 8 ? {
60
+ import { Paperclip as o } from "lucide-react";
61
+ import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
62
+ function u(e) {
63
+ let n = t, r = e[n(334)](".");
64
+ return r <= 0 || e.length - r > 8 ? {
51
65
  base: e,
52
66
  ext: ""
53
67
  } : {
54
- base: e[t(306)](0, n),
55
- ext: e.slice(n)
68
+ base: e[n(347)](0, r),
69
+ ext: e.slice(r)
56
70
  };
57
71
  }
58
- function u({ name: t, size: u, href: d, download: f, target: p, onClick: m, icon: h = e(299), variant: g = e(305), maxWidth: _ = 220, disabled: v, className: y, style: b, "aria-label": x }) {
59
- let S = e, { base: C, ext: w } = l(t), T = typeof u === S(307) ? i(u) : u, E = h === S(299) ? s(a, { "aria-hidden": !0 }) : h === "file" ? s(n, {
72
+ function d({ name: t, size: r, href: d, download: f, target: p, onClick: m, icon: h = e(339), variant: g = e(335), maxWidth: _ = 220, disabled: v, className: y, style: b, "aria-label": x }) {
73
+ let S = e, { base: C, ext: w } = u(t), T = typeof r == "number" ? a(r) : r, E = h === S(339) ? c(o, { "aria-hidden": !0 }) : h === S(350) ? c(n, {
60
74
  name: t,
61
75
  size: 16
62
- }) : h, D = r(S(314), "ds-file-chip--" + g, (d || m) && S(316), y), O = c(o, { children: [
76
+ }) : h, D = i(S(342), "ds-file-chip--" + g, (d || m) && S(338), y), O = l(s, { children: [
63
77
  E,
64
- c(S(302), {
65
- className: S(317),
78
+ l("span", {
79
+ className: S(341),
66
80
  style: { maxWidth: _ },
67
- children: [s("span", {
68
- className: "ds-file-chip__base",
81
+ children: [c(S(352), {
82
+ className: S(353),
69
83
  children: C
70
- }), w && s(S(302), {
71
- className: S(297),
84
+ }), w && c(S(352), {
85
+ className: "ds-file-chip__ext",
72
86
  children: w
73
87
  })]
74
88
  }),
75
- T != null && s(S(302), {
76
- className: "ds-file-chip__size",
89
+ T != null && c(S(352), {
90
+ className: S(345),
77
91
  children: T
78
92
  })
79
93
  ] }), k = {
@@ -82,37 +96,23 @@ function u({ name: t, size: u, href: d, download: f, target: p, onClick: m, icon
82
96
  title: t,
83
97
  "aria-label": x
84
98
  };
85
- return d && !v ? s("a", {
99
+ return d && !v ? c("a", {
86
100
  ...k,
87
101
  href: d,
88
102
  target: p,
89
- rel: p === S(315) ? S(308) : void 0,
103
+ rel: p === "_blank" ? S(333) : void 0,
90
104
  download: f === !0 ? "" : f || void 0,
91
105
  onClick: m,
92
106
  children: O
93
- }) : m || d ? s(S(298), {
107
+ }) : m || d ? c(S(344), {
94
108
  ...k,
95
- type: S(298),
109
+ type: S(344),
96
110
  disabled: v,
97
111
  onClick: m,
98
112
  children: O
99
- }) : s(S(302), {
113
+ }) : c(S(352), {
100
114
  ...k,
101
115
  children: O
102
116
  });
103
117
  }
104
- function d(e, n) {
105
- e -= 295;
106
- let r = t(), i = r[e];
107
- d.jvuOxY === void 0 && (d.nEmZtM = function(e) {
108
- let t = "", n = "";
109
- 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);
110
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
111
- return decodeURIComponent(n);
112
- }, d.ZSYqkf = {}, d.jvuOxY = !0);
113
- let a = r[0];
114
- d.dyZIQQ !== a && (d.ZSYqkf = {}, d.dyZIQQ = a);
115
- let o = d.ZSYqkf[e];
116
- return o === void 0 ? (i = d.nEmZtM(i), d.ZSYqkf[e] = i) : i = o, i;
117
- }
118
- export { u as FileChip };
118
+ export { d as FileChip };