@iamfiro/design 0.1.0 → 0.3.0

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 (160) hide show
  1. package/AGENTS.md +1 -0
  2. package/agents/INDEX.md +1 -0
  3. package/agents/brand-icon/AGENTS.md +2 -2
  4. package/agents/social-login-button/AGENTS.md +156 -0
  5. package/lib/components/Accordion/Accordion2.js +135 -0
  6. package/lib/components/ActionBar/ActionBar2.js +65 -0
  7. package/lib/components/Alert/Alert2.js +131 -0
  8. package/lib/components/AppShell/AppShell2.js +94 -0
  9. package/lib/components/AreaChart/AreaChart.js +59 -0
  10. package/lib/components/BarChart/BarChart2.js +243 -0
  11. package/lib/components/BarList/BarList2.js +172 -0
  12. package/lib/components/Breadcrumb/Breadcrumb2.js +87 -0
  13. package/lib/components/Calendar/Calendar2.js +309 -0
  14. package/lib/components/Calendar/DatePicker2.js +229 -0
  15. package/lib/components/Calendar/date.js +121 -0
  16. package/lib/components/Card/Card2.js +104 -0
  17. package/lib/components/CardFrame/CardFrame2.js +72 -0
  18. package/lib/components/Chart/ChartParts.js +150 -0
  19. package/lib/components/Chart/chart2.js +96 -0
  20. package/lib/components/Chart/useChartInteraction.js +94 -0
  21. package/lib/components/ChatBubble/ChatBubble2.js +174 -0
  22. package/lib/components/ChatBubble/formatChatTime.js +53 -0
  23. package/lib/components/ChatComposer/ChatComposer2.js +153 -0
  24. package/lib/components/CodeBlock/CodeBlock2.js +93 -0
  25. package/lib/components/CodeBlock/highlight.js +114 -0
  26. package/lib/components/ColorPicker/ColorPicker2.js +610 -0
  27. package/lib/components/ColorPicker/color.js +180 -0
  28. package/lib/components/ColorPicker/presets.js +75 -0
  29. package/lib/components/Combobox/Combobox2.js +229 -0
  30. package/lib/components/CommandMenu/CommandMenu.js +267 -0
  31. package/lib/components/Comment/Comment2.js +134 -0
  32. package/lib/components/ContextMenu/ContextMenu2.js +168 -0
  33. package/lib/components/DataGrid/DataGrid2.js +1996 -0
  34. package/lib/components/DataGrid/GridPopover.js +154 -0
  35. package/lib/components/DataGrid/anchor.js +50 -0
  36. package/lib/components/DataGrid/model.js +558 -0
  37. package/lib/components/DataGrid/panels.js +703 -0
  38. package/lib/components/DataGrid/typeMeta.js +76 -0
  39. package/lib/components/DataGrid/types.js +54 -0
  40. package/lib/components/DescriptionList/DescriptionList2.js +180 -0
  41. package/lib/components/Dialog/AlertDialog.js +118 -0
  42. package/lib/components/Dialog/Dialog2.js +109 -0
  43. package/lib/components/Dialog/modal.js +92 -0
  44. package/lib/components/Drawer/Drawer2.js +244 -0
  45. package/lib/components/DropdownMenu/DropdownMenu2.js +394 -0
  46. package/lib/components/DropdownMenu/menuCore.js +63 -0
  47. package/lib/components/Dropzone/Dropzone2.js +144 -0
  48. package/lib/components/EmptyState/EmptyState2.js +72 -0
  49. package/lib/components/FileChip/FileChip2.js +118 -0
  50. package/lib/components/FileUpload/FileUpload.js +258 -0
  51. package/lib/components/FilterChips/FilterChips2.js +101 -0
  52. package/lib/components/FunnelChart/FunnelChart2.js +283 -0
  53. package/lib/components/FunnelChart/funnel.js +69 -0
  54. package/lib/components/Highlight/Highlight2.js +100 -0
  55. package/lib/components/HoverCard/HoverCard.js +134 -0
  56. package/lib/components/InlineDiff/InlineDiff2.js +215 -0
  57. package/lib/components/InlineDiff/diff.js +126 -0
  58. package/lib/components/InlineDiff/useDiffReview.js +109 -0
  59. package/lib/components/Kanban/Kanban2.js +691 -0
  60. package/lib/components/Kanban/KanbanCard.js +159 -0
  61. package/lib/components/Kanban/move.js +69 -0
  62. package/lib/components/LineChart/LineChart2.js +342 -0
  63. package/lib/components/List/List2.js +133 -0
  64. package/lib/components/Listbox/Listbox2.js +163 -0
  65. package/lib/components/Marker/Marker2.js +82 -0
  66. package/lib/components/Menubar/Menubar2.js +223 -0
  67. package/lib/components/MultiSelect/MultiSelect2.js +204 -0
  68. package/lib/components/NavigationMenu/NavigationMenu2.js +481 -0
  69. package/lib/components/NoticeStack/NoticeStack2.js +178 -0
  70. package/lib/components/NumberStepper/NumberStepper2.js +129 -0
  71. package/lib/components/OtpInput/OtpInput2.js +122 -0
  72. package/lib/components/Pagination/Pagination2.js +210 -0
  73. package/lib/components/Pagination/paginationRange.js +53 -0
  74. package/lib/components/PhoneInput/PhoneInput.js +175 -0
  75. package/lib/components/PieChart/PieChart2.js +246 -0
  76. package/lib/components/PieChart/arc.js +66 -0
  77. package/lib/components/PieChart/useArcTween.js +94 -0
  78. package/lib/components/Popover/Popover2.js +112 -0
  79. package/lib/components/ProgressTracker/ProgressTracker2.js +226 -0
  80. package/lib/components/Rating/Rating2.js +186 -0
  81. package/lib/components/Resizable/Resizable2.js +236 -0
  82. package/lib/components/Resizable/layout.js +115 -0
  83. package/lib/components/ScaledPreview/ScaledPreview2.js +100 -0
  84. package/lib/components/ScatterChart/ScatterChart2.js +356 -0
  85. package/lib/components/ScatterChart/scatter.js +83 -0
  86. package/lib/components/ScrollArea/ScrollArea2.js +218 -0
  87. package/lib/components/Select/Select2.js +153 -0
  88. package/lib/components/Sidebar/Sidebar2.js +127 -0
  89. package/lib/components/Skeleton/Skeleton2.js +91 -0
  90. package/lib/components/Slider/Slider2.js +142 -0
  91. package/lib/components/SocialLoginButton/SocialLoginButton.js +85 -0
  92. package/lib/components/SparkChart/SparkChart2.js +217 -0
  93. package/lib/components/SparkChart/spark.js +76 -0
  94. package/lib/components/Sparkbar/Sparkbar2.js +111 -0
  95. package/lib/components/SplitView/SplitView2.js +95 -0
  96. package/lib/components/Stat/Stat2.js +164 -0
  97. package/lib/components/StepList/StepList2.js +131 -0
  98. package/lib/components/Table/Table2.js +104 -0
  99. package/lib/components/Tabs/Tabs2.js +131 -0
  100. package/lib/components/TagInput/TagInput2.js +360 -0
  101. package/lib/components/TimePicker/TimePicker2.js +388 -0
  102. package/lib/components/TimePicker/time.js +83 -0
  103. package/lib/components/Timeline/Timeline2.js +369 -0
  104. package/lib/components/Timeline/scale.js +83 -0
  105. package/lib/components/Toast/Toaster.js +212 -0
  106. package/lib/components/Toast/store.js +129 -0
  107. package/lib/components/ToggleGroup/ToggleGroup2.js +125 -0
  108. package/lib/components/Toolbar/Toolbar2.js +281 -0
  109. package/lib/components/Tracker/Tracker2.js +172 -0
  110. package/lib/components/TreeDiagram/TreeDiagram2.js +223 -0
  111. package/lib/components/TreeView/TreeView2.js +284 -0
  112. package/lib/hooks/timing.js +55 -0
  113. package/lib/hooks/useControllableState.js +49 -0
  114. package/lib/hooks/useCountdown.js +80 -0
  115. package/lib/hooks/useDigitInput.js +105 -0
  116. package/lib/hooks/useDismiss.js +71 -0
  117. package/lib/hooks/useElapsed.js +83 -0
  118. package/lib/hooks/useFloating.js +70 -0
  119. package/lib/hooks/useFocusTrap.js +61 -0
  120. package/lib/hooks/usePresence.js +60 -0
  121. package/lib/hooks/usePressToOpen.js +69 -0
  122. package/lib/hooks/useScrollLock.js +70 -0
  123. package/lib/hooks/useSelection.js +68 -0
  124. package/lib/index.js +175 -17911
  125. package/lib/primitives/AspectRatio2.js +80 -0
  126. package/lib/primitives/BrandIcon.js +245 -0
  127. package/lib/primitives/ColorDot2.js +70 -0
  128. package/lib/primitives/CopyButton2.js +85 -0
  129. package/lib/primitives/CountBadge2.js +78 -0
  130. package/lib/primitives/Countdown2.js +65 -0
  131. package/lib/primitives/Delta2.js +67 -0
  132. package/lib/primitives/Elapsed.js +62 -0
  133. package/lib/primitives/FileIcon2.js +125 -0
  134. package/lib/primitives/Flag2.js +263 -0
  135. package/lib/primitives/IconStack2.js +85 -0
  136. package/lib/primitives/IconTile2.js +68 -0
  137. package/lib/primitives/Kbd2.js +88 -0
  138. package/lib/primitives/Layout2.js +118 -0
  139. package/lib/primitives/Link2.js +53 -0
  140. package/lib/primitives/MaskedText2.js +120 -0
  141. package/lib/primitives/Progress2.js +137 -0
  142. package/lib/primitives/RelativeTime.js +84 -0
  143. package/lib/primitives/SearchInput2.js +84 -0
  144. package/lib/primitives/SelectorButton2.js +97 -0
  145. package/lib/primitives/Spinner2.js +98 -0
  146. package/lib/primitives/StatusIcon2.js +126 -0
  147. package/lib/primitives/Swatch2.js +79 -0
  148. package/lib/primitives/Tooltip2.js +132 -0
  149. package/lib/primitives/Typography2.js +97 -0
  150. package/lib/primitives/formatCountdown.js +51 -0
  151. package/lib/primitives/formatElapsed.js +66 -0
  152. package/lib/primitives/formatRelativeTime.js +64 -0
  153. package/lib/primitives/hotkey.js +94 -0
  154. package/lib/primitives/index.js +352 -0
  155. package/lib/primitives/maskValue.js +65 -0
  156. package/lib/style.css +1 -1
  157. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +10 -0
  158. package/lib/types/components/index.d.ts +2 -0
  159. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  160. package/package.json +2 -1
@@ -0,0 +1,144 @@
1
+ "use client";
2
+ const e = o;
3
+ (function(e, t) {
4
+ let n = o, r = e();
5
+ for (;;) try {
6
+ if (-parseInt(n(365)) / 1 * (-parseInt(n(347)) / 2) + -parseInt(n(356)) / 3 * (-parseInt(n(376)) / 4) + parseInt(n(382)) / 5 + -parseInt(n(353)) / 6 + -parseInt(n(380)) / 7 + parseInt(n(363)) / 8 * (parseInt(n(366)) / 9) + -parseInt(n(368)) / 10 == t) break;
7
+ r.push(r.shift());
8
+ } catch {
9
+ r.push(r.shift());
10
+ }
11
+ })(n, 451771);
12
+ import { cx as t } from "../../primitives/index.js";
13
+ /* empty css */
14
+ function n() {
15
+ let e = /* @__PURE__ */ "zhmTzhjVChPVBMvFx2XPBMS.mtiZmdi3nMDOrMHVsW.y3vYCMvUDfrHCMDLDa.y29WEq.mtK1odyXzfHjyu1y.zhmTzhjVChPVBMvFx3rPDgXL.zgf0yvrYyw5ZzMvY.BMfTzq.BwfW.zhmTzhjVChPVBMvFx2rLC2m.zhmTzhjVChPVBMuTlxnT.mtzQzxb4wfK.y2XPy2S.mwzVwgXqDG.ndqXnJiXv2XgDhzZ.7jES6RIW7jEqio2mJoYDVoYDHcdRGyZSLRqG64At6RgW64kyia.ntu2mJy5mhD6Dvzxvq.uerg.C2XPy2u.ChjLDMvUDerLzMf1Bhq.y2XLyxjuAw1LB3v0.CMvJDa.zhmTzhjVChPVBMu.zhmTzhjVChPVBMvFx2vKz2u.ntj3y21XCNm.C3bSAxq.BgvUz3rO.zNjVBq.ndCXmti1mMXdEMTrrG.zhjVCevMzMvJDa.mZa2otiXmePjzwvxua.C3bHBG.zMLSzq.zw5KC1DPDgG.zhmTzhjVChPVBMvFx2fYDa.zMLSDgvY.zhmTzhjVChPVBMvFx3rLEhq.zgL2.C3rHCNrZv2L0Aa.DhjPBq.Aw5WDxq.y3vYCMvUDa.zhmTzhjVChPVBMvFx3rPBgu.zhmTzhjVChPVBMvFx3nOzwv0igrZlwrYB3b6B25Lx19ZAgvLDc0TCMLNAhq.nJuWodiYsMLRqxnz.zMLSzxm.C2v0vgLTzw91Da.Dg9mB3DLCKnHC2u.DMfSDwu".split(".");
16
+ return n = function() {
17
+ return e;
18
+ }, n();
19
+ }
20
+ import { useEffect as r, useRef as i, useState as a } from "react";
21
+ function o(e, t) {
22
+ e -= 339;
23
+ let r = n(), i = r[e];
24
+ o.HkGjnT === void 0 && (o.rTTjtJ = function(e) {
25
+ let t = "", n = "";
26
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
27
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
28
+ return decodeURIComponent(n);
29
+ }, o.YplGyo = {}, o.HkGjnT = !0);
30
+ let a = r[0];
31
+ o.AYutDG !== a && (o.YplGyo = {}, o.AYutDG = a);
32
+ let s = o.YplGyo[e];
33
+ return s === void 0 ? (i = o.rTTjtJ(i), o.YplGyo[e] = i) : i = s, i;
34
+ }
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, t) {
38
+ let n = o;
39
+ if (!t) return !0;
40
+ let r = e[n(359)][n(350)](), i = e.type[n(350)]();
41
+ return t[n(377)](",")[n(360)]((e) => e[n(342)]()[n(350)]()).filter(Boolean).some((e) => e[n(341)](".") ? r.endsWith(e) : e[n(385)]("/*") ? i[n(341)](e[n(370)](0, -1)) : i === e);
42
+ }
43
+ var f = (t) => Array[e(379)](t[e(358)].types).includes("Files");
44
+ function p({ onFiles: n, accept: p, multiple: m = !0, disabled: h, invalid: g, title: _, description: v, size: y = "md", name: b, className: x, style: S, "aria-label": C = "파일 올리기" }) {
45
+ let w = e, T = i(null), E = i(0), [D, O] = a(!1), [k, A] = a(0);
46
+ r(() => {
47
+ let e = o;
48
+ if (!k) return;
49
+ let t = window[e(349)](() => A(0), 400);
50
+ return () => window[e(372)](t);
51
+ }, [k]);
52
+ let j = (e) => {
53
+ let t = o;
54
+ if (!e || h) return;
55
+ let r = m ? Array[t(379)](e) : Array[t(379)](e)[t(370)](0, 1);
56
+ if (!r[t(378)]) return;
57
+ let i = r[t(387)]((e) => d(e, p)), a = r[t(387)]((e) => !i.includes(e));
58
+ a.length && A((e) => e + 1), n?.(i, a);
59
+ }, M = () => {
60
+ let e = o;
61
+ h || T[e(344)]?.[e(364)]();
62
+ };
63
+ return u(c, { children: [u(w(340), {
64
+ role: "button",
65
+ tabIndex: h ? -1 : 0,
66
+ "aria-label": C,
67
+ "aria-disabled": h || void 0,
68
+ "aria-invalid": g || void 0,
69
+ className: t(w(374), y === "sm" && w(362), x),
70
+ style: S,
71
+ "data-dragging": D || void 0,
72
+ "data-disabled": h || void 0,
73
+ "data-invalid": g || void 0,
74
+ "data-shake": k || void 0,
75
+ onClick: M,
76
+ onKeyDown: (e) => {
77
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), M());
78
+ },
79
+ onDragEnter: (e) => {
80
+ let t = w;
81
+ !h && f(e) && (e.preventDefault(), E[t(344)] += 1, O(!0));
82
+ },
83
+ onDragOver: (e) => {
84
+ let t = w;
85
+ !h && f(e) && (e[t(371)](), e[t(358)][t(381)] = t(355));
86
+ },
87
+ onDragLeave: () => {
88
+ let e = w;
89
+ E[e(344)] = Math.max(0, E[e(344)] - 1), E[e(344)] === 0 && O(!1);
90
+ },
91
+ onDrop: (e) => {
92
+ let t = w;
93
+ h || (e[t(371)](), E[t(344)] = 0, O(!1), j(e[t(358)].files));
94
+ },
95
+ children: [
96
+ l("svg", {
97
+ className: w(375),
98
+ "aria-hidden": !0,
99
+ children: l(w(373), {})
100
+ }),
101
+ u(w(383), {
102
+ className: w(386),
103
+ "aria-hidden": !0,
104
+ children: [y === "md" && u(c, { children: [l(w(383), {
105
+ className: "ds-dropzone__sheet ds-dropzone__sheet--left",
106
+ children: w(369)
107
+ }), l("span", {
108
+ className: w(346),
109
+ children: "PNG"
110
+ })] }), l(w(383), {
111
+ className: w(345),
112
+ children: l(s, {})
113
+ })]
114
+ }),
115
+ u(w(383), {
116
+ className: w(339),
117
+ children: [l("span", {
118
+ className: w(357),
119
+ children: _ ?? u(c, { children: [w(367), l(w(383), {
120
+ className: w(352),
121
+ children: "찾아보기"
122
+ })] })
123
+ }), v && l(w(383), {
124
+ className: w(361),
125
+ children: v
126
+ })]
127
+ })
128
+ ]
129
+ }), l(w(343), {
130
+ ref: T,
131
+ type: w(384),
132
+ name: b,
133
+ accept: p,
134
+ multiple: m,
135
+ disabled: h,
136
+ hidden: !0,
137
+ tabIndex: -1,
138
+ onChange: (e) => {
139
+ let t = w;
140
+ j(e.currentTarget[t(348)]), e[t(354)][t(351)] = "";
141
+ }
142
+ })] });
143
+ }
144
+ export { p as Dropzone, d as matchesAccept };
@@ -0,0 +1,72 @@
1
+ "use client";
2
+ const e = a;
3
+ function t() {
4
+ let e = [
5
+ "zM9VDgvY",
6
+ "mJi0mJe0tvngBwzy",
7
+ "mZC0odmYogfrzNfOsW",
8
+ "mJu0mte4owv2yNbntG",
9
+ "zgL2",
10
+ "zhmTzw1WDhK",
11
+ "zhmTzw1WDhKTlxn0yxj0",
12
+ "zgvZyW",
13
+ "BwfW",
14
+ "BwvKAwe",
15
+ "zhmTzw1WDhKTlq",
16
+ "ywn0Aw9UCW",
17
+ "mJb4u0zZAui",
18
+ "zgvMyxvSDa",
19
+ "mtKXmdKYCwzItwzZ",
20
+ "nNvVCwX6tq",
21
+ "mJu3mdu4BMXuCfbq",
22
+ "C3rHCNq",
23
+ "mZe3mhHkshf4tq",
24
+ "mZe5nZm1uw14t3Hi",
25
+ "ChvZAa",
26
+ "zhmTzw1WDhLFxW",
27
+ "mtaYodDZBLP3zNu",
28
+ "y2vUDgvY"
29
+ ];
30
+ return t = function() {
31
+ return e;
32
+ }, t();
33
+ }
34
+ (function(e, t) {
35
+ let n = a, r = e();
36
+ for (;;) try {
37
+ if (parseInt(n(219)) / 1 + parseInt(n(221)) / 2 + parseInt(n(230)) / 3 + -parseInt(n(217)) / 4 * (-parseInt(n(224)) / 5) + parseInt(n(220)) / 6 * (parseInt(n(232)) / 7) + -parseInt(n(231)) / 8 + parseInt(n(227)) / 9 * (-parseInt(n(223)) / 10) == t) break;
38
+ r.push(r.shift());
39
+ } catch {
40
+ r.push(r.shift());
41
+ }
42
+ })(t, 246249);
43
+ import { cx as n } from "../../primitives/index.js";
44
+ /* empty css */
45
+ import { jsx as r } from "react/jsx-runtime";
46
+ function i({ icon: t, media: i, title: a, description: o, actions: s, footer: c, tone: l = e(218), size: u = "md", align: d = e(228), className: f, style: p }) {
47
+ let m = e, h = [];
48
+ return i ? h[m(225)]([m(214), i]) : t && h[m(225)](["icon", t]), h.push(["title", a]), o && h[m(225)]([m(212), o]), s && h[m(225)]([m(216), s]), c && h[m(225)]([m(229), c]), r(m(233), {
49
+ className: n(m(234), "ds-empty--" + u, m(215) + l, d === m(222) && m(211), f),
50
+ style: p,
51
+ children: h[m(213)](([e, t], n) => r(m(233), {
52
+ className: m(226) + e,
53
+ style: { "--_i": n },
54
+ children: t
55
+ }, e))
56
+ });
57
+ }
58
+ function a(e, n) {
59
+ e -= 211;
60
+ let r = t(), i = r[e];
61
+ a.jugfub === void 0 && (a.PZMUPi = function(e) {
62
+ let t = "", n = "";
63
+ 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);
64
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
65
+ return decodeURIComponent(n);
66
+ }, a.ZESbdm = {}, a.jugfub = !0);
67
+ let o = r[0];
68
+ a.zRFHFf !== o && (a.ZESbdm = {}, a.zRFHFf = o);
69
+ let s = a.ZESbdm[e];
70
+ return s === void 0 ? (i = a.PZMUPi(i), a.ZESbdm[e] = i) : i = s, i;
71
+ }
72
+ export { i as EmptyState };
@@ -0,0 +1,118 @@
1
+ "use client";
2
+ const e = t;
3
+ (function(e, n) {
4
+ let r = t, i = e();
5
+ for (;;) try {
6
+ if (parseInt(r(495)) / 1 + parseInt(r(483)) / 2 + -parseInt(r(502)) / 3 + parseInt(r(481)) / 4 * (parseInt(r(494)) / 5) + -parseInt(r(488)) / 6 + -parseInt(r(491)) / 7 + parseInt(r(489)) / 8 == n) break;
7
+ i.push(i.shift());
8
+ } catch {
9
+ i.push(i.shift());
10
+ }
11
+ })(u, 118948);
12
+ function t(e, n) {
13
+ e -= 480;
14
+ let r = u(), i = r[e];
15
+ t.fHCLFD === void 0 && (t.aRcXUK = 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.hyoIOC = {}, t.fHCLFD = !0);
21
+ let a = r[0];
22
+ t.ffbPKf !== a && (t.hyoIOC = {}, t.ffbPKf = a);
23
+ let o = t.hyoIOC[e];
24
+ return o === void 0 ? (i = t.aRcXUK(i), t.hyoIOC[e] = i) : i = o, i;
25
+ }
26
+ import { FileIcon as n } from "../../primitives/FileIcon2.js";
27
+ import { cx as r } from "../../primitives/index.js";
28
+ import { formatBytes as i } from "../FileUpload/FileUpload.js";
29
+ /* empty css */
30
+ import { Paperclip as a } from "lucide-react";
31
+ import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
32
+ function l(e) {
33
+ let n = t, r = e.lastIndexOf(".");
34
+ return r <= 0 || e[n(497)] - r > 8 ? {
35
+ base: e,
36
+ ext: ""
37
+ } : {
38
+ base: e[n(487)](0, r),
39
+ ext: e.slice(r)
40
+ };
41
+ }
42
+ function u() {
43
+ let e = [
44
+ "C3bHBG",
45
+ "nJaYnZCYDNHdtNLb",
46
+ "zMLSzq",
47
+ "mJy3ndm4uKDwtujo",
48
+ "zhmTzMLSzs1JAgLWls1PBNrLCMfJDgL2zq",
49
+ "y2XPCa",
50
+ "zhmTzMLSzs1JAgLWls0",
51
+ "C2XPy2u",
52
+ "odqXnZi4v2ntz0DP",
53
+ "mJuXmJi4oeLwzMXXvW",
54
+ "BNvTyMvY",
55
+ "mtm3mtKZmhvSwxzSva",
56
+ "yNv0Dg9U",
57
+ "zhmTzMLSzs1JAgLWx19Uyw1L",
58
+ "nuPxB2z2Ea",
59
+ "odG2nJffqM9Ps04",
60
+ "x2jSyw5R",
61
+ "BgvUz3rO",
62
+ "zhmTzMLSzs1JAgLWx19LEhq",
63
+ "z2HVC3q",
64
+ "zhmTzMLSzs1JAgLWx19ZAxPL",
65
+ "zhmTzMLSzs1JAgLWx19IyxnL",
66
+ "nJK1nJq5wNPpsfHP"
67
+ ];
68
+ return u = function() {
69
+ return e;
70
+ }, u();
71
+ }
72
+ function d({ name: t, size: u, href: d, download: f, target: p, onClick: m, icon: h = e(485), variant: g = e(499), maxWidth: _ = 220, disabled: v, className: y, style: b, "aria-label": x }) {
73
+ let S = e, { base: C, ext: w } = l(t), T = typeof u === S(490) ? i(u) : u, E = h === S(485) ? s(a, { "aria-hidden": !0 }) : h === S(482) ? s(n, {
74
+ name: t,
75
+ size: 16
76
+ }) : h, D = r("ds-file-chip", S(486) + g, (d || m) && S(484), y), O = c(o, { children: [
77
+ E,
78
+ c(S(480), {
79
+ className: S(493),
80
+ style: { maxWidth: _ },
81
+ children: [s(S(480), {
82
+ className: S(501),
83
+ children: C
84
+ }), w && s(S(480), {
85
+ className: S(498),
86
+ children: w
87
+ })]
88
+ }),
89
+ T != null && s(S(480), {
90
+ className: S(500),
91
+ children: T
92
+ })
93
+ ] }), k = {
94
+ className: D,
95
+ style: b,
96
+ title: t,
97
+ "aria-label": x
98
+ };
99
+ return d && !v ? s("a", {
100
+ ...k,
101
+ href: d,
102
+ target: p,
103
+ rel: p === S(496) ? "noreferrer" : void 0,
104
+ download: f === !0 ? "" : f || void 0,
105
+ onClick: m,
106
+ children: O
107
+ }) : m || d ? s(S(492), {
108
+ ...k,
109
+ type: S(492),
110
+ disabled: v,
111
+ onClick: m,
112
+ children: O
113
+ }) : s(S(480), {
114
+ ...k,
115
+ children: O
116
+ });
117
+ }
118
+ export { d as FileChip };
@@ -0,0 +1,258 @@
1
+ "use client";
2
+ (function(e, n) {
3
+ let r = t, i = e();
4
+ for (;;) try {
5
+ if (-parseInt(r(467)) / 1 * (-parseInt(r(496)) / 2) + -parseInt(r(501)) / 3 * (-parseInt(r(511)) / 4) + parseInt(r(477)) / 5 + -parseInt(r(508)) / 6 + -parseInt(r(472)) / 7 * (parseInt(r(507)) / 8) + -parseInt(r(451)) / 9 * (parseInt(r(498)) / 10) + parseInt(r(491)) / 11 == n) break;
6
+ i.push(i.shift());
7
+ } catch {
8
+ i.push(i.shift());
9
+ }
10
+ })(f, 138557);
11
+ import { Text as e } from "../../primitives/Typography2.js";
12
+ function t(e, n) {
13
+ e -= 441;
14
+ let r = f(), i = r[e];
15
+ t.WyRAzY === void 0 && (t.escXQr = 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.LXOqSO = {}, t.WyRAzY = !0);
21
+ let a = r[0];
22
+ t.sJniRO !== a && (t.LXOqSO = {}, t.sJniRO = a);
23
+ let o = t.LXOqSO[e];
24
+ return o === void 0 ? (i = t.escXQr(i), t.LXOqSO[e] = i) : i = o, i;
25
+ }
26
+ import { Progress as n } from "../../primitives/Progress2.js";
27
+ import { FileIcon as r } from "../../primitives/FileIcon2.js";
28
+ import { Inline as i, Stack as a } from "../../primitives/Layout2.js";
29
+ import { useControllableState as o } from "../../hooks/useControllableState.js";
30
+ import { Button as s } from "../../primitives/index.js";
31
+ import { Card as c, CardBody as l, CardFooter as ee } from "../Card/Card2.js";
32
+ import { List as u, ListItem as d } from "../List/List2.js";
33
+ import { Dropzone as te } from "../Dropzone/Dropzone2.js";
34
+ function f() {
35
+ let e = /* @__PURE__ */ "C3rHCNq.ioUlPoYlNcdSI5ZRJ4q.DxbSB2fKAw5N.mtmZmZy2mMnwDe9zzW.Dg9gAxHLza.DgvYDgLHCNK.Dg9vChbLCKnHC2u.BMfTzq.mJiXmte2BwvLwLrQ.zMLSDgvY.mJyXntyZmeDVBuXovq.6RcCioYKKsa.ywjVCNq.m1nJrhHMzG.6RcCioYxHEUHNoUtNcdSPjeGWRCG.ioYxHEUHNoUtNcdST6JSHOW.z2HVC3q.C2v0vgLTzw91Da.64+z7jIb7iob.mJr3reH4D0K.ntqZodm0BMXntg1r.C2XPy2u.67AeioUcQoYDJa.mtK1mZG4y2zcs1jT.imk3ia.BgvUz3rO.ioUQQEUHNEYxKoYeNcdRUBZQUla.7kEa7jUq7zwy7kEaioYvIUUkLcdTMjxSI53SNBtSL5dSMPq.Bwf4.C2v0.7ywn7iQK7yQ4.C3bSAxq.7lsiioUcQoYDJa.y3vYCMvUDa.owLZuKPjDa.y2vPBa.BwvZC2fNzq.y2f0y2G.C3bHBG.ywjVCNrLza.7zwCioUYIoYxKca.BwfW.CM91BMq.Cg9SAxrL.7jIS66AWio2mJoYDVa.AM9PBG.DxbSB2fKlq.6RcC6RMm7kEaioYyRoUMTcdSIjGG7j6i7jA07jQu.Bg9HzgvK.zxjYB3i.mLHqsLHMua.zg9Uzq.7jIK65su7jIK.ywnJzw50.yM9KEs1ZBq.mtK4mtyZD0niAxnJ.imk3ioYxHEUHNoUtNcdSMytRO4W.C3rHCNrZv2L0Aa.z2v0.CMvKDwnL.otiYnda1uNPWtfDY.zgvSzxrL.zMLSzq.C2LNBMfS.64si66Y0ioY7PoYALcdcTYdSTzZRJiaG.ioYxHEUHNoUtNa.Aw5JBhvKzxm.6RcCioYxHEUHNoUtNcdSMytRO4WGWRCG.C2L6zq.7yYm7j2864U5ioY1NoUmGca.C3rHDhvZ".split(".");
36
+ return f = function() {
37
+ return e;
38
+ }, f();
39
+ }
40
+ import { useEffect as p, useRef as m, useState as h } from "react";
41
+ import { RotateCw as g, X as _ } from "lucide-react";
42
+ import { jsx as v, jsxs as y } from "react/jsx-runtime";
43
+ var b = 260, x = 0;
44
+ function S(e) {
45
+ let n = t;
46
+ return e < 1024 ? e + "B" : e < 1024 ** 2 ? Math.round(e / 1024) + "KB" : e < 1024 ** 3 ? +(e / 1024 ** 2)[n(492)](1) + "MB" : +(e / 1024 ** 3)[n(492)](1) + "GB";
47
+ }
48
+ function C(e, n) {
49
+ let r = t, i = n < 1024 ** 2 ? 1024 : n < 1024 ** 3 ? 1024 ** 2 : 1024 ** 3, a = e / i;
50
+ return (i === 1024 ? Math[r(459)](a) : +a[r(492)](1)) + " / " + S(n);
51
+ }
52
+ function w(e) {
53
+ let n = t;
54
+ return e < 60 ? Math[n(445)](1, Math[n(452)](e)) + n(449) : Math[n(452)](e / 60) + n(510);
55
+ }
56
+ function T(e) {
57
+ let n = t;
58
+ return e[n(448)](",")[n(458)]((e) => e.trim()).filter(Boolean)[n(458)]((e) => {
59
+ let t = n;
60
+ if (e[t(474)](".")) return e[t(509)](1)[t(494)]();
61
+ let [r, i] = e[t(448)]("/");
62
+ return i === "*" ? {
63
+ image: "이미지",
64
+ video: t(506),
65
+ audio: t(469),
66
+ text: t(447)
67
+ }[r] ?? r : i.toUpperCase();
68
+ }).join(", ");
69
+ }
70
+ function E({ upload: f, items: E, defaultItems: D = [], onItemsChange: O, onRemove: k, accept: A, maxSize: j, maxFiles: M, multiple: ne = !0, disabled: N, title: P, description: F, showSummary: I = !0, className: L, style: R }) {
71
+ let z = t, [B, V] = o(E, D, O), H = m(B);
72
+ p(() => {
73
+ let e = t;
74
+ H[e(450)] = B;
75
+ }, [B]);
76
+ let U = (e) => {
77
+ H.current = e, V(e);
78
+ }, W = (e, t) => U(H.current.map((n) => n.id === e ? {
79
+ ...n,
80
+ ...t
81
+ } : n)), G = m(/* @__PURE__ */ new Map()), K = m(/* @__PURE__ */ new Map()), [q, J] = h({}), [Y, X] = h([]);
82
+ p(() => {
83
+ let e = t, n = G[e(450)];
84
+ return () => {
85
+ let t = e;
86
+ n.forEach((e) => e[t(500)]()), n.clear();
87
+ };
88
+ }, []);
89
+ let re = (e) => {
90
+ let n = t;
91
+ if (!f || !e[n(479)]) return;
92
+ let r = new AbortController();
93
+ G[n(450)].set(e.id, r), K[n(450)][n(446)](e.id, performance.now()), f(e[n(479)], {
94
+ signal: r[n(480)],
95
+ onProgress: (t) => {
96
+ let i = n;
97
+ if (r[i(480)][i(456)]) return;
98
+ W(e.id, { loaded: t });
99
+ let a = (performance.now() - (K.current[i(475)](e.id) ?? 0)) / 1e3;
100
+ t > 0 && a > .3 && J((n) => ({
101
+ ...n,
102
+ [e.id]: (e[i(485)] - t) * a / t
103
+ }));
104
+ }
105
+ }).then(() => {
106
+ let t = n;
107
+ r[t(480)].aborted || W(e.id, {
108
+ status: "done",
109
+ loaded: e[t(485)]
110
+ });
111
+ })[n(454)]((t) => {
112
+ let i = n;
113
+ r[i(480)].aborted || W(e.id, {
114
+ status: i(466),
115
+ error: t instanceof Error && t[i(453)] ? t[i(453)] : "업로드하지 못했어요"
116
+ });
117
+ }).finally(() => {
118
+ let t = n;
119
+ G.current[t(475)](e.id) === r && G[t(450)][t(478)](e.id);
120
+ });
121
+ };
122
+ p(() => {
123
+ let e = t;
124
+ B[e(497)]((t) => t[e(487)] === "uploading" && !G[e(450)].has(t.id) && !Y[e(483)](t.id)).forEach(re);
125
+ });
126
+ let ie = (e, n) => {
127
+ let r = t, i = M ? M - H[r(450)][r(497)]((e) => e.status !== r(466))[r(442)] : Infinity, a = (e) => ({
128
+ id: r(463) + ++x,
129
+ name: e[r(495)],
130
+ size: e[r(485)],
131
+ loaded: 0,
132
+ status: r(466)
133
+ }), o = [...e[r(458)]((e) => {
134
+ let t = r;
135
+ return j && e.size > j ? {
136
+ ...a(e),
137
+ error: t(481) + S(j)
138
+ } : i-- <= 0 ? {
139
+ ...a(e),
140
+ error: t(457) + M + t(464)
141
+ } : {
142
+ ...a(e),
143
+ file: e,
144
+ status: f ? "uploading" : t(468),
145
+ loaded: f ? 0 : e[t(485)]
146
+ };
147
+ }), ...n[r(458)]((e) => ({
148
+ ...a(e),
149
+ error: r(444)
150
+ }))];
151
+ o[r(442)] && U([...H[r(450)], ...o]);
152
+ }, ae = (e) => {
153
+ let n = t;
154
+ G[n(450)][n(475)](e.id)?.abort(), k?.(e), X((t) => [...t, e.id]), window[n(505)](() => {
155
+ let t = n;
156
+ X((n) => n[t(497)]((t) => t !== e.id)), U(H[t(450)].filter((t) => t.id !== e.id));
157
+ }, b);
158
+ }, oe = (e) => {
159
+ let n = t;
160
+ J((t) => {
161
+ let n = { ...t };
162
+ return delete n[e.id], n;
163
+ }), W(e.id, {
164
+ status: n(490),
165
+ loaded: 0,
166
+ error: void 0
167
+ });
168
+ }, Z = B[z(497)]((e) => e[z(487)] !== z(466)), Q = Z[z(497)]((e) => e[z(487)] === z(490)), $ = Z[z(476)]((e, t) => e + t[z(485)], 0), se = Z[z(476)]((e, t) => e + (t.status === z(468) ? t[z(485)] : t.loaded ?? 0), 0), ce = F ?? ([A && "" + T(A), j && z(486) + S(j)][z(497)](Boolean)[z(462)](z(441)) || void 0);
169
+ return y(c, {
170
+ padding: "sm",
171
+ className: L,
172
+ style: R,
173
+ children: [v(l, { children: y(a, {
174
+ gap: 2,
175
+ children: [v(te, {
176
+ onFiles: ie,
177
+ accept: A,
178
+ multiple: ne,
179
+ disabled: N,
180
+ title: P,
181
+ description: ce
182
+ }), B[z(442)] > 0 && v(u, {
183
+ animated: !0,
184
+ "aria-label": z(461),
185
+ children: B[z(458)]((t) => {
186
+ let o = z, c = t[o(465)] ?? 0;
187
+ return v(d, {
188
+ align: o(488),
189
+ leaving: Y[o(483)](t.id),
190
+ leading: v(r, { name: t[o(495)] }),
191
+ title: t[o(495)],
192
+ description: t[o(487)] === "error" ? v(e, {
193
+ as: "span",
194
+ variant: o(471),
195
+ tone: "danger",
196
+ children: t[o(466)]
197
+ }) : t.status === o(468) ? y(e, {
198
+ as: o(455),
199
+ variant: o(471),
200
+ tone: "tertiary",
201
+ numeric: !0,
202
+ children: [S(t.size), o(473)]
203
+ }) : y(a, {
204
+ as: o(455),
205
+ gap: 2,
206
+ children: [y(e, {
207
+ as: o(455),
208
+ variant: o(471),
209
+ tone: o(493),
210
+ numeric: !0,
211
+ children: [
212
+ C(c, t.size),
213
+ o(441),
214
+ q[t.id] == null ? "준비 중" : w(q[t.id])
215
+ ]
216
+ }), v(n, {
217
+ value: c,
218
+ max: t[o(485)],
219
+ size: "sm",
220
+ tone: o(470),
221
+ "aria-label": t[o(495)] + o(482)
222
+ })]
223
+ }),
224
+ trailing: y(i, {
225
+ gap: 1,
226
+ wrap: !1,
227
+ children: [t[o(487)] === o(466) && t[o(479)] && f && v(s, {
228
+ variant: "ghost",
229
+ size: "sm",
230
+ iconOnly: !0,
231
+ icon: v(g, {}),
232
+ "aria-label": t[o(495)] + o(489),
233
+ onClick: () => oe(t)
234
+ }), v(s, {
235
+ variant: o(504),
236
+ size: "sm",
237
+ iconOnly: !0,
238
+ icon: v(_, {}),
239
+ "aria-label": t[o(487)] === o(490) ? t.name + o(503) : t[o(495)] + o(443),
240
+ onClick: () => ae(t)
241
+ })]
242
+ })
243
+ }, t.id);
244
+ })
245
+ })]
246
+ }) }), I && Z[z(442)] > 0 && v(ee, {
247
+ align: "start",
248
+ children: v(e, {
249
+ variant: "body-sm",
250
+ tone: z(493),
251
+ numeric: !0,
252
+ "aria-live": z(460),
253
+ children: Q.length > 0 ? Z.length + z(499) + Q.length + z(502) + C(se, $) : Z[z(442)] + z(484) + S($)
254
+ })
255
+ })]
256
+ });
257
+ }
258
+ export { E as FileUpload, S as formatBytes };
@@ -0,0 +1,101 @@
1
+ "use client";
2
+ const e = f;
3
+ (function(e, t) {
4
+ let n = f, r = e();
5
+ for (;;) try {
6
+ if (parseInt(n(410)) / 1 * (parseInt(n(391)) / 2) + parseInt(n(400)) / 3 * (-parseInt(n(407)) / 4) + parseInt(n(390)) / 5 * (-parseInt(n(388)) / 6) + -parseInt(n(412)) / 7 * (-parseInt(n(384)) / 8) + -parseInt(n(409)) / 9 * (-parseInt(n(395)) / 10) + parseInt(n(399)) / 11 * (-parseInt(n(397)) / 12) + parseInt(n(394)) / 13 == t) break;
7
+ r.push(r.shift());
8
+ } catch {
9
+ r.push(r.shift());
10
+ }
11
+ })(t, 333142);
12
+ function t() {
13
+ let e = /* @__PURE__ */ "zgvMyxvSDfbYzxzLBNrLza.q2HPCa.C3bHBG.yxjPys1SywjLBa.ndHuwNvYu1a.zhmTzMLSDgvYlwnOAxbZx19JBgvHCG.mZe3mZq3mKPKreHWvG.m2nsqK9wwG.zhmTzMLSDgvYlwnOAxbFx2XLywq.n3bWyMvUDq.zhmTzMLSDgvYlwnOAxbZ.zhmTzMLSDgvYlwnOAxaTlq.uhjVDMLKzxi.7zwe7ysWioYGNoQXSa.C2vSzwn0zwq.mZG4otu4nhj1ChHlwG.C29SAwq.DMfYAwfUDa.Dg9Nz2XL.mZi0nNzRDff3vW.zgLZywjSzwq.ndy1nw1csg9tCq.mZm0odjoAuLQEeq.zhmTzMLSDgvYlwnOAxa.zgL2.mtmWnZiZmdzIEwnlsvO.mtbbyM1iDLy.y2XLyxi.mJrrzgTPwLy.C2L6zq.mJCYodi1m0jJu2nHEG.mtqWndmZyNn6ugrz.yNv0Dg9U.AxntzwXLy3rLza".split(".");
14
+ return t = function() {
15
+ return e;
16
+ }, t();
17
+ }
18
+ import { cx as n } from "../../primitives/index.js";
19
+ import { useSelection as r } from "../../hooks/useSelection.js";
20
+ /* empty css */
21
+ import { createContext as i, useContext as a } from "react";
22
+ import { Check as o, X as s } from "lucide-react";
23
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
24
+ var u = i(null);
25
+ function d(e) {
26
+ let t = f, { variant: i = t(385), size: a = "md", disabled: o, clearable: s, clearLabel: d = "초기화", className: p, children: m } = e, h = r(e);
27
+ return c(u[t(381)], {
28
+ value: {
29
+ isSelected: (e) => h.isSelected(e),
30
+ toggle: (e) => h[t(387)](e),
31
+ variant: i,
32
+ size: a,
33
+ disabled: o
34
+ },
35
+ children: l(t(393), {
36
+ role: "group",
37
+ "aria-label": e[t(406)],
38
+ className: n(t(413), p),
39
+ children: [m, s && h[t(383)].length > 0 && c("button", {
40
+ type: t(401),
41
+ className: t(408),
42
+ onClick: h[t(396)],
43
+ children: d
44
+ })]
45
+ })
46
+ });
47
+ }
48
+ function f(e, n) {
49
+ e -= 381;
50
+ let r = t(), i = r[e];
51
+ f.DKpvum === void 0 && (f.jrFbuh = function(e) {
52
+ let t = "", n = "";
53
+ 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
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
55
+ return decodeURIComponent(n);
56
+ }, f.pecHGA = {}, f.DKpvum = !0);
57
+ let a = r[0];
58
+ f.JWKotU !== a && (f.pecHGA = {}, f.JWKotU = a);
59
+ let o = f.pecHGA[e];
60
+ return o === void 0 ? (i = f.jrFbuh(i), f.pecHGA[e] = i) : i = o, i;
61
+ }
62
+ function p({ value: t, selected: r, onSelectedChange: i, onRemove: d, removeLabel: f = e(382), icon: p, count: m, variant: h, size: g, disabled: _, className: v, children: y, onClick: b, ...x }) {
63
+ let S = e, C = a(u), w = C != null && t !== void 0, T = w ? C[S(402)](t) : !!r, E = h ?? C?.[S(386)] ?? S(385), D = g ?? C?.[S(398)] ?? "md", O = _ || C?.[S(389)];
64
+ return l(S(405), {
65
+ className: n(S(392), "ds-filter-chip--" + E, S(414) + D, v),
66
+ "data-selected": T || void 0,
67
+ "data-disabled": O || void 0,
68
+ children: [l(S(401), {
69
+ type: S(401),
70
+ className: "ds-filter-chip__main",
71
+ "aria-pressed": T,
72
+ disabled: O,
73
+ onClick: (e) => {
74
+ let n = S;
75
+ b?.(e), !e[n(403)] && (w && C.toggle(t), i?.(!T));
76
+ },
77
+ ...x,
78
+ children: [
79
+ c("span", {
80
+ className: S(411),
81
+ "aria-hidden": !0,
82
+ children: T ? c(o, {}) : p
83
+ }),
84
+ y,
85
+ m != null && c(S(405), {
86
+ className: "ds-filter-chip__count",
87
+ children: m
88
+ })
89
+ ]
90
+ }), d && c(S(401), {
91
+ type: S(401),
92
+ className: "ds-filter-chip__remove",
93
+ "aria-label": f,
94
+ disabled: O,
95
+ onClick: d,
96
+ children: c(s, {})
97
+ })]
98
+ });
99
+ }
100
+ d[e(404)] = p;
101
+ export { p as FilterChip, d as FilterChipGroup };