@sakaniui/react 0.3.25 → 0.3.27

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, CircleAlert as m, CircleHelp as h, Download as g, Eye as _, EyeOff as v, File as y, GripVertical as b, Heart as x, Inbox as S, Minus as C, PanelLeft as w, PanelLeftClose as T, Paperclip as E, Plus as D, Search as O, Send as ee, Smile as te, Star as k, StarHalf as ne, TrendingDown as re, TrendingUp as ie, TriangleAlert as ae, X as oe } from "lucide-react";
4
- import { PolarAngleAxis as se, RadialBar as ce, RadialBarChart as le, ResponsiveContainer as ue } from "recharts";
5
- import de, { createPortal as fe } 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, 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";
6
6
  //#region src/lib/iconStrokeWidth.ts
7
- var A = (e, t = 1.5) => 24 / e * t, pe = {
7
+ var k = (e, t = 1.5) => 24 / e * t, A = {
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 A = (e, t = 1.5) => 24 / e * t, pe = {
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
- }, me = ({ title: t, children: n, open: r, defaultOpen: o = !1, className: s }) => {
18
+ }, he = ({ 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: [pe.item, s ?? ""].filter(Boolean).join(" "),
21
+ className: [A.item, s ?? ""].filter(Boolean).join(" "),
22
22
  children: [/* @__PURE__ */ a("button", {
23
23
  type: "button",
24
- className: pe.item__header,
24
+ className: A.item__header,
25
25
  "aria-expanded": d,
26
26
  onClick: () => !c && u((e) => !e),
27
27
  children: [/* @__PURE__ */ i("span", {
28
- className: pe.item__title,
28
+ className: A.item__title,
29
29
  children: t
30
30
  }), /* @__PURE__ */ i("span", {
31
- className: [pe.item__chevron, d ? pe["item__chevron--open"] : ""].join(" "),
31
+ className: [A.item__chevron, d ? A["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: A(18),
37
+ strokeWidth: k(18),
38
38
  strokeLinecap: "round",
39
39
  strokeLinejoin: "round",
40
40
  width: 18,
@@ -43,20 +43,20 @@ var A = (e, t = 1.5) => 24 / e * t, pe = {
43
43
  })
44
44
  })]
45
45
  }), /* @__PURE__ */ i("div", {
46
- className: [pe.item__panelWrap, d ? pe["item__panelWrap--open"] : ""].join(" "),
46
+ className: [A.item__panelWrap, d ? A["item__panelWrap--open"] : ""].join(" "),
47
47
  children: /* @__PURE__ */ i("div", {
48
- className: pe.item__panel,
48
+ className: A.item__panel,
49
49
  children: /* @__PURE__ */ i("div", {
50
- className: pe.item__panelInner,
50
+ className: A.item__panelInner,
51
51
  children: n
52
52
  })
53
53
  })
54
54
  })]
55
55
  });
56
- }, he = ({ children: e, className: t }) => /* @__PURE__ */ i("div", {
57
- className: [pe.accordion, t ?? ""].filter(Boolean).join(" "),
56
+ }, ge = ({ children: e, className: t }) => /* @__PURE__ */ i("div", {
57
+ className: [A.accordion, t ?? ""].filter(Boolean).join(" "),
58
58
  children: e
59
- }), ge = {
59
+ }), _e = {
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 A = (e, t = 1.5) => 24 / e * t, pe = {
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
- }, _e = {
69
+ }, ve = {
70
70
  sm: 14,
71
71
  md: 18,
72
72
  lg: 22,
73
73
  xl: 26
74
- }, ve = ({ px: e }) => /* @__PURE__ */ a("svg", {
74
+ }, ye = ({ px: e }) => /* @__PURE__ */ a("svg", {
75
75
  viewBox: "0 0 24 24",
76
76
  fill: "none",
77
77
  stroke: "currentColor",
78
- strokeWidth: A(e),
78
+ strokeWidth: k(e),
79
79
  strokeLinecap: "round",
80
80
  strokeLinejoin: "round",
81
81
  "aria-hidden": "true",
@@ -84,18 +84,18 @@ var A = (e, t = 1.5) => 24 / e * t, pe = {
84
84
  cy: "7",
85
85
  r: "4"
86
86
  })]
87
- }), ye = ({ size: t = "md", src: n, alt: r = "", initials: a, icon: o, className: s }) => {
87
+ }), be = ({ size: t = "md", src: n, alt: r = "", initials: a, icon: o, className: s }) => {
88
88
  let c = [
89
- ge.avatar,
90
- ge[`avatar--${t}`],
89
+ _e.avatar,
90
+ _e[`avatar--${t}`],
91
91
  s ?? ""
92
92
  ].filter(Boolean).join(" ");
93
93
  if (n) return /* @__PURE__ */ i("span", {
94
- className: [c, ge["avatar--bordered"]].join(" "),
94
+ className: [c, _e["avatar--bordered"]].join(" "),
95
95
  children: /* @__PURE__ */ i("img", {
96
96
  src: n,
97
97
  alt: r,
98
- className: ge.avatar__image
98
+ className: _e.avatar__image
99
99
  })
100
100
  });
101
101
  if (a) return /* @__PURE__ */ i("span", {
@@ -103,20 +103,20 @@ var A = (e, t = 1.5) => 24 / e * t, pe = {
103
103
  role: "img",
104
104
  "aria-label": r || a,
105
105
  children: /* @__PURE__ */ i("span", {
106
- className: ge.avatar__initials,
106
+ className: _e.avatar__initials,
107
107
  children: a.slice(0, 2).toUpperCase()
108
108
  })
109
109
  });
110
- let l = _e[t], u = e.isValidElement(o) ? e.cloneElement(o, {
110
+ let l = ve[t], u = e.isValidElement(o) ? e.cloneElement(o, {
111
111
  size: l,
112
- strokeWidth: A(l)
113
- }) : o ?? /* @__PURE__ */ i(ve, { px: l });
112
+ strokeWidth: k(l)
113
+ }) : o ?? /* @__PURE__ */ i(ye, { 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: ge.avatar__icon,
119
+ className: _e.avatar__icon,
120
120
  children: u
121
121
  })
122
122
  });
@@ -135,13 +135,13 @@ var A = (e, t = 1.5) => 24 / e * t, pe = {
135
135
  actor: "_actor_1pvgl_88",
136
136
  highlight: "_highlight_1pvgl_89",
137
137
  timestamp: "_timestamp_1pvgl_92"
138
- }, be = ({ children: e }) => /* @__PURE__ */ i("span", {
138
+ }, xe = ({ children: e }) => /* @__PURE__ */ i("span", {
139
139
  className: j.highlight,
140
140
  children: e
141
- }), xe = 16, Se = (t) => e.isValidElement(t) ? e.cloneElement(t, {
142
- size: xe,
143
- strokeWidth: A(xe)
144
- }) : t, Ce = ({ items: e, variant: t = "default", className: n }) => {
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 }) => {
145
145
  let r = t === "compact";
146
146
  return /* @__PURE__ */ i("div", {
147
147
  className: [
@@ -155,7 +155,7 @@ var A = (e, t = 1.5) => 24 / e * t, pe = {
155
155
  className: j["row--compact"],
156
156
  children: [/* @__PURE__ */ a("div", {
157
157
  className: j.compactLeft,
158
- children: [/* @__PURE__ */ i(ye, {
158
+ children: [/* @__PURE__ */ i(be, {
159
159
  size: "sm",
160
160
  src: t.avatarSrc,
161
161
  alt: t.avatarAlt ?? t.actor
@@ -180,7 +180,7 @@ var A = (e, t = 1.5) => 24 / e * t, pe = {
180
180
  className: j.rail,
181
181
  children: [/* @__PURE__ */ i("div", {
182
182
  className: j.dot,
183
- children: Se(t.icon)
183
+ children: Ce(t.icon)
184
184
  }), !o && /* @__PURE__ */ i("div", { className: j.connector })]
185
185
  }), /* @__PURE__ */ a("div", {
186
186
  className: [j.content, o ? "" : j["content--spaced"]].filter(Boolean).join(" "),
@@ -202,18 +202,18 @@ var A = (e, t = 1.5) => 24 / e * t, pe = {
202
202
  }, s);
203
203
  })
204
204
  });
205
- }, we = {
205
+ }, Te = {
206
206
  link: "_link_1g7dc_3",
207
207
  link__external: "_link__external_1g7dc_34"
208
- }, Te = e.forwardRef(({ external: e, children: t, className: n, href: r, ...o }, s) => /* @__PURE__ */ a("a", {
208
+ }, Ee = 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: [we.link, n ?? ""].filter(Boolean).join(" "),
211
+ className: [Te.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: we.link__external,
216
+ className: Te.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 A = (e, t = 1.5) => 24 / e * t, pe = {
221
221
  viewBox: "0 0 24 24",
222
222
  fill: "none",
223
223
  stroke: "currentColor",
224
- strokeWidth: A(12),
224
+ strokeWidth: k(12),
225
225
  strokeLinecap: "round",
226
226
  strokeLinejoin: "round",
227
227
  "aria-hidden": "true",
@@ -238,8 +238,8 @@ var A = (e, t = 1.5) => 24 / e * t, pe = {
238
238
  })
239
239
  })]
240
240
  }));
241
- Te.displayName = "Link";
242
- var Ee = {
241
+ Ee.displayName = "Link";
242
+ var De = {
243
243
  button: "_button_l09ur_2",
244
244
  "button--sm": "_button--sm_l09ur_26",
245
245
  "button--md": "_button--md_l09ur_27",
@@ -249,44 +249,44 @@ var Ee = {
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
- }, De = {
252
+ }, Oe = {
253
253
  sm: 16,
254
254
  md: 18,
255
255
  lg: 20
256
- }, Oe = e.forwardRef(({ icon: e, variant: t = "primary", size: n = "md", disabled: r, className: a, ...o }, s) => /* @__PURE__ */ i("button", {
256
+ }, ke = 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
- Ee.button,
261
- Ee[`button--${t}`],
262
- Ee[`button--${n}`],
260
+ De.button,
261
+ De[`button--${t}`],
262
+ De[`button--${n}`],
263
263
  a ?? ""
264
264
  ].filter(Boolean).join(" "),
265
265
  ...o,
266
266
  children: /* @__PURE__ */ i(e, {
267
- size: De[n],
268
- strokeWidth: A(De[n]),
267
+ size: Oe[n],
268
+ strokeWidth: k(Oe[n]),
269
269
  "aria-hidden": "true"
270
270
  })
271
271
  }));
272
- Oe.displayName = "IconButton";
272
+ ke.displayName = "IconButton";
273
273
  var M = {
274
- button: "_button_1dc1s_21",
275
- "button--primary": "_button--primary_1dc1s_106",
276
- "button--secondary": "_button--secondary_1dc1s_133",
277
- "button--outline": "_button--outline_1dc1s_156",
278
- "button--ghost": "_button--ghost_1dc1s_178",
279
- "button--destructive": "_button--destructive_1dc1s_199",
280
- "button--sm": "_button--sm_1dc1s_223",
281
- "button--md": "_button--md_1dc1s_233",
282
- "button--lg": "_button--lg_1dc1s_243",
283
- "button--hasLeftIcon": "_button--hasLeftIcon_1dc1s_254",
284
- "button--hasRightIcon": "_button--hasRightIcon_1dc1s_255",
285
- button__icon: "_button__icon_1dc1s_267",
286
- button__label: "_button__label_1dc1s_274",
287
- "button--loading": "_button--loading_1dc1s_284",
288
- button__spinner: "_button__spinner_1dc1s_288",
289
- "sakani-btn-spin": "_sakani-btn-spin_1dc1s_1"
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
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) => {
291
291
  let f = s || o;
292
292
  return /* @__PURE__ */ a("button", {
@@ -348,7 +348,7 @@ var P = {
348
348
  hint: "_hint_3mj75_79",
349
349
  link: "_link_3mj75_88",
350
350
  input: "_input_3mj75_92"
351
- }, ke = ({ 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
+ }, 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 }) => {
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", {
@@ -370,7 +370,7 @@ var P = {
370
370
  children: [
371
371
  /* @__PURE__ */ a("div", {
372
372
  className: P.circleWrap,
373
- children: [/* @__PURE__ */ i(ye, {
373
+ children: [/* @__PURE__ */ i(be, {
374
374
  size: v ? "lg" : "xl",
375
375
  src: _,
376
376
  alt: n,
@@ -382,7 +382,7 @@ var P = {
382
382
  "aria-label": "Change photo",
383
383
  children: /* @__PURE__ */ i(c, {
384
384
  size: 16,
385
- strokeWidth: A(16)
385
+ strokeWidth: k(16)
386
386
  })
387
387
  })]
388
388
  }),
@@ -404,7 +404,7 @@ var P = {
404
404
  children: "Upload"
405
405
  })]
406
406
  }),
407
- !v && (y ? /* @__PURE__ */ i(Te, {
407
+ !v && (y ? /* @__PURE__ */ i(Ee, {
408
408
  href: "#",
409
409
  onClick: (e) => {
410
410
  e.preventDefault(), b();
@@ -432,7 +432,7 @@ var P = {
432
432
  };
433
433
  //#endregion
434
434
  //#region src/lib/useThemeTick.ts
435
- function Ae() {
435
+ function je() {
436
436
  let [e, r] = n(0);
437
437
  return t(() => {
438
438
  if (typeof document > "u") return;
@@ -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
- }, je = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", Me = 8, Ne = 6, Pe = 90, Fe = (e) => {
466
- let t = Math.min(e, Me);
467
- return Array.from({ length: t }, () => je[Math.floor(Math.random() * 36)]).join("");
468
- }, Ie = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, Le = ({ progress: e }) => {
469
- Ae();
470
- let t = Ie("--color-chart-1") ?? "#ff4700", n = Ie("--color-bg-subtle") ?? "#f5f4f2", r = [{ value: Math.max(0, Math.min(100, e)) }];
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)) }];
471
471
  return /* @__PURE__ */ i("div", {
472
472
  className: F.ringCard,
473
- children: /* @__PURE__ */ i(ue, {
473
+ children: /* @__PURE__ */ i(fe, {
474
474
  width: 64,
475
475
  height: 64,
476
- children: /* @__PURE__ */ a(le, {
476
+ children: /* @__PURE__ */ a(de, {
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(se, {
483
+ children: [/* @__PURE__ */ i(le, {
484
484
  type: "number",
485
485
  domain: [0, 100],
486
486
  tick: !1,
487
487
  axisLine: !1
488
- }), /* @__PURE__ */ i(ce, {
488
+ }), /* @__PURE__ */ i(ue, {
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
- }, Re = ({ 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" ? ie : re, y = () => {
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, _ = () => {
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,13 +504,13 @@ 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 >= Ne && (clearInterval(t), x(!1));
508
- }, Pe);
507
+ e += 1, C((e) => e + 1), e >= Pe && (clearInterval(t), x(!1));
508
+ }, Fe);
509
509
  return w.current = !0, () => clearInterval(t);
510
510
  }
511
511
  w.current = p;
512
512
  }, [p]);
513
- let T = e.useMemo(() => Fe(n.length), [n, S]), E = e.useMemo(() => r ? Fe(r.value.length) : "", [r?.value, S]), D = /* @__PURE__ */ a("div", {
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
514
  className: F.content,
515
515
  children: [
516
516
  /* @__PURE__ */ a("div", {
@@ -522,10 +522,10 @@ var F = {
522
522
  type: "button",
523
523
  className: F.hideToggle,
524
524
  "aria-label": p ? "Show balance" : "Hide balance",
525
- onClick: y,
526
- children: i(p ? v : _, {
525
+ onClick: _,
526
+ children: i(p ? y : v, {
527
527
  size: 16,
528
- strokeWidth: A(16)
528
+ strokeWidth: k(16)
529
529
  })
530
530
  })]
531
531
  }),
@@ -563,9 +563,9 @@ var F = {
563
563
  m ? F["balance--progress"] : "",
564
564
  l ?? ""
565
565
  ].filter(Boolean).join(" "),
566
- children: [m && /* @__PURE__ */ i(Le, { progress: o }), D]
566
+ children: [m && /* @__PURE__ */ i(Re, { progress: o }), D]
567
567
  });
568
- }, ze = {
568
+ }, Be = {
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
- }, Be = ({ value: e, size: t = "md", label: n = "Progress", className: r }) => {
576
+ }, Ve = ({ 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,42 +582,42 @@ var F = {
582
582
  "aria-valuemin": 0,
583
583
  "aria-valuemax": 100,
584
584
  className: [
585
- ze.progress,
586
- ze[`progress--${t}`],
585
+ Be.progress,
586
+ Be[`progress--${t}`],
587
587
  r ?? ""
588
588
  ].filter(Boolean).join(" "),
589
589
  children: /* @__PURE__ */ i("div", {
590
- className: [ze.progress__fill, a ? ze["progress__fill--indeterminate"] : ""].filter(Boolean).join(" "),
590
+ className: [Be.progress__fill, a ? Be["progress__fill--indeterminate"] : ""].filter(Boolean).join(" "),
591
591
  style: a ? void 0 : { width: `${o}%` }
592
592
  })
593
593
  });
594
- }, Ve = ["dark", "force-light"];
595
- function He(e, r) {
594
+ }, He = ["dark", "force-light"];
595
+ function Ue(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(Ve.map((e) => `.${e}`).join(", ")), i = n ? Ve.find((e) => n.classList.contains(e)) ?? "" : "";
601
+ let n = t.closest(He.map((e) => `.${e}`).join(", ")), i = n ? He.find((e) => n.classList.contains(e)) ?? "" : "";
602
602
  a(i);
603
603
  }, [e, r]), i;
604
604
  }
605
- var Ue = {
605
+ var We = {
606
606
  "divider--horizontal": "_divider--horizontal_nem37_4",
607
607
  "divider--labeled": "_divider--labeled_nem37_13",
608
608
  "divider--vertical": "_divider--vertical_nem37_27",
609
609
  divider__label: "_divider__label_nem37_38"
610
- }, We = ({ orientation: e = "horizontal", label: t, className: n }) => /* @__PURE__ */ i("div", {
610
+ }, Ge = ({ orientation: e = "horizontal", label: t, className: n }) => /* @__PURE__ */ i("div", {
611
611
  role: "separator",
612
612
  "aria-orientation": e,
613
613
  className: [
614
- Ue.divider,
615
- Ue[`divider--${e}`],
616
- t ? Ue["divider--labeled"] : "",
614
+ We.divider,
615
+ We[`divider--${e}`],
616
+ t ? We["divider--labeled"] : "",
617
617
  n ?? ""
618
618
  ].filter(Boolean).join(" "),
619
619
  children: t && e === "horizontal" && /* @__PURE__ */ i("span", {
620
- className: Ue.divider__label,
620
+ className: We.divider__label,
621
621
  children: t
622
622
  })
623
623
  }), I = {
@@ -639,8 +639,8 @@ var Ue = {
639
639
  "sakani-modal-card-in": "_sakani-modal-card-in_123ke_1",
640
640
  "card--exiting": "_card--exiting_123ke_113",
641
641
  "sakani-modal-card-out": "_sakani-modal-card-out_123ke_1"
642
- }, Ge = ({ 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 = He(T, t), [D, O] = e.useState(!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
644
  return e.useEffect(() => {
645
645
  t && O(!0);
646
646
  }, [t]), e.useEffect(() => {
@@ -676,7 +676,7 @@ var Ue = {
676
676
  ref: T,
677
677
  style: { display: "none" },
678
678
  "aria-hidden": "true"
679
- }), D && fe(/* @__PURE__ */ i("div", {
679
+ }), D && me(/* @__PURE__ */ i("div", {
680
680
  className: [
681
681
  I.backdrop,
682
682
  E,
@@ -708,9 +708,9 @@ var Ue = {
708
708
  children: [S && /* @__PURE__ */ i("span", {
709
709
  className: I.iconWrap,
710
710
  "aria-hidden": "true",
711
- children: l ?? /* @__PURE__ */ i(ae, {
711
+ children: l ?? /* @__PURE__ */ i(se, {
712
712
  size: 24,
713
- strokeWidth: A(24),
713
+ strokeWidth: k(24),
714
714
  className: I.icon
715
715
  })
716
716
  }), /* @__PURE__ */ i("p", {
@@ -718,8 +718,8 @@ var Ue = {
718
718
  className: I.title,
719
719
  children: o
720
720
  })]
721
- }), /* @__PURE__ */ i(Oe, {
722
- icon: oe,
721
+ }), /* @__PURE__ */ i(ke, {
722
+ icon: ce,
723
723
  variant: "ghost",
724
724
  size: "lg",
725
725
  "aria-label": "Close",
@@ -731,7 +731,7 @@ var Ue = {
731
731
  children: s
732
732
  }),
733
733
  _,
734
- !y && /* @__PURE__ */ i(We, {}),
734
+ !y && /* @__PURE__ */ i(Ge, {}),
735
735
  /* @__PURE__ */ a("div", {
736
736
  className: [I.footer, b === "between" ? I["footer--between"] : ""].filter(Boolean).join(" "),
737
737
  children: [/* @__PURE__ */ i(N, {
@@ -763,10 +763,10 @@ var Ue = {
763
763
  cardTop: "_cardTop_88l3n_87",
764
764
  description: "_description_88l3n_94",
765
765
  actions: "_actions_88l3n_102"
766
- }, Ke = ({ icon: e, title: t, timestamp: n, read: r = !1, description: s, onDismiss: c, dismissLabel: l = "Dismiss", actionLabel: u, onAction: d, className: f }) => {
766
+ }, qe = ({ icon: e, title: t, timestamp: n, read: r = !1, description: s, onDismiss: c, dismissLabel: l = "Dismiss", actionLabel: u, onAction: d, className: f }) => {
767
767
  let p = s !== void 0, m = !r && !p, h = e ?? /* @__PURE__ */ i(o, {
768
768
  size: 24,
769
- strokeWidth: A(24)
769
+ strokeWidth: k(24)
770
770
  });
771
771
  return p ? /* @__PURE__ */ a("div", {
772
772
  className: [L.card, f ?? ""].filter(Boolean).join(" "),
@@ -788,8 +788,8 @@ var Ue = {
788
788
  children: s
789
789
  })]
790
790
  }),
791
- c && /* @__PURE__ */ i(Oe, {
792
- icon: oe,
791
+ c && /* @__PURE__ */ i(ke, {
792
+ icon: ce,
793
793
  variant: "ghost",
794
794
  size: "sm",
795
795
  "aria-label": "Close",
@@ -835,28 +835,28 @@ var Ue = {
835
835
  })
836
836
  ]
837
837
  });
838
- }, qe = {
838
+ }, Je = {
839
839
  stat: "_stat_krs8c_1",
840
840
  labelRow: "_labelRow_krs8c_10",
841
841
  label: "_label_krs8c_10",
842
842
  value: "_value_krs8c_27"
843
- }, Je = ({ label: e, value: t, progress: n, className: r }) => /* @__PURE__ */ a("div", {
844
- className: [qe.stat, r ?? ""].filter(Boolean).join(" "),
843
+ }, Ye = ({ label: e, value: t, progress: n, className: r }) => /* @__PURE__ */ a("div", {
844
+ className: [Je.stat, r ?? ""].filter(Boolean).join(" "),
845
845
  children: [/* @__PURE__ */ a("div", {
846
- className: qe.labelRow,
846
+ className: Je.labelRow,
847
847
  children: [/* @__PURE__ */ i("p", {
848
- className: qe.label,
848
+ className: Je.label,
849
849
  children: e
850
850
  }), /* @__PURE__ */ i("p", {
851
- className: qe.value,
851
+ className: Je.value,
852
852
  children: t
853
853
  })]
854
- }), /* @__PURE__ */ i(Be, {
854
+ }), /* @__PURE__ */ i(Ve, {
855
855
  value: n,
856
856
  size: "lg",
857
857
  label: e
858
858
  })]
859
- }), Ye = {
859
+ }), Xe = {
860
860
  balance: "_balance_5gcu5_1",
861
861
  label: "_label_5gcu5_10",
862
862
  amountRow: "_amountRow_5gcu5_19",
@@ -866,25 +866,25 @@ var Ue = {
866
866
  fill: "_fill_5gcu5_50",
867
867
  "fill--over": "_fill--over_5gcu5_57",
868
868
  footer: "_footer_5gcu5_61"
869
- }, Xe = (e) => e.toLocaleString("en-US", {
869
+ }, Ze = (e) => e.toLocaleString("en-US", {
870
870
  style: "currency",
871
871
  currency: "USD"
872
- }), Ze = ({ label: e = "Spent this month", spent: t, limit: n, formatAmount: r = Xe, className: o }) => {
872
+ }), Qe = ({ label: e = "Spent this month", spent: t, limit: n, formatAmount: r = Ze, className: o }) => {
873
873
  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
874
  return /* @__PURE__ */ a("div", {
875
- className: [Ye.balance, o ?? ""].filter(Boolean).join(" "),
875
+ className: [Xe.balance, o ?? ""].filter(Boolean).join(" "),
876
876
  children: [
877
877
  /* @__PURE__ */ i("p", {
878
- className: Ye.label,
878
+ className: Xe.label,
879
879
  children: e
880
880
  }),
881
881
  /* @__PURE__ */ a("div", {
882
- className: Ye.amountRow,
882
+ className: Xe.amountRow,
883
883
  children: [/* @__PURE__ */ i("p", {
884
- className: Ye.amount,
884
+ className: Xe.amount,
885
885
  children: r(t)
886
886
  }), /* @__PURE__ */ a("p", {
887
- className: Ye.limit,
887
+ className: Xe.limit,
888
888
  children: [
889
889
  "of ",
890
890
  r(n),
@@ -893,24 +893,24 @@ var Ue = {
893
893
  })]
894
894
  }),
895
895
  /* @__PURE__ */ i("div", {
896
- className: Ye.track,
896
+ className: Xe.track,
897
897
  role: "progressbar",
898
898
  "aria-label": e,
899
899
  "aria-valuenow": Math.round(c),
900
900
  "aria-valuemin": 0,
901
901
  "aria-valuemax": 100,
902
902
  children: /* @__PURE__ */ i("div", {
903
- className: [Ye.fill, s ? Ye["fill--over"] : ""].filter(Boolean).join(" "),
903
+ className: [Xe.fill, s ? Xe["fill--over"] : ""].filter(Boolean).join(" "),
904
904
  style: { width: `${c}%` }
905
905
  })
906
906
  }),
907
907
  /* @__PURE__ */ i("p", {
908
- className: Ye.footer,
908
+ className: Xe.footer,
909
909
  children: l
910
910
  })
911
911
  ]
912
912
  });
913
- }, Qe = {
913
+ }, $e = {
914
914
  badge: "_badge_a5a38_6",
915
915
  "badge--neutral-subtle": "_badge--neutral-subtle_a5a38_20",
916
916
  "badge--neutral-solid": "_badge--neutral-solid_a5a38_21",
@@ -926,24 +926,24 @@ var Ue = {
926
926
  "badge--info-solid": "_badge--info-solid_a5a38_41",
927
927
  badge__icon: "_badge__icon_a5a38_44",
928
928
  badge__label: "_badge__label_a5a38_45"
929
- }, $e = ({ variant: e = "neutral", emphasis: t = "subtle", leftIcon: n, rightIcon: r, children: o, className: s }) => /* @__PURE__ */ a("span", {
929
+ }, et = ({ variant: e = "neutral", emphasis: t = "subtle", leftIcon: n, rightIcon: r, children: o, className: s }) => /* @__PURE__ */ a("span", {
930
930
  className: [
931
- Qe.badge,
932
- Qe[`badge--${e}-${t}`],
931
+ $e.badge,
932
+ $e[`badge--${e}-${t}`],
933
933
  s ?? ""
934
934
  ].filter(Boolean).join(" "),
935
935
  children: [
936
936
  n && /* @__PURE__ */ i("span", {
937
- className: Qe.badge__icon,
937
+ className: $e.badge__icon,
938
938
  "aria-hidden": "true",
939
939
  children: n
940
940
  }),
941
941
  /* @__PURE__ */ i("span", {
942
- className: Qe.badge__label,
942
+ className: $e.badge__label,
943
943
  children: o
944
944
  }),
945
945
  r && /* @__PURE__ */ i("span", {
946
- className: Qe.badge__icon,
946
+ className: $e.badge__icon,
947
947
  "aria-hidden": "true",
948
948
  children: r
949
949
  })
@@ -967,7 +967,7 @@ var Ue = {
967
967
  "roll-out-down": "_roll-out-down_1w3rz_1",
968
968
  rollInDown: "_rollInDown_1w3rz_133",
969
969
  "roll-in-down": "_roll-in-down_1w3rz_1"
970
- }, et = ({ value: t }) => {
970
+ }, tt = ({ value: t }) => {
971
971
  let n = e.useRef(t), [r, o] = e.useState(null);
972
972
  return t !== n.current && (o({
973
973
  value: n.current,
@@ -988,7 +988,7 @@ var Ue = {
988
988
  children: t
989
989
  }, `in-${t}`)]
990
990
  });
991
- }, tt = ({ quantity: t, onQuantityChange: n, min: r = 1, max: o, label: s = "Quantity", className: c }) => {
991
+ }, nt = ({ quantity: t, onQuantityChange: n, min: r = 1, max: o, label: s = "Quantity", className: c }) => {
992
992
  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
993
  let t = e;
994
994
  return r !== void 0 && (t = Math.max(r, t)), o !== void 0 && (t = Math.min(o, t)), t;
@@ -1004,9 +1004,9 @@ var Ue = {
1004
1004
  disabled: !l,
1005
1005
  onClick: () => n?.(Math.max(r, t - 1)),
1006
1006
  "aria-label": "Decrease quantity",
1007
- children: /* @__PURE__ */ i(C, {
1007
+ children: /* @__PURE__ */ i(w, {
1008
1008
  size: 14,
1009
- strokeWidth: A(14)
1009
+ strokeWidth: k(14)
1010
1010
  })
1011
1011
  }),
1012
1012
  /* @__PURE__ */ i("span", {
@@ -1041,7 +1041,7 @@ var Ue = {
1041
1041
  }), /* @__PURE__ */ i("span", {
1042
1042
  className: [R.rollOverlay, f ? R.rollOverlayHidden : ""].filter(Boolean).join(" "),
1043
1043
  "aria-hidden": "true",
1044
- children: /* @__PURE__ */ i(et, { value: t })
1044
+ children: /* @__PURE__ */ i(tt, { value: t })
1045
1045
  })]
1046
1046
  }),
1047
1047
  /* @__PURE__ */ i("span", {
@@ -1054,9 +1054,9 @@ var Ue = {
1054
1054
  disabled: !u,
1055
1055
  onClick: () => n?.(o === void 0 ? t + 1 : Math.min(o, t + 1)),
1056
1056
  "aria-label": "Increase quantity",
1057
- children: /* @__PURE__ */ i(D, {
1057
+ children: /* @__PURE__ */ i(O, {
1058
1058
  size: 14,
1059
- strokeWidth: A(14)
1059
+ strokeWidth: k(14)
1060
1060
  })
1061
1061
  })
1062
1062
  ]
@@ -1072,10 +1072,10 @@ var Ue = {
1072
1072
  priceRow: "_priceRow_15jww_67",
1073
1073
  priceOriginal: "_priceOriginal_15jww_75",
1074
1074
  priceSale: "_priceSale_15jww_80"
1075
- }, nt = (e) => e.toLocaleString("en-US", {
1075
+ }, rt = (e) => e.toLocaleString("en-US", {
1076
1076
  style: "currency",
1077
1077
  currency: "USD"
1078
- }), rt = ({ 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 = nt, className: h }) => {
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 }) => {
1079
1079
  let g = s !== void 0;
1080
1080
  return /* @__PURE__ */ a("div", {
1081
1081
  className: [z.item, h ?? ""].filter(Boolean).join(" "),
@@ -1096,7 +1096,7 @@ var Ue = {
1096
1096
  className: z.variant,
1097
1097
  children: r
1098
1098
  }),
1099
- /* @__PURE__ */ i(tt, {
1099
+ /* @__PURE__ */ i(nt, {
1100
1100
  quantity: c,
1101
1101
  onQuantityChange: l,
1102
1102
  min: u,
@@ -1119,8 +1119,8 @@ var Ue = {
1119
1119
  }) : /* @__PURE__ */ i("p", {
1120
1120
  className: z.price,
1121
1121
  children: m(o)
1122
- }), /* @__PURE__ */ i(Oe, {
1123
- icon: C,
1122
+ }), /* @__PURE__ */ i(ke, {
1123
+ icon: w,
1124
1124
  variant: "outline",
1125
1125
  size: "sm",
1126
1126
  "aria-label": p,
@@ -1129,7 +1129,7 @@ var Ue = {
1129
1129
  })
1130
1130
  ]
1131
1131
  });
1132
- }, it = {
1132
+ }, at = {
1133
1133
  steps: "_steps_t53um_1",
1134
1134
  step: "_step_t53um_1",
1135
1135
  connector: "_connector_t53um_16",
@@ -1140,74 +1140,95 @@ var Ue = {
1140
1140
  label: "_label_t53um_49",
1141
1141
  labelActive: "_labelActive_t53um_56",
1142
1142
  labelUpcoming: "_labelUpcoming_t53um_59"
1143
- }, at = [
1143
+ }, ot = [
1144
1144
  "Cart",
1145
1145
  "Shipping",
1146
1146
  "Payment",
1147
1147
  "Confirmation"
1148
- ], ot = ({ steps: t = at, currentStep: n, className: r }) => /* @__PURE__ */ i("div", {
1149
- className: [it.steps, r ?? ""].filter(Boolean).join(" "),
1148
+ ], st = ({ steps: t = ot, currentStep: n, className: r }) => /* @__PURE__ */ i("div", {
1149
+ className: [at.steps, r ?? ""].filter(Boolean).join(" "),
1150
1150
  role: "list",
1151
1151
  children: t.map((r, o) => {
1152
1152
  let s = o < n ? "completed" : o === n ? "active" : "upcoming", c = o === t.length - 1;
1153
1153
  return /* @__PURE__ */ a(e.Fragment, { children: [/* @__PURE__ */ a("div", {
1154
- className: it.step,
1154
+ className: at.step,
1155
1155
  role: "listitem",
1156
1156
  "aria-current": s === "active" ? "step" : void 0,
1157
1157
  children: [/* @__PURE__ */ i("span", {
1158
1158
  className: [
1159
- it.circle,
1160
- s === "completed" ? it.circleCompleted : "",
1161
- s === "active" ? it.circleActive : "",
1162
- s === "upcoming" ? it.circleUpcoming : ""
1159
+ at.circle,
1160
+ s === "completed" ? at.circleCompleted : "",
1161
+ s === "active" ? at.circleActive : "",
1162
+ s === "upcoming" ? at.circleUpcoming : ""
1163
1163
  ].filter(Boolean).join(" "),
1164
1164
  "aria-hidden": "true",
1165
1165
  children: /* @__PURE__ */ i(l, {
1166
1166
  size: 14,
1167
- strokeWidth: A(14)
1167
+ strokeWidth: k(14)
1168
1168
  })
1169
1169
  }), /* @__PURE__ */ i("span", {
1170
1170
  className: [
1171
- it.label,
1172
- s === "active" ? it.labelActive : "",
1173
- s === "upcoming" ? it.labelUpcoming : ""
1171
+ at.label,
1172
+ s === "active" ? at.labelActive : "",
1173
+ s === "upcoming" ? at.labelUpcoming : ""
1174
1174
  ].filter(Boolean).join(" "),
1175
1175
  children: r
1176
1176
  })]
1177
1177
  }), !c && /* @__PURE__ */ i("span", {
1178
- className: it.connector,
1178
+ className: at.connector,
1179
1179
  "aria-hidden": "true"
1180
1180
  })] }, r);
1181
1181
  })
1182
- }), st = "#fafaf9", ct = "#141414", lt = (e, t, n) => {
1182
+ }), ct = "#fafaf9", lt = "#141414", ut = (e, t, n) => {
1183
1183
  let r = (e) => {
1184
1184
  let t = e / 255;
1185
1185
  return t <= .03928 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
1186
1186
  };
1187
1187
  return .2126 * r(e) + .7152 * r(t) + .0722 * r(n);
1188
- }, ut = (e, t) => {
1188
+ }, dt = (e, t) => {
1189
1189
  let n = Math.max(e, t), r = Math.min(e, t);
1190
1190
  return (n + .05) / (r + .05);
1191
- }, dt = null, ft = (e) => {
1192
- if (typeof document > "u") return st;
1193
- dt ??= document.createElement("canvas"), dt.width = 1, dt.height = 1;
1194
- let t = dt.getContext("2d", { willReadFrequently: !0 });
1195
- if (!t) return st;
1196
- t.clearRect(0, 0, 1, 1), t.fillStyle = e, t.fillRect(0, 0, 1, 1);
1197
- let [n, r, i] = t.getImageData(0, 0, 1, 1).data, a = lt(n, r, i), o = ut(a, lt(20, 20, 20));
1198
- return ut(a, lt(250, 250, 249)) >= o ? st : ct;
1199
- }, pt = {
1191
+ }, ft = (e) => {
1192
+ let t = e.trim().toLowerCase(), n = /^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.exec(t);
1193
+ if (n) {
1194
+ let e = n[1];
1195
+ return e.length <= 4 && (e = e.split("").map((e) => e + e).join("")), [
1196
+ 0,
1197
+ 2,
1198
+ 4
1199
+ ].map((t) => parseInt(e.slice(t, t + 2), 16));
1200
+ }
1201
+ let r = /^rgba?\(\s*(\d+(?:\.\d+)?)[\s,]+(\d+(?:\.\d+)?)[\s,]+(\d+(?:\.\d+)?)/.exec(t);
1202
+ return r ? [
1203
+ Number(r[1]),
1204
+ Number(r[2]),
1205
+ Number(r[3])
1206
+ ] : 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;
1217
+ n.clearRect(0, 0, 1, 1), n.fillStyle = e, n.fillRect(0, 0, 1, 1);
1218
+ let [r, i, a] = n.getImageData(0, 0, 1, 1).data;
1219
+ return pt(r, i, a);
1220
+ }, gt = {
1200
1221
  swatch: "_swatch_1i3c3_1",
1201
1222
  circle: "_circle_1i3c3_22",
1202
1223
  circleUnavailable: "_circleUnavailable_1i3c3_32",
1203
1224
  ring: "_ring_1i3c3_39",
1204
1225
  check: "_check_1i3c3_55",
1205
1226
  strike: "_strike_1i3c3_66"
1206
- }, mt = ({ color: t, label: n, selected: r = !1, available: o = !0, onSelect: s, className: c }) => {
1207
- let u = e.useMemo(() => ft(t), [t]);
1227
+ }, _t = ({ color: t, label: n, selected: r = !1, available: o = !0, onSelect: s, className: c }) => {
1228
+ let u = e.useMemo(() => ht(t), [t]);
1208
1229
  return /* @__PURE__ */ a("button", {
1209
1230
  type: "button",
1210
- className: [pt.swatch, c ?? ""].filter(Boolean).join(" "),
1231
+ className: [gt.swatch, c ?? ""].filter(Boolean).join(" "),
1211
1232
  style: { "--swatch-color": t },
1212
1233
  disabled: !o,
1213
1234
  "aria-pressed": o ? r : void 0,
@@ -1215,49 +1236,49 @@ var Ue = {
1215
1236
  onClick: s,
1216
1237
  children: [
1217
1238
  r && o && /* @__PURE__ */ i("span", {
1218
- className: pt.ring,
1239
+ className: gt.ring,
1219
1240
  "aria-hidden": "true"
1220
1241
  }),
1221
1242
  /* @__PURE__ */ i("span", {
1222
- className: [pt.circle, o ? "" : pt.circleUnavailable].filter(Boolean).join(" "),
1243
+ className: [gt.circle, o ? "" : gt.circleUnavailable].filter(Boolean).join(" "),
1223
1244
  "aria-hidden": "true"
1224
1245
  }),
1225
1246
  r && o && /* @__PURE__ */ i(l, {
1226
1247
  size: 14,
1227
- strokeWidth: A(14),
1228
- className: pt.check,
1248
+ strokeWidth: k(14),
1249
+ className: gt.check,
1229
1250
  style: { color: u },
1230
1251
  "aria-hidden": "true"
1231
1252
  }),
1232
1253
  !o && /* @__PURE__ */ i("span", {
1233
- className: pt.strike,
1254
+ className: gt.strike,
1234
1255
  style: { background: u },
1235
1256
  "aria-hidden": "true"
1236
1257
  })
1237
1258
  ]
1238
1259
  });
1239
- }, ht = {
1260
+ }, vt = {
1240
1261
  row: "_row_1r4ef_1",
1241
1262
  original: "_original_1r4ef_8",
1242
1263
  price: "_price_1r4ef_17",
1243
1264
  priceSale: "_priceSale_1r4ef_24"
1244
- }, gt = (e) => e.toLocaleString("en-US", {
1265
+ }, yt = (e) => e.toLocaleString("en-US", {
1245
1266
  style: "currency",
1246
1267
  currency: "USD"
1247
- }), _t = ({ price: e, compareAtPrice: t, showBadge: n = !1, formatPrice: r = gt, className: o }) => {
1268
+ }), bt = ({ price: e, compareAtPrice: t, showBadge: n = !1, formatPrice: r = yt, className: o }) => {
1248
1269
  let s = t !== void 0, c = s ? Math.ceil((1 - e / t) * 100) : 0;
1249
1270
  return /* @__PURE__ */ a("div", {
1250
- className: [ht.row, o ?? ""].filter(Boolean).join(" "),
1271
+ className: [vt.row, o ?? ""].filter(Boolean).join(" "),
1251
1272
  children: [
1252
1273
  s && /* @__PURE__ */ i("span", {
1253
- className: ht.original,
1274
+ className: vt.original,
1254
1275
  children: r(t)
1255
1276
  }),
1256
1277
  /* @__PURE__ */ i("span", {
1257
- className: [ht.price, s ? ht.priceSale : ""].filter(Boolean).join(" "),
1278
+ className: [vt.price, s ? vt.priceSale : ""].filter(Boolean).join(" "),
1258
1279
  children: r(e)
1259
1280
  }),
1260
- s && n && /* @__PURE__ */ a($e, {
1281
+ s && n && /* @__PURE__ */ a(et, {
1261
1282
  variant: "danger",
1262
1283
  emphasis: "solid",
1263
1284
  children: [
@@ -1268,26 +1289,26 @@ var Ue = {
1268
1289
  })
1269
1290
  ]
1270
1291
  });
1271
- }, vt = {
1292
+ }, xt = {
1272
1293
  button: "_button_1mp7q_1",
1273
1294
  icon: "_icon_1mp7q_24",
1274
1295
  iconSaved: "_iconSaved_1mp7q_27",
1275
1296
  bounce: "_bounce_1mp7q_40",
1276
1297
  "wishlist-bounce": "_wishlist-bounce_1mp7q_1"
1277
- }, yt = ({ saved: t = !1, onToggle: n, label: r = "item", className: a }) => {
1298
+ }, St = ({ saved: t = !1, onToggle: n, label: r = "item", className: a }) => {
1278
1299
  let [o, s] = e.useState(!1);
1279
1300
  return /* @__PURE__ */ i("button", {
1280
1301
  type: "button",
1281
- className: [vt.button, a ?? ""].filter(Boolean).join(" "),
1302
+ className: [xt.button, a ?? ""].filter(Boolean).join(" "),
1282
1303
  "aria-pressed": t,
1283
1304
  "aria-label": t ? `Remove ${r} from wishlist` : `Add ${r} to wishlist`,
1284
1305
  onClick: () => {
1285
1306
  t || s(!0), n?.(!t);
1286
1307
  },
1287
- children: /* @__PURE__ */ i(x, {
1308
+ children: /* @__PURE__ */ i(S, {
1288
1309
  size: 16,
1289
- strokeWidth: A(16),
1290
- className: [t ? vt.iconSaved : vt.icon, o ? vt.bounce : ""].filter(Boolean).join(" "),
1310
+ strokeWidth: k(16),
1311
+ className: [t ? xt.iconSaved : xt.icon, o ? xt.bounce : ""].filter(Boolean).join(" "),
1291
1312
  fill: t ? "currentColor" : "none",
1292
1313
  onAnimationEnd: () => s(!1)
1293
1314
  })
@@ -1312,10 +1333,10 @@ var Ue = {
1312
1333
  description: "_description_jlv97_118",
1313
1334
  swatches: "_swatches_jlv97_131",
1314
1335
  addButton: "_addButton_jlv97_136"
1315
- }, bt = (e) => e.toLocaleString("en-US", {
1336
+ }, Ct = (e) => e.toLocaleString("en-US", {
1316
1337
  style: "currency",
1317
1338
  currency: "USD"
1318
- }), xt = ({ 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: _ = bt, className: v }) => {
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 }) => {
1319
1340
  let y = s !== void 0, b = y ? Math.ceil((1 - o / s) * 100) : 0, x = c === void 0 ? 0 : Math.round(c);
1320
1341
  return /* @__PURE__ */ a("div", {
1321
1342
  className: [B.card, v ?? ""].filter(Boolean).join(" "),
@@ -1327,7 +1348,7 @@ var Ue = {
1327
1348
  alt: t ?? n,
1328
1349
  className: [B.image, f ? "" : B.imageDimmed].filter(Boolean).join(" ")
1329
1350
  }),
1330
- y && f && /* @__PURE__ */ a($e, {
1351
+ y && f && /* @__PURE__ */ a(et, {
1331
1352
  variant: "danger",
1332
1353
  emphasis: "solid",
1333
1354
  className: B.saleBadge,
@@ -1337,7 +1358,7 @@ var Ue = {
1337
1358
  "%"
1338
1359
  ]
1339
1360
  }),
1340
- f && /* @__PURE__ */ i(yt, {
1361
+ f && /* @__PURE__ */ i(St, {
1341
1362
  saved: p,
1342
1363
  label: n,
1343
1364
  className: B.wishlistBtn,
@@ -1355,9 +1376,9 @@ var Ue = {
1355
1376
  className: B.rating,
1356
1377
  role: "img",
1357
1378
  "aria-label": `Rated ${c} out of 5${l ? ` (${l} reviews)` : ""}`,
1358
- children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ i(k, {
1379
+ children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ i(re, {
1359
1380
  size: 16,
1360
- strokeWidth: A(16),
1381
+ strokeWidth: k(16),
1361
1382
  className: t < x ? B.starFilled : B.starEmpty,
1362
1383
  fill: t < x ? "currentColor" : "none"
1363
1384
  }, t))
@@ -1386,7 +1407,7 @@ var Ue = {
1386
1407
  className: B.swatches,
1387
1408
  role: "group",
1388
1409
  "aria-label": "Color",
1389
- children: u.map((e) => /* @__PURE__ */ i(mt, {
1410
+ children: u.map((e) => /* @__PURE__ */ i(_t, {
1390
1411
  ...e,
1391
1412
  onSelect: () => d?.(e.id ?? e.label)
1392
1413
  }, e.id ?? e.label))
@@ -1417,7 +1438,7 @@ var Ue = {
1417
1438
  thumbLeft: "_thumbLeft_1mrk8_70",
1418
1439
  thumbActive: "_thumbActive_1mrk8_75",
1419
1440
  thumbImage: "_thumbImage_1mrk8_79"
1420
- }, St = ({ images: t, thumbsPosition: n = "bottom", activeIndex: r, defaultActiveIndex: o = 0, onActiveIndexChange: s, className: c }) => {
1441
+ }, Tt = ({ images: t, thumbsPosition: n = "bottom", activeIndex: r, defaultActiveIndex: o = 0, onActiveIndexChange: s, className: c }) => {
1421
1442
  let l = r !== void 0, [u, d] = e.useState(o), f = l ? r : u, p = (e) => {
1422
1443
  l || d(e), s?.(e);
1423
1444
  }, m = t[f] ?? t[0], h = n === "left", g = /* @__PURE__ */ i("div", {
@@ -1468,18 +1489,18 @@ var Ue = {
1468
1489
  })
1469
1490
  ]
1470
1491
  });
1471
- }, Ct = {
1492
+ }, Et = {
1472
1493
  button: "_button_1vgn5_1",
1473
1494
  unselected: "_unselected_1vgn5_23",
1474
1495
  selected: "_selected_1vgn5_32",
1475
1496
  unavailable: "_unavailable_1vgn5_37",
1476
1497
  label: "_label_1vgn5_44",
1477
1498
  strike: "_strike_1vgn5_55"
1478
- }, wt = ({ size: e, selected: t = !1, available: n = !0, onSelect: r, className: o }) => /* @__PURE__ */ a("button", {
1499
+ }, Dt = ({ size: e, selected: t = !1, available: n = !0, onSelect: r, className: o }) => /* @__PURE__ */ a("button", {
1479
1500
  type: "button",
1480
1501
  className: [
1481
- Ct.button,
1482
- n ? t ? Ct.selected : Ct.unselected : Ct.unavailable,
1502
+ Et.button,
1503
+ n ? t ? Et.selected : Et.unselected : Et.unavailable,
1483
1504
  o ?? ""
1484
1505
  ].filter(Boolean).join(" "),
1485
1506
  disabled: !n,
@@ -1487,13 +1508,13 @@ var Ue = {
1487
1508
  "aria-label": n ? `Size ${e}` : `Size ${e} (out of stock)`,
1488
1509
  onClick: r,
1489
1510
  children: [/* @__PURE__ */ i("span", {
1490
- className: Ct.label,
1511
+ className: Et.label,
1491
1512
  children: e
1492
1513
  }), !n && /* @__PURE__ */ i("span", {
1493
- className: Ct.strike,
1514
+ className: Et.strike,
1494
1515
  "aria-hidden": "true"
1495
1516
  })]
1496
- }), Tt = {
1517
+ }), Ot = {
1497
1518
  row: "_row_1snsi_1",
1498
1519
  rowVertical: "_rowVertical_1snsi_8",
1499
1520
  stars: "_stars_1snsi_13",
@@ -1502,40 +1523,40 @@ var Ue = {
1502
1523
  label: "_label_1snsi_29",
1503
1524
  value: "_value_1snsi_38",
1504
1525
  count: "_count_1snsi_43"
1505
- }, Et = (e) => e.toLocaleString("en-US"), Dt = ({ rating: e, reviewCount: t, showLabel: n = !0, orientation: r = "horizontal", formatReviewCount: o = Et, className: s }) => {
1526
+ }, kt = (e) => e.toLocaleString("en-US"), At = ({ rating: e, reviewCount: t, showLabel: n = !0, orientation: r = "horizontal", formatReviewCount: o = kt, className: s }) => {
1506
1527
  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", {
1507
- className: Tt.stars,
1528
+ className: Ot.stars,
1508
1529
  role: "img",
1509
1530
  "aria-label": `${c} out of 5 stars`,
1510
1531
  children: [
1511
- Array.from({ length: u }, (e, t) => /* @__PURE__ */ i(k, {
1532
+ Array.from({ length: u }, (e, t) => /* @__PURE__ */ i(re, {
1512
1533
  size: 24,
1513
- strokeWidth: A(24),
1514
- className: Tt.starFull,
1534
+ strokeWidth: k(24),
1535
+ className: Ot.starFull,
1515
1536
  fill: "currentColor",
1516
1537
  "aria-hidden": "true"
1517
1538
  }, `full-${t}`)),
1518
- d && /* @__PURE__ */ i(ne, {
1539
+ d && /* @__PURE__ */ i(ie, {
1519
1540
  size: 24,
1520
- strokeWidth: A(24),
1521
- className: Tt.starFull,
1541
+ strokeWidth: k(24),
1542
+ className: Ot.starFull,
1522
1543
  fill: "currentColor",
1523
1544
  "aria-hidden": "true"
1524
1545
  }),
1525
- Array.from({ length: f }, (e, t) => /* @__PURE__ */ i(k, {
1546
+ Array.from({ length: f }, (e, t) => /* @__PURE__ */ i(re, {
1526
1547
  size: 24,
1527
- strokeWidth: A(24),
1528
- className: Tt.starEmpty,
1548
+ strokeWidth: k(24),
1549
+ className: Ot.starEmpty,
1529
1550
  "aria-hidden": "true"
1530
1551
  }, `empty-${t}`))
1531
1552
  ]
1532
1553
  }), m = n && /* @__PURE__ */ a("div", {
1533
- className: Tt.label,
1554
+ className: Ot.label,
1534
1555
  children: [/* @__PURE__ */ i("span", {
1535
- className: Tt.value,
1556
+ className: Ot.value,
1536
1557
  children: c.toFixed(1)
1537
1558
  }), t !== void 0 && /* @__PURE__ */ a("span", {
1538
- className: Tt.count,
1559
+ className: Ot.count,
1539
1560
  children: [
1540
1561
  "(",
1541
1562
  o(t),
@@ -1543,8 +1564,8 @@ var Ue = {
1543
1564
  ]
1544
1565
  })]
1545
1566
  }), h = [
1546
- Tt.row,
1547
- r === "vertical" ? Tt.rowVertical : "",
1567
+ Ot.row,
1568
+ r === "vertical" ? Ot.rowVertical : "",
1548
1569
  s ?? ""
1549
1570
  ].filter(Boolean).join(" ");
1550
1571
  return r === "horizontal-reverse" ? /* @__PURE__ */ a("div", {
@@ -1554,9 +1575,9 @@ var Ue = {
1554
1575
  className: h,
1555
1576
  children: [p, m]
1556
1577
  });
1557
- }, Ot = ({ quantity: e, lowStockThreshold: t = 5, label: n, className: r }) => {
1578
+ }, jt = ({ quantity: e, lowStockThreshold: t = 5, label: n, className: r }) => {
1558
1579
  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";
1559
- return /* @__PURE__ */ i($e, {
1580
+ return /* @__PURE__ */ i(et, {
1560
1581
  variant: s,
1561
1582
  emphasis: "subtle",
1562
1583
  className: r,
@@ -1577,7 +1598,7 @@ var Ue = {
1577
1598
  excerpt: "_excerpt_1w9hp_114",
1578
1599
  author: "_author_1w9hp_123",
1579
1600
  authorText: "_authorText_1w9hp_130"
1580
- }, kt = ({ image: e, imageAlt: t, category: n, readTime: r, title: o, excerpt: s, author: c, layout: l = "default", className: u }) => {
1601
+ }, Mt = ({ image: e, imageAlt: t, category: n, readTime: r, title: o, excerpt: s, author: c, layout: l = "default", className: u }) => {
1581
1602
  let d = l === "horizontal";
1582
1603
  return /* @__PURE__ */ a("div", {
1583
1604
  className: [
@@ -1601,7 +1622,7 @@ var Ue = {
1601
1622
  children: [
1602
1623
  /* @__PURE__ */ a("div", {
1603
1624
  className: H.metaRow,
1604
- children: [/* @__PURE__ */ i($e, {
1625
+ children: [/* @__PURE__ */ i(et, {
1605
1626
  variant: "accent",
1606
1627
  emphasis: "subtle",
1607
1628
  children: n
@@ -1620,7 +1641,7 @@ var Ue = {
1620
1641
  }),
1621
1642
  /* @__PURE__ */ a("div", {
1622
1643
  className: H.author,
1623
- children: [/* @__PURE__ */ i(ye, {
1644
+ children: [/* @__PURE__ */ i(be, {
1624
1645
  size: "sm",
1625
1646
  src: c.avatarSrc,
1626
1647
  alt: c.avatarAlt ?? c.name
@@ -1648,7 +1669,7 @@ var Ue = {
1648
1669
  footer: "_footer_8cf5b_86",
1649
1670
  author: "_author_8cf5b_94",
1650
1671
  authorText: "_authorText_8cf5b_101"
1651
- }, At = ({ image: e, imageAlt: t, badgeLabel: n = "Featured", title: r, excerpt: o, author: s, ctaLabel: c = "Read article", onCtaClick: l, orientation: u = "horizontal", className: d }) => {
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 }) => {
1652
1673
  let f = u === "vertical";
1653
1674
  return /* @__PURE__ */ a("div", {
1654
1675
  className: [
@@ -1663,7 +1684,7 @@ var Ue = {
1663
1684
  }), /* @__PURE__ */ a("div", {
1664
1685
  className: f ? U.bodyVertical : U.bodyHorizontal,
1665
1686
  children: [
1666
- /* @__PURE__ */ i($e, {
1687
+ /* @__PURE__ */ i(et, {
1667
1688
  variant: "accent",
1668
1689
  emphasis: "subtle",
1669
1690
  children: n
@@ -1680,7 +1701,7 @@ var Ue = {
1680
1701
  className: U.footer,
1681
1702
  children: [/* @__PURE__ */ a("div", {
1682
1703
  className: U.author,
1683
- children: [/* @__PURE__ */ i(ye, {
1704
+ children: [/* @__PURE__ */ i(be, {
1684
1705
  size: "md",
1685
1706
  src: s.avatarSrc,
1686
1707
  alt: s.avatarAlt ?? s.name,
@@ -1703,7 +1724,7 @@ var Ue = {
1703
1724
  ]
1704
1725
  })]
1705
1726
  });
1706
- }, jt = {
1727
+ }, Pt = {
1707
1728
  chip: "_chip_scl8l_1",
1708
1729
  "chip--sm": "_chip--sm_scl8l_11",
1709
1730
  "chip--md": "_chip--md_scl8l_17",
@@ -1712,26 +1733,26 @@ var Ue = {
1712
1733
  "chip--outline": "_chip--outline_scl8l_35",
1713
1734
  "chip--solid": "_chip--solid_scl8l_39",
1714
1735
  "chip--subtle": "_chip--subtle_scl8l_43"
1715
- }, Mt = {
1736
+ }, Ft = {
1716
1737
  sm: 16,
1717
1738
  md: 20,
1718
1739
  lg: 24
1719
- }, Nt = ({ icon: t, size: n = "md", variant: r = "light", className: a }) => {
1720
- let o = Mt[n], s = e.isValidElement(t) ? e.cloneElement(t, {
1740
+ }, It = ({ icon: t, size: n = "md", variant: r = "light", className: a }) => {
1741
+ let o = Ft[n], s = e.isValidElement(t) ? e.cloneElement(t, {
1721
1742
  size: o,
1722
- strokeWidth: A(o)
1743
+ strokeWidth: k(o)
1723
1744
  }) : t;
1724
1745
  return /* @__PURE__ */ i("div", {
1725
1746
  className: [
1726
- jt.chip,
1727
- jt[`chip--${n}`],
1728
- jt[`chip--${r}`],
1747
+ Pt.chip,
1748
+ Pt[`chip--${n}`],
1749
+ Pt[`chip--${r}`],
1729
1750
  a ?? ""
1730
1751
  ].filter(Boolean).join(" "),
1731
1752
  "aria-hidden": "true",
1732
1753
  children: s
1733
1754
  });
1734
- }, Pt = {
1755
+ }, Lt = {
1735
1756
  group: "_group_mvlh4_3",
1736
1757
  group__item: "_group__item_mvlh4_6",
1737
1758
  "group--sm": "_group--sm_mvlh4_9",
@@ -1742,42 +1763,42 @@ var Ue = {
1742
1763
  "overflow--md": "_overflow--md_mvlh4_26",
1743
1764
  "overflow--lg": "_overflow--lg_mvlh4_27",
1744
1765
  "overflow--xl": "_overflow--xl_mvlh4_28"
1745
- }, Ft = ({ size: e = "md", max: t = 4, avatars: n, className: r }) => {
1766
+ }, Rt = ({ size: e = "md", max: t = 4, avatars: n, className: r }) => {
1746
1767
  let o = n.slice(0, t), s = n.length - o.length;
1747
1768
  return /* @__PURE__ */ a("div", {
1748
1769
  className: [
1749
- Pt.group,
1750
- Pt[`group--${e}`],
1770
+ Lt.group,
1771
+ Lt[`group--${e}`],
1751
1772
  r ?? ""
1752
1773
  ].filter(Boolean).join(" "),
1753
1774
  children: [o.map((t, n) => /* @__PURE__ */ i("span", {
1754
- className: Pt.group__item,
1755
- children: /* @__PURE__ */ i(ye, {
1775
+ className: Lt.group__item,
1776
+ children: /* @__PURE__ */ i(be, {
1756
1777
  size: e,
1757
1778
  src: t.src,
1758
1779
  initials: t.initials,
1759
1780
  alt: t.alt
1760
1781
  })
1761
1782
  }, n)), s > 0 && /* @__PURE__ */ i("span", {
1762
- className: Pt.group__item,
1783
+ className: Lt.group__item,
1763
1784
  children: /* @__PURE__ */ a("span", {
1764
- className: [Pt.overflow, Pt[`overflow--${e}`]].join(" "),
1785
+ className: [Lt.overflow, Lt[`overflow--${e}`]].join(" "),
1765
1786
  children: ["+", s]
1766
1787
  })
1767
1788
  })]
1768
1789
  });
1769
- }, It = {
1790
+ }, zt = {
1770
1791
  root: "_root_165je_1",
1771
1792
  dot: "_dot_165je_13",
1772
1793
  dotActive: "_dotActive_165je_21",
1773
1794
  dotRemote: "_dotRemote_165je_25"
1774
- }, Lt = ({ location: e, status: t = "active", className: n }) => /* @__PURE__ */ a("span", {
1775
- className: [It.root, n ?? ""].filter(Boolean).join(" "),
1795
+ }, Bt = ({ location: e, status: t = "active", className: n }) => /* @__PURE__ */ a("span", {
1796
+ className: [zt.root, n ?? ""].filter(Boolean).join(" "),
1776
1797
  children: [/* @__PURE__ */ i("span", {
1777
- className: [It.dot, t === "active" ? It.dotActive : It.dotRemote].join(" "),
1798
+ className: [zt.dot, t === "active" ? zt.dotActive : zt.dotRemote].join(" "),
1778
1799
  "aria-hidden": "true"
1779
1800
  }), e]
1780
- }), Rt = {
1801
+ }), Vt = {
1781
1802
  root: "_root_15jaa_1",
1782
1803
  rootCard: "_rootCard_15jaa_9",
1783
1804
  rootRow: "_rootRow_15jaa_21",
@@ -1787,30 +1808,30 @@ var Ue = {
1787
1808
  description: "_description_15jaa_56",
1788
1809
  metaRow: "_metaRow_15jaa_65",
1789
1810
  applyBtn: "_applyBtn_15jaa_72"
1790
- }, zt = ({ title: e, description: t, department: n, employmentType: o, location: s, locationStatus: c = "remote", onApply: l, applyLabel: u = "Apply now", layout: d = "card", className: f }) => {
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 }) => {
1791
1812
  let p = d === "row", m = /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ a("div", {
1792
- className: Rt.titleGroup,
1813
+ className: Vt.titleGroup,
1793
1814
  children: [/* @__PURE__ */ i("p", {
1794
- className: Rt.title,
1815
+ className: Vt.title,
1795
1816
  children: e
1796
1817
  }), /* @__PURE__ */ i("p", {
1797
- className: Rt.description,
1818
+ className: Vt.description,
1798
1819
  children: t
1799
1820
  })]
1800
1821
  }), /* @__PURE__ */ a("div", {
1801
- className: Rt.metaRow,
1822
+ className: Vt.metaRow,
1802
1823
  children: [
1803
- /* @__PURE__ */ i($e, {
1824
+ /* @__PURE__ */ i(et, {
1804
1825
  variant: "accent",
1805
1826
  emphasis: "subtle",
1806
1827
  children: n
1807
1828
  }),
1808
- /* @__PURE__ */ i($e, {
1829
+ /* @__PURE__ */ i(et, {
1809
1830
  variant: "neutral",
1810
1831
  emphasis: "subtle",
1811
1832
  children: o
1812
1833
  }),
1813
- /* @__PURE__ */ i(Lt, {
1834
+ /* @__PURE__ */ i(Bt, {
1814
1835
  location: s,
1815
1836
  status: c
1816
1837
  })
@@ -1818,24 +1839,24 @@ var Ue = {
1818
1839
  })] });
1819
1840
  return p ? /* @__PURE__ */ a("div", {
1820
1841
  className: [
1821
- Rt.root,
1822
- Rt.rootRow,
1842
+ Vt.root,
1843
+ Vt.rootRow,
1823
1844
  f ?? ""
1824
1845
  ].filter(Boolean).join(" "),
1825
1846
  children: [/* @__PURE__ */ i("div", {
1826
- className: Rt.rowLeft,
1847
+ className: Vt.rowLeft,
1827
1848
  children: m
1828
1849
  }), /* @__PURE__ */ i(N, {
1829
1850
  variant: "secondary",
1830
1851
  size: "sm",
1831
- className: Rt.applyBtn,
1852
+ className: Vt.applyBtn,
1832
1853
  onClick: l,
1833
1854
  children: u
1834
1855
  })]
1835
1856
  }) : /* @__PURE__ */ a("div", {
1836
1857
  className: [
1837
- Rt.root,
1838
- Rt.rootCard,
1858
+ Vt.root,
1859
+ Vt.rootCard,
1839
1860
  f ?? ""
1840
1861
  ].filter(Boolean).join(" "),
1841
1862
  children: [m, /* @__PURE__ */ i(N, {
@@ -1845,30 +1866,30 @@ var Ue = {
1845
1866
  children: u
1846
1867
  })]
1847
1868
  });
1848
- }, Bt = {
1869
+ }, Ut = {
1849
1870
  root: "_root_3bf2n_1",
1850
1871
  rootCenter: "_rootCenter_3bf2n_9",
1851
1872
  rootLeft: "_rootLeft_3bf2n_14",
1852
1873
  title: "_title_3bf2n_19",
1853
1874
  subtitle: "_subtitle_3bf2n_28"
1854
- }, Vt = ({ eyebrow: e, title: t, subtitle: n, align: r = "center", titleAs: o = "h2", className: s }) => /* @__PURE__ */ a("div", {
1875
+ }, Wt = ({ eyebrow: e, title: t, subtitle: n, align: r = "center", titleAs: o = "h2", className: s }) => /* @__PURE__ */ a("div", {
1855
1876
  className: [
1856
- Bt.root,
1857
- r === "left" ? Bt.rootLeft : Bt.rootCenter,
1877
+ Ut.root,
1878
+ r === "left" ? Ut.rootLeft : Ut.rootCenter,
1858
1879
  s ?? ""
1859
1880
  ].filter(Boolean).join(" "),
1860
1881
  children: [
1861
- e && /* @__PURE__ */ i($e, {
1882
+ e && /* @__PURE__ */ i(et, {
1862
1883
  variant: "accent",
1863
1884
  emphasis: "subtle",
1864
1885
  children: e
1865
1886
  }),
1866
1887
  /* @__PURE__ */ i(o, {
1867
- className: Bt.title,
1888
+ className: Ut.title,
1868
1889
  children: t
1869
1890
  }),
1870
1891
  n && /* @__PURE__ */ i("p", {
1871
- className: Bt.subtitle,
1892
+ className: Ut.subtitle,
1872
1893
  children: n
1873
1894
  })
1874
1895
  ]
@@ -1885,7 +1906,7 @@ var Ue = {
1885
1906
  role: "_role_1ye9i_99",
1886
1907
  social: "_social_1ye9i_108",
1887
1908
  bio: "_bio_1ye9i_116"
1888
- }, Ht = ({ image: e, imageAlt: t, name: n, role: r, location: o, locationStatus: s = "active", bio: c, socialLinks: l = [], className: u }) => /* @__PURE__ */ a("div", {
1909
+ }, Gt = ({ image: e, imageAlt: t, name: n, role: r, location: o, locationStatus: s = "active", bio: c, socialLinks: l = [], className: u }) => /* @__PURE__ */ a("div", {
1889
1910
  className: [W.card, u ?? ""].filter(Boolean).join(" "),
1890
1911
  children: [/* @__PURE__ */ a("div", {
1891
1912
  className: W.imageWrap,
@@ -1895,7 +1916,7 @@ var Ue = {
1895
1916
  className: W.image
1896
1917
  }), /* @__PURE__ */ i("div", {
1897
1918
  className: W.locationBar,
1898
- children: /* @__PURE__ */ i(Lt, {
1919
+ children: /* @__PURE__ */ i(Bt, {
1899
1920
  location: o,
1900
1921
  status: s,
1901
1922
  className: W.locationDot
@@ -1920,7 +1941,7 @@ var Ue = {
1920
1941
  href: e.href,
1921
1942
  onClick: e.onClick,
1922
1943
  "aria-label": e.label,
1923
- children: /* @__PURE__ */ i(Nt, {
1944
+ children: /* @__PURE__ */ i(It, {
1924
1945
  icon: e.icon,
1925
1946
  size: "sm",
1926
1947
  variant: "subtle"
@@ -1932,7 +1953,7 @@ var Ue = {
1932
1953
  children: c
1933
1954
  })]
1934
1955
  })]
1935
- }), Ut = {
1956
+ }), Kt = {
1936
1957
  alert: "_alert_1hjs5_3",
1937
1958
  alert__icon: "_alert__icon_1hjs5_12",
1938
1959
  alert__content: "_alert__content_1hjs5_13",
@@ -1943,7 +1964,7 @@ var Ue = {
1943
1964
  "alert--warning": "_alert--warning_1hjs5_24",
1944
1965
  "alert--danger": "_alert--danger_1hjs5_27",
1945
1966
  "alert--neutral": "_alert--neutral_1hjs5_30"
1946
- }, Wt = {
1967
+ }, qt = {
1947
1968
  info: /* @__PURE__ */ a(r, { children: [
1948
1969
  /* @__PURE__ */ i("circle", {
1949
1970
  cx: "12",
@@ -2017,34 +2038,34 @@ var Ue = {
2017
2038
  y2: "8"
2018
2039
  })
2019
2040
  ] })
2020
- }, Gt = ({ color: e = "info", title: t, description: n, icon: r, className: o }) => /* @__PURE__ */ a("div", {
2041
+ }, Jt = ({ color: e = "info", title: t, description: n, icon: r, className: o }) => /* @__PURE__ */ a("div", {
2021
2042
  role: "alert",
2022
2043
  className: [
2023
- Ut.alert,
2024
- Ut[`alert--${e}`],
2044
+ Kt.alert,
2045
+ Kt[`alert--${e}`],
2025
2046
  o ?? ""
2026
2047
  ].filter(Boolean).join(" "),
2027
2048
  children: [/* @__PURE__ */ i("span", {
2028
- className: Ut.alert__icon,
2049
+ className: Kt.alert__icon,
2029
2050
  "aria-hidden": "true",
2030
2051
  children: /* @__PURE__ */ i("svg", {
2031
2052
  viewBox: "0 0 24 24",
2032
2053
  fill: "none",
2033
2054
  stroke: "currentColor",
2034
- strokeWidth: A(18),
2055
+ strokeWidth: k(18),
2035
2056
  strokeLinecap: "round",
2036
2057
  strokeLinejoin: "round",
2037
2058
  width: 18,
2038
2059
  height: 18,
2039
- children: r ?? Wt[e]
2060
+ children: r ?? qt[e]
2040
2061
  })
2041
2062
  }), /* @__PURE__ */ a("div", {
2042
- className: Ut.alert__content,
2063
+ className: Kt.alert__content,
2043
2064
  children: [t && /* @__PURE__ */ i("div", {
2044
- className: Ut.alert__title,
2065
+ className: Kt.alert__title,
2045
2066
  children: t
2046
2067
  }), n && /* @__PURE__ */ i("div", {
2047
- className: Ut.alert__description,
2068
+ className: Kt.alert__description,
2048
2069
  children: n
2049
2070
  })]
2050
2071
  })]
@@ -2065,7 +2086,7 @@ var Ue = {
2065
2086
  card__footer: "_card__footer_6iftf_47",
2066
2087
  card__meta: "_card__meta_6iftf_48",
2067
2088
  card__assignees: "_card__assignees_6iftf_49"
2068
- }, Kt = ({ 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 }) => {
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 }) => {
2069
2090
  let h = e !== "compact", g = d || f;
2070
2091
  return /* @__PURE__ */ a("div", {
2071
2092
  onClick: p,
@@ -2118,7 +2139,7 @@ var Ue = {
2118
2139
  })] })
2119
2140
  ]
2120
2141
  });
2121
- }, qt = {
2142
+ }, Xt = {
2122
2143
  breadcrumb: "_breadcrumb_tszff_3",
2123
2144
  list: "_list_tszff_5",
2124
2145
  item: "_item_tszff_15",
@@ -2127,12 +2148,12 @@ var Ue = {
2127
2148
  separator: "_separator_tszff_33",
2128
2149
  "list--button": "_list--button_tszff_38",
2129
2150
  chip: "_chip_tszff_41"
2130
- }, Jt = {
2151
+ }, Zt = {
2131
2152
  highlight: "_highlight_1u4m2_15",
2132
2153
  visible: "_visible_1u4m2_24",
2133
2154
  glide: "_glide_1u4m2_28"
2134
- }, Yt = (e) => e.getAttribute("data-hover-item") === "off" || e.getAttribute("aria-disabled") === "true" || e.disabled === !0;
2135
- function Xt(e, t) {
2155
+ }, Qt = (e) => e.getAttribute("data-hover-item") === "off" || e.getAttribute("aria-disabled") === "true" || e.disabled === !0;
2156
+ function $t(e, t) {
2136
2157
  let n = 0, r = 0, i = e;
2137
2158
  for (; i && i !== t;) {
2138
2159
  n += i.offsetLeft, r += i.offsetTop;
@@ -2151,7 +2172,7 @@ function Xt(e, t) {
2151
2172
  tone: a.getPropertyValue("--hover-tone").trim()
2152
2173
  };
2153
2174
  }
2154
- function Zt() {
2175
+ function en() {
2155
2176
  let t = e.useRef(null), [n, r] = e.useState(null), a = e.useCallback((e) => {
2156
2177
  t.current = e, r(e);
2157
2178
  }, []), 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(() => {
@@ -2160,7 +2181,7 @@ function Zt() {
2160
2181
  let n = t.current;
2161
2182
  if (!n) return;
2162
2183
  n !== u.current && (u.current = n, s.current = !1), o.current = e;
2163
- let r = Xt(e, n);
2184
+ let r = $t(e, n);
2164
2185
  if (s.current) {
2165
2186
  f(r);
2166
2187
  return;
@@ -2179,7 +2200,7 @@ function Zt() {
2179
2200
  if (!n) return;
2180
2201
  let r = e.target.closest("[data-hover-item]");
2181
2202
  if (!(!r || r.closest("[data-hover-group]") !== n)) {
2182
- if (Yt(r)) {
2203
+ if (Qt(r)) {
2183
2204
  _();
2184
2205
  return;
2185
2206
  }
@@ -2196,7 +2217,7 @@ function Zt() {
2196
2217
  _();
2197
2218
  return;
2198
2219
  }
2199
- f(Xt(t, e));
2220
+ f($t(t, e));
2200
2221
  }
2201
2222
  }, r = new ResizeObserver(t);
2202
2223
  return r.observe(e), e.addEventListener("scroll", t, !0), () => {
@@ -2207,9 +2228,9 @@ function Zt() {
2207
2228
  ref: c,
2208
2229
  "aria-hidden": "true",
2209
2230
  className: [
2210
- Jt.highlight,
2211
- p ? Jt.visible : "",
2212
- h ? Jt.glide : ""
2231
+ Zt.highlight,
2232
+ p ? Zt.visible : "",
2233
+ h ? Zt.glide : ""
2213
2234
  ].filter(Boolean).join(" "),
2214
2235
  style: d ? {
2215
2236
  transform: `translate(${d.x}px, ${d.y}px)`,
@@ -2219,7 +2240,7 @@ function Zt() {
2219
2240
  background: d.tone || void 0
2220
2241
  } : void 0
2221
2242
  }), x = e.useCallback((e) => {
2222
- e && !Yt(e) ? v(e) : _();
2243
+ e && !Qt(e) ? v(e) : _();
2223
2244
  }, [_, v]);
2224
2245
  return {
2225
2246
  ref: a,
@@ -2232,8 +2253,8 @@ function Zt() {
2232
2253
  showItem: x
2233
2254
  };
2234
2255
  }
2235
- var Qt = ({ children: e, style: t, ...n }) => {
2236
- let { ref: r, groupProps: i, highlight: o } = Zt();
2256
+ var tn = ({ children: e, style: t, ...n }) => {
2257
+ let { ref: r, groupProps: i, highlight: o } = en();
2237
2258
  return /* @__PURE__ */ a("div", {
2238
2259
  ref: r,
2239
2260
  ...n,
@@ -2244,37 +2265,37 @@ var Qt = ({ children: e, style: t, ...n }) => {
2244
2265
  },
2245
2266
  children: [o, e]
2246
2267
  });
2247
- }, $t = ({ size: e }) => /* @__PURE__ */ i("span", {
2248
- className: qt.separator,
2268
+ }, nn = ({ size: e }) => /* @__PURE__ */ i("span", {
2269
+ className: Xt.separator,
2249
2270
  "aria-hidden": "true",
2250
2271
  children: /* @__PURE__ */ i("svg", {
2251
2272
  viewBox: "0 0 24 24",
2252
2273
  fill: "none",
2253
2274
  stroke: "currentColor",
2254
- strokeWidth: A(e),
2275
+ strokeWidth: k(e),
2255
2276
  strokeLinecap: "round",
2256
2277
  strokeLinejoin: "round",
2257
2278
  width: e,
2258
2279
  height: e,
2259
2280
  children: /* @__PURE__ */ i("path", { d: "m9 18 6-6-6-6" })
2260
2281
  })
2261
- }), en = ({ items: e, variant: t = "text", className: n }) => {
2262
- let r = t === "button", o = Zt();
2282
+ }), rn = ({ items: e, variant: t = "text", className: n }) => {
2283
+ let r = t === "button", o = en();
2263
2284
  return /* @__PURE__ */ i("nav", {
2264
2285
  "aria-label": "Breadcrumb",
2265
- className: [qt.breadcrumb, n ?? ""].filter(Boolean).join(" "),
2286
+ className: [Xt.breadcrumb, n ?? ""].filter(Boolean).join(" "),
2266
2287
  children: /* @__PURE__ */ a("ol", {
2267
2288
  ref: o.ref,
2268
2289
  ...r ? o.groupProps : {},
2269
- className: [qt.list, r ? qt["list--button"] : ""].filter(Boolean).join(" "),
2290
+ className: [Xt.list, r ? Xt["list--button"] : ""].filter(Boolean).join(" "),
2270
2291
  children: [r && /* @__PURE__ */ i("li", {
2271
2292
  "aria-hidden": "true",
2272
2293
  style: { display: "contents" },
2273
2294
  children: o.highlight
2274
2295
  }), e.map((t, n) => {
2275
- let o = n === e.length - 1, s = r ? qt.chip : o ? qt.current : qt.crumb;
2296
+ let o = n === e.length - 1, s = r ? Xt.chip : o ? Xt.current : Xt.crumb;
2276
2297
  return /* @__PURE__ */ a("li", {
2277
- className: qt.item,
2298
+ className: Xt.item,
2278
2299
  children: [o || !t.href ? /* @__PURE__ */ i("span", {
2279
2300
  className: s,
2280
2301
  "data-hover-item": r ? "off" : void 0,
@@ -2285,26 +2306,26 @@ var Qt = ({ children: e, style: t, ...n }) => {
2285
2306
  "data-hover-item": "",
2286
2307
  className: s,
2287
2308
  children: t.label
2288
- }), !o && /* @__PURE__ */ i($t, { size: r ? 14 : 16 })]
2309
+ }), !o && /* @__PURE__ */ i(nn, { size: r ? 14 : 16 })]
2289
2310
  }, n);
2290
2311
  })]
2291
2312
  })
2292
2313
  });
2293
- }, tn = {
2314
+ }, an = {
2294
2315
  meta: "_meta_g1mpv_2",
2295
2316
  meta__icon: "_meta__icon_g1mpv_3",
2296
2317
  meta__label: "_meta__label_g1mpv_4"
2297
- }, nn = ({ icon: e, children: t, className: n }) => /* @__PURE__ */ a("span", {
2298
- className: [tn.meta, n ?? ""].filter(Boolean).join(" "),
2318
+ }, on = ({ icon: e, children: t, className: n }) => /* @__PURE__ */ a("span", {
2319
+ className: [an.meta, n ?? ""].filter(Boolean).join(" "),
2299
2320
  children: [/* @__PURE__ */ i("span", {
2300
- className: tn.meta__icon,
2321
+ className: an.meta__icon,
2301
2322
  "aria-hidden": "true",
2302
2323
  children: e
2303
2324
  }), /* @__PURE__ */ i("span", {
2304
- className: tn.meta__label,
2325
+ className: an.meta__label,
2305
2326
  children: t
2306
2327
  })]
2307
- }), rn = {
2328
+ }), sn = {
2308
2329
  composer: "_composer_1yt54_2",
2309
2330
  "composer--typing": "_composer--typing_1yt54_15",
2310
2331
  input: "_input_1yt54_22",
@@ -2318,13 +2339,13 @@ var Qt = ({ children: e, style: t, ...n }) => {
2318
2339
  row: "_row_1yt54_36",
2319
2340
  icon: "_icon_1yt54_37",
2320
2341
  send: "_send_1yt54_52"
2321
- }, an = ({ state: t = "default", value: n, placeholder: r = "Message...", onChange: o, onSend: s, onAttachmentsChange: c, uploadName: l, uploadProgress: u = 0, onCancelUpload: d, className: f }) => {
2322
- let p = t === "disabled", [m, h] = e.useState(""), [g, _] = e.useState(!1), [v, b] = e.useState({
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 }) => {
2343
+ let p = t === "disabled", [m, h] = e.useState(""), [g, _] = e.useState(!1), [v, y] = e.useState({
2323
2344
  top: 0,
2324
2345
  right: 0
2325
- }), [x, S] = e.useState([]), C = e.useRef(null), w = e.useRef(null), T = e.useRef(null), D = e.useRef(null), O = n === void 0 ? m : n, k = !p && (O.trim().length > 0 || t === "typing" || x.length > 0), ne = () => {
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 = () => {
2326
2347
  w.current?.click();
2327
- }, re = (e) => {
2348
+ }, ie = (e) => {
2328
2349
  let t = e.target.files;
2329
2350
  t && (Array.from(t).forEach((e) => {
2330
2351
  if (e.type.startsWith("image/") || e.type.startsWith("video/")) {
@@ -2339,12 +2360,12 @@ var Qt = ({ children: e, style: t, ...n }) => {
2339
2360
  }, t.readAsDataURL(e);
2340
2361
  }
2341
2362
  }), e.target.value = "");
2342
- }, ie = (e) => {
2363
+ }, ae = (e) => {
2343
2364
  S((t) => t.filter((t, n) => n !== e));
2344
- }, ae = () => {
2365
+ }, oe = () => {
2345
2366
  if (!g && C.current) {
2346
2367
  let e = C.current.getBoundingClientRect();
2347
- b({
2368
+ y({
2348
2369
  top: e.top - 104 - 4,
2349
2370
  right: 20
2350
2371
  });
@@ -2359,7 +2380,7 @@ var Qt = ({ children: e, style: t, ...n }) => {
2359
2380
  };
2360
2381
  return e.useEffect(() => {
2361
2382
  let e = (e) => {
2362
- D.current && !D.current.contains(e.target) && T.current && !T.current.contains(e.target) && _(!1);
2383
+ E.current && !E.current.contains(e.target) && T.current && !T.current.contains(e.target) && _(!1);
2363
2384
  };
2364
2385
  return g && document.addEventListener("mousedown", e), () => {
2365
2386
  document.removeEventListener("mousedown", e);
@@ -2368,35 +2389,35 @@ var Qt = ({ children: e, style: t, ...n }) => {
2368
2389
  c?.(x);
2369
2390
  }, [x, c]), /* @__PURE__ */ a("div", {
2370
2391
  className: [
2371
- rn.composer,
2372
- rn[`composer--${t}`],
2392
+ sn.composer,
2393
+ sn[`composer--${t}`],
2373
2394
  f ?? ""
2374
2395
  ].filter(Boolean).join(" "),
2375
2396
  children: [
2376
2397
  t === "uploading" && /* @__PURE__ */ a("div", {
2377
- className: rn.upload,
2398
+ className: sn.upload,
2378
2399
  children: [
2379
- /* @__PURE__ */ i(y, {
2400
+ /* @__PURE__ */ i(b, {
2380
2401
  size: 16,
2381
- strokeWidth: A(16),
2382
- className: rn.upload__icon,
2402
+ strokeWidth: k(16),
2403
+ className: sn.upload__icon,
2383
2404
  "aria-hidden": "true"
2384
2405
  }),
2385
2406
  /* @__PURE__ */ a("div", {
2386
- className: rn.upload__body,
2407
+ className: sn.upload__body,
2387
2408
  children: [/* @__PURE__ */ i("span", {
2388
- className: rn.upload__name,
2409
+ className: sn.upload__name,
2389
2410
  children: l
2390
2411
  }), /* @__PURE__ */ i("div", {
2391
- className: rn.upload__track,
2412
+ className: sn.upload__track,
2392
2413
  children: /* @__PURE__ */ i("div", {
2393
- className: rn.upload__fill,
2414
+ className: sn.upload__fill,
2394
2415
  style: { width: `${u}%` }
2395
2416
  })
2396
2417
  })]
2397
2418
  }),
2398
- /* @__PURE__ */ i(Oe, {
2399
- icon: oe,
2419
+ /* @__PURE__ */ i(ke, {
2420
+ icon: ce,
2400
2421
  variant: "ghost",
2401
2422
  size: "md",
2402
2423
  onClick: d,
@@ -2439,7 +2460,7 @@ var Qt = ({ children: e, style: t, ...n }) => {
2439
2460
  textAlign: "center",
2440
2461
  padding: "8px"
2441
2462
  },
2442
- children: [/* @__PURE__ */ i(y, {
2463
+ children: [/* @__PURE__ */ i(b, {
2443
2464
  size: 24,
2444
2465
  strokeWidth: 1.5
2445
2466
  }), /* @__PURE__ */ i("div", {
@@ -2452,7 +2473,7 @@ var Qt = ({ children: e, style: t, ...n }) => {
2452
2473
  })]
2453
2474
  }), /* @__PURE__ */ i("button", {
2454
2475
  type: "button",
2455
- onClick: () => ie(t),
2476
+ onClick: () => ae(t),
2456
2477
  style: {
2457
2478
  position: "absolute",
2458
2479
  top: "-8px",
@@ -2480,24 +2501,24 @@ var Qt = ({ children: e, style: t, ...n }) => {
2480
2501
  type: "file",
2481
2502
  multiple: !0,
2482
2503
  accept: "image/*,video/*",
2483
- onChange: re,
2504
+ onChange: ie,
2484
2505
  style: { display: "none" }
2485
2506
  }),
2486
2507
  /* @__PURE__ */ a("div", {
2487
- className: rn.row,
2508
+ className: sn.row,
2488
2509
  children: [
2489
- /* @__PURE__ */ i(Oe, {
2490
- icon: E,
2510
+ /* @__PURE__ */ i(ke, {
2511
+ icon: D,
2491
2512
  variant: "ghost",
2492
2513
  size: "sm",
2493
- onClick: ne,
2514
+ onClick: re,
2494
2515
  disabled: p,
2495
2516
  "aria-label": "Attach file"
2496
2517
  }),
2497
2518
  /* @__PURE__ */ i("input", {
2498
2519
  ref: C,
2499
2520
  type: "text",
2500
- className: rn.input,
2521
+ className: sn.input,
2501
2522
  value: O,
2502
2523
  placeholder: p ? "You can't reply to this conversation" : r,
2503
2524
  disabled: p,
@@ -2505,20 +2526,20 @@ var Qt = ({ children: e, style: t, ...n }) => {
2505
2526
  n === void 0 && h(e.target.value), o?.(e.target.value);
2506
2527
  },
2507
2528
  onKeyDown: (e) => {
2508
- e.key === "Enter" && k && (e.preventDefault(), s?.());
2529
+ e.key === "Enter" && ee && (e.preventDefault(), s?.());
2509
2530
  }
2510
2531
  }),
2511
- /* @__PURE__ */ i(Oe, {
2532
+ /* @__PURE__ */ i(ke, {
2512
2533
  ref: T,
2513
- icon: te,
2534
+ icon: ne,
2514
2535
  variant: "ghost",
2515
2536
  size: "sm",
2516
- onClick: ae,
2537
+ onClick: oe,
2517
2538
  disabled: p,
2518
2539
  "aria-label": "Add emoji"
2519
2540
  }),
2520
- g && !p && de.createPortal(/* @__PURE__ */ i("div", {
2521
- ref: D,
2541
+ g && !p && pe.createPortal(/* @__PURE__ */ i("div", {
2542
+ ref: E,
2522
2543
  style: {
2523
2544
  position: "fixed",
2524
2545
  top: `${v.top}px`,
@@ -2571,19 +2592,19 @@ var Qt = ({ children: e, style: t, ...n }) => {
2571
2592
  children: e
2572
2593
  }, e))
2573
2594
  }), document.body),
2574
- /* @__PURE__ */ i(Oe, {
2575
- icon: ee,
2595
+ /* @__PURE__ */ i(ke, {
2596
+ icon: te,
2576
2597
  variant: "primary",
2577
2598
  size: "sm",
2578
2599
  onClick: s,
2579
- disabled: !k,
2600
+ disabled: !ee,
2580
2601
  "aria-label": "Send message"
2581
2602
  })
2582
2603
  ]
2583
2604
  })
2584
2605
  ]
2585
2606
  });
2586
- }, on = {
2607
+ }, ln = {
2587
2608
  wrapper: "_wrapper_1nmcn_3",
2588
2609
  "wrapper--disabled": "_wrapper--disabled_1nmcn_11",
2589
2610
  input: "_input_1nmcn_14",
@@ -2595,16 +2616,16 @@ var Qt = ({ children: e, style: t, ...n }) => {
2595
2616
  text__description: "_text__description_1nmcn_73",
2596
2617
  checkbox: "_checkbox_1nmcn_77",
2597
2618
  "wrapper--withDescription": "_wrapper--withDescription_1nmcn_81"
2598
- }, sn = e.forwardRef(({ label: t, description: n, indeterminate: r, disabled: o, id: s, className: c, ...l }, u) => {
2619
+ }, un = e.forwardRef(({ label: t, description: n, indeterminate: r, disabled: o, id: s, className: c, ...l }, u) => {
2599
2620
  let d = e.useId(), f = s ?? d, p = e.useRef(null);
2600
2621
  return e.useImperativeHandle(u, () => p.current), e.useEffect(() => {
2601
2622
  p.current && (p.current.indeterminate = !!r);
2602
2623
  }, [r]), /* @__PURE__ */ a("label", {
2603
2624
  htmlFor: f,
2604
2625
  className: [
2605
- on.wrapper,
2606
- n ? on["wrapper--withDescription"] : "",
2607
- o ? on["wrapper--disabled"] : "",
2626
+ ln.wrapper,
2627
+ n ? ln["wrapper--withDescription"] : "",
2628
+ o ? ln["wrapper--disabled"] : "",
2608
2629
  c ?? ""
2609
2630
  ].filter(Boolean).join(" "),
2610
2631
  children: [
@@ -2613,14 +2634,14 @@ var Qt = ({ children: e, style: t, ...n }) => {
2613
2634
  id: f,
2614
2635
  type: "checkbox",
2615
2636
  disabled: o,
2616
- className: on.input,
2637
+ className: ln.input,
2617
2638
  ...l
2618
2639
  }),
2619
2640
  /* @__PURE__ */ a("span", {
2620
- className: on.box,
2641
+ className: ln.box,
2621
2642
  "aria-hidden": "true",
2622
2643
  children: [/* @__PURE__ */ i("svg", {
2623
- className: on.check,
2644
+ className: ln.check,
2624
2645
  width: 12,
2625
2646
  height: 12,
2626
2647
  viewBox: "0 0 24 24",
@@ -2630,22 +2651,22 @@ var Qt = ({ children: e, style: t, ...n }) => {
2630
2651
  strokeLinecap: "round",
2631
2652
  strokeLinejoin: "round",
2632
2653
  children: /* @__PURE__ */ i("polyline", { points: "20 6 9 17 4 12" })
2633
- }), /* @__PURE__ */ i("span", { className: on.dash })]
2654
+ }), /* @__PURE__ */ i("span", { className: ln.dash })]
2634
2655
  }),
2635
2656
  (t || n) && /* @__PURE__ */ a("span", {
2636
- className: on.text,
2657
+ className: ln.text,
2637
2658
  children: [t && /* @__PURE__ */ i("span", {
2638
- className: on.text__label,
2659
+ className: ln.text__label,
2639
2660
  children: t
2640
2661
  }), n && /* @__PURE__ */ i("span", {
2641
- className: on.text__description,
2662
+ className: ln.text__description,
2642
2663
  children: n
2643
2664
  })]
2644
2665
  })
2645
2666
  ]
2646
2667
  });
2647
2668
  });
2648
- sn.displayName = "Checkbox";
2669
+ un.displayName = "Checkbox";
2649
2670
  var K = {
2650
2671
  item: "_item_1bf0e_2",
2651
2672
  "item--hover": "_item--hover_1bf0e_12",
@@ -2661,7 +2682,7 @@ var K = {
2661
2682
  item__preview: "_item__preview_1bf0e_31",
2662
2683
  item__typing: "_item__typing_1bf0e_36",
2663
2684
  item__badge: "_item__badge_1bf0e_37"
2664
- }, cn = ({ state: e = "default", avatar: t, name: n, timestamp: r, preview: o, unreadCount: c, onClick: l, className: u }) => /* @__PURE__ */ a("div", {
2685
+ }, dn = ({ state: e = "default", avatar: t, name: n, timestamp: r, preview: o, unreadCount: c, onClick: l, className: u }) => /* @__PURE__ */ a("div", {
2665
2686
  role: "button",
2666
2687
  "data-hover-item": "",
2667
2688
  tabIndex: 0,
@@ -2692,7 +2713,7 @@ var K = {
2692
2713
  }),
2693
2714
  e === "muted" && /* @__PURE__ */ i(s, {
2694
2715
  size: 12,
2695
- strokeWidth: A(12),
2716
+ strokeWidth: k(12),
2696
2717
  className: K.item__mute,
2697
2718
  "aria-hidden": "true"
2698
2719
  }),
@@ -2715,112 +2736,129 @@ var K = {
2715
2736
  })]
2716
2737
  })]
2717
2738
  })]
2718
- }), ln = {
2739
+ }), fn = {
2719
2740
  empty: "_empty_15v2t_2",
2720
2741
  empty__chip: "_empty__chip_15v2t_12",
2721
2742
  "empty__chip--error": "_empty__chip--error_15v2t_22",
2722
2743
  empty__title: "_empty__title_15v2t_23",
2723
2744
  empty__desc: "_empty__desc_15v2t_31",
2724
2745
  empty__action: "_empty__action_15v2t_39"
2725
- }, un = {
2746
+ }, pn = {
2726
2747
  "no-data": {
2727
- icon: /* @__PURE__ */ i(S, {
2748
+ icon: /* @__PURE__ */ i(C, {
2728
2749
  size: 18,
2729
- strokeWidth: A(18)
2750
+ strokeWidth: k(18)
2730
2751
  }),
2731
2752
  title: "No data yet",
2732
2753
  description: "Records will appear here once they are added."
2733
2754
  },
2734
2755
  "no-results": {
2735
- icon: /* @__PURE__ */ i(O, {
2756
+ icon: /* @__PURE__ */ i(ee, {
2736
2757
  size: 18,
2737
- strokeWidth: A(18)
2758
+ strokeWidth: k(18)
2738
2759
  }),
2739
2760
  title: "No results found",
2740
2761
  description: "Try adjusting your search or removing filters."
2741
2762
  },
2742
2763
  error: {
2743
- icon: /* @__PURE__ */ i(m, {
2764
+ icon: /* @__PURE__ */ i(h, {
2744
2765
  size: 18,
2745
- strokeWidth: A(18)
2766
+ strokeWidth: k(18)
2746
2767
  }),
2747
2768
  title: "Couldn't load data",
2748
2769
  description: "Something went wrong while fetching records."
2749
2770
  }
2750
- }, dn = ({ type: e = "no-data", title: t, description: n, actionLabel: r, onAction: o, icon: s, className: c }) => {
2751
- let l = un[e];
2771
+ }, mn = ({ type: e = "no-data", title: t, description: n, actionLabel: r, onAction: o, icon: s, className: c }) => {
2772
+ let l = pn[e];
2752
2773
  return /* @__PURE__ */ a("div", {
2753
- className: [ln.empty, c ?? ""].filter(Boolean).join(" "),
2774
+ className: [fn.empty, c ?? ""].filter(Boolean).join(" "),
2754
2775
  role: "status",
2755
2776
  children: [
2756
2777
  /* @__PURE__ */ i("span", {
2757
- className: [ln.empty__chip, ln[`empty__chip--${e}`]].join(" "),
2778
+ className: [fn.empty__chip, fn[`empty__chip--${e}`]].join(" "),
2758
2779
  "aria-hidden": "true",
2759
2780
  children: s ?? l.icon
2760
2781
  }),
2761
2782
  /* @__PURE__ */ i("p", {
2762
- className: ln.empty__title,
2783
+ className: fn.empty__title,
2763
2784
  children: t ?? l.title
2764
2785
  }),
2765
2786
  /* @__PURE__ */ i("p", {
2766
- className: ln.empty__desc,
2787
+ className: fn.empty__desc,
2767
2788
  children: n ?? l.description
2768
2789
  }),
2769
2790
  r && /* @__PURE__ */ i("button", {
2770
2791
  type: "button",
2771
- className: ln.empty__action,
2792
+ className: fn.empty__action,
2772
2793
  onClick: o,
2773
2794
  children: r
2774
2795
  })
2775
2796
  ]
2776
2797
  });
2777
- }, fn = {
2778
- chip: "_chip_rpkox_2",
2779
- chip__lead: "_chip__lead_rpkox_20",
2780
- chip__trail: "_chip__trail_rpkox_20",
2781
- "chip--active": "_chip--active_rpkox_22",
2782
- chip__remove: "_chip__remove_rpkox_29",
2783
- "chip--add": "_chip--add_rpkox_38"
2784
- }, pn = ({ type: e = "default", children: t, onClick: n, onRemove: r, className: o }) => /* @__PURE__ */ a("button", {
2785
- type: "button",
2786
- onClick: n,
2787
- className: [
2788
- fn.chip,
2789
- fn[`chip--${e}`],
2790
- o ?? ""
2791
- ].filter(Boolean).join(" "),
2792
- children: [
2793
- e === "add" && /* @__PURE__ */ i(D, {
2794
- size: 14,
2795
- strokeWidth: A(14),
2796
- className: fn.chip__lead,
2797
- "aria-hidden": "true"
2798
- }),
2799
- /* @__PURE__ */ i("span", {
2800
- className: fn.chip__label,
2801
- children: t
2802
- }),
2803
- e === "default" && /* @__PURE__ */ i(d, {
2804
- size: 14,
2805
- strokeWidth: A(14),
2806
- className: fn.chip__trail,
2807
- "aria-hidden": "true"
2808
- }),
2809
- e === "active" && /* @__PURE__ */ i("span", {
2810
- role: "button",
2811
- "aria-label": "Remove filter",
2812
- className: fn.chip__remove,
2813
- onClick: (e) => {
2814
- e.stopPropagation(), r?.();
2815
- },
2816
- children: /* @__PURE__ */ i(oe, {
2798
+ }, hn = {
2799
+ chip: "_chip_1qnyq_2",
2800
+ chip__lead: "_chip__lead_1qnyq_20",
2801
+ chip__trail: "_chip__trail_1qnyq_20",
2802
+ "chip--active": "_chip--active_1qnyq_22",
2803
+ chip__remove: "_chip__remove_1qnyq_29",
2804
+ "chip--add": "_chip--add_1qnyq_38",
2805
+ "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 }) => {
2807
+ let [c, l] = e.useState(!1), u = e.useRef(void 0);
2808
+ e.useEffect(() => () => window.clearTimeout(u.current), []);
2809
+ let f = () => {
2810
+ if (!c) {
2811
+ if (_n()) {
2812
+ o?.();
2813
+ return;
2814
+ }
2815
+ l(!0), u.current = window.setTimeout(() => {
2816
+ o?.(), l(!1);
2817
+ }, gn);
2818
+ }
2819
+ };
2820
+ return /* @__PURE__ */ a("button", {
2821
+ type: "button",
2822
+ onClick: r,
2823
+ className: [
2824
+ hn.chip,
2825
+ hn[`chip--${t}`],
2826
+ c ? hn["chip--leaving"] : "",
2827
+ s ?? ""
2828
+ ].filter(Boolean).join(" "),
2829
+ children: [
2830
+ t === "add" && /* @__PURE__ */ i(O, {
2831
+ size: 14,
2832
+ strokeWidth: k(14),
2833
+ className: hn.chip__lead,
2834
+ "aria-hidden": "true"
2835
+ }),
2836
+ /* @__PURE__ */ i("span", {
2837
+ className: hn.chip__label,
2838
+ children: n
2839
+ }),
2840
+ t === "default" && /* @__PURE__ */ i(d, {
2817
2841
  size: 14,
2818
- strokeWidth: A(14),
2842
+ strokeWidth: k(14),
2843
+ className: hn.chip__trail,
2819
2844
  "aria-hidden": "true"
2845
+ }),
2846
+ t === "active" && /* @__PURE__ */ i("span", {
2847
+ role: "button",
2848
+ "aria-label": "Remove filter",
2849
+ className: hn.chip__remove,
2850
+ onClick: (e) => {
2851
+ e.stopPropagation(), f();
2852
+ },
2853
+ children: /* @__PURE__ */ i(ce, {
2854
+ size: 14,
2855
+ strokeWidth: k(14),
2856
+ "aria-hidden": "true"
2857
+ })
2820
2858
  })
2821
- })
2822
- ]
2823
- }), q = {
2859
+ ]
2860
+ });
2861
+ }, q = {
2824
2862
  field: "_field_1cywj_10",
2825
2863
  field__label: "_field__label_1cywj_18",
2826
2864
  field__description: "_field__description_1cywj_26",
@@ -2834,10 +2872,10 @@ var K = {
2834
2872
  input__control: "_input__control_1cywj_79",
2835
2873
  input__icon: "_input__icon_1cywj_108",
2836
2874
  "input--unstyled": "_input--unstyled_1cywj_118"
2837
- }, mn = 16, hn = (t) => e.isValidElement(t) ? e.cloneElement(t, {
2838
- size: mn,
2839
- strokeWidth: A(mn)
2840
- }) : t, gn = 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) => {
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) => {
2841
2879
  let h = e.useId(), g = d ?? h, _ = !!r;
2842
2880
  return /* @__PURE__ */ a("div", {
2843
2881
  className: [q.field, f ?? ""].filter(Boolean).join(" "),
@@ -2858,7 +2896,7 @@ var K = {
2858
2896
  c && /* @__PURE__ */ i("span", {
2859
2897
  className: q.input__icon,
2860
2898
  "aria-hidden": "true",
2861
- children: hn(c)
2899
+ children: bn(c)
2862
2900
  }),
2863
2901
  /* @__PURE__ */ i("input", {
2864
2902
  ref: m,
@@ -2872,7 +2910,7 @@ var K = {
2872
2910
  l && /* @__PURE__ */ i("span", {
2873
2911
  className: q.input__icon,
2874
2912
  "aria-hidden": "true",
2875
- children: hn(l)
2913
+ children: bn(l)
2876
2914
  })
2877
2915
  ]
2878
2916
  }),
@@ -2884,7 +2922,7 @@ var K = {
2884
2922
  ]
2885
2923
  });
2886
2924
  });
2887
- gn.displayName = "Input";
2925
+ xn.displayName = "Input";
2888
2926
  var J = {
2889
2927
  row: "_row_1q1m5_2",
2890
2928
  "row--sent": "_row--sent_1q1m5_3",
@@ -2909,7 +2947,7 @@ var J = {
2909
2947
  foot__receipt: "_foot__receipt_1q1m5_32",
2910
2948
  system: "_system_1q1m5_34",
2911
2949
  system__pill: "_system__pill_1q1m5_35"
2912
- }, _n = ({ 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 }) => {
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 }) => {
2913
2951
  if (e === "system") return /* @__PURE__ */ i("div", {
2914
2952
  className: [J.system, h ?? ""].filter(Boolean).join(" "),
2915
2953
  children: /* @__PURE__ */ i("span", {
@@ -2917,20 +2955,20 @@ var J = {
2917
2955
  children: c
2918
2956
  })
2919
2957
  });
2920
- let _ = e === "sent";
2958
+ let g = e === "sent";
2921
2959
  return /* @__PURE__ */ a("div", {
2922
2960
  className: [
2923
2961
  J.row,
2924
- _ ? J["row--sent"] : J["row--received"],
2962
+ g ? J["row--sent"] : J["row--received"],
2925
2963
  h ?? ""
2926
2964
  ].filter(Boolean).join(" "),
2927
- children: [!_ && n && /* @__PURE__ */ i("span", {
2965
+ children: [!g && n && /* @__PURE__ */ i("span", {
2928
2966
  className: J.row__avatar,
2929
2967
  children: n
2930
2968
  }), /* @__PURE__ */ a("div", {
2931
2969
  className: J.col,
2932
2970
  children: [
2933
- !_ && (o || s) && /* @__PURE__ */ a("div", {
2971
+ !g && (o || s) && /* @__PURE__ */ a("div", {
2934
2972
  className: J.meta,
2935
2973
  children: [o && /* @__PURE__ */ i("span", {
2936
2974
  className: J.meta__name,
@@ -2941,7 +2979,7 @@ var J = {
2941
2979
  })]
2942
2980
  }),
2943
2981
  /* @__PURE__ */ a("div", {
2944
- className: [J.bubble, _ ? J["bubble--sent"] : J["bubble--received"]].join(" "),
2982
+ className: [J.bubble, g ? J["bubble--sent"] : J["bubble--received"]].join(" "),
2945
2983
  children: [
2946
2984
  t === "image" && /* @__PURE__ */ i("div", {
2947
2985
  className: J.bubble__image,
@@ -2950,9 +2988,9 @@ var J = {
2950
2988
  t === "file" && /* @__PURE__ */ a("div", {
2951
2989
  className: J.file,
2952
2990
  children: [
2953
- /* @__PURE__ */ i(y, {
2991
+ /* @__PURE__ */ i(b, {
2954
2992
  size: 18,
2955
- strokeWidth: A(18),
2993
+ strokeWidth: k(18),
2956
2994
  className: J.file__icon,
2957
2995
  "aria-hidden": "true"
2958
2996
  }),
@@ -2966,9 +3004,9 @@ var J = {
2966
3004
  children: f
2967
3005
  })]
2968
3006
  }),
2969
- /* @__PURE__ */ i(g, {
3007
+ /* @__PURE__ */ i(_, {
2970
3008
  size: 16,
2971
- strokeWidth: A(16),
3009
+ strokeWidth: k(16),
2972
3010
  className: J.file__dl,
2973
3011
  "aria-hidden": "true"
2974
3012
  })
@@ -2982,12 +3020,12 @@ var J = {
2982
3020
  }),
2983
3021
  /* @__PURE__ */ a("div", {
2984
3022
  className: J.foot,
2985
- children: [!_ && p, _ && /* @__PURE__ */ a(r, { children: [s && /* @__PURE__ */ i("span", {
3023
+ children: [!g && p, g && /* @__PURE__ */ a(r, { children: [s && /* @__PURE__ */ i("span", {
2986
3024
  className: J.foot__time,
2987
3025
  children: s
2988
3026
  }), m && /* @__PURE__ */ i(u, {
2989
3027
  size: 13,
2990
- strokeWidth: A(13),
3028
+ strokeWidth: k(13),
2991
3029
  className: J.foot__receipt,
2992
3030
  "aria-hidden": "true"
2993
3031
  })] })]
@@ -2995,19 +3033,19 @@ var J = {
2995
3033
  ]
2996
3034
  })]
2997
3035
  });
2998
- }, vn = {
3036
+ }, Cn = {
2999
3037
  pagination: "_pagination_on2nb_2",
3000
3038
  page: "_page_on2nb_9",
3001
3039
  arrow: "_arrow_on2nb_9",
3002
3040
  "page--active": "_page--active_on2nb_26",
3003
3041
  ellipsis: "_ellipsis_on2nb_40"
3004
- }, yn = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
3005
- function bn(e, t, n) {
3042
+ }, wn = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
3043
+ function Tn(e, t, n) {
3006
3044
  let r = n * 2 + 5;
3007
- if (e <= r) return yn(1, e);
3045
+ if (e <= r) return wn(1, e);
3008
3046
  let i = r - 2, a = n * 2 + 1;
3009
3047
  if (t <= i) return [
3010
- ...yn(1, i),
3048
+ ...wn(1, i),
3011
3049
  "end-ellipsis",
3012
3050
  e
3013
3051
  ];
@@ -3015,19 +3053,19 @@ function bn(e, t, n) {
3015
3053
  return s <= e - 3 ? [
3016
3054
  1,
3017
3055
  "start-ellipsis",
3018
- ...yn(o, s),
3056
+ ...wn(o, s),
3019
3057
  "end-ellipsis",
3020
3058
  e
3021
3059
  ] : [
3022
3060
  1,
3023
3061
  "start-ellipsis",
3024
- ...yn(e - i + 1, e)
3062
+ ...wn(e - i + 1, e)
3025
3063
  ];
3026
3064
  }
3027
- var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s }) => {
3065
+ var En = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s }) => {
3028
3066
  let c = e.useRef(null);
3029
3067
  if (t < 1) return null;
3030
- let l = Math.min(Math.max(n, 1), t), u = Math.max(0, o), d = bn(t, l, u), m = c.current;
3068
+ let l = Math.min(Math.max(n, 1), t), u = Math.max(0, o), d = Tn(t, l, u), m = c.current;
3031
3069
  if (m && m.total === t && m.siblings === u) {
3032
3070
  let e = m.tokens, n = e.includes(l), r = l === 1 && e[1] === "start-ellipsis" || l === t && e[e.length - 2] === "end-ellipsis";
3033
3071
  n && !r && (d = e);
@@ -3037,53 +3075,53 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3037
3075
  siblings: u,
3038
3076
  tokens: d
3039
3077
  }, /* @__PURE__ */ a("nav", {
3040
- className: [vn.pagination, s ?? ""].filter(Boolean).join(" "),
3078
+ className: [Cn.pagination, s ?? ""].filter(Boolean).join(" "),
3041
3079
  "aria-label": "Pagination",
3042
3080
  children: [
3043
3081
  /* @__PURE__ */ i("button", {
3044
3082
  type: "button",
3045
- className: vn.arrow,
3083
+ className: Cn.arrow,
3046
3084
  disabled: l <= 1,
3047
3085
  onClick: () => r(l - 1),
3048
3086
  "aria-label": "Previous page",
3049
3087
  children: /* @__PURE__ */ i(f, {
3050
3088
  size: 16,
3051
- strokeWidth: A(16)
3089
+ strokeWidth: k(16)
3052
3090
  })
3053
3091
  }),
3054
3092
  d.map((e) => typeof e == "number" ? /* @__PURE__ */ i("button", {
3055
3093
  type: "button",
3056
- className: [vn.page, e === l ? vn["page--active"] : ""].filter(Boolean).join(" "),
3094
+ className: [Cn.page, e === l ? Cn["page--active"] : ""].filter(Boolean).join(" "),
3057
3095
  "aria-current": e === l ? "page" : void 0,
3058
3096
  "aria-label": `Page ${e}`,
3059
3097
  onClick: () => e !== l && r(e),
3060
3098
  children: e
3061
3099
  }, e) : /* @__PURE__ */ i("span", {
3062
- className: vn.ellipsis,
3100
+ className: Cn.ellipsis,
3063
3101
  "aria-hidden": "true",
3064
3102
  children: "…"
3065
3103
  }, e)),
3066
3104
  /* @__PURE__ */ i("button", {
3067
3105
  type: "button",
3068
- className: vn.arrow,
3106
+ className: Cn.arrow,
3069
3107
  disabled: l >= t,
3070
3108
  onClick: () => r(l + 1),
3071
3109
  "aria-label": "Next page",
3072
3110
  children: /* @__PURE__ */ i(p, {
3073
3111
  size: 16,
3074
- strokeWidth: A(16)
3112
+ strokeWidth: k(16)
3075
3113
  })
3076
3114
  })
3077
3115
  ]
3078
3116
  });
3079
- }, Sn = {
3117
+ }, Dn = {
3080
3118
  track: "_track_1br5v_2",
3081
3119
  segment: "_segment_1br5v_12",
3082
3120
  "segment--active": "_segment--active_1br5v_38",
3083
3121
  thumb: "_thumb_1br5v_44",
3084
3122
  "thumb--animated": "_thumb--animated_1br5v_62",
3085
3123
  "track--fullWidth": "_track--fullWidth_1br5v_68"
3086
- }, Cn = ({ options: t, value: n, defaultValue: r, onChange: o, fullWidth: s, className: c }) => {
3124
+ }, On = ({ options: t, value: n, defaultValue: r, onChange: o, fullWidth: s, className: c }) => {
3087
3125
  let l = n !== void 0, [u, d] = e.useState(r ?? t[0]?.value), f = l ? n : u, p = (e) => {
3088
3126
  l || d(e), o?.(e);
3089
3127
  }, m = e.useRef(null), h = e.useRef({}), [g, _] = e.useState(null), [v, y] = e.useState(!1);
@@ -3104,13 +3142,13 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3104
3142
  ref: m,
3105
3143
  role: "tablist",
3106
3144
  className: [
3107
- Sn.track,
3108
- s ? Sn["track--fullWidth"] : "",
3145
+ Dn.track,
3146
+ s ? Dn["track--fullWidth"] : "",
3109
3147
  c ?? ""
3110
3148
  ].filter(Boolean).join(" "),
3111
3149
  children: [g && /* @__PURE__ */ i("span", {
3112
3150
  "aria-hidden": "true",
3113
- className: [Sn.thumb, v ? Sn["thumb--animated"] : ""].filter(Boolean).join(" "),
3151
+ className: [Dn.thumb, v ? Dn["thumb--animated"] : ""].filter(Boolean).join(" "),
3114
3152
  style: {
3115
3153
  transform: `translateX(${g.left}px)`,
3116
3154
  width: g.width
@@ -3124,7 +3162,7 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3124
3162
  role: "tab",
3125
3163
  type: "button",
3126
3164
  "aria-selected": t,
3127
- className: [Sn.segment, t ? Sn["segment--active"] : ""].filter(Boolean).join(" "),
3165
+ className: [Dn.segment, t ? Dn["segment--active"] : ""].filter(Boolean).join(" "),
3128
3166
  onClick: () => p(e.value),
3129
3167
  children: e.label
3130
3168
  }, e.value);
@@ -3160,38 +3198,38 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3160
3198
  option__check: "_option__check_1b512_179",
3161
3199
  optionHighlight: "_optionHighlight_1b512_151",
3162
3200
  "optionHighlight--animated": "_optionHighlight--animated_1b512_201"
3163
- }, wn = ({ 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 }) => {
3164
- 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), k = e.useRef(null), ne = e.useRef({}), [re, ie] = e.useState(null), [ae, oe] = e.useState(!1);
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);
3165
3203
  e.useLayoutEffect(() => {
3166
- let e = ne.current[D];
3204
+ let e = re.current[D];
3167
3205
  if (!e) {
3168
- ie(null);
3206
+ ae(null);
3169
3207
  return;
3170
3208
  }
3171
- ie({
3209
+ ae({
3172
3210
  top: e.offsetTop,
3173
3211
  height: e.offsetHeight
3174
3212
  });
3175
3213
  }, [D, c.length]), e.useLayoutEffect(() => {
3176
3214
  if (!T) {
3177
- oe(!1);
3215
+ se(!1);
3178
3216
  return;
3179
3217
  }
3180
- oe(!1);
3181
- let e = window.requestAnimationFrame(() => oe(!0));
3218
+ se(!1);
3219
+ let e = window.requestAnimationFrame(() => se(!0));
3182
3220
  return () => window.cancelAnimationFrame(e);
3183
3221
  }, [T]), e.useEffect(() => {
3184
- if (!k.current) return;
3222
+ if (!ne.current) return;
3185
3223
  let e = new ResizeObserver(() => {
3186
- let e = ne.current[D];
3187
- e && ie({
3224
+ let e = re.current[D];
3225
+ e && ae({
3188
3226
  top: e.offsetTop,
3189
3227
  height: e.offsetHeight
3190
3228
  });
3191
3229
  });
3192
- return e.observe(k.current), () => e.disconnect();
3230
+ return e.observe(ne.current), () => e.disconnect();
3193
3231
  }, [T]);
3194
- let se = He(ee, T), [ce, le] = e.useState(null);
3232
+ let ce = Ue(ee, T), [le, ue] = e.useState(null);
3195
3233
  e.useEffect(() => {
3196
3234
  C && E(!0);
3197
3235
  }, [C]), e.useLayoutEffect(() => {
@@ -3200,7 +3238,7 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3200
3238
  let e = te.current;
3201
3239
  if (!e) return;
3202
3240
  let t = e.getBoundingClientRect();
3203
- le({
3241
+ ue({
3204
3242
  top: t.bottom + 4,
3205
3243
  left: t.left,
3206
3244
  width: t.width
@@ -3213,7 +3251,7 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3213
3251
  if (!C) return;
3214
3252
  let e = (e) => {
3215
3253
  let t = e.target;
3216
- ee.current?.contains(t) || k.current?.contains(t) || w(!1);
3254
+ ee.current?.contains(t) || ne.current?.contains(t) || w(!1);
3217
3255
  };
3218
3256
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
3219
3257
  }, [C]), e.useEffect(() => {
@@ -3225,9 +3263,9 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3225
3263
  c,
3226
3264
  x
3227
3265
  ]);
3228
- let ue = (e) => {
3266
+ let de = (e) => {
3229
3267
  e.disabled || (l === void 0 && b(e.value), d?.(e.value), w(!1));
3230
- }, de = (e) => {
3268
+ }, fe = (e) => {
3231
3269
  O((t) => {
3232
3270
  let n = t;
3233
3271
  for (let t = 0; t < c.length; t += 1) if (n = (n + e + c.length) % c.length, !c[n]?.disabled) return n;
@@ -3263,14 +3301,14 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3263
3301
  e.preventDefault(), w(!0);
3264
3302
  return;
3265
3303
  }
3266
- if (C) if (e.key === "ArrowDown") e.preventDefault(), de(1);
3267
- else if (e.key === "ArrowUp") e.preventDefault(), de(-1);
3304
+ if (C) if (e.key === "ArrowDown") e.preventDefault(), fe(1);
3305
+ else if (e.key === "ArrowUp") e.preventDefault(), fe(-1);
3268
3306
  else if (e.key === "Home") e.preventDefault(), O(0);
3269
3307
  else if (e.key === "End") e.preventDefault(), O(c.length - 1);
3270
3308
  else if (e.key === "Enter" || e.key === " ") {
3271
3309
  e.preventDefault();
3272
3310
  let t = c[D];
3273
- t && ue(t);
3311
+ t && de(t);
3274
3312
  } else e.key === "Escape" && (e.preventDefault(), w(!1));
3275
3313
  }
3276
3314
  },
@@ -3293,47 +3331,47 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3293
3331
  viewBox: "0 0 24 24",
3294
3332
  fill: "none",
3295
3333
  stroke: "currentColor",
3296
- strokeWidth: A(16),
3334
+ strokeWidth: k(16),
3297
3335
  strokeLinecap: "round",
3298
3336
  strokeLinejoin: "round",
3299
3337
  children: /* @__PURE__ */ i("path", { d: "m6 9 6 6 6-6" })
3300
3338
  })
3301
3339
  })]
3302
- }), T && ce && fe(/* @__PURE__ */ a("div", {
3303
- ref: k,
3340
+ }), T && le && me(/* @__PURE__ */ a("div", {
3341
+ ref: ne,
3304
3342
  id: _,
3305
3343
  role: "listbox",
3306
3344
  className: [
3307
- se,
3345
+ ce,
3308
3346
  Y.panel,
3309
3347
  C ? Y["panel--entering"] : Y["panel--exiting"]
3310
3348
  ].filter(Boolean).join(" "),
3311
3349
  style: {
3312
3350
  position: "fixed",
3313
- top: ce.top,
3314
- left: ce.left,
3315
- width: ce.width
3351
+ top: le.top,
3352
+ left: le.left,
3353
+ width: le.width
3316
3354
  },
3317
3355
  onAnimationEnd: () => {
3318
3356
  C || E(!1);
3319
3357
  },
3320
- children: [re && /* @__PURE__ */ i("span", {
3358
+ children: [ie && /* @__PURE__ */ i("span", {
3321
3359
  "aria-hidden": "true",
3322
- className: [Y.optionHighlight, ae ? Y["optionHighlight--animated"] : ""].filter(Boolean).join(" "),
3360
+ className: [Y.optionHighlight, oe ? Y["optionHighlight--animated"] : ""].filter(Boolean).join(" "),
3323
3361
  style: {
3324
- transform: `translateY(${re.top}px)`,
3325
- height: re.height
3362
+ transform: `translateY(${ie.top}px)`,
3363
+ height: ie.height
3326
3364
  }
3327
3365
  }), c.map((e, t) => /* @__PURE__ */ a("div", {
3328
3366
  ref: (e) => {
3329
- ne.current[t] = e;
3367
+ re.current[t] = e;
3330
3368
  },
3331
3369
  id: `${_}-opt-${t}`,
3332
3370
  role: "option",
3333
3371
  "aria-selected": e.value === x,
3334
3372
  "aria-disabled": e.disabled || void 0,
3335
3373
  onMouseEnter: () => !e.disabled && O(t),
3336
- onClick: () => ue(e),
3374
+ onClick: () => de(e),
3337
3375
  className: [
3338
3376
  Y.option,
3339
3377
  e.value === x ? Y["option--selected"] : "",
@@ -3366,42 +3404,48 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3366
3404
  })
3367
3405
  ]
3368
3406
  });
3369
- }, Tn = {
3407
+ }, An = {
3370
3408
  sidebar: "_sidebar_m27tb_4",
3371
3409
  "sidebar--collapsed": "_sidebar--collapsed_m27tb_21"
3372
- }, En = ({ collapsed: e = !1, children: t, className: n }) => {
3373
- let r = Zt();
3410
+ }, jn = ({ collapsed: e = !1, children: t, className: n }) => {
3411
+ let r = en();
3374
3412
  return /* @__PURE__ */ a("nav", {
3375
3413
  ref: r.ref,
3376
3414
  ...r.groupProps,
3377
3415
  className: [
3378
- Tn.sidebar,
3379
- e ? Tn["sidebar--collapsed"] : "",
3416
+ An.sidebar,
3417
+ e ? An["sidebar--collapsed"] : "",
3380
3418
  n ?? ""
3381
3419
  ].filter(Boolean).join(" "),
3382
3420
  "data-collapsed": e,
3383
3421
  children: [r.highlight, t]
3384
3422
  });
3385
- }, Dn = { divider: "_divider_18c5j_1" }, On = () => /* @__PURE__ */ i("div", {
3386
- className: Dn.divider,
3423
+ }, Mn = { divider: "_divider_1oof5_1" }, Nn = () => /* @__PURE__ */ i("div", {
3424
+ className: Mn.divider,
3387
3425
  role: "separator"
3388
- }), kn = { groupLabel: "_groupLabel_62q1j_2" }, An = ({ children: e }) => /* @__PURE__ */ i("div", {
3389
- className: kn.groupLabel,
3426
+ }), Pn = { groupLabel: "_groupLabel_62q1j_2" }, Fn = ({ children: e }) => /* @__PURE__ */ i("div", {
3427
+ className: Pn.groupLabel,
3390
3428
  children: e
3391
3429
  }), X = {
3392
- header: "_header_1wyz2_2",
3393
- "header--collapsed": "_header--collapsed_1wyz2_12",
3394
- header__logoWrap: "_header__logoWrap_1wyz2_15",
3395
- header__logo: "_header__logo_1wyz2_14",
3396
- header__logoContent: "_header__logoContent_1wyz2_43",
3397
- header__logoIcon: "_header__logoIcon_1wyz2_44",
3398
- header__text: "_header__text_1wyz2_50",
3399
- "header__text--collapsed": "_header__text--collapsed_1wyz2_61",
3400
- header__title: "_header__title_1wyz2_65",
3401
- header__subtitle: "_header__subtitle_1wyz2_66",
3402
- header__toggle: "_header__toggle_1wyz2_67"
3403
- }, jn = ({ type: e = "brand", title: t, subtitle: n, logo: r, collapsed: o, onToggle: s, toggleIcon: c = T }) => /* @__PURE__ */ a("div", {
3404
- className: [X.header, o ? X["header--collapsed"] : ""].filter(Boolean).join(" "),
3430
+ header: "_header_6bhip_2",
3431
+ "header--collapsed": "_header--collapsed_6bhip_12",
3432
+ "header--workspace": "_header--workspace_6bhip_15",
3433
+ header__subtitle: "_header__subtitle_6bhip_20",
3434
+ header__switch: "_header__switch_6bhip_21",
3435
+ header__logoWrap: "_header__logoWrap_6bhip_24",
3436
+ header__logo: "_header__logo_6bhip_23",
3437
+ header__logoContent: "_header__logoContent_6bhip_52",
3438
+ header__logoIcon: "_header__logoIcon_6bhip_53",
3439
+ header__text: "_header__text_6bhip_59",
3440
+ "header__text--collapsed": "_header__text--collapsed_6bhip_70",
3441
+ header__title: "_header__title_6bhip_74",
3442
+ 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", {
3444
+ className: [
3445
+ X.header,
3446
+ e === "workspace" ? X["header--workspace"] : "",
3447
+ o ? X["header--collapsed"] : ""
3448
+ ].filter(Boolean).join(" "),
3405
3449
  children: [
3406
3450
  r && (o && e === "brand-toggle" && s ? /* @__PURE__ */ i("button", {
3407
3451
  type: "button",
@@ -3418,7 +3462,7 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3418
3462
  "aria-hidden": "true",
3419
3463
  children: /* @__PURE__ */ i(c, {
3420
3464
  size: 16,
3421
- strokeWidth: A(16)
3465
+ strokeWidth: k(16)
3422
3466
  })
3423
3467
  })]
3424
3468
  })
@@ -3440,6 +3484,14 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3440
3484
  children: n
3441
3485
  })]
3442
3486
  }),
3487
+ !o && e === "workspace" && /* @__PURE__ */ i("span", {
3488
+ className: X.header__switch,
3489
+ "aria-hidden": "true",
3490
+ children: /* @__PURE__ */ i(m, {
3491
+ size: 16,
3492
+ strokeWidth: k(16)
3493
+ })
3494
+ }),
3443
3495
  !o && e === "brand-toggle" && /* @__PURE__ */ i("button", {
3444
3496
  type: "button",
3445
3497
  className: X.header__toggle,
@@ -3447,30 +3499,31 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3447
3499
  "aria-label": "Collapse sidebar",
3448
3500
  children: /* @__PURE__ */ i(c, {
3449
3501
  size: 18,
3450
- strokeWidth: A(18)
3502
+ strokeWidth: k(18)
3451
3503
  })
3452
3504
  })
3453
3505
  ]
3454
3506
  }), Z = {
3455
- item: "_item_1ukig_5",
3456
- "item--disabled": "_item--disabled_1ukig_37",
3457
- "item--active": "_item--active_1ukig_37",
3458
- "item--active-flat": "_item--active-flat_1ukig_37",
3459
- item__icon: "_item__icon_1ukig_38",
3460
- item__bar: "_item__bar_1ukig_49",
3461
- item__chevron: "_item__chevron_1ukig_77",
3462
- item__badge: "_item__badge_1ukig_79",
3463
- "item--collapsed": "_item--collapsed_1ukig_98",
3464
- item__label: "_item__label_1ukig_137",
3465
- "item__label--collapsed": "_item__label--collapsed_1ukig_146"
3466
- }, Mn = ({ icon: e, label: t, active: n, activeIndicator: o = !0, disabled: s, badge: c, hasSubmenu: l, collapsed: u, onClick: d, href: f, nativeTooltip: m = !0 }) => {
3467
- let h = n && o, g = n && !o, _ = [
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 }) => {
3520
+ let g = n && o, _ = n && !o, v = [
3468
3521
  Z.item,
3469
- h ? Z["item--active"] : "",
3470
- g ? Z["item--active-flat"] : "",
3522
+ g ? Z["item--active"] : "",
3523
+ _ ? Z["item--active-flat"] : "",
3471
3524
  s ? Z["item--disabled"] : "",
3472
3525
  u ? Z["item--collapsed"] : ""
3473
- ].filter(Boolean).join(" "), v = /* @__PURE__ */ a(r, { children: [
3526
+ ].filter(Boolean).join(" "), y = /* @__PURE__ */ a(r, { children: [
3474
3527
  /* @__PURE__ */ i("span", {
3475
3528
  className: Z.item__bar,
3476
3529
  "aria-hidden": "true"
@@ -3480,7 +3533,7 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3480
3533
  "aria-hidden": "true",
3481
3534
  children: /* @__PURE__ */ i(e, {
3482
3535
  size: 18,
3483
- strokeWidth: A(18)
3536
+ strokeWidth: k(18)
3484
3537
  })
3485
3538
  }),
3486
3539
  /* @__PURE__ */ i("span", {
@@ -3492,51 +3545,52 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3492
3545
  children: c
3493
3546
  }),
3494
3547
  !u && l && /* @__PURE__ */ i("span", {
3495
- className: Z.item__chevron,
3548
+ className: [Z.item__chevron, d ? Z["item__chevron--expanded"] : ""].filter(Boolean).join(" "),
3496
3549
  "aria-hidden": "true",
3497
3550
  children: /* @__PURE__ */ i(p, {
3498
3551
  size: 16,
3499
- strokeWidth: A(16)
3552
+ strokeWidth: k(16)
3500
3553
  })
3501
3554
  })
3502
- ] }), y = {
3503
- className: _,
3555
+ ] }), b = {
3556
+ className: v,
3504
3557
  "data-hover-item": "",
3505
- title: u && m ? t : void 0,
3558
+ title: u && h ? t : void 0,
3506
3559
  "aria-label": u ? t : void 0,
3507
- "aria-current": n ? "page" : void 0
3560
+ "aria-current": n ? "page" : void 0,
3561
+ "aria-expanded": l && d !== void 0 ? d : void 0
3508
3562
  };
3509
- return f && !s ? /* @__PURE__ */ i("a", {
3510
- href: f,
3511
- ...y,
3512
- children: v
3563
+ return m && !s ? /* @__PURE__ */ i("a", {
3564
+ href: m,
3565
+ ...b,
3566
+ children: y
3513
3567
  }) : /* @__PURE__ */ i("button", {
3514
3568
  type: "button",
3515
3569
  disabled: s,
3516
- onClick: d,
3517
- ...y,
3518
- children: v
3570
+ onClick: f,
3571
+ ...b,
3572
+ children: y
3519
3573
  });
3520
- }, Nn = {
3574
+ }, Rn = {
3521
3575
  subItem: "_subItem_1sz05_2",
3522
3576
  "subItem--disabled": "_subItem--disabled_1sz05_26",
3523
3577
  "subItem--active": "_subItem--active_1sz05_27",
3524
3578
  subItem__dot: "_subItem__dot_1sz05_31",
3525
3579
  subItem__label: "_subItem__label_1sz05_41"
3526
- }, Pn = ({ label: e, active: t, disabled: n, onClick: o, href: s }) => {
3580
+ }, zn = ({ label: e, active: t, disabled: n, onClick: o, href: s }) => {
3527
3581
  let c = {
3528
3582
  className: [
3529
- Nn.subItem,
3530
- t ? Nn["subItem--active"] : "",
3531
- n ? Nn["subItem--disabled"] : ""
3583
+ Rn.subItem,
3584
+ t ? Rn["subItem--active"] : "",
3585
+ n ? Rn["subItem--disabled"] : ""
3532
3586
  ].filter(Boolean).join(" "),
3533
3587
  "data-hover-item": "",
3534
3588
  "aria-current": t ? "page" : void 0
3535
3589
  }, l = /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("span", {
3536
- className: Nn.subItem__dot,
3590
+ className: Rn.subItem__dot,
3537
3591
  "aria-hidden": "true"
3538
3592
  }), /* @__PURE__ */ i("span", {
3539
- className: Nn.subItem__label,
3593
+ className: Rn.subItem__label,
3540
3594
  children: e
3541
3595
  })] });
3542
3596
  return s && !n ? /* @__PURE__ */ i("a", {
@@ -3550,45 +3604,53 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3550
3604
  ...c,
3551
3605
  children: l
3552
3606
  });
3553
- }, Fn = {
3607
+ }, Bn = {
3554
3608
  skeleton: "_skeleton_94hr3_9",
3555
3609
  "skeleton-shimmer": "_skeleton-shimmer_94hr3_1",
3556
3610
  "skeleton--text": "_skeleton--text_94hr3_22",
3557
3611
  "skeleton--rect": "_skeleton--rect_94hr3_29",
3558
3612
  "skeleton--circle": "_skeleton--circle_94hr3_35"
3559
- }, In = ({ variant: e = "text", width: t, height: n, className: r }) => {
3613
+ }, Vn = ({ variant: e = "text", width: t, height: n, className: r }) => {
3560
3614
  let a = {};
3561
3615
  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", {
3562
3616
  "aria-hidden": "true",
3563
3617
  className: [
3564
- Fn.skeleton,
3565
- Fn[`skeleton--${e}`],
3618
+ Bn.skeleton,
3619
+ Bn[`skeleton--${e}`],
3566
3620
  r ?? ""
3567
3621
  ].filter(Boolean).join(" "),
3568
3622
  style: a
3569
3623
  });
3570
- }, Ln = {
3571
- field: "_field_drnb1_3",
3572
- header: "_header_drnb1_4",
3573
- label: "_label_drnb1_5",
3574
- value: "_value_drnb1_6",
3575
- slider: "_slider_drnb1_8"
3576
- }, Rn = 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) => {
3577
- 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;
3624
+ }, Hn = {
3625
+ field: "_field_u7te8_3",
3626
+ header: "_header_u7te8_4",
3627
+ label: "_label_u7te8_5",
3628
+ value: "_value_u7te8_6",
3629
+ slider: "_slider_u7te8_8",
3630
+ "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) => {
3632
+ 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
+ S.current = e, typeof m == "function" ? m(e) : m && (m.current = e);
3634
+ }, w = e.useRef(null), T = e.useRef(void 0);
3635
+ e.useEffect(() => () => window.clearTimeout(T.current), []);
3636
+ let E = (e) => {
3637
+ 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));
3639
+ };
3578
3640
  return /* @__PURE__ */ a("div", {
3579
- className: [Ln.field, d ?? ""].filter(Boolean).join(" "),
3641
+ className: [Hn.field, d ?? ""].filter(Boolean).join(" "),
3580
3642
  children: [(t || n) && /* @__PURE__ */ a("div", {
3581
- className: Ln.header,
3643
+ className: Hn.header,
3582
3644
  children: [t && /* @__PURE__ */ i("label", {
3583
3645
  htmlFor: g,
3584
- className: Ln.label,
3646
+ className: Hn.label,
3585
3647
  children: t
3586
3648
  }), n && /* @__PURE__ */ i("span", {
3587
- className: Ln.value,
3649
+ className: Hn.value,
3588
3650
  children: b
3589
3651
  })]
3590
3652
  }), /* @__PURE__ */ i("input", {
3591
- ref: m,
3653
+ ref: C,
3592
3654
  id: g,
3593
3655
  type: "range",
3594
3656
  min: r,
@@ -3597,15 +3659,19 @@ var xn = ({ total: t, page: n, onPageChange: r, siblings: o = 1, className: s })
3597
3659
  defaultValue: s === void 0 ? c : void 0,
3598
3660
  disabled: l,
3599
3661
  onChange: (e) => {
3600
- s === void 0 && y(Number(e.target.value)), f?.(e);
3662
+ 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 = {
3664
+ v: t,
3665
+ t: n
3666
+ }, s === void 0 && y(t), f?.(e);
3601
3667
  },
3602
- className: Ln.slider,
3668
+ className: Hn.slider,
3603
3669
  style: { "--pct": `${x}%` },
3604
3670
  ...p
3605
3671
  })]
3606
3672
  });
3607
3673
  });
3608
- Rn.displayName = "Slider";
3674
+ Gn.displayName = "Slider";
3609
3675
  var Q = {
3610
3676
  wrap: "_wrap_1hulo_6",
3611
3677
  "wrap--bordered": "_wrap--bordered_1hulo_20",
@@ -3634,18 +3700,18 @@ var Q = {
3634
3700
  "bodyRow--dropTarget": "_bodyRow--dropTarget_1hulo_224",
3635
3701
  dragCell: "_dragCell_1hulo_231",
3636
3702
  dragHandle: "_dragHandle_1hulo_247"
3637
- }, zn = 640;
3638
- function Bn(t) {
3703
+ }, Kn = 640;
3704
+ function qn(t) {
3639
3705
  let [n, r] = e.useState(!1);
3640
3706
  return e.useEffect(() => {
3641
3707
  if (t !== "auto") return;
3642
- let e = window.matchMedia(`(max-width: ${zn}px)`);
3708
+ let e = window.matchMedia(`(max-width: ${Kn}px)`);
3643
3709
  r(e.matches);
3644
3710
  let n = (e) => r(e.matches);
3645
3711
  return e.addEventListener("change", n), () => e.removeEventListener("change", n);
3646
3712
  }, [t]), t === "default" ? "default" : t === "stacked" || n ? "stacked" : "default";
3647
3713
  }
3648
- var Vn = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
3714
+ var Jn = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
3649
3715
  let s = e.useRef(null);
3650
3716
  return e.useEffect(() => {
3651
3717
  s.current && (s.current.indeterminate = !!n);
@@ -3676,17 +3742,17 @@ var Vn = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
3676
3742
  })]
3677
3743
  });
3678
3744
  };
3679
- function Hn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionChange: s, rowKey: c, reorderable: l, onReorder: u, bordered: d = !0, responsive: f = "auto", className: p }) {
3680
- let m = Bn(f), h = o !== void 0, [g, _] = e.useState([]), v = h ? o : g, y = (e) => {
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) => {
3681
3747
  h || _(e), s?.(e);
3682
- }, x = n.length > 0 && v.length === n.length, S = v.length > 0 && !x, [C, w] = e.useState(null), [T, E] = e.useState(null), D = Zt(), O = () => {
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 = () => {
3683
3749
  if (C === null || T === null || C === T) {
3684
3750
  w(null), E(null);
3685
3751
  return;
3686
3752
  }
3687
3753
  let e = [...n], [t] = e.splice(C, 1);
3688
3754
  e.splice(T, 0, t), u?.(e), w(null), E(null);
3689
- }, ee = () => y(x ? [] : n.map((e, t) => t)), te = (e) => y(v.includes(e) ? v.filter((t) => t !== e) : [...v, e]), k = (e) => (t) => {
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) => {
3690
3756
  t.target.closest("a, button, input, select, textarea, label, [role=\"button\"], [draggable=\"true\"]") || window.getSelection()?.isCollapsed && te(e);
3691
3757
  };
3692
3758
  return m === "stacked" ? /* @__PURE__ */ i("div", {
@@ -3696,7 +3762,7 @@ function Hn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3696
3762
  let o = v.includes(n);
3697
3763
  return /* @__PURE__ */ a("div", {
3698
3764
  role: "listitem",
3699
- onClick: r ? k(n) : void 0,
3765
+ onClick: r ? ne(n) : void 0,
3700
3766
  className: [
3701
3767
  Q.card,
3702
3768
  o ? Q["card--selected"] : "",
@@ -3704,7 +3770,7 @@ function Hn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3704
3770
  ].filter(Boolean).join(" "),
3705
3771
  children: [r && /* @__PURE__ */ i("div", {
3706
3772
  className: Q.card__selectRow,
3707
- children: /* @__PURE__ */ i(Vn, {
3773
+ children: /* @__PURE__ */ i(Jn, {
3708
3774
  checked: o,
3709
3775
  onChange: () => te(n),
3710
3776
  label: `Select row ${n + 1}`
@@ -3740,8 +3806,8 @@ function Hn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3740
3806
  }),
3741
3807
  r && /* @__PURE__ */ i("th", {
3742
3808
  className: Q.checkCell,
3743
- children: /* @__PURE__ */ i(Vn, {
3744
- checked: x,
3809
+ children: /* @__PURE__ */ i(Jn, {
3810
+ checked: b,
3745
3811
  indeterminate: S,
3746
3812
  onChange: ee,
3747
3813
  label: "Select all rows"
@@ -3760,7 +3826,7 @@ function Hn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3760
3826
  let o = v.includes(n);
3761
3827
  return /* @__PURE__ */ a("tr", {
3762
3828
  "data-hover-item": "",
3763
- onClick: r ? k(n) : void 0,
3829
+ onClick: r ? ne(n) : void 0,
3764
3830
  onDragOver: l ? (e) => {
3765
3831
  e.preventDefault(), E(n);
3766
3832
  } : void 0,
@@ -3785,7 +3851,7 @@ function Hn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3785
3851
  e.dataTransfer.setDragImage(e.currentTarget.closest("tr"), 0, 0), w(n);
3786
3852
  },
3787
3853
  "aria-hidden": "true",
3788
- children: /* @__PURE__ */ i(b, {
3854
+ children: /* @__PURE__ */ i(x, {
3789
3855
  size: 14,
3790
3856
  strokeWidth: 1.5
3791
3857
  })
@@ -3793,7 +3859,7 @@ function Hn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3793
3859
  }),
3794
3860
  r && /* @__PURE__ */ i("td", {
3795
3861
  className: Q.checkCell,
3796
- children: /* @__PURE__ */ i(Vn, {
3862
+ children: /* @__PURE__ */ i(Jn, {
3797
3863
  checked: o,
3798
3864
  onChange: () => te(n),
3799
3865
  label: `Select row ${n + 1}`
@@ -3810,7 +3876,7 @@ function Hn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3810
3876
  })]
3811
3877
  });
3812
3878
  }
3813
- var Un = {
3879
+ var Xn = {
3814
3880
  tabs: "_tabs_1122j_3",
3815
3881
  "tabs--borderless": "_tabs--borderless_1122j_16",
3816
3882
  "tabs--fill": "_tabs--fill_1122j_21",
@@ -3819,7 +3885,7 @@ var Un = {
3819
3885
  "tab--active": "_tab--active_1122j_63",
3820
3886
  indicator: "_indicator_1122j_74",
3821
3887
  "indicator--animated": "_indicator--animated_1122j_88"
3822
- }, Wn = ({ items: t, value: n, defaultValue: r, onChange: o, bordered: s = !0, fill: c = !1, className: l }) => {
3888
+ }, Zn = ({ items: t, value: n, defaultValue: r, onChange: o, bordered: s = !0, fill: c = !1, className: l }) => {
3823
3889
  let u = n !== void 0, [d, f] = e.useState(r ?? t[0]?.value), p = u ? n : d, m = (e) => {
3824
3890
  u || f(e), o?.(e);
3825
3891
  }, h = e.useRef(null), g = e.useRef({}), [_, v] = e.useState(null), [y, b] = e.useState(!1);
@@ -3840,9 +3906,9 @@ var Un = {
3840
3906
  ref: h,
3841
3907
  role: "tablist",
3842
3908
  className: [
3843
- Un.tabs,
3844
- s ? "" : Un["tabs--borderless"],
3845
- c ? Un["tabs--fill"] : "",
3909
+ Xn.tabs,
3910
+ s ? "" : Xn["tabs--borderless"],
3911
+ c ? Xn["tabs--fill"] : "",
3846
3912
  l ?? ""
3847
3913
  ].filter(Boolean).join(" "),
3848
3914
  children: [t.map((e) => {
@@ -3856,27 +3922,27 @@ var Un = {
3856
3922
  "aria-selected": t,
3857
3923
  disabled: e.disabled,
3858
3924
  className: [
3859
- Un.tab,
3860
- t ? Un["tab--active"] : "",
3861
- e.disabled ? Un["tab--disabled"] : ""
3925
+ Xn.tab,
3926
+ t ? Xn["tab--active"] : "",
3927
+ e.disabled ? Xn["tab--disabled"] : ""
3862
3928
  ].filter(Boolean).join(" "),
3863
3929
  onClick: () => m(e.value),
3864
3930
  children: [n && /* @__PURE__ */ i(n, {
3865
3931
  size: 16,
3866
- strokeWidth: A(16),
3932
+ strokeWidth: k(16),
3867
3933
  "aria-hidden": "true"
3868
3934
  }), e.label]
3869
3935
  }, e.value);
3870
3936
  }), _ && /* @__PURE__ */ i("span", {
3871
3937
  "aria-hidden": "true",
3872
- className: [Un.indicator, y ? Un["indicator--animated"] : ""].filter(Boolean).join(" "),
3938
+ className: [Xn.indicator, y ? Xn["indicator--animated"] : ""].filter(Boolean).join(" "),
3873
3939
  style: {
3874
3940
  transform: `translateX(${_.left}px)`,
3875
3941
  width: _.width
3876
3942
  }
3877
3943
  })]
3878
3944
  });
3879
- }, Gn = {
3945
+ }, Qn = {
3880
3946
  wrapper: "_wrapper_w6wtp_8",
3881
3947
  bubble: "_bubble_w6wtp_8",
3882
3948
  bubble__title: "_bubble__title_w6wtp_46",
@@ -3898,7 +3964,7 @@ var Un = {
3898
3964
  "caret--center-left": "_caret--center-left_w6wtp_121",
3899
3965
  "bubble--center-right": "_bubble--center-right_w6wtp_131",
3900
3966
  "caret--center-right": "_caret--center-right_w6wtp_139"
3901
- }, Kn = ({ title: t, subtitle: n, pointer: r = "top-center", children: o, className: s }) => {
3967
+ }, $n = ({ title: t, subtitle: n, pointer: r = "top-center", children: o, className: s }) => {
3902
3968
  let [c, l] = e.useState(!1);
3903
3969
  return e.useEffect(() => {
3904
3970
  let e = (e) => {
@@ -3906,24 +3972,24 @@ var Un = {
3906
3972
  };
3907
3973
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
3908
3974
  }, []), /* @__PURE__ */ a("span", {
3909
- className: [Gn.wrapper, s ?? ""].filter(Boolean).join(" "),
3975
+ className: [Qn.wrapper, s ?? ""].filter(Boolean).join(" "),
3910
3976
  "data-dismissed": c || void 0,
3911
3977
  onMouseLeave: () => l(!1),
3912
3978
  onBlur: () => l(!1),
3913
3979
  children: [o, /* @__PURE__ */ a("span", {
3914
3980
  role: "tooltip",
3915
- className: [Gn.bubble, Gn[`bubble--${r}`]].join(" "),
3981
+ className: [Qn.bubble, Qn[`bubble--${r}`]].join(" "),
3916
3982
  children: [
3917
3983
  /* @__PURE__ */ i("span", {
3918
- className: Gn.bubble__title,
3984
+ className: Qn.bubble__title,
3919
3985
  children: t
3920
3986
  }),
3921
3987
  n && /* @__PURE__ */ i("span", {
3922
- className: Gn.bubble__subtitle,
3988
+ className: Qn.bubble__subtitle,
3923
3989
  children: n
3924
3990
  }),
3925
3991
  /* @__PURE__ */ i("span", {
3926
- className: [Gn.caret, Gn[`caret--${r}`]].join(" "),
3992
+ className: [Qn.caret, Qn[`caret--${r}`]].join(" "),
3927
3993
  "aria-hidden": "true"
3928
3994
  })
3929
3995
  ]
@@ -3952,8 +4018,8 @@ var Un = {
3952
4018
  "bar__left--search": "_bar__left--search_yqi1k_84",
3953
4019
  bar__accountChevron: "_bar__accountChevron_yqi1k_98",
3954
4020
  "bar__accountChevron--open": "_bar__accountChevron--open_yqi1k_104"
3955
- }, qn = ({ type: e = "search", density: t = "md", left: n, showToggle: s = !0, onToggle: c, toggleIcon: l = w, showActions: u = !0, showHelp: f = !0, hasUnread: p = !1, rightSlot: m, account: g, accountOpen: _ = !1, avatar: v, title: y, subtitle: b, actions: x, className: S }) => {
3956
- let C = Zt(), T = Zt(), E = t === "md" ? 20 : 18, D = A(E);
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);
3957
4023
  return /* @__PURE__ */ i("header", {
3958
4024
  className: [
3959
4025
  $.bar,
@@ -3978,10 +4044,10 @@ var Un = {
3978
4044
  }),
3979
4045
  /* @__PURE__ */ i("div", { className: $.bar__spacer }),
3980
4046
  x && /* @__PURE__ */ a("div", {
3981
- ref: T.ref,
3982
- ...T.groupProps,
4047
+ ref: w.ref,
4048
+ ...w.groupProps,
3983
4049
  className: $.bar__chatActions,
3984
- children: [T.highlight, x]
4050
+ children: [w.highlight, x]
3985
4051
  })
3986
4052
  ] }) : /* @__PURE__ */ a(r, { children: [
3987
4053
  /* @__PURE__ */ a("div", {
@@ -4017,7 +4083,7 @@ var Un = {
4017
4083
  "data-hover-item": "",
4018
4084
  className: $.bar__icon,
4019
4085
  "aria-label": "Help",
4020
- children: /* @__PURE__ */ i(h, {
4086
+ children: /* @__PURE__ */ i(g, {
4021
4087
  size: E,
4022
4088
  strokeWidth: D
4023
4089
  })
@@ -4040,11 +4106,11 @@ var Un = {
4040
4106
  })
4041
4107
  ]
4042
4108
  }), /* @__PURE__ */ i("span", { className: $.bar__divider })] }),
4043
- g && /* @__PURE__ */ a("div", {
4109
+ h && /* @__PURE__ */ a("div", {
4044
4110
  className: $.bar__account,
4045
- children: [g, /* @__PURE__ */ i(d, {
4111
+ children: [h, /* @__PURE__ */ i(d, {
4046
4112
  size: 16,
4047
- strokeWidth: A(16),
4113
+ strokeWidth: k(16),
4048
4114
  className: [$.bar__accountChevron, _ ? $["bar__accountChevron--open"] : ""].filter(Boolean).join(" ")
4049
4115
  })]
4050
4116
  })
@@ -4054,4 +4120,4 @@ var Un = {
4054
4120
  });
4055
4121
  };
4056
4122
  //#endregion
4057
- export { Ke as $, Vt as A, St as B, nn as C, Kt as D, Zt as E, At as F, ft as G, yt as H, kt as I, rt as J, ot as K, Ot as L, Lt as M, Ft as N, Gt as O, Nt as P, Je as Q, Dt as R, an as S, Qt as T, _t as U, xt as V, mt as W, $e as X, tt as Y, Ze as Z, gn as _, Rn as a, N as at, cn as b, Mn as c, Ce as ct, On as d, he as dt, Ge as et, En as f, me as ft, _n as g, xn as h, Hn as i, ke as it, zt as j, Ht as k, jn as l, be as lt, Cn as m, Kn as n, Be as nt, In as o, Oe as ot, wn as p, A as pt, at as q, Wn as r, Re as rt, Pn as s, Te as st, qn as t, We as tt, An as u, ye as ut, pn as v, en as w, sn as x, dn as y, wt as z };
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 };