@sakaniui/react 0.3.29 → 0.4.1

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.
@@ -1,10 +1,10 @@
1
1
  import e, { useEffect as t, useState as n } from "react";
2
2
  import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
3
- import { Bell as o, BellOff as s, Camera as c, Check as l, CheckCheck as u, ChevronDown as d, ChevronLeft as f, ChevronRight as p, ChevronsUpDown as m, CircleAlert as h, CircleHelp as g, Download as _, Eye as v, EyeOff as y, File as b, GripVertical as x, Heart as S, Inbox as C, Minus as w, PanelLeft as T, PanelLeftClose as E, Paperclip as D, Plus as O, Search as ee, Send as te, Smile as ne, Star as re, StarHalf as ie, TrendingDown as ae, TrendingUp as oe, TriangleAlert as se, X as ce } from "lucide-react";
4
- import { PolarAngleAxis as le, RadialBar as ue, RadialBarChart as de, ResponsiveContainer as fe } from "recharts";
5
- import pe, { createPortal as me } from "react-dom";
3
+ import { Bell as o, BellOff as s, Camera as c, Check as l, CheckCheck as u, ChevronDown as d, ChevronLeft as f, ChevronRight as p, ChevronsUpDown as m, CircleAlert as h, CircleHelp as g, Download as _, Eye as v, EyeOff as y, File as b, GripVertical as x, Heart as S, Inbox as C, Minus as w, MoreHorizontal as T, PanelLeft as E, PanelLeftClose as D, Paperclip as O, Plus as k, Search as A, Send as j, Smile as ee, Sparkles as te, Star as ne, StarHalf as re, TrendingDown as ie, TrendingUp as ae, TriangleAlert as oe, X as se } from "lucide-react";
4
+ import { Bar as ce, BarChart as le, CartesianGrid as ue, Cell as de, Legend as fe, Line as pe, LineChart as me, Pie as he, PieChart as ge, PolarAngleAxis as _e, RadialBar as ve, RadialBarChart as ye, Rectangle as be, ResponsiveContainer as xe, Tooltip as Se, XAxis as Ce, YAxis as we } from "recharts";
5
+ import Te, { createPortal as Ee } from "react-dom";
6
6
  //#region src/lib/iconStrokeWidth.ts
7
- var k = (e, t = 1.5) => 24 / e * t, A = {
7
+ var M = (e, t = 1.5) => 24 / e * t, De = {
8
8
  accordion: "_accordion_1njer_3",
9
9
  item: "_item_1njer_10",
10
10
  item__header: "_item__header_1njer_12",
@@ -15,26 +15,26 @@ var k = (e, t = 1.5) => 24 / e * t, A = {
15
15
  "item__panelWrap--open": "_item__panelWrap--open_1njer_50",
16
16
  item__panel: "_item__panel_1njer_45",
17
17
  item__panelInner: "_item__panelInner_1njer_53"
18
- }, he = ({ title: t, children: n, open: r, defaultOpen: o = !1, className: s }) => {
18
+ }, Oe = ({ title: t, children: n, open: r, defaultOpen: o = !1, className: s }) => {
19
19
  let c = r !== void 0, [l, u] = e.useState(o), d = c ? r : l;
20
20
  return /* @__PURE__ */ a("div", {
21
- className: [A.item, s ?? ""].filter(Boolean).join(" "),
21
+ className: [De.item, s ?? ""].filter(Boolean).join(" "),
22
22
  children: [/* @__PURE__ */ a("button", {
23
23
  type: "button",
24
- className: A.item__header,
24
+ className: De.item__header,
25
25
  "aria-expanded": d,
26
26
  onClick: () => !c && u((e) => !e),
27
27
  children: [/* @__PURE__ */ i("span", {
28
- className: A.item__title,
28
+ className: De.item__title,
29
29
  children: t
30
30
  }), /* @__PURE__ */ i("span", {
31
- className: [A.item__chevron, d ? A["item__chevron--open"] : ""].join(" "),
31
+ className: [De.item__chevron, d ? De["item__chevron--open"] : ""].join(" "),
32
32
  "aria-hidden": "true",
33
33
  children: /* @__PURE__ */ i("svg", {
34
34
  viewBox: "0 0 24 24",
35
35
  fill: "none",
36
36
  stroke: "currentColor",
37
- strokeWidth: k(18),
37
+ strokeWidth: M(18),
38
38
  strokeLinecap: "round",
39
39
  strokeLinejoin: "round",
40
40
  width: 18,
@@ -43,20 +43,20 @@ var k = (e, t = 1.5) => 24 / e * t, A = {
43
43
  })
44
44
  })]
45
45
  }), /* @__PURE__ */ i("div", {
46
- className: [A.item__panelWrap, d ? A["item__panelWrap--open"] : ""].join(" "),
46
+ className: [De.item__panelWrap, d ? De["item__panelWrap--open"] : ""].join(" "),
47
47
  children: /* @__PURE__ */ i("div", {
48
- className: A.item__panel,
48
+ className: De.item__panel,
49
49
  children: /* @__PURE__ */ i("div", {
50
- className: A.item__panelInner,
50
+ className: De.item__panelInner,
51
51
  children: n
52
52
  })
53
53
  })
54
54
  })]
55
55
  });
56
- }, ge = ({ children: e, className: t }) => /* @__PURE__ */ i("div", {
57
- className: [A.accordion, t ?? ""].filter(Boolean).join(" "),
56
+ }, ke = ({ children: e, className: t }) => /* @__PURE__ */ i("div", {
57
+ className: [De.accordion, t ?? ""].filter(Boolean).join(" "),
58
58
  children: e
59
- }), _e = {
59
+ }), Ae = {
60
60
  avatar: "_avatar_1igqs_3",
61
61
  "avatar--sm": "_avatar--sm_1igqs_17",
62
62
  "avatar--md": "_avatar--md_1igqs_18",
@@ -66,16 +66,16 @@ var k = (e, t = 1.5) => 24 / e * t, A = {
66
66
  avatar__image: "_avatar__image_1igqs_31",
67
67
  avatar__initials: "_avatar__initials_1igqs_39",
68
68
  avatar__icon: "_avatar__icon_1igqs_46"
69
- }, ve = {
69
+ }, je = {
70
70
  sm: 14,
71
71
  md: 18,
72
72
  lg: 22,
73
73
  xl: 26
74
- }, ye = ({ px: e }) => /* @__PURE__ */ a("svg", {
74
+ }, Me = ({ px: e }) => /* @__PURE__ */ a("svg", {
75
75
  viewBox: "0 0 24 24",
76
76
  fill: "none",
77
77
  stroke: "currentColor",
78
- strokeWidth: k(e),
78
+ strokeWidth: M(e),
79
79
  strokeLinecap: "round",
80
80
  strokeLinejoin: "round",
81
81
  "aria-hidden": "true",
@@ -84,18 +84,18 @@ var k = (e, t = 1.5) => 24 / e * t, A = {
84
84
  cy: "7",
85
85
  r: "4"
86
86
  })]
87
- }), be = ({ size: t = "md", src: n, alt: r = "", initials: a, icon: o, className: s }) => {
87
+ }), Ne = ({ size: t = "md", src: n, alt: r = "", initials: a, icon: o, className: s }) => {
88
88
  let c = [
89
- _e.avatar,
90
- _e[`avatar--${t}`],
89
+ Ae.avatar,
90
+ Ae[`avatar--${t}`],
91
91
  s ?? ""
92
92
  ].filter(Boolean).join(" ");
93
93
  if (n) return /* @__PURE__ */ i("span", {
94
- className: [c, _e["avatar--bordered"]].join(" "),
94
+ className: [c, Ae["avatar--bordered"]].join(" "),
95
95
  children: /* @__PURE__ */ i("img", {
96
96
  src: n,
97
97
  alt: r,
98
- className: _e.avatar__image
98
+ className: Ae.avatar__image
99
99
  })
100
100
  });
101
101
  if (a) return /* @__PURE__ */ i("span", {
@@ -103,24 +103,24 @@ var k = (e, t = 1.5) => 24 / e * t, A = {
103
103
  role: "img",
104
104
  "aria-label": r || a,
105
105
  children: /* @__PURE__ */ i("span", {
106
- className: _e.avatar__initials,
106
+ className: Ae.avatar__initials,
107
107
  children: a.slice(0, 2).toUpperCase()
108
108
  })
109
109
  });
110
- let l = ve[t], u = e.isValidElement(o) ? e.cloneElement(o, {
110
+ let l = je[t], u = e.isValidElement(o) ? e.cloneElement(o, {
111
111
  size: l,
112
- strokeWidth: k(l)
113
- }) : o ?? /* @__PURE__ */ i(ye, { px: l });
112
+ strokeWidth: M(l)
113
+ }) : o ?? /* @__PURE__ */ i(Me, { px: l });
114
114
  return /* @__PURE__ */ i("span", {
115
115
  className: c,
116
116
  role: "img",
117
117
  "aria-label": r || "avatar",
118
118
  children: /* @__PURE__ */ i("span", {
119
- className: _e.avatar__icon,
119
+ className: Ae.avatar__icon,
120
120
  children: u
121
121
  })
122
122
  });
123
- }, j = {
123
+ }, N = {
124
124
  feed: "_feed_1pvgl_1",
125
125
  "feed--compact": "_feed--compact_1pvgl_8",
126
126
  "row--default": "_row--default_1pvgl_13",
@@ -135,35 +135,35 @@ var k = (e, t = 1.5) => 24 / e * t, A = {
135
135
  actor: "_actor_1pvgl_88",
136
136
  highlight: "_highlight_1pvgl_89",
137
137
  timestamp: "_timestamp_1pvgl_92"
138
- }, xe = ({ children: e }) => /* @__PURE__ */ i("span", {
139
- className: j.highlight,
138
+ }, Pe = ({ children: e }) => /* @__PURE__ */ i("span", {
139
+ className: N.highlight,
140
140
  children: e
141
- }), Se = 16, Ce = (t) => e.isValidElement(t) ? e.cloneElement(t, {
142
- size: Se,
143
- strokeWidth: k(Se)
144
- }) : t, we = ({ items: e, variant: t = "default", className: n }) => {
141
+ }), Fe = 16, Ie = (t) => e.isValidElement(t) ? e.cloneElement(t, {
142
+ size: Fe,
143
+ strokeWidth: M(Fe)
144
+ }) : t, Le = ({ items: e, variant: t = "default", className: n }) => {
145
145
  let r = t === "compact";
146
146
  return /* @__PURE__ */ i("div", {
147
147
  className: [
148
- j.feed,
149
- r ? j["feed--compact"] : "",
148
+ N.feed,
149
+ r ? N["feed--compact"] : "",
150
150
  n ?? ""
151
151
  ].filter(Boolean).join(" "),
152
152
  children: e.map((t, n) => {
153
153
  let o = n === e.length - 1, s = t.id ?? n;
154
154
  return r ? /* @__PURE__ */ a("div", {
155
- className: j["row--compact"],
155
+ className: N["row--compact"],
156
156
  children: [/* @__PURE__ */ a("div", {
157
- className: j.compactLeft,
158
- children: [/* @__PURE__ */ i(be, {
157
+ className: N.compactLeft,
158
+ children: [/* @__PURE__ */ i(Ne, {
159
159
  size: "sm",
160
160
  src: t.avatarSrc,
161
161
  alt: t.avatarAlt ?? t.actor
162
162
  }), /* @__PURE__ */ a("p", {
163
- className: j.text,
163
+ className: N.text,
164
164
  children: [
165
165
  /* @__PURE__ */ i("span", {
166
- className: j.actor,
166
+ className: N.actor,
167
167
  children: t.actor
168
168
  }),
169
169
  " ",
@@ -171,49 +171,49 @@ var k = (e, t = 1.5) => 24 / e * t, A = {
171
171
  ]
172
172
  })]
173
173
  }), /* @__PURE__ */ i("span", {
174
- className: j.timestamp,
174
+ className: N.timestamp,
175
175
  children: t.timestamp
176
176
  })]
177
177
  }, s) : /* @__PURE__ */ a("div", {
178
- className: j["row--default"],
178
+ className: N["row--default"],
179
179
  children: [/* @__PURE__ */ a("div", {
180
- className: j.rail,
180
+ className: N.rail,
181
181
  children: [/* @__PURE__ */ i("div", {
182
- className: j.dot,
183
- children: Ce(t.icon)
184
- }), !o && /* @__PURE__ */ i("div", { className: j.connector })]
182
+ className: N.dot,
183
+ children: Ie(t.icon)
184
+ }), !o && /* @__PURE__ */ i("div", { className: N.connector })]
185
185
  }), /* @__PURE__ */ a("div", {
186
- className: [j.content, o ? "" : j["content--spaced"]].filter(Boolean).join(" "),
186
+ className: [N.content, o ? "" : N["content--spaced"]].filter(Boolean).join(" "),
187
187
  children: [/* @__PURE__ */ a("p", {
188
- className: j.text,
188
+ className: N.text,
189
189
  children: [
190
190
  /* @__PURE__ */ i("span", {
191
- className: j.actor,
191
+ className: N.actor,
192
192
  children: t.actor
193
193
  }),
194
194
  " ",
195
195
  t.description
196
196
  ]
197
197
  }), /* @__PURE__ */ i("span", {
198
- className: j.timestamp,
198
+ className: N.timestamp,
199
199
  children: t.timestamp
200
200
  })]
201
201
  })]
202
202
  }, s);
203
203
  })
204
204
  });
205
- }, Te = {
205
+ }, Re = {
206
206
  link: "_link_1g7dc_3",
207
207
  link__external: "_link__external_1g7dc_34"
208
- }, Ee = e.forwardRef(({ external: e, children: t, className: n, href: r, ...o }, s) => /* @__PURE__ */ a("a", {
208
+ }, ze = e.forwardRef(({ external: e, children: t, className: n, href: r, ...o }, s) => /* @__PURE__ */ a("a", {
209
209
  ref: s,
210
210
  href: r,
211
- className: [Te.link, n ?? ""].filter(Boolean).join(" "),
211
+ className: [Re.link, n ?? ""].filter(Boolean).join(" "),
212
212
  target: e ? "_blank" : o.target,
213
213
  rel: e ? "noopener noreferrer" : o.rel,
214
214
  ...o,
215
215
  children: [t, e && /* @__PURE__ */ i("span", {
216
- className: Te.link__external,
216
+ className: Re.link__external,
217
217
  "aria-label": "(opens in new tab)",
218
218
  children: /* @__PURE__ */ a("svg", {
219
219
  width: 12,
@@ -221,7 +221,7 @@ var k = (e, t = 1.5) => 24 / e * t, A = {
221
221
  viewBox: "0 0 24 24",
222
222
  fill: "none",
223
223
  stroke: "currentColor",
224
- strokeWidth: k(12),
224
+ strokeWidth: M(12),
225
225
  strokeLinecap: "round",
226
226
  strokeLinejoin: "round",
227
227
  "aria-hidden": "true",
@@ -238,8 +238,8 @@ var k = (e, t = 1.5) => 24 / e * t, A = {
238
238
  })
239
239
  })]
240
240
  }));
241
- Ee.displayName = "Link";
242
- var De = {
241
+ ze.displayName = "Link";
242
+ var Be = {
243
243
  button: "_button_l09ur_2",
244
244
  "button--sm": "_button--sm_l09ur_26",
245
245
  "button--md": "_button--md_l09ur_27",
@@ -249,55 +249,55 @@ var De = {
249
249
  "button--outline": "_button--outline_l09ur_43",
250
250
  "button--ghost": "_button--ghost_l09ur_48",
251
251
  "button--destructive": "_button--destructive_l09ur_53"
252
- }, Oe = {
252
+ }, Ve = {
253
253
  sm: 16,
254
254
  md: 18,
255
255
  lg: 20
256
- }, ke = e.forwardRef(({ icon: e, variant: t = "primary", size: n = "md", disabled: r, className: a, ...o }, s) => /* @__PURE__ */ i("button", {
256
+ }, He = e.forwardRef(({ icon: e, variant: t = "primary", size: n = "md", disabled: r, className: a, ...o }, s) => /* @__PURE__ */ i("button", {
257
257
  ref: s,
258
258
  disabled: r,
259
259
  className: [
260
- De.button,
261
- De[`button--${t}`],
262
- De[`button--${n}`],
260
+ Be.button,
261
+ Be[`button--${t}`],
262
+ Be[`button--${n}`],
263
263
  a ?? ""
264
264
  ].filter(Boolean).join(" "),
265
265
  ...o,
266
266
  children: /* @__PURE__ */ i(e, {
267
- size: Oe[n],
268
- strokeWidth: k(Oe[n]),
267
+ size: Ve[n],
268
+ strokeWidth: M(Ve[n]),
269
269
  "aria-hidden": "true"
270
270
  })
271
271
  }));
272
- ke.displayName = "IconButton";
273
- var M = {
274
- button: "_button_1cdb5_21",
275
- "button--primary": "_button--primary_1cdb5_106",
276
- "button--secondary": "_button--secondary_1cdb5_133",
277
- "button--outline": "_button--outline_1cdb5_156",
278
- "button--ghost": "_button--ghost_1cdb5_178",
279
- "button--destructive": "_button--destructive_1cdb5_202",
280
- "button--sm": "_button--sm_1cdb5_226",
281
- "button--md": "_button--md_1cdb5_236",
282
- "button--lg": "_button--lg_1cdb5_246",
283
- "button--hasLeftIcon": "_button--hasLeftIcon_1cdb5_257",
284
- "button--hasRightIcon": "_button--hasRightIcon_1cdb5_258",
285
- button__icon: "_button__icon_1cdb5_270",
286
- button__label: "_button__label_1cdb5_277",
287
- "button--loading": "_button--loading_1cdb5_287",
288
- button__spinner: "_button__spinner_1cdb5_291",
289
- "sakani-btn-spin": "_sakani-btn-spin_1cdb5_1"
290
- }, N = e.forwardRef(({ variant: e = "primary", size: t = "md", leftIcon: n, rightIcon: r, loading: o = !1, disabled: s, children: c, className: l, ...u }, d) => {
272
+ He.displayName = "IconButton";
273
+ var P = {
274
+ button: "_button_izp70_21",
275
+ "button--primary": "_button--primary_izp70_106",
276
+ "button--secondary": "_button--secondary_izp70_133",
277
+ "button--outline": "_button--outline_izp70_156",
278
+ "button--ghost": "_button--ghost_izp70_178",
279
+ "button--destructive": "_button--destructive_izp70_202",
280
+ "button--sm": "_button--sm_izp70_226",
281
+ "button--md": "_button--md_izp70_236",
282
+ "button--lg": "_button--lg_izp70_246",
283
+ "button--hasLeftIcon": "_button--hasLeftIcon_izp70_257",
284
+ "button--hasRightIcon": "_button--hasRightIcon_izp70_258",
285
+ button__icon: "_button__icon_izp70_270",
286
+ button__label: "_button__label_izp70_277",
287
+ "button--loading": "_button--loading_izp70_287",
288
+ button__spinner: "_button__spinner_izp70_291",
289
+ "sakani-btn-spin": "_sakani-btn-spin_izp70_1"
290
+ }, F = e.forwardRef(({ variant: e = "primary", size: t = "md", leftIcon: n, rightIcon: r, loading: o = !1, disabled: s, children: c, className: l, ...u }, d) => {
291
291
  let f = s || o;
292
292
  return /* @__PURE__ */ a("button", {
293
293
  ref: d,
294
294
  className: [
295
- M.button,
296
- M[`button--${e}`],
297
- M[`button--${t}`],
298
- o ? M["button--loading"] : "",
299
- n && !o ? M["button--hasLeftIcon"] : "",
300
- r && !o ? M["button--hasRightIcon"] : "",
295
+ P.button,
296
+ P[`button--${e}`],
297
+ P[`button--${t}`],
298
+ o ? P["button--loading"] : "",
299
+ n && !o ? P["button--hasLeftIcon"] : "",
300
+ r && !o ? P["button--hasRightIcon"] : "",
301
301
  l ?? ""
302
302
  ].filter(Boolean).join(" "),
303
303
  disabled: f,
@@ -305,7 +305,7 @@ var M = {
305
305
  ...u,
306
306
  children: [
307
307
  o && /* @__PURE__ */ i("span", {
308
- className: [M.button__icon, M.button__spinner].join(" "),
308
+ className: [P.button__icon, P.button__spinner].join(" "),
309
309
  "aria-hidden": "true",
310
310
  children: /* @__PURE__ */ i("svg", {
311
311
  viewBox: "0 0 24 24",
@@ -317,24 +317,24 @@ var M = {
317
317
  })
318
318
  }),
319
319
  n && !o && /* @__PURE__ */ i("span", {
320
- className: M.button__icon,
320
+ className: P.button__icon,
321
321
  "aria-hidden": "true",
322
322
  children: n
323
323
  }),
324
324
  /* @__PURE__ */ i("span", {
325
- className: M.button__label,
325
+ className: P.button__label,
326
326
  children: c
327
327
  }),
328
328
  r && !o && /* @__PURE__ */ i("span", {
329
- className: M.button__icon,
329
+ className: P.button__icon,
330
330
  "aria-hidden": "true",
331
331
  children: r
332
332
  })
333
333
  ]
334
334
  });
335
335
  });
336
- N.displayName = "Button";
337
- var P = {
336
+ F.displayName = "Button";
337
+ var I = {
338
338
  wrap: "_wrap_3mj75_1",
339
339
  "wrap--vertical": "_wrap--vertical_3mj75_7",
340
340
  "wrap--horizontal": "_wrap--horizontal_3mj75_11",
@@ -348,47 +348,47 @@ var P = {
348
348
  hint: "_hint_3mj75_79",
349
349
  link: "_link_3mj75_88",
350
350
  input: "_input_3mj75_92"
351
- }, Ae = ({ src: t, alt: n, orientation: r = "vertical", accept: o = "image/jpeg,image/png", title: s = "Upload a photo", hint: l = "JPG or PNG, max 5MB.", onFileSelect: u, onRemove: d, className: f }) => {
351
+ }, Ue = ({ src: t, alt: n, orientation: r = "vertical", accept: o = "image/jpeg,image/png", title: s = "Upload a photo", hint: l = "JPG or PNG, max 5MB.", onFileSelect: u, onRemove: d, className: f }) => {
352
352
  let p = e.useRef(null), m = t !== void 0, [h, g] = e.useState(void 0), _ = m ? t : h, v = r === "horizontal", y = !!_, b = () => p.current?.click(), x = () => {
353
353
  d?.(), m || g(void 0);
354
354
  }, S = /* @__PURE__ */ a("div", {
355
- className: [P.textStack, v ? "" : P["textStack--center"]].filter(Boolean).join(" "),
355
+ className: [I.textStack, v ? "" : I["textStack--center"]].filter(Boolean).join(" "),
356
356
  children: [/* @__PURE__ */ i("p", {
357
- className: P.title,
357
+ className: I.title,
358
358
  children: s
359
359
  }), /* @__PURE__ */ i("p", {
360
- className: P.hint,
360
+ className: I.hint,
361
361
  children: l
362
362
  })]
363
363
  });
364
364
  return /* @__PURE__ */ a("div", {
365
365
  className: [
366
- P.wrap,
367
- P[`wrap--${r}`],
366
+ I.wrap,
367
+ I[`wrap--${r}`],
368
368
  f ?? ""
369
369
  ].filter(Boolean).join(" "),
370
370
  children: [
371
371
  /* @__PURE__ */ a("div", {
372
- className: P.circleWrap,
373
- children: [/* @__PURE__ */ i(be, {
372
+ className: I.circleWrap,
373
+ children: [/* @__PURE__ */ i(Ne, {
374
374
  size: v ? "lg" : "xl",
375
375
  src: _,
376
376
  alt: n,
377
- className: v ? void 0 : P.bigAvatar
377
+ className: v ? void 0 : I.bigAvatar
378
378
  }), !v && /* @__PURE__ */ i("button", {
379
379
  type: "button",
380
- className: P.badge,
380
+ className: I.badge,
381
381
  onClick: b,
382
382
  "aria-label": "Change photo",
383
383
  children: /* @__PURE__ */ i(c, {
384
384
  size: 16,
385
- strokeWidth: k(16)
385
+ strokeWidth: M(16)
386
386
  })
387
387
  })]
388
388
  }),
389
389
  v && /* @__PURE__ */ a("div", {
390
- className: P.horizontalContent,
391
- children: [S, y ? /* @__PURE__ */ i(N, {
390
+ className: I.horizontalContent,
391
+ children: [S, y ? /* @__PURE__ */ i(F, {
392
392
  variant: "outline",
393
393
  size: "sm",
394
394
  onClick: x,
@@ -397,19 +397,19 @@ var P = {
397
397
  borderColor: "var(--color-danger-border)"
398
398
  },
399
399
  children: "Remove"
400
- }) : /* @__PURE__ */ i(N, {
400
+ }) : /* @__PURE__ */ i(F, {
401
401
  variant: "outline",
402
402
  size: "sm",
403
403
  onClick: b,
404
404
  children: "Upload"
405
405
  })]
406
406
  }),
407
- !v && (y ? /* @__PURE__ */ i(Ee, {
407
+ !v && (y ? /* @__PURE__ */ i(ze, {
408
408
  href: "#",
409
409
  onClick: (e) => {
410
410
  e.preventDefault(), b();
411
411
  },
412
- className: P.link,
412
+ className: I.link,
413
413
  style: {
414
414
  color: "var(--color-brand-fg)",
415
415
  fontSize: 16,
@@ -421,7 +421,7 @@ var P = {
421
421
  ref: p,
422
422
  type: "file",
423
423
  accept: o,
424
- className: P.input,
424
+ className: I.input,
425
425
  onChange: (e) => {
426
426
  let t = e.target.files?.[0];
427
427
  t && (u?.(t), m || g(URL.createObjectURL(t))), e.target.value = "";
@@ -432,7 +432,7 @@ var P = {
432
432
  };
433
433
  //#endregion
434
434
  //#region src/lib/useThemeTick.ts
435
- function je() {
435
+ function We() {
436
436
  let [e, r] = n(0);
437
437
  return t(() => {
438
438
  if (typeof document > "u") return;
@@ -444,7 +444,7 @@ function je() {
444
444
  }), () => e.disconnect();
445
445
  }, []), e;
446
446
  }
447
- var F = {
447
+ var L = {
448
448
  balance: "_balance_kaxp5_1",
449
449
  "balance--progress": "_balance--progress_kaxp5_8",
450
450
  content: "_content_kaxp5_17",
@@ -462,30 +462,30 @@ var F = {
462
462
  changeValue__down: "_changeValue__down_kaxp5_117",
463
463
  changeLabel: "_changeLabel_kaxp5_124",
464
464
  ringCard: "_ringCard_kaxp5_132"
465
- }, Me = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", Ne = 8, Pe = 6, Fe = 90, Ie = (e) => {
466
- let t = Math.min(e, Ne);
467
- return Array.from({ length: t }, () => Me[Math.floor(Math.random() * 36)]).join("");
468
- }, Le = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, Re = ({ progress: e }) => {
469
- je();
470
- let t = Le("--color-chart-1") ?? "#ff4700", n = Le("--color-bg-subtle") ?? "#f5f4f2", r = [{ value: Math.max(0, Math.min(100, e)) }];
465
+ }, Ge = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", Ke = 8, qe = 6, Je = 90, Ye = (e) => {
466
+ let t = Math.min(e, Ke);
467
+ return Array.from({ length: t }, () => Ge[Math.floor(Math.random() * 36)]).join("");
468
+ }, Xe = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, Ze = ({ progress: e }) => {
469
+ We();
470
+ let t = Xe("--color-chart-1") ?? "#ff4700", n = Xe("--color-bg-subtle") ?? "#f5f4f2", r = [{ value: Math.max(0, Math.min(100, e)) }];
471
471
  return /* @__PURE__ */ i("div", {
472
- className: F.ringCard,
473
- children: /* @__PURE__ */ i(fe, {
472
+ className: L.ringCard,
473
+ children: /* @__PURE__ */ i(xe, {
474
474
  width: 64,
475
475
  height: 64,
476
- children: /* @__PURE__ */ a(de, {
476
+ children: /* @__PURE__ */ a(ye, {
477
477
  data: r,
478
478
  startAngle: 90,
479
479
  endAngle: -270,
480
480
  innerRadius: "72%",
481
481
  outerRadius: "100%",
482
482
  barSize: 10,
483
- children: [/* @__PURE__ */ i(le, {
483
+ children: [/* @__PURE__ */ i(_e, {
484
484
  type: "number",
485
485
  domain: [0, 100],
486
486
  tick: !1,
487
487
  axisLine: !1
488
- }), /* @__PURE__ */ i(ue, {
488
+ }), /* @__PURE__ */ i(ve, {
489
489
  dataKey: "value",
490
490
  cornerRadius: 5,
491
491
  fill: t,
@@ -495,8 +495,8 @@ var F = {
495
495
  })
496
496
  })
497
497
  });
498
- }, ze = ({ label: t = "Available balance", value: n, change: r, progress: o, hidden: s, onToggleHidden: c, className: l }) => {
499
- let u = s !== void 0, [d, f] = e.useState(!1), p = u ? s : d, m = o !== void 0, h = r?.direction ?? "up", g = h === "up" ? oe : ae, _ = () => {
498
+ }, Qe = ({ label: t = "Available balance", value: n, change: r, progress: o, hidden: s, onToggleHidden: c, className: l }) => {
499
+ let u = s !== void 0, [d, f] = e.useState(!1), p = u ? s : d, m = o !== void 0, h = r?.direction ?? "up", g = h === "up" ? ae : ie, _ = () => {
500
500
  let e = !p;
501
501
  c?.(e), u || f(e);
502
502
  }, [b, x] = e.useState(!1), [S, C] = e.useState(0), w = e.useRef(!1);
@@ -504,53 +504,53 @@ var F = {
504
504
  if (p && !w.current) {
505
505
  x(!0);
506
506
  let e = 0, t = setInterval(() => {
507
- e += 1, C((e) => e + 1), e >= Pe && (clearInterval(t), x(!1));
508
- }, Fe);
507
+ e += 1, C((e) => e + 1), e >= qe && (clearInterval(t), x(!1));
508
+ }, Je);
509
509
  return w.current = !0, () => clearInterval(t);
510
510
  }
511
511
  w.current = p;
512
512
  }, [p]);
513
- let T = e.useMemo(() => Ie(n.length), [n, S]), E = e.useMemo(() => r ? Ie(r.value.length) : "", [r?.value, S]), D = /* @__PURE__ */ a("div", {
514
- className: F.content,
513
+ let T = e.useMemo(() => Ye(n.length), [n, S]), E = e.useMemo(() => r ? Ye(r.value.length) : "", [r?.value, S]), D = /* @__PURE__ */ a("div", {
514
+ className: L.content,
515
515
  children: [
516
516
  /* @__PURE__ */ a("div", {
517
- className: F.labelRow,
517
+ className: L.labelRow,
518
518
  children: [/* @__PURE__ */ i("p", {
519
- className: F.label,
519
+ className: L.label,
520
520
  children: t
521
521
  }), /* @__PURE__ */ i("button", {
522
522
  type: "button",
523
- className: F.hideToggle,
523
+ className: L.hideToggle,
524
524
  "aria-label": p ? "Show balance" : "Hide balance",
525
525
  onClick: _,
526
526
  children: i(p ? y : v, {
527
527
  size: 16,
528
- strokeWidth: k(16)
528
+ strokeWidth: M(16)
529
529
  })
530
530
  })]
531
531
  }),
532
532
  /* @__PURE__ */ i("p", {
533
533
  className: [
534
- F.value,
535
- p ? F["value--hidden"] : "",
536
- b ? F["value--glitching"] : ""
534
+ L.value,
535
+ p ? L["value--hidden"] : "",
536
+ b ? L["value--glitching"] : ""
537
537
  ].filter(Boolean).join(" "),
538
538
  children: p ? T : n
539
539
  }),
540
540
  r && /* @__PURE__ */ a("div", {
541
- className: F.changeRow,
541
+ className: L.changeRow,
542
542
  children: [
543
543
  /* @__PURE__ */ i(g, {
544
544
  size: 24,
545
545
  strokeWidth: 1.5,
546
- className: h === "up" ? F.trendIcon__up : F.trendIcon__down
546
+ className: h === "up" ? L.trendIcon__up : L.trendIcon__down
547
547
  }),
548
548
  /* @__PURE__ */ i("span", {
549
- className: [h === "up" ? F.changeValue__up : F.changeValue__down, b ? F["value--glitching"] : ""].filter(Boolean).join(" "),
549
+ className: [h === "up" ? L.changeValue__up : L.changeValue__down, b ? L["value--glitching"] : ""].filter(Boolean).join(" "),
550
550
  children: p ? E : r.value
551
551
  }),
552
552
  /* @__PURE__ */ i("span", {
553
- className: F.changeLabel,
553
+ className: L.changeLabel,
554
554
  children: r.label ?? "this month"
555
555
  })
556
556
  ]
@@ -559,13 +559,13 @@ var F = {
559
559
  });
560
560
  return /* @__PURE__ */ a("div", {
561
561
  className: [
562
- F.balance,
563
- m ? F["balance--progress"] : "",
562
+ L.balance,
563
+ m ? L["balance--progress"] : "",
564
564
  l ?? ""
565
565
  ].filter(Boolean).join(" "),
566
- children: [m && /* @__PURE__ */ i(Re, { progress: o }), D]
566
+ children: [m && /* @__PURE__ */ i(Ze, { progress: o }), D]
567
567
  });
568
- }, Be = {
568
+ }, $e = {
569
569
  progress: "_progress_1qaz4_11",
570
570
  "progress--sm": "_progress--sm_1qaz4_20",
571
571
  "progress--md": "_progress--md_1qaz4_21",
@@ -573,7 +573,7 @@ var F = {
573
573
  progress__fill: "_progress__fill_1qaz4_25",
574
574
  "progress__fill--indeterminate": "_progress__fill--indeterminate_1qaz4_33",
575
575
  "progress-scan": "_progress-scan_1qaz4_1"
576
- }, Ve = ({ value: e, size: t = "md", label: n = "Progress", className: r }) => {
576
+ }, et = ({ value: e, size: t = "md", label: n = "Progress", className: r }) => {
577
577
  let a = e === void 0, o = Math.min(100, Math.max(0, e ?? 0));
578
578
  return /* @__PURE__ */ i("div", {
579
579
  role: "progressbar",
@@ -582,72 +582,282 @@ var F = {
582
582
  "aria-valuemin": 0,
583
583
  "aria-valuemax": 100,
584
584
  className: [
585
- Be.progress,
586
- Be[`progress--${t}`],
585
+ $e.progress,
586
+ $e[`progress--${t}`],
587
587
  r ?? ""
588
588
  ].filter(Boolean).join(" "),
589
589
  children: /* @__PURE__ */ i("div", {
590
- className: [Be.progress__fill, a ? Be["progress__fill--indeterminate"] : ""].filter(Boolean).join(" "),
590
+ className: [$e.progress__fill, a ? $e["progress__fill--indeterminate"] : ""].filter(Boolean).join(" "),
591
591
  style: a ? void 0 : { width: `${o}%` }
592
592
  })
593
593
  });
594
- }, He = ["dark", "force-light"];
595
- function Ue(e, r) {
594
+ }, tt = ["dark", "force-light"];
595
+ function nt(e, r) {
596
596
  let [i, a] = n("");
597
597
  return t(() => {
598
598
  if (!r || typeof document > "u") return;
599
599
  let t = e.current;
600
600
  if (!t) return;
601
- let n = t.closest(He.map((e) => `.${e}`).join(", ")), i = n ? He.find((e) => n.classList.contains(e)) ?? "" : "";
601
+ let n = t.closest(tt.map((e) => `.${e}`).join(", ")), i = n ? tt.find((e) => n.classList.contains(e)) ?? "" : "";
602
602
  a(i);
603
603
  }, [e, r]), i;
604
604
  }
605
- var We = {
605
+ function rt(e, r) {
606
+ let [i, a] = n(void 0);
607
+ return t(() => {
608
+ if (!r || typeof document > "u") return;
609
+ let t = e.current;
610
+ t && a(t.closest("[data-surface]")?.getAttribute("data-surface") ?? void 0);
611
+ }, [e, r]), i;
612
+ }
613
+ var it = {
614
+ liquid: "_liquid_1vuvb_5",
615
+ regular: "_regular_1vuvb_5",
616
+ clear: "_clear_1vuvb_15",
617
+ "tint-regular": "_tint-regular_1vuvb_37",
618
+ "tint-clear": "_tint-clear_1vuvb_38",
619
+ "tint-subtle": "_tint-subtle_1vuvb_39",
620
+ "tint-none": "_tint-none_1vuvb_40",
621
+ interactive: "_interactive_1vuvb_90",
622
+ defs: "_defs_1vuvb_92"
623
+ };
624
+ //#endregion
625
+ //#region src/lib/LiquidGlass.tsx
626
+ function at() {
627
+ return typeof navigator > "u" ? !1 : !!(navigator.userAgentData?.brands)?.some((e) => /Chromium/i.test(e.brand));
628
+ }
629
+ var ot = /* @__PURE__ */ new Map();
630
+ function st(e, t, n, r, i, a, o, s, c) {
631
+ let l = `${e}x${t}:${n}:${r}:${i}:${a}:${o}:${s.toFixed(3)}:${c.toFixed(3)}`, u = ot.get(l);
632
+ if (u) return u;
633
+ let d = i + Math.abs(a), f = document.createElement("canvas");
634
+ f.width = e, f.height = t;
635
+ let p = f.getContext("2d");
636
+ if (!p) return "";
637
+ let m = p.createImageData(e, t), h = m.data, g = Math.min(n, e / 2, t / 2), _ = e / 2, v = t / 2;
638
+ for (let n = 0; n < t; n++) for (let l = 0; l < e; l++) {
639
+ let u = l + .5, f = n + .5, p = Math.abs(u - _) - (e / 2 - g), m = Math.abs(f - v) - (t / 2 - g), y = Math.max(p, 0), b = Math.max(m, 0), x = Math.hypot(y, b), S = -(x + Math.min(Math.max(p, m), 0) - g), C = 0, w = 0;
640
+ if (S < r && d > 0) {
641
+ let e = 0, t = 0;
642
+ p > 0 && m > 0 && x > 0 ? (e = y / x, t = b / x) : p > m ? e = 1 : t = 1, e *= Math.sign(u - _) || 1, t *= Math.sign(f - v) || 1;
643
+ let n = Math.min(1, Math.max(S, 0) / r), l;
644
+ if (o > 0) l = (1 - n) ** o;
645
+ else {
646
+ let e = 1 - n;
647
+ l = 1 - Math.sqrt(1 - e * e);
648
+ }
649
+ let h = e * s + t * c;
650
+ C = (-e * i + h * e * a) * l / d, w = (-t * i + h * t * a) * l / d;
651
+ }
652
+ let T = (n * e + l) * 4;
653
+ h[T] = 128 + C * 127, h[T + 1] = 128 + w * 127, h[T + 2] = 128, h[T + 3] = 255;
654
+ }
655
+ p.putImageData(m, 0, 0);
656
+ let y = f.toDataURL();
657
+ return ot.set(l, y), y;
658
+ }
659
+ function ct(e) {
660
+ let t = getComputedStyle(e).getPropertyValue("--liquid-light-angle").trim(), n = parseFloat(t), r = (Number.isFinite(n) ? n : 135) * Math.PI / 180;
661
+ return {
662
+ lx: -Math.sin(r),
663
+ ly: Math.cos(r)
664
+ };
665
+ }
666
+ var lt = (e, t, n) => {
667
+ let r = parseFloat(getComputedStyle(e).getPropertyValue(t));
668
+ return Number.isFinite(r) ? r : n;
669
+ };
670
+ function ut(t, { enabled: n = !0, refraction: r = "auto" } = {}) {
671
+ let o = `liquid-${e.useId().replace(/[^a-zA-Z0-9_-]/g, "")}`, [s, c] = e.useState(null), l = n && r !== "off" && at();
672
+ e.useEffect(() => {
673
+ let e = t.current;
674
+ if (!e || !l) {
675
+ c(null);
676
+ return;
677
+ }
678
+ let n = () => {
679
+ let t = Math.round(e.offsetWidth), n = Math.round(e.offsetHeight);
680
+ if (!t || !n) return;
681
+ let r = parseFloat(getComputedStyle(e).borderTopLeftRadius) || 0, i = lt(e, "--liquid-bezel", 22), a = Math.round(Math.min(i, Math.min(t, n) * .35)), o = a / i, s = {
682
+ w: t,
683
+ h: n,
684
+ radius: r,
685
+ bezel: a,
686
+ refraction: lt(e, "--liquid-refraction", 2) * o,
687
+ dispersion: lt(e, "--liquid-dispersion", 1) * o,
688
+ frost: lt(e, "--liquid-frost", 1.5),
689
+ saturate: lt(e, "--liquid-saturate", 1.5),
690
+ shift: lt(e, "--liquid-shift", 0) * o,
691
+ profile: lt(e, "--liquid-profile", 0),
692
+ ...ct(e)
693
+ };
694
+ c((e) => e && Object.keys(s).every((t) => e[t] === s[t]) ? e : s);
695
+ };
696
+ n();
697
+ let r = new ResizeObserver(n);
698
+ return r.observe(e), () => r.disconnect();
699
+ }, [t, l]);
700
+ let u = s ? st(s.w, s.h, s.radius, s.bezel, s.refraction, s.shift, s.profile, s.lx, s.ly) : "", d = e.useCallback((e) => {
701
+ let t = e.currentTarget, n = t.getBoundingClientRect();
702
+ t.style.setProperty("--mx", `${e.clientX - n.left}px`), t.style.setProperty("--my", `${e.clientY - n.top}px`);
703
+ }, []), f = l && !!s && !!u, p = (e) => {
704
+ let t = Array(20).fill(0);
705
+ return t[e * 5 + e] = 1, t[18] = 1, t.join(" ");
706
+ };
707
+ return {
708
+ filter: f && s ? /* @__PURE__ */ i("svg", {
709
+ className: it.defs,
710
+ width: "0",
711
+ height: "0",
712
+ "aria-hidden": "true",
713
+ focusable: "false",
714
+ children: /* @__PURE__ */ a("filter", {
715
+ id: o,
716
+ x: "0",
717
+ y: "0",
718
+ width: s.w,
719
+ height: s.h,
720
+ filterUnits: "userSpaceOnUse",
721
+ primitiveUnits: "userSpaceOnUse",
722
+ colorInterpolationFilters: "sRGB",
723
+ children: [
724
+ /* @__PURE__ */ i("feImage", {
725
+ href: u,
726
+ x: "0",
727
+ y: "0",
728
+ width: s.w,
729
+ height: s.h,
730
+ preserveAspectRatio: "none",
731
+ result: "map"
732
+ }),
733
+ [
734
+ 0,
735
+ 1,
736
+ 2
737
+ ].map((t) => /* @__PURE__ */ a(e.Fragment, { children: [/* @__PURE__ */ i("feDisplacementMap", {
738
+ in: "SourceGraphic",
739
+ in2: "map",
740
+ scale: 2 * (s.refraction + Math.abs(s.shift) + t * s.dispersion),
741
+ xChannelSelector: "R",
742
+ yChannelSelector: "G",
743
+ result: `d${t}`
744
+ }), /* @__PURE__ */ i("feColorMatrix", {
745
+ in: `d${t}`,
746
+ type: "matrix",
747
+ values: p(t),
748
+ result: `c${t}`
749
+ })] }, t)),
750
+ /* @__PURE__ */ i("feBlend", {
751
+ in: "c0",
752
+ in2: "c1",
753
+ mode: "screen",
754
+ result: "c01"
755
+ }),
756
+ /* @__PURE__ */ i("feBlend", {
757
+ in: "c01",
758
+ in2: "c2",
759
+ mode: "screen",
760
+ result: "rgb"
761
+ }),
762
+ /* @__PURE__ */ i("feGaussianBlur", {
763
+ in: "rgb",
764
+ stdDeviation: s.frost,
765
+ result: "soft"
766
+ }),
767
+ /* @__PURE__ */ i("feColorMatrix", {
768
+ in: "soft",
769
+ type: "saturate",
770
+ values: String(s.saturate)
771
+ })
772
+ ]
773
+ })
774
+ }) : null,
775
+ refracting: f,
776
+ props: {
777
+ "data-surface": "liquid",
778
+ "data-refraction": f ? "on" : "off",
779
+ style: f ? { backdropFilter: `url(#${o})` } : void 0,
780
+ onPointerMove: d
781
+ }
782
+ };
783
+ }
784
+ var dt = e.forwardRef(({ variant: t = "regular", tint: n = "auto", radius: r = 20, refraction: i = "auto", interactive: o, className: s, style: c, children: l, onPointerMove: u, ...d }, f) => {
785
+ let p = e.useRef(null), m = (e) => {
786
+ p.current = e, typeof f == "function" ? f(e) : f && (f.current = e);
787
+ }, h = ut(p, { refraction: i });
788
+ return /* @__PURE__ */ a("div", {
789
+ ref: m,
790
+ ...d,
791
+ ...h.props,
792
+ className: [
793
+ it.liquid,
794
+ it[t],
795
+ n === "auto" ? "" : it[`tint-${n}`],
796
+ o ? it.interactive : "",
797
+ s ?? ""
798
+ ].filter(Boolean).join(" "),
799
+ style: {
800
+ borderRadius: r,
801
+ ...h.props.style,
802
+ ...c
803
+ },
804
+ onPointerMove: (e) => {
805
+ h.props.onPointerMove(e), u?.(e);
806
+ },
807
+ children: [h.filter, l]
808
+ });
809
+ });
810
+ dt.displayName = "LiquidGlass";
811
+ var ft = (e = "regular", t = "auto") => [
812
+ it.liquid,
813
+ it[e],
814
+ t === "auto" ? "" : it[`tint-${t}`]
815
+ ].filter(Boolean).join(" "), pt = {
606
816
  "divider--horizontal": "_divider--horizontal_nem37_4",
607
817
  "divider--labeled": "_divider--labeled_nem37_13",
608
818
  "divider--vertical": "_divider--vertical_nem37_27",
609
819
  divider__label: "_divider__label_nem37_38"
610
- }, Ge = ({ orientation: e = "horizontal", label: t, className: n }) => /* @__PURE__ */ i("div", {
820
+ }, mt = ({ orientation: e = "horizontal", label: t, className: n }) => /* @__PURE__ */ i("div", {
611
821
  role: "separator",
612
822
  "aria-orientation": e,
613
823
  className: [
614
- We.divider,
615
- We[`divider--${e}`],
616
- t ? We["divider--labeled"] : "",
824
+ pt.divider,
825
+ pt[`divider--${e}`],
826
+ t ? pt["divider--labeled"] : "",
617
827
  n ?? ""
618
828
  ].filter(Boolean).join(" "),
619
829
  children: t && e === "horizontal" && /* @__PURE__ */ i("span", {
620
- className: We.divider__label,
830
+ className: pt.divider__label,
621
831
  children: t
622
832
  })
623
- }), I = {
624
- backdrop: "_backdrop_123ke_1",
625
- card: "_card_123ke_12",
626
- header: "_header_123ke_32",
627
- titleGroup: "_titleGroup_123ke_40",
628
- iconWrap: "_iconWrap_123ke_47",
629
- icon: "_icon_123ke_47",
630
- title: "_title_123ke_40",
631
- description: "_description_123ke_73",
632
- footer: "_footer_123ke_81",
633
- "footer--between": "_footer--between_123ke_92",
634
- "backdrop--entering": "_backdrop--entering_123ke_110",
635
- "sakani-modal-backdrop-in": "_sakani-modal-backdrop-in_123ke_1",
636
- "backdrop--exiting": "_backdrop--exiting_123ke_111",
637
- "sakani-modal-backdrop-out": "_sakani-modal-backdrop-out_123ke_1",
638
- "card--entering": "_card--entering_123ke_112",
639
- "sakani-modal-card-in": "_sakani-modal-card-in_123ke_1",
640
- "card--exiting": "_card--exiting_123ke_113",
641
- "sakani-modal-card-out": "_sakani-modal-card-out_123ke_1"
642
- }, Ke = ({ open: t, onClose: n, title: o, description: s, variant: c = "default", icon: l, cancelLabel: u = "Cancel", confirmLabel: d, onCancel: f, onConfirm: p, confirmLoading: m, closeOnEscape: h = !0, closeOnBackdropClick: g = !0, children: _, hideHeader: v = !1, hideFooterDivider: y = !1, footerJustify: b = "end", className: x }) => {
643
- let S = c === "destructive", C = e.useRef(null), w = e.useRef(null), T = e.useRef(null), E = Ue(T, t), [D, O] = e.useState(!1);
644
- return e.useEffect(() => {
645
- t && O(!0);
833
+ }), R = {
834
+ backdrop: "_backdrop_13dud_1",
835
+ card: "_card_13dud_12",
836
+ header: "_header_13dud_34",
837
+ titleGroup: "_titleGroup_13dud_42",
838
+ iconWrap: "_iconWrap_13dud_49",
839
+ icon: "_icon_13dud_49",
840
+ title: "_title_13dud_42",
841
+ description: "_description_13dud_75",
842
+ footer: "_footer_13dud_83",
843
+ "footer--between": "_footer--between_13dud_94",
844
+ "backdrop--entering": "_backdrop--entering_13dud_112",
845
+ "sakani-modal-backdrop-in": "_sakani-modal-backdrop-in_13dud_1",
846
+ "backdrop--exiting": "_backdrop--exiting_13dud_113",
847
+ "sakani-modal-backdrop-out": "_sakani-modal-backdrop-out_13dud_1",
848
+ "card--entering": "_card--entering_13dud_114",
849
+ "sakani-modal-card-in": "_sakani-modal-card-in_13dud_1",
850
+ "card--exiting": "_card--exiting_13dud_115",
851
+ "sakani-modal-card-out": "_sakani-modal-card-out_13dud_1"
852
+ }, ht = ({ open: t, onClose: n, title: o, description: s, variant: c = "default", icon: l, cancelLabel: u = "Cancel", confirmLabel: d, onCancel: f, onConfirm: p, confirmLoading: m, closeOnEscape: h = !0, closeOnBackdropClick: g = !0, children: _, hideHeader: v = !1, hideFooterDivider: y = !1, footerJustify: b = "end", className: x }) => {
853
+ let S = c === "destructive", C = e.useRef(null), w = e.useRef(null), T = e.useRef(null), E = nt(T, t), D = rt(T, t), O = D === "liquid", k = ut(C, { enabled: O }), [A, j] = e.useState(!1);
854
+ e.useEffect(() => {
855
+ t && j(!0);
646
856
  }, [t]), e.useEffect(() => {
647
- if (t || !D) return;
648
- let e = setTimeout(() => O(!1), 240);
857
+ if (t || !A) return;
858
+ let e = setTimeout(() => j(!1), 240);
649
859
  return () => clearTimeout(e);
650
- }, [t, D]), e.useEffect(() => {
860
+ }, [t, A]), e.useEffect(() => {
651
861
  if (!t) return;
652
862
  let e = (e) => {
653
863
  if (h && e.key === "Escape") {
@@ -672,16 +882,19 @@ var We = {
672
882
  return document.body.style.overflow = "hidden", C.current?.focus(), () => {
673
883
  document.body.style.overflow = e, w.current?.focus();
674
884
  };
675
- }, [t]), /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("span", {
885
+ }, [t]);
886
+ let ee = () => (f ?? n)();
887
+ return /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("span", {
676
888
  ref: T,
677
889
  style: { display: "none" },
678
890
  "aria-hidden": "true"
679
- }), D && me(/* @__PURE__ */ i("div", {
891
+ }), A && Ee(/* @__PURE__ */ i("div", {
680
892
  className: [
681
- I.backdrop,
893
+ R.backdrop,
682
894
  E,
683
- t ? I["backdrop--entering"] : I["backdrop--exiting"]
895
+ t ? R["backdrop--entering"] : R["backdrop--exiting"]
684
896
  ].filter(Boolean).join(" "),
897
+ "data-surface": D,
685
898
  onMouseDown: (e) => {
686
899
  g && e.target === e.currentTarget && n();
687
900
  },
@@ -693,33 +906,36 @@ var We = {
693
906
  "aria-label": v ? o : void 0,
694
907
  tabIndex: -1,
695
908
  className: [
696
- I.card,
697
- t ? I["card--entering"] : I["card--exiting"],
909
+ R.card,
910
+ O ? ft("regular") : "",
911
+ t ? R["card--entering"] : R["card--exiting"],
698
912
  x ?? ""
699
913
  ].filter(Boolean).join(" "),
914
+ ...O ? k.props : {},
700
915
  onAnimationEnd: (e) => {
701
- e.target === e.currentTarget && !t && O(!1);
916
+ e.target === e.currentTarget && !t && j(!1);
702
917
  },
703
918
  children: [
919
+ O && k.filter,
704
920
  !v && /* @__PURE__ */ a("div", {
705
- className: I.header,
921
+ className: R.header,
706
922
  children: [/* @__PURE__ */ a("div", {
707
- className: I.titleGroup,
923
+ className: R.titleGroup,
708
924
  children: [S && /* @__PURE__ */ i("span", {
709
- className: I.iconWrap,
925
+ className: R.iconWrap,
710
926
  "aria-hidden": "true",
711
- children: l ?? /* @__PURE__ */ i(se, {
927
+ children: l ?? /* @__PURE__ */ i(oe, {
712
928
  size: 24,
713
- strokeWidth: k(24),
714
- className: I.icon
929
+ strokeWidth: M(24),
930
+ className: R.icon
715
931
  })
716
932
  }), /* @__PURE__ */ i("p", {
717
933
  id: "modal-title",
718
- className: I.title,
934
+ className: R.title,
719
935
  children: o
720
936
  })]
721
- }), /* @__PURE__ */ i(ke, {
722
- icon: ce,
937
+ }), /* @__PURE__ */ i(He, {
938
+ icon: se,
723
939
  variant: "ghost",
724
940
  size: "lg",
725
941
  "aria-label": "Close",
@@ -727,19 +943,19 @@ var We = {
727
943
  })]
728
944
  }),
729
945
  s && /* @__PURE__ */ i("p", {
730
- className: I.description,
946
+ className: R.description,
731
947
  children: s
732
948
  }),
733
949
  _,
734
- !y && /* @__PURE__ */ i(Ge, {}),
950
+ !y && /* @__PURE__ */ i(mt, {}),
735
951
  /* @__PURE__ */ a("div", {
736
- className: [I.footer, b === "between" ? I["footer--between"] : ""].filter(Boolean).join(" "),
737
- children: [/* @__PURE__ */ i(N, {
952
+ className: [R.footer, b === "between" ? R["footer--between"] : ""].filter(Boolean).join(" "),
953
+ children: [/* @__PURE__ */ i(F, {
738
954
  variant: "secondary",
739
- onClick: () => (f ?? n)(),
955
+ onClick: ee,
740
956
  style: { borderColor: "transparent" },
741
957
  children: u
742
- }), /* @__PURE__ */ i(N, {
958
+ }), /* @__PURE__ */ i(F, {
743
959
  variant: S ? "destructive" : "primary",
744
960
  onClick: p,
745
961
  loading: m,
@@ -749,7 +965,7 @@ var We = {
749
965
  ]
750
966
  })
751
967
  }), document.body)] });
752
- }, L = {
968
+ }, z = {
753
969
  row: "_row_88l3n_2",
754
970
  "row--unread": "_row--unread_88l3n_12",
755
971
  iconWrapSurface: "_iconWrapSurface_88l3n_17",
@@ -763,33 +979,33 @@ var We = {
763
979
  cardTop: "_cardTop_88l3n_87",
764
980
  description: "_description_88l3n_94",
765
981
  actions: "_actions_88l3n_102"
766
- }, qe = ({ icon: e, title: t, timestamp: n, read: r = !1, description: s, onDismiss: c, dismissLabel: l = "Dismiss", actionLabel: u, onAction: d, className: f }) => {
982
+ }, gt = ({ icon: e, title: t, timestamp: n, read: r = !1, description: s, onDismiss: c, dismissLabel: l = "Dismiss", actionLabel: u, onAction: d, className: f }) => {
767
983
  let p = s !== void 0, m = !r && !p, h = e ?? /* @__PURE__ */ i(o, {
768
984
  size: 24,
769
- strokeWidth: k(24)
985
+ strokeWidth: M(24)
770
986
  });
771
987
  return p ? /* @__PURE__ */ a("div", {
772
- className: [L.card, f ?? ""].filter(Boolean).join(" "),
988
+ className: [z.card, f ?? ""].filter(Boolean).join(" "),
773
989
  children: [/* @__PURE__ */ a("div", {
774
- className: L.cardTop,
990
+ className: z.cardTop,
775
991
  children: [
776
992
  /* @__PURE__ */ i("span", {
777
- className: L.iconWrapCanvas,
993
+ className: z.iconWrapCanvas,
778
994
  "aria-hidden": "true",
779
995
  children: h
780
996
  }),
781
997
  /* @__PURE__ */ a("div", {
782
- className: L.content,
998
+ className: z.content,
783
999
  children: [/* @__PURE__ */ i("p", {
784
- className: L.titleBold,
1000
+ className: z.titleBold,
785
1001
  children: t
786
1002
  }), /* @__PURE__ */ i("p", {
787
- className: L.description,
1003
+ className: z.description,
788
1004
  children: s
789
1005
  })]
790
1006
  }),
791
- c && /* @__PURE__ */ i(ke, {
792
- icon: ce,
1007
+ c && /* @__PURE__ */ i(He, {
1008
+ icon: se,
793
1009
  variant: "ghost",
794
1010
  size: "sm",
795
1011
  "aria-label": "Close",
@@ -797,13 +1013,13 @@ var We = {
797
1013
  })
798
1014
  ]
799
1015
  }), /* @__PURE__ */ a("div", {
800
- className: L.actions,
801
- children: [c && /* @__PURE__ */ i(N, {
1016
+ className: z.actions,
1017
+ children: [c && /* @__PURE__ */ i(F, {
802
1018
  variant: "ghost",
803
1019
  size: "sm",
804
1020
  onClick: c,
805
1021
  children: l
806
- }), u && /* @__PURE__ */ i(N, {
1022
+ }), u && /* @__PURE__ */ i(F, {
807
1023
  variant: "secondary",
808
1024
  size: "sm",
809
1025
  onClick: d,
@@ -812,51 +1028,51 @@ var We = {
812
1028
  })]
813
1029
  })]
814
1030
  }) : /* @__PURE__ */ a("div", {
815
- className: [L.row, m ? L["row--unread"] : ""].filter(Boolean).join(" "),
1031
+ className: [z.row, m ? z["row--unread"] : ""].filter(Boolean).join(" "),
816
1032
  children: [
817
1033
  /* @__PURE__ */ i("span", {
818
- className: L.iconWrapSurface,
1034
+ className: z.iconWrapSurface,
819
1035
  "aria-hidden": "true",
820
1036
  children: h
821
1037
  }),
822
1038
  /* @__PURE__ */ a("div", {
823
- className: L.content,
1039
+ className: z.content,
824
1040
  children: [/* @__PURE__ */ i("p", {
825
- className: m ? L.titleBold : L.titleMuted,
1041
+ className: m ? z.titleBold : z.titleMuted,
826
1042
  children: t
827
1043
  }), n && /* @__PURE__ */ i("p", {
828
- className: L.timestamp,
1044
+ className: z.timestamp,
829
1045
  children: n
830
1046
  })]
831
1047
  }),
832
1048
  m && /* @__PURE__ */ i("span", {
833
- className: L.dot,
1049
+ className: z.dot,
834
1050
  "aria-hidden": "true"
835
1051
  })
836
1052
  ]
837
1053
  });
838
- }, Je = {
1054
+ }, _t = {
839
1055
  stat: "_stat_krs8c_1",
840
1056
  labelRow: "_labelRow_krs8c_10",
841
1057
  label: "_label_krs8c_10",
842
1058
  value: "_value_krs8c_27"
843
- }, Ye = ({ label: e, value: t, progress: n, className: r }) => /* @__PURE__ */ a("div", {
844
- className: [Je.stat, r ?? ""].filter(Boolean).join(" "),
1059
+ }, vt = ({ label: e, value: t, progress: n, className: r }) => /* @__PURE__ */ a("div", {
1060
+ className: [_t.stat, r ?? ""].filter(Boolean).join(" "),
845
1061
  children: [/* @__PURE__ */ a("div", {
846
- className: Je.labelRow,
1062
+ className: _t.labelRow,
847
1063
  children: [/* @__PURE__ */ i("p", {
848
- className: Je.label,
1064
+ className: _t.label,
849
1065
  children: e
850
1066
  }), /* @__PURE__ */ i("p", {
851
- className: Je.value,
1067
+ className: _t.value,
852
1068
  children: t
853
1069
  })]
854
- }), /* @__PURE__ */ i(Ve, {
1070
+ }), /* @__PURE__ */ i(et, {
855
1071
  value: n,
856
1072
  size: "lg",
857
1073
  label: e
858
1074
  })]
859
- }), Xe = {
1075
+ }), yt = {
860
1076
  balance: "_balance_5gcu5_1",
861
1077
  label: "_label_5gcu5_10",
862
1078
  amountRow: "_amountRow_5gcu5_19",
@@ -866,25 +1082,25 @@ var We = {
866
1082
  fill: "_fill_5gcu5_50",
867
1083
  "fill--over": "_fill--over_5gcu5_57",
868
1084
  footer: "_footer_5gcu5_61"
869
- }, Ze = (e) => e.toLocaleString("en-US", {
1085
+ }, bt = (e) => e.toLocaleString("en-US", {
870
1086
  style: "currency",
871
1087
  currency: "USD"
872
- }), Qe = ({ label: e = "Spent this month", spent: t, limit: n, formatAmount: r = Ze, className: o }) => {
1088
+ }), xt = ({ label: e = "Spent this month", spent: t, limit: n, formatAmount: r = bt, className: o }) => {
873
1089
  let s = t > n, c = s ? 100 : n > 0 ? t / n * 100 : 0, l = s ? `${r(t - n)} over your limit` : `${r(n - t)} remaining`;
874
1090
  return /* @__PURE__ */ a("div", {
875
- className: [Xe.balance, o ?? ""].filter(Boolean).join(" "),
1091
+ className: [yt.balance, o ?? ""].filter(Boolean).join(" "),
876
1092
  children: [
877
1093
  /* @__PURE__ */ i("p", {
878
- className: Xe.label,
1094
+ className: yt.label,
879
1095
  children: e
880
1096
  }),
881
1097
  /* @__PURE__ */ a("div", {
882
- className: Xe.amountRow,
1098
+ className: yt.amountRow,
883
1099
  children: [/* @__PURE__ */ i("p", {
884
- className: Xe.amount,
1100
+ className: yt.amount,
885
1101
  children: r(t)
886
1102
  }), /* @__PURE__ */ a("p", {
887
- className: Xe.limit,
1103
+ className: yt.limit,
888
1104
  children: [
889
1105
  "of ",
890
1106
  r(n),
@@ -893,24 +1109,294 @@ var We = {
893
1109
  })]
894
1110
  }),
895
1111
  /* @__PURE__ */ i("div", {
896
- className: Xe.track,
1112
+ className: yt.track,
897
1113
  role: "progressbar",
898
1114
  "aria-label": e,
899
1115
  "aria-valuenow": Math.round(c),
900
1116
  "aria-valuemin": 0,
901
1117
  "aria-valuemax": 100,
902
1118
  children: /* @__PURE__ */ i("div", {
903
- className: [Xe.fill, s ? Xe["fill--over"] : ""].filter(Boolean).join(" "),
1119
+ className: [yt.fill, s ? yt["fill--over"] : ""].filter(Boolean).join(" "),
904
1120
  style: { width: `${c}%` }
905
1121
  })
906
1122
  }),
907
1123
  /* @__PURE__ */ i("p", {
908
- className: Xe.footer,
1124
+ className: yt.footer,
909
1125
  children: l
910
1126
  })
911
1127
  ]
912
1128
  });
913
- }, $e = {
1129
+ };
1130
+ //#endregion
1131
+ //#region src/lib/useChartTokens.ts
1132
+ function St(e) {
1133
+ let [, r] = n(0);
1134
+ return t(() => {
1135
+ if (typeof document > "u") return;
1136
+ r((e) => e + 1);
1137
+ let t = new MutationObserver(() => r((e) => e + 1)), n = /* @__PURE__ */ new Set([document.documentElement]);
1138
+ for (let t = e.current; t; t = t.parentElement) n.add(t);
1139
+ return n.forEach((e) => t.observe(e, {
1140
+ attributes: !0,
1141
+ attributeFilter: ["class"]
1142
+ })), () => t.disconnect();
1143
+ }, [e]), (t) => {
1144
+ if (typeof window > "u") return;
1145
+ let n = e.current ?? document.documentElement;
1146
+ return getComputedStyle(n).getPropertyValue(t).trim() || void 0;
1147
+ };
1148
+ }
1149
+ //#endregion
1150
+ //#region src/lib/chartPalette.ts
1151
+ var Ct = [
1152
+ "#ff4700",
1153
+ "#5b92dd",
1154
+ "#47a8a2",
1155
+ "#9179d6",
1156
+ "#dca84f",
1157
+ "#12b76a"
1158
+ ], wt = {
1159
+ tooltip: "_tooltip_ic16u_3",
1160
+ title: "_title_ic16u_23",
1161
+ row: "_row_ic16u_27",
1162
+ dot: "_dot_ic16u_34",
1163
+ label: "_label_ic16u_41",
1164
+ value: "_value_ic16u_42"
1165
+ }, Tt = ({ active: e, payload: t, label: n, formatter: r }) => !e || !t || t.length === 0 ? null : /* @__PURE__ */ a("div", {
1166
+ className: wt.tooltip,
1167
+ children: [n !== void 0 && n !== "" && /* @__PURE__ */ i("span", {
1168
+ className: wt.title,
1169
+ children: n
1170
+ }), t.map((e, t) => /* @__PURE__ */ a("div", {
1171
+ className: wt.row,
1172
+ children: [
1173
+ /* @__PURE__ */ i("span", {
1174
+ className: wt.dot,
1175
+ style: { background: e.color ?? e.payload?.fill ?? e.fill }
1176
+ }),
1177
+ /* @__PURE__ */ i("span", {
1178
+ className: wt.label,
1179
+ children: e.name
1180
+ }),
1181
+ /* @__PURE__ */ i("span", {
1182
+ className: wt.value,
1183
+ children: r ? r(e.value, e.name) : e.value
1184
+ })
1185
+ ]
1186
+ }, t))]
1187
+ }), Et = {
1188
+ chart: "_chart_1s6lv_2",
1189
+ legend: "_legend_1s6lv_31",
1190
+ legendItem: "_legendItem_1s6lv_41",
1191
+ legendSwatch: "_legendSwatch_1s6lv_46"
1192
+ }, Dt = {
1193
+ sm: 180,
1194
+ md: 240,
1195
+ lg: 320,
1196
+ xl: 420
1197
+ }, B = 6, Ot = (e) => {
1198
+ if (e <= 0) return 1;
1199
+ let t = 10 ** Math.floor(Math.log10(e)), n = e / t;
1200
+ return (n <= 1 ? 1 : n <= 2 ? 2 : n <= 5 ? 5 : 10) * t;
1201
+ }, kt = ({ data: t, variant: n = "default", size: o = "md", seriesLabels: s = ["Value", "Value 2"], className: c }) => {
1202
+ let [l, u] = e.useState(null), [d, f] = e.useState(null), p = e.useRef(null), m = St(p), h = m("--color-chart-2") ?? "#5b92dd", g = m("--color-chart-5") ?? "#dca84f", _ = m("--color-chart-1") ?? "#ff4700", v = [
1203
+ 1,
1204
+ 2,
1205
+ 3,
1206
+ 4,
1207
+ 5,
1208
+ 6
1209
+ ].map((e) => m(`--color-chart-${e}`) ?? Ct[e - 1]), y = m("--color-border-subtle") ?? "#e7e5e1", b = m("--color-fg-muted") ?? "#78716a", x = n === "multiple" || n === "stacked", S = x && t.some((e) => e.value2 !== void 0), C = m("--color-bg-canvas") ?? "#fafaf9", w = Ot(Math.max(1, ...t.map((e) => Math.abs(e.value)))), T = [
1210
+ -w,
1211
+ -w / 2,
1212
+ 0,
1213
+ w / 2,
1214
+ w
1215
+ ], E = /* @__PURE__ */ i(Se, {
1216
+ cursor: !1,
1217
+ content: /* @__PURE__ */ i(Tt, {}),
1218
+ wrapperStyle: { zIndex: 50 },
1219
+ position: d ? { y: d.y } : void 0
1220
+ }), D = (e) => n === "active" ? v[e % v.length] : n === "negative" && t[e].value < 0 ? _ : h, O = (e) => l !== null && e !== l ? .45 : 1, k = (e, t, n, r, i, a) => ({
1221
+ x: e ? t + r : t + r / 2,
1222
+ y: e ? n + i / 2 : a < 0 ? n + i : n
1223
+ }), A = (e) => (r) => {
1224
+ let { x: o, y: s, width: c, height: l, fill: u, radius: d } = r, f = Number(t[r.index]?.[e] ?? 0), { x: p, y: m } = k(n === "horizontal", o, s, c, l, f);
1225
+ return n === "stacked" && e === "value" ? /* @__PURE__ */ i(be, {
1226
+ x: o,
1227
+ y: s,
1228
+ width: c,
1229
+ height: l,
1230
+ fill: u,
1231
+ radius: d
1232
+ }) : /* @__PURE__ */ a("g", { children: [
1233
+ /* @__PURE__ */ i(be, {
1234
+ x: o,
1235
+ y: s,
1236
+ width: c,
1237
+ height: l,
1238
+ fill: u,
1239
+ radius: d
1240
+ }),
1241
+ /* @__PURE__ */ i("circle", {
1242
+ cx: p,
1243
+ cy: m,
1244
+ r: 4,
1245
+ fill: u,
1246
+ stroke: C,
1247
+ strokeWidth: 1.5
1248
+ }),
1249
+ n === "stacked" && e === "value2" && /* @__PURE__ */ i("circle", {
1250
+ cx: o + c / 2,
1251
+ cy: s + l,
1252
+ r: 4,
1253
+ fill: h,
1254
+ stroke: C,
1255
+ strokeWidth: 1.5
1256
+ })
1257
+ ] });
1258
+ }, j = (e) => (r, i) => {
1259
+ u(i);
1260
+ let a = Number(t[i]?.[e] ?? 0);
1261
+ f(k(n === "horizontal", r.x, r.y, r.width, r.height, a));
1262
+ }, ee = () => {
1263
+ u(null), f(null);
1264
+ };
1265
+ return /* @__PURE__ */ i("div", {
1266
+ ref: p,
1267
+ className: [Et.chart, c ?? ""].filter(Boolean).join(" "),
1268
+ children: /* @__PURE__ */ i(xe, {
1269
+ width: "100%",
1270
+ height: Dt[o],
1271
+ children: /* @__PURE__ */ a(le, {
1272
+ data: t,
1273
+ layout: n === "horizontal" ? "vertical" : "horizontal",
1274
+ margin: {
1275
+ top: 8,
1276
+ right: 8,
1277
+ bottom: 8,
1278
+ left: n === "horizontal" ? 8 : 0
1279
+ },
1280
+ children: [
1281
+ /* @__PURE__ */ i(ue, {
1282
+ strokeDasharray: "3 3",
1283
+ stroke: y,
1284
+ horizontal: !0,
1285
+ vertical: n === "horizontal"
1286
+ }),
1287
+ n === "horizontal" ? /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(Ce, {
1288
+ type: "number",
1289
+ stroke: b,
1290
+ fontSize: 12,
1291
+ tickLine: !1,
1292
+ axisLine: !1
1293
+ }), /* @__PURE__ */ i(we, {
1294
+ type: "category",
1295
+ dataKey: "label",
1296
+ stroke: b,
1297
+ fontSize: 12,
1298
+ tickLine: !1,
1299
+ axisLine: !1,
1300
+ width: 64
1301
+ })] }) : /* @__PURE__ */ i(Ce, {
1302
+ dataKey: "label",
1303
+ stroke: b,
1304
+ fontSize: 12,
1305
+ tickLine: !1,
1306
+ axisLine: !1,
1307
+ interval: 0
1308
+ }),
1309
+ n === "negative" && /* @__PURE__ */ i(we, {
1310
+ hide: !0,
1311
+ domain: [-w, w],
1312
+ ticks: T
1313
+ }),
1314
+ E,
1315
+ x && /* @__PURE__ */ i(fe, { content: (e) => /* @__PURE__ */ i("ul", {
1316
+ className: Et.legend,
1317
+ children: e.payload?.map((e) => /* @__PURE__ */ a("li", {
1318
+ className: Et.legendItem,
1319
+ children: [/* @__PURE__ */ i("span", {
1320
+ className: Et.legendSwatch,
1321
+ style: { background: e.color }
1322
+ }), /* @__PURE__ */ i("span", {
1323
+ style: { color: e.color },
1324
+ children: e.value
1325
+ })]
1326
+ }, e.value))
1327
+ }) }),
1328
+ x ? /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(ce, {
1329
+ dataKey: "value",
1330
+ name: s[0] ?? "Value",
1331
+ fill: h,
1332
+ stackId: n === "stacked" ? "stack" : void 0,
1333
+ radius: n === "stacked" ? [
1334
+ 0,
1335
+ 0,
1336
+ B,
1337
+ B
1338
+ ] : [
1339
+ B,
1340
+ B,
1341
+ B,
1342
+ B
1343
+ ],
1344
+ isAnimationActive: !1,
1345
+ activeBar: A("value"),
1346
+ onMouseEnter: j("value"),
1347
+ onMouseLeave: ee,
1348
+ children: t.map((e, t) => /* @__PURE__ */ i(de, {
1349
+ fill: h,
1350
+ fillOpacity: l !== null && t !== l ? .45 : 1
1351
+ }, t))
1352
+ }), S && /* @__PURE__ */ i(ce, {
1353
+ dataKey: "value2",
1354
+ name: s[1] ?? "Value 2",
1355
+ fill: g,
1356
+ stackId: n === "stacked" ? "stack" : void 0,
1357
+ radius: n === "stacked" ? [
1358
+ B,
1359
+ B,
1360
+ 0,
1361
+ 0
1362
+ ] : [
1363
+ B,
1364
+ B,
1365
+ B,
1366
+ B
1367
+ ],
1368
+ isAnimationActive: !1,
1369
+ activeBar: A("value2"),
1370
+ onMouseEnter: j("value2"),
1371
+ onMouseLeave: ee,
1372
+ children: t.map((e, t) => /* @__PURE__ */ i(de, {
1373
+ fill: g,
1374
+ fillOpacity: l !== null && t !== l ? .45 : 1
1375
+ }, t))
1376
+ })] }) : /* @__PURE__ */ i(ce, {
1377
+ dataKey: "value",
1378
+ name: "Value",
1379
+ fill: l === null ? h : D(l),
1380
+ radius: [
1381
+ B,
1382
+ B,
1383
+ B,
1384
+ B
1385
+ ],
1386
+ isAnimationActive: !1,
1387
+ activeBar: A("value"),
1388
+ onMouseEnter: j("value"),
1389
+ onMouseLeave: ee,
1390
+ children: t.map((e, t) => /* @__PURE__ */ i(de, {
1391
+ fill: D(t),
1392
+ fillOpacity: O(t)
1393
+ }, t))
1394
+ })
1395
+ ]
1396
+ })
1397
+ })
1398
+ });
1399
+ }, At = {
914
1400
  badge: "_badge_a5a38_6",
915
1401
  "badge--neutral-subtle": "_badge--neutral-subtle_a5a38_20",
916
1402
  "badge--neutral-solid": "_badge--neutral-solid_a5a38_21",
@@ -926,29 +1412,29 @@ var We = {
926
1412
  "badge--info-solid": "_badge--info-solid_a5a38_41",
927
1413
  badge__icon: "_badge__icon_a5a38_44",
928
1414
  badge__label: "_badge__label_a5a38_45"
929
- }, et = ({ variant: e = "neutral", emphasis: t = "subtle", leftIcon: n, rightIcon: r, children: o, className: s }) => /* @__PURE__ */ a("span", {
1415
+ }, jt = ({ variant: e = "neutral", emphasis: t = "subtle", leftIcon: n, rightIcon: r, children: o, className: s }) => /* @__PURE__ */ a("span", {
930
1416
  className: [
931
- $e.badge,
932
- $e[`badge--${e}-${t}`],
1417
+ At.badge,
1418
+ At[`badge--${e}-${t}`],
933
1419
  s ?? ""
934
1420
  ].filter(Boolean).join(" "),
935
1421
  children: [
936
1422
  n && /* @__PURE__ */ i("span", {
937
- className: $e.badge__icon,
1423
+ className: At.badge__icon,
938
1424
  "aria-hidden": "true",
939
1425
  children: n
940
1426
  }),
941
1427
  /* @__PURE__ */ i("span", {
942
- className: $e.badge__label,
1428
+ className: At.badge__label,
943
1429
  children: o
944
1430
  }),
945
1431
  r && /* @__PURE__ */ i("span", {
946
- className: $e.badge__icon,
1432
+ className: At.badge__icon,
947
1433
  "aria-hidden": "true",
948
1434
  children: r
949
1435
  })
950
1436
  ]
951
- }), R = {
1437
+ }), V = {
952
1438
  stepper: "_stepper_1w3rz_1",
953
1439
  stepBtn: "_stepBtn_1w3rz_10",
954
1440
  stepDivider: "_stepDivider_1w3rz_27",
@@ -967,7 +1453,7 @@ var We = {
967
1453
  "roll-out-down": "_roll-out-down_1w3rz_1",
968
1454
  rollInDown: "_rollInDown_1w3rz_133",
969
1455
  "roll-in-down": "_roll-in-down_1w3rz_1"
970
- }, tt = ({ value: t }) => {
1456
+ }, Mt = ({ value: t }) => {
971
1457
  let n = e.useRef(t), [r, o] = e.useState(null);
972
1458
  return t !== n.current && (o({
973
1459
  value: n.current,
@@ -977,50 +1463,50 @@ var We = {
977
1463
  let e = setTimeout(() => o(null), 260);
978
1464
  return () => clearTimeout(e);
979
1465
  }, [r]), /* @__PURE__ */ a("span", {
980
- className: R.roll,
1466
+ className: V.roll,
981
1467
  children: [r && /* @__PURE__ */ i("span", {
982
- className: [R.rollNum, r.direction === "up" ? R.rollOutUp : R.rollOutDown].join(" "),
1468
+ className: [V.rollNum, r.direction === "up" ? V.rollOutUp : V.rollOutDown].join(" "),
983
1469
  "aria-hidden": "true",
984
1470
  children: r.value
985
1471
  }, `out-${r.value}`), /* @__PURE__ */ i("span", {
986
- className: [R.rollNum, r ? r.direction === "up" ? R.rollInUp : R.rollInDown : ""].filter(Boolean).join(" "),
1472
+ className: [V.rollNum, r ? r.direction === "up" ? V.rollInUp : V.rollInDown : ""].filter(Boolean).join(" "),
987
1473
  onAnimationEnd: () => o(null),
988
1474
  children: t
989
1475
  }, `in-${t}`)]
990
1476
  });
991
- }, nt = ({ quantity: t, onQuantityChange: n, min: r = 1, max: o, label: s = "Quantity", className: c }) => {
1477
+ }, Nt = ({ quantity: t, onQuantityChange: n, min: r = 1, max: o, label: s = "Quantity", className: c }) => {
992
1478
  let l = t > r, u = o === void 0 || t < o, d = e.useRef(null), [f, p] = e.useState(!1), [m, h] = e.useState(String(t)), g = (e) => {
993
1479
  let t = e;
994
1480
  return r !== void 0 && (t = Math.max(r, t)), o !== void 0 && (t = Math.min(o, t)), t;
995
1481
  };
996
1482
  return /* @__PURE__ */ a("div", {
997
- className: [R.stepper, c ?? ""].filter(Boolean).join(" "),
1483
+ className: [V.stepper, c ?? ""].filter(Boolean).join(" "),
998
1484
  role: "group",
999
1485
  "aria-label": s,
1000
1486
  children: [
1001
1487
  /* @__PURE__ */ i("button", {
1002
1488
  type: "button",
1003
- className: R.stepBtn,
1489
+ className: V.stepBtn,
1004
1490
  disabled: !l,
1005
1491
  onClick: () => n?.(Math.max(r, t - 1)),
1006
1492
  "aria-label": "Decrease quantity",
1007
1493
  children: /* @__PURE__ */ i(w, {
1008
1494
  size: 14,
1009
- strokeWidth: k(14)
1495
+ strokeWidth: M(14)
1010
1496
  })
1011
1497
  }),
1012
1498
  /* @__PURE__ */ i("span", {
1013
- className: R.stepDivider,
1499
+ className: V.stepDivider,
1014
1500
  "aria-hidden": "true"
1015
1501
  }),
1016
1502
  /* @__PURE__ */ a("span", {
1017
- className: R.stepValue,
1503
+ className: V.stepValue,
1018
1504
  children: [/* @__PURE__ */ i("input", {
1019
1505
  ref: d,
1020
1506
  type: "text",
1021
1507
  inputMode: "numeric",
1022
1508
  size: Math.max((f ? m : String(t)).length, 1),
1023
- className: [R.stepInput, f ? "" : R.stepInputResting].filter(Boolean).join(" "),
1509
+ className: [V.stepInput, f ? "" : V.stepInputResting].filter(Boolean).join(" "),
1024
1510
  value: f ? m : String(t),
1025
1511
  "aria-label": s,
1026
1512
  onFocus: (e) => {
@@ -1039,29 +1525,29 @@ var We = {
1039
1525
  e.key === "Enter" && (e.preventDefault(), d.current?.blur()), e.key === "Escape" && (h(String(t)), d.current?.blur());
1040
1526
  }
1041
1527
  }), /* @__PURE__ */ i("span", {
1042
- className: [R.rollOverlay, f ? R.rollOverlayHidden : ""].filter(Boolean).join(" "),
1528
+ className: [V.rollOverlay, f ? V.rollOverlayHidden : ""].filter(Boolean).join(" "),
1043
1529
  "aria-hidden": "true",
1044
- children: /* @__PURE__ */ i(tt, { value: t })
1530
+ children: /* @__PURE__ */ i(Mt, { value: t })
1045
1531
  })]
1046
1532
  }),
1047
1533
  /* @__PURE__ */ i("span", {
1048
- className: R.stepDivider,
1534
+ className: V.stepDivider,
1049
1535
  "aria-hidden": "true"
1050
1536
  }),
1051
1537
  /* @__PURE__ */ i("button", {
1052
1538
  type: "button",
1053
- className: R.stepBtn,
1539
+ className: V.stepBtn,
1054
1540
  disabled: !u,
1055
1541
  onClick: () => n?.(o === void 0 ? t + 1 : Math.min(o, t + 1)),
1056
1542
  "aria-label": "Increase quantity",
1057
- children: /* @__PURE__ */ i(O, {
1543
+ children: /* @__PURE__ */ i(k, {
1058
1544
  size: 14,
1059
- strokeWidth: k(14)
1545
+ strokeWidth: M(14)
1060
1546
  })
1061
1547
  })
1062
1548
  ]
1063
1549
  });
1064
- }, z = {
1550
+ }, Pt = {
1065
1551
  item: "_item_15jww_1",
1066
1552
  thumb: "_thumb_15jww_11",
1067
1553
  info: "_info_15jww_19",
@@ -1072,31 +1558,31 @@ var We = {
1072
1558
  priceRow: "_priceRow_15jww_67",
1073
1559
  priceOriginal: "_priceOriginal_15jww_75",
1074
1560
  priceSale: "_priceSale_15jww_80"
1075
- }, rt = (e) => e.toLocaleString("en-US", {
1561
+ }, Ft = (e) => e.toLocaleString("en-US", {
1076
1562
  style: "currency",
1077
1563
  currency: "USD"
1078
- }), it = ({ image: e, imageAlt: t, name: n, variant: r, price: o, compareAtPrice: s, quantity: c, onQuantityChange: l, minQuantity: u = 1, maxQuantity: d, onRemove: f, removeLabel: p = "Remove item", formatPrice: m = rt, className: h }) => {
1564
+ }), It = ({ image: e, imageAlt: t, name: n, variant: r, price: o, compareAtPrice: s, quantity: c, onQuantityChange: l, minQuantity: u = 1, maxQuantity: d, onRemove: f, removeLabel: p = "Remove item", formatPrice: m = Ft, className: h }) => {
1079
1565
  let g = s !== void 0;
1080
1566
  return /* @__PURE__ */ a("div", {
1081
- className: [z.item, h ?? ""].filter(Boolean).join(" "),
1567
+ className: [Pt.item, h ?? ""].filter(Boolean).join(" "),
1082
1568
  children: [
1083
1569
  /* @__PURE__ */ i("img", {
1084
1570
  src: e,
1085
1571
  alt: t ?? n,
1086
- className: z.thumb
1572
+ className: Pt.thumb
1087
1573
  }),
1088
1574
  /* @__PURE__ */ a("div", {
1089
- className: z.info,
1575
+ className: Pt.info,
1090
1576
  children: [
1091
1577
  /* @__PURE__ */ i("p", {
1092
- className: z.name,
1578
+ className: Pt.name,
1093
1579
  children: n
1094
1580
  }),
1095
1581
  r && /* @__PURE__ */ i("p", {
1096
- className: z.variant,
1582
+ className: Pt.variant,
1097
1583
  children: r
1098
1584
  }),
1099
- /* @__PURE__ */ i(nt, {
1585
+ /* @__PURE__ */ i(Nt, {
1100
1586
  quantity: c,
1101
1587
  onQuantityChange: l,
1102
1588
  min: u,
@@ -1106,20 +1592,20 @@ var We = {
1106
1592
  ]
1107
1593
  }),
1108
1594
  /* @__PURE__ */ a("div", {
1109
- className: z.right,
1595
+ className: Pt.right,
1110
1596
  children: [g ? /* @__PURE__ */ a("div", {
1111
- className: z.priceRow,
1597
+ className: Pt.priceRow,
1112
1598
  children: [/* @__PURE__ */ i("span", {
1113
- className: z.priceOriginal,
1599
+ className: Pt.priceOriginal,
1114
1600
  children: m(s)
1115
1601
  }), /* @__PURE__ */ i("span", {
1116
- className: z.priceSale,
1602
+ className: Pt.priceSale,
1117
1603
  children: m(o)
1118
1604
  })]
1119
1605
  }) : /* @__PURE__ */ i("p", {
1120
- className: z.price,
1606
+ className: Pt.price,
1121
1607
  children: m(o)
1122
- }), /* @__PURE__ */ i(ke, {
1608
+ }), /* @__PURE__ */ i(He, {
1123
1609
  icon: w,
1124
1610
  variant: "outline",
1125
1611
  size: "sm",
@@ -1129,7 +1615,7 @@ var We = {
1129
1615
  })
1130
1616
  ]
1131
1617
  });
1132
- }, at = {
1618
+ }, Lt = {
1133
1619
  steps: "_steps_t53um_1",
1134
1620
  step: "_step_t53um_1",
1135
1621
  connector: "_connector_t53um_16",
@@ -1140,55 +1626,55 @@ var We = {
1140
1626
  label: "_label_t53um_49",
1141
1627
  labelActive: "_labelActive_t53um_56",
1142
1628
  labelUpcoming: "_labelUpcoming_t53um_59"
1143
- }, ot = [
1629
+ }, Rt = [
1144
1630
  "Cart",
1145
1631
  "Shipping",
1146
1632
  "Payment",
1147
1633
  "Confirmation"
1148
- ], st = ({ steps: t = ot, currentStep: n, className: r }) => /* @__PURE__ */ i("div", {
1149
- className: [at.steps, r ?? ""].filter(Boolean).join(" "),
1634
+ ], zt = ({ steps: t = Rt, currentStep: n, className: r }) => /* @__PURE__ */ i("div", {
1635
+ className: [Lt.steps, r ?? ""].filter(Boolean).join(" "),
1150
1636
  role: "list",
1151
1637
  children: t.map((r, o) => {
1152
1638
  let s = o < n ? "completed" : o === n ? "active" : "upcoming", c = o === t.length - 1;
1153
1639
  return /* @__PURE__ */ a(e.Fragment, { children: [/* @__PURE__ */ a("div", {
1154
- className: at.step,
1640
+ className: Lt.step,
1155
1641
  role: "listitem",
1156
1642
  "aria-current": s === "active" ? "step" : void 0,
1157
1643
  children: [/* @__PURE__ */ i("span", {
1158
1644
  className: [
1159
- at.circle,
1160
- s === "completed" ? at.circleCompleted : "",
1161
- s === "active" ? at.circleActive : "",
1162
- s === "upcoming" ? at.circleUpcoming : ""
1645
+ Lt.circle,
1646
+ s === "completed" ? Lt.circleCompleted : "",
1647
+ s === "active" ? Lt.circleActive : "",
1648
+ s === "upcoming" ? Lt.circleUpcoming : ""
1163
1649
  ].filter(Boolean).join(" "),
1164
1650
  "aria-hidden": "true",
1165
1651
  children: /* @__PURE__ */ i(l, {
1166
1652
  size: 14,
1167
- strokeWidth: k(14)
1653
+ strokeWidth: M(14)
1168
1654
  })
1169
1655
  }), /* @__PURE__ */ i("span", {
1170
1656
  className: [
1171
- at.label,
1172
- s === "active" ? at.labelActive : "",
1173
- s === "upcoming" ? at.labelUpcoming : ""
1657
+ Lt.label,
1658
+ s === "active" ? Lt.labelActive : "",
1659
+ s === "upcoming" ? Lt.labelUpcoming : ""
1174
1660
  ].filter(Boolean).join(" "),
1175
1661
  children: r
1176
1662
  })]
1177
1663
  }), !c && /* @__PURE__ */ i("span", {
1178
- className: at.connector,
1664
+ className: Lt.connector,
1179
1665
  "aria-hidden": "true"
1180
1666
  })] }, r);
1181
1667
  })
1182
- }), ct = "#fafaf9", lt = "#141414", ut = (e, t, n) => {
1668
+ }), Bt = "#fafaf9", Vt = "#141414", Ht = (e, t, n) => {
1183
1669
  let r = (e) => {
1184
1670
  let t = e / 255;
1185
1671
  return t <= .03928 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
1186
1672
  };
1187
1673
  return .2126 * r(e) + .7152 * r(t) + .0722 * r(n);
1188
- }, dt = (e, t) => {
1674
+ }, Ut = (e, t) => {
1189
1675
  let n = Math.max(e, t), r = Math.min(e, t);
1190
1676
  return (n + .05) / (r + .05);
1191
- }, ft = (e) => {
1677
+ }, Wt = (e) => {
1192
1678
  let t = e.trim().toLowerCase(), n = /^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.exec(t);
1193
1679
  if (n) {
1194
1680
  let e = n[1];
@@ -1204,31 +1690,31 @@ var We = {
1204
1690
  Number(r[2]),
1205
1691
  Number(r[3])
1206
1692
  ] : null;
1207
- }, pt = (e, t, n) => {
1208
- let r = ut(e, t, n), i = dt(r, ut(20, 20, 20));
1209
- return dt(r, ut(250, 250, 249)) >= i ? ct : lt;
1210
- }, mt = null, ht = (e) => {
1211
- let t = ft(e);
1212
- if (t) return pt(...t);
1213
- if (typeof document > "u") return ct;
1214
- mt ??= document.createElement("canvas"), mt.width = 1, mt.height = 1;
1215
- let n = mt.getContext("2d", { willReadFrequently: !0 });
1216
- if (!n) return ct;
1693
+ }, Gt = (e, t, n) => {
1694
+ let r = Ht(e, t, n), i = Ut(r, Ht(20, 20, 20));
1695
+ return Ut(r, Ht(250, 250, 249)) >= i ? Bt : Vt;
1696
+ }, Kt = null, qt = (e) => {
1697
+ let t = Wt(e);
1698
+ if (t) return Gt(...t);
1699
+ if (typeof document > "u") return Bt;
1700
+ Kt ??= document.createElement("canvas"), Kt.width = 1, Kt.height = 1;
1701
+ let n = Kt.getContext("2d", { willReadFrequently: !0 });
1702
+ if (!n) return Bt;
1217
1703
  n.clearRect(0, 0, 1, 1), n.fillStyle = e, n.fillRect(0, 0, 1, 1);
1218
1704
  let [r, i, a] = n.getImageData(0, 0, 1, 1).data;
1219
- return pt(r, i, a);
1220
- }, gt = {
1705
+ return Gt(r, i, a);
1706
+ }, Jt = {
1221
1707
  swatch: "_swatch_1i3c3_1",
1222
1708
  circle: "_circle_1i3c3_22",
1223
1709
  circleUnavailable: "_circleUnavailable_1i3c3_32",
1224
1710
  ring: "_ring_1i3c3_39",
1225
1711
  check: "_check_1i3c3_55",
1226
1712
  strike: "_strike_1i3c3_66"
1227
- }, _t = ({ color: t, label: n, selected: r = !1, available: o = !0, onSelect: s, className: c }) => {
1228
- let u = e.useMemo(() => ht(t), [t]);
1713
+ }, Yt = ({ color: t, label: n, selected: r = !1, available: o = !0, onSelect: s, className: c }) => {
1714
+ let u = e.useMemo(() => qt(t), [t]);
1229
1715
  return /* @__PURE__ */ a("button", {
1230
1716
  type: "button",
1231
- className: [gt.swatch, c ?? ""].filter(Boolean).join(" "),
1717
+ className: [Jt.swatch, c ?? ""].filter(Boolean).join(" "),
1232
1718
  style: { "--swatch-color": t },
1233
1719
  disabled: !o,
1234
1720
  "aria-pressed": o ? r : void 0,
@@ -1236,49 +1722,49 @@ var We = {
1236
1722
  onClick: s,
1237
1723
  children: [
1238
1724
  r && o && /* @__PURE__ */ i("span", {
1239
- className: gt.ring,
1725
+ className: Jt.ring,
1240
1726
  "aria-hidden": "true"
1241
1727
  }),
1242
1728
  /* @__PURE__ */ i("span", {
1243
- className: [gt.circle, o ? "" : gt.circleUnavailable].filter(Boolean).join(" "),
1729
+ className: [Jt.circle, o ? "" : Jt.circleUnavailable].filter(Boolean).join(" "),
1244
1730
  "aria-hidden": "true"
1245
1731
  }),
1246
1732
  r && o && /* @__PURE__ */ i(l, {
1247
1733
  size: 14,
1248
- strokeWidth: k(14),
1249
- className: gt.check,
1734
+ strokeWidth: M(14),
1735
+ className: Jt.check,
1250
1736
  style: { color: u },
1251
1737
  "aria-hidden": "true"
1252
1738
  }),
1253
1739
  !o && /* @__PURE__ */ i("span", {
1254
- className: gt.strike,
1740
+ className: Jt.strike,
1255
1741
  style: { background: u },
1256
1742
  "aria-hidden": "true"
1257
1743
  })
1258
1744
  ]
1259
1745
  });
1260
- }, vt = {
1746
+ }, Xt = {
1261
1747
  row: "_row_1r4ef_1",
1262
1748
  original: "_original_1r4ef_8",
1263
1749
  price: "_price_1r4ef_17",
1264
1750
  priceSale: "_priceSale_1r4ef_24"
1265
- }, yt = (e) => e.toLocaleString("en-US", {
1751
+ }, Zt = (e) => e.toLocaleString("en-US", {
1266
1752
  style: "currency",
1267
1753
  currency: "USD"
1268
- }), bt = ({ price: e, compareAtPrice: t, showBadge: n = !1, formatPrice: r = yt, className: o }) => {
1754
+ }), Qt = ({ price: e, compareAtPrice: t, showBadge: n = !1, formatPrice: r = Zt, className: o }) => {
1269
1755
  let s = t !== void 0, c = s ? Math.ceil((1 - e / t) * 100) : 0;
1270
1756
  return /* @__PURE__ */ a("div", {
1271
- className: [vt.row, o ?? ""].filter(Boolean).join(" "),
1757
+ className: [Xt.row, o ?? ""].filter(Boolean).join(" "),
1272
1758
  children: [
1273
1759
  s && /* @__PURE__ */ i("span", {
1274
- className: vt.original,
1760
+ className: Xt.original,
1275
1761
  children: r(t)
1276
1762
  }),
1277
1763
  /* @__PURE__ */ i("span", {
1278
- className: [vt.price, s ? vt.priceSale : ""].filter(Boolean).join(" "),
1764
+ className: [Xt.price, s ? Xt.priceSale : ""].filter(Boolean).join(" "),
1279
1765
  children: r(e)
1280
1766
  }),
1281
- s && n && /* @__PURE__ */ a(et, {
1767
+ s && n && /* @__PURE__ */ a(jt, {
1282
1768
  variant: "danger",
1283
1769
  emphasis: "solid",
1284
1770
  children: [
@@ -1289,17 +1775,17 @@ var We = {
1289
1775
  })
1290
1776
  ]
1291
1777
  });
1292
- }, xt = {
1778
+ }, $t = {
1293
1779
  button: "_button_58k4v_1",
1294
1780
  icon: "_icon_58k4v_24",
1295
1781
  iconSaved: "_iconSaved_58k4v_27",
1296
1782
  bounce: "_bounce_58k4v_40",
1297
1783
  "wishlist-bounce": "_wishlist-bounce_58k4v_1"
1298
- }, St = ({ saved: t = !1, onToggle: n, label: r = "item", className: a }) => {
1784
+ }, en = ({ saved: t = !1, onToggle: n, label: r = "item", className: a }) => {
1299
1785
  let [o, s] = e.useState(!1);
1300
1786
  return /* @__PURE__ */ i("button", {
1301
1787
  type: "button",
1302
- className: [xt.button, a ?? ""].filter(Boolean).join(" "),
1788
+ className: [$t.button, a ?? ""].filter(Boolean).join(" "),
1303
1789
  "aria-pressed": t,
1304
1790
  "aria-label": t ? `Remove ${r} from wishlist` : `Add ${r} to wishlist`,
1305
1791
  onClick: () => {
@@ -1307,13 +1793,13 @@ var We = {
1307
1793
  },
1308
1794
  children: /* @__PURE__ */ i(S, {
1309
1795
  size: 16,
1310
- strokeWidth: k(16),
1311
- className: [t ? xt.iconSaved : xt.icon, o ? xt.bounce : ""].filter(Boolean).join(" "),
1796
+ strokeWidth: M(16),
1797
+ className: [t ? $t.iconSaved : $t.icon, o ? $t.bounce : ""].filter(Boolean).join(" "),
1312
1798
  fill: t ? "currentColor" : "none",
1313
1799
  onAnimationEnd: () => s(!1)
1314
1800
  })
1315
1801
  });
1316
- }, B = {
1802
+ }, H = {
1317
1803
  card: "_card_jlv97_1",
1318
1804
  imageWrap: "_imageWrap_jlv97_16",
1319
1805
  image: "_image_jlv97_16",
@@ -1333,97 +1819,97 @@ var We = {
1333
1819
  description: "_description_jlv97_118",
1334
1820
  swatches: "_swatches_jlv97_131",
1335
1821
  addButton: "_addButton_jlv97_136"
1336
- }, Ct = (e) => e.toLocaleString("en-US", {
1822
+ }, tn = (e) => e.toLocaleString("en-US", {
1337
1823
  style: "currency",
1338
1824
  currency: "USD"
1339
- }), wt = ({ image: e, imageAlt: t, name: n, description: r, price: o, compareAtPrice: s, rating: c, reviewCount: l, colors: u = [], onColorSelect: d, inStock: f = !0, wishlisted: p = !1, onWishlistToggle: m, onAddItem: h, addItemLabel: g = "Add Item", formatPrice: _ = Ct, className: v }) => {
1825
+ }), nn = ({ image: e, imageAlt: t, name: n, description: r, price: o, compareAtPrice: s, rating: c, reviewCount: l, colors: u = [], onColorSelect: d, inStock: f = !0, wishlisted: p = !1, onWishlistToggle: m, onAddItem: h, addItemLabel: g = "Add Item", formatPrice: _ = tn, className: v }) => {
1340
1826
  let y = s !== void 0, b = y ? Math.ceil((1 - o / s) * 100) : 0, x = c === void 0 ? 0 : Math.round(c);
1341
1827
  return /* @__PURE__ */ a("div", {
1342
- className: [B.card, v ?? ""].filter(Boolean).join(" "),
1828
+ className: [H.card, v ?? ""].filter(Boolean).join(" "),
1343
1829
  children: [/* @__PURE__ */ a("div", {
1344
- className: B.imageWrap,
1830
+ className: H.imageWrap,
1345
1831
  children: [
1346
1832
  /* @__PURE__ */ i("img", {
1347
1833
  src: e,
1348
1834
  alt: t ?? n,
1349
- className: [B.image, f ? "" : B.imageDimmed].filter(Boolean).join(" ")
1835
+ className: [H.image, f ? "" : H.imageDimmed].filter(Boolean).join(" ")
1350
1836
  }),
1351
- y && f && /* @__PURE__ */ a(et, {
1837
+ y && f && /* @__PURE__ */ a(jt, {
1352
1838
  variant: "danger",
1353
1839
  emphasis: "solid",
1354
- className: B.saleBadge,
1840
+ className: H.saleBadge,
1355
1841
  children: [
1356
1842
  "-",
1357
1843
  b,
1358
1844
  "%"
1359
1845
  ]
1360
1846
  }),
1361
- f && /* @__PURE__ */ i(St, {
1847
+ f && /* @__PURE__ */ i(en, {
1362
1848
  saved: p,
1363
1849
  label: n,
1364
- className: B.wishlistBtn,
1850
+ className: H.wishlistBtn,
1365
1851
  onToggle: m
1366
1852
  }),
1367
1853
  !f && /* @__PURE__ */ i("span", {
1368
- className: B.outOfStockLabel,
1854
+ className: H.outOfStockLabel,
1369
1855
  children: "Out of stock"
1370
1856
  })
1371
1857
  ]
1372
1858
  }), /* @__PURE__ */ a("div", {
1373
- className: B.body,
1859
+ className: H.body,
1374
1860
  children: [
1375
1861
  c !== void 0 && /* @__PURE__ */ i("div", {
1376
- className: B.rating,
1862
+ className: H.rating,
1377
1863
  role: "img",
1378
1864
  "aria-label": `Rated ${c} out of 5${l ? ` (${l} reviews)` : ""}`,
1379
- children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ i(re, {
1865
+ children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ i(ne, {
1380
1866
  size: 16,
1381
- strokeWidth: k(16),
1382
- className: t < x ? B.starFilled : B.starEmpty,
1867
+ strokeWidth: M(16),
1868
+ className: t < x ? H.starFilled : H.starEmpty,
1383
1869
  fill: t < x ? "currentColor" : "none"
1384
1870
  }, t))
1385
1871
  }),
1386
1872
  /* @__PURE__ */ a("div", {
1387
- className: B.titleRow,
1873
+ className: H.titleRow,
1388
1874
  children: [/* @__PURE__ */ i("p", {
1389
- className: B.name,
1875
+ className: H.name,
1390
1876
  children: n
1391
1877
  }), /* @__PURE__ */ a("div", {
1392
- className: B.priceRow,
1878
+ className: H.priceRow,
1393
1879
  children: [y && /* @__PURE__ */ i("span", {
1394
- className: B.priceOriginal,
1880
+ className: H.priceOriginal,
1395
1881
  children: _(s)
1396
1882
  }), /* @__PURE__ */ i("span", {
1397
- className: B.price,
1883
+ className: H.price,
1398
1884
  children: _(o)
1399
1885
  })]
1400
1886
  })]
1401
1887
  }),
1402
1888
  r && /* @__PURE__ */ i("p", {
1403
- className: B.description,
1889
+ className: H.description,
1404
1890
  children: r
1405
1891
  }),
1406
1892
  u.length > 0 && /* @__PURE__ */ i("div", {
1407
- className: B.swatches,
1893
+ className: H.swatches,
1408
1894
  role: "group",
1409
1895
  "aria-label": "Color",
1410
- children: u.map((e) => /* @__PURE__ */ i(_t, {
1896
+ children: u.map((e) => /* @__PURE__ */ i(Yt, {
1411
1897
  ...e,
1412
1898
  onSelect: () => d?.(e.id ?? e.label)
1413
1899
  }, e.id ?? e.label))
1414
1900
  }),
1415
- /* @__PURE__ */ i(N, {
1901
+ /* @__PURE__ */ i(F, {
1416
1902
  variant: "primary",
1417
1903
  size: "md",
1418
1904
  disabled: !f,
1419
- className: B.addButton,
1905
+ className: H.addButton,
1420
1906
  onClick: h,
1421
1907
  children: f ? g : "Out of stock"
1422
1908
  })
1423
1909
  ]
1424
1910
  })]
1425
1911
  });
1426
- }, V = {
1912
+ }, U = {
1427
1913
  gallery: "_gallery_1mrk8_1",
1428
1914
  galleryBottom: "_galleryBottom_1mrk8_5",
1429
1915
  galleryLeft: "_galleryLeft_1mrk8_10",
@@ -1438,11 +1924,11 @@ var We = {
1438
1924
  thumbLeft: "_thumbLeft_1mrk8_70",
1439
1925
  thumbActive: "_thumbActive_1mrk8_75",
1440
1926
  thumbImage: "_thumbImage_1mrk8_79"
1441
- }, Tt = ({ images: t, thumbsPosition: n = "bottom", activeIndex: r, defaultActiveIndex: o = 0, onActiveIndexChange: s, className: c }) => {
1927
+ }, rn = ({ images: t, thumbsPosition: n = "bottom", activeIndex: r, defaultActiveIndex: o = 0, onActiveIndexChange: s, className: c }) => {
1442
1928
  let l = r !== void 0, [u, d] = e.useState(o), f = l ? r : u, p = (e) => {
1443
1929
  l || d(e), s?.(e);
1444
1930
  }, m = t[f] ?? t[0], h = n === "left", g = /* @__PURE__ */ i("div", {
1445
- className: [V.thumbs, h ? V.thumbsLeft : V.thumbsBottom].filter(Boolean).join(" "),
1931
+ className: [U.thumbs, h ? U.thumbsLeft : U.thumbsBottom].filter(Boolean).join(" "),
1446
1932
  role: "tablist",
1447
1933
  "aria-label": "Product images",
1448
1934
  children: t.map((e, t) => /* @__PURE__ */ i("button", {
@@ -1451,56 +1937,56 @@ var We = {
1451
1937
  "aria-selected": t === f,
1452
1938
  "aria-label": e.alt ?? `Image ${t + 1}`,
1453
1939
  className: [
1454
- V.thumb,
1455
- h ? V.thumbLeft : V.thumbBottom,
1456
- t === f ? V.thumbActive : ""
1940
+ U.thumb,
1941
+ h ? U.thumbLeft : U.thumbBottom,
1942
+ t === f ? U.thumbActive : ""
1457
1943
  ].filter(Boolean).join(" "),
1458
1944
  onClick: () => p(t),
1459
1945
  children: /* @__PURE__ */ i("img", {
1460
1946
  src: e.src,
1461
1947
  alt: "",
1462
- className: V.thumbImage
1948
+ className: U.thumbImage
1463
1949
  })
1464
1950
  }, e.src + t))
1465
1951
  });
1466
1952
  return /* @__PURE__ */ a("div", {
1467
1953
  className: [
1468
- V.gallery,
1469
- h ? V.galleryLeft : V.galleryBottom,
1954
+ U.gallery,
1955
+ h ? U.galleryLeft : U.galleryBottom,
1470
1956
  c ?? ""
1471
1957
  ].filter(Boolean).join(" "),
1472
1958
  children: [
1473
1959
  !h && m && /* @__PURE__ */ i("div", {
1474
- className: V.mainBottom,
1960
+ className: U.mainBottom,
1475
1961
  children: /* @__PURE__ */ i("img", {
1476
1962
  src: m.src,
1477
1963
  alt: m.alt ?? "",
1478
- className: V.mainImage
1964
+ className: U.mainImage
1479
1965
  })
1480
1966
  }),
1481
1967
  g,
1482
1968
  h && m && /* @__PURE__ */ i("div", {
1483
- className: V.mainLeft,
1969
+ className: U.mainLeft,
1484
1970
  children: /* @__PURE__ */ i("img", {
1485
1971
  src: m.src,
1486
1972
  alt: m.alt ?? "",
1487
- className: V.mainImage
1973
+ className: U.mainImage
1488
1974
  })
1489
1975
  })
1490
1976
  ]
1491
1977
  });
1492
- }, Et = {
1978
+ }, an = {
1493
1979
  button: "_button_1vgn5_1",
1494
1980
  unselected: "_unselected_1vgn5_23",
1495
1981
  selected: "_selected_1vgn5_32",
1496
1982
  unavailable: "_unavailable_1vgn5_37",
1497
1983
  label: "_label_1vgn5_44",
1498
1984
  strike: "_strike_1vgn5_55"
1499
- }, Dt = ({ size: e, selected: t = !1, available: n = !0, onSelect: r, className: o }) => /* @__PURE__ */ a("button", {
1985
+ }, on = ({ size: e, selected: t = !1, available: n = !0, onSelect: r, className: o }) => /* @__PURE__ */ a("button", {
1500
1986
  type: "button",
1501
1987
  className: [
1502
- Et.button,
1503
- n ? t ? Et.selected : Et.unselected : Et.unavailable,
1988
+ an.button,
1989
+ n ? t ? an.selected : an.unselected : an.unavailable,
1504
1990
  o ?? ""
1505
1991
  ].filter(Boolean).join(" "),
1506
1992
  disabled: !n,
@@ -1508,13 +1994,13 @@ var We = {
1508
1994
  "aria-label": n ? `Size ${e}` : `Size ${e} (out of stock)`,
1509
1995
  onClick: r,
1510
1996
  children: [/* @__PURE__ */ i("span", {
1511
- className: Et.label,
1997
+ className: an.label,
1512
1998
  children: e
1513
1999
  }), !n && /* @__PURE__ */ i("span", {
1514
- className: Et.strike,
2000
+ className: an.strike,
1515
2001
  "aria-hidden": "true"
1516
2002
  })]
1517
- }), Ot = {
2003
+ }), sn = {
1518
2004
  row: "_row_1snsi_1",
1519
2005
  rowVertical: "_rowVertical_1snsi_8",
1520
2006
  stars: "_stars_1snsi_13",
@@ -1523,40 +2009,40 @@ var We = {
1523
2009
  label: "_label_1snsi_29",
1524
2010
  value: "_value_1snsi_38",
1525
2011
  count: "_count_1snsi_43"
1526
- }, kt = (e) => e.toLocaleString("en-US"), At = ({ rating: e, reviewCount: t, showLabel: n = !0, orientation: r = "horizontal", formatReviewCount: o = kt, className: s }) => {
2012
+ }, cn = (e) => e.toLocaleString("en-US"), ln = ({ rating: e, reviewCount: t, showLabel: n = !0, orientation: r = "horizontal", formatReviewCount: o = cn, className: s }) => {
1527
2013
  let c = Math.max(0, Math.min(5, e)), l = Math.round(c * 2) / 2, u = Math.floor(l), d = l - u === .5, f = 5 - u - !!d, p = /* @__PURE__ */ a("div", {
1528
- className: Ot.stars,
2014
+ className: sn.stars,
1529
2015
  role: "img",
1530
2016
  "aria-label": `${c} out of 5 stars`,
1531
2017
  children: [
1532
- Array.from({ length: u }, (e, t) => /* @__PURE__ */ i(re, {
2018
+ Array.from({ length: u }, (e, t) => /* @__PURE__ */ i(ne, {
1533
2019
  size: 24,
1534
- strokeWidth: k(24),
1535
- className: Ot.starFull,
2020
+ strokeWidth: M(24),
2021
+ className: sn.starFull,
1536
2022
  fill: "currentColor",
1537
2023
  "aria-hidden": "true"
1538
2024
  }, `full-${t}`)),
1539
- d && /* @__PURE__ */ i(ie, {
2025
+ d && /* @__PURE__ */ i(re, {
1540
2026
  size: 24,
1541
- strokeWidth: k(24),
1542
- className: Ot.starFull,
2027
+ strokeWidth: M(24),
2028
+ className: sn.starFull,
1543
2029
  fill: "currentColor",
1544
2030
  "aria-hidden": "true"
1545
2031
  }),
1546
- Array.from({ length: f }, (e, t) => /* @__PURE__ */ i(re, {
2032
+ Array.from({ length: f }, (e, t) => /* @__PURE__ */ i(ne, {
1547
2033
  size: 24,
1548
- strokeWidth: k(24),
1549
- className: Ot.starEmpty,
2034
+ strokeWidth: M(24),
2035
+ className: sn.starEmpty,
1550
2036
  "aria-hidden": "true"
1551
2037
  }, `empty-${t}`))
1552
2038
  ]
1553
2039
  }), m = n && /* @__PURE__ */ a("div", {
1554
- className: Ot.label,
2040
+ className: sn.label,
1555
2041
  children: [/* @__PURE__ */ i("span", {
1556
- className: Ot.value,
2042
+ className: sn.value,
1557
2043
  children: c.toFixed(1)
1558
2044
  }), t !== void 0 && /* @__PURE__ */ a("span", {
1559
- className: Ot.count,
2045
+ className: sn.count,
1560
2046
  children: [
1561
2047
  "(",
1562
2048
  o(t),
@@ -1564,8 +2050,8 @@ var We = {
1564
2050
  ]
1565
2051
  })]
1566
2052
  }), h = [
1567
- Ot.row,
1568
- r === "vertical" ? Ot.rowVertical : "",
2053
+ sn.row,
2054
+ r === "vertical" ? sn.rowVertical : "",
1569
2055
  s ?? ""
1570
2056
  ].filter(Boolean).join(" ");
1571
2057
  return r === "horizontal-reverse" ? /* @__PURE__ */ a("div", {
@@ -1575,15 +2061,15 @@ var We = {
1575
2061
  className: h,
1576
2062
  children: [p, m]
1577
2063
  });
1578
- }, jt = ({ quantity: e, lowStockThreshold: t = 5, label: n, className: r }) => {
2064
+ }, un = ({ quantity: e, lowStockThreshold: t = 5, label: n, className: r }) => {
1579
2065
  let a = e <= 0, o = !a && e <= t, s = a ? "danger" : o ? "warning" : "success", c = a ? "Out of stock" : o ? `Only ${e} left` : "In stock";
1580
- return /* @__PURE__ */ i(et, {
2066
+ return /* @__PURE__ */ i(jt, {
1581
2067
  variant: s,
1582
2068
  emphasis: "subtle",
1583
2069
  className: r,
1584
2070
  children: n ?? c
1585
2071
  });
1586
- }, H = {
2072
+ }, W = {
1587
2073
  card: "_card_1w9hp_1",
1588
2074
  cardDefault: "_cardDefault_1w9hp_8",
1589
2075
  imageDefault: "_imageDefault_1w9hp_19",
@@ -1598,55 +2084,55 @@ var We = {
1598
2084
  excerpt: "_excerpt_1w9hp_114",
1599
2085
  author: "_author_1w9hp_123",
1600
2086
  authorText: "_authorText_1w9hp_130"
1601
- }, Mt = ({ image: e, imageAlt: t, category: n, readTime: r, title: o, excerpt: s, author: c, layout: l = "default", className: u }) => {
2087
+ }, dn = ({ image: e, imageAlt: t, category: n, readTime: r, title: o, excerpt: s, author: c, layout: l = "default", className: u }) => {
1602
2088
  let d = l === "horizontal";
1603
2089
  return /* @__PURE__ */ a("div", {
1604
2090
  className: [
1605
- H.card,
1606
- d ? H.cardHorizontal : H.cardDefault,
2091
+ W.card,
2092
+ d ? W.cardHorizontal : W.cardDefault,
1607
2093
  u ?? ""
1608
2094
  ].filter(Boolean).join(" "),
1609
2095
  children: [d ? /* @__PURE__ */ i("span", {
1610
- className: H.imageWrapHorizontal,
2096
+ className: W.imageWrapHorizontal,
1611
2097
  children: /* @__PURE__ */ i("img", {
1612
2098
  src: e,
1613
2099
  alt: t ?? "",
1614
- className: H.image
2100
+ className: W.image
1615
2101
  })
1616
2102
  }) : /* @__PURE__ */ i("img", {
1617
2103
  src: e,
1618
2104
  alt: t ?? "",
1619
- className: H.imageDefault
2105
+ className: W.imageDefault
1620
2106
  }), /* @__PURE__ */ a("div", {
1621
- className: d ? H.bodyHorizontal : H.bodyDefault,
2107
+ className: d ? W.bodyHorizontal : W.bodyDefault,
1622
2108
  children: [
1623
2109
  /* @__PURE__ */ a("div", {
1624
- className: H.metaRow,
1625
- children: [/* @__PURE__ */ i(et, {
2110
+ className: W.metaRow,
2111
+ children: [/* @__PURE__ */ i(jt, {
1626
2112
  variant: "accent",
1627
2113
  emphasis: "subtle",
1628
2114
  children: n
1629
2115
  }), /* @__PURE__ */ i("span", {
1630
- className: H.readTime,
2116
+ className: W.readTime,
1631
2117
  children: r
1632
2118
  })]
1633
2119
  }),
1634
2120
  /* @__PURE__ */ i("p", {
1635
- className: H.title,
2121
+ className: W.title,
1636
2122
  children: o
1637
2123
  }),
1638
2124
  /* @__PURE__ */ i("p", {
1639
- className: H.excerpt,
2125
+ className: W.excerpt,
1640
2126
  children: s
1641
2127
  }),
1642
2128
  /* @__PURE__ */ a("div", {
1643
- className: H.author,
1644
- children: [/* @__PURE__ */ i(be, {
2129
+ className: W.author,
2130
+ children: [/* @__PURE__ */ i(Ne, {
1645
2131
  size: "sm",
1646
2132
  src: c.avatarSrc,
1647
2133
  alt: c.avatarAlt ?? c.name
1648
2134
  }), /* @__PURE__ */ a("p", {
1649
- className: H.authorText,
2135
+ className: W.authorText,
1650
2136
  children: [
1651
2137
  c.name,
1652
2138
  " · ",
@@ -1657,7 +2143,7 @@ var We = {
1657
2143
  ]
1658
2144
  })]
1659
2145
  });
1660
- }, U = {
2146
+ }, fn = {
1661
2147
  card: "_card_8cf5b_1",
1662
2148
  cardHorizontal: "_cardHorizontal_8cf5b_12",
1663
2149
  cardVertical: "_cardVertical_8cf5b_20",
@@ -1669,52 +2155,52 @@ var We = {
1669
2155
  footer: "_footer_8cf5b_86",
1670
2156
  author: "_author_8cf5b_94",
1671
2157
  authorText: "_authorText_8cf5b_101"
1672
- }, Nt = ({ image: e, imageAlt: t, badgeLabel: n = "Featured", title: r, excerpt: o, author: s, ctaLabel: c = "Read article", onCtaClick: l, orientation: u = "horizontal", className: d }) => {
2158
+ }, pn = ({ image: e, imageAlt: t, badgeLabel: n = "Featured", title: r, excerpt: o, author: s, ctaLabel: c = "Read article", onCtaClick: l, orientation: u = "horizontal", className: d }) => {
1673
2159
  let f = u === "vertical";
1674
2160
  return /* @__PURE__ */ a("div", {
1675
2161
  className: [
1676
- U.card,
1677
- f ? U.cardVertical : U.cardHorizontal,
2162
+ fn.card,
2163
+ f ? fn.cardVertical : fn.cardHorizontal,
1678
2164
  d ?? ""
1679
2165
  ].filter(Boolean).join(" "),
1680
2166
  children: [/* @__PURE__ */ i("img", {
1681
2167
  src: e,
1682
2168
  alt: t ?? "",
1683
- className: U.image
2169
+ className: fn.image
1684
2170
  }), /* @__PURE__ */ a("div", {
1685
- className: f ? U.bodyVertical : U.bodyHorizontal,
2171
+ className: f ? fn.bodyVertical : fn.bodyHorizontal,
1686
2172
  children: [
1687
- /* @__PURE__ */ i(et, {
2173
+ /* @__PURE__ */ i(jt, {
1688
2174
  variant: "accent",
1689
2175
  emphasis: "subtle",
1690
2176
  children: n
1691
2177
  }),
1692
2178
  /* @__PURE__ */ i("p", {
1693
- className: U.title,
2179
+ className: fn.title,
1694
2180
  children: r
1695
2181
  }),
1696
2182
  /* @__PURE__ */ i("p", {
1697
- className: U.excerpt,
2183
+ className: fn.excerpt,
1698
2184
  children: o
1699
2185
  }),
1700
2186
  /* @__PURE__ */ a("div", {
1701
- className: U.footer,
2187
+ className: fn.footer,
1702
2188
  children: [/* @__PURE__ */ a("div", {
1703
- className: U.author,
1704
- children: [/* @__PURE__ */ i(be, {
2189
+ className: fn.author,
2190
+ children: [/* @__PURE__ */ i(Ne, {
1705
2191
  size: "md",
1706
2192
  src: s.avatarSrc,
1707
2193
  alt: s.avatarAlt ?? s.name,
1708
2194
  initials: s.initials
1709
2195
  }), /* @__PURE__ */ a("p", {
1710
- className: U.authorText,
2196
+ className: fn.authorText,
1711
2197
  children: [
1712
2198
  s.name,
1713
2199
  " · ",
1714
2200
  s.date
1715
2201
  ]
1716
2202
  })]
1717
- }), /* @__PURE__ */ i(N, {
2203
+ }), /* @__PURE__ */ i(F, {
1718
2204
  variant: "secondary",
1719
2205
  size: "sm",
1720
2206
  onClick: l,
@@ -1724,7 +2210,7 @@ var We = {
1724
2210
  ]
1725
2211
  })]
1726
2212
  });
1727
- }, Pt = {
2213
+ }, mn = {
1728
2214
  chip: "_chip_scl8l_1",
1729
2215
  "chip--sm": "_chip--sm_scl8l_11",
1730
2216
  "chip--md": "_chip--md_scl8l_17",
@@ -1733,26 +2219,26 @@ var We = {
1733
2219
  "chip--outline": "_chip--outline_scl8l_35",
1734
2220
  "chip--solid": "_chip--solid_scl8l_39",
1735
2221
  "chip--subtle": "_chip--subtle_scl8l_43"
1736
- }, Ft = {
2222
+ }, hn = {
1737
2223
  sm: 16,
1738
2224
  md: 20,
1739
2225
  lg: 24
1740
- }, It = ({ icon: t, size: n = "md", variant: r = "light", className: a }) => {
1741
- let o = Ft[n], s = e.isValidElement(t) ? e.cloneElement(t, {
2226
+ }, gn = ({ icon: t, size: n = "md", variant: r = "light", className: a }) => {
2227
+ let o = hn[n], s = e.isValidElement(t) ? e.cloneElement(t, {
1742
2228
  size: o,
1743
- strokeWidth: k(o)
2229
+ strokeWidth: M(o)
1744
2230
  }) : t;
1745
2231
  return /* @__PURE__ */ i("div", {
1746
2232
  className: [
1747
- Pt.chip,
1748
- Pt[`chip--${n}`],
1749
- Pt[`chip--${r}`],
2233
+ mn.chip,
2234
+ mn[`chip--${n}`],
2235
+ mn[`chip--${r}`],
1750
2236
  a ?? ""
1751
2237
  ].filter(Boolean).join(" "),
1752
2238
  "aria-hidden": "true",
1753
2239
  children: s
1754
2240
  });
1755
- }, Lt = {
2241
+ }, _n = {
1756
2242
  group: "_group_mvlh4_3",
1757
2243
  group__item: "_group__item_mvlh4_6",
1758
2244
  "group--sm": "_group--sm_mvlh4_9",
@@ -1763,42 +2249,42 @@ var We = {
1763
2249
  "overflow--md": "_overflow--md_mvlh4_26",
1764
2250
  "overflow--lg": "_overflow--lg_mvlh4_27",
1765
2251
  "overflow--xl": "_overflow--xl_mvlh4_28"
1766
- }, Rt = ({ size: e = "md", max: t = 4, avatars: n, className: r }) => {
2252
+ }, vn = ({ size: e = "md", max: t = 4, avatars: n, className: r }) => {
1767
2253
  let o = n.slice(0, t), s = n.length - o.length;
1768
2254
  return /* @__PURE__ */ a("div", {
1769
2255
  className: [
1770
- Lt.group,
1771
- Lt[`group--${e}`],
2256
+ _n.group,
2257
+ _n[`group--${e}`],
1772
2258
  r ?? ""
1773
2259
  ].filter(Boolean).join(" "),
1774
2260
  children: [o.map((t, n) => /* @__PURE__ */ i("span", {
1775
- className: Lt.group__item,
1776
- children: /* @__PURE__ */ i(be, {
2261
+ className: _n.group__item,
2262
+ children: /* @__PURE__ */ i(Ne, {
1777
2263
  size: e,
1778
2264
  src: t.src,
1779
2265
  initials: t.initials,
1780
2266
  alt: t.alt
1781
2267
  })
1782
2268
  }, n)), s > 0 && /* @__PURE__ */ i("span", {
1783
- className: Lt.group__item,
2269
+ className: _n.group__item,
1784
2270
  children: /* @__PURE__ */ a("span", {
1785
- className: [Lt.overflow, Lt[`overflow--${e}`]].join(" "),
2271
+ className: [_n.overflow, _n[`overflow--${e}`]].join(" "),
1786
2272
  children: ["+", s]
1787
2273
  })
1788
2274
  })]
1789
2275
  });
1790
- }, zt = {
2276
+ }, yn = {
1791
2277
  root: "_root_165je_1",
1792
2278
  dot: "_dot_165je_13",
1793
2279
  dotActive: "_dotActive_165je_21",
1794
2280
  dotRemote: "_dotRemote_165je_25"
1795
- }, Bt = ({ location: e, status: t = "active", className: n }) => /* @__PURE__ */ a("span", {
1796
- className: [zt.root, n ?? ""].filter(Boolean).join(" "),
2281
+ }, bn = ({ location: e, status: t = "active", className: n }) => /* @__PURE__ */ a("span", {
2282
+ className: [yn.root, n ?? ""].filter(Boolean).join(" "),
1797
2283
  children: [/* @__PURE__ */ i("span", {
1798
- className: [zt.dot, t === "active" ? zt.dotActive : zt.dotRemote].join(" "),
2284
+ className: [yn.dot, t === "active" ? yn.dotActive : yn.dotRemote].join(" "),
1799
2285
  "aria-hidden": "true"
1800
2286
  }), e]
1801
- }), Vt = {
2287
+ }), xn = {
1802
2288
  root: "_root_15jaa_1",
1803
2289
  rootCard: "_rootCard_15jaa_9",
1804
2290
  rootRow: "_rootRow_15jaa_21",
@@ -1808,30 +2294,30 @@ var We = {
1808
2294
  description: "_description_15jaa_56",
1809
2295
  metaRow: "_metaRow_15jaa_65",
1810
2296
  applyBtn: "_applyBtn_15jaa_72"
1811
- }, Ht = ({ title: e, description: t, department: n, employmentType: o, location: s, locationStatus: c = "remote", onApply: l, applyLabel: u = "Apply now", layout: d = "card", className: f }) => {
2297
+ }, Sn = ({ title: e, description: t, department: n, employmentType: o, location: s, locationStatus: c = "remote", onApply: l, applyLabel: u = "Apply now", layout: d = "card", className: f }) => {
1812
2298
  let p = d === "row", m = /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ a("div", {
1813
- className: Vt.titleGroup,
2299
+ className: xn.titleGroup,
1814
2300
  children: [/* @__PURE__ */ i("p", {
1815
- className: Vt.title,
2301
+ className: xn.title,
1816
2302
  children: e
1817
2303
  }), /* @__PURE__ */ i("p", {
1818
- className: Vt.description,
2304
+ className: xn.description,
1819
2305
  children: t
1820
2306
  })]
1821
2307
  }), /* @__PURE__ */ a("div", {
1822
- className: Vt.metaRow,
2308
+ className: xn.metaRow,
1823
2309
  children: [
1824
- /* @__PURE__ */ i(et, {
2310
+ /* @__PURE__ */ i(jt, {
1825
2311
  variant: "accent",
1826
2312
  emphasis: "subtle",
1827
2313
  children: n
1828
2314
  }),
1829
- /* @__PURE__ */ i(et, {
2315
+ /* @__PURE__ */ i(jt, {
1830
2316
  variant: "neutral",
1831
2317
  emphasis: "subtle",
1832
2318
  children: o
1833
2319
  }),
1834
- /* @__PURE__ */ i(Bt, {
2320
+ /* @__PURE__ */ i(bn, {
1835
2321
  location: s,
1836
2322
  status: c
1837
2323
  })
@@ -1839,61 +2325,61 @@ var We = {
1839
2325
  })] });
1840
2326
  return p ? /* @__PURE__ */ a("div", {
1841
2327
  className: [
1842
- Vt.root,
1843
- Vt.rootRow,
2328
+ xn.root,
2329
+ xn.rootRow,
1844
2330
  f ?? ""
1845
2331
  ].filter(Boolean).join(" "),
1846
2332
  children: [/* @__PURE__ */ i("div", {
1847
- className: Vt.rowLeft,
2333
+ className: xn.rowLeft,
1848
2334
  children: m
1849
- }), /* @__PURE__ */ i(N, {
2335
+ }), /* @__PURE__ */ i(F, {
1850
2336
  variant: "secondary",
1851
2337
  size: "sm",
1852
- className: Vt.applyBtn,
2338
+ className: xn.applyBtn,
1853
2339
  onClick: l,
1854
2340
  children: u
1855
2341
  })]
1856
2342
  }) : /* @__PURE__ */ a("div", {
1857
2343
  className: [
1858
- Vt.root,
1859
- Vt.rootCard,
2344
+ xn.root,
2345
+ xn.rootCard,
1860
2346
  f ?? ""
1861
2347
  ].filter(Boolean).join(" "),
1862
- children: [m, /* @__PURE__ */ i(N, {
2348
+ children: [m, /* @__PURE__ */ i(F, {
1863
2349
  variant: "secondary",
1864
2350
  size: "sm",
1865
2351
  onClick: l,
1866
2352
  children: u
1867
2353
  })]
1868
2354
  });
1869
- }, Ut = {
2355
+ }, Cn = {
1870
2356
  root: "_root_3bf2n_1",
1871
2357
  rootCenter: "_rootCenter_3bf2n_9",
1872
2358
  rootLeft: "_rootLeft_3bf2n_14",
1873
2359
  title: "_title_3bf2n_19",
1874
2360
  subtitle: "_subtitle_3bf2n_28"
1875
- }, Wt = ({ eyebrow: e, title: t, subtitle: n, align: r = "center", titleAs: o = "h2", className: s }) => /* @__PURE__ */ a("div", {
2361
+ }, wn = ({ eyebrow: e, title: t, subtitle: n, align: r = "center", titleAs: o = "h2", className: s }) => /* @__PURE__ */ a("div", {
1876
2362
  className: [
1877
- Ut.root,
1878
- r === "left" ? Ut.rootLeft : Ut.rootCenter,
2363
+ Cn.root,
2364
+ r === "left" ? Cn.rootLeft : Cn.rootCenter,
1879
2365
  s ?? ""
1880
2366
  ].filter(Boolean).join(" "),
1881
2367
  children: [
1882
- e && /* @__PURE__ */ i(et, {
2368
+ e && /* @__PURE__ */ i(jt, {
1883
2369
  variant: "accent",
1884
2370
  emphasis: "subtle",
1885
2371
  children: e
1886
2372
  }),
1887
2373
  /* @__PURE__ */ i(o, {
1888
- className: Ut.title,
2374
+ className: Cn.title,
1889
2375
  children: t
1890
2376
  }),
1891
2377
  n && /* @__PURE__ */ i("p", {
1892
- className: Ut.subtitle,
2378
+ className: Cn.subtitle,
1893
2379
  children: n
1894
2380
  })
1895
2381
  ]
1896
- }), W = {
2382
+ }), G = {
1897
2383
  card: "_card_1ye9i_1",
1898
2384
  imageWrap: "_imageWrap_1ye9i_16",
1899
2385
  image: "_image_1ye9i_16",
@@ -1906,42 +2392,42 @@ var We = {
1906
2392
  role: "_role_1ye9i_99",
1907
2393
  social: "_social_1ye9i_108",
1908
2394
  bio: "_bio_1ye9i_116"
1909
- }, Gt = ({ image: e, imageAlt: t, name: n, role: r, location: o, locationStatus: s = "active", bio: c, socialLinks: l = [], className: u }) => /* @__PURE__ */ a("div", {
1910
- className: [W.card, u ?? ""].filter(Boolean).join(" "),
2395
+ }, Tn = ({ image: e, imageAlt: t, name: n, role: r, location: o, locationStatus: s = "active", bio: c, socialLinks: l = [], className: u }) => /* @__PURE__ */ a("div", {
2396
+ className: [G.card, u ?? ""].filter(Boolean).join(" "),
1911
2397
  children: [/* @__PURE__ */ a("div", {
1912
- className: W.imageWrap,
2398
+ className: G.imageWrap,
1913
2399
  children: [/* @__PURE__ */ i("img", {
1914
2400
  src: e,
1915
2401
  alt: t ?? n,
1916
- className: W.image
2402
+ className: G.image
1917
2403
  }), /* @__PURE__ */ i("div", {
1918
- className: W.locationBar,
1919
- children: /* @__PURE__ */ i(Bt, {
2404
+ className: G.locationBar,
2405
+ children: /* @__PURE__ */ i(bn, {
1920
2406
  location: o,
1921
2407
  status: s,
1922
- className: W.locationDot
2408
+ className: G.locationDot
1923
2409
  })
1924
2410
  })]
1925
2411
  }), /* @__PURE__ */ a("div", {
1926
- className: W.info,
2412
+ className: G.info,
1927
2413
  children: [/* @__PURE__ */ a("div", {
1928
- className: W.metaRow,
2414
+ className: G.metaRow,
1929
2415
  children: [/* @__PURE__ */ a("div", {
1930
- className: W.identity,
2416
+ className: G.identity,
1931
2417
  children: [/* @__PURE__ */ i("p", {
1932
- className: W.name,
2418
+ className: G.name,
1933
2419
  children: n
1934
2420
  }), /* @__PURE__ */ i("p", {
1935
- className: W.role,
2421
+ className: G.role,
1936
2422
  children: r
1937
2423
  })]
1938
2424
  }), l.length > 0 && /* @__PURE__ */ i("div", {
1939
- className: W.social,
2425
+ className: G.social,
1940
2426
  children: l.map((e, t) => /* @__PURE__ */ i("a", {
1941
2427
  href: e.href,
1942
2428
  onClick: e.onClick,
1943
2429
  "aria-label": e.label,
1944
- children: /* @__PURE__ */ i(It, {
2430
+ children: /* @__PURE__ */ i(gn, {
1945
2431
  icon: e.icon,
1946
2432
  size: "sm",
1947
2433
  variant: "subtle"
@@ -1949,11 +2435,11 @@ var We = {
1949
2435
  }, e.label ?? t))
1950
2436
  })]
1951
2437
  }), c && /* @__PURE__ */ i("p", {
1952
- className: W.bio,
2438
+ className: G.bio,
1953
2439
  children: c
1954
2440
  })]
1955
2441
  })]
1956
- }), Kt = {
2442
+ }), En = {
1957
2443
  alert: "_alert_1hjs5_3",
1958
2444
  alert__icon: "_alert__icon_1hjs5_12",
1959
2445
  alert__content: "_alert__content_1hjs5_13",
@@ -1964,7 +2450,7 @@ var We = {
1964
2450
  "alert--warning": "_alert--warning_1hjs5_24",
1965
2451
  "alert--danger": "_alert--danger_1hjs5_27",
1966
2452
  "alert--neutral": "_alert--neutral_1hjs5_30"
1967
- }, qt = {
2453
+ }, Dn = {
1968
2454
  info: /* @__PURE__ */ a(r, { children: [
1969
2455
  /* @__PURE__ */ i("circle", {
1970
2456
  cx: "12",
@@ -2038,38 +2524,38 @@ var We = {
2038
2524
  y2: "8"
2039
2525
  })
2040
2526
  ] })
2041
- }, Jt = ({ color: e = "info", title: t, description: n, icon: r, className: o }) => /* @__PURE__ */ a("div", {
2527
+ }, On = ({ color: e = "info", title: t, description: n, icon: r, className: o }) => /* @__PURE__ */ a("div", {
2042
2528
  role: "alert",
2043
2529
  className: [
2044
- Kt.alert,
2045
- Kt[`alert--${e}`],
2530
+ En.alert,
2531
+ En[`alert--${e}`],
2046
2532
  o ?? ""
2047
2533
  ].filter(Boolean).join(" "),
2048
2534
  children: [/* @__PURE__ */ i("span", {
2049
- className: Kt.alert__icon,
2535
+ className: En.alert__icon,
2050
2536
  "aria-hidden": "true",
2051
2537
  children: /* @__PURE__ */ i("svg", {
2052
2538
  viewBox: "0 0 24 24",
2053
2539
  fill: "none",
2054
2540
  stroke: "currentColor",
2055
- strokeWidth: k(18),
2541
+ strokeWidth: M(18),
2056
2542
  strokeLinecap: "round",
2057
2543
  strokeLinejoin: "round",
2058
2544
  width: 18,
2059
2545
  height: 18,
2060
- children: r ?? qt[e]
2546
+ children: r ?? Dn[e]
2061
2547
  })
2062
2548
  }), /* @__PURE__ */ a("div", {
2063
- className: Kt.alert__content,
2549
+ className: En.alert__content,
2064
2550
  children: [t && /* @__PURE__ */ i("div", {
2065
- className: Kt.alert__title,
2551
+ className: En.alert__title,
2066
2552
  children: t
2067
2553
  }), n && /* @__PURE__ */ i("div", {
2068
- className: Kt.alert__description,
2554
+ className: En.alert__description,
2069
2555
  children: n
2070
2556
  })]
2071
2557
  })]
2072
- }), G = {
2558
+ }), K = {
2073
2559
  card: "_card_6iftf_2",
2074
2560
  "card--hover": "_card--hover_6iftf_15",
2075
2561
  "card--selected": "_card--selected_6iftf_16",
@@ -2086,60 +2572,60 @@ var We = {
2086
2572
  card__footer: "_card__footer_6iftf_47",
2087
2573
  card__meta: "_card__meta_6iftf_48",
2088
2574
  card__assignees: "_card__assignees_6iftf_49"
2089
- }, Yt = ({ type: e = "default", state: t = "default", cover: n, leading: o, title: s, trailing: c, description: l, tags: u, meta: d, assignees: f, onClick: p, className: m }) => {
2575
+ }, kn = ({ type: e = "default", state: t = "default", cover: n, leading: o, title: s, trailing: c, description: l, tags: u, meta: d, assignees: f, onClick: p, className: m }) => {
2090
2576
  let h = e !== "compact", g = d || f;
2091
2577
  return /* @__PURE__ */ a("div", {
2092
2578
  onClick: p,
2093
2579
  "aria-selected": t === "selected" || void 0,
2094
2580
  className: [
2095
- G.card,
2096
- G[`card--${e}`],
2097
- G[`card--${t}`],
2581
+ K.card,
2582
+ K[`card--${e}`],
2583
+ K[`card--${t}`],
2098
2584
  m ?? ""
2099
2585
  ].filter(Boolean).join(" "),
2100
2586
  children: [
2101
2587
  e === "cover" && /* @__PURE__ */ i("div", {
2102
- className: G.card__cover,
2588
+ className: K.card__cover,
2103
2589
  children: n
2104
2590
  }),
2105
2591
  /* @__PURE__ */ a("div", {
2106
- className: G.card__header,
2592
+ className: K.card__header,
2107
2593
  children: [
2108
2594
  o && /* @__PURE__ */ i("span", {
2109
- className: G.card__leading,
2595
+ className: K.card__leading,
2110
2596
  children: o
2111
2597
  }),
2112
2598
  /* @__PURE__ */ i("span", {
2113
- className: G.card__title,
2599
+ className: K.card__title,
2114
2600
  children: s
2115
2601
  }),
2116
2602
  c && /* @__PURE__ */ i("span", {
2117
- className: G.card__trailing,
2603
+ className: K.card__trailing,
2118
2604
  children: c
2119
2605
  })
2120
2606
  ]
2121
2607
  }),
2122
2608
  h && l && /* @__PURE__ */ i("p", {
2123
- className: G.card__desc,
2609
+ className: K.card__desc,
2124
2610
  children: l
2125
2611
  }),
2126
2612
  h && u && /* @__PURE__ */ i("div", {
2127
- className: G.card__tags,
2613
+ className: K.card__tags,
2128
2614
  children: u
2129
2615
  }),
2130
- g && /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("div", { className: G.card__divider }), /* @__PURE__ */ a("div", {
2131
- className: G.card__footer,
2616
+ g && /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("div", { className: K.card__divider }), /* @__PURE__ */ a("div", {
2617
+ className: K.card__footer,
2132
2618
  children: [d && /* @__PURE__ */ i("div", {
2133
- className: G.card__meta,
2619
+ className: K.card__meta,
2134
2620
  children: d
2135
2621
  }), f && /* @__PURE__ */ i("div", {
2136
- className: G.card__assignees,
2622
+ className: K.card__assignees,
2137
2623
  children: f
2138
2624
  })]
2139
2625
  })] })
2140
2626
  ]
2141
2627
  });
2142
- }, Xt = {
2628
+ }, An = {
2143
2629
  breadcrumb: "_breadcrumb_tszff_3",
2144
2630
  list: "_list_tszff_5",
2145
2631
  item: "_item_tszff_15",
@@ -2148,12 +2634,12 @@ var We = {
2148
2634
  separator: "_separator_tszff_33",
2149
2635
  "list--button": "_list--button_tszff_38",
2150
2636
  chip: "_chip_tszff_41"
2151
- }, Zt = {
2152
- highlight: "_highlight_1u4m2_15",
2153
- visible: "_visible_1u4m2_24",
2154
- glide: "_glide_1u4m2_28"
2155
- }, Qt = (e) => e.getAttribute("data-hover-item") === "off" || e.getAttribute("aria-disabled") === "true" || e.disabled === !0;
2156
- function $t(e, t) {
2637
+ }, jn = {
2638
+ highlight: "_highlight_1bp09_15",
2639
+ visible: "_visible_1bp09_24",
2640
+ glide: "_glide_1bp09_28"
2641
+ }, Mn = (e) => e.getAttribute("data-hover-item") === "off" || e.getAttribute("aria-disabled") === "true" || e.disabled === !0;
2642
+ function Nn(e, t) {
2157
2643
  let n = 0, r = 0, i = e;
2158
2644
  for (; i && i !== t;) {
2159
2645
  n += i.offsetLeft, r += i.offsetTop;
@@ -2172,7 +2658,7 @@ function $t(e, t) {
2172
2658
  tone: a.getPropertyValue("--hover-tone").trim()
2173
2659
  };
2174
2660
  }
2175
- function en() {
2661
+ function Pn() {
2176
2662
  let t = e.useRef(null), [n, r] = e.useState(null), a = e.useCallback((e) => {
2177
2663
  t.current = e, r(e);
2178
2664
  }, []), o = e.useRef(null), s = e.useRef(!1), c = e.useRef(null), l = e.useRef(!1), u = e.useRef(null), [d, f] = e.useState(null), [p, m] = e.useState(!1), [h, g] = e.useState(!1), _ = e.useCallback(() => {
@@ -2181,7 +2667,7 @@ function en() {
2181
2667
  let n = t.current;
2182
2668
  if (!n) return;
2183
2669
  n !== u.current && (u.current = n, s.current = !1), o.current = e;
2184
- let r = $t(e, n);
2670
+ let r = Nn(e, n);
2185
2671
  if (s.current) {
2186
2672
  f(r);
2187
2673
  return;
@@ -2200,7 +2686,7 @@ function en() {
2200
2686
  if (!n) return;
2201
2687
  let r = e.target.closest("[data-hover-item]");
2202
2688
  if (!(!r || r.closest("[data-hover-group]") !== n)) {
2203
- if (Qt(r)) {
2689
+ if (Mn(r)) {
2204
2690
  _();
2205
2691
  return;
2206
2692
  }
@@ -2217,7 +2703,7 @@ function en() {
2217
2703
  _();
2218
2704
  return;
2219
2705
  }
2220
- f($t(t, e));
2706
+ f(Nn(t, e));
2221
2707
  }
2222
2708
  }, r = new ResizeObserver(t);
2223
2709
  return r.observe(e), e.addEventListener("scroll", t, !0), () => {
@@ -2228,9 +2714,9 @@ function en() {
2228
2714
  ref: c,
2229
2715
  "aria-hidden": "true",
2230
2716
  className: [
2231
- Zt.highlight,
2232
- p ? Zt.visible : "",
2233
- h ? Zt.glide : ""
2717
+ jn.highlight,
2718
+ p ? jn.visible : "",
2719
+ h ? jn.glide : ""
2234
2720
  ].filter(Boolean).join(" "),
2235
2721
  style: d ? {
2236
2722
  transform: `translate(${d.x}px, ${d.y}px)`,
@@ -2240,7 +2726,7 @@ function en() {
2240
2726
  background: d.tone || void 0
2241
2727
  } : void 0
2242
2728
  }), x = e.useCallback((e) => {
2243
- e && !Qt(e) ? v(e) : _();
2729
+ e && !Mn(e) ? v(e) : _();
2244
2730
  }, [_, v]);
2245
2731
  return {
2246
2732
  ref: a,
@@ -2253,8 +2739,8 @@ function en() {
2253
2739
  showItem: x
2254
2740
  };
2255
2741
  }
2256
- var tn = ({ children: e, style: t, ...n }) => {
2257
- let { ref: r, groupProps: i, highlight: o } = en();
2742
+ var Fn = ({ children: e, style: t, ...n }) => {
2743
+ let { ref: r, groupProps: i, highlight: o } = Pn();
2258
2744
  return /* @__PURE__ */ a("div", {
2259
2745
  ref: r,
2260
2746
  ...n,
@@ -2265,37 +2751,37 @@ var tn = ({ children: e, style: t, ...n }) => {
2265
2751
  },
2266
2752
  children: [o, e]
2267
2753
  });
2268
- }, nn = ({ size: e }) => /* @__PURE__ */ i("span", {
2269
- className: Xt.separator,
2754
+ }, In = ({ size: e }) => /* @__PURE__ */ i("span", {
2755
+ className: An.separator,
2270
2756
  "aria-hidden": "true",
2271
2757
  children: /* @__PURE__ */ i("svg", {
2272
2758
  viewBox: "0 0 24 24",
2273
2759
  fill: "none",
2274
2760
  stroke: "currentColor",
2275
- strokeWidth: k(e),
2761
+ strokeWidth: M(e),
2276
2762
  strokeLinecap: "round",
2277
2763
  strokeLinejoin: "round",
2278
2764
  width: e,
2279
2765
  height: e,
2280
2766
  children: /* @__PURE__ */ i("path", { d: "m9 18 6-6-6-6" })
2281
2767
  })
2282
- }), rn = ({ items: e, variant: t = "text", className: n }) => {
2283
- let r = t === "button", o = en();
2768
+ }), Ln = ({ items: e, variant: t = "text", className: n }) => {
2769
+ let r = t === "button", o = Pn();
2284
2770
  return /* @__PURE__ */ i("nav", {
2285
2771
  "aria-label": "Breadcrumb",
2286
- className: [Xt.breadcrumb, n ?? ""].filter(Boolean).join(" "),
2772
+ className: [An.breadcrumb, n ?? ""].filter(Boolean).join(" "),
2287
2773
  children: /* @__PURE__ */ a("ol", {
2288
2774
  ref: o.ref,
2289
2775
  ...r ? o.groupProps : {},
2290
- className: [Xt.list, r ? Xt["list--button"] : ""].filter(Boolean).join(" "),
2776
+ className: [An.list, r ? An["list--button"] : ""].filter(Boolean).join(" "),
2291
2777
  children: [r && /* @__PURE__ */ i("li", {
2292
2778
  "aria-hidden": "true",
2293
2779
  style: { display: "contents" },
2294
2780
  children: o.highlight
2295
2781
  }), e.map((t, n) => {
2296
- let o = n === e.length - 1, s = r ? Xt.chip : o ? Xt.current : Xt.crumb;
2782
+ let o = n === e.length - 1, s = r ? An.chip : o ? An.current : An.crumb;
2297
2783
  return /* @__PURE__ */ a("li", {
2298
- className: Xt.item,
2784
+ className: An.item,
2299
2785
  children: [o || !t.href ? /* @__PURE__ */ i("span", {
2300
2786
  className: s,
2301
2787
  "data-hover-item": r ? "off" : void 0,
@@ -2306,26 +2792,26 @@ var tn = ({ children: e, style: t, ...n }) => {
2306
2792
  "data-hover-item": "",
2307
2793
  className: s,
2308
2794
  children: t.label
2309
- }), !o && /* @__PURE__ */ i(nn, { size: r ? 14 : 16 })]
2795
+ }), !o && /* @__PURE__ */ i(In, { size: r ? 14 : 16 })]
2310
2796
  }, n);
2311
2797
  })]
2312
2798
  })
2313
2799
  });
2314
- }, an = {
2800
+ }, Rn = {
2315
2801
  meta: "_meta_g1mpv_2",
2316
2802
  meta__icon: "_meta__icon_g1mpv_3",
2317
2803
  meta__label: "_meta__label_g1mpv_4"
2318
- }, on = ({ icon: e, children: t, className: n }) => /* @__PURE__ */ a("span", {
2319
- className: [an.meta, n ?? ""].filter(Boolean).join(" "),
2804
+ }, zn = ({ icon: e, children: t, className: n }) => /* @__PURE__ */ a("span", {
2805
+ className: [Rn.meta, n ?? ""].filter(Boolean).join(" "),
2320
2806
  children: [/* @__PURE__ */ i("span", {
2321
- className: an.meta__icon,
2807
+ className: Rn.meta__icon,
2322
2808
  "aria-hidden": "true",
2323
2809
  children: e
2324
2810
  }), /* @__PURE__ */ i("span", {
2325
- className: an.meta__label,
2811
+ className: Rn.meta__label,
2326
2812
  children: t
2327
2813
  })]
2328
- }), sn = {
2814
+ }), Bn = {
2329
2815
  composer: "_composer_1dwtx_2",
2330
2816
  "composer--typing": "_composer--typing_1dwtx_15",
2331
2817
  input: "_input_1dwtx_22",
@@ -2339,13 +2825,13 @@ var tn = ({ children: e, style: t, ...n }) => {
2339
2825
  row: "_row_1dwtx_36",
2340
2826
  icon: "_icon_1dwtx_37",
2341
2827
  send: "_send_1dwtx_52"
2342
- }, cn = ({ state: t = "default", value: n, placeholder: r = "Message...", onChange: o, onSend: s, onAttachmentsChange: c, uploadName: l, uploadProgress: u = 0, onCancelUpload: d, className: f }) => {
2828
+ }, Vn = ({ state: t = "default", value: n, placeholder: r = "Message...", onChange: o, onSend: s, onAttachmentsChange: c, uploadName: l, uploadProgress: u = 0, onCancelUpload: d, className: f }) => {
2343
2829
  let p = t === "disabled", [m, h] = e.useState(""), [g, _] = e.useState(!1), [v, y] = e.useState({
2344
2830
  top: 0,
2345
2831
  right: 0
2346
- }), [x, S] = e.useState([]), C = e.useRef(null), w = e.useRef(null), T = e.useRef(null), E = e.useRef(null), O = n === void 0 ? m : n, ee = !p && (O.trim().length > 0 || t === "typing" || x.length > 0), re = () => {
2832
+ }), [x, S] = e.useState([]), C = e.useRef(null), w = e.useRef(null), T = e.useRef(null), E = e.useRef(null), D = n === void 0 ? m : n, k = !p && (D.trim().length > 0 || t === "typing" || x.length > 0), A = () => {
2347
2833
  w.current?.click();
2348
- }, ie = (e) => {
2834
+ }, te = (e) => {
2349
2835
  let t = e.target.files;
2350
2836
  t && (Array.from(t).forEach((e) => {
2351
2837
  if (e.type.startsWith("image/") || e.type.startsWith("video/")) {
@@ -2360,9 +2846,9 @@ var tn = ({ children: e, style: t, ...n }) => {
2360
2846
  }, t.readAsDataURL(e);
2361
2847
  }
2362
2848
  }), e.target.value = "");
2363
- }, ae = (e) => {
2849
+ }, ne = (e) => {
2364
2850
  S((t) => t.filter((t, n) => n !== e));
2365
- }, oe = () => {
2851
+ }, re = () => {
2366
2852
  if (!g && C.current) {
2367
2853
  let e = C.current.getBoundingClientRect();
2368
2854
  y({
@@ -2371,9 +2857,9 @@ var tn = ({ children: e, style: t, ...n }) => {
2371
2857
  });
2372
2858
  }
2373
2859
  _(!g);
2374
- }, se = (e) => {
2860
+ }, ie = (e) => {
2375
2861
  if (C.current) {
2376
- let t = C.current.selectionStart || O.length, n = O.slice(0, t) + e + O.slice(t);
2862
+ let t = C.current.selectionStart || D.length, n = D.slice(0, t) + e + D.slice(t);
2377
2863
  h(n), o?.(n), C.current.focus(), C.current.setSelectionRange(t + e.length, t + e.length);
2378
2864
  }
2379
2865
  _(!1);
@@ -2389,35 +2875,35 @@ var tn = ({ children: e, style: t, ...n }) => {
2389
2875
  c?.(x);
2390
2876
  }, [x, c]), /* @__PURE__ */ a("div", {
2391
2877
  className: [
2392
- sn.composer,
2393
- sn[`composer--${t}`],
2878
+ Bn.composer,
2879
+ Bn[`composer--${t}`],
2394
2880
  f ?? ""
2395
2881
  ].filter(Boolean).join(" "),
2396
2882
  children: [
2397
2883
  t === "uploading" && /* @__PURE__ */ a("div", {
2398
- className: sn.upload,
2884
+ className: Bn.upload,
2399
2885
  children: [
2400
2886
  /* @__PURE__ */ i(b, {
2401
2887
  size: 16,
2402
- strokeWidth: k(16),
2403
- className: sn.upload__icon,
2888
+ strokeWidth: M(16),
2889
+ className: Bn.upload__icon,
2404
2890
  "aria-hidden": "true"
2405
2891
  }),
2406
2892
  /* @__PURE__ */ a("div", {
2407
- className: sn.upload__body,
2893
+ className: Bn.upload__body,
2408
2894
  children: [/* @__PURE__ */ i("span", {
2409
- className: sn.upload__name,
2895
+ className: Bn.upload__name,
2410
2896
  children: l
2411
2897
  }), /* @__PURE__ */ i("div", {
2412
- className: sn.upload__track,
2898
+ className: Bn.upload__track,
2413
2899
  children: /* @__PURE__ */ i("div", {
2414
- className: sn.upload__fill,
2900
+ className: Bn.upload__fill,
2415
2901
  style: { width: `${u}%` }
2416
2902
  })
2417
2903
  })]
2418
2904
  }),
2419
- /* @__PURE__ */ i(ke, {
2420
- icon: ce,
2905
+ /* @__PURE__ */ i(He, {
2906
+ icon: se,
2421
2907
  variant: "ghost",
2422
2908
  size: "md",
2423
2909
  onClick: d,
@@ -2473,7 +2959,7 @@ var tn = ({ children: e, style: t, ...n }) => {
2473
2959
  })]
2474
2960
  }), /* @__PURE__ */ i("button", {
2475
2961
  type: "button",
2476
- onClick: () => ae(t),
2962
+ onClick: () => ne(t),
2477
2963
  style: {
2478
2964
  position: "absolute",
2479
2965
  top: "-8px",
@@ -2501,44 +2987,44 @@ var tn = ({ children: e, style: t, ...n }) => {
2501
2987
  type: "file",
2502
2988
  multiple: !0,
2503
2989
  accept: "image/*,video/*",
2504
- onChange: ie,
2990
+ onChange: te,
2505
2991
  style: { display: "none" }
2506
2992
  }),
2507
2993
  /* @__PURE__ */ a("div", {
2508
- className: sn.row,
2994
+ className: Bn.row,
2509
2995
  children: [
2510
- /* @__PURE__ */ i(ke, {
2511
- icon: D,
2996
+ /* @__PURE__ */ i(He, {
2997
+ icon: O,
2512
2998
  variant: "ghost",
2513
2999
  size: "sm",
2514
- onClick: re,
3000
+ onClick: A,
2515
3001
  disabled: p,
2516
3002
  "aria-label": "Attach file"
2517
3003
  }),
2518
3004
  /* @__PURE__ */ i("input", {
2519
3005
  ref: C,
2520
3006
  type: "text",
2521
- className: sn.input,
2522
- value: O,
3007
+ className: Bn.input,
3008
+ value: D,
2523
3009
  placeholder: p ? "You can't reply to this conversation" : r,
2524
3010
  disabled: p,
2525
3011
  onChange: (e) => {
2526
3012
  n === void 0 && h(e.target.value), o?.(e.target.value);
2527
3013
  },
2528
3014
  onKeyDown: (e) => {
2529
- e.key === "Enter" && ee && (e.preventDefault(), s?.());
3015
+ e.key === "Enter" && k && (e.preventDefault(), s?.());
2530
3016
  }
2531
3017
  }),
2532
- /* @__PURE__ */ i(ke, {
3018
+ /* @__PURE__ */ i(He, {
2533
3019
  ref: T,
2534
- icon: ne,
3020
+ icon: ee,
2535
3021
  variant: "ghost",
2536
3022
  size: "sm",
2537
- onClick: oe,
3023
+ onClick: re,
2538
3024
  disabled: p,
2539
3025
  "aria-label": "Add emoji"
2540
3026
  }),
2541
- g && !p && pe.createPortal(/* @__PURE__ */ i("div", {
3027
+ g && !p && Te.createPortal(/* @__PURE__ */ i("div", {
2542
3028
  ref: E,
2543
3029
  style: {
2544
3030
  position: "fixed",
@@ -2573,7 +3059,7 @@ var tn = ({ children: e, style: t, ...n }) => {
2573
3059
  "🤗",
2574
3060
  "😎"
2575
3061
  ].map((e) => /* @__PURE__ */ i("button", {
2576
- onClick: () => se(e),
3062
+ onClick: () => ie(e),
2577
3063
  style: {
2578
3064
  background: "none",
2579
3065
  border: "none",
@@ -2592,19 +3078,19 @@ var tn = ({ children: e, style: t, ...n }) => {
2592
3078
  children: e
2593
3079
  }, e))
2594
3080
  }), document.body),
2595
- /* @__PURE__ */ i(ke, {
2596
- icon: te,
3081
+ /* @__PURE__ */ i(He, {
3082
+ icon: j,
2597
3083
  variant: "primary",
2598
3084
  size: "sm",
2599
3085
  onClick: s,
2600
- disabled: !ee,
3086
+ disabled: !k,
2601
3087
  "aria-label": "Send message"
2602
3088
  })
2603
3089
  ]
2604
3090
  })
2605
3091
  ]
2606
3092
  });
2607
- }, ln = {
3093
+ }, Hn = {
2608
3094
  wrapper: "_wrapper_1nmcn_3",
2609
3095
  "wrapper--disabled": "_wrapper--disabled_1nmcn_11",
2610
3096
  input: "_input_1nmcn_14",
@@ -2616,16 +3102,16 @@ var tn = ({ children: e, style: t, ...n }) => {
2616
3102
  text__description: "_text__description_1nmcn_73",
2617
3103
  checkbox: "_checkbox_1nmcn_77",
2618
3104
  "wrapper--withDescription": "_wrapper--withDescription_1nmcn_81"
2619
- }, un = e.forwardRef(({ label: t, description: n, indeterminate: r, disabled: o, id: s, className: c, ...l }, u) => {
3105
+ }, Un = e.forwardRef(({ label: t, description: n, indeterminate: r, disabled: o, id: s, className: c, ...l }, u) => {
2620
3106
  let d = e.useId(), f = s ?? d, p = e.useRef(null);
2621
3107
  return e.useImperativeHandle(u, () => p.current), e.useEffect(() => {
2622
3108
  p.current && (p.current.indeterminate = !!r);
2623
3109
  }, [r]), /* @__PURE__ */ a("label", {
2624
3110
  htmlFor: f,
2625
3111
  className: [
2626
- ln.wrapper,
2627
- n ? ln["wrapper--withDescription"] : "",
2628
- o ? ln["wrapper--disabled"] : "",
3112
+ Hn.wrapper,
3113
+ n ? Hn["wrapper--withDescription"] : "",
3114
+ o ? Hn["wrapper--disabled"] : "",
2629
3115
  c ?? ""
2630
3116
  ].filter(Boolean).join(" "),
2631
3117
  children: [
@@ -2634,14 +3120,14 @@ var tn = ({ children: e, style: t, ...n }) => {
2634
3120
  id: f,
2635
3121
  type: "checkbox",
2636
3122
  disabled: o,
2637
- className: ln.input,
3123
+ className: Hn.input,
2638
3124
  ...l
2639
3125
  }),
2640
3126
  /* @__PURE__ */ a("span", {
2641
- className: ln.box,
3127
+ className: Hn.box,
2642
3128
  "aria-hidden": "true",
2643
3129
  children: [/* @__PURE__ */ i("svg", {
2644
- className: ln.check,
3130
+ className: Hn.check,
2645
3131
  width: 12,
2646
3132
  height: 12,
2647
3133
  viewBox: "0 0 24 24",
@@ -2651,23 +3137,23 @@ var tn = ({ children: e, style: t, ...n }) => {
2651
3137
  strokeLinecap: "round",
2652
3138
  strokeLinejoin: "round",
2653
3139
  children: /* @__PURE__ */ i("polyline", { points: "20 6 9 17 4 12" })
2654
- }), /* @__PURE__ */ i("span", { className: ln.dash })]
3140
+ }), /* @__PURE__ */ i("span", { className: Hn.dash })]
2655
3141
  }),
2656
3142
  (t || n) && /* @__PURE__ */ a("span", {
2657
- className: ln.text,
3143
+ className: Hn.text,
2658
3144
  children: [t && /* @__PURE__ */ i("span", {
2659
- className: ln.text__label,
3145
+ className: Hn.text__label,
2660
3146
  children: t
2661
3147
  }), n && /* @__PURE__ */ i("span", {
2662
- className: ln.text__description,
3148
+ className: Hn.text__description,
2663
3149
  children: n
2664
3150
  })]
2665
3151
  })
2666
3152
  ]
2667
3153
  });
2668
3154
  });
2669
- un.displayName = "Checkbox";
2670
- var K = {
3155
+ Un.displayName = "Checkbox";
3156
+ var q = {
2671
3157
  item: "_item_1bf0e_2",
2672
3158
  "item--hover": "_item--hover_1bf0e_12",
2673
3159
  "item--active": "_item--active_1bf0e_13",
@@ -2682,7 +3168,7 @@ var K = {
2682
3168
  item__preview: "_item__preview_1bf0e_31",
2683
3169
  item__typing: "_item__typing_1bf0e_36",
2684
3170
  item__badge: "_item__badge_1bf0e_37"
2685
- }, dn = ({ state: e = "default", avatar: t, name: n, timestamp: r, preview: o, unreadCount: c, onClick: l, className: u }) => /* @__PURE__ */ a("div", {
3171
+ }, Wn = ({ state: e = "default", avatar: t, name: n, timestamp: r, preview: o, unreadCount: c, onClick: l, className: u }) => /* @__PURE__ */ a("div", {
2686
3172
  role: "button",
2687
3173
  "data-hover-item": "",
2688
3174
  tabIndex: 0,
@@ -2692,70 +3178,155 @@ var K = {
2692
3178
  },
2693
3179
  "aria-current": e === "active" || void 0,
2694
3180
  className: [
2695
- K.item,
2696
- K[`item--${e}`],
3181
+ q.item,
3182
+ q[`item--${e}`],
2697
3183
  u ?? ""
2698
3184
  ].filter(Boolean).join(" "),
2699
3185
  children: [/* @__PURE__ */ a("span", {
2700
- className: K.item__avatar,
3186
+ className: q.item__avatar,
2701
3187
  children: [t, e !== "muted" && /* @__PURE__ */ i("span", {
2702
- className: K.item__presence,
3188
+ className: q.item__presence,
2703
3189
  "aria-hidden": "true"
2704
3190
  })]
2705
3191
  }), /* @__PURE__ */ a("span", {
2706
- className: K.item__body,
3192
+ className: q.item__body,
2707
3193
  children: [/* @__PURE__ */ a("span", {
2708
- className: K.item__row,
3194
+ className: q.item__row,
2709
3195
  children: [
2710
3196
  /* @__PURE__ */ i("span", {
2711
- className: K.item__name,
3197
+ className: q.item__name,
2712
3198
  children: n
2713
3199
  }),
2714
3200
  e === "muted" && /* @__PURE__ */ i(s, {
2715
3201
  size: 12,
2716
- strokeWidth: k(12),
2717
- className: K.item__mute,
3202
+ strokeWidth: M(12),
3203
+ className: q.item__mute,
2718
3204
  "aria-hidden": "true"
2719
3205
  }),
2720
3206
  r && /* @__PURE__ */ i("span", {
2721
- className: K.item__time,
3207
+ className: q.item__time,
2722
3208
  children: r
2723
3209
  })
2724
3210
  ]
2725
3211
  }), /* @__PURE__ */ a("span", {
2726
- className: K.item__row,
3212
+ className: q.item__row,
2727
3213
  children: [e === "typing" ? /* @__PURE__ */ i("span", {
2728
- className: K.item__typing,
3214
+ className: q.item__typing,
2729
3215
  children: "typing..."
2730
3216
  }) : /* @__PURE__ */ i("span", {
2731
- className: K.item__preview,
3217
+ className: q.item__preview,
2732
3218
  children: o
2733
3219
  }), e === "unread" && c != null && /* @__PURE__ */ i("span", {
2734
- className: K.item__badge,
3220
+ className: q.item__badge,
2735
3221
  children: c
2736
3222
  })]
2737
3223
  })]
2738
3224
  })]
2739
- }), fn = {
3225
+ }), Gn = {
3226
+ chart: "_chart_aiboa_2",
3227
+ center: "_center_aiboa_26",
3228
+ center__value: "_center__value_aiboa_35",
3229
+ center__caption: "_center__caption_aiboa_36"
3230
+ }, Kn = {
3231
+ sm: {
3232
+ h: 180,
3233
+ inner: 50,
3234
+ outer: 72
3235
+ },
3236
+ md: {
3237
+ h: 220,
3238
+ inner: 62,
3239
+ outer: 90
3240
+ },
3241
+ lg: {
3242
+ h: 280,
3243
+ inner: 80,
3244
+ outer: 116
3245
+ },
3246
+ xl: {
3247
+ h: 340,
3248
+ inner: 98,
3249
+ outer: 142
3250
+ }
3251
+ }, qn = ({ data: t, size: n = "md", centerValue: r, centerCaption: o, height: s, className: c }) => {
3252
+ let [l, u] = e.useState(null), [d, f] = e.useState(null), p = (e) => {
3253
+ let t = e.currentTarget.getBoundingClientRect();
3254
+ f({
3255
+ x: e.clientX - t.left,
3256
+ y: e.clientY - t.top
3257
+ });
3258
+ }, m = e.useRef(null), h = St(m), g = [
3259
+ 1,
3260
+ 2,
3261
+ 3,
3262
+ 4,
3263
+ 5
3264
+ ].map((e) => h(`--color-chart-${e}`) ?? Ct[e - 1]), _ = {
3265
+ ...Kn[n],
3266
+ h: s ?? Kn[n].h
3267
+ }, v = (_.outer - _.inner) / 2 - 7;
3268
+ return /* @__PURE__ */ a("div", {
3269
+ ref: m,
3270
+ className: [Gn.chart, c ?? ""].filter(Boolean).join(" "),
3271
+ style: { height: _.h },
3272
+ onMouseMove: p,
3273
+ children: [/* @__PURE__ */ i(xe, {
3274
+ width: "100%",
3275
+ height: "100%",
3276
+ children: /* @__PURE__ */ a(ge, { children: [/* @__PURE__ */ i(he, {
3277
+ data: t,
3278
+ dataKey: "value",
3279
+ nameKey: "label",
3280
+ innerRadius: _.inner,
3281
+ outerRadius: _.outer,
3282
+ cornerRadius: v,
3283
+ paddingAngle: 2,
3284
+ stroke: "none",
3285
+ isAnimationActive: !1,
3286
+ onMouseEnter: (e, t) => u(t),
3287
+ onMouseLeave: () => {
3288
+ u(null), f(null);
3289
+ },
3290
+ children: t.map((e, t) => /* @__PURE__ */ i(de, {
3291
+ fill: g[t % g.length],
3292
+ fillOpacity: l !== null && t !== l ? .45 : 1
3293
+ }, t))
3294
+ }), /* @__PURE__ */ i(Se, {
3295
+ content: /* @__PURE__ */ i(Tt, {}),
3296
+ wrapperStyle: { zIndex: 50 },
3297
+ position: d ?? void 0
3298
+ })] })
3299
+ }), (r || o) && /* @__PURE__ */ a("div", {
3300
+ className: Gn.center,
3301
+ children: [r && /* @__PURE__ */ i("span", {
3302
+ className: Gn.center__value,
3303
+ children: r
3304
+ }), o && /* @__PURE__ */ i("span", {
3305
+ className: Gn.center__caption,
3306
+ children: o
3307
+ })]
3308
+ })]
3309
+ });
3310
+ }, Jn = {
2740
3311
  empty: "_empty_1sxwx_2",
2741
3312
  empty__chip: "_empty__chip_1sxwx_12",
2742
3313
  "empty__chip--error": "_empty__chip--error_1sxwx_22",
2743
3314
  empty__title: "_empty__title_1sxwx_23",
2744
3315
  empty__desc: "_empty__desc_1sxwx_31",
2745
3316
  empty__action: "_empty__action_1sxwx_39"
2746
- }, pn = {
3317
+ }, Yn = {
2747
3318
  "no-data": {
2748
3319
  icon: /* @__PURE__ */ i(C, {
2749
3320
  size: 18,
2750
- strokeWidth: k(18)
3321
+ strokeWidth: M(18)
2751
3322
  }),
2752
3323
  title: "No data yet",
2753
3324
  description: "Records will appear here once they are added."
2754
3325
  },
2755
3326
  "no-results": {
2756
- icon: /* @__PURE__ */ i(ee, {
3327
+ icon: /* @__PURE__ */ i(A, {
2757
3328
  size: 18,
2758
- strokeWidth: k(18)
3329
+ strokeWidth: M(18)
2759
3330
  }),
2760
3331
  title: "No results found",
2761
3332
  description: "Try adjusting your search or removing filters."
@@ -2763,39 +3334,39 @@ var K = {
2763
3334
  error: {
2764
3335
  icon: /* @__PURE__ */ i(h, {
2765
3336
  size: 18,
2766
- strokeWidth: k(18)
3337
+ strokeWidth: M(18)
2767
3338
  }),
2768
3339
  title: "Couldn't load data",
2769
3340
  description: "Something went wrong while fetching records."
2770
3341
  }
2771
- }, mn = ({ type: e = "no-data", title: t, description: n, actionLabel: r, onAction: o, icon: s, className: c }) => {
2772
- let l = pn[e];
3342
+ }, Xn = ({ type: e = "no-data", title: t, description: n, actionLabel: r, onAction: o, icon: s, className: c }) => {
3343
+ let l = Yn[e];
2773
3344
  return /* @__PURE__ */ a("div", {
2774
- className: [fn.empty, c ?? ""].filter(Boolean).join(" "),
3345
+ className: [Jn.empty, c ?? ""].filter(Boolean).join(" "),
2775
3346
  role: "status",
2776
3347
  children: [
2777
3348
  /* @__PURE__ */ i("span", {
2778
- className: [fn.empty__chip, fn[`empty__chip--${e}`]].join(" "),
3349
+ className: [Jn.empty__chip, Jn[`empty__chip--${e}`]].join(" "),
2779
3350
  "aria-hidden": "true",
2780
3351
  children: s ?? l.icon
2781
3352
  }),
2782
3353
  /* @__PURE__ */ i("p", {
2783
- className: fn.empty__title,
3354
+ className: Jn.empty__title,
2784
3355
  children: t ?? l.title
2785
3356
  }),
2786
3357
  /* @__PURE__ */ i("p", {
2787
- className: fn.empty__desc,
3358
+ className: Jn.empty__desc,
2788
3359
  children: n ?? l.description
2789
3360
  }),
2790
3361
  r && /* @__PURE__ */ i("button", {
2791
3362
  type: "button",
2792
- className: fn.empty__action,
3363
+ className: Jn.empty__action,
2793
3364
  onClick: o,
2794
3365
  children: r
2795
3366
  })
2796
3367
  ]
2797
3368
  });
2798
- }, hn = {
3369
+ }, Zn = {
2799
3370
  chip: "_chip_1qnyq_2",
2800
3371
  chip__lead: "_chip__lead_1qnyq_20",
2801
3372
  chip__trail: "_chip__trail_1qnyq_20",
@@ -2803,127 +3374,331 @@ var K = {
2803
3374
  chip__remove: "_chip__remove_1qnyq_29",
2804
3375
  "chip--add": "_chip--add_1qnyq_38",
2805
3376
  "chip--leaving": "_chip--leaving_1qnyq_45"
2806
- }, gn = 160, _n = () => typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches, vn = ({ type: t = "default", children: n, onClick: r, onRemove: o, className: s }) => {
3377
+ }, Qn = 160, $n = () => typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches, er = ({ type: t = "default", children: n, onClick: r, onRemove: o, className: s }) => {
2807
3378
  let [c, l] = e.useState(!1), u = e.useRef(void 0);
2808
3379
  e.useEffect(() => () => window.clearTimeout(u.current), []);
2809
3380
  let f = () => {
2810
3381
  if (!c) {
2811
- if (_n()) {
3382
+ if ($n()) {
2812
3383
  o?.();
2813
3384
  return;
2814
3385
  }
2815
3386
  l(!0), u.current = window.setTimeout(() => {
2816
3387
  o?.(), l(!1);
2817
- }, gn);
3388
+ }, Qn);
2818
3389
  }
2819
3390
  };
2820
3391
  return /* @__PURE__ */ a("button", {
2821
3392
  type: "button",
2822
3393
  onClick: r,
2823
3394
  className: [
2824
- hn.chip,
2825
- hn[`chip--${t}`],
2826
- c ? hn["chip--leaving"] : "",
3395
+ Zn.chip,
3396
+ Zn[`chip--${t}`],
3397
+ c ? Zn["chip--leaving"] : "",
2827
3398
  s ?? ""
2828
3399
  ].filter(Boolean).join(" "),
2829
3400
  children: [
2830
- t === "add" && /* @__PURE__ */ i(O, {
3401
+ t === "add" && /* @__PURE__ */ i(k, {
2831
3402
  size: 14,
2832
- strokeWidth: k(14),
2833
- className: hn.chip__lead,
3403
+ strokeWidth: M(14),
3404
+ className: Zn.chip__lead,
2834
3405
  "aria-hidden": "true"
2835
3406
  }),
2836
3407
  /* @__PURE__ */ i("span", {
2837
- className: hn.chip__label,
3408
+ className: Zn.chip__label,
2838
3409
  children: n
2839
3410
  }),
2840
3411
  t === "default" && /* @__PURE__ */ i(d, {
2841
3412
  size: 14,
2842
- strokeWidth: k(14),
2843
- className: hn.chip__trail,
3413
+ strokeWidth: M(14),
3414
+ className: Zn.chip__trail,
2844
3415
  "aria-hidden": "true"
2845
3416
  }),
2846
3417
  t === "active" && /* @__PURE__ */ i("span", {
2847
3418
  role: "button",
2848
3419
  "aria-label": "Remove filter",
2849
- className: hn.chip__remove,
3420
+ className: Zn.chip__remove,
2850
3421
  onClick: (e) => {
2851
3422
  e.stopPropagation(), f();
2852
3423
  },
2853
- children: /* @__PURE__ */ i(ce, {
3424
+ children: /* @__PURE__ */ i(se, {
2854
3425
  size: 14,
2855
- strokeWidth: k(14),
3426
+ strokeWidth: M(14),
2856
3427
  "aria-hidden": "true"
2857
3428
  })
2858
3429
  })
2859
3430
  ]
2860
3431
  });
2861
- }, q = {
2862
- field: "_field_1cywj_10",
2863
- field__label: "_field__label_1cywj_18",
2864
- field__description: "_field__description_1cywj_26",
2865
- field__error: "_field__error_1cywj_31",
2866
- input: "_input_1cywj_38",
2867
- "input--sm": "_input--sm_1cywj_49",
2868
- "input--md": "_input--md_1cywj_50",
2869
- "input--lg": "_input--lg_1cywj_51",
2870
- "input--error": "_input--error_1cywj_65",
2871
- "input--disabled": "_input--disabled_1cywj_72",
2872
- input__control: "_input__control_1cywj_79",
2873
- input__icon: "_input__icon_1cywj_108",
2874
- "input--unstyled": "_input--unstyled_1cywj_118"
2875
- }, yn = 16, bn = (t) => e.isValidElement(t) ? e.cloneElement(t, {
2876
- size: yn,
2877
- strokeWidth: k(yn)
2878
- }) : t, xn = e.forwardRef(({ label: t, description: n, error: r, size: o = "md", unstyled: s, leadingIcon: c, trailingIcon: l, disabled: u, id: d, className: f, ...p }, m) => {
3432
+ }, tr = {
3433
+ field: "_field_1nyia_10",
3434
+ field__label: "_field__label_1nyia_18",
3435
+ field__description: "_field__description_1nyia_26",
3436
+ field__error: "_field__error_1nyia_31",
3437
+ input: "_input_1nyia_38",
3438
+ "input--sm": "_input--sm_1nyia_51",
3439
+ "input--md": "_input--md_1nyia_52",
3440
+ "input--lg": "_input--lg_1nyia_53",
3441
+ "input--error": "_input--error_1nyia_67",
3442
+ "input--disabled": "_input--disabled_1nyia_74",
3443
+ input__control: "_input__control_1nyia_81",
3444
+ input__icon: "_input__icon_1nyia_110",
3445
+ "input--unstyled": "_input--unstyled_1nyia_120"
3446
+ }, nr = 16, rr = (t) => e.isValidElement(t) ? e.cloneElement(t, {
3447
+ size: nr,
3448
+ strokeWidth: M(nr)
3449
+ }) : t, ir = e.forwardRef(({ label: t, description: n, error: r, size: o = "md", unstyled: s, leadingIcon: c, trailingIcon: l, disabled: u, id: d, className: f, ...p }, m) => {
2879
3450
  let h = e.useId(), g = d ?? h, _ = !!r;
2880
3451
  return /* @__PURE__ */ a("div", {
2881
- className: [q.field, f ?? ""].filter(Boolean).join(" "),
3452
+ className: [tr.field, f ?? ""].filter(Boolean).join(" "),
2882
3453
  children: [
2883
3454
  t && /* @__PURE__ */ i("label", {
2884
3455
  htmlFor: g,
2885
- className: q.field__label,
3456
+ className: tr.field__label,
2886
3457
  children: t
2887
3458
  }),
2888
3459
  /* @__PURE__ */ a("div", {
2889
3460
  className: [
2890
- q.input,
2891
- q[`input--${o}`],
2892
- _ ? q["input--error"] : "",
2893
- u ? q["input--disabled"] : ""
3461
+ tr.input,
3462
+ tr[`input--${o}`],
3463
+ _ ? tr["input--error"] : "",
3464
+ u ? tr["input--disabled"] : ""
2894
3465
  ].filter(Boolean).join(" "),
2895
3466
  children: [
2896
3467
  c && /* @__PURE__ */ i("span", {
2897
- className: q.input__icon,
3468
+ className: tr.input__icon,
2898
3469
  "aria-hidden": "true",
2899
- children: bn(c)
3470
+ children: rr(c)
2900
3471
  }),
2901
3472
  /* @__PURE__ */ i("input", {
2902
3473
  ref: m,
2903
3474
  id: g,
2904
- className: q.input__control,
3475
+ className: tr.input__control,
2905
3476
  disabled: u,
2906
3477
  "aria-invalid": _ || void 0,
2907
3478
  "aria-describedby": n || r ? `${g}-desc` : void 0,
2908
3479
  ...p
2909
3480
  }),
2910
3481
  l && /* @__PURE__ */ i("span", {
2911
- className: q.input__icon,
3482
+ className: tr.input__icon,
2912
3483
  "aria-hidden": "true",
2913
- children: bn(l)
3484
+ children: rr(l)
2914
3485
  })
2915
3486
  ]
2916
3487
  }),
2917
3488
  (n || r) && /* @__PURE__ */ i("span", {
2918
3489
  id: `${g}-desc`,
2919
- className: _ ? q.field__error : q.field__description,
3490
+ className: _ ? tr.field__error : tr.field__description,
2920
3491
  children: r || n
2921
3492
  })
2922
3493
  ]
2923
3494
  });
2924
3495
  });
2925
- xn.displayName = "Input";
2926
- var J = {
3496
+ ir.displayName = "Input";
3497
+ var ar = { chart: "_chart_18fgd_2" }, or = {
3498
+ sm: 180,
3499
+ md: 240,
3500
+ lg: 320,
3501
+ xl: 420
3502
+ }, sr = /* @__PURE__ */ new Set([
3503
+ "dots",
3504
+ "custom-dots",
3505
+ "dots-colors",
3506
+ "label",
3507
+ "custom-label"
3508
+ ]), cr = ({ data: t, series: n, xKey: r = "label", variant: o = "default", labelKey: s, size: c = "md", height: l, showLegend: u, className: d }) => {
3509
+ let f = e.useRef(null), p = St(f), m = [
3510
+ 1,
3511
+ 2,
3512
+ 3,
3513
+ 4,
3514
+ 5
3515
+ ].map((e) => p(`--color-chart-${e}`) ?? Ct[e - 1]), h = [
3516
+ m[1],
3517
+ m[0],
3518
+ ...m.slice(2)
3519
+ ], g = p("--color-border-subtle") ?? "#e7e5e1", _ = p("--color-fg-muted") ?? "#78716a", v = p("--color-bg-canvas") ?? "#fafaf9", y = p("--color-fg-default") ?? "#141414", b = o === "linear" ? "linear" : o === "step" ? "step" : "monotone", x = sr.has(o), S = (e) => (t) => {
3520
+ let { cx: n, cy: r } = t;
3521
+ return /* @__PURE__ */ a("g", {
3522
+ stroke: e,
3523
+ strokeWidth: 2,
3524
+ strokeLinecap: "round",
3525
+ children: [
3526
+ /* @__PURE__ */ i("line", {
3527
+ x1: n,
3528
+ y1: r - 3,
3529
+ x2: n,
3530
+ y2: r - 3 - 6
3531
+ }),
3532
+ /* @__PURE__ */ i("line", {
3533
+ x1: n,
3534
+ y1: r + 3,
3535
+ x2: n,
3536
+ y2: r + 3 + 6
3537
+ }),
3538
+ /* @__PURE__ */ i("circle", {
3539
+ cx: n,
3540
+ cy: r,
3541
+ r: 3,
3542
+ fill: e,
3543
+ stroke: "none"
3544
+ })
3545
+ ]
3546
+ });
3547
+ }, C = (e) => {
3548
+ let { cx: t, cy: n, index: r } = e, a = m[(r ?? 0) % m.length];
3549
+ return /* @__PURE__ */ i("circle", {
3550
+ cx: t,
3551
+ cy: n,
3552
+ r: 4,
3553
+ fill: a,
3554
+ stroke: v,
3555
+ strokeWidth: 1.5
3556
+ });
3557
+ }, w = (e) => {
3558
+ let { x: n, y: r, value: a, index: c } = e, l = o === "custom-label" && s ? t[c]?.[s] : a;
3559
+ return l === void 0 ? /* @__PURE__ */ i("g", {}) : /* @__PURE__ */ i("text", {
3560
+ x: n,
3561
+ y: r - 12,
3562
+ textAnchor: "middle",
3563
+ fill: y,
3564
+ fontSize: 12,
3565
+ fontWeight: 500,
3566
+ fontFamily: "var(--font-sans)",
3567
+ children: l
3568
+ });
3569
+ };
3570
+ return /* @__PURE__ */ i("div", {
3571
+ ref: f,
3572
+ className: [ar.chart, d ?? ""].filter(Boolean).join(" "),
3573
+ children: /* @__PURE__ */ i(xe, {
3574
+ width: "100%",
3575
+ height: l ?? or[c],
3576
+ children: /* @__PURE__ */ a(me, {
3577
+ data: t,
3578
+ margin: {
3579
+ top: 8,
3580
+ right: 8,
3581
+ bottom: 8,
3582
+ left: 12
3583
+ },
3584
+ children: [
3585
+ /* @__PURE__ */ i(ue, {
3586
+ strokeDasharray: "3 3",
3587
+ stroke: g,
3588
+ vertical: !1
3589
+ }),
3590
+ /* @__PURE__ */ i(Ce, {
3591
+ dataKey: r,
3592
+ stroke: _,
3593
+ fontSize: 12,
3594
+ tickLine: !1,
3595
+ axisLine: !1,
3596
+ interval: 0
3597
+ }),
3598
+ /* @__PURE__ */ i(Se, {
3599
+ cursor: {
3600
+ stroke: p("--color-border-default") ?? "#dbdad7",
3601
+ strokeWidth: 1
3602
+ },
3603
+ content: /* @__PURE__ */ i(Tt, {}),
3604
+ wrapperStyle: { zIndex: 50 }
3605
+ }),
3606
+ u && /* @__PURE__ */ i(fe, { wrapperStyle: {
3607
+ fontSize: 12,
3608
+ fontFamily: "var(--font-sans)"
3609
+ } }),
3610
+ n.map((e, t) => {
3611
+ let n = h[t % h.length], r = x ? o === "custom-dots" ? S(n) : o === "dots-colors" ? C : {
3612
+ r: 4,
3613
+ fill: n,
3614
+ stroke: v,
3615
+ strokeWidth: 1.5
3616
+ } : !1;
3617
+ return /* @__PURE__ */ i(pe, {
3618
+ type: b,
3619
+ dataKey: e,
3620
+ stroke: n,
3621
+ strokeWidth: 2,
3622
+ dot: r,
3623
+ activeDot: {
3624
+ r: 4,
3625
+ fill: n,
3626
+ stroke: v,
3627
+ strokeWidth: 1.5
3628
+ },
3629
+ label: o === "label" || o === "custom-label" ? w : void 0
3630
+ }, e);
3631
+ })
3632
+ ]
3633
+ })
3634
+ })
3635
+ });
3636
+ }, lr = {
3637
+ menu: "_menu_1cx61_2",
3638
+ divider: "_divider_1cx61_26"
3639
+ }, ur = ({ children: e, minWidth: t = 208, className: n, ...r }) => {
3640
+ let i = Pn();
3641
+ return /* @__PURE__ */ a("div", {
3642
+ ref: i.ref,
3643
+ ...i.groupProps,
3644
+ role: "menu",
3645
+ "aria-label": r["aria-label"],
3646
+ style: { minWidth: t },
3647
+ className: [lr.menu, n ?? ""].filter(Boolean).join(" "),
3648
+ children: [i.highlight, e]
3649
+ });
3650
+ }, dr = () => /* @__PURE__ */ i("div", {
3651
+ className: lr.divider,
3652
+ role: "separator"
3653
+ }), fr = {
3654
+ item: "_item_1ezjp_2",
3655
+ item__icon: "_item__icon_1ezjp_27",
3656
+ item__label: "_item__label_1ezjp_28",
3657
+ item__shortcut: "_item__shortcut_1ezjp_29",
3658
+ item__check: "_item__check_1ezjp_36",
3659
+ "item--checked": "_item--checked_1ezjp_38",
3660
+ "item--disabled": "_item--disabled_1ezjp_39",
3661
+ "item--destructive": "_item--destructive_1ezjp_40"
3662
+ }, pr = ({ state: e = "default", icon: t, shortcut: n, children: r, onSelect: o, className: s }) => {
3663
+ let c = e === "disabled";
3664
+ return /* @__PURE__ */ a("div", {
3665
+ role: "menuitem",
3666
+ "data-hover-item": "",
3667
+ "aria-disabled": c || void 0,
3668
+ "aria-checked": e === "checked" || void 0,
3669
+ tabIndex: c ? -1 : 0,
3670
+ onClick: c ? void 0 : o,
3671
+ onKeyDown: (e) => {
3672
+ c || (e.key === "Enter" || e.key === " ") && (e.preventDefault(), o?.());
3673
+ },
3674
+ className: [
3675
+ fr.item,
3676
+ fr[`item--${e}`],
3677
+ s ?? ""
3678
+ ].filter(Boolean).join(" "),
3679
+ children: [
3680
+ t && /* @__PURE__ */ i("span", {
3681
+ className: fr.item__icon,
3682
+ "aria-hidden": "true",
3683
+ children: t
3684
+ }),
3685
+ /* @__PURE__ */ i("span", {
3686
+ className: fr.item__label,
3687
+ children: r
3688
+ }),
3689
+ n && /* @__PURE__ */ i("kbd", {
3690
+ className: fr.item__shortcut,
3691
+ children: n
3692
+ }),
3693
+ e === "checked" && /* @__PURE__ */ i(l, {
3694
+ size: 16,
3695
+ strokeWidth: M(16),
3696
+ className: fr.item__check,
3697
+ "aria-hidden": "true"
3698
+ })
3699
+ ]
3700
+ });
3701
+ }, J = {
2927
3702
  row: "_row_1q1m5_2",
2928
3703
  "row--sent": "_row--sent_1q1m5_3",
2929
3704
  row__avatar: "_row__avatar_1q1m5_4",
@@ -2947,7 +3722,7 @@ var J = {
2947
3722
  foot__receipt: "_foot__receipt_1q1m5_32",
2948
3723
  system: "_system_1q1m5_34",
2949
3724
  system__pill: "_system__pill_1q1m5_35"
2950
- }, Sn = ({ type: e = "received", content: t = "text", avatar: n, authorName: o, timestamp: s, children: c, image: l, fileName: d, fileSize: f, reactions: p, read: m, className: h }) => {
3725
+ }, mr = ({ type: e = "received", content: t = "text", avatar: n, authorName: o, timestamp: s, children: c, image: l, fileName: d, fileSize: f, reactions: p, read: m, className: h }) => {
2951
3726
  if (e === "system") return /* @__PURE__ */ i("div", {
2952
3727
  className: [J.system, h ?? ""].filter(Boolean).join(" "),
2953
3728
  children: /* @__PURE__ */ i("span", {
@@ -2990,7 +3765,7 @@ var J = {
2990
3765
  children: [
2991
3766
  /* @__PURE__ */ i(b, {
2992
3767
  size: 18,
2993
- strokeWidth: k(18),
3768
+ strokeWidth: M(18),
2994
3769
  className: J.file__icon,
2995
3770
  "aria-hidden": "true"
2996
3771
  }),
@@ -3006,7 +3781,7 @@ var J = {
3006
3781
  }),
3007
3782
  /* @__PURE__ */ i(_, {
3008
3783
  size: 16,
3009
- strokeWidth: k(16),
3784
+ strokeWidth: M(16),
3010
3785
  className: J.file__dl,
3011
3786
  "aria-hidden": "true"
3012
3787
  })
@@ -3025,7 +3800,7 @@ var J = {
3025
3800
  children: s
3026
3801
  }), m && /* @__PURE__ */ i(u, {
3027
3802
  size: 13,
3028
- strokeWidth: k(13),
3803
+ strokeWidth: M(13),
3029
3804
  className: J.foot__receipt,
3030
3805
  "aria-hidden": "true"
3031
3806
  })] })]
@@ -3033,19 +3808,19 @@ var J = {
3033
3808
  ]
3034
3809
  })]
3035
3810
  });
3036
- }, Cn = {
3811
+ }, hr = {
3037
3812
  pagination: "_pagination_e1j7r_2",
3038
3813
  page: "_page_e1j7r_9",
3039
3814
  arrow: "_arrow_e1j7r_9",
3040
3815
  "page--active": "_page--active_e1j7r_26",
3041
3816
  ellipsis: "_ellipsis_e1j7r_40"
3042
- }, wn = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
3043
- function Tn(e, t, n) {
3817
+ }, gr = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
3818
+ function _r(e, t, n) {
3044
3819
  let r = n * 2 + 5;
3045
- if (e <= r) return wn(1, e);
3820
+ if (e <= r) return gr(1, e);
3046
3821
  let i = r - 2, a = n * 2 + 1;
3047
3822
  if (t <= i) return [
3048
- ...wn(1, i),
3823
+ ...gr(1, i),
3049
3824
  "end-ellipsis",
3050
3825
  e
3051
3826
  ];
@@ -3053,19 +3828,19 @@ function Tn(e, t, n) {
3053
3828
  return s <= e - 3 ? [
3054
3829
  1,
3055
3830
  "start-ellipsis",
3056
- ...wn(o, s),
3831
+ ...gr(o, s),
3057
3832
  "end-ellipsis",
3058
3833
  e
3059
3834
  ] : [
3060
3835
  1,
3061
3836
  "start-ellipsis",
3062
- ...wn(e - i + 1, e)
3837
+ ...gr(e - i + 1, e)
3063
3838
  ];
3064
3839
  }
3065
- var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s }) => {
3840
+ var vr = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s }) => {
3066
3841
  let c = e.useRef(null);
3067
3842
  if (t < 1) return null;
3068
- let l = Math.min(Math.max(n, 1), t), u = Math.max(0, o), d = Tn(t, l, u), m = c.current;
3843
+ let l = Math.min(Math.max(n, 1), t), u = Math.max(0, o), d = _r(t, l, u), m = c.current;
3069
3844
  if (m && m.total === t && m.siblings === u) {
3070
3845
  let e = m.tokens, n = e.includes(l), r = l === 1 && e[1] === "start-ellipsis" || l === t && e[e.length - 2] === "end-ellipsis";
3071
3846
  n && !r && (d = e);
@@ -3075,53 +3850,53 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3075
3850
  siblings: u,
3076
3851
  tokens: d
3077
3852
  }, /* @__PURE__ */ a("nav", {
3078
- className: [Cn.pagination, s ?? ""].filter(Boolean).join(" "),
3853
+ className: [hr.pagination, s ?? ""].filter(Boolean).join(" "),
3079
3854
  "aria-label": "Pagination",
3080
3855
  children: [
3081
3856
  /* @__PURE__ */ i("button", {
3082
3857
  type: "button",
3083
- className: Cn.arrow,
3858
+ className: hr.arrow,
3084
3859
  disabled: l <= 1,
3085
3860
  onClick: () => r(l - 1),
3086
3861
  "aria-label": "Previous page",
3087
3862
  children: /* @__PURE__ */ i(f, {
3088
3863
  size: 16,
3089
- strokeWidth: k(16)
3864
+ strokeWidth: M(16)
3090
3865
  })
3091
3866
  }),
3092
3867
  d.map((e) => typeof e == "number" ? /* @__PURE__ */ i("button", {
3093
3868
  type: "button",
3094
- className: [Cn.page, e === l ? Cn["page--active"] : ""].filter(Boolean).join(" "),
3869
+ className: [hr.page, e === l ? hr["page--active"] : ""].filter(Boolean).join(" "),
3095
3870
  "aria-current": e === l ? "page" : void 0,
3096
3871
  "aria-label": `Page ${e}`,
3097
3872
  onClick: () => e !== l && r(e),
3098
3873
  children: e
3099
3874
  }, e) : /* @__PURE__ */ i("span", {
3100
- className: Cn.ellipsis,
3875
+ className: hr.ellipsis,
3101
3876
  "aria-hidden": "true",
3102
3877
  children: "…"
3103
3878
  }, e)),
3104
3879
  /* @__PURE__ */ i("button", {
3105
3880
  type: "button",
3106
- className: Cn.arrow,
3881
+ className: hr.arrow,
3107
3882
  disabled: l >= t,
3108
3883
  onClick: () => r(l + 1),
3109
3884
  "aria-label": "Next page",
3110
3885
  children: /* @__PURE__ */ i(p, {
3111
3886
  size: 16,
3112
- strokeWidth: k(16)
3887
+ strokeWidth: M(16)
3113
3888
  })
3114
3889
  })
3115
3890
  ]
3116
3891
  });
3117
- }, Dn = {
3892
+ }, yr = {
3118
3893
  track: "_track_1br5v_2",
3119
3894
  segment: "_segment_1br5v_12",
3120
3895
  "segment--active": "_segment--active_1br5v_38",
3121
3896
  thumb: "_thumb_1br5v_44",
3122
3897
  "thumb--animated": "_thumb--animated_1br5v_62",
3123
3898
  "track--fullWidth": "_track--fullWidth_1br5v_68"
3124
- }, On = ({ options: t, value: n, defaultValue: r, onChange: o, fullWidth: s, className: c }) => {
3899
+ }, br = ({ options: t, value: n, defaultValue: r, onChange: o, fullWidth: s, className: c }) => {
3125
3900
  let l = n !== void 0, [u, d] = e.useState(r ?? t[0]?.value), f = l ? n : u, p = (e) => {
3126
3901
  l || d(e), o?.(e);
3127
3902
  }, m = e.useRef(null), h = e.useRef({}), [g, _] = e.useState(null), [v, y] = e.useState(!1);
@@ -3142,13 +3917,13 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3142
3917
  ref: m,
3143
3918
  role: "tablist",
3144
3919
  className: [
3145
- Dn.track,
3146
- s ? Dn["track--fullWidth"] : "",
3920
+ yr.track,
3921
+ s ? yr["track--fullWidth"] : "",
3147
3922
  c ?? ""
3148
3923
  ].filter(Boolean).join(" "),
3149
3924
  children: [g && /* @__PURE__ */ i("span", {
3150
3925
  "aria-hidden": "true",
3151
- className: [Dn.thumb, v ? Dn["thumb--animated"] : ""].filter(Boolean).join(" "),
3926
+ className: [yr.thumb, v ? yr["thumb--animated"] : ""].filter(Boolean).join(" "),
3152
3927
  style: {
3153
3928
  transform: `translateX(${g.left}px)`,
3154
3929
  width: g.width
@@ -3162,7 +3937,7 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3162
3937
  role: "tab",
3163
3938
  type: "button",
3164
3939
  "aria-selected": t,
3165
- className: [Dn.segment, t ? Dn["segment--active"] : ""].filter(Boolean).join(" "),
3940
+ className: [yr.segment, t ? yr["segment--active"] : ""].filter(Boolean).join(" "),
3166
3941
  onClick: () => p(e.value),
3167
3942
  children: e.label
3168
3943
  }, e.value);
@@ -3198,47 +3973,47 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3198
3973
  option__check: "_option__check_1b512_179",
3199
3974
  optionHighlight: "_optionHighlight_1b512_151",
3200
3975
  "optionHighlight--animated": "_optionHighlight--animated_1b512_201"
3201
- }, kn = ({ label: t, description: n, error: r, size: o = "md", placeholder: s = "Select an option", options: c, value: l, defaultValue: u, onChange: d, disabled: f, id: p, className: m }) => {
3202
- let h = e.useId(), g = `${p ?? h}-trigger`, _ = `${p ?? h}-panel`, v = !!r, [y, b] = e.useState(u), x = l === void 0 ? y : l, S = c.find((e) => e.value === x), [C, w] = e.useState(!1), [T, E] = e.useState(!1), [D, O] = e.useState(0), ee = e.useRef(null), te = e.useRef(null), ne = e.useRef(null), re = e.useRef({}), [ie, ae] = e.useState(null), [oe, se] = e.useState(!1);
3976
+ }, xr = ({ label: t, description: n, error: r, size: o = "md", placeholder: s = "Select an option", options: c, value: l, defaultValue: u, onChange: d, disabled: f, id: p, className: m }) => {
3977
+ let h = e.useId(), g = `${p ?? h}-trigger`, _ = `${p ?? h}-panel`, v = !!r, [y, b] = e.useState(u), x = l === void 0 ? y : l, S = c.find((e) => e.value === x), [C, w] = e.useState(!1), [T, E] = e.useState(!1), [D, O] = e.useState(0), k = e.useRef(null), A = e.useRef(null), j = e.useRef(null), ee = e.useRef({}), [te, ne] = e.useState(null), [re, ie] = e.useState(!1);
3203
3978
  e.useLayoutEffect(() => {
3204
- let e = re.current[D];
3979
+ let e = ee.current[D];
3205
3980
  if (!e) {
3206
- ae(null);
3981
+ ne(null);
3207
3982
  return;
3208
3983
  }
3209
- ae({
3984
+ ne({
3210
3985
  top: e.offsetTop,
3211
3986
  height: e.offsetHeight
3212
3987
  });
3213
3988
  }, [D, c.length]), e.useLayoutEffect(() => {
3214
3989
  if (!T) {
3215
- se(!1);
3990
+ ie(!1);
3216
3991
  return;
3217
3992
  }
3218
- se(!1);
3219
- let e = window.requestAnimationFrame(() => se(!0));
3993
+ ie(!1);
3994
+ let e = window.requestAnimationFrame(() => ie(!0));
3220
3995
  return () => window.cancelAnimationFrame(e);
3221
3996
  }, [T]), e.useEffect(() => {
3222
- if (!ne.current) return;
3997
+ if (!j.current) return;
3223
3998
  let e = new ResizeObserver(() => {
3224
- let e = re.current[D];
3225
- e && ae({
3999
+ let e = ee.current[D];
4000
+ e && ne({
3226
4001
  top: e.offsetTop,
3227
4002
  height: e.offsetHeight
3228
4003
  });
3229
4004
  });
3230
- return e.observe(ne.current), () => e.disconnect();
4005
+ return e.observe(j.current), () => e.disconnect();
3231
4006
  }, [T]);
3232
- let ce = Ue(ee, T), [le, ue] = e.useState(null);
4007
+ let ae = nt(k, T), [oe, se] = e.useState(null);
3233
4008
  e.useEffect(() => {
3234
4009
  C && E(!0);
3235
4010
  }, [C]), e.useLayoutEffect(() => {
3236
4011
  if (!C) return;
3237
4012
  let e = () => {
3238
- let e = te.current;
4013
+ let e = A.current;
3239
4014
  if (!e) return;
3240
4015
  let t = e.getBoundingClientRect();
3241
- ue({
4016
+ se({
3242
4017
  top: t.bottom + 4,
3243
4018
  left: t.left,
3244
4019
  width: t.width
@@ -3251,7 +4026,7 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3251
4026
  if (!C) return;
3252
4027
  let e = (e) => {
3253
4028
  let t = e.target;
3254
- ee.current?.contains(t) || ne.current?.contains(t) || w(!1);
4029
+ k.current?.contains(t) || j.current?.contains(t) || w(!1);
3255
4030
  };
3256
4031
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
3257
4032
  }, [C]), e.useEffect(() => {
@@ -3263,9 +4038,9 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3263
4038
  c,
3264
4039
  x
3265
4040
  ]);
3266
- let de = (e) => {
4041
+ let ce = (e) => {
3267
4042
  e.disabled || (l === void 0 && b(e.value), d?.(e.value), w(!1));
3268
- }, fe = (e) => {
4043
+ }, le = (e) => {
3269
4044
  O((t) => {
3270
4045
  let n = t;
3271
4046
  for (let t = 0; t < c.length; t += 1) if (n = (n + e + c.length) % c.length, !c[n]?.disabled) return n;
@@ -3274,7 +4049,7 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3274
4049
  };
3275
4050
  return /* @__PURE__ */ a("div", {
3276
4051
  className: [Y.field, m ?? ""].filter(Boolean).join(" "),
3277
- ref: ee,
4052
+ ref: k,
3278
4053
  children: [
3279
4054
  t && /* @__PURE__ */ i("label", {
3280
4055
  htmlFor: g,
@@ -3284,7 +4059,7 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3284
4059
  /* @__PURE__ */ a("div", {
3285
4060
  className: Y.anchor,
3286
4061
  children: [/* @__PURE__ */ a("div", {
3287
- ref: te,
4062
+ ref: A,
3288
4063
  id: g,
3289
4064
  role: "combobox",
3290
4065
  tabIndex: f ? -1 : 0,
@@ -3301,14 +4076,14 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3301
4076
  e.preventDefault(), w(!0);
3302
4077
  return;
3303
4078
  }
3304
- if (C) if (e.key === "ArrowDown") e.preventDefault(), fe(1);
3305
- else if (e.key === "ArrowUp") e.preventDefault(), fe(-1);
4079
+ if (C) if (e.key === "ArrowDown") e.preventDefault(), le(1);
4080
+ else if (e.key === "ArrowUp") e.preventDefault(), le(-1);
3306
4081
  else if (e.key === "Home") e.preventDefault(), O(0);
3307
4082
  else if (e.key === "End") e.preventDefault(), O(c.length - 1);
3308
4083
  else if (e.key === "Enter" || e.key === " ") {
3309
4084
  e.preventDefault();
3310
4085
  let t = c[D];
3311
- t && de(t);
4086
+ t && ce(t);
3312
4087
  } else e.key === "Escape" && (e.preventDefault(), w(!1));
3313
4088
  }
3314
4089
  },
@@ -3331,47 +4106,47 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3331
4106
  viewBox: "0 0 24 24",
3332
4107
  fill: "none",
3333
4108
  stroke: "currentColor",
3334
- strokeWidth: k(16),
4109
+ strokeWidth: M(16),
3335
4110
  strokeLinecap: "round",
3336
4111
  strokeLinejoin: "round",
3337
4112
  children: /* @__PURE__ */ i("path", { d: "m6 9 6 6 6-6" })
3338
4113
  })
3339
4114
  })]
3340
- }), T && le && me(/* @__PURE__ */ a("div", {
3341
- ref: ne,
4115
+ }), T && oe && Ee(/* @__PURE__ */ a("div", {
4116
+ ref: j,
3342
4117
  id: _,
3343
4118
  role: "listbox",
3344
4119
  className: [
3345
- ce,
4120
+ ae,
3346
4121
  Y.panel,
3347
4122
  C ? Y["panel--entering"] : Y["panel--exiting"]
3348
4123
  ].filter(Boolean).join(" "),
3349
4124
  style: {
3350
4125
  position: "fixed",
3351
- top: le.top,
3352
- left: le.left,
3353
- width: le.width
4126
+ top: oe.top,
4127
+ left: oe.left,
4128
+ width: oe.width
3354
4129
  },
3355
4130
  onAnimationEnd: () => {
3356
4131
  C || E(!1);
3357
4132
  },
3358
- children: [ie && /* @__PURE__ */ i("span", {
4133
+ children: [te && /* @__PURE__ */ i("span", {
3359
4134
  "aria-hidden": "true",
3360
- className: [Y.optionHighlight, oe ? Y["optionHighlight--animated"] : ""].filter(Boolean).join(" "),
4135
+ className: [Y.optionHighlight, re ? Y["optionHighlight--animated"] : ""].filter(Boolean).join(" "),
3361
4136
  style: {
3362
- transform: `translateY(${ie.top}px)`,
3363
- height: ie.height
4137
+ transform: `translateY(${te.top}px)`,
4138
+ height: te.height
3364
4139
  }
3365
4140
  }), c.map((e, t) => /* @__PURE__ */ a("div", {
3366
4141
  ref: (e) => {
3367
- re.current[t] = e;
4142
+ ee.current[t] = e;
3368
4143
  },
3369
4144
  id: `${_}-opt-${t}`,
3370
4145
  role: "option",
3371
4146
  "aria-selected": e.value === x,
3372
4147
  "aria-disabled": e.disabled || void 0,
3373
4148
  onMouseEnter: () => !e.disabled && O(t),
3374
- onClick: () => de(e),
4149
+ onClick: () => ce(e),
3375
4150
  className: [
3376
4151
  Y.option,
3377
4152
  e.value === x ? Y["option--selected"] : "",
@@ -3404,27 +4179,27 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3404
4179
  })
3405
4180
  ]
3406
4181
  });
3407
- }, An = {
3408
- sidebar: "_sidebar_m27tb_4",
3409
- "sidebar--collapsed": "_sidebar--collapsed_m27tb_21"
3410
- }, jn = ({ collapsed: e = !1, children: t, className: n }) => {
3411
- let r = en();
4182
+ }, Sr = {
4183
+ sidebar: "_sidebar_alxv4_4",
4184
+ "sidebar--collapsed": "_sidebar--collapsed_alxv4_23"
4185
+ }, Cr = ({ collapsed: e = !1, children: t, className: n }) => {
4186
+ let r = Pn();
3412
4187
  return /* @__PURE__ */ a("nav", {
3413
4188
  ref: r.ref,
3414
4189
  ...r.groupProps,
3415
4190
  className: [
3416
- An.sidebar,
3417
- e ? An["sidebar--collapsed"] : "",
4191
+ Sr.sidebar,
4192
+ e ? Sr["sidebar--collapsed"] : "",
3418
4193
  n ?? ""
3419
4194
  ].filter(Boolean).join(" "),
3420
4195
  "data-collapsed": e,
3421
4196
  children: [r.highlight, t]
3422
4197
  });
3423
- }, Mn = { divider: "_divider_1oof5_1" }, Nn = () => /* @__PURE__ */ i("div", {
3424
- className: Mn.divider,
4198
+ }, wr = { divider: "_divider_1oof5_1" }, Tr = () => /* @__PURE__ */ i("div", {
4199
+ className: wr.divider,
3425
4200
  role: "separator"
3426
- }), Pn = { groupLabel: "_groupLabel_62q1j_2" }, Fn = ({ children: e }) => /* @__PURE__ */ i("div", {
3427
- className: Pn.groupLabel,
4201
+ }), Er = { groupLabel: "_groupLabel_62q1j_2" }, Dr = ({ children: e }) => /* @__PURE__ */ i("div", {
4202
+ className: Er.groupLabel,
3428
4203
  children: e
3429
4204
  }), X = {
3430
4205
  header: "_header_6bhip_2",
@@ -3440,7 +4215,7 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3440
4215
  "header__text--collapsed": "_header__text--collapsed_6bhip_70",
3441
4216
  header__title: "_header__title_6bhip_74",
3442
4217
  header__toggle: "_header__toggle_6bhip_76"
3443
- }, In = ({ type: e = "brand", title: t, subtitle: n, logo: r, collapsed: o, onToggle: s, toggleIcon: c = E }) => /* @__PURE__ */ a("div", {
4218
+ }, Or = ({ type: e = "brand", title: t, subtitle: n, logo: r, collapsed: o, onToggle: s, toggleIcon: c = D }) => /* @__PURE__ */ a("div", {
3444
4219
  className: [
3445
4220
  X.header,
3446
4221
  e === "workspace" ? X["header--workspace"] : "",
@@ -3462,7 +4237,7 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3462
4237
  "aria-hidden": "true",
3463
4238
  children: /* @__PURE__ */ i(c, {
3464
4239
  size: 16,
3465
- strokeWidth: k(16)
4240
+ strokeWidth: M(16)
3466
4241
  })
3467
4242
  })]
3468
4243
  })
@@ -3489,7 +4264,7 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3489
4264
  "aria-hidden": "true",
3490
4265
  children: /* @__PURE__ */ i(m, {
3491
4266
  size: 16,
3492
- strokeWidth: k(16)
4267
+ strokeWidth: M(16)
3493
4268
  })
3494
4269
  }),
3495
4270
  !o && e === "brand-toggle" && /* @__PURE__ */ i("button", {
@@ -3499,24 +4274,24 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3499
4274
  "aria-label": "Collapse sidebar",
3500
4275
  children: /* @__PURE__ */ i(c, {
3501
4276
  size: 18,
3502
- strokeWidth: k(18)
4277
+ strokeWidth: M(18)
3503
4278
  })
3504
4279
  })
3505
4280
  ]
3506
4281
  }), Z = {
3507
- item: "_item_1xl3z_5",
3508
- "item--disabled": "_item--disabled_1xl3z_37",
3509
- "item--active": "_item--active_1xl3z_37",
3510
- "item--active-flat": "_item--active-flat_1xl3z_37",
3511
- item__icon: "_item__icon_1xl3z_38",
3512
- item__bar: "_item__bar_1xl3z_49",
3513
- item__chevron: "_item__chevron_1xl3z_77",
3514
- item__badge: "_item__badge_1xl3z_79",
3515
- "item--collapsed": "_item--collapsed_1xl3z_98",
3516
- item__label: "_item__label_1xl3z_137",
3517
- "item__label--collapsed": "_item__label--collapsed_1xl3z_146",
3518
- "item__chevron--expanded": "_item__chevron--expanded_1xl3z_169"
3519
- }, Ln = ({ icon: e, label: t, active: n, activeIndicator: o = !0, disabled: s, badge: c, hasSubmenu: l, collapsed: u, expanded: d, onClick: f, href: m, nativeTooltip: h = !0 }) => {
4282
+ item: "_item_1arxb_5",
4283
+ "item--disabled": "_item--disabled_1arxb_37",
4284
+ "item--active": "_item--active_1arxb_37",
4285
+ "item--active-flat": "_item--active-flat_1arxb_37",
4286
+ item__icon: "_item__icon_1arxb_38",
4287
+ item__bar: "_item__bar_1arxb_49",
4288
+ item__chevron: "_item__chevron_1arxb_82",
4289
+ item__badge: "_item__badge_1arxb_84",
4290
+ "item--collapsed": "_item--collapsed_1arxb_103",
4291
+ item__label: "_item__label_1arxb_142",
4292
+ "item__label--collapsed": "_item__label--collapsed_1arxb_151",
4293
+ "item__chevron--expanded": "_item__chevron--expanded_1arxb_174"
4294
+ }, kr = ({ icon: e, label: t, active: n, activeIndicator: o = !0, disabled: s, badge: c, hasSubmenu: l, collapsed: u, expanded: d, onClick: f, href: m, nativeTooltip: h = !0 }) => {
3520
4295
  let g = n && o, _ = n && !o, v = [
3521
4296
  Z.item,
3522
4297
  g ? Z["item--active"] : "",
@@ -3533,7 +4308,7 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3533
4308
  "aria-hidden": "true",
3534
4309
  children: /* @__PURE__ */ i(e, {
3535
4310
  size: 18,
3536
- strokeWidth: k(18)
4311
+ strokeWidth: M(18)
3537
4312
  })
3538
4313
  }),
3539
4314
  /* @__PURE__ */ i("span", {
@@ -3549,7 +4324,7 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3549
4324
  "aria-hidden": "true",
3550
4325
  children: /* @__PURE__ */ i(p, {
3551
4326
  size: 16,
3552
- strokeWidth: k(16)
4327
+ strokeWidth: M(16)
3553
4328
  })
3554
4329
  })
3555
4330
  ] }), b = {
@@ -3571,26 +4346,75 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3571
4346
  ...b,
3572
4347
  children: y
3573
4348
  });
3574
- }, Rn = {
4349
+ }, Ar = {
4350
+ promo: "_promo_1524z_4",
4351
+ promo__head: "_promo__head_1524z_20",
4352
+ promo__icon: "_promo__icon_1524z_21",
4353
+ promo__title: "_promo__title_1524z_22",
4354
+ promo__dismiss: "_promo__dismiss_1524z_23",
4355
+ promo__desc: "_promo__desc_1524z_30",
4356
+ promo__cta: "_promo__cta_1524z_33"
4357
+ }, jr = ({ type: e = "upgrade", title: t, description: n, ctaLabel: r, onCta: o, onDismiss: s, icon: c = te }) => /* @__PURE__ */ a("div", {
4358
+ className: [Ar.promo, Ar[`promo--${e}`]].join(" "),
4359
+ children: [
4360
+ /* @__PURE__ */ a("div", {
4361
+ className: Ar.promo__head,
4362
+ children: [
4363
+ /* @__PURE__ */ i("span", {
4364
+ className: Ar.promo__icon,
4365
+ "aria-hidden": "true",
4366
+ children: /* @__PURE__ */ i(c, {
4367
+ size: 16,
4368
+ strokeWidth: M(16)
4369
+ })
4370
+ }),
4371
+ /* @__PURE__ */ i("span", {
4372
+ className: Ar.promo__title,
4373
+ children: t
4374
+ }),
4375
+ s && /* @__PURE__ */ i("button", {
4376
+ type: "button",
4377
+ className: Ar.promo__dismiss,
4378
+ onClick: s,
4379
+ "aria-label": "Dismiss",
4380
+ children: /* @__PURE__ */ i(se, {
4381
+ size: 14,
4382
+ strokeWidth: M(14)
4383
+ })
4384
+ })
4385
+ ]
4386
+ }),
4387
+ n && /* @__PURE__ */ i("p", {
4388
+ className: Ar.promo__desc,
4389
+ children: n
4390
+ }),
4391
+ r && /* @__PURE__ */ i("button", {
4392
+ type: "button",
4393
+ className: Ar.promo__cta,
4394
+ onClick: o,
4395
+ children: r
4396
+ })
4397
+ ]
4398
+ }), Mr = {
3575
4399
  subItem: "_subItem_1sz05_2",
3576
4400
  "subItem--disabled": "_subItem--disabled_1sz05_26",
3577
4401
  "subItem--active": "_subItem--active_1sz05_27",
3578
4402
  subItem__dot: "_subItem__dot_1sz05_31",
3579
4403
  subItem__label: "_subItem__label_1sz05_41"
3580
- }, zn = ({ label: e, active: t, disabled: n, onClick: o, href: s }) => {
4404
+ }, Nr = ({ label: e, active: t, disabled: n, onClick: o, href: s }) => {
3581
4405
  let c = {
3582
4406
  className: [
3583
- Rn.subItem,
3584
- t ? Rn["subItem--active"] : "",
3585
- n ? Rn["subItem--disabled"] : ""
4407
+ Mr.subItem,
4408
+ t ? Mr["subItem--active"] : "",
4409
+ n ? Mr["subItem--disabled"] : ""
3586
4410
  ].filter(Boolean).join(" "),
3587
4411
  "data-hover-item": "",
3588
4412
  "aria-current": t ? "page" : void 0
3589
4413
  }, l = /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("span", {
3590
- className: Rn.subItem__dot,
4414
+ className: Mr.subItem__dot,
3591
4415
  "aria-hidden": "true"
3592
4416
  }), /* @__PURE__ */ i("span", {
3593
- className: Rn.subItem__label,
4417
+ className: Mr.subItem__label,
3594
4418
  children: e
3595
4419
  })] });
3596
4420
  return s && !n ? /* @__PURE__ */ i("a", {
@@ -3604,49 +4428,49 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3604
4428
  ...c,
3605
4429
  children: l
3606
4430
  });
3607
- }, Bn = {
4431
+ }, Pr = {
3608
4432
  skeleton: "_skeleton_94hr3_9",
3609
4433
  "skeleton-shimmer": "_skeleton-shimmer_94hr3_1",
3610
4434
  "skeleton--text": "_skeleton--text_94hr3_22",
3611
4435
  "skeleton--rect": "_skeleton--rect_94hr3_29",
3612
4436
  "skeleton--circle": "_skeleton--circle_94hr3_35"
3613
- }, Vn = ({ variant: e = "text", width: t, height: n, className: r }) => {
4437
+ }, Fr = ({ variant: e = "text", width: t, height: n, className: r }) => {
3614
4438
  let a = {};
3615
4439
  return t !== void 0 && (a.width = typeof t == "number" ? `${t}px` : t), n !== void 0 && (a.height = typeof n == "number" ? `${n}px` : n), /* @__PURE__ */ i("span", {
3616
4440
  "aria-hidden": "true",
3617
4441
  className: [
3618
- Bn.skeleton,
3619
- Bn[`skeleton--${e}`],
4442
+ Pr.skeleton,
4443
+ Pr[`skeleton--${e}`],
3620
4444
  r ?? ""
3621
4445
  ].filter(Boolean).join(" "),
3622
4446
  style: a
3623
4447
  });
3624
- }, Hn = {
4448
+ }, Ir = {
3625
4449
  field: "_field_u7te8_3",
3626
4450
  header: "_header_u7te8_4",
3627
4451
  label: "_label_u7te8_5",
3628
4452
  value: "_value_u7te8_6",
3629
4453
  slider: "_slider_u7te8_8",
3630
4454
  "sakani-slider-bounce": "_sakani-slider-bounce_u7te8_1"
3631
- }, Un = 1.2, Wn = 460, Gn = e.forwardRef(({ label: t, showValue: n, min: r = 0, max: o = 100, value: s, defaultValue: c, disabled: l, id: u, className: d, onChange: f, ...p }, m) => {
4455
+ }, Lr = 1.2, Rr = 460, zr = e.forwardRef(({ label: t, showValue: n, min: r = 0, max: o = 100, value: s, defaultValue: c, disabled: l, id: u, className: d, onChange: f, ...p }, m) => {
3632
4456
  let h = e.useId(), g = u ?? h, _ = Number(s ?? c ?? r), [v, y] = e.useState(_), b = s === void 0 ? v : Number(s), x = (b - r) / (o - r) * 100, S = e.useRef(null), C = (e) => {
3633
4457
  S.current = e, typeof m == "function" ? m(e) : m && (m.current = e);
3634
4458
  }, w = e.useRef(null), T = e.useRef(void 0);
3635
4459
  e.useEffect(() => () => window.clearTimeout(T.current), []);
3636
4460
  let E = (e) => {
3637
4461
  let t = S.current;
3638
- t && (t.removeAttribute("data-bounce"), t.offsetWidth, t.style.setProperty("--bounce-dir", String(e)), t.setAttribute("data-bounce", ""), window.clearTimeout(T.current), T.current = window.setTimeout(() => t.removeAttribute("data-bounce"), Wn));
4462
+ t && (t.removeAttribute("data-bounce"), t.offsetWidth, t.style.setProperty("--bounce-dir", String(e)), t.setAttribute("data-bounce", ""), window.clearTimeout(T.current), T.current = window.setTimeout(() => t.removeAttribute("data-bounce"), Rr));
3639
4463
  };
3640
4464
  return /* @__PURE__ */ a("div", {
3641
- className: [Hn.field, d ?? ""].filter(Boolean).join(" "),
4465
+ className: [Ir.field, d ?? ""].filter(Boolean).join(" "),
3642
4466
  children: [(t || n) && /* @__PURE__ */ a("div", {
3643
- className: Hn.header,
4467
+ className: Ir.header,
3644
4468
  children: [t && /* @__PURE__ */ i("label", {
3645
4469
  htmlFor: g,
3646
- className: Hn.label,
4470
+ className: Ir.label,
3647
4471
  children: t
3648
4472
  }), n && /* @__PURE__ */ i("span", {
3649
- className: Hn.value,
4473
+ className: Ir.value,
3650
4474
  children: b
3651
4475
  })]
3652
4476
  }), /* @__PURE__ */ i("input", {
@@ -3660,19 +4484,115 @@ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3660
4484
  disabled: l,
3661
4485
  onChange: (e) => {
3662
4486
  let t = Number(e.target.value), n = performance.now(), i = w.current;
3663
- i && (t === o || t === r) && i.v !== t && Math.abs(t - i.v) / (o - r) / Math.max((n - i.t) / 1e3, .001) >= Un && E(t === o ? 1 : -1), w.current = {
4487
+ i && (t === o || t === r) && i.v !== t && Math.abs(t - i.v) / (o - r) / Math.max((n - i.t) / 1e3, .001) >= Lr && E(t === o ? 1 : -1), w.current = {
3664
4488
  v: t,
3665
4489
  t: n
3666
4490
  }, s === void 0 && y(t), f?.(e);
3667
4491
  },
3668
- className: Hn.slider,
4492
+ className: Ir.slider,
3669
4493
  style: { "--pct": `${x}%` },
3670
4494
  ...p
3671
4495
  })]
3672
4496
  });
3673
4497
  });
3674
- Gn.displayName = "Slider";
3675
- var Q = {
4498
+ zr.displayName = "Slider";
4499
+ var Br = {
4500
+ card: "_card_1qi93_4",
4501
+ "card--featured": "_card--featured_1qi93_24",
4502
+ card__head: "_card__head_1qi93_26",
4503
+ card__icon: "_card__icon_1qi93_27",
4504
+ card__title: "_card__title_1qi93_41",
4505
+ card__menu: "_card__menu_1qi93_42",
4506
+ card__value: "_card__value_1qi93_50",
4507
+ card__meta: "_card__meta_1qi93_59",
4508
+ card__sparkline: "_card__sparkline_1qi93_66",
4509
+ "card--trend-up": "_card--trend-up_1qi93_68",
4510
+ "card--trend-down": "_card--trend-down_1qi93_69",
4511
+ card__description: "_card__description_1qi93_72"
4512
+ }, Vr = {
4513
+ up: ae,
4514
+ down: ie,
4515
+ flat: w
4516
+ }, Hr = {
4517
+ up: "success",
4518
+ down: "danger",
4519
+ flat: "neutral"
4520
+ }, Ur = ({ data: e }) => {
4521
+ if (e.length < 2) return null;
4522
+ let t = Math.min(...e), n = Math.max(...e) - t || 1;
4523
+ return /* @__PURE__ */ i("svg", {
4524
+ className: Wr,
4525
+ viewBox: "0 0 100 32",
4526
+ preserveAspectRatio: "none",
4527
+ "aria-hidden": "true",
4528
+ children: /* @__PURE__ */ i("polyline", {
4529
+ points: e.map((r, i) => `${i / (e.length - 1) * 100},${30 - (r - t) / n * 26}`).join(" "),
4530
+ fill: "none",
4531
+ strokeWidth: 2,
4532
+ vectorEffect: "non-scaling-stroke",
4533
+ strokeLinejoin: "round",
4534
+ strokeLinecap: "round"
4535
+ })
4536
+ });
4537
+ }, Wr = Br.card__sparkline, Gr = ({ title: e, value: t, description: n, sparkline: r, delta: o, trend: s = "up", badgeVariant: c, variant: l = "minimal", icon: u, showMenu: d, onMenu: f, className: p }) => {
4538
+ let m = Vr[s], h = (l === "icon" || l === "featured") && u;
4539
+ return /* @__PURE__ */ a("div", {
4540
+ className: [
4541
+ Br.card,
4542
+ Br[`card--${l}`],
4543
+ Br[`card--trend-${s}`],
4544
+ p ?? ""
4545
+ ].filter(Boolean).join(" "),
4546
+ children: [
4547
+ /* @__PURE__ */ a("div", {
4548
+ className: Br.card__head,
4549
+ children: [
4550
+ h && /* @__PURE__ */ i("span", {
4551
+ className: Br.card__icon,
4552
+ "aria-hidden": "true",
4553
+ children: /* @__PURE__ */ i(u, {
4554
+ size: 18,
4555
+ strokeWidth: M(18)
4556
+ })
4557
+ }),
4558
+ /* @__PURE__ */ i("span", {
4559
+ className: Br.card__title,
4560
+ children: e
4561
+ }),
4562
+ d && /* @__PURE__ */ i("button", {
4563
+ type: "button",
4564
+ className: Br.card__menu,
4565
+ onClick: f,
4566
+ "aria-label": "More options",
4567
+ children: /* @__PURE__ */ i(T, {
4568
+ size: 16,
4569
+ strokeWidth: M(16)
4570
+ })
4571
+ })
4572
+ ]
4573
+ }),
4574
+ /* @__PURE__ */ i("div", {
4575
+ className: Br.card__value,
4576
+ children: t
4577
+ }),
4578
+ r && /* @__PURE__ */ i(Ur, { data: r }),
4579
+ (o || n) && /* @__PURE__ */ a("div", {
4580
+ className: Br.card__meta,
4581
+ children: [o && /* @__PURE__ */ i(jt, {
4582
+ variant: c ?? Hr[s],
4583
+ leftIcon: /* @__PURE__ */ i(m, {
4584
+ size: 12,
4585
+ strokeWidth: 2
4586
+ }),
4587
+ children: o
4588
+ }), n && /* @__PURE__ */ i("p", {
4589
+ className: Br.card__description,
4590
+ children: n
4591
+ })]
4592
+ })
4593
+ ]
4594
+ });
4595
+ }, Q = {
3676
4596
  wrap: "_wrap_9nqt2_6",
3677
4597
  "wrap--bordered": "_wrap--bordered_9nqt2_20",
3678
4598
  table: "_table_9nqt2_25",
@@ -3700,18 +4620,18 @@ var Q = {
3700
4620
  "bodyRow--dropTarget": "_bodyRow--dropTarget_9nqt2_228",
3701
4621
  dragCell: "_dragCell_9nqt2_235",
3702
4622
  dragHandle: "_dragHandle_9nqt2_251"
3703
- }, Kn = 640;
3704
- function qn(t) {
4623
+ }, Kr = 640;
4624
+ function qr(t) {
3705
4625
  let [n, r] = e.useState(!1);
3706
4626
  return e.useEffect(() => {
3707
4627
  if (t !== "auto") return;
3708
- let e = window.matchMedia(`(max-width: ${Kn}px)`);
4628
+ let e = window.matchMedia(`(max-width: ${Kr}px)`);
3709
4629
  r(e.matches);
3710
4630
  let n = (e) => r(e.matches);
3711
4631
  return e.addEventListener("change", n), () => e.removeEventListener("change", n);
3712
4632
  }, [t]), t === "default" ? "default" : t === "stacked" || n ? "stacked" : "default";
3713
4633
  }
3714
- var Jn = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
4634
+ var Jr = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
3715
4635
  let s = e.useRef(null);
3716
4636
  return e.useEffect(() => {
3717
4637
  s.current && (s.current.indeterminate = !!n);
@@ -3742,18 +4662,18 @@ var Jn = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
3742
4662
  })]
3743
4663
  });
3744
4664
  };
3745
- function Yn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionChange: s, rowKey: c, reorderable: l, onReorder: u, bordered: d = !0, responsive: f = "auto", className: p }) {
3746
- let m = qn(f), h = o !== void 0, [g, _] = e.useState([]), v = h ? o : g, y = (e) => {
4665
+ function Yr({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionChange: s, rowKey: c, reorderable: l, onReorder: u, bordered: d = !0, responsive: f = "auto", className: p }) {
4666
+ let m = qr(f), h = o !== void 0, [g, _] = e.useState([]), v = h ? o : g, y = (e) => {
3747
4667
  h || _(e), s?.(e);
3748
- }, b = n.length > 0 && v.length === n.length, S = v.length > 0 && !b, [C, w] = e.useState(null), [T, E] = e.useState(null), D = en(), O = () => {
4668
+ }, b = n.length > 0 && v.length === n.length, S = v.length > 0 && !b, [C, w] = e.useState(null), [T, E] = e.useState(null), D = Pn(), O = () => {
3749
4669
  if (C === null || T === null || C === T) {
3750
4670
  w(null), E(null);
3751
4671
  return;
3752
4672
  }
3753
4673
  let e = [...n], [t] = e.splice(C, 1);
3754
4674
  e.splice(T, 0, t), u?.(e), w(null), E(null);
3755
- }, ee = () => y(b ? [] : n.map((e, t) => t)), te = (e) => y(v.includes(e) ? v.filter((t) => t !== e) : [...v, e]), ne = (e) => (t) => {
3756
- t.target.closest("a, button, input, select, textarea, label, [role=\"button\"], [draggable=\"true\"]") || window.getSelection()?.isCollapsed && te(e);
4675
+ }, k = () => y(b ? [] : n.map((e, t) => t)), A = (e) => y(v.includes(e) ? v.filter((t) => t !== e) : [...v, e]), j = (e) => (t) => {
4676
+ t.target.closest("a, button, input, select, textarea, label, [role=\"button\"], [draggable=\"true\"]") || window.getSelection()?.isCollapsed && A(e);
3757
4677
  };
3758
4678
  return m === "stacked" ? /* @__PURE__ */ i("div", {
3759
4679
  className: [Q.stackedList, p ?? ""].filter(Boolean).join(" "),
@@ -3762,7 +4682,7 @@ function Yn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3762
4682
  let o = v.includes(n);
3763
4683
  return /* @__PURE__ */ a("div", {
3764
4684
  role: "listitem",
3765
- onClick: r ? ne(n) : void 0,
4685
+ onClick: r ? j(n) : void 0,
3766
4686
  className: [
3767
4687
  Q.card,
3768
4688
  o ? Q["card--selected"] : "",
@@ -3770,9 +4690,9 @@ function Yn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3770
4690
  ].filter(Boolean).join(" "),
3771
4691
  children: [r && /* @__PURE__ */ i("div", {
3772
4692
  className: Q.card__selectRow,
3773
- children: /* @__PURE__ */ i(Jn, {
4693
+ children: /* @__PURE__ */ i(Jr, {
3774
4694
  checked: o,
3775
- onChange: () => te(n),
4695
+ onChange: () => A(n),
3776
4696
  label: `Select row ${n + 1}`
3777
4697
  })
3778
4698
  }), t.map((t) => /* @__PURE__ */ a("div", {
@@ -3806,10 +4726,10 @@ function Yn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3806
4726
  }),
3807
4727
  r && /* @__PURE__ */ i("th", {
3808
4728
  className: Q.checkCell,
3809
- children: /* @__PURE__ */ i(Jn, {
4729
+ children: /* @__PURE__ */ i(Jr, {
3810
4730
  checked: b,
3811
4731
  indeterminate: S,
3812
- onChange: ee,
4732
+ onChange: k,
3813
4733
  label: "Select all rows"
3814
4734
  })
3815
4735
  }),
@@ -3826,7 +4746,7 @@ function Yn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3826
4746
  let o = v.includes(n);
3827
4747
  return /* @__PURE__ */ a("tr", {
3828
4748
  "data-hover-item": "",
3829
- onClick: r ? ne(n) : void 0,
4749
+ onClick: r ? j(n) : void 0,
3830
4750
  onDragOver: l ? (e) => {
3831
4751
  e.preventDefault(), E(n);
3832
4752
  } : void 0,
@@ -3859,9 +4779,9 @@ function Yn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3859
4779
  }),
3860
4780
  r && /* @__PURE__ */ i("td", {
3861
4781
  className: Q.checkCell,
3862
- children: /* @__PURE__ */ i(Jn, {
4782
+ children: /* @__PURE__ */ i(Jr, {
3863
4783
  checked: o,
3864
- onChange: () => te(n),
4784
+ onChange: () => A(n),
3865
4785
  label: `Select row ${n + 1}`
3866
4786
  })
3867
4787
  }),
@@ -3876,7 +4796,7 @@ function Yn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3876
4796
  })]
3877
4797
  });
3878
4798
  }
3879
- var Xn = {
4799
+ var Xr = {
3880
4800
  tabs: "_tabs_1122j_3",
3881
4801
  "tabs--borderless": "_tabs--borderless_1122j_16",
3882
4802
  "tabs--fill": "_tabs--fill_1122j_21",
@@ -3885,7 +4805,7 @@ var Xn = {
3885
4805
  "tab--active": "_tab--active_1122j_63",
3886
4806
  indicator: "_indicator_1122j_74",
3887
4807
  "indicator--animated": "_indicator--animated_1122j_88"
3888
- }, Zn = ({ items: t, value: n, defaultValue: r, onChange: o, bordered: s = !0, fill: c = !1, className: l }) => {
4808
+ }, Zr = ({ items: t, value: n, defaultValue: r, onChange: o, bordered: s = !0, fill: c = !1, className: l }) => {
3889
4809
  let u = n !== void 0, [d, f] = e.useState(r ?? t[0]?.value), p = u ? n : d, m = (e) => {
3890
4810
  u || f(e), o?.(e);
3891
4811
  }, h = e.useRef(null), g = e.useRef({}), [_, v] = e.useState(null), [y, b] = e.useState(!1);
@@ -3906,9 +4826,9 @@ var Xn = {
3906
4826
  ref: h,
3907
4827
  role: "tablist",
3908
4828
  className: [
3909
- Xn.tabs,
3910
- s ? "" : Xn["tabs--borderless"],
3911
- c ? Xn["tabs--fill"] : "",
4829
+ Xr.tabs,
4830
+ s ? "" : Xr["tabs--borderless"],
4831
+ c ? Xr["tabs--fill"] : "",
3912
4832
  l ?? ""
3913
4833
  ].filter(Boolean).join(" "),
3914
4834
  children: [t.map((e) => {
@@ -3922,27 +4842,27 @@ var Xn = {
3922
4842
  "aria-selected": t,
3923
4843
  disabled: e.disabled,
3924
4844
  className: [
3925
- Xn.tab,
3926
- t ? Xn["tab--active"] : "",
3927
- e.disabled ? Xn["tab--disabled"] : ""
4845
+ Xr.tab,
4846
+ t ? Xr["tab--active"] : "",
4847
+ e.disabled ? Xr["tab--disabled"] : ""
3928
4848
  ].filter(Boolean).join(" "),
3929
4849
  onClick: () => m(e.value),
3930
4850
  children: [n && /* @__PURE__ */ i(n, {
3931
4851
  size: 16,
3932
- strokeWidth: k(16),
4852
+ strokeWidth: M(16),
3933
4853
  "aria-hidden": "true"
3934
4854
  }), e.label]
3935
4855
  }, e.value);
3936
4856
  }), _ && /* @__PURE__ */ i("span", {
3937
4857
  "aria-hidden": "true",
3938
- className: [Xn.indicator, y ? Xn["indicator--animated"] : ""].filter(Boolean).join(" "),
4858
+ className: [Xr.indicator, y ? Xr["indicator--animated"] : ""].filter(Boolean).join(" "),
3939
4859
  style: {
3940
4860
  transform: `translateX(${_.left}px)`,
3941
4861
  width: _.width
3942
4862
  }
3943
4863
  })]
3944
4864
  });
3945
- }, Qn = {
4865
+ }, Qr = {
3946
4866
  wrapper: "_wrapper_w6wtp_8",
3947
4867
  bubble: "_bubble_w6wtp_8",
3948
4868
  bubble__title: "_bubble__title_w6wtp_46",
@@ -3964,7 +4884,7 @@ var Xn = {
3964
4884
  "caret--center-left": "_caret--center-left_w6wtp_121",
3965
4885
  "bubble--center-right": "_bubble--center-right_w6wtp_131",
3966
4886
  "caret--center-right": "_caret--center-right_w6wtp_139"
3967
- }, $n = ({ title: t, subtitle: n, pointer: r = "top-center", children: o, className: s }) => {
4887
+ }, $r = ({ title: t, subtitle: n, pointer: r = "top-center", children: o, className: s }) => {
3968
4888
  let [c, l] = e.useState(!1);
3969
4889
  return e.useEffect(() => {
3970
4890
  let e = (e) => {
@@ -3972,24 +4892,24 @@ var Xn = {
3972
4892
  };
3973
4893
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
3974
4894
  }, []), /* @__PURE__ */ a("span", {
3975
- className: [Qn.wrapper, s ?? ""].filter(Boolean).join(" "),
4895
+ className: [Qr.wrapper, s ?? ""].filter(Boolean).join(" "),
3976
4896
  "data-dismissed": c || void 0,
3977
4897
  onMouseLeave: () => l(!1),
3978
4898
  onBlur: () => l(!1),
3979
4899
  children: [o, /* @__PURE__ */ a("span", {
3980
4900
  role: "tooltip",
3981
- className: [Qn.bubble, Qn[`bubble--${r}`]].join(" "),
4901
+ className: [Qr.bubble, Qr[`bubble--${r}`]].join(" "),
3982
4902
  children: [
3983
4903
  /* @__PURE__ */ i("span", {
3984
- className: Qn.bubble__title,
4904
+ className: Qr.bubble__title,
3985
4905
  children: t
3986
4906
  }),
3987
4907
  n && /* @__PURE__ */ i("span", {
3988
- className: Qn.bubble__subtitle,
4908
+ className: Qr.bubble__subtitle,
3989
4909
  children: n
3990
4910
  }),
3991
4911
  /* @__PURE__ */ i("span", {
3992
- className: [Qn.caret, Qn[`caret--${r}`]].join(" "),
4912
+ className: [Qr.caret, Qr[`caret--${r}`]].join(" "),
3993
4913
  "aria-hidden": "true"
3994
4914
  })
3995
4915
  ]
@@ -4018,8 +4938,8 @@ var Xn = {
4018
4938
  "bar__left--search": "_bar__left--search_yqi1k_84",
4019
4939
  bar__accountChevron: "_bar__accountChevron_yqi1k_98",
4020
4940
  "bar__accountChevron--open": "_bar__accountChevron--open_yqi1k_104"
4021
- }, er = ({ type: e = "search", density: t = "md", left: n, showToggle: s = !0, onToggle: c, toggleIcon: l = T, showActions: u = !0, showHelp: f = !0, hasUnread: p = !1, rightSlot: m, account: h, accountOpen: _ = !1, avatar: v, title: y, subtitle: b, actions: x, className: S }) => {
4022
- let C = en(), w = en(), E = t === "md" ? 20 : 18, D = k(E);
4941
+ }, ei = ({ type: e = "search", density: t = "md", left: n, showToggle: s = !0, onToggle: c, toggleIcon: l = E, showActions: u = !0, showHelp: f = !0, hasUnread: p = !1, rightSlot: m, account: h, accountOpen: _ = !1, avatar: v, title: y, subtitle: b, actions: x, className: S }) => {
4942
+ let C = Pn(), w = Pn(), T = t === "md" ? 20 : 18, D = M(T);
4023
4943
  return /* @__PURE__ */ i("header", {
4024
4944
  className: [
4025
4945
  $.bar,
@@ -4058,7 +4978,7 @@ var Xn = {
4058
4978
  onClick: c,
4059
4979
  "aria-label": "Toggle sidebar",
4060
4980
  children: /* @__PURE__ */ i(l, {
4061
- size: E,
4981
+ size: T,
4062
4982
  strokeWidth: D
4063
4983
  })
4064
4984
  }), /* @__PURE__ */ i("div", {
@@ -4084,7 +5004,7 @@ var Xn = {
4084
5004
  className: $.bar__icon,
4085
5005
  "aria-label": "Help",
4086
5006
  children: /* @__PURE__ */ i(g, {
4087
- size: E,
5007
+ size: T,
4088
5008
  strokeWidth: D
4089
5009
  })
4090
5010
  }),
@@ -4096,7 +5016,7 @@ var Xn = {
4096
5016
  children: /* @__PURE__ */ a("span", {
4097
5017
  className: $.bar__bell,
4098
5018
  children: [/* @__PURE__ */ i(o, {
4099
- size: E,
5019
+ size: T,
4100
5020
  strokeWidth: D
4101
5021
  }), p && /* @__PURE__ */ i("span", {
4102
5022
  className: $.bar__dot,
@@ -4110,7 +5030,7 @@ var Xn = {
4110
5030
  className: $.bar__account,
4111
5031
  children: [h, /* @__PURE__ */ i(d, {
4112
5032
  size: 16,
4113
- strokeWidth: k(16),
5033
+ strokeWidth: M(16),
4114
5034
  className: [$.bar__accountChevron, _ ? $["bar__accountChevron--open"] : ""].filter(Boolean).join(" ")
4115
5035
  })]
4116
5036
  })
@@ -4120,4 +5040,4 @@ var Xn = {
4120
5040
  });
4121
5041
  };
4122
5042
  //#endregion
4123
- export { qe as $, Wt as A, Tt as B, on as C, Yt as D, en as E, Nt as F, ht as G, St as H, Mt as I, it as J, st as K, jt as L, Bt as M, Rt as N, Jt as O, It as P, Ye as Q, At as R, cn as S, tn as T, bt as U, wt as V, _t as W, et as X, nt as Y, Qe as Z, xn as _, Gn as a, N as at, dn as b, Ln as c, we as ct, Nn as d, ge as dt, Ke as et, jn as f, he as ft, Sn as g, En as h, Yn as i, Ae as it, Ht as j, Gt as k, In as l, xe as lt, On as m, $n as n, Ve as nt, Vn as o, ke as ot, kn as p, k as pt, ot as q, Zn as r, ze as rt, zn as s, Ee as st, er as t, Ge as tt, Fn as u, be as ut, vn as v, rn as w, un as x, mn as y, Dt as z };
5043
+ export { zt as $, zn as A, vn as B, ir as C, Ne as Ct, Wn as D, qn as E, M as Et, On as F, ln as G, pn as H, Tn as I, nn as J, on as K, wn as L, Fn as M, Pn as N, Un as O, kn as P, qt as Q, Sn as R, cr as S, Pe as St, Xn as T, Oe as Tt, dn as U, gn as V, un as W, Qt as X, en as Y, Yt as Z, vr as _, Ue as _t, Gr as a, Tt as at, ur as b, ze as bt, Nr as c, xt as ct, Or as d, ht as dt, Rt as et, Dr as f, mt as ft, br as g, Qe as gt, xr as h, et as ht, Yr as i, kt as it, Ln as j, Vn as k, jr as l, vt as lt, Cr as m, ut as mt, $r as n, Nt as nt, zr as o, Ct as ot, Tr as p, dt as pt, rn as q, Zr as r, jt as rt, Fr as s, St as st, ei as t, It as tt, kr as u, gt as ut, mr as v, F as vt, er as w, ke as wt, dr as x, Le as xt, pr as y, He as yt, bn as z };