@sakaniui/react 0.4.2 → 0.4.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.
- package/README.md +43 -4
- package/dist/TopBar-CKPoRCEM.cjs +1 -0
- package/dist/{TopBar-BN2DyH1y.js → TopBar-DXx49iZq.js} +30 -20
- package/dist/blocks/LiquidDashboardBlock/DashboardContent.d.ts +4 -1
- package/dist/blocks.cjs +2 -2
- package/dist/blocks.mjs +641 -641
- package/dist/components/Stepper/Stepper.d.ts +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +664 -646
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/TopBar-CepIdyw6.cjs +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as e, A as t, B as n, C as r, Ct as i, D as a, Dt as o, E as s, Et as c, F as l, G as u, H as d, I as f, J as p, K as m, L as h, M as g, N as _, O as v, Ot as y, P as b, Q as x, R as ee, S as te, St as S, T as ne, Tt as re, U as ie, V as ae, W as oe, X as C, Y as se, Z as ce, _ as le, a as ue, at as de, b as fe, bt as pe, c as me, ct as he, d as ge, dt as _e, et as ve, f as ye, ft as be, g as xe, gt as Se, h as Ce, ht as we, i as Te, it as Ee, j as De, k as Oe, kt as w, l as ke, lt as Ae, m as je, mt as Me, n as Ne, nt as Pe, o as Fe, ot as Ie, p as Le, pt as Re, q as ze, r as Be, rt as Ve, s as He, st as Ue, t as We, tt as Ge, u as Ke, ut as qe, v as Je, vt as Ye, w as Xe, wt as Ze, x as Qe, xt as $e, y as et, yt as tt, z as nt } from "./TopBar-
|
|
2
|
-
import T from "react";
|
|
3
|
-
import { Fragment as
|
|
4
|
-
import { ArrowRight as
|
|
5
|
-
import { Area as
|
|
6
|
-
var
|
|
1
|
+
import { $ as e, A as t, B as n, C as r, Ct as i, D as a, Dt as o, E as s, Et as c, F as l, G as u, H as d, I as f, J as p, K as m, L as h, M as g, N as _, O as v, Ot as y, P as b, Q as x, R as ee, S as te, St as S, T as ne, Tt as re, U as ie, V as ae, W as oe, X as C, Y as se, Z as ce, _ as le, a as ue, at as de, b as fe, bt as pe, c as me, ct as he, d as ge, dt as _e, et as ve, f as ye, ft as be, g as xe, gt as Se, h as Ce, ht as we, i as Te, it as Ee, j as De, k as Oe, kt as w, l as ke, lt as Ae, m as je, mt as Me, n as Ne, nt as Pe, o as Fe, ot as Ie, p as Le, pt as Re, q as ze, r as Be, rt as Ve, s as He, st as Ue, t as We, tt as Ge, u as Ke, ut as qe, v as Je, vt as Ye, w as Xe, wt as Ze, x as Qe, xt as $e, y as et, yt as tt, z as nt } from "./TopBar-DXx49iZq.js";
|
|
2
|
+
import T, { useEffect as rt, useRef as it, useState as at } from "react";
|
|
3
|
+
import { Fragment as ot, jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
4
|
+
import { ArrowRight as st, ChartColumn as ct, Check as lt, ChevronDown as ut, ChevronLeft as dt, ChevronRight as ft, ChevronsUpDown as pt, Copy as mt, File as ht, Info as gt, LogOut as _t, Menu as vt, MoreHorizontal as yt, Play as bt, Plus as xt, Quote as St, Receipt as Ct, Search as wt, Sparkles as Tt, TrendingDown as Et, TrendingUp as Dt, TriangleAlert as Ot, UploadCloud as kt, X as At } from "lucide-react";
|
|
5
|
+
import { Area as jt, AreaChart as Mt, CartesianGrid as Nt, Cell as Pt, Legend as Ft, Pie as It, PieChart as Lt, PolarAngleAxis as Rt, PolarGrid as zt, PolarRadiusAxis as Bt, Radar as Vt, RadarChart as Ht, RadialBar as Ut, RadialBarChart as Wt, ResponsiveContainer as Gt, Sector as Kt, Tooltip as qt, XAxis as Jt } from "recharts";
|
|
6
|
+
var Yt = {
|
|
7
7
|
announcement: "_announcement_1ba3c_1",
|
|
8
8
|
"announcement--neutral": "_announcement--neutral_1ba3c_13",
|
|
9
9
|
"announcement--urgent": "_announcement--urgent_1ba3c_16",
|
|
@@ -12,43 +12,43 @@ var O = {
|
|
|
12
12
|
icon__neutral: "_icon__neutral_1ba3c_32",
|
|
13
13
|
message: "_message_1ba3c_36",
|
|
14
14
|
link: "_link_1ba3c_52"
|
|
15
|
-
},
|
|
15
|
+
}, Xt = ({ message: e, linkLabel: t, linkHref: n, onLinkClick: r, onDismiss: a, variant: o = "neutral", className: s }) => {
|
|
16
16
|
let c = o === "urgent";
|
|
17
17
|
return /* @__PURE__ */ D("div", {
|
|
18
18
|
className: [
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
Yt.announcement,
|
|
20
|
+
Yt[`announcement--${o}`],
|
|
21
21
|
s ?? ""
|
|
22
22
|
].filter(Boolean).join(" "),
|
|
23
23
|
children: [/* @__PURE__ */ D("div", {
|
|
24
|
-
className:
|
|
24
|
+
className: Yt.content,
|
|
25
25
|
children: [
|
|
26
26
|
/* @__PURE__ */ E("span", {
|
|
27
|
-
className:
|
|
27
|
+
className: Yt.icon,
|
|
28
28
|
"aria-hidden": "true",
|
|
29
|
-
children: c ? /* @__PURE__ */ E(
|
|
29
|
+
children: c ? /* @__PURE__ */ E(Ot, {
|
|
30
30
|
size: 24,
|
|
31
31
|
strokeWidth: 1.5,
|
|
32
32
|
style: {
|
|
33
33
|
fill: "var(--color-info-solid)",
|
|
34
34
|
stroke: "var(--color-info-bg)"
|
|
35
35
|
}
|
|
36
|
-
}) : /* @__PURE__ */ E(
|
|
36
|
+
}) : /* @__PURE__ */ E(Tt, {
|
|
37
37
|
size: 24,
|
|
38
38
|
strokeWidth: 1.5,
|
|
39
39
|
fill: "currentColor",
|
|
40
40
|
stroke: "currentColor",
|
|
41
|
-
className:
|
|
41
|
+
className: Yt.icon__neutral
|
|
42
42
|
})
|
|
43
43
|
}),
|
|
44
44
|
/* @__PURE__ */ E("p", {
|
|
45
|
-
className:
|
|
45
|
+
className: Yt.message,
|
|
46
46
|
children: e
|
|
47
47
|
}),
|
|
48
48
|
!c && t && /* @__PURE__ */ E(i, {
|
|
49
49
|
href: n,
|
|
50
50
|
onClick: r,
|
|
51
|
-
className:
|
|
51
|
+
className: Yt.link,
|
|
52
52
|
style: {
|
|
53
53
|
color: "var(--color-brand-fg)",
|
|
54
54
|
fontSize: 16,
|
|
@@ -58,14 +58,14 @@ var O = {
|
|
|
58
58
|
})
|
|
59
59
|
]
|
|
60
60
|
}), a && /* @__PURE__ */ E(S, {
|
|
61
|
-
icon:
|
|
61
|
+
icon: At,
|
|
62
62
|
size: "sm",
|
|
63
63
|
variant: "ghost",
|
|
64
64
|
"aria-label": "Dismiss",
|
|
65
65
|
onClick: a
|
|
66
66
|
})]
|
|
67
67
|
});
|
|
68
|
-
},
|
|
68
|
+
}, O = {
|
|
69
69
|
snippet: "_snippet_1ao90_1",
|
|
70
70
|
header: "_header_1ao90_12",
|
|
71
71
|
filename: "_filename_1ao90_19",
|
|
@@ -74,7 +74,7 @@ var O = {
|
|
|
74
74
|
tokenString: "_tokenString_1ao90_43",
|
|
75
75
|
editableBody: "_editableBody_1ao90_50",
|
|
76
76
|
textarea: "_textarea_1ao90_55"
|
|
77
|
-
},
|
|
77
|
+
}, Zt = [
|
|
78
78
|
"import",
|
|
79
79
|
"export",
|
|
80
80
|
"from",
|
|
@@ -96,17 +96,17 @@ var O = {
|
|
|
96
96
|
"as",
|
|
97
97
|
"of",
|
|
98
98
|
"in"
|
|
99
|
-
],
|
|
99
|
+
], Qt = RegExp(`('(?:[^'\\\\]|\\\\.)*'|"(?:[^"\\\\]|\\\\.)*"|\`(?:[^\`\\\\]|\\\\.)*\`|\\b(?:${Zt.join("|")})\\b)`, "g"), $t = (e) => e.split(Qt).map((e, t) => {
|
|
100
100
|
if (!e) return null;
|
|
101
|
-
let n = /^['"`]/.test(e), r = !n &&
|
|
101
|
+
let n = /^['"`]/.test(e), r = !n && Zt.includes(e);
|
|
102
102
|
return n ? /* @__PURE__ */ E("span", {
|
|
103
|
-
className:
|
|
103
|
+
className: O.tokenString,
|
|
104
104
|
children: e
|
|
105
105
|
}, t) : r ? /* @__PURE__ */ E("span", {
|
|
106
|
-
className:
|
|
106
|
+
className: O.tokenKeyword,
|
|
107
107
|
children: e
|
|
108
108
|
}, t) : /* @__PURE__ */ E(T.Fragment, { children: e }, t);
|
|
109
|
-
}),
|
|
109
|
+
}), en = ({ code: e, filename: t, onCopy: n, editable: r = !1, onChange: i, placeholder: a, className: o }) => {
|
|
110
110
|
let [s, c] = T.useState(!1), [l, u] = T.useState(e);
|
|
111
111
|
T.useEffect(() => u(e), [e]);
|
|
112
112
|
let d = () => {
|
|
@@ -114,13 +114,13 @@ var O = {
|
|
|
114
114
|
}, f = (e) => {
|
|
115
115
|
u(e), i?.(e);
|
|
116
116
|
}, p = r ? /* @__PURE__ */ D("div", {
|
|
117
|
-
className:
|
|
117
|
+
className: O.editableBody,
|
|
118
118
|
children: [/* @__PURE__ */ E("pre", {
|
|
119
|
-
className:
|
|
119
|
+
className: O.body,
|
|
120
120
|
"aria-hidden": "true",
|
|
121
|
-
children:
|
|
121
|
+
children: $t(l)
|
|
122
122
|
}), /* @__PURE__ */ E("textarea", {
|
|
123
|
-
className:
|
|
123
|
+
className: O.textarea,
|
|
124
124
|
value: l,
|
|
125
125
|
placeholder: a,
|
|
126
126
|
spellCheck: !1,
|
|
@@ -135,18 +135,18 @@ var O = {
|
|
|
135
135
|
}
|
|
136
136
|
})]
|
|
137
137
|
}) : /* @__PURE__ */ E("pre", {
|
|
138
|
-
className:
|
|
139
|
-
children:
|
|
138
|
+
className: O.body,
|
|
139
|
+
children: $t(l)
|
|
140
140
|
});
|
|
141
141
|
return t ? /* @__PURE__ */ D("div", {
|
|
142
|
-
className: [
|
|
142
|
+
className: [O.snippet, o ?? ""].filter(Boolean).join(" "),
|
|
143
143
|
children: [/* @__PURE__ */ D("div", {
|
|
144
|
-
className:
|
|
144
|
+
className: O.header,
|
|
145
145
|
children: [/* @__PURE__ */ E("p", {
|
|
146
|
-
className:
|
|
146
|
+
className: O.filename,
|
|
147
147
|
children: t
|
|
148
148
|
}), /* @__PURE__ */ E(S, {
|
|
149
|
-
icon: s ?
|
|
149
|
+
icon: s ? lt : mt,
|
|
150
150
|
variant: "ghost",
|
|
151
151
|
size: "sm",
|
|
152
152
|
"aria-label": s ? "Copied" : "Copy code",
|
|
@@ -154,10 +154,10 @@ var O = {
|
|
|
154
154
|
})]
|
|
155
155
|
}), p]
|
|
156
156
|
}) : /* @__PURE__ */ E("div", {
|
|
157
|
-
className: [
|
|
157
|
+
className: [O.snippet, o ?? ""].filter(Boolean).join(" "),
|
|
158
158
|
children: p
|
|
159
159
|
});
|
|
160
|
-
},
|
|
160
|
+
}, tn = {
|
|
161
161
|
expenses: "_expenses_1imiq_1",
|
|
162
162
|
row: "_row_1imiq_10",
|
|
163
163
|
top: "_top_1imiq_18",
|
|
@@ -165,29 +165,29 @@ var O = {
|
|
|
165
165
|
icon: "_icon_1imiq_32",
|
|
166
166
|
label: "_label_1imiq_44",
|
|
167
167
|
amount: "_amount_1imiq_55"
|
|
168
|
-
},
|
|
168
|
+
}, nn = (e) => e.toLocaleString("en-US", {
|
|
169
169
|
style: "currency",
|
|
170
170
|
currency: "USD"
|
|
171
|
-
}),
|
|
171
|
+
}), rn = ({ categories: e, variant: t = "default", formatAmount: n = nn, className: r }) => {
|
|
172
172
|
let i = t === "compact", a = Math.max(1, ...e.map((e) => e.amount));
|
|
173
173
|
return /* @__PURE__ */ E("div", {
|
|
174
|
-
className: [
|
|
174
|
+
className: [tn.expenses, r ?? ""].filter(Boolean).join(" "),
|
|
175
175
|
children: e.map((e, t) => /* @__PURE__ */ D("div", {
|
|
176
|
-
className:
|
|
176
|
+
className: tn.row,
|
|
177
177
|
children: [/* @__PURE__ */ D("div", {
|
|
178
|
-
className:
|
|
178
|
+
className: tn.top,
|
|
179
179
|
children: [/* @__PURE__ */ D("div", {
|
|
180
|
-
className:
|
|
180
|
+
className: tn.left,
|
|
181
181
|
children: [/* @__PURE__ */ E("span", {
|
|
182
|
-
className:
|
|
182
|
+
className: tn.icon,
|
|
183
183
|
"aria-hidden": "true",
|
|
184
184
|
children: e.icon
|
|
185
185
|
}), /* @__PURE__ */ E("p", {
|
|
186
|
-
className:
|
|
186
|
+
className: tn.label,
|
|
187
187
|
children: e.label
|
|
188
188
|
})]
|
|
189
189
|
}), /* @__PURE__ */ E("p", {
|
|
190
|
-
className:
|
|
190
|
+
className: tn.amount,
|
|
191
191
|
children: n(e.amount)
|
|
192
192
|
})]
|
|
193
193
|
}), !i && /* @__PURE__ */ E(Ye, {
|
|
@@ -197,38 +197,38 @@ var O = {
|
|
|
197
197
|
})]
|
|
198
198
|
}, e.id ?? t))
|
|
199
199
|
});
|
|
200
|
-
},
|
|
200
|
+
}, an = {
|
|
201
201
|
hint: "_hint_49nyi_1",
|
|
202
202
|
bar: "_bar_49nyi_9",
|
|
203
203
|
"hint--neutral": "_hint--neutral_49nyi_15",
|
|
204
204
|
"hint--warning": "_hint--warning_49nyi_16",
|
|
205
205
|
icon: "_icon_49nyi_18",
|
|
206
206
|
message: "_message_49nyi_24"
|
|
207
|
-
},
|
|
208
|
-
let r = t === "warning" ?
|
|
207
|
+
}, on = 14, sn = ({ message: e, variant: t = "neutral", className: n }) => {
|
|
208
|
+
let r = t === "warning" ? Ot : gt;
|
|
209
209
|
return /* @__PURE__ */ D("div", {
|
|
210
210
|
className: [
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
an.hint,
|
|
212
|
+
an[`hint--${t}`],
|
|
213
213
|
n ?? ""
|
|
214
214
|
].filter(Boolean).join(" "),
|
|
215
215
|
children: [
|
|
216
216
|
/* @__PURE__ */ E("span", {
|
|
217
|
-
className:
|
|
217
|
+
className: an.bar,
|
|
218
218
|
"aria-hidden": "true"
|
|
219
219
|
}),
|
|
220
220
|
/* @__PURE__ */ E(r, {
|
|
221
|
-
size:
|
|
222
|
-
strokeWidth: w(
|
|
223
|
-
className:
|
|
221
|
+
size: on,
|
|
222
|
+
strokeWidth: w(on),
|
|
223
|
+
className: an.icon
|
|
224
224
|
}),
|
|
225
225
|
/* @__PURE__ */ E("p", {
|
|
226
|
-
className:
|
|
226
|
+
className: an.message,
|
|
227
227
|
children: e
|
|
228
228
|
})
|
|
229
229
|
]
|
|
230
230
|
});
|
|
231
|
-
},
|
|
231
|
+
}, k = {
|
|
232
232
|
item: "_item_mg6gs_1",
|
|
233
233
|
"item--horizontal": "_item--horizontal_mg6gs_6",
|
|
234
234
|
"item--vertical": "_item--vertical_mg6gs_11",
|
|
@@ -240,63 +240,63 @@ var O = {
|
|
|
240
240
|
text: "_text_mg6gs_59",
|
|
241
241
|
title: "_title_mg6gs_65",
|
|
242
242
|
description: "_description_mg6gs_73"
|
|
243
|
-
},
|
|
243
|
+
}, cn = ({ step: e, title: t, description: n, completed: r = !1, orientation: i = "horizontal", isLast: a = !1, className: o }) => {
|
|
244
244
|
let s = i === "vertical", c = /* @__PURE__ */ E("span", {
|
|
245
|
-
className:
|
|
245
|
+
className: k.value,
|
|
246
246
|
"aria-hidden": "true",
|
|
247
|
-
children: r ? /* @__PURE__ */ E(
|
|
247
|
+
children: r ? /* @__PURE__ */ E(lt, {
|
|
248
248
|
size: 14,
|
|
249
249
|
strokeWidth: w(14)
|
|
250
250
|
}) : e
|
|
251
251
|
}), l = /* @__PURE__ */ D("div", {
|
|
252
|
-
className:
|
|
252
|
+
className: k.text,
|
|
253
253
|
children: [/* @__PURE__ */ E("p", {
|
|
254
|
-
className:
|
|
254
|
+
className: k.title,
|
|
255
255
|
children: t
|
|
256
256
|
}), n && /* @__PURE__ */ E("p", {
|
|
257
|
-
className:
|
|
257
|
+
className: k.description,
|
|
258
258
|
children: n
|
|
259
259
|
})]
|
|
260
260
|
});
|
|
261
261
|
return s ? /* @__PURE__ */ D("div", {
|
|
262
262
|
className: [
|
|
263
|
-
|
|
264
|
-
|
|
263
|
+
k.item,
|
|
264
|
+
k["item--vertical"],
|
|
265
265
|
o ?? ""
|
|
266
266
|
].filter(Boolean).join(" "),
|
|
267
267
|
children: [/* @__PURE__ */ D("div", {
|
|
268
|
-
className:
|
|
269
|
-
children: [c, !a && /* @__PURE__ */ E("div", { className:
|
|
268
|
+
className: k.rail,
|
|
269
|
+
children: [c, !a && /* @__PURE__ */ E("div", { className: k.connectorVertical })]
|
|
270
270
|
}), l]
|
|
271
271
|
}) : /* @__PURE__ */ D("div", {
|
|
272
272
|
className: [
|
|
273
|
-
|
|
274
|
-
|
|
273
|
+
k.item,
|
|
274
|
+
k["item--horizontal"],
|
|
275
275
|
o ?? ""
|
|
276
276
|
].filter(Boolean).join(" "),
|
|
277
277
|
children: [/* @__PURE__ */ D("div", {
|
|
278
|
-
className:
|
|
279
|
-
children: [c, !a && /* @__PURE__ */ E("div", { className:
|
|
278
|
+
className: k.topRow,
|
|
279
|
+
children: [c, !a && /* @__PURE__ */ E("div", { className: k.connectorHorizontal })]
|
|
280
280
|
}), l]
|
|
281
281
|
});
|
|
282
|
-
},
|
|
282
|
+
}, ln = {
|
|
283
283
|
separator: "_separator_pcfo8_1",
|
|
284
284
|
line: "_line_pcfo8_9",
|
|
285
285
|
overline: "_overline_pcfo8_19",
|
|
286
286
|
badge: "_badge_pcfo8_31",
|
|
287
287
|
iconWrap: "_iconWrap_pcfo8_37"
|
|
288
|
-
},
|
|
289
|
-
className: [
|
|
288
|
+
}, un = ({ children: e, label: t, className: n }) => /* @__PURE__ */ D("div", {
|
|
289
|
+
className: [ln.separator, n ?? ""].filter(Boolean).join(" "),
|
|
290
290
|
role: "separator",
|
|
291
291
|
children: [
|
|
292
|
-
/* @__PURE__ */ E(be, { className:
|
|
292
|
+
/* @__PURE__ */ E(be, { className: ln.line }),
|
|
293
293
|
e ?? (t && /* @__PURE__ */ E("span", {
|
|
294
|
-
className:
|
|
294
|
+
className: ln.overline,
|
|
295
295
|
children: t
|
|
296
296
|
})),
|
|
297
|
-
/* @__PURE__ */ E(be, { className:
|
|
297
|
+
/* @__PURE__ */ E(be, { className: ln.line })
|
|
298
298
|
]
|
|
299
|
-
}),
|
|
299
|
+
}), A = {
|
|
300
300
|
row: "_row_5wjem_2",
|
|
301
301
|
left: "_left_5wjem_16",
|
|
302
302
|
logo: "_logo_5wjem_23",
|
|
@@ -322,66 +322,66 @@ var O = {
|
|
|
322
322
|
changeRowLg: "_changeRowLg_5wjem_153",
|
|
323
323
|
changeTextLg: "_changeTextLg_5wjem_158",
|
|
324
324
|
chart: "_chart_5wjem_165"
|
|
325
|
-
},
|
|
325
|
+
}, dn = (e) => Math.abs(e).toLocaleString("en-US", {
|
|
326
326
|
style: "currency",
|
|
327
327
|
currency: "USD"
|
|
328
|
-
}),
|
|
329
|
-
let u = i.amount >= 0, d = u ?
|
|
328
|
+
}), fn = ({ logo: e, symbol: t, name: n, price: r, change: i, formatAmount: a = dn, chart: o, periodLabel: s = "Last 6 months", onPeriodClick: c, className: l }) => {
|
|
329
|
+
let u = i.amount >= 0, d = u ? Dt : Et, f = u ? "+" : "-", p = `${f}${a(i.amount)} (${f}${Math.abs(i.percent)}%)`, m = u ? A.trendUp : A.trendDown;
|
|
330
330
|
return o ? /* @__PURE__ */ D("div", {
|
|
331
|
-
className: [
|
|
331
|
+
className: [A.card, l ?? ""].filter(Boolean).join(" "),
|
|
332
332
|
children: [
|
|
333
333
|
/* @__PURE__ */ D("div", {
|
|
334
|
-
className:
|
|
335
|
-
children: [/* @__PURE__ */ E(
|
|
334
|
+
className: A.header,
|
|
335
|
+
children: [/* @__PURE__ */ E(ct, {
|
|
336
336
|
size: 16,
|
|
337
337
|
strokeWidth: w(16),
|
|
338
|
-
className:
|
|
338
|
+
className: A.headerIcon
|
|
339
339
|
}), /* @__PURE__ */ E("span", {
|
|
340
|
-
className:
|
|
340
|
+
className: A.headerLabel,
|
|
341
341
|
children: "Stock market"
|
|
342
342
|
})]
|
|
343
343
|
}),
|
|
344
344
|
/* @__PURE__ */ D("div", {
|
|
345
|
-
className:
|
|
345
|
+
className: A.tickerRow,
|
|
346
346
|
children: [/* @__PURE__ */ E("span", {
|
|
347
|
-
className:
|
|
347
|
+
className: A.logoLg,
|
|
348
348
|
"aria-hidden": "true",
|
|
349
349
|
children: e
|
|
350
350
|
}), /* @__PURE__ */ D("div", {
|
|
351
|
-
className:
|
|
351
|
+
className: A.text,
|
|
352
352
|
children: [/* @__PURE__ */ E("p", {
|
|
353
|
-
className:
|
|
353
|
+
className: A.symbol,
|
|
354
354
|
children: t
|
|
355
355
|
}), /* @__PURE__ */ E("p", {
|
|
356
|
-
className:
|
|
356
|
+
className: A.name,
|
|
357
357
|
children: n
|
|
358
358
|
})]
|
|
359
359
|
})]
|
|
360
360
|
}),
|
|
361
361
|
/* @__PURE__ */ D("div", {
|
|
362
|
-
className:
|
|
362
|
+
className: A.body,
|
|
363
363
|
children: [/* @__PURE__ */ D("div", {
|
|
364
|
-
className:
|
|
364
|
+
className: A.priceRow,
|
|
365
365
|
children: [/* @__PURE__ */ D("div", {
|
|
366
|
-
className:
|
|
366
|
+
className: A.priceGroup,
|
|
367
367
|
children: [/* @__PURE__ */ E("p", {
|
|
368
|
-
className:
|
|
368
|
+
className: A.priceLg,
|
|
369
369
|
children: a(r)
|
|
370
370
|
}), /* @__PURE__ */ D("div", {
|
|
371
|
-
className:
|
|
371
|
+
className: A.changeRowLg,
|
|
372
372
|
children: [/* @__PURE__ */ E(d, {
|
|
373
373
|
size: 24,
|
|
374
374
|
strokeWidth: w(24),
|
|
375
375
|
className: m
|
|
376
376
|
}), /* @__PURE__ */ E("span", {
|
|
377
|
-
className: [
|
|
377
|
+
className: [A.changeTextLg, m].join(" "),
|
|
378
378
|
children: p
|
|
379
379
|
})]
|
|
380
380
|
})]
|
|
381
381
|
}), /* @__PURE__ */ E($e, {
|
|
382
382
|
variant: "outline",
|
|
383
383
|
size: "sm",
|
|
384
|
-
rightIcon: /* @__PURE__ */ E(
|
|
384
|
+
rightIcon: /* @__PURE__ */ E(ut, {
|
|
385
385
|
size: 16,
|
|
386
386
|
strokeWidth: w(16)
|
|
387
387
|
}),
|
|
@@ -390,52 +390,52 @@ var O = {
|
|
|
390
390
|
})]
|
|
391
391
|
}), /* @__PURE__ */ E(Ee, {
|
|
392
392
|
data: o,
|
|
393
|
-
className:
|
|
393
|
+
className: A.chart
|
|
394
394
|
})]
|
|
395
395
|
})
|
|
396
396
|
]
|
|
397
397
|
}) : /* @__PURE__ */ D("div", {
|
|
398
|
-
className: [
|
|
398
|
+
className: [A.row, l ?? ""].filter(Boolean).join(" "),
|
|
399
399
|
children: [/* @__PURE__ */ D("div", {
|
|
400
|
-
className:
|
|
400
|
+
className: A.left,
|
|
401
401
|
children: [/* @__PURE__ */ E("span", {
|
|
402
|
-
className:
|
|
402
|
+
className: A.logo,
|
|
403
403
|
"aria-hidden": "true",
|
|
404
404
|
children: e
|
|
405
405
|
}), /* @__PURE__ */ D("div", {
|
|
406
|
-
className:
|
|
406
|
+
className: A.text,
|
|
407
407
|
children: [/* @__PURE__ */ E("p", {
|
|
408
|
-
className:
|
|
408
|
+
className: A.symbol,
|
|
409
409
|
children: t
|
|
410
410
|
}), /* @__PURE__ */ E("p", {
|
|
411
|
-
className:
|
|
411
|
+
className: A.name,
|
|
412
412
|
children: n
|
|
413
413
|
})]
|
|
414
414
|
})]
|
|
415
415
|
}), /* @__PURE__ */ D("div", {
|
|
416
|
-
className:
|
|
416
|
+
className: A.right,
|
|
417
417
|
children: [/* @__PURE__ */ E("p", {
|
|
418
|
-
className:
|
|
418
|
+
className: A.price,
|
|
419
419
|
children: a(r)
|
|
420
420
|
}), /* @__PURE__ */ D("div", {
|
|
421
|
-
className:
|
|
421
|
+
className: A.changeRow,
|
|
422
422
|
children: [/* @__PURE__ */ E(d, {
|
|
423
423
|
size: 20,
|
|
424
424
|
strokeWidth: w(20),
|
|
425
425
|
className: m
|
|
426
426
|
}), /* @__PURE__ */ E("span", {
|
|
427
|
-
className: [
|
|
427
|
+
className: [A.changeText, m].join(" "),
|
|
428
428
|
children: p
|
|
429
429
|
})]
|
|
430
430
|
})]
|
|
431
431
|
})]
|
|
432
432
|
});
|
|
433
|
-
},
|
|
433
|
+
}, pn = {
|
|
434
434
|
tags: "_tags_bsi1x_1",
|
|
435
435
|
remove: "_remove_bsi1x_8",
|
|
436
436
|
tag: "_tag_bsi1x_1",
|
|
437
437
|
"tag--leaving": "_tag--leaving_bsi1x_22"
|
|
438
|
-
},
|
|
438
|
+
}, mn = 160, hn = ({ tags: e, onRemove: t, className: n }) => {
|
|
439
439
|
let [r, i] = T.useState(null), a = T.useRef(void 0);
|
|
440
440
|
T.useEffect(() => () => window.clearTimeout(a.current), []);
|
|
441
441
|
let o = (e, n) => {
|
|
@@ -446,19 +446,19 @@ var O = {
|
|
|
446
446
|
}
|
|
447
447
|
i(e), a.current = window.setTimeout(() => {
|
|
448
448
|
t(e, n), i(null);
|
|
449
|
-
},
|
|
449
|
+
}, mn);
|
|
450
450
|
}
|
|
451
451
|
};
|
|
452
452
|
return /* @__PURE__ */ E("div", {
|
|
453
|
-
className: [
|
|
453
|
+
className: [pn.tags, n ?? ""].filter(Boolean).join(" "),
|
|
454
454
|
children: e.map((e, n) => /* @__PURE__ */ E(Ve, {
|
|
455
|
-
className: [
|
|
455
|
+
className: [pn.tag, r === e ? pn["tag--leaving"] : ""].filter(Boolean).join(" "),
|
|
456
456
|
rightIcon: t && /* @__PURE__ */ E("button", {
|
|
457
457
|
type: "button",
|
|
458
|
-
className:
|
|
458
|
+
className: pn.remove,
|
|
459
459
|
onClick: () => o(e, n),
|
|
460
460
|
"aria-label": `Remove ${e}`,
|
|
461
|
-
children: /* @__PURE__ */ E(
|
|
461
|
+
children: /* @__PURE__ */ E(At, {
|
|
462
462
|
size: 12,
|
|
463
463
|
strokeWidth: w(12)
|
|
464
464
|
})
|
|
@@ -466,7 +466,7 @@ var O = {
|
|
|
466
466
|
children: e
|
|
467
467
|
}, e))
|
|
468
468
|
});
|
|
469
|
-
},
|
|
469
|
+
}, j = {
|
|
470
470
|
ticker: "_ticker_6xnxy_1",
|
|
471
471
|
track: "_track_6xnxy_9",
|
|
472
472
|
"ticker-scroll": "_ticker-scroll_6xnxy_1",
|
|
@@ -478,16 +478,16 @@ var O = {
|
|
|
478
478
|
trendDown: "_trendDown_6xnxy_58",
|
|
479
479
|
fadeLeft: "_fadeLeft_6xnxy_60",
|
|
480
480
|
fadeRight: "_fadeRight_6xnxy_61"
|
|
481
|
-
},
|
|
482
|
-
className:
|
|
481
|
+
}, gn = (e) => `${e >= 0 ? "+" : ""}${e}%`, _n = ({ items: e, formatChange: t, ariaHidden: n }) => /* @__PURE__ */ E("div", {
|
|
482
|
+
className: j.row,
|
|
483
483
|
"aria-hidden": n,
|
|
484
484
|
children: e.map((e, n) => {
|
|
485
|
-
let r = e.changePercent >= 0, i = r ?
|
|
485
|
+
let r = e.changePercent >= 0, i = r ? Dt : Et, a = r ? j.trendUp : j.trendDown;
|
|
486
486
|
return /* @__PURE__ */ D("div", {
|
|
487
|
-
className:
|
|
487
|
+
className: j.item,
|
|
488
488
|
children: [
|
|
489
489
|
/* @__PURE__ */ E("span", {
|
|
490
|
-
className:
|
|
490
|
+
className: j.symbol,
|
|
491
491
|
children: e.symbol
|
|
492
492
|
}),
|
|
493
493
|
/* @__PURE__ */ E(i, {
|
|
@@ -496,13 +496,13 @@ var O = {
|
|
|
496
496
|
className: a
|
|
497
497
|
}),
|
|
498
498
|
/* @__PURE__ */ E("span", {
|
|
499
|
-
className: [
|
|
499
|
+
className: [j.change, a].join(" "),
|
|
500
500
|
children: t(e.changePercent)
|
|
501
501
|
})
|
|
502
502
|
]
|
|
503
503
|
}, `${e.symbol}-${n}`);
|
|
504
504
|
})
|
|
505
|
-
}),
|
|
505
|
+
}), vn = ({ items: e, speed: t = 40, formatChange: n = gn, className: r }) => {
|
|
506
506
|
let i = T.useRef(null), [a, o] = T.useState(20);
|
|
507
507
|
return T.useEffect(() => {
|
|
508
508
|
let e = i.current;
|
|
@@ -517,32 +517,32 @@ var O = {
|
|
|
517
517
|
let a = new ResizeObserver(r);
|
|
518
518
|
return a.observe(n), () => a.disconnect();
|
|
519
519
|
}, [e, t]), /* @__PURE__ */ D("div", {
|
|
520
|
-
className: [
|
|
520
|
+
className: [j.ticker, r ?? ""].filter(Boolean).join(" "),
|
|
521
521
|
children: [
|
|
522
522
|
/* @__PURE__ */ D("div", {
|
|
523
523
|
ref: i,
|
|
524
|
-
className:
|
|
524
|
+
className: j.track,
|
|
525
525
|
style: { "--ticker-duration": `${a}s` },
|
|
526
|
-
children: [/* @__PURE__ */ E(
|
|
526
|
+
children: [/* @__PURE__ */ E(_n, {
|
|
527
527
|
items: e,
|
|
528
528
|
formatChange: n
|
|
529
|
-
}), /* @__PURE__ */ E(
|
|
529
|
+
}), /* @__PURE__ */ E(_n, {
|
|
530
530
|
items: e,
|
|
531
531
|
formatChange: n,
|
|
532
532
|
ariaHidden: !0
|
|
533
533
|
})]
|
|
534
534
|
}),
|
|
535
535
|
/* @__PURE__ */ E("div", {
|
|
536
|
-
className:
|
|
536
|
+
className: j.fadeLeft,
|
|
537
537
|
"aria-hidden": "true"
|
|
538
538
|
}),
|
|
539
539
|
/* @__PURE__ */ E("div", {
|
|
540
|
-
className:
|
|
540
|
+
className: j.fadeRight,
|
|
541
541
|
"aria-hidden": "true"
|
|
542
542
|
})
|
|
543
543
|
]
|
|
544
544
|
});
|
|
545
|
-
},
|
|
545
|
+
}, M = {
|
|
546
546
|
list: "_list_ovxee_1",
|
|
547
547
|
row: "_row_ovxee_9",
|
|
548
548
|
rowLast: "_rowLast_ovxee_18",
|
|
@@ -558,55 +558,55 @@ var O = {
|
|
|
558
558
|
emptyIcon: "_emptyIcon_ovxee_86",
|
|
559
559
|
emptyTitle: "_emptyTitle_ovxee_89",
|
|
560
560
|
emptyDesc: "_emptyDesc_ovxee_96"
|
|
561
|
-
},
|
|
561
|
+
}, yn = (e) => `${e >= 0 ? "+" : "-"}${Math.abs(e).toLocaleString("en-US", {
|
|
562
562
|
style: "currency",
|
|
563
563
|
currency: "USD"
|
|
564
|
-
})}`,
|
|
565
|
-
className: [
|
|
564
|
+
})}`, bn = ({ transactions: e, formatAmount: t = yn, emptyTitle: n = "No transactions yet", emptyDescription: r = "Your activity will show up here.", className: i }) => e.length === 0 ? /* @__PURE__ */ D("div", {
|
|
565
|
+
className: [M.empty, i ?? ""].filter(Boolean).join(" "),
|
|
566
566
|
children: [
|
|
567
|
-
/* @__PURE__ */ E(
|
|
567
|
+
/* @__PURE__ */ E(Ct, {
|
|
568
568
|
size: 24,
|
|
569
569
|
strokeWidth: w(24),
|
|
570
|
-
className:
|
|
570
|
+
className: M.emptyIcon
|
|
571
571
|
}),
|
|
572
572
|
/* @__PURE__ */ E("p", {
|
|
573
|
-
className:
|
|
573
|
+
className: M.emptyTitle,
|
|
574
574
|
children: n
|
|
575
575
|
}),
|
|
576
576
|
/* @__PURE__ */ E("p", {
|
|
577
|
-
className:
|
|
577
|
+
className: M.emptyDesc,
|
|
578
578
|
children: r
|
|
579
579
|
})
|
|
580
580
|
]
|
|
581
581
|
}) : /* @__PURE__ */ E("div", {
|
|
582
|
-
className: [
|
|
582
|
+
className: [M.list, i ?? ""].filter(Boolean).join(" "),
|
|
583
583
|
children: e.map((n, r) => {
|
|
584
584
|
let i = n.amount >= 0;
|
|
585
585
|
return /* @__PURE__ */ D("div", {
|
|
586
|
-
className: [
|
|
586
|
+
className: [M.row, r === e.length - 1 ? M.rowLast : ""].filter(Boolean).join(" "),
|
|
587
587
|
children: [/* @__PURE__ */ D("div", {
|
|
588
|
-
className:
|
|
588
|
+
className: M.left,
|
|
589
589
|
children: [/* @__PURE__ */ E("span", {
|
|
590
|
-
className:
|
|
590
|
+
className: M.iconWrap,
|
|
591
591
|
"aria-hidden": "true",
|
|
592
592
|
children: n.icon
|
|
593
593
|
}), /* @__PURE__ */ D("div", {
|
|
594
|
-
className:
|
|
594
|
+
className: M.info,
|
|
595
595
|
children: [/* @__PURE__ */ E("p", {
|
|
596
|
-
className:
|
|
596
|
+
className: M.name,
|
|
597
597
|
children: n.name
|
|
598
598
|
}), /* @__PURE__ */ E("p", {
|
|
599
|
-
className:
|
|
599
|
+
className: M.category,
|
|
600
600
|
children: n.category
|
|
601
601
|
})]
|
|
602
602
|
})]
|
|
603
603
|
}), /* @__PURE__ */ E("p", {
|
|
604
|
-
className: [
|
|
604
|
+
className: [M.amount, i ? M.amountUp : M.amountDown].join(" "),
|
|
605
605
|
children: t(n.amount)
|
|
606
606
|
})]
|
|
607
607
|
}, n.id ?? `${n.name}-${r}`);
|
|
608
608
|
})
|
|
609
|
-
}),
|
|
609
|
+
}), N = {
|
|
610
610
|
root: "_root_19qxp_1",
|
|
611
611
|
rootAttributed: "_rootAttributed_19qxp_10",
|
|
612
612
|
rootSimple: "_rootSimple_19qxp_18",
|
|
@@ -620,57 +620,57 @@ var O = {
|
|
|
620
620
|
author: "_author_19qxp_77",
|
|
621
621
|
authorText: "_authorText_19qxp_83",
|
|
622
622
|
authorName: "_authorName_19qxp_91"
|
|
623
|
-
},
|
|
623
|
+
}, xn = ({ quote: e, author: t, className: n }) => {
|
|
624
624
|
let r = !!t;
|
|
625
625
|
return /* @__PURE__ */ D("div", {
|
|
626
626
|
className: [
|
|
627
|
-
|
|
628
|
-
r ?
|
|
627
|
+
N.root,
|
|
628
|
+
r ? N.rootAttributed : N.rootSimple,
|
|
629
629
|
n ?? ""
|
|
630
630
|
].filter(Boolean).join(" "),
|
|
631
631
|
children: [/* @__PURE__ */ E(be, {
|
|
632
632
|
orientation: "vertical",
|
|
633
|
-
className:
|
|
633
|
+
className: N.rail
|
|
634
634
|
}), /* @__PURE__ */ D("div", {
|
|
635
|
-
className:
|
|
635
|
+
className: N.body,
|
|
636
636
|
children: [
|
|
637
637
|
r && /* @__PURE__ */ E("span", {
|
|
638
|
-
className:
|
|
638
|
+
className: N.markRow,
|
|
639
639
|
"aria-hidden": "true",
|
|
640
|
-
children: /* @__PURE__ */ E(
|
|
640
|
+
children: /* @__PURE__ */ E(St, {
|
|
641
641
|
size: 12,
|
|
642
642
|
strokeWidth: w(12),
|
|
643
|
-
className:
|
|
643
|
+
className: N.mark,
|
|
644
644
|
fill: "currentColor"
|
|
645
645
|
})
|
|
646
646
|
}),
|
|
647
647
|
/* @__PURE__ */ E("p", {
|
|
648
|
-
className: r ?
|
|
648
|
+
className: r ? N.quoteAttributed : N.quoteSimple,
|
|
649
649
|
children: r ? e : `"${e}"`
|
|
650
650
|
}),
|
|
651
651
|
r && /* @__PURE__ */ E("span", {
|
|
652
|
-
className: [
|
|
652
|
+
className: [N.markRow, N.markRowEnd].join(" "),
|
|
653
653
|
"aria-hidden": "true",
|
|
654
|
-
children: /* @__PURE__ */ E(
|
|
654
|
+
children: /* @__PURE__ */ E(St, {
|
|
655
655
|
size: 12,
|
|
656
656
|
strokeWidth: w(12),
|
|
657
|
-
className:
|
|
657
|
+
className: N.mark,
|
|
658
658
|
fill: "currentColor"
|
|
659
659
|
})
|
|
660
660
|
}),
|
|
661
661
|
t && /* @__PURE__ */ D("div", {
|
|
662
|
-
className:
|
|
662
|
+
className: N.author,
|
|
663
663
|
children: [/* @__PURE__ */ E(c, {
|
|
664
664
|
size: "sm",
|
|
665
665
|
src: t.avatarSrc,
|
|
666
666
|
alt: t.avatarAlt ?? t.name
|
|
667
667
|
}), /* @__PURE__ */ D("p", {
|
|
668
|
-
className:
|
|
668
|
+
className: N.authorText,
|
|
669
669
|
children: [/* @__PURE__ */ E("span", {
|
|
670
|
-
className:
|
|
670
|
+
className: N.authorName,
|
|
671
671
|
children: t.name
|
|
672
672
|
}), /* @__PURE__ */ D("span", {
|
|
673
|
-
className:
|
|
673
|
+
className: N.authorRole,
|
|
674
674
|
children: [", ", t.role]
|
|
675
675
|
})]
|
|
676
676
|
})]
|
|
@@ -678,51 +678,51 @@ var O = {
|
|
|
678
678
|
]
|
|
679
679
|
})]
|
|
680
680
|
});
|
|
681
|
-
},
|
|
681
|
+
}, Sn = {
|
|
682
682
|
root: "_root_btuyr_1",
|
|
683
683
|
rootLeft: "_rootLeft_btuyr_13",
|
|
684
684
|
rootTop: "_rootTop_btuyr_19",
|
|
685
685
|
ruleLeft: "_ruleLeft_btuyr_24",
|
|
686
686
|
ruleTop: "_ruleTop_btuyr_31",
|
|
687
687
|
text: "_text_btuyr_39"
|
|
688
|
-
},
|
|
688
|
+
}, Cn = ({ text: e, align: t = "left", className: n }) => /* @__PURE__ */ D("div", {
|
|
689
689
|
className: [
|
|
690
|
-
|
|
691
|
-
t === "top" ?
|
|
690
|
+
Sn.root,
|
|
691
|
+
t === "top" ? Sn.rootTop : Sn.rootLeft,
|
|
692
692
|
n ?? ""
|
|
693
693
|
].filter(Boolean).join(" "),
|
|
694
694
|
children: [/* @__PURE__ */ E("span", {
|
|
695
|
-
className: t === "top" ?
|
|
695
|
+
className: t === "top" ? Sn.ruleTop : Sn.ruleLeft,
|
|
696
696
|
"aria-hidden": "true"
|
|
697
697
|
}), /* @__PURE__ */ E("p", {
|
|
698
|
-
className:
|
|
698
|
+
className: Sn.text,
|
|
699
699
|
children: e
|
|
700
700
|
})]
|
|
701
|
-
}),
|
|
701
|
+
}), wn = {
|
|
702
702
|
root: "_root_awxwk_1",
|
|
703
703
|
imageWrap: "_imageWrap_awxwk_10",
|
|
704
704
|
"root--large": "_root--large_awxwk_27",
|
|
705
705
|
"root--small": "_root--small_awxwk_33",
|
|
706
706
|
image: "_image_awxwk_10",
|
|
707
707
|
caption: "_caption_awxwk_47"
|
|
708
|
-
},
|
|
708
|
+
}, Tn = ({ src: e, alt: t = "", size: n = "large", caption: r, className: i }) => /* @__PURE__ */ D("figure", {
|
|
709
709
|
className: [
|
|
710
|
-
|
|
711
|
-
|
|
710
|
+
wn.root,
|
|
711
|
+
wn[`root--${n}`],
|
|
712
712
|
i ?? ""
|
|
713
713
|
].filter(Boolean).join(" "),
|
|
714
714
|
children: [/* @__PURE__ */ E("span", {
|
|
715
|
-
className:
|
|
715
|
+
className: wn.imageWrap,
|
|
716
716
|
children: /* @__PURE__ */ E("img", {
|
|
717
717
|
src: e,
|
|
718
718
|
alt: t,
|
|
719
|
-
className:
|
|
719
|
+
className: wn.image
|
|
720
720
|
})
|
|
721
721
|
}), r && /* @__PURE__ */ E("figcaption", {
|
|
722
|
-
className:
|
|
722
|
+
className: wn.caption,
|
|
723
723
|
children: r
|
|
724
724
|
})]
|
|
725
|
-
}),
|
|
725
|
+
}), P = {
|
|
726
726
|
root: "_root_uc5r9_1",
|
|
727
727
|
rootCenter: "_rootCenter_uc5r9_10",
|
|
728
728
|
rootLeft: "_rootLeft_uc5r9_15",
|
|
@@ -731,12 +731,12 @@ var O = {
|
|
|
731
731
|
ctaRow: "_ctaRow_uc5r9_39",
|
|
732
732
|
avatarBlock: "_avatarBlock_uc5r9_45",
|
|
733
733
|
avatarsCaption: "_avatarsCaption_uc5r9_57"
|
|
734
|
-
},
|
|
734
|
+
}, En = ({ title: e, description: t, badgeLabel: r, primaryCta: i, secondaryCta: a, avatars: o, avatarsCaption: s, align: c = "center", className: l }) => {
|
|
735
735
|
let u = !!(i || a), d = !!(o && o.length > 0);
|
|
736
736
|
return /* @__PURE__ */ D("div", {
|
|
737
737
|
className: [
|
|
738
|
-
|
|
739
|
-
c === "left" ?
|
|
738
|
+
P.root,
|
|
739
|
+
c === "left" ? P.rootLeft : P.rootCenter,
|
|
740
740
|
l ?? ""
|
|
741
741
|
].filter(Boolean).join(" "),
|
|
742
742
|
children: [
|
|
@@ -746,22 +746,22 @@ var O = {
|
|
|
746
746
|
children: r
|
|
747
747
|
}),
|
|
748
748
|
/* @__PURE__ */ E("p", {
|
|
749
|
-
className:
|
|
749
|
+
className: P.title,
|
|
750
750
|
children: e
|
|
751
751
|
}),
|
|
752
752
|
t && /* @__PURE__ */ E("p", {
|
|
753
|
-
className:
|
|
753
|
+
className: P.description,
|
|
754
754
|
children: t
|
|
755
755
|
}),
|
|
756
756
|
u && /* @__PURE__ */ D("div", {
|
|
757
|
-
className:
|
|
757
|
+
className: P.ctaRow,
|
|
758
758
|
children: [i && /* @__PURE__ */ E($e, {
|
|
759
759
|
variant: "primary",
|
|
760
760
|
onClick: i.onClick,
|
|
761
761
|
children: i.label
|
|
762
762
|
}), a && /* @__PURE__ */ E($e, {
|
|
763
763
|
variant: "secondary",
|
|
764
|
-
leftIcon: /* @__PURE__ */ E(
|
|
764
|
+
leftIcon: /* @__PURE__ */ E(bt, {
|
|
765
765
|
size: 16,
|
|
766
766
|
strokeWidth: w(16),
|
|
767
767
|
fill: "currentColor"
|
|
@@ -771,65 +771,65 @@ var O = {
|
|
|
771
771
|
})]
|
|
772
772
|
}),
|
|
773
773
|
d && /* @__PURE__ */ D("div", {
|
|
774
|
-
className:
|
|
774
|
+
className: P.avatarBlock,
|
|
775
775
|
children: [/* @__PURE__ */ E(n, {
|
|
776
776
|
size: "md",
|
|
777
777
|
avatars: o
|
|
778
778
|
}), s && /* @__PURE__ */ E("p", {
|
|
779
|
-
className:
|
|
779
|
+
className: P.avatarsCaption,
|
|
780
780
|
children: s
|
|
781
781
|
})]
|
|
782
782
|
})
|
|
783
783
|
]
|
|
784
784
|
});
|
|
785
|
-
},
|
|
785
|
+
}, Dn = {
|
|
786
786
|
root: "_root_5kajg_1",
|
|
787
787
|
item: "_item_5kajg_12",
|
|
788
788
|
marker: "_marker_5kajg_18",
|
|
789
789
|
dot: "_dot_5kajg_26",
|
|
790
790
|
label: "_label_5kajg_34"
|
|
791
|
-
},
|
|
792
|
-
className: [
|
|
791
|
+
}, On = ({ items: e, style: t = "check", className: n }) => /* @__PURE__ */ E("ul", {
|
|
792
|
+
className: [Dn.root, n ?? ""].filter(Boolean).join(" "),
|
|
793
793
|
children: e.map((e, n) => /* @__PURE__ */ D("li", {
|
|
794
|
-
className:
|
|
794
|
+
className: Dn.item,
|
|
795
795
|
children: [/* @__PURE__ */ D("span", {
|
|
796
|
-
className:
|
|
796
|
+
className: Dn.marker,
|
|
797
797
|
"aria-hidden": "true",
|
|
798
798
|
children: [
|
|
799
|
-
t === "check" && /* @__PURE__ */ E(
|
|
799
|
+
t === "check" && /* @__PURE__ */ E(lt, {
|
|
800
800
|
size: 18,
|
|
801
801
|
strokeWidth: w(18)
|
|
802
802
|
}),
|
|
803
|
-
t === "arrow" && /* @__PURE__ */ E(
|
|
803
|
+
t === "arrow" && /* @__PURE__ */ E(st, {
|
|
804
804
|
size: 16,
|
|
805
805
|
strokeWidth: w(16)
|
|
806
806
|
}),
|
|
807
|
-
t === "bullet" && /* @__PURE__ */ E("span", { className:
|
|
807
|
+
t === "bullet" && /* @__PURE__ */ E("span", { className: Dn.dot })
|
|
808
808
|
]
|
|
809
809
|
}), /* @__PURE__ */ E("span", {
|
|
810
|
-
className:
|
|
810
|
+
className: Dn.label,
|
|
811
811
|
children: e
|
|
812
812
|
})]
|
|
813
813
|
}, n))
|
|
814
|
-
}),
|
|
814
|
+
}), kn = {
|
|
815
815
|
marquee: "_marquee_1pc4i_1",
|
|
816
816
|
track: "_track_1pc4i_13",
|
|
817
817
|
row: "_row_1pc4i_19",
|
|
818
818
|
item: "_item_1pc4i_25",
|
|
819
819
|
fadeLeft: "_fadeLeft_1pc4i_31",
|
|
820
820
|
fadeRight: "_fadeRight_1pc4i_32"
|
|
821
|
-
},
|
|
822
|
-
className:
|
|
821
|
+
}, An = ({ items: e, gap: t, ariaHidden: n }) => /* @__PURE__ */ E("div", {
|
|
822
|
+
className: kn.row,
|
|
823
823
|
style: {
|
|
824
824
|
gap: t,
|
|
825
825
|
paddingRight: t
|
|
826
826
|
},
|
|
827
827
|
"aria-hidden": n,
|
|
828
828
|
children: e.map((e, t) => /* @__PURE__ */ E("div", {
|
|
829
|
-
className:
|
|
829
|
+
className: kn.item,
|
|
830
830
|
children: e
|
|
831
831
|
}, t))
|
|
832
|
-
}),
|
|
832
|
+
}), jn = ({ items: e, speed: t = 40, gap: n, className: r }) => {
|
|
833
833
|
let i = T.useRef(null), a = T.useRef(0), o = T.useRef(0), s = T.useRef(!1);
|
|
834
834
|
return T.useEffect(() => {
|
|
835
835
|
let e = i.current?.firstElementChild;
|
|
@@ -851,7 +851,7 @@ var O = {
|
|
|
851
851
|
};
|
|
852
852
|
return n = setTimeout(c, 16), () => clearTimeout(n);
|
|
853
853
|
}, [t]), /* @__PURE__ */ D("div", {
|
|
854
|
-
className: [
|
|
854
|
+
className: [kn.marquee, r ?? ""].filter(Boolean).join(" "),
|
|
855
855
|
onMouseEnter: () => {
|
|
856
856
|
s.current = !0;
|
|
857
857
|
},
|
|
@@ -861,27 +861,27 @@ var O = {
|
|
|
861
861
|
children: [
|
|
862
862
|
/* @__PURE__ */ D("div", {
|
|
863
863
|
ref: i,
|
|
864
|
-
className:
|
|
865
|
-
children: [/* @__PURE__ */ E(
|
|
864
|
+
className: kn.track,
|
|
865
|
+
children: [/* @__PURE__ */ E(An, {
|
|
866
866
|
items: e,
|
|
867
867
|
gap: n
|
|
868
|
-
}), /* @__PURE__ */ E(
|
|
868
|
+
}), /* @__PURE__ */ E(An, {
|
|
869
869
|
items: e,
|
|
870
870
|
gap: n,
|
|
871
871
|
ariaHidden: !0
|
|
872
872
|
})]
|
|
873
873
|
}),
|
|
874
874
|
/* @__PURE__ */ E("div", {
|
|
875
|
-
className:
|
|
875
|
+
className: kn.fadeLeft,
|
|
876
876
|
"aria-hidden": "true"
|
|
877
877
|
}),
|
|
878
878
|
/* @__PURE__ */ E("div", {
|
|
879
|
-
className:
|
|
879
|
+
className: kn.fadeRight,
|
|
880
880
|
"aria-hidden": "true"
|
|
881
881
|
})
|
|
882
882
|
]
|
|
883
883
|
});
|
|
884
|
-
},
|
|
884
|
+
}, Mn = {
|
|
885
885
|
root: "_root_17a1b_1",
|
|
886
886
|
numRow: "_numRow_17a1b_9",
|
|
887
887
|
value: "_value_17a1b_15",
|
|
@@ -889,17 +889,17 @@ var O = {
|
|
|
889
889
|
trendUp: "_trendUp_17a1b_35",
|
|
890
890
|
trendDown: "_trendDown_17a1b_39",
|
|
891
891
|
label: "_label_17a1b_43"
|
|
892
|
-
},
|
|
893
|
-
let i = n !== void 0, a = i && n >= 0, o = a ?
|
|
892
|
+
}, Nn = ({ value: e, label: t, trend: n, className: r }) => {
|
|
893
|
+
let i = n !== void 0, a = i && n >= 0, o = a ? Dt : Et;
|
|
894
894
|
return /* @__PURE__ */ D("div", {
|
|
895
|
-
className: [
|
|
895
|
+
className: [Mn.root, r ?? ""].filter(Boolean).join(" "),
|
|
896
896
|
children: [/* @__PURE__ */ D("div", {
|
|
897
|
-
className:
|
|
897
|
+
className: Mn.numRow,
|
|
898
898
|
children: [/* @__PURE__ */ E("p", {
|
|
899
|
-
className:
|
|
899
|
+
className: Mn.value,
|
|
900
900
|
children: e
|
|
901
901
|
}), i && /* @__PURE__ */ D("span", {
|
|
902
|
-
className: [
|
|
902
|
+
className: [Mn.trend, a ? Mn.trendUp : Mn.trendDown].join(" "),
|
|
903
903
|
children: [
|
|
904
904
|
/* @__PURE__ */ E(o, {
|
|
905
905
|
size: 24,
|
|
@@ -910,11 +910,11 @@ var O = {
|
|
|
910
910
|
]
|
|
911
911
|
})]
|
|
912
912
|
}), /* @__PURE__ */ E("p", {
|
|
913
|
-
className:
|
|
913
|
+
className: Mn.label,
|
|
914
914
|
children: t
|
|
915
915
|
})]
|
|
916
916
|
});
|
|
917
|
-
},
|
|
917
|
+
}, F = {
|
|
918
918
|
root: "_root_scbx4_1",
|
|
919
919
|
header: "_header_scbx4_13",
|
|
920
920
|
label: "_label_scbx4_21",
|
|
@@ -925,7 +925,7 @@ var O = {
|
|
|
925
925
|
collapseInner: "_collapseInner_scbx4_78",
|
|
926
926
|
navLinks: "_navLinks_scbx4_91",
|
|
927
927
|
navLink: "_navLink_scbx4_91"
|
|
928
|
-
},
|
|
928
|
+
}, Pn = ({ label: e, links: t, ctaLabel: n = "Get started", onCtaClick: r, open: i, defaultOpen: a = !1, onOpenChange: o, className: s }) => {
|
|
929
929
|
let c = i !== void 0, [l, u] = T.useState(a), d = c ? i : l, f = () => {
|
|
930
930
|
let e = !d;
|
|
931
931
|
c || u(e), o?.(e);
|
|
@@ -938,46 +938,46 @@ var O = {
|
|
|
938
938
|
let n = new ResizeObserver(t);
|
|
939
939
|
return n.observe(e), () => n.disconnect();
|
|
940
940
|
}, [t, n]), /* @__PURE__ */ D("div", {
|
|
941
|
-
className: [
|
|
941
|
+
className: [F.root, s ?? ""].filter(Boolean).join(" "),
|
|
942
942
|
children: [/* @__PURE__ */ D("div", {
|
|
943
|
-
className:
|
|
943
|
+
className: F.header,
|
|
944
944
|
children: [/* @__PURE__ */ E("p", {
|
|
945
|
-
className:
|
|
945
|
+
className: F.label,
|
|
946
946
|
children: e
|
|
947
947
|
}), /* @__PURE__ */ E("button", {
|
|
948
948
|
type: "button",
|
|
949
|
-
className:
|
|
949
|
+
className: F.toggle,
|
|
950
950
|
onClick: f,
|
|
951
951
|
"aria-expanded": d,
|
|
952
952
|
"aria-label": d ? "Close menu" : "Open menu",
|
|
953
|
-
children: E(d ?
|
|
953
|
+
children: E(d ? At : vt, {
|
|
954
954
|
size: 16,
|
|
955
955
|
strokeWidth: w(16)
|
|
956
956
|
})
|
|
957
957
|
})]
|
|
958
958
|
}), /* @__PURE__ */ E("div", {
|
|
959
|
-
className: [
|
|
959
|
+
className: [F.collapse, d ? F.collapseOpen : ""].filter(Boolean).join(" "),
|
|
960
960
|
style: { maxHeight: d ? `${m}px` : "0px" },
|
|
961
961
|
"aria-hidden": !d,
|
|
962
962
|
children: /* @__PURE__ */ D("div", {
|
|
963
963
|
ref: p,
|
|
964
|
-
className:
|
|
964
|
+
className: F.collapseInner,
|
|
965
965
|
children: [
|
|
966
966
|
/* @__PURE__ */ E("nav", {
|
|
967
|
-
className:
|
|
967
|
+
className: F.navLinks,
|
|
968
968
|
"aria-label": e,
|
|
969
969
|
children: t.map((e) => /* @__PURE__ */ E("a", {
|
|
970
970
|
href: e.href,
|
|
971
971
|
onClick: e.onClick,
|
|
972
|
-
className:
|
|
972
|
+
className: F.navLink,
|
|
973
973
|
tabIndex: d ? void 0 : -1,
|
|
974
974
|
children: e.label
|
|
975
975
|
}, e.label))
|
|
976
976
|
}),
|
|
977
|
-
/* @__PURE__ */ E(be, { className:
|
|
977
|
+
/* @__PURE__ */ E(be, { className: F.fullWidth }),
|
|
978
978
|
/* @__PURE__ */ E($e, {
|
|
979
979
|
variant: "primary",
|
|
980
|
-
className:
|
|
980
|
+
className: F.fullWidth,
|
|
981
981
|
onClick: r,
|
|
982
982
|
tabIndex: d ? void 0 : -1,
|
|
983
983
|
children: n
|
|
@@ -986,18 +986,18 @@ var O = {
|
|
|
986
986
|
})
|
|
987
987
|
})]
|
|
988
988
|
});
|
|
989
|
-
},
|
|
989
|
+
}, Fn = {
|
|
990
990
|
root: "_root_lrpdp_1",
|
|
991
991
|
"root--sm": "_root--sm_lrpdp_14",
|
|
992
992
|
"root--md": "_root--md_lrpdp_18",
|
|
993
993
|
"root--lg": "_root--lg_lrpdp_22",
|
|
994
994
|
defaultMark: "_defaultMark_lrpdp_27"
|
|
995
|
-
},
|
|
995
|
+
}, In = {
|
|
996
996
|
sm: 14,
|
|
997
997
|
md: 16,
|
|
998
998
|
lg: 18
|
|
999
|
-
},
|
|
1000
|
-
let i =
|
|
999
|
+
}, Ln = ({ size: e = "md", logo: t, label: n, className: r }) => {
|
|
1000
|
+
let i = In[e], a = T.isValidElement(t) ? T.cloneElement(t, {
|
|
1001
1001
|
size: i,
|
|
1002
1002
|
strokeWidth: w(i)
|
|
1003
1003
|
}) : t ?? /* @__PURE__ */ E("img", {
|
|
@@ -1005,19 +1005,19 @@ var O = {
|
|
|
1005
1005
|
alt: "",
|
|
1006
1006
|
width: i,
|
|
1007
1007
|
height: i,
|
|
1008
|
-
className:
|
|
1008
|
+
className: Fn.defaultMark
|
|
1009
1009
|
});
|
|
1010
1010
|
return /* @__PURE__ */ E("span", {
|
|
1011
1011
|
className: [
|
|
1012
|
-
|
|
1013
|
-
|
|
1012
|
+
Fn.root,
|
|
1013
|
+
Fn[`root--${e}`],
|
|
1014
1014
|
r ?? ""
|
|
1015
1015
|
].filter(Boolean).join(" "),
|
|
1016
1016
|
role: "img",
|
|
1017
1017
|
"aria-label": n ?? "Logo placeholder",
|
|
1018
1018
|
children: a
|
|
1019
1019
|
});
|
|
1020
|
-
},
|
|
1020
|
+
}, I = {
|
|
1021
1021
|
root: "_root_ibchq_1",
|
|
1022
1022
|
rootCompact: "_rootCompact_ibchq_7",
|
|
1023
1023
|
rootDetailed: "_rootDetailed_ibchq_14",
|
|
@@ -1028,12 +1028,12 @@ var O = {
|
|
|
1028
1028
|
bio: "_bio_ibchq_53",
|
|
1029
1029
|
social: "_social_ibchq_63",
|
|
1030
1030
|
socialBtn: "_socialBtn_ibchq_71"
|
|
1031
|
-
},
|
|
1031
|
+
}, Rn = ({ name: e, role: t, avatarSrc: n, avatarAlt: r, bio: i, socialLinks: a = [], className: o }) => {
|
|
1032
1032
|
let s = !!i || a.length > 0;
|
|
1033
1033
|
return /* @__PURE__ */ D("div", {
|
|
1034
1034
|
className: [
|
|
1035
|
-
|
|
1036
|
-
s ?
|
|
1035
|
+
I.root,
|
|
1036
|
+
s ? I.rootDetailed : I.rootCompact,
|
|
1037
1037
|
o ?? ""
|
|
1038
1038
|
].filter(Boolean).join(" "),
|
|
1039
1039
|
children: [
|
|
@@ -1043,46 +1043,46 @@ var O = {
|
|
|
1043
1043
|
alt: r ?? e
|
|
1044
1044
|
}),
|
|
1045
1045
|
/* @__PURE__ */ D("div", {
|
|
1046
|
-
className: s ?
|
|
1046
|
+
className: s ? I.infoDetailed : I.infoCompact,
|
|
1047
1047
|
children: [/* @__PURE__ */ E("p", {
|
|
1048
|
-
className:
|
|
1048
|
+
className: I.name,
|
|
1049
1049
|
children: e
|
|
1050
1050
|
}), /* @__PURE__ */ E("p", {
|
|
1051
|
-
className:
|
|
1051
|
+
className: I.role,
|
|
1052
1052
|
children: t
|
|
1053
1053
|
})]
|
|
1054
1054
|
}),
|
|
1055
1055
|
s && i && /* @__PURE__ */ E("p", {
|
|
1056
|
-
className:
|
|
1056
|
+
className: I.bio,
|
|
1057
1057
|
children: i
|
|
1058
1058
|
}),
|
|
1059
1059
|
s && a.length > 0 && /* @__PURE__ */ E("div", {
|
|
1060
|
-
className:
|
|
1060
|
+
className: I.social,
|
|
1061
1061
|
children: a.map((e, t) => /* @__PURE__ */ E("a", {
|
|
1062
1062
|
href: e.href,
|
|
1063
1063
|
onClick: e.onClick,
|
|
1064
|
-
className:
|
|
1064
|
+
className: I.socialBtn,
|
|
1065
1065
|
"aria-label": e.label,
|
|
1066
1066
|
children: e.icon
|
|
1067
1067
|
}, e.label ?? t))
|
|
1068
1068
|
})
|
|
1069
1069
|
]
|
|
1070
1070
|
});
|
|
1071
|
-
},
|
|
1071
|
+
}, zn = {
|
|
1072
1072
|
heading: "_heading_96cdx_1",
|
|
1073
1073
|
h2: "_h2_96cdx_8",
|
|
1074
1074
|
h3: "_h3_96cdx_14"
|
|
1075
|
-
},
|
|
1075
|
+
}, Bn = ({ children: e, level: t = "h2", className: n }) => /* @__PURE__ */ E(t, {
|
|
1076
1076
|
className: [
|
|
1077
|
-
|
|
1078
|
-
|
|
1077
|
+
zn.heading,
|
|
1078
|
+
zn[t],
|
|
1079
1079
|
n ?? ""
|
|
1080
1080
|
].filter(Boolean).join(" "),
|
|
1081
1081
|
children: e
|
|
1082
|
-
}),
|
|
1083
|
-
className: [
|
|
1082
|
+
}), Vn = { paragraph: "_paragraph_8pqdi_1" }, Hn = ({ children: e, className: t }) => /* @__PURE__ */ E("p", {
|
|
1083
|
+
className: [Vn.paragraph, t ?? ""].filter(Boolean).join(" "),
|
|
1084
1084
|
children: e
|
|
1085
|
-
}),
|
|
1085
|
+
}), L = {
|
|
1086
1086
|
rootBordered: "_rootBordered_5cgsj_1",
|
|
1087
1087
|
rail: "_rail_5cgsj_12",
|
|
1088
1088
|
contentHorizontal: "_contentHorizontal_5cgsj_18",
|
|
@@ -1091,45 +1091,45 @@ var O = {
|
|
|
1091
1091
|
textVertical: "_textVertical_5cgsj_41",
|
|
1092
1092
|
title: "_title_5cgsj_49",
|
|
1093
1093
|
description: "_description_5cgsj_57"
|
|
1094
|
-
},
|
|
1094
|
+
}, Un = ({ icon: e, title: t, description: n, layout: r = "horizontal", leftBorder: i = !1, className: a }) => {
|
|
1095
1095
|
let o = r === "vertical", s = /* @__PURE__ */ D("div", {
|
|
1096
|
-
className: o ?
|
|
1096
|
+
className: o ? L.contentVertical : L.contentHorizontal,
|
|
1097
1097
|
children: [/* @__PURE__ */ E(ae, {
|
|
1098
1098
|
icon: e,
|
|
1099
1099
|
size: "sm",
|
|
1100
1100
|
variant: "light"
|
|
1101
1101
|
}), /* @__PURE__ */ D("div", {
|
|
1102
|
-
className: o ?
|
|
1102
|
+
className: o ? L.textVertical : L.textHorizontal,
|
|
1103
1103
|
children: [/* @__PURE__ */ E("p", {
|
|
1104
|
-
className:
|
|
1104
|
+
className: L.title,
|
|
1105
1105
|
children: t
|
|
1106
1106
|
}), /* @__PURE__ */ E("p", {
|
|
1107
|
-
className:
|
|
1107
|
+
className: L.description,
|
|
1108
1108
|
children: n
|
|
1109
1109
|
})]
|
|
1110
1110
|
})]
|
|
1111
1111
|
});
|
|
1112
1112
|
return i ? /* @__PURE__ */ D("div", {
|
|
1113
|
-
className: [
|
|
1113
|
+
className: [L.rootBordered, a ?? ""].filter(Boolean).join(" "),
|
|
1114
1114
|
children: [/* @__PURE__ */ E(be, {
|
|
1115
1115
|
orientation: "vertical",
|
|
1116
|
-
className:
|
|
1116
|
+
className: L.rail
|
|
1117
1117
|
}), s]
|
|
1118
1118
|
}) : T.cloneElement(s, { className: [s.props.className, a ?? ""].filter(Boolean).join(" ") });
|
|
1119
|
-
},
|
|
1119
|
+
}, Wn = { chart: "_chart_qqaox_2" }, Gn = {
|
|
1120
1120
|
sm: 180,
|
|
1121
1121
|
md: 240,
|
|
1122
1122
|
lg: 320,
|
|
1123
1123
|
xl: 420
|
|
1124
|
-
},
|
|
1124
|
+
}, Kn = ({ data: e, variant: t = "default", seriesLabels: n = ["Value", "Value 2"], size: r = "md", height: i, className: a }) => {
|
|
1125
1125
|
let o = T.useRef(null), s = Ue(o), c = s("--color-chart-5") ?? "#dca84f", l = s("--color-chart-2") ?? "#5b92dd", u = s("--color-border-subtle") ?? "#e7e5e1", d = s("--color-fg-muted") ?? "#78716a", f = e.some((e) => e.value2 !== void 0), p = t === "step" ? "step" : t === "linear" ? "linear" : "monotone", m = t === "stacked" ? "stack" : void 0;
|
|
1126
1126
|
return /* @__PURE__ */ E("div", {
|
|
1127
1127
|
ref: o,
|
|
1128
|
-
className: [
|
|
1129
|
-
children: /* @__PURE__ */ E(
|
|
1128
|
+
className: [Wn.chart, a ?? ""].filter(Boolean).join(" "),
|
|
1129
|
+
children: /* @__PURE__ */ E(Gt, {
|
|
1130
1130
|
width: "100%",
|
|
1131
|
-
height: i ??
|
|
1132
|
-
children: /* @__PURE__ */ D(
|
|
1131
|
+
height: i ?? Gn[r],
|
|
1132
|
+
children: /* @__PURE__ */ D(Mt, {
|
|
1133
1133
|
data: e,
|
|
1134
1134
|
margin: {
|
|
1135
1135
|
top: 8,
|
|
@@ -1169,12 +1169,12 @@ var O = {
|
|
|
1169
1169
|
stopOpacity: .02
|
|
1170
1170
|
})]
|
|
1171
1171
|
})] }),
|
|
1172
|
-
/* @__PURE__ */ E(
|
|
1172
|
+
/* @__PURE__ */ E(Nt, {
|
|
1173
1173
|
strokeDasharray: "3 3",
|
|
1174
1174
|
stroke: u,
|
|
1175
1175
|
vertical: !1
|
|
1176
1176
|
}),
|
|
1177
|
-
/* @__PURE__ */ E(
|
|
1177
|
+
/* @__PURE__ */ E(Jt, {
|
|
1178
1178
|
dataKey: "label",
|
|
1179
1179
|
stroke: d,
|
|
1180
1180
|
fontSize: 12,
|
|
@@ -1182,7 +1182,7 @@ var O = {
|
|
|
1182
1182
|
axisLine: !1,
|
|
1183
1183
|
interval: 0
|
|
1184
1184
|
}),
|
|
1185
|
-
/* @__PURE__ */ E(
|
|
1185
|
+
/* @__PURE__ */ E(qt, {
|
|
1186
1186
|
cursor: {
|
|
1187
1187
|
stroke: s("--color-border-default") ?? "#dbdad7",
|
|
1188
1188
|
strokeWidth: 1
|
|
@@ -1190,7 +1190,7 @@ var O = {
|
|
|
1190
1190
|
content: /* @__PURE__ */ E(de, {}),
|
|
1191
1191
|
wrapperStyle: { zIndex: 50 }
|
|
1192
1192
|
}),
|
|
1193
|
-
f && /* @__PURE__ */ E(
|
|
1193
|
+
f && /* @__PURE__ */ E(jt, {
|
|
1194
1194
|
type: p,
|
|
1195
1195
|
dataKey: "value2",
|
|
1196
1196
|
name: n[1] ?? "Value 2",
|
|
@@ -1206,7 +1206,7 @@ var O = {
|
|
|
1206
1206
|
strokeWidth: 1.5
|
|
1207
1207
|
}
|
|
1208
1208
|
}),
|
|
1209
|
-
/* @__PURE__ */ E(
|
|
1209
|
+
/* @__PURE__ */ E(jt, {
|
|
1210
1210
|
type: p,
|
|
1211
1211
|
dataKey: "value",
|
|
1212
1212
|
name: n[0] ?? "Value",
|
|
@@ -1226,7 +1226,7 @@ var O = {
|
|
|
1226
1226
|
})
|
|
1227
1227
|
})
|
|
1228
1228
|
});
|
|
1229
|
-
},
|
|
1229
|
+
}, R = {
|
|
1230
1230
|
col: "_col_1v24u_2",
|
|
1231
1231
|
col__header: "_col__header_1v24u_11",
|
|
1232
1232
|
col__dot: "_col__dot_1v24u_12",
|
|
@@ -1237,42 +1237,42 @@ var O = {
|
|
|
1237
1237
|
col__body: "_col__body_1v24u_24",
|
|
1238
1238
|
col__drop: "_col__drop_1v24u_25",
|
|
1239
1239
|
col__add: "_col__add_1v24u_31"
|
|
1240
|
-
},
|
|
1241
|
-
className: [
|
|
1240
|
+
}, qn = ({ state: e = "default", title: t, count: n, dotColor: r = "var(--color-chart-1)", children: i, onAdd: a, onMenu: o, className: s }) => /* @__PURE__ */ D("div", {
|
|
1241
|
+
className: [R.col, s ?? ""].filter(Boolean).join(" "),
|
|
1242
1242
|
children: [
|
|
1243
1243
|
/* @__PURE__ */ D("div", {
|
|
1244
|
-
className:
|
|
1244
|
+
className: R.col__header,
|
|
1245
1245
|
children: [
|
|
1246
1246
|
/* @__PURE__ */ E("span", {
|
|
1247
|
-
className:
|
|
1247
|
+
className: R.col__dot,
|
|
1248
1248
|
style: { background: r },
|
|
1249
1249
|
"aria-hidden": "true"
|
|
1250
1250
|
}),
|
|
1251
1251
|
/* @__PURE__ */ E("span", {
|
|
1252
|
-
className:
|
|
1252
|
+
className: R.col__title,
|
|
1253
1253
|
children: t
|
|
1254
1254
|
}),
|
|
1255
1255
|
n != null && /* @__PURE__ */ E("span", {
|
|
1256
|
-
className:
|
|
1256
|
+
className: R.col__count,
|
|
1257
1257
|
children: n
|
|
1258
1258
|
}),
|
|
1259
|
-
/* @__PURE__ */ E("span", { className:
|
|
1259
|
+
/* @__PURE__ */ E("span", { className: R.col__spacer }),
|
|
1260
1260
|
/* @__PURE__ */ E("button", {
|
|
1261
1261
|
type: "button",
|
|
1262
|
-
className:
|
|
1262
|
+
className: R.col__action,
|
|
1263
1263
|
onClick: a,
|
|
1264
1264
|
"aria-label": "Add task",
|
|
1265
|
-
children: /* @__PURE__ */ E(
|
|
1265
|
+
children: /* @__PURE__ */ E(xt, {
|
|
1266
1266
|
size: 16,
|
|
1267
1267
|
strokeWidth: w(16)
|
|
1268
1268
|
})
|
|
1269
1269
|
}),
|
|
1270
1270
|
/* @__PURE__ */ E("button", {
|
|
1271
1271
|
type: "button",
|
|
1272
|
-
className:
|
|
1272
|
+
className: R.col__action,
|
|
1273
1273
|
onClick: o,
|
|
1274
1274
|
"aria-label": "Column options",
|
|
1275
|
-
children: /* @__PURE__ */ E(
|
|
1275
|
+
children: /* @__PURE__ */ E(yt, {
|
|
1276
1276
|
size: 16,
|
|
1277
1277
|
strokeWidth: w(16)
|
|
1278
1278
|
})
|
|
@@ -1280,24 +1280,24 @@ var O = {
|
|
|
1280
1280
|
]
|
|
1281
1281
|
}),
|
|
1282
1282
|
/* @__PURE__ */ E("div", {
|
|
1283
|
-
className:
|
|
1283
|
+
className: R.col__body,
|
|
1284
1284
|
children: e === "empty" ? /* @__PURE__ */ E("div", {
|
|
1285
|
-
className:
|
|
1285
|
+
className: R.col__drop,
|
|
1286
1286
|
children: "Drop tasks here"
|
|
1287
1287
|
}) : i
|
|
1288
1288
|
}),
|
|
1289
1289
|
/* @__PURE__ */ D("button", {
|
|
1290
1290
|
type: "button",
|
|
1291
|
-
className:
|
|
1291
|
+
className: R.col__add,
|
|
1292
1292
|
onClick: a,
|
|
1293
|
-
children: [/* @__PURE__ */ E(
|
|
1293
|
+
children: [/* @__PURE__ */ E(xt, {
|
|
1294
1294
|
size: 16,
|
|
1295
1295
|
strokeWidth: w(16),
|
|
1296
1296
|
"aria-hidden": "true"
|
|
1297
1297
|
}), "Add task"]
|
|
1298
1298
|
})
|
|
1299
1299
|
]
|
|
1300
|
-
}),
|
|
1300
|
+
}), z = {
|
|
1301
1301
|
calendar: "_calendar_qvyxg_2",
|
|
1302
1302
|
header: "_header_qvyxg_14",
|
|
1303
1303
|
header__label: "_header__label_qvyxg_15",
|
|
@@ -1315,7 +1315,7 @@ var O = {
|
|
|
1315
1315
|
"day--disabled": "_day--disabled_qvyxg_55",
|
|
1316
1316
|
dropdowns: "_dropdowns_qvyxg_58",
|
|
1317
1317
|
dropdown: "_dropdown_qvyxg_58"
|
|
1318
|
-
},
|
|
1318
|
+
}, Jn = [
|
|
1319
1319
|
"Su",
|
|
1320
1320
|
"Mo",
|
|
1321
1321
|
"Tu",
|
|
@@ -1323,7 +1323,7 @@ var O = {
|
|
|
1323
1323
|
"Th",
|
|
1324
1324
|
"Fr",
|
|
1325
1325
|
"Sa"
|
|
1326
|
-
],
|
|
1326
|
+
], Yn = [
|
|
1327
1327
|
"January",
|
|
1328
1328
|
"February",
|
|
1329
1329
|
"March",
|
|
@@ -1336,11 +1336,11 @@ var O = {
|
|
|
1336
1336
|
"October",
|
|
1337
1337
|
"November",
|
|
1338
1338
|
"December"
|
|
1339
|
-
],
|
|
1339
|
+
], Xn = (e, t) => !!e && !!t && e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate(), Zn = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), Qn = ({ mode: e = "single", value: t, onChange: n, range: r, onRangeChange: i, headerType: a = "arrows", defaultMonth: o, minDate: s, maxDate: c, className: l }) => {
|
|
1340
1340
|
let [u, d] = T.useState(() => {
|
|
1341
1341
|
let e = o ?? t ?? r?.from ?? /* @__PURE__ */ new Date();
|
|
1342
1342
|
return new Date(e.getFullYear(), e.getMonth(), 1);
|
|
1343
|
-
}), [f, p] = T.useState({}), m = _(), h = r === void 0 ? f : r, g = /* @__PURE__ */ new Date(), v = u.getFullYear(), y = u.getMonth(), b = new Date(v, y, 1).getDay(), x = new Date(v, y, 1 - b), ee = Array.from({ length: 42 }, (e, t) => new Date(x.getFullYear(), x.getMonth(), x.getDate() + t)), te = (e) => s && e <
|
|
1343
|
+
}), [f, p] = T.useState({}), m = _(), h = r === void 0 ? f : r, g = /* @__PURE__ */ new Date(), v = u.getFullYear(), y = u.getMonth(), b = new Date(v, y, 1).getDay(), x = new Date(v, y, 1 - b), ee = Array.from({ length: 42 }, (e, t) => new Date(x.getFullYear(), x.getMonth(), x.getDate() + t)), te = (e) => s && e < Zn(s) || c && e > c, S = (e) => {
|
|
1344
1344
|
r === void 0 && p(e), i?.(e);
|
|
1345
1345
|
}, ne = (t) => {
|
|
1346
1346
|
if (e === "single") {
|
|
@@ -1361,43 +1361,43 @@ var O = {
|
|
|
1361
1361
|
}, re = (n) => {
|
|
1362
1362
|
if (te(n)) return "disabled";
|
|
1363
1363
|
if (e === "single") {
|
|
1364
|
-
if (
|
|
1364
|
+
if (Xn(n, t)) return "selected";
|
|
1365
1365
|
} else {
|
|
1366
1366
|
let { from: e, to: t } = h;
|
|
1367
|
-
if (
|
|
1367
|
+
if (Xn(n, e) || Xn(n, t)) return "selected";
|
|
1368
1368
|
if (e && t && n > e && n < t) return "in-range";
|
|
1369
1369
|
}
|
|
1370
|
-
return n.getMonth() === y ?
|
|
1370
|
+
return n.getMonth() === y ? Xn(n, g) ? "today" : "default" : "outside";
|
|
1371
1371
|
}, ie = s ? s.getFullYear() : v - 10, ae = c ? c.getFullYear() : v + 10, oe = Array.from({ length: ae - ie + 1 }, (e, t) => ie + t);
|
|
1372
1372
|
return /* @__PURE__ */ D("div", {
|
|
1373
|
-
className: [
|
|
1373
|
+
className: [z.calendar, l ?? ""].filter(Boolean).join(" "),
|
|
1374
1374
|
children: [
|
|
1375
1375
|
/* @__PURE__ */ D("div", {
|
|
1376
|
-
className:
|
|
1376
|
+
className: z.header,
|
|
1377
1377
|
children: [
|
|
1378
1378
|
/* @__PURE__ */ E("button", {
|
|
1379
1379
|
type: "button",
|
|
1380
|
-
className:
|
|
1380
|
+
className: z.navBtn,
|
|
1381
1381
|
onClick: () => d(new Date(v, y - 1, 1)),
|
|
1382
1382
|
"aria-label": "Previous month",
|
|
1383
|
-
children: /* @__PURE__ */ E(
|
|
1383
|
+
children: /* @__PURE__ */ E(dt, {
|
|
1384
1384
|
size: 16,
|
|
1385
1385
|
strokeWidth: w(16)
|
|
1386
1386
|
})
|
|
1387
1387
|
}),
|
|
1388
1388
|
a === "dropdowns" ? /* @__PURE__ */ D("span", {
|
|
1389
|
-
className:
|
|
1389
|
+
className: z.dropdowns,
|
|
1390
1390
|
children: [/* @__PURE__ */ E("select", {
|
|
1391
|
-
className:
|
|
1391
|
+
className: z.dropdown,
|
|
1392
1392
|
value: y,
|
|
1393
1393
|
onChange: (e) => d(new Date(v, Number(e.target.value), 1)),
|
|
1394
1394
|
"aria-label": "Month",
|
|
1395
|
-
children:
|
|
1395
|
+
children: Yn.map((e, t) => /* @__PURE__ */ E("option", {
|
|
1396
1396
|
value: t,
|
|
1397
1397
|
children: e
|
|
1398
1398
|
}, e))
|
|
1399
1399
|
}), /* @__PURE__ */ E("select", {
|
|
1400
|
-
className:
|
|
1400
|
+
className: z.dropdown,
|
|
1401
1401
|
value: v,
|
|
1402
1402
|
onChange: (e) => d(new Date(Number(e.target.value), y, 1)),
|
|
1403
1403
|
"aria-label": "Year",
|
|
@@ -1407,19 +1407,19 @@ var O = {
|
|
|
1407
1407
|
}, e))
|
|
1408
1408
|
})]
|
|
1409
1409
|
}) : /* @__PURE__ */ D("span", {
|
|
1410
|
-
className:
|
|
1410
|
+
className: z.header__label,
|
|
1411
1411
|
children: [
|
|
1412
|
-
|
|
1412
|
+
Yn[y],
|
|
1413
1413
|
" ",
|
|
1414
1414
|
v
|
|
1415
1415
|
]
|
|
1416
1416
|
}),
|
|
1417
1417
|
/* @__PURE__ */ E("button", {
|
|
1418
1418
|
type: "button",
|
|
1419
|
-
className:
|
|
1419
|
+
className: z.navBtn,
|
|
1420
1420
|
onClick: () => d(new Date(v, y + 1, 1)),
|
|
1421
1421
|
"aria-label": "Next month",
|
|
1422
|
-
children: /* @__PURE__ */ E(
|
|
1422
|
+
children: /* @__PURE__ */ E(ft, {
|
|
1423
1423
|
size: 16,
|
|
1424
1424
|
strokeWidth: w(16)
|
|
1425
1425
|
})
|
|
@@ -1427,22 +1427,22 @@ var O = {
|
|
|
1427
1427
|
]
|
|
1428
1428
|
}),
|
|
1429
1429
|
/* @__PURE__ */ E("div", {
|
|
1430
|
-
className:
|
|
1431
|
-
children:
|
|
1432
|
-
className:
|
|
1430
|
+
className: z.weekdays,
|
|
1431
|
+
children: Jn.map((e) => /* @__PURE__ */ E("span", {
|
|
1432
|
+
className: z.weekday,
|
|
1433
1433
|
children: e
|
|
1434
1434
|
}, e))
|
|
1435
1435
|
}),
|
|
1436
1436
|
/* @__PURE__ */ D("div", {
|
|
1437
1437
|
ref: m.ref,
|
|
1438
1438
|
...m.groupProps,
|
|
1439
|
-
className:
|
|
1439
|
+
className: z.grid,
|
|
1440
1440
|
children: [m.highlight, ee.map((e, t) => {
|
|
1441
1441
|
let n = re(e);
|
|
1442
1442
|
return /* @__PURE__ */ E("button", {
|
|
1443
1443
|
type: "button",
|
|
1444
1444
|
"data-hover-item": "",
|
|
1445
|
-
className: [
|
|
1445
|
+
className: [z.day, z[`day--${n}`]].filter(Boolean).join(" "),
|
|
1446
1446
|
disabled: n === "disabled",
|
|
1447
1447
|
"aria-current": n === "today" ? "date" : void 0,
|
|
1448
1448
|
"aria-selected": n === "selected",
|
|
@@ -1459,7 +1459,7 @@ var O = {
|
|
|
1459
1459
|
})
|
|
1460
1460
|
]
|
|
1461
1461
|
});
|
|
1462
|
-
},
|
|
1462
|
+
}, B = {
|
|
1463
1463
|
card: "_card_1qpcc_3",
|
|
1464
1464
|
"card--interactive": "_card--interactive_1qpcc_22",
|
|
1465
1465
|
card__header: "_card__header_1qpcc_30",
|
|
@@ -1469,39 +1469,39 @@ var O = {
|
|
|
1469
1469
|
card__actions: "_card__actions_1qpcc_57",
|
|
1470
1470
|
"card__actions--split": "_card__actions--split_1qpcc_66",
|
|
1471
1471
|
card__actionsGroup: "_card__actionsGroup_1qpcc_67"
|
|
1472
|
-
},
|
|
1472
|
+
}, $n = ({ title: e, description: t, actions: n, leadingAction: r, interactive: i, children: a, className: o }) => /* @__PURE__ */ D("div", {
|
|
1473
1473
|
className: [
|
|
1474
|
-
|
|
1475
|
-
i ?
|
|
1474
|
+
B.card,
|
|
1475
|
+
i ? B["card--interactive"] : "",
|
|
1476
1476
|
o ?? ""
|
|
1477
1477
|
].filter(Boolean).join(" "),
|
|
1478
1478
|
children: [
|
|
1479
1479
|
(e || t) && /* @__PURE__ */ D("div", {
|
|
1480
|
-
className:
|
|
1480
|
+
className: B.card__header,
|
|
1481
1481
|
children: [e && /* @__PURE__ */ E("h3", {
|
|
1482
|
-
className:
|
|
1482
|
+
className: B.card__title,
|
|
1483
1483
|
children: e
|
|
1484
1484
|
}), t && /* @__PURE__ */ E("p", {
|
|
1485
|
-
className:
|
|
1485
|
+
className: B.card__description,
|
|
1486
1486
|
children: t
|
|
1487
1487
|
})]
|
|
1488
1488
|
}),
|
|
1489
1489
|
a && /* @__PURE__ */ E("div", {
|
|
1490
|
-
className:
|
|
1490
|
+
className: B.card__body,
|
|
1491
1491
|
children: a
|
|
1492
1492
|
}),
|
|
1493
1493
|
(n || r) && (r ? /* @__PURE__ */ D("div", {
|
|
1494
|
-
className: [
|
|
1494
|
+
className: [B.card__actions, B["card__actions--split"]].join(" "),
|
|
1495
1495
|
children: [r, /* @__PURE__ */ E("div", {
|
|
1496
|
-
className:
|
|
1496
|
+
className: B.card__actionsGroup,
|
|
1497
1497
|
children: n
|
|
1498
1498
|
})]
|
|
1499
1499
|
}) : /* @__PURE__ */ E("div", {
|
|
1500
|
-
className:
|
|
1500
|
+
className: B.card__actions,
|
|
1501
1501
|
children: n
|
|
1502
1502
|
}))
|
|
1503
1503
|
]
|
|
1504
|
-
}),
|
|
1504
|
+
}), V = {
|
|
1505
1505
|
field: "_field_1oby0_7",
|
|
1506
1506
|
field__label: "_field__label_1oby0_8",
|
|
1507
1507
|
field__description: "_field__description_1oby0_9",
|
|
@@ -1542,7 +1542,7 @@ var O = {
|
|
|
1542
1542
|
panel__loading: "_panel__loading_1oby0_255",
|
|
1543
1543
|
panel__spinner: "_panel__spinner_1oby0_259",
|
|
1544
1544
|
"sakani-cb-spin": "_sakani-cb-spin_1oby0_1"
|
|
1545
|
-
},
|
|
1545
|
+
}, er = ({ options: e, mode: t = "single", size: n = "md", label: r, description: i, error: a, placeholder: o = "Select...", disabled: s, loading: c, value: l, onChange: u, className: d }) => {
|
|
1546
1546
|
let f = T.useId(), [p, m] = T.useState(!1), [h, g] = T.useState(!1), [_, v] = T.useState(0), y = T.useRef(null), b = e;
|
|
1547
1547
|
T.useEffect(() => {
|
|
1548
1548
|
p && g(!0);
|
|
@@ -1612,12 +1612,12 @@ var O = {
|
|
|
1612
1612
|
s || (e.key === "ArrowDown" ? (e.preventDefault(), m(!0), v((e) => Math.min(e + 1, b.length - 1))) : e.key === "ArrowUp" ? (e.preventDefault(), v((e) => Math.max(e - 1, 0))) : e.key === "Enter" ? (e.preventDefault(), p && b[_] ? pe(b[_]) : m(!0)) : e.key === "Escape" && m(!1));
|
|
1613
1613
|
}, _e = s ? "disabled" : de ? "error" : p ? "open" : "default";
|
|
1614
1614
|
return /* @__PURE__ */ D("div", {
|
|
1615
|
-
className: [
|
|
1615
|
+
className: [V.field, d ?? ""].filter(Boolean).join(" "),
|
|
1616
1616
|
ref: y,
|
|
1617
1617
|
children: [
|
|
1618
1618
|
r && /* @__PURE__ */ E("label", {
|
|
1619
1619
|
htmlFor: `${f}-trigger`,
|
|
1620
|
-
className:
|
|
1620
|
+
className: V.field__label,
|
|
1621
1621
|
children: r
|
|
1622
1622
|
}),
|
|
1623
1623
|
/* @__PURE__ */ D("div", {
|
|
@@ -1631,22 +1631,22 @@ var O = {
|
|
|
1631
1631
|
"aria-disabled": s || void 0,
|
|
1632
1632
|
"aria-activedescendant": p && b[_] ? `${f}-opt-${_}` : void 0,
|
|
1633
1633
|
className: [
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1634
|
+
V.control,
|
|
1635
|
+
V[`control--${n}`],
|
|
1636
|
+
V[`control--${_e}`]
|
|
1637
1637
|
].join(" "),
|
|
1638
1638
|
onClick: () => !s && m((e) => !e),
|
|
1639
1639
|
onKeyDown: ge,
|
|
1640
1640
|
children: [
|
|
1641
1641
|
t === "multi" && se.length > 0 && /* @__PURE__ */ E("div", {
|
|
1642
|
-
className:
|
|
1642
|
+
className: V.chips,
|
|
1643
1643
|
children: se.map(({ value: t, leaving: n }) => /* @__PURE__ */ D("span", {
|
|
1644
|
-
className: [
|
|
1644
|
+
className: [V.chip, n ? V["chip--leaving"] : ""].filter(Boolean).join(" "),
|
|
1645
1645
|
"aria-hidden": n || void 0,
|
|
1646
1646
|
onAnimationEnd: n ? () => ue(t) : void 0,
|
|
1647
1647
|
children: [me(t), /* @__PURE__ */ E("button", {
|
|
1648
1648
|
type: "button",
|
|
1649
|
-
className:
|
|
1649
|
+
className: V.chip__remove,
|
|
1650
1650
|
tabIndex: n ? -1 : void 0,
|
|
1651
1651
|
onClick: (n) => {
|
|
1652
1652
|
n.stopPropagation(), pe(e.find((e) => e.value === t));
|
|
@@ -1657,11 +1657,11 @@ var O = {
|
|
|
1657
1657
|
}, t))
|
|
1658
1658
|
}),
|
|
1659
1659
|
!(t === "multi" && se.length > 0) && /* @__PURE__ */ E("span", {
|
|
1660
|
-
className: [
|
|
1660
|
+
className: [V.control__value, t === "single" && he ? "" : V["control__value--placeholder"]].filter(Boolean).join(" "),
|
|
1661
1661
|
children: t === "single" && he ? he : o
|
|
1662
1662
|
}),
|
|
1663
1663
|
/* @__PURE__ */ E("span", {
|
|
1664
|
-
className: [
|
|
1664
|
+
className: [V.control__chevron, p ? V["control__chevron--open"] : ""].join(" "),
|
|
1665
1665
|
"aria-hidden": "true",
|
|
1666
1666
|
children: /* @__PURE__ */ E("svg", {
|
|
1667
1667
|
width: 16,
|
|
@@ -1679,7 +1679,7 @@ var O = {
|
|
|
1679
1679
|
}),
|
|
1680
1680
|
h && !s && /* @__PURE__ */ E("div", {
|
|
1681
1681
|
ref: ee,
|
|
1682
|
-
className: [
|
|
1682
|
+
className: [V.panel, p ? V["panel--entering"] : V["panel--exiting"]].filter(Boolean).join(" "),
|
|
1683
1683
|
id: `${f}-panel`,
|
|
1684
1684
|
role: "listbox",
|
|
1685
1685
|
"aria-multiselectable": t === "multi" || void 0,
|
|
@@ -1688,17 +1688,17 @@ var O = {
|
|
|
1688
1688
|
p || g(!1);
|
|
1689
1689
|
},
|
|
1690
1690
|
children: c ? /* @__PURE__ */ D("div", {
|
|
1691
|
-
className:
|
|
1691
|
+
className: V.panel__loading,
|
|
1692
1692
|
children: [/* @__PURE__ */ E("span", {
|
|
1693
|
-
className:
|
|
1693
|
+
className: V.panel__spinner,
|
|
1694
1694
|
"aria-hidden": "true"
|
|
1695
1695
|
}), "Loading…"]
|
|
1696
1696
|
}) : b.length === 0 ? /* @__PURE__ */ E("div", {
|
|
1697
|
-
className:
|
|
1697
|
+
className: V.panel__empty,
|
|
1698
1698
|
children: "No options available"
|
|
1699
|
-
}) : /* @__PURE__ */ D(
|
|
1699
|
+
}) : /* @__PURE__ */ D(ot, { children: [te && /* @__PURE__ */ E("span", {
|
|
1700
1700
|
"aria-hidden": "true",
|
|
1701
|
-
className: [
|
|
1701
|
+
className: [V.optionHighlight, ne ? V["optionHighlight--animated"] : ""].filter(Boolean).join(" "),
|
|
1702
1702
|
style: {
|
|
1703
1703
|
transform: `translateY(${te.top}px)`,
|
|
1704
1704
|
height: te.height
|
|
@@ -1713,9 +1713,9 @@ var O = {
|
|
|
1713
1713
|
role: "option",
|
|
1714
1714
|
"aria-selected": r,
|
|
1715
1715
|
className: [
|
|
1716
|
-
|
|
1717
|
-
r && t === "single" ?
|
|
1718
|
-
e.disabled ?
|
|
1716
|
+
V.option,
|
|
1717
|
+
r && t === "single" ? V["option--selected"] : "",
|
|
1718
|
+
e.disabled ? V["option--disabled"] : ""
|
|
1719
1719
|
].filter(Boolean).join(" "),
|
|
1720
1720
|
onMouseEnter: () => {
|
|
1721
1721
|
e.disabled || v(n);
|
|
@@ -1723,7 +1723,7 @@ var O = {
|
|
|
1723
1723
|
onClick: () => pe(e),
|
|
1724
1724
|
children: [
|
|
1725
1725
|
t === "multi" && /* @__PURE__ */ E("span", {
|
|
1726
|
-
className: [
|
|
1726
|
+
className: [V.option__box, r ? V["option__box--checked"] : ""].filter(Boolean).join(" "),
|
|
1727
1727
|
"aria-hidden": "true",
|
|
1728
1728
|
children: /* @__PURE__ */ E("svg", {
|
|
1729
1729
|
width: 12,
|
|
@@ -1738,16 +1738,16 @@ var O = {
|
|
|
1738
1738
|
})
|
|
1739
1739
|
}),
|
|
1740
1740
|
e.icon && /* @__PURE__ */ E("span", {
|
|
1741
|
-
className:
|
|
1741
|
+
className: V.option__icon,
|
|
1742
1742
|
"aria-hidden": "true",
|
|
1743
1743
|
children: e.icon
|
|
1744
1744
|
}),
|
|
1745
1745
|
/* @__PURE__ */ E("span", {
|
|
1746
|
-
className:
|
|
1746
|
+
className: V.option__label,
|
|
1747
1747
|
children: e.label
|
|
1748
1748
|
}),
|
|
1749
1749
|
r && t === "single" && /* @__PURE__ */ E("span", {
|
|
1750
|
-
className:
|
|
1750
|
+
className: V.option__check,
|
|
1751
1751
|
"aria-hidden": "true",
|
|
1752
1752
|
children: /* @__PURE__ */ E("svg", {
|
|
1753
1753
|
width: 16,
|
|
@@ -1766,12 +1766,12 @@ var O = {
|
|
|
1766
1766
|
})] })
|
|
1767
1767
|
}),
|
|
1768
1768
|
(i || a) && /* @__PURE__ */ E("span", {
|
|
1769
|
-
className: de ?
|
|
1769
|
+
className: de ? V.field__error : V.field__description,
|
|
1770
1770
|
children: a || i
|
|
1771
1771
|
})
|
|
1772
1772
|
]
|
|
1773
1773
|
});
|
|
1774
|
-
},
|
|
1774
|
+
}, H = {
|
|
1775
1775
|
wrap: "_wrap_1j16e_2",
|
|
1776
1776
|
dropzone: "_dropzone_1j16e_4",
|
|
1777
1777
|
"dropzone--dragging": "_dropzone--dragging_1j16e_21",
|
|
@@ -1785,7 +1785,7 @@ var O = {
|
|
|
1785
1785
|
file__icon: "_file__icon_1j16e_45",
|
|
1786
1786
|
file__name: "_file__name_1j16e_46",
|
|
1787
1787
|
file__remove: "_file__remove_1j16e_47"
|
|
1788
|
-
},
|
|
1788
|
+
}, tr = ({ accept: e, multiple: t, hint: n = "SVG, PNG, JPG or PDF (max. 2MB)", onFilesChange: r, className: i }) => {
|
|
1789
1789
|
let a = T.useRef(null), [o, s] = T.useState(!1), [c, l] = T.useState([]), u = (e) => {
|
|
1790
1790
|
l(e), r?.(e);
|
|
1791
1791
|
}, d = (e) => {
|
|
@@ -1794,9 +1794,9 @@ var O = {
|
|
|
1794
1794
|
u(t ? [...c, ...n] : n.slice(0, 1));
|
|
1795
1795
|
}, f = (e) => u(c.filter((t, n) => n !== e));
|
|
1796
1796
|
return /* @__PURE__ */ D("div", {
|
|
1797
|
-
className: [
|
|
1797
|
+
className: [H.wrap, i ?? ""].filter(Boolean).join(" "),
|
|
1798
1798
|
children: [/* @__PURE__ */ D("div", {
|
|
1799
|
-
className: [
|
|
1799
|
+
className: [H.dropzone, o ? H["dropzone--dragging"] : ""].filter(Boolean).join(" "),
|
|
1800
1800
|
onClick: () => a.current?.click(),
|
|
1801
1801
|
onDragOver: (e) => {
|
|
1802
1802
|
e.preventDefault(), s(!0);
|
|
@@ -1812,22 +1812,22 @@ var O = {
|
|
|
1812
1812
|
},
|
|
1813
1813
|
children: [
|
|
1814
1814
|
/* @__PURE__ */ E("span", {
|
|
1815
|
-
className:
|
|
1815
|
+
className: H.dropzone__icon,
|
|
1816
1816
|
"aria-hidden": "true",
|
|
1817
|
-
children: /* @__PURE__ */ E(
|
|
1817
|
+
children: /* @__PURE__ */ E(kt, {
|
|
1818
1818
|
size: 22,
|
|
1819
1819
|
strokeWidth: w(22)
|
|
1820
1820
|
})
|
|
1821
1821
|
}),
|
|
1822
1822
|
/* @__PURE__ */ D("span", {
|
|
1823
|
-
className:
|
|
1823
|
+
className: H.dropzone__label,
|
|
1824
1824
|
children: [/* @__PURE__ */ E("span", {
|
|
1825
|
-
className:
|
|
1825
|
+
className: H.dropzone__link,
|
|
1826
1826
|
children: "Click to upload"
|
|
1827
1827
|
}), " or drag and drop"]
|
|
1828
1828
|
}),
|
|
1829
1829
|
/* @__PURE__ */ E("span", {
|
|
1830
|
-
className:
|
|
1830
|
+
className: H.dropzone__hint,
|
|
1831
1831
|
children: n
|
|
1832
1832
|
}),
|
|
1833
1833
|
/* @__PURE__ */ E("input", {
|
|
@@ -1835,33 +1835,33 @@ var O = {
|
|
|
1835
1835
|
type: "file",
|
|
1836
1836
|
accept: e,
|
|
1837
1837
|
multiple: t,
|
|
1838
|
-
className:
|
|
1838
|
+
className: H.input,
|
|
1839
1839
|
onChange: (e) => d(e.target.files)
|
|
1840
1840
|
})
|
|
1841
1841
|
]
|
|
1842
1842
|
}), c.length > 0 && /* @__PURE__ */ E("ul", {
|
|
1843
|
-
className:
|
|
1843
|
+
className: H.files,
|
|
1844
1844
|
children: c.map((e, t) => /* @__PURE__ */ D("li", {
|
|
1845
|
-
className:
|
|
1845
|
+
className: H.file,
|
|
1846
1846
|
children: [
|
|
1847
1847
|
/* @__PURE__ */ E("span", {
|
|
1848
|
-
className:
|
|
1848
|
+
className: H.file__icon,
|
|
1849
1849
|
"aria-hidden": "true",
|
|
1850
|
-
children: /* @__PURE__ */ E(
|
|
1850
|
+
children: /* @__PURE__ */ E(ht, {
|
|
1851
1851
|
size: 16,
|
|
1852
1852
|
strokeWidth: w(16)
|
|
1853
1853
|
})
|
|
1854
1854
|
}),
|
|
1855
1855
|
/* @__PURE__ */ E("span", {
|
|
1856
|
-
className:
|
|
1856
|
+
className: H.file__name,
|
|
1857
1857
|
children: e.name
|
|
1858
1858
|
}),
|
|
1859
1859
|
/* @__PURE__ */ E("button", {
|
|
1860
1860
|
type: "button",
|
|
1861
|
-
className:
|
|
1861
|
+
className: H.file__remove,
|
|
1862
1862
|
onClick: () => f(t),
|
|
1863
1863
|
"aria-label": `Remove ${e.name}`,
|
|
1864
|
-
children: /* @__PURE__ */ E(
|
|
1864
|
+
children: /* @__PURE__ */ E(At, {
|
|
1865
1865
|
size: 14,
|
|
1866
1866
|
strokeWidth: w(14)
|
|
1867
1867
|
})
|
|
@@ -1870,7 +1870,7 @@ var O = {
|
|
|
1870
1870
|
}, t))
|
|
1871
1871
|
})]
|
|
1872
1872
|
});
|
|
1873
|
-
},
|
|
1873
|
+
}, U = {
|
|
1874
1874
|
chart: "_chart_1m9hd_1",
|
|
1875
1875
|
svg: "_svg_1m9hd_7",
|
|
1876
1876
|
segment: "_segment_1m9hd_12",
|
|
@@ -1883,25 +1883,25 @@ var O = {
|
|
|
1883
1883
|
tooltip__dot: "_tooltip__dot_1m9hd_68",
|
|
1884
1884
|
tooltip__label: "_tooltip__label_1m9hd_74",
|
|
1885
1885
|
tooltip__value: "_tooltip__value_1m9hd_75"
|
|
1886
|
-
},
|
|
1886
|
+
}, nr = {
|
|
1887
1887
|
sm: 180,
|
|
1888
1888
|
md: 240,
|
|
1889
1889
|
lg: 320,
|
|
1890
1890
|
xl: 420
|
|
1891
|
-
},
|
|
1892
|
-
let [r, i] = T.useState(null), a = T.useRef(null), o = Ue(a), s = o("--color-chart-1") ?? "#ff4700", c = o("--color-bg-canvas") ?? "#fafaf9", l = e[0]?.value || 1, u =
|
|
1893
|
-
g.push(h(e[e.length - 1]?.value ?? 0) *
|
|
1894
|
-
let _ = (t) => e.length <= 1 ? 1 :
|
|
1891
|
+
}, rr = 560, ir = .3, ar = .55, or = ({ data: e, size: t = "md", className: n }) => {
|
|
1892
|
+
let [r, i] = T.useState(null), a = T.useRef(null), o = Ue(a), s = o("--color-chart-1") ?? "#ff4700", c = o("--color-bg-canvas") ?? "#fafaf9", l = e[0]?.value || 1, u = nr[t], d = u * .66, f = d / 2 + 8, p = rr / e.length, m = e[0]?.value || 1, h = (e) => e / m * d, g = e.map((e) => h(e.value));
|
|
1893
|
+
g.push(h(e[e.length - 1]?.value ?? 0) * ar);
|
|
1894
|
+
let _ = (t) => e.length <= 1 ? 1 : ir + t / (e.length - 1) * (1 - ir), v = r === null ? null : e[r], y = r === null ? 0 : f - g[r] / 2, b = r === null ? 0 : r * p + p / 2;
|
|
1895
1895
|
return /* @__PURE__ */ D("div", {
|
|
1896
1896
|
ref: a,
|
|
1897
|
-
className: [
|
|
1897
|
+
className: [U.chart, n ?? ""].filter(Boolean).join(" "),
|
|
1898
1898
|
style: { height: u },
|
|
1899
1899
|
children: [
|
|
1900
1900
|
/* @__PURE__ */ E("svg", {
|
|
1901
|
-
viewBox: `0 0 ${
|
|
1901
|
+
viewBox: `0 0 ${rr} ${u}`,
|
|
1902
1902
|
width: "100%",
|
|
1903
1903
|
height: u,
|
|
1904
|
-
className:
|
|
1904
|
+
className: U.svg,
|
|
1905
1905
|
children: e.map((e, t) => {
|
|
1906
1906
|
let n = t * p, a = (t + 1) * p, o = (n + a) / 2, c = g[t] / 2, u = g[t + 1] / 2, d = f - c, m = f - u, h = f + c, v = f + u, y = [
|
|
1907
1907
|
`M ${n} ${d}`,
|
|
@@ -1911,7 +1911,7 @@ var O = {
|
|
|
1911
1911
|
"Z"
|
|
1912
1912
|
].join(" "), b = r === null ? _(t) : t === r ? 1 : .45, x = Math.round(e.value / l * 100);
|
|
1913
1913
|
return /* @__PURE__ */ D("g", {
|
|
1914
|
-
className:
|
|
1914
|
+
className: U.segment,
|
|
1915
1915
|
onMouseEnter: () => i(t),
|
|
1916
1916
|
onMouseLeave: () => i(null),
|
|
1917
1917
|
children: [/* @__PURE__ */ E("path", {
|
|
@@ -1923,43 +1923,43 @@ var O = {
|
|
|
1923
1923
|
y: f,
|
|
1924
1924
|
textAnchor: "middle",
|
|
1925
1925
|
dominantBaseline: "middle",
|
|
1926
|
-
className:
|
|
1926
|
+
className: U.pctLabel,
|
|
1927
1927
|
children: [x, "%"]
|
|
1928
1928
|
})]
|
|
1929
1929
|
}, t);
|
|
1930
1930
|
})
|
|
1931
1931
|
}),
|
|
1932
1932
|
/* @__PURE__ */ E("div", {
|
|
1933
|
-
className:
|
|
1933
|
+
className: U.labels,
|
|
1934
1934
|
style: { gridTemplateColumns: `repeat(${e.length}, 1fr)` },
|
|
1935
1935
|
children: e.map((e, t) => /* @__PURE__ */ E("span", {
|
|
1936
|
-
className:
|
|
1936
|
+
className: U.labelItem,
|
|
1937
1937
|
children: e.label
|
|
1938
1938
|
}, t))
|
|
1939
1939
|
}),
|
|
1940
1940
|
v && /* @__PURE__ */ D("div", {
|
|
1941
|
-
className:
|
|
1941
|
+
className: U.tooltip,
|
|
1942
1942
|
style: {
|
|
1943
|
-
left: `${b /
|
|
1943
|
+
left: `${b / rr * 100}%`,
|
|
1944
1944
|
top: `${y / u * 100}%`,
|
|
1945
1945
|
background: c
|
|
1946
1946
|
},
|
|
1947
1947
|
children: [/* @__PURE__ */ E("span", {
|
|
1948
|
-
className:
|
|
1948
|
+
className: U.tooltip__title,
|
|
1949
1949
|
children: v.label
|
|
1950
1950
|
}), /* @__PURE__ */ D("div", {
|
|
1951
|
-
className:
|
|
1951
|
+
className: U.tooltip__row,
|
|
1952
1952
|
children: [
|
|
1953
1953
|
/* @__PURE__ */ E("span", {
|
|
1954
|
-
className:
|
|
1954
|
+
className: U.tooltip__dot,
|
|
1955
1955
|
style: { background: s }
|
|
1956
1956
|
}),
|
|
1957
1957
|
/* @__PURE__ */ E("span", {
|
|
1958
|
-
className:
|
|
1958
|
+
className: U.tooltip__label,
|
|
1959
1959
|
children: "Share"
|
|
1960
1960
|
}),
|
|
1961
1961
|
/* @__PURE__ */ D("span", {
|
|
1962
|
-
className:
|
|
1962
|
+
className: U.tooltip__value,
|
|
1963
1963
|
children: [Math.round(v.value / l * 100), "%"]
|
|
1964
1964
|
})
|
|
1965
1965
|
]
|
|
@@ -1967,7 +1967,7 @@ var O = {
|
|
|
1967
1967
|
})
|
|
1968
1968
|
]
|
|
1969
1969
|
});
|
|
1970
|
-
},
|
|
1970
|
+
}, W = {
|
|
1971
1971
|
chart: "_chart_1yc8b_1",
|
|
1972
1972
|
grid: "_grid_1yc8b_6",
|
|
1973
1973
|
rowLabel: "_rowLabel_1yc8b_13",
|
|
@@ -1983,7 +1983,7 @@ var O = {
|
|
|
1983
1983
|
tooltip__dot: "_tooltip__dot_1yc8b_84",
|
|
1984
1984
|
tooltip__label: "_tooltip__label_1yc8b_91",
|
|
1985
1985
|
tooltip__value: "_tooltip__value_1yc8b_92"
|
|
1986
|
-
},
|
|
1986
|
+
}, sr = .12, cr = .45, lr = ({ data: e, rowLabels: t, colLabels: n, valueLabel: r = "Value", size: i = "md", className: a }) => {
|
|
1987
1987
|
let o = T.useRef(null), s = Ue(o), c = T.useRef(null), [l, u] = T.useState(null), d = s("--color-chart-1") ?? "#ff4700", f = Math.max(1, ...e.flat()), p = e[0]?.length ?? 0, m = (e, t, n) => (r) => {
|
|
1988
1988
|
let i = r.currentTarget.getBoundingClientRect(), a = c.current?.getBoundingClientRect();
|
|
1989
1989
|
a && u({
|
|
@@ -1997,53 +1997,53 @@ var O = {
|
|
|
1997
1997
|
return /* @__PURE__ */ E("div", {
|
|
1998
1998
|
ref: o,
|
|
1999
1999
|
className: [
|
|
2000
|
-
|
|
2001
|
-
|
|
2000
|
+
W.chart,
|
|
2001
|
+
W[`chart--${i}`],
|
|
2002
2002
|
a ?? ""
|
|
2003
2003
|
].filter(Boolean).join(" "),
|
|
2004
2004
|
children: /* @__PURE__ */ D("div", {
|
|
2005
2005
|
ref: c,
|
|
2006
|
-
className:
|
|
2006
|
+
className: W.grid,
|
|
2007
2007
|
style: { gridTemplateColumns: `auto repeat(${p}, 1fr)` },
|
|
2008
2008
|
children: [
|
|
2009
2009
|
e.map((e, n) => /* @__PURE__ */ D(T.Fragment, { children: [/* @__PURE__ */ E("span", {
|
|
2010
|
-
className:
|
|
2010
|
+
className: W.rowLabel,
|
|
2011
2011
|
children: t?.[n] ?? ""
|
|
2012
2012
|
}), e.map((e, t) => {
|
|
2013
|
-
let r = l?.row === n && l?.col === t, i = l !== null && !r, a = r ? 1 :
|
|
2013
|
+
let r = l?.row === n && l?.col === t, i = l !== null && !r, a = r ? 1 : sr + e / f * (1 - sr);
|
|
2014
2014
|
return /* @__PURE__ */ E("div", {
|
|
2015
|
-
className:
|
|
2015
|
+
className: W.cell,
|
|
2016
2016
|
style: {
|
|
2017
2017
|
background: d,
|
|
2018
|
-
opacity: i ?
|
|
2018
|
+
opacity: i ? cr : a
|
|
2019
2019
|
},
|
|
2020
2020
|
onMouseEnter: m(n, t, e),
|
|
2021
2021
|
onMouseLeave: () => u(null)
|
|
2022
2022
|
}, t);
|
|
2023
2023
|
})] }, n)),
|
|
2024
|
-
n && /* @__PURE__ */ D(
|
|
2025
|
-
className:
|
|
2024
|
+
n && /* @__PURE__ */ D(ot, { children: [/* @__PURE__ */ E("span", {}), n.map((e, t) => /* @__PURE__ */ E("span", {
|
|
2025
|
+
className: W.colLabel,
|
|
2026
2026
|
children: e
|
|
2027
2027
|
}, t))] }),
|
|
2028
2028
|
l && /* @__PURE__ */ D("div", {
|
|
2029
|
-
className:
|
|
2029
|
+
className: W.tooltip,
|
|
2030
2030
|
style: {
|
|
2031
2031
|
left: l.left,
|
|
2032
2032
|
top: l.top
|
|
2033
2033
|
},
|
|
2034
2034
|
children: [/* @__PURE__ */ E("span", {
|
|
2035
|
-
className:
|
|
2035
|
+
className: W.tooltip__title,
|
|
2036
2036
|
children: [t?.[l.row], n?.[l.col]].filter(Boolean).join(" · ") || `Row ${l.row + 1}, Col ${l.col + 1}`
|
|
2037
2037
|
}), /* @__PURE__ */ D("div", {
|
|
2038
|
-
className:
|
|
2038
|
+
className: W.tooltip__row,
|
|
2039
2039
|
children: [
|
|
2040
|
-
/* @__PURE__ */ E("span", { className:
|
|
2040
|
+
/* @__PURE__ */ E("span", { className: W.tooltip__dot }),
|
|
2041
2041
|
/* @__PURE__ */ E("span", {
|
|
2042
|
-
className:
|
|
2042
|
+
className: W.tooltip__label,
|
|
2043
2043
|
children: r
|
|
2044
2044
|
}),
|
|
2045
2045
|
/* @__PURE__ */ E("span", {
|
|
2046
|
-
className:
|
|
2046
|
+
className: W.tooltip__value,
|
|
2047
2047
|
children: l.value
|
|
2048
2048
|
})
|
|
2049
2049
|
]
|
|
@@ -2052,24 +2052,24 @@ var O = {
|
|
|
2052
2052
|
]
|
|
2053
2053
|
})
|
|
2054
2054
|
});
|
|
2055
|
-
},
|
|
2056
|
-
className: [
|
|
2055
|
+
}, ur = { kbd: "_kbd_1cz4m_3" }, dr = ({ children: e, className: t }) => /* @__PURE__ */ E("kbd", {
|
|
2056
|
+
className: [ur.kbd, t ?? ""].filter(Boolean).join(" "),
|
|
2057
2057
|
children: e
|
|
2058
|
-
}),
|
|
2058
|
+
}), fr = {
|
|
2059
2059
|
label: "_label_rcdks_3",
|
|
2060
2060
|
label__required: "_label__required_rcdks_17"
|
|
2061
|
-
},
|
|
2061
|
+
}, pr = T.forwardRef(({ required: e, children: t, className: n, ...r }, i) => /* @__PURE__ */ D("label", {
|
|
2062
2062
|
ref: i,
|
|
2063
|
-
className: [
|
|
2063
|
+
className: [fr.label, n ?? ""].filter(Boolean).join(" "),
|
|
2064
2064
|
...r,
|
|
2065
2065
|
children: [t, e && /* @__PURE__ */ E("span", {
|
|
2066
|
-
className:
|
|
2066
|
+
className: fr.label__required,
|
|
2067
2067
|
"aria-hidden": "true",
|
|
2068
2068
|
children: " *"
|
|
2069
2069
|
})]
|
|
2070
2070
|
}));
|
|
2071
|
-
|
|
2072
|
-
var
|
|
2071
|
+
pr.displayName = "Label";
|
|
2072
|
+
var G = {
|
|
2073
2073
|
item: "_item_4gag1_2",
|
|
2074
2074
|
"item--disabled": "_item--disabled_4gag1_22",
|
|
2075
2075
|
"item--selected": "_item--selected_4gag1_26",
|
|
@@ -2078,44 +2078,44 @@ var K = {
|
|
|
2078
2078
|
item__title: "_item__title_4gag1_32",
|
|
2079
2079
|
item__description: "_item__description_4gag1_33",
|
|
2080
2080
|
item__trailing: "_item__trailing_4gag1_34"
|
|
2081
|
-
},
|
|
2081
|
+
}, mr = ({ title: e, description: t, leading: n, trailing: r, selected: i, disabled: a, onClick: o, className: s }) => /* @__PURE__ */ D("button", {
|
|
2082
2082
|
type: "button",
|
|
2083
2083
|
"data-hover-item": "",
|
|
2084
2084
|
disabled: a,
|
|
2085
2085
|
onClick: o,
|
|
2086
2086
|
"aria-current": i ? "true" : void 0,
|
|
2087
2087
|
className: [
|
|
2088
|
-
|
|
2089
|
-
i ?
|
|
2090
|
-
a ?
|
|
2088
|
+
G.item,
|
|
2089
|
+
i ? G["item--selected"] : "",
|
|
2090
|
+
a ? G["item--disabled"] : "",
|
|
2091
2091
|
s ?? ""
|
|
2092
2092
|
].filter(Boolean).join(" "),
|
|
2093
2093
|
children: [
|
|
2094
2094
|
n && /* @__PURE__ */ E("span", {
|
|
2095
|
-
className:
|
|
2095
|
+
className: G.item__leading,
|
|
2096
2096
|
children: n
|
|
2097
2097
|
}),
|
|
2098
2098
|
/* @__PURE__ */ D("span", {
|
|
2099
|
-
className:
|
|
2099
|
+
className: G.item__text,
|
|
2100
2100
|
children: [/* @__PURE__ */ E("span", {
|
|
2101
|
-
className:
|
|
2101
|
+
className: G.item__title,
|
|
2102
2102
|
children: e
|
|
2103
2103
|
}), t && /* @__PURE__ */ E("span", {
|
|
2104
|
-
className:
|
|
2104
|
+
className: G.item__description,
|
|
2105
2105
|
children: t
|
|
2106
2106
|
})]
|
|
2107
2107
|
}),
|
|
2108
2108
|
r && /* @__PURE__ */ E("span", {
|
|
2109
|
-
className:
|
|
2109
|
+
className: G.item__trailing,
|
|
2110
2110
|
children: r
|
|
2111
2111
|
})
|
|
2112
2112
|
]
|
|
2113
|
-
}),
|
|
2113
|
+
}), hr = {
|
|
2114
2114
|
chart: "_chart_cc7lx_2",
|
|
2115
2115
|
center: "_center_cc7lx_30",
|
|
2116
2116
|
center__value: "_center__value_cc7lx_39",
|
|
2117
2117
|
center__caption: "_center__caption_cc7lx_40"
|
|
2118
|
-
},
|
|
2118
|
+
}, gr = {
|
|
2119
2119
|
sm: {
|
|
2120
2120
|
h: 180,
|
|
2121
2121
|
outer: 72
|
|
@@ -2132,21 +2132,21 @@ var K = {
|
|
|
2132
2132
|
h: 340,
|
|
2133
2133
|
outer: 142
|
|
2134
2134
|
}
|
|
2135
|
-
},
|
|
2135
|
+
}, _r = /* @__PURE__ */ new Set([
|
|
2136
2136
|
"donut",
|
|
2137
2137
|
"donut-active",
|
|
2138
2138
|
"donut-with-text",
|
|
2139
2139
|
"interactive"
|
|
2140
|
-
]),
|
|
2140
|
+
]), vr = /* @__PURE__ */ new Set(["donut-active"]), yr = /* @__PURE__ */ new Set(["interactive"]), br = /* @__PURE__ */ new Set(["donut-with-text"]), xr = Math.PI / 180, Sr = ({ data: e, variant: t = "donut", size: n = "md", centerValue: r, centerCaption: i, className: a }) => {
|
|
2141
2141
|
let o = T.useRef(null), s = Ue(o), [c, l] = T.useState(void 0), u = [
|
|
2142
2142
|
1,
|
|
2143
2143
|
2,
|
|
2144
2144
|
3,
|
|
2145
2145
|
4,
|
|
2146
2146
|
5
|
|
2147
|
-
].map((e) => s(`--color-chart-${e}`) ?? Ie[e - 1]), d = s("--color-bg-surface") ?? "#ffffff", f = s("--color-fg-default") ?? "#141414", p =
|
|
2147
|
+
].map((e) => s(`--color-chart-${e}`) ?? Ie[e - 1]), d = s("--color-bg-surface") ?? "#ffffff", f = s("--color-fg-default") ?? "#141414", p = gr[n], m = _r.has(t), h = vr.has(t), g = yr.has(t), _ = m ? p.outer * .6 : 0, v = br.has(t) && (r || i), y = c ?? (h || g ? 0 : void 0), b = (e) => {
|
|
2148
2148
|
let { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, fill: s, index: c } = e, l = c === y, u = l && (h || g) ? 16 : 0;
|
|
2149
|
-
return l && g ? /* @__PURE__ */ D("g", { children: [/* @__PURE__ */ E(
|
|
2149
|
+
return l && g ? /* @__PURE__ */ D("g", { children: [/* @__PURE__ */ E(Kt, {
|
|
2150
2150
|
cx: t,
|
|
2151
2151
|
cy: n,
|
|
2152
2152
|
innerRadius: r,
|
|
@@ -2154,7 +2154,7 @@ var K = {
|
|
|
2154
2154
|
startAngle: a,
|
|
2155
2155
|
endAngle: o,
|
|
2156
2156
|
fill: s
|
|
2157
|
-
}), /* @__PURE__ */ E(
|
|
2157
|
+
}), /* @__PURE__ */ E(Kt, {
|
|
2158
2158
|
cx: t,
|
|
2159
2159
|
cy: n,
|
|
2160
2160
|
innerRadius: i + u + 3,
|
|
@@ -2162,7 +2162,7 @@ var K = {
|
|
|
2162
2162
|
startAngle: a,
|
|
2163
2163
|
endAngle: o,
|
|
2164
2164
|
fill: s
|
|
2165
|
-
})] }) : /* @__PURE__ */ E(
|
|
2165
|
+
})] }) : /* @__PURE__ */ E(Kt, {
|
|
2166
2166
|
cx: t,
|
|
2167
2167
|
cy: n,
|
|
2168
2168
|
innerRadius: r,
|
|
@@ -2172,7 +2172,7 @@ var K = {
|
|
|
2172
2172
|
fill: s
|
|
2173
2173
|
});
|
|
2174
2174
|
}, x = (e) => {
|
|
2175
|
-
let { cx: t, cy: n, midAngle: r, outerRadius: i } = e, a = r ?? 0, o = Math.cos(-a *
|
|
2175
|
+
let { cx: t, cy: n, midAngle: r, outerRadius: i } = e, a = r ?? 0, o = Math.cos(-a * xr), s = Math.sin(-a * xr), c = t + i * o, l = n + i * s, u = t + (i + 16) * o, d = n + (i + 16) * s, f = o >= 0, p = u + (f ? 14 : -14);
|
|
2176
2176
|
return {
|
|
2177
2177
|
d: `M ${c} ${l} L ${u} ${d} L ${p} ${d}`,
|
|
2178
2178
|
endX: p,
|
|
@@ -2212,8 +2212,8 @@ var K = {
|
|
|
2212
2212
|
}, S = (t) => {
|
|
2213
2213
|
let { cx: n, cy: r, midAngle: i, innerRadius: a, outerRadius: o, index: s } = t, c = (a + o) / 2;
|
|
2214
2214
|
return /* @__PURE__ */ E("text", {
|
|
2215
|
-
x: n + c * Math.cos(-i *
|
|
2216
|
-
y: r + c * Math.sin(-i *
|
|
2215
|
+
x: n + c * Math.cos(-i * xr),
|
|
2216
|
+
y: r + c * Math.sin(-i * xr),
|
|
2217
2217
|
textAnchor: "middle",
|
|
2218
2218
|
dominantBaseline: "central",
|
|
2219
2219
|
fill: "#fff",
|
|
@@ -2227,13 +2227,13 @@ var K = {
|
|
|
2227
2227
|
let t = (e) => c !== void 0 && c !== e ? .45 : 1;
|
|
2228
2228
|
return /* @__PURE__ */ E("div", {
|
|
2229
2229
|
ref: o,
|
|
2230
|
-
className: [
|
|
2230
|
+
className: [hr.chart, a ?? ""].filter(Boolean).join(" "),
|
|
2231
2231
|
style: { height: p.h },
|
|
2232
|
-
children: /* @__PURE__ */ E(
|
|
2232
|
+
children: /* @__PURE__ */ E(Gt, {
|
|
2233
2233
|
width: "100%",
|
|
2234
2234
|
height: "100%",
|
|
2235
|
-
children: /* @__PURE__ */ D(
|
|
2236
|
-
/* @__PURE__ */ E(
|
|
2235
|
+
children: /* @__PURE__ */ D(Lt, { children: [
|
|
2236
|
+
/* @__PURE__ */ E(It, {
|
|
2237
2237
|
data: e,
|
|
2238
2238
|
dataKey: "value",
|
|
2239
2239
|
nameKey: "label",
|
|
@@ -2244,12 +2244,12 @@ var K = {
|
|
|
2244
2244
|
isAnimationActive: !1,
|
|
2245
2245
|
onMouseEnter: (e, t) => l(t),
|
|
2246
2246
|
onMouseLeave: () => l(void 0),
|
|
2247
|
-
children: e.map((e, n) => /* @__PURE__ */ E(
|
|
2247
|
+
children: e.map((e, n) => /* @__PURE__ */ E(Pt, {
|
|
2248
2248
|
fill: u[n % u.length],
|
|
2249
2249
|
fillOpacity: t(n)
|
|
2250
2250
|
}, n))
|
|
2251
2251
|
}),
|
|
2252
|
-
/* @__PURE__ */ E(
|
|
2252
|
+
/* @__PURE__ */ E(It, {
|
|
2253
2253
|
data: e,
|
|
2254
2254
|
dataKey: "value",
|
|
2255
2255
|
nameKey: "label",
|
|
@@ -2260,12 +2260,12 @@ var K = {
|
|
|
2260
2260
|
isAnimationActive: !1,
|
|
2261
2261
|
onMouseEnter: (e, t) => l(t),
|
|
2262
2262
|
onMouseLeave: () => l(void 0),
|
|
2263
|
-
children: e.map((e, n) => /* @__PURE__ */ E(
|
|
2263
|
+
children: e.map((e, n) => /* @__PURE__ */ E(Pt, {
|
|
2264
2264
|
fill: u[n % u.length],
|
|
2265
2265
|
fillOpacity: t(n)
|
|
2266
2266
|
}, n))
|
|
2267
2267
|
}),
|
|
2268
|
-
/* @__PURE__ */ E(
|
|
2268
|
+
/* @__PURE__ */ E(qt, {
|
|
2269
2269
|
content: /* @__PURE__ */ E(de, {}),
|
|
2270
2270
|
wrapperStyle: { zIndex: 50 }
|
|
2271
2271
|
})
|
|
@@ -2275,12 +2275,12 @@ var K = {
|
|
|
2275
2275
|
}
|
|
2276
2276
|
return /* @__PURE__ */ D("div", {
|
|
2277
2277
|
ref: o,
|
|
2278
|
-
className: [
|
|
2278
|
+
className: [hr.chart, a ?? ""].filter(Boolean).join(" "),
|
|
2279
2279
|
style: { height: p.h },
|
|
2280
|
-
children: [/* @__PURE__ */ E(
|
|
2280
|
+
children: [/* @__PURE__ */ E(Gt, {
|
|
2281
2281
|
width: "100%",
|
|
2282
2282
|
height: "100%",
|
|
2283
|
-
children: /* @__PURE__ */ D(
|
|
2283
|
+
children: /* @__PURE__ */ D(Lt, { children: [/* @__PURE__ */ E(It, {
|
|
2284
2284
|
data: e,
|
|
2285
2285
|
dataKey: "value",
|
|
2286
2286
|
nameKey: "label",
|
|
@@ -2295,23 +2295,23 @@ var K = {
|
|
|
2295
2295
|
labelLine: !1,
|
|
2296
2296
|
onMouseEnter: (e, t) => l(t),
|
|
2297
2297
|
onMouseLeave: () => l(void 0),
|
|
2298
|
-
children: e.map((e, t) => /* @__PURE__ */ E(
|
|
2299
|
-
}), /* @__PURE__ */ E(
|
|
2298
|
+
children: e.map((e, t) => /* @__PURE__ */ E(Pt, { fill: u[t % u.length] }, t))
|
|
2299
|
+
}), /* @__PURE__ */ E(qt, {
|
|
2300
2300
|
content: /* @__PURE__ */ E(de, {}),
|
|
2301
2301
|
wrapperStyle: { zIndex: 50 }
|
|
2302
2302
|
})] })
|
|
2303
2303
|
}), v && /* @__PURE__ */ D("div", {
|
|
2304
|
-
className:
|
|
2304
|
+
className: hr.center,
|
|
2305
2305
|
children: [r && /* @__PURE__ */ E("span", {
|
|
2306
|
-
className:
|
|
2306
|
+
className: hr.center__value,
|
|
2307
2307
|
children: r
|
|
2308
2308
|
}), i && /* @__PURE__ */ E("span", {
|
|
2309
|
-
className:
|
|
2309
|
+
className: hr.center__caption,
|
|
2310
2310
|
children: i
|
|
2311
2311
|
})]
|
|
2312
2312
|
})]
|
|
2313
2313
|
});
|
|
2314
|
-
},
|
|
2314
|
+
}, K = {
|
|
2315
2315
|
root: "_root_16f5u_2",
|
|
2316
2316
|
trigger: "_trigger_16f5u_3",
|
|
2317
2317
|
panel: "_panel_16f5u_5",
|
|
@@ -2329,7 +2329,7 @@ var K = {
|
|
|
2329
2329
|
panel__description: "_panel__description_16f5u_76",
|
|
2330
2330
|
panel__body: "_panel__body_16f5u_77",
|
|
2331
2331
|
panel__actions: "_panel__actions_16f5u_78"
|
|
2332
|
-
},
|
|
2332
|
+
}, Cr = ({ trigger: e, title: t, description: n, actions: r, placement: i = "bottom-start", children: a, className: o }) => {
|
|
2333
2333
|
let [s, c] = T.useState(!1), [l, u] = T.useState(!1), d = T.useRef(null), f = T.useRef(null);
|
|
2334
2334
|
return T.useEffect(() => {
|
|
2335
2335
|
s && u(!0);
|
|
@@ -2350,19 +2350,19 @@ var K = {
|
|
|
2350
2350
|
}, [s]), T.useEffect(() => {
|
|
2351
2351
|
!s && f.current && (f.current.focus(), f.current = null);
|
|
2352
2352
|
}, [s]), /* @__PURE__ */ D("div", {
|
|
2353
|
-
className: [
|
|
2353
|
+
className: [K.root, o ?? ""].filter(Boolean).join(" "),
|
|
2354
2354
|
ref: d,
|
|
2355
2355
|
children: [/* @__PURE__ */ E("span", {
|
|
2356
|
-
className:
|
|
2356
|
+
className: K.trigger,
|
|
2357
2357
|
onClick: () => {
|
|
2358
2358
|
s || (f.current = document.activeElement), c((e) => !e);
|
|
2359
2359
|
},
|
|
2360
2360
|
children: e
|
|
2361
2361
|
}), l && /* @__PURE__ */ D("div", {
|
|
2362
2362
|
className: [
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
s ?
|
|
2363
|
+
K.panel,
|
|
2364
|
+
K[`panel--${i}`],
|
|
2365
|
+
s ? K["panel--entering"] : K["panel--exiting"]
|
|
2366
2366
|
].filter(Boolean).join(" "),
|
|
2367
2367
|
role: "dialog",
|
|
2368
2368
|
onAnimationEnd: (e) => {
|
|
@@ -2370,37 +2370,37 @@ var K = {
|
|
|
2370
2370
|
},
|
|
2371
2371
|
children: [
|
|
2372
2372
|
t && /* @__PURE__ */ E("div", {
|
|
2373
|
-
className:
|
|
2373
|
+
className: K.panel__title,
|
|
2374
2374
|
children: t
|
|
2375
2375
|
}),
|
|
2376
2376
|
n && /* @__PURE__ */ E("div", {
|
|
2377
|
-
className:
|
|
2377
|
+
className: K.panel__description,
|
|
2378
2378
|
children: n
|
|
2379
2379
|
}),
|
|
2380
2380
|
a && /* @__PURE__ */ E("div", {
|
|
2381
|
-
className:
|
|
2381
|
+
className: K.panel__body,
|
|
2382
2382
|
children: a
|
|
2383
2383
|
}),
|
|
2384
2384
|
r && /* @__PURE__ */ E("div", {
|
|
2385
|
-
className:
|
|
2385
|
+
className: K.panel__actions,
|
|
2386
2386
|
children: r
|
|
2387
2387
|
})
|
|
2388
2388
|
]
|
|
2389
2389
|
})]
|
|
2390
2390
|
});
|
|
2391
|
-
},
|
|
2391
|
+
}, wr = {
|
|
2392
2392
|
chart: "_chart_q6xhl_2",
|
|
2393
2393
|
circleFillSvg: "_circleFillSvg_q6xhl_17"
|
|
2394
|
-
},
|
|
2394
|
+
}, Tr = {
|
|
2395
2395
|
sm: 200,
|
|
2396
2396
|
md: 260,
|
|
2397
2397
|
lg: 340,
|
|
2398
2398
|
xl: 420
|
|
2399
|
-
},
|
|
2399
|
+
}, Er = /* @__PURE__ */ new Set([
|
|
2400
2400
|
"circle-grid",
|
|
2401
2401
|
"circle-grid-no-lines",
|
|
2402
2402
|
"circle-grid-filled"
|
|
2403
|
-
]),
|
|
2403
|
+
]), Dr = /* @__PURE__ */ new Set(["default", "grid-custom"]), Or = /* @__PURE__ */ new Set(["dots-grid-none"]), kr = /* @__PURE__ */ new Set(["grid-filled"]), Ar = (e) => e === "circle-grid-filled", jr = /* @__PURE__ */ new Set([
|
|
2404
2404
|
"default",
|
|
2405
2405
|
"dots",
|
|
2406
2406
|
"dots-grid-none",
|
|
@@ -2411,14 +2411,14 @@ var K = {
|
|
|
2411
2411
|
"grid-custom",
|
|
2412
2412
|
"grid-filled",
|
|
2413
2413
|
"circle-grid-filled"
|
|
2414
|
-
]),
|
|
2414
|
+
]), Mr = [
|
|
2415
2415
|
1,
|
|
2416
2416
|
.8,
|
|
2417
2417
|
.6,
|
|
2418
2418
|
.4,
|
|
2419
2419
|
.2
|
|
2420
|
-
],
|
|
2421
|
-
let a = T.useRef(null), o = Ue(a), s = o("--color-chart-1") ?? "#ff4700", c = o("--color-chart-2") ?? "#5b92dd", l = o("--color-border-default") ?? "#dbdad7", u = o("--color-fg-subtle") ?? "#a8a29b", d = t === "multiple", f = t === "lines-only", p = d || t === "custom-label" || f, m = !f, h = t === "dots" || t === "dots-grid-none" || t === "circle-grid" || t === "circle-grid-no-lines", g =
|
|
2420
|
+
], Nr = ({ data: e, variant: t = "default", size: n = "md", seriesLabels: r = ["Value", "Value 2"], className: i }) => {
|
|
2421
|
+
let a = T.useRef(null), o = Ue(a), s = o("--color-chart-1") ?? "#ff4700", c = o("--color-chart-2") ?? "#5b92dd", l = o("--color-border-default") ?? "#dbdad7", u = o("--color-fg-subtle") ?? "#a8a29b", d = t === "multiple", f = t === "lines-only", p = d || t === "custom-label" || f, m = !f, h = t === "dots" || t === "dots-grid-none" || t === "circle-grid" || t === "circle-grid-no-lines", g = kr.has(t), _ = Dr.has(t), v = Or.has(t), y = Ar(t), [b, x] = T.useState(0);
|
|
2422
2422
|
T.useEffect(() => {
|
|
2423
2423
|
if (!y || !a.current) return;
|
|
2424
2424
|
let e = a.current, t = new ResizeObserver(([e]) => x(e.contentRect.width));
|
|
@@ -2429,7 +2429,7 @@ var K = {
|
|
|
2429
2429
|
let t = Math.max(1, ...e.flatMap((e) => [e.value, e.value2 ?? 0]));
|
|
2430
2430
|
return e.map((e) => {
|
|
2431
2431
|
let n = {};
|
|
2432
|
-
return
|
|
2432
|
+
return Mr.forEach((e, r) => {
|
|
2433
2433
|
n[`ring${r}`] = e * t;
|
|
2434
2434
|
}), {
|
|
2435
2435
|
...e,
|
|
@@ -2465,34 +2465,34 @@ var K = {
|
|
|
2465
2465
|
fontFamily: "var(--font-sans)",
|
|
2466
2466
|
children: c.label
|
|
2467
2467
|
})] });
|
|
2468
|
-
}, S =
|
|
2468
|
+
}, S = Tr[n], ne = (b > 0 ? Math.min(b, S) / 2 - 5 : 0) * .7;
|
|
2469
2469
|
return /* @__PURE__ */ D("div", {
|
|
2470
2470
|
ref: a,
|
|
2471
|
-
className: [
|
|
2471
|
+
className: [wr.chart, i ?? ""].filter(Boolean).join(" "),
|
|
2472
2472
|
children: [y && b > 0 && /* @__PURE__ */ E("svg", {
|
|
2473
|
-
className:
|
|
2473
|
+
className: wr.circleFillSvg,
|
|
2474
2474
|
width: b,
|
|
2475
2475
|
height: S,
|
|
2476
|
-
children:
|
|
2476
|
+
children: Mr.map((e) => /* @__PURE__ */ E("circle", {
|
|
2477
2477
|
cx: b / 2,
|
|
2478
2478
|
cy: S / 2,
|
|
2479
2479
|
r: ne * e,
|
|
2480
2480
|
fill: c,
|
|
2481
2481
|
fillOpacity: .1
|
|
2482
2482
|
}, e))
|
|
2483
|
-
}), /* @__PURE__ */ E(
|
|
2483
|
+
}), /* @__PURE__ */ E(Gt, {
|
|
2484
2484
|
width: "100%",
|
|
2485
2485
|
height: S,
|
|
2486
|
-
children: /* @__PURE__ */ D(
|
|
2486
|
+
children: /* @__PURE__ */ D(Ht, {
|
|
2487
2487
|
data: ee,
|
|
2488
2488
|
outerRadius: "70%",
|
|
2489
2489
|
children: [
|
|
2490
|
-
!g && !v && /* @__PURE__ */ E(
|
|
2491
|
-
gridType:
|
|
2490
|
+
!g && !v && /* @__PURE__ */ E(zt, {
|
|
2491
|
+
gridType: Er.has(t) ? "circle" : "polygon",
|
|
2492
2492
|
radialLines: t !== "circle-grid-no-lines" && !_,
|
|
2493
2493
|
stroke: l
|
|
2494
2494
|
}),
|
|
2495
|
-
/* @__PURE__ */ E(
|
|
2495
|
+
/* @__PURE__ */ E(Rt, {
|
|
2496
2496
|
dataKey: "label",
|
|
2497
2497
|
axisLine: !1,
|
|
2498
2498
|
tick: t === "custom-label" ? te : {
|
|
@@ -2501,20 +2501,20 @@ var K = {
|
|
|
2501
2501
|
fontFamily: "var(--font-sans)"
|
|
2502
2502
|
}
|
|
2503
2503
|
}),
|
|
2504
|
-
/* @__PURE__ */ E(
|
|
2504
|
+
/* @__PURE__ */ E(Bt, {
|
|
2505
2505
|
tick: !1,
|
|
2506
2506
|
axisLine: !1,
|
|
2507
2507
|
tickCount: _ ? 2 : void 0
|
|
2508
2508
|
}),
|
|
2509
|
-
/* @__PURE__ */ E(
|
|
2509
|
+
/* @__PURE__ */ E(qt, {
|
|
2510
2510
|
content: /* @__PURE__ */ E(de, {}),
|
|
2511
2511
|
wrapperStyle: { zIndex: 50 }
|
|
2512
2512
|
}),
|
|
2513
|
-
d && /* @__PURE__ */ E(
|
|
2513
|
+
d && /* @__PURE__ */ E(Ft, { wrapperStyle: {
|
|
2514
2514
|
fontSize: 12,
|
|
2515
2515
|
fontFamily: "var(--font-sans)"
|
|
2516
2516
|
} }),
|
|
2517
|
-
g &&
|
|
2517
|
+
g && Mr.map((e, t) => /* @__PURE__ */ E(Vt, {
|
|
2518
2518
|
dataKey: `ring${t}`,
|
|
2519
2519
|
stroke: "none",
|
|
2520
2520
|
fill: c,
|
|
@@ -2522,13 +2522,13 @@ var K = {
|
|
|
2522
2522
|
isAnimationActive: !1,
|
|
2523
2523
|
legendType: "none"
|
|
2524
2524
|
}, `ring${t}`)),
|
|
2525
|
-
/* @__PURE__ */ E(
|
|
2525
|
+
/* @__PURE__ */ E(Vt, {
|
|
2526
2526
|
name: d ? r[0] ?? "Value" : void 0,
|
|
2527
2527
|
dataKey: "value",
|
|
2528
|
-
stroke:
|
|
2528
|
+
stroke: jr.has(t) ? "none" : c,
|
|
2529
2529
|
fill: m ? c : "none",
|
|
2530
2530
|
fillOpacity: m ? _ ? 1 : p ? .45 : .5 : 0,
|
|
2531
|
-
strokeWidth:
|
|
2531
|
+
strokeWidth: jr.has(t) ? 0 : 2,
|
|
2532
2532
|
dot: h ? {
|
|
2533
2533
|
r: 4,
|
|
2534
2534
|
fill: c,
|
|
@@ -2536,7 +2536,7 @@ var K = {
|
|
|
2536
2536
|
} : !1,
|
|
2537
2537
|
isAnimationActive: !1
|
|
2538
2538
|
}),
|
|
2539
|
-
p && /* @__PURE__ */ E(
|
|
2539
|
+
p && /* @__PURE__ */ E(Vt, {
|
|
2540
2540
|
name: d ? r[1] ?? "Value 2" : void 0,
|
|
2541
2541
|
dataKey: "value2",
|
|
2542
2542
|
stroke: f ? s : "none",
|
|
@@ -2554,35 +2554,35 @@ var K = {
|
|
|
2554
2554
|
})
|
|
2555
2555
|
})]
|
|
2556
2556
|
});
|
|
2557
|
-
},
|
|
2557
|
+
}, q = {
|
|
2558
2558
|
chart: "_chart_1ogmh_2",
|
|
2559
2559
|
gridSvg: "_gridSvg_1ogmh_19",
|
|
2560
2560
|
gaugeSvg: "_gaugeSvg_1ogmh_31",
|
|
2561
2561
|
center: "_center_1ogmh_36",
|
|
2562
2562
|
center__value: "_center__value_1ogmh_45",
|
|
2563
2563
|
center__caption: "_center__caption_1ogmh_46"
|
|
2564
|
-
},
|
|
2564
|
+
}, Pr = {
|
|
2565
2565
|
sm: 180,
|
|
2566
2566
|
md: 220,
|
|
2567
2567
|
lg: 280,
|
|
2568
2568
|
xl: 340
|
|
2569
|
-
},
|
|
2569
|
+
}, Fr = Math.PI / 180, Ir = (e) => Math.round(e * 1e3) / 1e3, Lr = {
|
|
2570
2570
|
multi: ["30%", "100%"],
|
|
2571
2571
|
grid: ["30%", "100%"],
|
|
2572
2572
|
"stacked-label": ["30%", "100%"],
|
|
2573
2573
|
text: ["76%", "100%"]
|
|
2574
|
-
},
|
|
2574
|
+
}, Rr = ({ value: e, max: t, color: n, track: r, centerValue: i, centerCaption: a, labelColor: o, captionColor: s }) => {
|
|
2575
2575
|
let c = Math.round(Math.min(e, t) / t * 40);
|
|
2576
2576
|
return /* @__PURE__ */ D("svg", {
|
|
2577
2577
|
viewBox: "0 0 200 120",
|
|
2578
|
-
className:
|
|
2578
|
+
className: q.gaugeSvg,
|
|
2579
2579
|
children: [Array.from({ length: 40 }).map((e, t) => {
|
|
2580
2580
|
let i = 180 + t / 39 * 180;
|
|
2581
2581
|
return /* @__PURE__ */ E("line", {
|
|
2582
|
-
x1:
|
|
2583
|
-
y1:
|
|
2584
|
-
x2:
|
|
2585
|
-
y2:
|
|
2582
|
+
x1: Ir(100 + 78 * Math.cos(i * Fr)),
|
|
2583
|
+
y1: Ir(100 + 78 * Math.sin(i * Fr)),
|
|
2584
|
+
x2: Ir(100 + 92 * Math.cos(i * Fr)),
|
|
2585
|
+
y2: Ir(100 + 92 * Math.sin(i * Fr)),
|
|
2586
2586
|
stroke: t < c ? n : r,
|
|
2587
2587
|
strokeWidth: 2.5,
|
|
2588
2588
|
strokeLinecap: "round"
|
|
@@ -2606,9 +2606,9 @@ var K = {
|
|
|
2606
2606
|
})]
|
|
2607
2607
|
})]
|
|
2608
2608
|
});
|
|
2609
|
-
},
|
|
2609
|
+
}, zr = ({ rings: e, spokes: t, color: n }) => /* @__PURE__ */ D("svg", {
|
|
2610
2610
|
viewBox: "0 0 200 200",
|
|
2611
|
-
className:
|
|
2611
|
+
className: q.gridSvg,
|
|
2612
2612
|
children: [Array.from({ length: e }).map((t, r) => /* @__PURE__ */ E("circle", {
|
|
2613
2613
|
cx: 100,
|
|
2614
2614
|
cy: 100,
|
|
@@ -2621,13 +2621,13 @@ var K = {
|
|
|
2621
2621
|
return /* @__PURE__ */ E("line", {
|
|
2622
2622
|
x1: 100,
|
|
2623
2623
|
y1: 100,
|
|
2624
|
-
x2:
|
|
2625
|
-
y2:
|
|
2624
|
+
x2: Ir(100 + a * Math.cos(i * Fr)),
|
|
2625
|
+
y2: Ir(100 + a * Math.sin(i * Fr)),
|
|
2626
2626
|
stroke: n,
|
|
2627
2627
|
strokeWidth: 1
|
|
2628
2628
|
}, r);
|
|
2629
2629
|
})]
|
|
2630
|
-
}),
|
|
2630
|
+
}), Br = ({ data: e, palette: t, track: n, centerValue: r, centerCaption: i, labelColor: a, captionColor: o }) => {
|
|
2631
2631
|
let s = e[0]?.max ?? e.reduce((e, t) => e + t.value, 0), c = 210, l = e.map((e, n) => {
|
|
2632
2632
|
let r = s > 0 ? e.value / s * 240 : 0, i = c, a = c - r;
|
|
2633
2633
|
return c = a, {
|
|
@@ -2638,9 +2638,9 @@ var K = {
|
|
|
2638
2638
|
});
|
|
2639
2639
|
return /* @__PURE__ */ D("svg", {
|
|
2640
2640
|
viewBox: "0 0 200 160",
|
|
2641
|
-
className:
|
|
2641
|
+
className: q.gaugeSvg,
|
|
2642
2642
|
children: [
|
|
2643
|
-
l.map((e, t) => /* @__PURE__ */ E(
|
|
2643
|
+
l.map((e, t) => /* @__PURE__ */ E(Kt, {
|
|
2644
2644
|
cx: 100,
|
|
2645
2645
|
cy: 100,
|
|
2646
2646
|
innerRadius: 64,
|
|
@@ -2650,7 +2650,7 @@ var K = {
|
|
|
2650
2650
|
fill: e.fill,
|
|
2651
2651
|
cornerRadius: 4
|
|
2652
2652
|
}, t)),
|
|
2653
|
-
c > -29.5 && /* @__PURE__ */ E(
|
|
2653
|
+
c > -29.5 && /* @__PURE__ */ E(Kt, {
|
|
2654
2654
|
cx: 100,
|
|
2655
2655
|
cy: 100,
|
|
2656
2656
|
innerRadius: 64,
|
|
@@ -2680,21 +2680,21 @@ var K = {
|
|
|
2680
2680
|
})
|
|
2681
2681
|
]
|
|
2682
2682
|
});
|
|
2683
|
-
},
|
|
2683
|
+
}, Vr = ({ data: e, variant: t = "multi", size: n = "md", centerValue: r, centerCaption: i, className: a }) => {
|
|
2684
2684
|
let o = T.useRef(null), s = Ue(o), c = [
|
|
2685
2685
|
1,
|
|
2686
2686
|
2,
|
|
2687
2687
|
3,
|
|
2688
2688
|
4,
|
|
2689
2689
|
5
|
|
2690
|
-
].map((e) => s(`--color-chart-${e}`) ?? Ie[e - 1]), l = s("--color-bg-subtle") ?? "#f5f4f2", u = s("--color-border-subtle") ?? "#e7e5e1", d = s("--color-fg-default") ?? "#141414", f = s("--color-fg-muted") ?? "#78716a", p =
|
|
2690
|
+
].map((e) => s(`--color-chart-${e}`) ?? Ie[e - 1]), l = s("--color-bg-subtle") ?? "#f5f4f2", u = s("--color-border-subtle") ?? "#e7e5e1", d = s("--color-fg-default") ?? "#141414", f = s("--color-fg-muted") ?? "#78716a", p = Pr[n];
|
|
2691
2691
|
if (t === "gauge-tick") {
|
|
2692
2692
|
let t = e[0];
|
|
2693
2693
|
return /* @__PURE__ */ E("div", {
|
|
2694
2694
|
ref: o,
|
|
2695
|
-
className: [
|
|
2695
|
+
className: [q.chart, a ?? ""].filter(Boolean).join(" "),
|
|
2696
2696
|
style: { height: p },
|
|
2697
|
-
children: /* @__PURE__ */ E(
|
|
2697
|
+
children: /* @__PURE__ */ E(Rr, {
|
|
2698
2698
|
value: t?.value ?? 0,
|
|
2699
2699
|
max: t?.max ?? 100,
|
|
2700
2700
|
color: c[0],
|
|
@@ -2708,9 +2708,9 @@ var K = {
|
|
|
2708
2708
|
}
|
|
2709
2709
|
if (t === "shape" || t === "stacked" || t === "stacked-3-layers") return /* @__PURE__ */ E("div", {
|
|
2710
2710
|
ref: o,
|
|
2711
|
-
className: [
|
|
2711
|
+
className: [q.chart, a ?? ""].filter(Boolean).join(" "),
|
|
2712
2712
|
style: { height: p },
|
|
2713
|
-
children: /* @__PURE__ */ E(
|
|
2713
|
+
children: /* @__PURE__ */ E(Br, {
|
|
2714
2714
|
data: e,
|
|
2715
2715
|
palette: c,
|
|
2716
2716
|
track: l,
|
|
@@ -2720,54 +2720,54 @@ var K = {
|
|
|
2720
2720
|
captionColor: f
|
|
2721
2721
|
})
|
|
2722
2722
|
});
|
|
2723
|
-
let [m, h] =
|
|
2723
|
+
let [m, h] = Lr[t] ?? ["30%", "100%"], g = (t === "stacked-label" || t === "text") && (r || i);
|
|
2724
2724
|
return /* @__PURE__ */ D("div", {
|
|
2725
2725
|
ref: o,
|
|
2726
|
-
className: [
|
|
2726
|
+
className: [q.chart, a ?? ""].filter(Boolean).join(" "),
|
|
2727
2727
|
style: { height: p },
|
|
2728
2728
|
children: [
|
|
2729
|
-
t === "grid" && /* @__PURE__ */ E(
|
|
2729
|
+
t === "grid" && /* @__PURE__ */ E(zr, {
|
|
2730
2730
|
rings: 8,
|
|
2731
2731
|
spokes: 12,
|
|
2732
2732
|
color: u
|
|
2733
2733
|
}),
|
|
2734
|
-
/* @__PURE__ */ E(
|
|
2734
|
+
/* @__PURE__ */ E(Gt, {
|
|
2735
2735
|
width: "100%",
|
|
2736
2736
|
height: "100%",
|
|
2737
|
-
children: /* @__PURE__ */ D(
|
|
2737
|
+
children: /* @__PURE__ */ D(Wt, {
|
|
2738
2738
|
data: e,
|
|
2739
2739
|
innerRadius: m,
|
|
2740
2740
|
outerRadius: h,
|
|
2741
2741
|
startAngle: 90,
|
|
2742
2742
|
endAngle: -270,
|
|
2743
2743
|
barCategoryGap: "12%",
|
|
2744
|
-
children: [/* @__PURE__ */ E(
|
|
2744
|
+
children: [/* @__PURE__ */ E(Rt, {
|
|
2745
2745
|
type: "number",
|
|
2746
2746
|
domain: [0, e[0]?.max ?? 100],
|
|
2747
2747
|
tick: !1,
|
|
2748
2748
|
axisLine: !1
|
|
2749
|
-
}), /* @__PURE__ */ E(
|
|
2749
|
+
}), /* @__PURE__ */ E(Ut, {
|
|
2750
2750
|
dataKey: "value",
|
|
2751
2751
|
background: t !== "grid" && { fill: l },
|
|
2752
2752
|
cornerRadius: 8,
|
|
2753
2753
|
isAnimationActive: !1,
|
|
2754
|
-
children: e.map((e, t) => /* @__PURE__ */ E(
|
|
2754
|
+
children: e.map((e, t) => /* @__PURE__ */ E(Pt, { fill: c[t % c.length] }, t))
|
|
2755
2755
|
})]
|
|
2756
2756
|
})
|
|
2757
2757
|
}),
|
|
2758
2758
|
g && /* @__PURE__ */ D("div", {
|
|
2759
|
-
className:
|
|
2759
|
+
className: q.center,
|
|
2760
2760
|
children: [r && /* @__PURE__ */ E("span", {
|
|
2761
|
-
className:
|
|
2761
|
+
className: q.center__value,
|
|
2762
2762
|
children: r
|
|
2763
2763
|
}), i && /* @__PURE__ */ E("span", {
|
|
2764
|
-
className:
|
|
2764
|
+
className: q.center__caption,
|
|
2765
2765
|
children: i
|
|
2766
2766
|
})]
|
|
2767
2767
|
})
|
|
2768
2768
|
]
|
|
2769
2769
|
});
|
|
2770
|
-
},
|
|
2770
|
+
}, J = {
|
|
2771
2771
|
wrapper: "_wrapper_5ueza_3",
|
|
2772
2772
|
"wrapper--disabled": "_wrapper--disabled_5ueza_11",
|
|
2773
2773
|
input: "_input_5ueza_13",
|
|
@@ -2777,14 +2777,14 @@ var K = {
|
|
|
2777
2777
|
text__label: "_text__label_5ueza_80",
|
|
2778
2778
|
text__description: "_text__description_5ueza_81",
|
|
2779
2779
|
"wrapper--withDescription": "_wrapper--withDescription_5ueza_85"
|
|
2780
|
-
},
|
|
2780
|
+
}, Hr = T.forwardRef(({ label: e, description: t, disabled: n, id: r, className: i, ...a }, o) => {
|
|
2781
2781
|
let s = T.useId(), c = r ?? s;
|
|
2782
2782
|
return /* @__PURE__ */ D("label", {
|
|
2783
2783
|
htmlFor: c,
|
|
2784
2784
|
className: [
|
|
2785
|
-
|
|
2786
|
-
t ?
|
|
2787
|
-
n ?
|
|
2785
|
+
J.wrapper,
|
|
2786
|
+
t ? J["wrapper--withDescription"] : "",
|
|
2787
|
+
n ? J["wrapper--disabled"] : "",
|
|
2788
2788
|
i ?? ""
|
|
2789
2789
|
].filter(Boolean).join(" "),
|
|
2790
2790
|
children: [
|
|
@@ -2793,29 +2793,29 @@ var K = {
|
|
|
2793
2793
|
id: c,
|
|
2794
2794
|
type: "radio",
|
|
2795
2795
|
disabled: n,
|
|
2796
|
-
className:
|
|
2796
|
+
className: J.input,
|
|
2797
2797
|
...a
|
|
2798
2798
|
}),
|
|
2799
2799
|
/* @__PURE__ */ E("span", {
|
|
2800
|
-
className:
|
|
2800
|
+
className: J.circle,
|
|
2801
2801
|
"aria-hidden": "true",
|
|
2802
|
-
children: /* @__PURE__ */ E("span", { className:
|
|
2802
|
+
children: /* @__PURE__ */ E("span", { className: J.dot })
|
|
2803
2803
|
}),
|
|
2804
2804
|
(e || t) && /* @__PURE__ */ D("span", {
|
|
2805
|
-
className:
|
|
2805
|
+
className: J.text,
|
|
2806
2806
|
children: [e && /* @__PURE__ */ E("span", {
|
|
2807
|
-
className:
|
|
2807
|
+
className: J.text__label,
|
|
2808
2808
|
children: e
|
|
2809
2809
|
}), t && /* @__PURE__ */ E("span", {
|
|
2810
|
-
className:
|
|
2810
|
+
className: J.text__description,
|
|
2811
2811
|
children: t
|
|
2812
2812
|
})]
|
|
2813
2813
|
})
|
|
2814
2814
|
]
|
|
2815
2815
|
});
|
|
2816
2816
|
});
|
|
2817
|
-
|
|
2818
|
-
var
|
|
2817
|
+
Hr.displayName = "Radio";
|
|
2818
|
+
var Y = {
|
|
2819
2819
|
footer: "_footer_mks3d_4",
|
|
2820
2820
|
"footer--collapsed": "_footer--collapsed_mks3d_12",
|
|
2821
2821
|
footer__text: "_footer__text_mks3d_14",
|
|
@@ -2823,7 +2823,7 @@ var X = {
|
|
|
2823
2823
|
footer__subtitle: "_footer__subtitle_mks3d_16",
|
|
2824
2824
|
footer__menu: "_footer__menu_mks3d_17",
|
|
2825
2825
|
footer__action: "_footer__action_mks3d_29"
|
|
2826
|
-
},
|
|
2826
|
+
}, Ur = ({ type: e = "user", title: t, subtitle: n, avatarSrc: r, avatarInitials: i, collapsed: a, onMenu: o, onSignOut: s }) => {
|
|
2827
2827
|
let l = /* @__PURE__ */ E(c, {
|
|
2828
2828
|
size: a ? "sm" : "md",
|
|
2829
2829
|
src: r,
|
|
@@ -2831,107 +2831,107 @@ var X = {
|
|
|
2831
2831
|
alt: t ?? "User"
|
|
2832
2832
|
});
|
|
2833
2833
|
return a ? /* @__PURE__ */ E("div", {
|
|
2834
|
-
className: [
|
|
2834
|
+
className: [Y.footer, Y["footer--collapsed"]].join(" "),
|
|
2835
2835
|
children: l
|
|
2836
2836
|
}) : e === "actions" ? /* @__PURE__ */ E("div", {
|
|
2837
|
-
className:
|
|
2837
|
+
className: Y.footer,
|
|
2838
2838
|
children: /* @__PURE__ */ D("button", {
|
|
2839
2839
|
type: "button",
|
|
2840
2840
|
"data-hover-item": "",
|
|
2841
|
-
className:
|
|
2841
|
+
className: Y.footer__action,
|
|
2842
2842
|
onClick: s,
|
|
2843
|
-
children: [/* @__PURE__ */ E(
|
|
2843
|
+
children: [/* @__PURE__ */ E(_t, {
|
|
2844
2844
|
size: 16,
|
|
2845
2845
|
strokeWidth: w(16)
|
|
2846
2846
|
}), " Sign out"]
|
|
2847
2847
|
})
|
|
2848
2848
|
}) : /* @__PURE__ */ D("div", {
|
|
2849
|
-
className:
|
|
2849
|
+
className: Y.footer,
|
|
2850
2850
|
children: [
|
|
2851
2851
|
l,
|
|
2852
2852
|
/* @__PURE__ */ D("span", {
|
|
2853
|
-
className:
|
|
2853
|
+
className: Y.footer__text,
|
|
2854
2854
|
children: [t && /* @__PURE__ */ E("span", {
|
|
2855
|
-
className:
|
|
2855
|
+
className: Y.footer__title,
|
|
2856
2856
|
children: t
|
|
2857
2857
|
}), n && /* @__PURE__ */ E("span", {
|
|
2858
|
-
className:
|
|
2858
|
+
className: Y.footer__subtitle,
|
|
2859
2859
|
children: n
|
|
2860
2860
|
})]
|
|
2861
2861
|
}),
|
|
2862
2862
|
e === "user-menu" && /* @__PURE__ */ E("button", {
|
|
2863
2863
|
type: "button",
|
|
2864
2864
|
"data-hover-item": "",
|
|
2865
|
-
className:
|
|
2865
|
+
className: Y.footer__menu,
|
|
2866
2866
|
onClick: o,
|
|
2867
2867
|
"aria-label": "Open menu",
|
|
2868
|
-
children: /* @__PURE__ */ E(
|
|
2868
|
+
children: /* @__PURE__ */ E(pt, {
|
|
2869
2869
|
size: 16,
|
|
2870
2870
|
strokeWidth: w(16)
|
|
2871
2871
|
})
|
|
2872
2872
|
})
|
|
2873
2873
|
]
|
|
2874
2874
|
});
|
|
2875
|
-
},
|
|
2875
|
+
}, X = {
|
|
2876
2876
|
search: "_search_1fdme_2",
|
|
2877
2877
|
search__icon: "_search__icon_1fdme_25",
|
|
2878
2878
|
search__input: "_search__input_1fdme_26",
|
|
2879
2879
|
search__placeholder: "_search__placeholder_1fdme_38",
|
|
2880
2880
|
search__kbd: "_search__kbd_1fdme_39",
|
|
2881
2881
|
collapsed: "_collapsed_1fdme_53"
|
|
2882
|
-
},
|
|
2882
|
+
}, Wr = ({ type: e = "field", placeholder: t = "Search…", collapsed: n, value: r, onChange: i, onClick: a }) => n ? /* @__PURE__ */ E("button", {
|
|
2883
2883
|
type: "button",
|
|
2884
|
-
className:
|
|
2884
|
+
className: X.collapsed,
|
|
2885
2885
|
onClick: a,
|
|
2886
2886
|
"aria-label": "Search",
|
|
2887
|
-
children: /* @__PURE__ */ E(
|
|
2887
|
+
children: /* @__PURE__ */ E(wt, {
|
|
2888
2888
|
size: 18,
|
|
2889
2889
|
strokeWidth: w(18)
|
|
2890
2890
|
})
|
|
2891
2891
|
}) : e === "command" ? /* @__PURE__ */ D("button", {
|
|
2892
2892
|
type: "button",
|
|
2893
|
-
className:
|
|
2893
|
+
className: X.search,
|
|
2894
2894
|
onClick: a,
|
|
2895
2895
|
children: [
|
|
2896
|
-
/* @__PURE__ */ E(
|
|
2896
|
+
/* @__PURE__ */ E(wt, {
|
|
2897
2897
|
size: 16,
|
|
2898
2898
|
strokeWidth: w(16),
|
|
2899
|
-
className:
|
|
2899
|
+
className: X.search__icon
|
|
2900
2900
|
}),
|
|
2901
2901
|
/* @__PURE__ */ E("span", {
|
|
2902
|
-
className:
|
|
2902
|
+
className: X.search__placeholder,
|
|
2903
2903
|
children: t
|
|
2904
2904
|
}),
|
|
2905
2905
|
/* @__PURE__ */ E("kbd", {
|
|
2906
|
-
className:
|
|
2906
|
+
className: X.search__kbd,
|
|
2907
2907
|
children: "⌘K"
|
|
2908
2908
|
})
|
|
2909
2909
|
]
|
|
2910
2910
|
}) : /* @__PURE__ */ D("div", {
|
|
2911
|
-
className:
|
|
2912
|
-
children: [/* @__PURE__ */ E(
|
|
2911
|
+
className: X.search,
|
|
2912
|
+
children: [/* @__PURE__ */ E(wt, {
|
|
2913
2913
|
size: 16,
|
|
2914
2914
|
strokeWidth: w(16),
|
|
2915
|
-
className:
|
|
2915
|
+
className: X.search__icon
|
|
2916
2916
|
}), /* @__PURE__ */ E("input", {
|
|
2917
|
-
className:
|
|
2917
|
+
className: X.search__input,
|
|
2918
2918
|
placeholder: t,
|
|
2919
2919
|
value: r,
|
|
2920
2920
|
onChange: (e) => i?.(e.target.value)
|
|
2921
2921
|
})]
|
|
2922
|
-
}),
|
|
2922
|
+
}), Gr = {
|
|
2923
2923
|
spinner: "_spinner_14r00_3",
|
|
2924
2924
|
"spinner--sm": "_spinner--sm_14r00_12",
|
|
2925
2925
|
"spinner--md": "_spinner--md_14r00_13",
|
|
2926
2926
|
"spinner--lg": "_spinner--lg_14r00_14",
|
|
2927
2927
|
spinner__svg: "_spinner__svg_14r00_17",
|
|
2928
2928
|
"spinner-rotate": "_spinner-rotate_14r00_1"
|
|
2929
|
-
},
|
|
2929
|
+
}, Kr = ({ size: e = "md", label: t = "Loading...", className: n }) => /* @__PURE__ */ E("span", {
|
|
2930
2930
|
role: "status",
|
|
2931
2931
|
"aria-label": t,
|
|
2932
2932
|
className: [
|
|
2933
|
-
|
|
2934
|
-
|
|
2933
|
+
Gr.spinner,
|
|
2934
|
+
Gr[`spinner--${e}`],
|
|
2935
2935
|
n ?? ""
|
|
2936
2936
|
].filter(Boolean).join(" "),
|
|
2937
2937
|
children: /* @__PURE__ */ D("svg", {
|
|
@@ -2941,7 +2941,7 @@ var X = {
|
|
|
2941
2941
|
strokeWidth: 2.5,
|
|
2942
2942
|
strokeLinecap: "round",
|
|
2943
2943
|
"aria-hidden": "true",
|
|
2944
|
-
className:
|
|
2944
|
+
className: Gr.spinner__svg,
|
|
2945
2945
|
children: [/* @__PURE__ */ E("circle", {
|
|
2946
2946
|
cx: 12,
|
|
2947
2947
|
cy: 12,
|
|
@@ -2949,80 +2949,98 @@ var X = {
|
|
|
2949
2949
|
opacity: .2
|
|
2950
2950
|
}), /* @__PURE__ */ E("path", {
|
|
2951
2951
|
d: "M12 3a9 9 0 0 1 9 9",
|
|
2952
|
-
className:
|
|
2952
|
+
className: Gr.spinner__arc
|
|
2953
2953
|
})]
|
|
2954
2954
|
})
|
|
2955
|
-
}),
|
|
2956
|
-
stepper: "
|
|
2957
|
-
"stepper--horizontal": "_stepper--
|
|
2958
|
-
"stepper--vertical": "_stepper--
|
|
2959
|
-
step: "
|
|
2960
|
-
"step--horizontal": "_step--
|
|
2961
|
-
"step--vertical": "_step--
|
|
2962
|
-
circle: "
|
|
2963
|
-
circle__num: "
|
|
2964
|
-
"
|
|
2965
|
-
"circle--
|
|
2966
|
-
"
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
"
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
"
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2955
|
+
}), Z = {
|
|
2956
|
+
stepper: "_stepper_1qhab_3",
|
|
2957
|
+
"stepper--horizontal": "_stepper--horizontal_1qhab_4",
|
|
2958
|
+
"stepper--vertical": "_stepper--vertical_1qhab_5",
|
|
2959
|
+
step: "_step_1qhab_3",
|
|
2960
|
+
"step--horizontal": "_step--horizontal_1qhab_8",
|
|
2961
|
+
"step--vertical": "_step--vertical_1qhab_9",
|
|
2962
|
+
circle: "_circle_1qhab_12",
|
|
2963
|
+
circle__num: "_circle__num_1qhab_24",
|
|
2964
|
+
"stepper--animated": "_stepper--animated_1qhab_28",
|
|
2965
|
+
"circle--completed": "_circle--completed_1qhab_32",
|
|
2966
|
+
"stepper-check": "_stepper-check_1qhab_1",
|
|
2967
|
+
"circle--current": "_circle--current_1qhab_39",
|
|
2968
|
+
"stepper-arrive": "_stepper-arrive_1qhab_1",
|
|
2969
|
+
"circle--upcoming": "_circle--upcoming_1qhab_57",
|
|
2970
|
+
step__text: "_step__text_1qhab_64",
|
|
2971
|
+
step__label: "_step__label_1qhab_65",
|
|
2972
|
+
"step__label--current": "_step__label--current_1qhab_66",
|
|
2973
|
+
"step__label--upcoming": "_step__label--upcoming_1qhab_67",
|
|
2974
|
+
step__desc: "_step__desc_1qhab_68",
|
|
2975
|
+
connector: "_connector_1qhab_71",
|
|
2976
|
+
connector__fill: "_connector__fill_1qhab_75",
|
|
2977
|
+
"connector--vertical": "_connector--vertical_1qhab_82",
|
|
2978
|
+
"connector--filled": "_connector--filled_1qhab_86",
|
|
2979
|
+
"connector--horizontal": "_connector--horizontal_1qhab_88"
|
|
2980
|
+
}, qr = ({ index: e, state: t, label: n, description: r, orientation: i = "horizontal", delay: a = 0, fresh: o }) => /* @__PURE__ */ D("div", {
|
|
2981
|
+
className: [Z.step, Z[`step--${i}`]].join(" "),
|
|
2982
|
+
style: { "--delay": `${a}ms` },
|
|
2978
2983
|
children: [/* @__PURE__ */ E("span", {
|
|
2979
|
-
className: [
|
|
2984
|
+
className: [Z.circle, Z[`circle--${t}`]].join(" "),
|
|
2985
|
+
"data-fresh": o || void 0,
|
|
2980
2986
|
"aria-hidden": "true",
|
|
2981
|
-
children: t === "completed" ? /* @__PURE__ */ E(
|
|
2987
|
+
children: t === "completed" ? /* @__PURE__ */ E(lt, {
|
|
2982
2988
|
size: 14,
|
|
2983
2989
|
strokeWidth: w(14)
|
|
2984
2990
|
}) : /* @__PURE__ */ E("span", {
|
|
2985
|
-
className:
|
|
2991
|
+
className: Z.circle__num,
|
|
2986
2992
|
children: e + 1
|
|
2987
2993
|
})
|
|
2988
2994
|
}), /* @__PURE__ */ D("span", {
|
|
2989
|
-
className:
|
|
2995
|
+
className: Z.step__text,
|
|
2990
2996
|
children: [/* @__PURE__ */ E("span", {
|
|
2991
2997
|
className: [
|
|
2992
|
-
|
|
2993
|
-
t === "current" ?
|
|
2994
|
-
t === "upcoming" ?
|
|
2998
|
+
Z.step__label,
|
|
2999
|
+
t === "current" ? Z["step__label--current"] : "",
|
|
3000
|
+
t === "upcoming" ? Z["step__label--upcoming"] : ""
|
|
2995
3001
|
].filter(Boolean).join(" "),
|
|
2996
3002
|
children: n
|
|
2997
3003
|
}), r && /* @__PURE__ */ E("span", {
|
|
2998
|
-
className:
|
|
3004
|
+
className: Z.step__desc,
|
|
2999
3005
|
children: r
|
|
3000
3006
|
})]
|
|
3001
3007
|
})]
|
|
3002
|
-
}),
|
|
3003
|
-
let i = (e) => e < t ? "completed" : e === t ? "current" : "upcoming";
|
|
3008
|
+
}), Jr = 457, Yr = ({ steps: e, current: t, orientation: n = "horizontal", className: r }) => {
|
|
3009
|
+
let i = (e) => e < t ? "completed" : e === t ? "current" : "upcoming", a = it(t), [o, s] = at(!1);
|
|
3010
|
+
rt(() => {
|
|
3011
|
+
s(!0);
|
|
3012
|
+
}, []), rt(() => {
|
|
3013
|
+
a.current = t;
|
|
3014
|
+
}, [t]);
|
|
3015
|
+
let c = a.current, l = (e, t) => e < t ? "completed" : e === t ? "current" : "upcoming", u = (e) => o && c !== t && l(e, c) !== l(e, t), d = t >= c, f = Math.max(1, Math.abs(t - c)), p = Math.min(Jr, Math.floor(1430 / f)), m = (e) => d ? e >= c && e <= t ? (e - c) * p : 0 : e >= t && e <= c ? (c - e) * p : 0, h = (e) => d ? e >= c && e < t ? (e - c) * p : 0 : e >= t && e < c ? (c - 1 - e) * p + 57 : 0;
|
|
3004
3016
|
return /* @__PURE__ */ E("div", {
|
|
3005
3017
|
className: [
|
|
3006
|
-
|
|
3007
|
-
|
|
3018
|
+
Z.stepper,
|
|
3019
|
+
Z[`stepper--${n}`],
|
|
3020
|
+
o ? Z["stepper--animated"] : "",
|
|
3008
3021
|
r ?? ""
|
|
3009
3022
|
].filter(Boolean).join(" "),
|
|
3010
|
-
|
|
3023
|
+
style: { "--fill-ms": `${p}ms` },
|
|
3024
|
+
children: e.map((r, a) => /* @__PURE__ */ D(T.Fragment, { children: [/* @__PURE__ */ E(qr, {
|
|
3011
3025
|
index: a,
|
|
3012
3026
|
state: i(a),
|
|
3013
3027
|
label: r.label,
|
|
3014
3028
|
description: r.description,
|
|
3015
|
-
orientation: n
|
|
3029
|
+
orientation: n,
|
|
3030
|
+
delay: m(a),
|
|
3031
|
+
fresh: u(a)
|
|
3016
3032
|
}), a < e.length - 1 && /* @__PURE__ */ E("span", {
|
|
3017
3033
|
className: [
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
a < t ?
|
|
3034
|
+
Z.connector,
|
|
3035
|
+
Z[`connector--${n}`],
|
|
3036
|
+
a < t ? Z["connector--filled"] : ""
|
|
3021
3037
|
].filter(Boolean).join(" "),
|
|
3022
|
-
"
|
|
3038
|
+
style: { "--delay": `${h(a)}ms` },
|
|
3039
|
+
"aria-hidden": "true",
|
|
3040
|
+
children: /* @__PURE__ */ E("span", { className: Z.connector__fill })
|
|
3023
3041
|
})] }, a))
|
|
3024
3042
|
});
|
|
3025
|
-
},
|
|
3043
|
+
}, Q = {
|
|
3026
3044
|
wrapper: "_wrapper_1xxik_3",
|
|
3027
3045
|
"wrapper--disabled": "_wrapper--disabled_1xxik_11",
|
|
3028
3046
|
input: "_input_1xxik_13",
|
|
@@ -3032,14 +3050,14 @@ var X = {
|
|
|
3032
3050
|
"wrapper--withDescription": "_wrapper--withDescription_1xxik_60",
|
|
3033
3051
|
text: "_text_1xxik_61",
|
|
3034
3052
|
description: "_description_1xxik_63"
|
|
3035
|
-
},
|
|
3053
|
+
}, Xr = T.forwardRef(({ label: e, description: t, disabled: n, id: r, className: i, ...a }, o) => {
|
|
3036
3054
|
let s = T.useId(), c = r ?? s;
|
|
3037
3055
|
return /* @__PURE__ */ D("label", {
|
|
3038
3056
|
htmlFor: c,
|
|
3039
3057
|
className: [
|
|
3040
|
-
|
|
3041
|
-
t ?
|
|
3042
|
-
n ?
|
|
3058
|
+
Q.wrapper,
|
|
3059
|
+
t ? Q["wrapper--withDescription"] : "",
|
|
3060
|
+
n ? Q["wrapper--disabled"] : "",
|
|
3043
3061
|
i ?? ""
|
|
3044
3062
|
].filter(Boolean).join(" "),
|
|
3045
3063
|
children: [
|
|
@@ -3049,32 +3067,32 @@ var X = {
|
|
|
3049
3067
|
type: "checkbox",
|
|
3050
3068
|
role: "switch",
|
|
3051
3069
|
disabled: n,
|
|
3052
|
-
className:
|
|
3070
|
+
className: Q.input,
|
|
3053
3071
|
...a
|
|
3054
3072
|
}),
|
|
3055
3073
|
/* @__PURE__ */ E("span", {
|
|
3056
|
-
className:
|
|
3074
|
+
className: Q.track,
|
|
3057
3075
|
"aria-hidden": "true",
|
|
3058
|
-
children: /* @__PURE__ */ E("span", { className:
|
|
3076
|
+
children: /* @__PURE__ */ E("span", { className: Q.thumb })
|
|
3059
3077
|
}),
|
|
3060
3078
|
t ? /* @__PURE__ */ D("span", {
|
|
3061
|
-
className:
|
|
3079
|
+
className: Q.text,
|
|
3062
3080
|
children: [e && /* @__PURE__ */ E("span", {
|
|
3063
|
-
className:
|
|
3081
|
+
className: Q.label,
|
|
3064
3082
|
children: e
|
|
3065
3083
|
}), /* @__PURE__ */ E("span", {
|
|
3066
|
-
className:
|
|
3084
|
+
className: Q.description,
|
|
3067
3085
|
children: t
|
|
3068
3086
|
})]
|
|
3069
3087
|
}) : e && /* @__PURE__ */ E("span", {
|
|
3070
|
-
className:
|
|
3088
|
+
className: Q.label,
|
|
3071
3089
|
children: e
|
|
3072
3090
|
})
|
|
3073
3091
|
]
|
|
3074
3092
|
});
|
|
3075
3093
|
});
|
|
3076
|
-
|
|
3077
|
-
var
|
|
3094
|
+
Xr.displayName = "Switch";
|
|
3095
|
+
var $ = {
|
|
3078
3096
|
field: "_field_53t87_6",
|
|
3079
3097
|
field__label: "_field__label_53t87_8",
|
|
3080
3098
|
field__description: "_field__description_53t87_10",
|
|
@@ -3082,14 +3100,14 @@ var Kr = {
|
|
|
3082
3100
|
textarea: "_textarea_53t87_13",
|
|
3083
3101
|
"textarea--error": "_textarea--error_53t87_37",
|
|
3084
3102
|
"textarea--disabled": "_textarea--disabled_53t87_52"
|
|
3085
|
-
},
|
|
3103
|
+
}, Zr = T.forwardRef(({ label: e, description: t, error: n, disabled: r, id: i, className: a, rows: o = 3, ...s }, c) => {
|
|
3086
3104
|
let l = T.useId(), u = i ?? l, d = !!n, f = t || n ? `${u}-desc` : void 0;
|
|
3087
3105
|
return /* @__PURE__ */ D("div", {
|
|
3088
|
-
className: [
|
|
3106
|
+
className: [$.field, a ?? ""].filter(Boolean).join(" "),
|
|
3089
3107
|
children: [
|
|
3090
3108
|
e && /* @__PURE__ */ E("label", {
|
|
3091
3109
|
htmlFor: u,
|
|
3092
|
-
className:
|
|
3110
|
+
className: $.field__label,
|
|
3093
3111
|
children: e
|
|
3094
3112
|
}),
|
|
3095
3113
|
/* @__PURE__ */ E("textarea", {
|
|
@@ -3100,22 +3118,22 @@ var Kr = {
|
|
|
3100
3118
|
"aria-invalid": d || void 0,
|
|
3101
3119
|
"aria-describedby": f,
|
|
3102
3120
|
className: [
|
|
3103
|
-
|
|
3104
|
-
d ?
|
|
3105
|
-
r ?
|
|
3121
|
+
$.textarea,
|
|
3122
|
+
d ? $["textarea--error"] : "",
|
|
3123
|
+
r ? $["textarea--disabled"] : ""
|
|
3106
3124
|
].filter(Boolean).join(" "),
|
|
3107
3125
|
...s
|
|
3108
3126
|
}),
|
|
3109
3127
|
(t || n) && /* @__PURE__ */ E("span", {
|
|
3110
3128
|
id: f,
|
|
3111
|
-
className: d ?
|
|
3129
|
+
className: d ? $.field__error : $.field__description,
|
|
3112
3130
|
children: n || t
|
|
3113
3131
|
})
|
|
3114
3132
|
]
|
|
3115
3133
|
});
|
|
3116
3134
|
});
|
|
3117
|
-
|
|
3118
|
-
var
|
|
3135
|
+
Zr.displayName = "Textarea";
|
|
3136
|
+
var Qr = {
|
|
3119
3137
|
toast: "_toast_dshlf_3",
|
|
3120
3138
|
toast__icon: "_toast__icon_dshlf_17",
|
|
3121
3139
|
"toast--success": "_toast--success_dshlf_18",
|
|
@@ -3125,9 +3143,9 @@ var Jr = {
|
|
|
3125
3143
|
toast__title: "_toast__title_dshlf_23",
|
|
3126
3144
|
toast__description: "_toast__description_dshlf_24",
|
|
3127
3145
|
toast__dismiss: "_toast__dismiss_dshlf_26"
|
|
3128
|
-
},
|
|
3129
|
-
success: /* @__PURE__ */ D(
|
|
3130
|
-
error: /* @__PURE__ */ D(
|
|
3146
|
+
}, $r = {
|
|
3147
|
+
success: /* @__PURE__ */ D(ot, { children: [/* @__PURE__ */ E("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }), /* @__PURE__ */ E("polyline", { points: "22 4 12 14.01 9 11.01" })] }),
|
|
3148
|
+
error: /* @__PURE__ */ D(ot, { children: [
|
|
3131
3149
|
/* @__PURE__ */ E("circle", {
|
|
3132
3150
|
cx: "12",
|
|
3133
3151
|
cy: "12",
|
|
@@ -3146,7 +3164,7 @@ var Jr = {
|
|
|
3146
3164
|
y2: "15"
|
|
3147
3165
|
})
|
|
3148
3166
|
] }),
|
|
3149
|
-
info: /* @__PURE__ */ D(
|
|
3167
|
+
info: /* @__PURE__ */ D(ot, { children: [
|
|
3150
3168
|
/* @__PURE__ */ E("circle", {
|
|
3151
3169
|
cx: "12",
|
|
3152
3170
|
cy: "12",
|
|
@@ -3165,17 +3183,17 @@ var Jr = {
|
|
|
3165
3183
|
y2: "8"
|
|
3166
3184
|
})
|
|
3167
3185
|
] })
|
|
3168
|
-
},
|
|
3186
|
+
}, ei = ({ status: e = "info", title: t, description: n, onDismiss: r, className: i }) => /* @__PURE__ */ D("div", {
|
|
3169
3187
|
role: e === "error" ? "alert" : "status",
|
|
3170
3188
|
"aria-live": e === "error" ? "assertive" : "polite",
|
|
3171
3189
|
className: [
|
|
3172
|
-
|
|
3173
|
-
|
|
3190
|
+
Qr.toast,
|
|
3191
|
+
Qr[`toast--${e}`],
|
|
3174
3192
|
i ?? ""
|
|
3175
3193
|
].filter(Boolean).join(" "),
|
|
3176
3194
|
children: [
|
|
3177
3195
|
/* @__PURE__ */ E("span", {
|
|
3178
|
-
className:
|
|
3196
|
+
className: Qr.toast__icon,
|
|
3179
3197
|
"aria-hidden": "true",
|
|
3180
3198
|
children: /* @__PURE__ */ E("svg", {
|
|
3181
3199
|
viewBox: "0 0 24 24",
|
|
@@ -3186,22 +3204,22 @@ var Jr = {
|
|
|
3186
3204
|
strokeLinejoin: "round",
|
|
3187
3205
|
width: 18,
|
|
3188
3206
|
height: 18,
|
|
3189
|
-
children:
|
|
3207
|
+
children: $r[e]
|
|
3190
3208
|
})
|
|
3191
3209
|
}),
|
|
3192
3210
|
/* @__PURE__ */ D("div", {
|
|
3193
|
-
className:
|
|
3211
|
+
className: Qr.toast__content,
|
|
3194
3212
|
children: [t && /* @__PURE__ */ E("div", {
|
|
3195
|
-
className:
|
|
3213
|
+
className: Qr.toast__title,
|
|
3196
3214
|
children: t
|
|
3197
3215
|
}), n && /* @__PURE__ */ E("div", {
|
|
3198
|
-
className:
|
|
3216
|
+
className: Qr.toast__description,
|
|
3199
3217
|
children: n
|
|
3200
3218
|
})]
|
|
3201
3219
|
}),
|
|
3202
3220
|
r && /* @__PURE__ */ E("button", {
|
|
3203
3221
|
type: "button",
|
|
3204
|
-
className:
|
|
3222
|
+
className: Qr.toast__dismiss,
|
|
3205
3223
|
onClick: r,
|
|
3206
3224
|
"aria-label": "Dismiss",
|
|
3207
3225
|
children: /* @__PURE__ */ D("svg", {
|
|
@@ -3227,48 +3245,48 @@ var Jr = {
|
|
|
3227
3245
|
})
|
|
3228
3246
|
})
|
|
3229
3247
|
]
|
|
3230
|
-
}),
|
|
3248
|
+
}), ti = {
|
|
3231
3249
|
bar: "_bar_14cqo_2",
|
|
3232
3250
|
bar__icon: "_bar__icon_14cqo_10",
|
|
3233
3251
|
bar__title: "_bar__title_14cqo_17",
|
|
3234
3252
|
"bar__title--center": "_bar__title--center_14cqo_21",
|
|
3235
3253
|
bar__search: "_bar__search_14cqo_22"
|
|
3236
|
-
},
|
|
3237
|
-
className: [
|
|
3254
|
+
}, ni = ({ type: e = "title", title: t, trailing: n, search: r, onMenu: i, onAction: a, onClose: o, className: s }) => /* @__PURE__ */ D("header", {
|
|
3255
|
+
className: [ti.bar, s ?? ""].filter(Boolean).join(" "),
|
|
3238
3256
|
children: [
|
|
3239
3257
|
/* @__PURE__ */ E("button", {
|
|
3240
3258
|
type: "button",
|
|
3241
|
-
className:
|
|
3259
|
+
className: ti.bar__icon,
|
|
3242
3260
|
onClick: i,
|
|
3243
3261
|
"aria-label": "Open menu",
|
|
3244
|
-
children: /* @__PURE__ */ E(
|
|
3262
|
+
children: /* @__PURE__ */ E(vt, {
|
|
3245
3263
|
size: 18,
|
|
3246
3264
|
strokeWidth: w(18)
|
|
3247
3265
|
})
|
|
3248
3266
|
}),
|
|
3249
3267
|
e === "search" ? /* @__PURE__ */ E("div", {
|
|
3250
|
-
className:
|
|
3268
|
+
className: ti.bar__search,
|
|
3251
3269
|
children: r
|
|
3252
3270
|
}) : /* @__PURE__ */ E("span", {
|
|
3253
|
-
className: [
|
|
3271
|
+
className: [ti.bar__title, e === "title-centered" ? ti["bar__title--center"] : ""].join(" "),
|
|
3254
3272
|
children: t
|
|
3255
3273
|
}),
|
|
3256
3274
|
e === "title-action" && /* @__PURE__ */ E("button", {
|
|
3257
3275
|
type: "button",
|
|
3258
|
-
className:
|
|
3276
|
+
className: ti.bar__icon,
|
|
3259
3277
|
onClick: a,
|
|
3260
3278
|
"aria-label": "Add",
|
|
3261
|
-
children: /* @__PURE__ */ E(
|
|
3279
|
+
children: /* @__PURE__ */ E(xt, {
|
|
3262
3280
|
size: 18,
|
|
3263
3281
|
strokeWidth: w(18)
|
|
3264
3282
|
})
|
|
3265
3283
|
}),
|
|
3266
3284
|
e === "search" && /* @__PURE__ */ E("button", {
|
|
3267
3285
|
type: "button",
|
|
3268
|
-
className:
|
|
3286
|
+
className: ti.bar__icon,
|
|
3269
3287
|
onClick: o,
|
|
3270
3288
|
"aria-label": "Close search",
|
|
3271
|
-
children: /* @__PURE__ */ E(
|
|
3289
|
+
children: /* @__PURE__ */ E(At, {
|
|
3272
3290
|
size: 18,
|
|
3273
3291
|
strokeWidth: w(18)
|
|
3274
3292
|
})
|
|
@@ -3277,4 +3295,4 @@ var Jr = {
|
|
|
3277
3295
|
]
|
|
3278
3296
|
});
|
|
3279
3297
|
//#endregion
|
|
3280
|
-
export { o as Accordion, y as AccordionItem, Ze as ActivityFeed, re as ActivityFeedHighlight, l as Alert,
|
|
3298
|
+
export { o as Accordion, y as AccordionItem, Ze as ActivityFeed, re as ActivityFeedHighlight, l as Alert, Xt as Announcement, Kn as AreaChart, c as Avatar, n as AvatarGroup, pe as AvatarUpload, Ve as Badge, tt as Balance, Ee as BarChart, xn as BlogBlockquote, Cn as BlogFeatureText, Tn as BlogImage, ie as BlogListingCard, d as BlogListingFeaturedCard, b as BoardCard, qn as BoardColumn, De as Breadcrumb, $e as Button, Qn as Calendar, $n as Card, t as CardMetaItem, Ge as CartItem, Oe as ChatComposer, v as Checkbox, e as CheckoutSteps, en as CodeSnippet, ce as ColorSwatch, er as Combobox, a as ConversationItem, ve as DEFAULT_CHECKOUT_STEPS, be as Divider, s as DonutChart, ne as EmptyState, rn as Expenses, ae as FeaturedIcon, tr as FileUpload, Xe as FilterChip, En as FirstPageHeading, or as FunnelChart, lr as HeatmapChart, g as HoverGroup, S as IconButton, sn as InlineHint, r as Input, ee as JobListing, dr as Kbd, pr as Label, te as LineChart, i as Link, Re as LiquidBackdrop, Me as LiquidGlass, On as List, mr as ListItem, nt as LocationDot, jn as Marquee, fe as Menu, Qe as MenuDivider, et as MenuItem, Je as MessageBubble, Nn as Metric, Pn as MobileNavigationMenu, _e as Modal, qe as NotificationItem, le as Pagination, Sr as PieChart, Ln as PlaceholderLogo, Cr as Popover, C as PriceDisplay, p as ProductCard, ze as ProductGallery, Rn as ProfileCard, Ye as Progress, cn as ProgressItem, Ae as ProgressStat, Pe as QuantitySelector, Nr as RadarChart, Vr as RadialChart, Hr as Radio, un as RichSeparator, Bn as RichTextHeading, Hn as RichTextParagraph, h as SectionHeading, xe as SegmentedControl, Ce as Select, je as Sidebar, Le as SidebarDivider, Ur as SidebarFooter, ye as SidebarGroupLabel, ge as SidebarHeader, Ke as SidebarItem, ke as SidebarPromo, Wr as SidebarSearch, me as SidebarSubItem, m as SizeSelector, He as Skeleton, Fe as Slider, he as SpendingBalance, Kr as Spinner, u as StarRating, ue as StatCard, Yr as Stepper, qr as StepperStep, fn as StockMarket, oe as StockStatus, Un as SubFeature, Xr as Switch, Te as Table, Be as Tabs, hn as Tags, f as TeamCard, Zr as Textarea, vn as Ticker, ei as Toast, Ne as Tooltip, We as TopBar, ni as TopBarMobile, bn as Transactions, se as WishlistButton, x as getContrastColor, w as iconStrokeWidth, we as syncLiquidBackdrop, _ as useHoverHighlight, Se as useLiquidGlass };
|