@sakaniui/react 0.3.1 → 0.3.3

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, Heart as b, Inbox as x, Minus as S, PanelLeft as C, PanelLeftClose as w, Paperclip as T, Plus as E, 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";
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 ee, Plus as E, Search as D, 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
4
  import { PolarAngleAxis as le, RadialBar as ue, RadialBarChart as de, ResponsiveContainer as fe } from "recharts";
5
5
  import pe, { createPortal as me } from "react-dom";
6
6
  //#region src/lib/iconStrokeWidth.ts
7
- var D = (e, t = 1.5) => 24 / e * t, he = {
7
+ var O = (e, t = 1.5) => 24 / e * t, k = {
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 D = (e, t = 1.5) => 24 / e * t, he = {
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
- }, ge = ({ 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: [he.item, s ?? ""].filter(Boolean).join(" "),
21
+ className: [k.item, s ?? ""].filter(Boolean).join(" "),
22
22
  children: [/* @__PURE__ */ a("button", {
23
23
  type: "button",
24
- className: he.item__header,
24
+ className: k.item__header,
25
25
  "aria-expanded": d,
26
26
  onClick: () => !c && u((e) => !e),
27
27
  children: [/* @__PURE__ */ i("span", {
28
- className: he.item__title,
28
+ className: k.item__title,
29
29
  children: t
30
30
  }), /* @__PURE__ */ i("span", {
31
- className: [he.item__chevron, d ? he["item__chevron--open"] : ""].join(" "),
31
+ className: [k.item__chevron, d ? k["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: D(18),
37
+ strokeWidth: O(18),
38
38
  strokeLinecap: "round",
39
39
  strokeLinejoin: "round",
40
40
  width: 18,
@@ -43,20 +43,20 @@ var D = (e, t = 1.5) => 24 / e * t, he = {
43
43
  })
44
44
  })]
45
45
  }), /* @__PURE__ */ i("div", {
46
- className: [he.item__panelWrap, d ? he["item__panelWrap--open"] : ""].join(" "),
46
+ className: [k.item__panelWrap, d ? k["item__panelWrap--open"] : ""].join(" "),
47
47
  children: /* @__PURE__ */ i("div", {
48
- className: he.item__panel,
48
+ className: k.item__panel,
49
49
  children: /* @__PURE__ */ i("div", {
50
- className: he.item__panelInner,
50
+ className: k.item__panelInner,
51
51
  children: n
52
52
  })
53
53
  })
54
54
  })]
55
55
  });
56
- }, _e = ({ children: e, className: t }) => /* @__PURE__ */ i("div", {
57
- className: [he.accordion, t ?? ""].filter(Boolean).join(" "),
56
+ }, ge = ({ children: e, className: t }) => /* @__PURE__ */ i("div", {
57
+ className: [k.accordion, t ?? ""].filter(Boolean).join(" "),
58
58
  children: e
59
- }), ve = {
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 D = (e, t = 1.5) => 24 / e * t, he = {
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
- }, ye = {
69
+ }, ve = {
70
70
  sm: 14,
71
71
  md: 18,
72
72
  lg: 22,
73
73
  xl: 26
74
- }, be = ({ 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: D(e),
78
+ strokeWidth: O(e),
79
79
  strokeLinecap: "round",
80
80
  strokeLinejoin: "round",
81
81
  "aria-hidden": "true",
@@ -84,18 +84,18 @@ var D = (e, t = 1.5) => 24 / e * t, he = {
84
84
  cy: "7",
85
85
  r: "4"
86
86
  })]
87
- }), xe = ({ 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
- ve.avatar,
90
- ve[`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, ve["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: ve.avatar__image
98
+ className: _e.avatar__image
99
99
  })
100
100
  });
101
101
  if (a) return /* @__PURE__ */ i("span", {
@@ -103,24 +103,24 @@ var D = (e, t = 1.5) => 24 / e * t, he = {
103
103
  role: "img",
104
104
  "aria-label": r || a,
105
105
  children: /* @__PURE__ */ i("span", {
106
- className: ve.avatar__initials,
106
+ className: _e.avatar__initials,
107
107
  children: a.slice(0, 2).toUpperCase()
108
108
  })
109
109
  });
110
- let l = ye[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: D(l)
113
- }) : o ?? /* @__PURE__ */ i(be, { px: l });
112
+ strokeWidth: O(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: ve.avatar__icon,
119
+ className: _e.avatar__icon,
120
120
  children: u
121
121
  })
122
122
  });
123
- }, O = {
123
+ }, A = {
124
124
  feed: "_feed_1pvgl_1",
125
125
  "feed--compact": "_feed--compact_1pvgl_8",
126
126
  "row--default": "_row--default_1pvgl_13",
@@ -135,35 +135,35 @@ var D = (e, t = 1.5) => 24 / e * t, he = {
135
135
  actor: "_actor_1pvgl_88",
136
136
  highlight: "_highlight_1pvgl_89",
137
137
  timestamp: "_timestamp_1pvgl_92"
138
- }, Se = ({ children: e }) => /* @__PURE__ */ i("span", {
139
- className: O.highlight,
138
+ }, xe = ({ children: e }) => /* @__PURE__ */ i("span", {
139
+ className: A.highlight,
140
140
  children: e
141
- }), Ce = 16, we = (t) => e.isValidElement(t) ? e.cloneElement(t, {
142
- size: Ce,
143
- strokeWidth: D(Ce)
144
- }) : t, Te = ({ items: e, variant: t = "default", className: n }) => {
141
+ }), Se = 16, Ce = (t) => e.isValidElement(t) ? e.cloneElement(t, {
142
+ size: Se,
143
+ strokeWidth: O(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: [
148
- O.feed,
149
- r ? O["feed--compact"] : "",
148
+ A.feed,
149
+ r ? A["feed--compact"] : "",
150
150
  n ?? ""
151
151
  ].filter(Boolean).join(" "),
152
152
  children: e.map((t, n) => {
153
153
  let o = n === e.length - 1, s = t.id ?? n;
154
154
  return r ? /* @__PURE__ */ a("div", {
155
- className: O["row--compact"],
155
+ className: A["row--compact"],
156
156
  children: [/* @__PURE__ */ a("div", {
157
- className: O.compactLeft,
158
- children: [/* @__PURE__ */ i(xe, {
157
+ className: A.compactLeft,
158
+ children: [/* @__PURE__ */ i(be, {
159
159
  size: "sm",
160
160
  src: t.avatarSrc,
161
161
  alt: t.avatarAlt ?? t.actor
162
162
  }), /* @__PURE__ */ a("p", {
163
- className: O.text,
163
+ className: A.text,
164
164
  children: [
165
165
  /* @__PURE__ */ i("span", {
166
- className: O.actor,
166
+ className: A.actor,
167
167
  children: t.actor
168
168
  }),
169
169
  " ",
@@ -171,49 +171,49 @@ var D = (e, t = 1.5) => 24 / e * t, he = {
171
171
  ]
172
172
  })]
173
173
  }), /* @__PURE__ */ i("span", {
174
- className: O.timestamp,
174
+ className: A.timestamp,
175
175
  children: t.timestamp
176
176
  })]
177
177
  }, s) : /* @__PURE__ */ a("div", {
178
- className: O["row--default"],
178
+ className: A["row--default"],
179
179
  children: [/* @__PURE__ */ a("div", {
180
- className: O.rail,
180
+ className: A.rail,
181
181
  children: [/* @__PURE__ */ i("div", {
182
- className: O.dot,
183
- children: we(t.icon)
184
- }), !o && /* @__PURE__ */ i("div", { className: O.connector })]
182
+ className: A.dot,
183
+ children: Ce(t.icon)
184
+ }), !o && /* @__PURE__ */ i("div", { className: A.connector })]
185
185
  }), /* @__PURE__ */ a("div", {
186
- className: [O.content, o ? "" : O["content--spaced"]].filter(Boolean).join(" "),
186
+ className: [A.content, o ? "" : A["content--spaced"]].filter(Boolean).join(" "),
187
187
  children: [/* @__PURE__ */ a("p", {
188
- className: O.text,
188
+ className: A.text,
189
189
  children: [
190
190
  /* @__PURE__ */ i("span", {
191
- className: O.actor,
191
+ className: A.actor,
192
192
  children: t.actor
193
193
  }),
194
194
  " ",
195
195
  t.description
196
196
  ]
197
197
  }), /* @__PURE__ */ i("span", {
198
- className: O.timestamp,
198
+ className: A.timestamp,
199
199
  children: t.timestamp
200
200
  })]
201
201
  })]
202
202
  }, s);
203
203
  })
204
204
  });
205
- }, Ee = {
205
+ }, Te = {
206
206
  link: "_link_1g7dc_3",
207
207
  link__external: "_link__external_1g7dc_34"
208
- }, De = 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: [Ee.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: Ee.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 D = (e, t = 1.5) => 24 / e * t, he = {
221
221
  viewBox: "0 0 24 24",
222
222
  fill: "none",
223
223
  stroke: "currentColor",
224
- strokeWidth: D(12),
224
+ strokeWidth: O(12),
225
225
  strokeLinecap: "round",
226
226
  strokeLinejoin: "round",
227
227
  "aria-hidden": "true",
@@ -238,8 +238,8 @@ var D = (e, t = 1.5) => 24 / e * t, he = {
238
238
  })
239
239
  })]
240
240
  }));
241
- De.displayName = "Link";
242
- var Oe = {
241
+ Ee.displayName = "Link";
242
+ var De = {
243
243
  button: "_button_1ls4o_2",
244
244
  "button--sm": "_button--sm_1ls4o_18",
245
245
  "button--md": "_button--md_1ls4o_19",
@@ -249,28 +249,28 @@ var Oe = {
249
249
  "button--outline": "_button--outline_1ls4o_35",
250
250
  "button--ghost": "_button--ghost_1ls4o_40",
251
251
  "button--destructive": "_button--destructive_1ls4o_45"
252
- }, ke = {
252
+ }, Oe = {
253
253
  sm: 16,
254
254
  md: 18,
255
255
  lg: 20
256
- }, Ae = 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
- Oe.button,
261
- Oe[`button--${t}`],
262
- Oe[`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: ke[n],
268
- strokeWidth: D(ke[n]),
267
+ size: Oe[n],
268
+ strokeWidth: O(Oe[n]),
269
269
  "aria-hidden": "true"
270
270
  })
271
271
  }));
272
- Ae.displayName = "IconButton";
273
- var k = {
272
+ ke.displayName = "IconButton";
273
+ var j = {
274
274
  button: "_button_17bv9_21",
275
275
  "button--primary": "_button--primary_17bv9_72",
276
276
  "button--secondary": "_button--secondary_17bv9_99",
@@ -287,17 +287,17 @@ var k = {
287
287
  "button--loading": "_button--loading_17bv9_251",
288
288
  button__spinner: "_button__spinner_17bv9_255",
289
289
  "sakani-btn-spin": "_sakani-btn-spin_17bv9_1"
290
- }, A = e.forwardRef(({ variant: e = "primary", size: t = "md", leftIcon: n, rightIcon: r, loading: o = !1, disabled: s, children: c, className: l, ...u }, d) => {
290
+ }, M = e.forwardRef(({ variant: e = "primary", size: t = "md", leftIcon: n, rightIcon: r, loading: o = !1, disabled: s, children: c, className: l, ...u }, d) => {
291
291
  let f = s || o;
292
292
  return /* @__PURE__ */ a("button", {
293
293
  ref: d,
294
294
  className: [
295
- k.button,
296
- k[`button--${e}`],
297
- k[`button--${t}`],
298
- o ? k["button--loading"] : "",
299
- n && !o ? k["button--hasLeftIcon"] : "",
300
- r && !o ? k["button--hasRightIcon"] : "",
295
+ j.button,
296
+ j[`button--${e}`],
297
+ j[`button--${t}`],
298
+ o ? j["button--loading"] : "",
299
+ n && !o ? j["button--hasLeftIcon"] : "",
300
+ r && !o ? j["button--hasRightIcon"] : "",
301
301
  l ?? ""
302
302
  ].filter(Boolean).join(" "),
303
303
  disabled: f,
@@ -305,7 +305,7 @@ var k = {
305
305
  ...u,
306
306
  children: [
307
307
  o && /* @__PURE__ */ i("span", {
308
- className: [k.button__icon, k.button__spinner].join(" "),
308
+ className: [j.button__icon, j.button__spinner].join(" "),
309
309
  "aria-hidden": "true",
310
310
  children: /* @__PURE__ */ i("svg", {
311
311
  viewBox: "0 0 24 24",
@@ -317,24 +317,24 @@ var k = {
317
317
  })
318
318
  }),
319
319
  n && !o && /* @__PURE__ */ i("span", {
320
- className: k.button__icon,
320
+ className: j.button__icon,
321
321
  "aria-hidden": "true",
322
322
  children: n
323
323
  }),
324
324
  /* @__PURE__ */ i("span", {
325
- className: k.button__label,
325
+ className: j.button__label,
326
326
  children: c
327
327
  }),
328
328
  r && !o && /* @__PURE__ */ i("span", {
329
- className: k.button__icon,
329
+ className: j.button__icon,
330
330
  "aria-hidden": "true",
331
331
  children: r
332
332
  })
333
333
  ]
334
334
  });
335
335
  });
336
- A.displayName = "Button";
337
- var j = {
336
+ M.displayName = "Button";
337
+ var N = {
338
338
  wrap: "_wrap_3mj75_1",
339
339
  "wrap--vertical": "_wrap--vertical_3mj75_7",
340
340
  "wrap--horizontal": "_wrap--horizontal_3mj75_11",
@@ -348,47 +348,47 @@ var j = {
348
348
  hint: "_hint_3mj75_79",
349
349
  link: "_link_3mj75_88",
350
350
  input: "_input_3mj75_92"
351
- }, je = ({ 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", {
355
- className: [j.textStack, v ? "" : j["textStack--center"]].filter(Boolean).join(" "),
355
+ className: [N.textStack, v ? "" : N["textStack--center"]].filter(Boolean).join(" "),
356
356
  children: [/* @__PURE__ */ i("p", {
357
- className: j.title,
357
+ className: N.title,
358
358
  children: s
359
359
  }), /* @__PURE__ */ i("p", {
360
- className: j.hint,
360
+ className: N.hint,
361
361
  children: l
362
362
  })]
363
363
  });
364
364
  return /* @__PURE__ */ a("div", {
365
365
  className: [
366
- j.wrap,
367
- j[`wrap--${r}`],
366
+ N.wrap,
367
+ N[`wrap--${r}`],
368
368
  f ?? ""
369
369
  ].filter(Boolean).join(" "),
370
370
  children: [
371
371
  /* @__PURE__ */ a("div", {
372
- className: j.circleWrap,
373
- children: [/* @__PURE__ */ i(xe, {
372
+ className: N.circleWrap,
373
+ children: [/* @__PURE__ */ i(be, {
374
374
  size: v ? "lg" : "xl",
375
375
  src: _,
376
376
  alt: n,
377
- className: v ? void 0 : j.bigAvatar
377
+ className: v ? void 0 : N.bigAvatar
378
378
  }), !v && /* @__PURE__ */ i("button", {
379
379
  type: "button",
380
- className: j.badge,
380
+ className: N.badge,
381
381
  onClick: b,
382
382
  "aria-label": "Change photo",
383
383
  children: /* @__PURE__ */ i(c, {
384
384
  size: 16,
385
- strokeWidth: D(16)
385
+ strokeWidth: O(16)
386
386
  })
387
387
  })]
388
388
  }),
389
389
  v && /* @__PURE__ */ a("div", {
390
- className: j.horizontalContent,
391
- children: [S, y ? /* @__PURE__ */ i(A, {
390
+ className: N.horizontalContent,
391
+ children: [S, y ? /* @__PURE__ */ i(M, {
392
392
  variant: "outline",
393
393
  size: "sm",
394
394
  onClick: x,
@@ -397,19 +397,19 @@ var j = {
397
397
  borderColor: "var(--color-danger-border)"
398
398
  },
399
399
  children: "Remove"
400
- }) : /* @__PURE__ */ i(A, {
400
+ }) : /* @__PURE__ */ i(M, {
401
401
  variant: "outline",
402
402
  size: "sm",
403
403
  onClick: b,
404
404
  children: "Upload"
405
405
  })]
406
406
  }),
407
- !v && (y ? /* @__PURE__ */ i(De, {
407
+ !v && (y ? /* @__PURE__ */ i(Ee, {
408
408
  href: "#",
409
409
  onClick: (e) => {
410
410
  e.preventDefault(), b();
411
411
  },
412
- className: j.link,
412
+ className: N.link,
413
413
  style: {
414
414
  color: "var(--color-brand-fg)",
415
415
  fontSize: 16,
@@ -421,7 +421,7 @@ var j = {
421
421
  ref: p,
422
422
  type: "file",
423
423
  accept: o,
424
- className: j.input,
424
+ className: N.input,
425
425
  onChange: (e) => {
426
426
  let t = e.target.files?.[0];
427
427
  t && (u?.(t), m || g(URL.createObjectURL(t))), e.target.value = "";
@@ -432,10 +432,11 @@ var j = {
432
432
  };
433
433
  //#endregion
434
434
  //#region src/lib/useThemeTick.ts
435
- function Me() {
435
+ function je() {
436
436
  let [e, r] = n(0);
437
437
  return t(() => {
438
438
  if (typeof document > "u") return;
439
+ r((e) => e + 1);
439
440
  let e = new MutationObserver(() => r((e) => e + 1));
440
441
  return e.observe(document.documentElement, {
441
442
  attributes: !0,
@@ -443,7 +444,7 @@ function Me() {
443
444
  }), () => e.disconnect();
444
445
  }, []), e;
445
446
  }
446
- var M = {
447
+ var P = {
447
448
  balance: "_balance_kaxp5_1",
448
449
  "balance--progress": "_balance--progress_kaxp5_8",
449
450
  content: "_content_kaxp5_17",
@@ -461,14 +462,14 @@ var M = {
461
462
  changeValue__down: "_changeValue__down_kaxp5_117",
462
463
  changeLabel: "_changeLabel_kaxp5_124",
463
464
  ringCard: "_ringCard_kaxp5_132"
464
- }, Ne = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", Pe = 8, Fe = 6, Ie = 90, Le = (e) => {
465
- let t = Math.min(e, Pe);
466
- return Array.from({ length: t }, () => Ne[Math.floor(Math.random() * 36)]).join("");
467
- }, Re = (e) => typeof window < "u" && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || void 0, ze = ({ progress: e }) => {
468
- Me();
469
- let t = Re("--color-chart-1") ?? "#ff4700", n = Re("--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)) }];
470
471
  return /* @__PURE__ */ i("div", {
471
- className: M.ringCard,
472
+ className: P.ringCard,
472
473
  children: /* @__PURE__ */ i(fe, {
473
474
  width: 64,
474
475
  height: 64,
@@ -494,7 +495,7 @@ var M = {
494
495
  })
495
496
  })
496
497
  });
497
- }, Be = ({ label: t = "Available balance", value: n, change: r, progress: o, hidden: s, onToggleHidden: c, className: l }) => {
498
+ }, ze = ({ label: t = "Available balance", value: n, change: r, progress: o, hidden: s, onToggleHidden: c, className: l }) => {
498
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, y = () => {
499
500
  let e = !p;
500
501
  c?.(e), u || f(e);
@@ -503,53 +504,53 @@ var M = {
503
504
  if (p && !w.current) {
504
505
  x(!0);
505
506
  let e = 0, t = setInterval(() => {
506
- e += 1, C((e) => e + 1), e >= Fe && (clearInterval(t), x(!1));
507
- }, Ie);
507
+ e += 1, C((e) => e + 1), e >= Pe && (clearInterval(t), x(!1));
508
+ }, Fe);
508
509
  return w.current = !0, () => clearInterval(t);
509
510
  }
510
511
  w.current = p;
511
512
  }, [p]);
512
- let T = e.useMemo(() => Le(n.length), [n, S]), E = e.useMemo(() => r ? Le(r.value.length) : "", [r?.value, S]), ee = /* @__PURE__ */ a("div", {
513
- className: M.content,
513
+ let T = e.useMemo(() => Ie(n.length), [n, S]), ee = e.useMemo(() => r ? Ie(r.value.length) : "", [r?.value, S]), E = /* @__PURE__ */ a("div", {
514
+ className: P.content,
514
515
  children: [
515
516
  /* @__PURE__ */ a("div", {
516
- className: M.labelRow,
517
+ className: P.labelRow,
517
518
  children: [/* @__PURE__ */ i("p", {
518
- className: M.label,
519
+ className: P.label,
519
520
  children: t
520
521
  }), /* @__PURE__ */ i("button", {
521
522
  type: "button",
522
- className: M.hideToggle,
523
+ className: P.hideToggle,
523
524
  "aria-label": p ? "Show balance" : "Hide balance",
524
525
  onClick: y,
525
526
  children: i(p ? v : _, {
526
527
  size: 16,
527
- strokeWidth: D(16)
528
+ strokeWidth: O(16)
528
529
  })
529
530
  })]
530
531
  }),
531
532
  /* @__PURE__ */ i("p", {
532
533
  className: [
533
- M.value,
534
- p ? M["value--hidden"] : "",
535
- b ? M["value--glitching"] : ""
534
+ P.value,
535
+ p ? P["value--hidden"] : "",
536
+ b ? P["value--glitching"] : ""
536
537
  ].filter(Boolean).join(" "),
537
538
  children: p ? T : n
538
539
  }),
539
540
  r && /* @__PURE__ */ a("div", {
540
- className: M.changeRow,
541
+ className: P.changeRow,
541
542
  children: [
542
543
  /* @__PURE__ */ i(g, {
543
544
  size: 24,
544
545
  strokeWidth: 1.5,
545
- className: h === "up" ? M.trendIcon__up : M.trendIcon__down
546
+ className: h === "up" ? P.trendIcon__up : P.trendIcon__down
546
547
  }),
547
548
  /* @__PURE__ */ i("span", {
548
- className: [h === "up" ? M.changeValue__up : M.changeValue__down, b ? M["value--glitching"] : ""].filter(Boolean).join(" "),
549
- children: p ? E : r.value
549
+ className: [h === "up" ? P.changeValue__up : P.changeValue__down, b ? P["value--glitching"] : ""].filter(Boolean).join(" "),
550
+ children: p ? ee : r.value
550
551
  }),
551
552
  /* @__PURE__ */ i("span", {
552
- className: M.changeLabel,
553
+ className: P.changeLabel,
553
554
  children: r.label ?? "this month"
554
555
  })
555
556
  ]
@@ -558,13 +559,13 @@ var M = {
558
559
  });
559
560
  return /* @__PURE__ */ a("div", {
560
561
  className: [
561
- M.balance,
562
- m ? M["balance--progress"] : "",
562
+ P.balance,
563
+ m ? P["balance--progress"] : "",
563
564
  l ?? ""
564
565
  ].filter(Boolean).join(" "),
565
- children: [m && /* @__PURE__ */ i(ze, { progress: o }), ee]
566
+ children: [m && /* @__PURE__ */ i(Re, { progress: o }), E]
566
567
  });
567
- }, Ve = {
568
+ }, Be = {
568
569
  progress: "_progress_1qaz4_11",
569
570
  "progress--sm": "_progress--sm_1qaz4_20",
570
571
  "progress--md": "_progress--md_1qaz4_21",
@@ -572,7 +573,7 @@ var M = {
572
573
  progress__fill: "_progress__fill_1qaz4_25",
573
574
  "progress__fill--indeterminate": "_progress__fill--indeterminate_1qaz4_33",
574
575
  "progress-scan": "_progress-scan_1qaz4_1"
575
- }, He = ({ value: e, size: t = "md", label: n = "Progress", className: r }) => {
576
+ }, Ve = ({ value: e, size: t = "md", label: n = "Progress", className: r }) => {
576
577
  let a = e === void 0, o = Math.min(100, Math.max(0, e ?? 0));
577
578
  return /* @__PURE__ */ i("div", {
578
579
  role: "progressbar",
@@ -581,49 +582,72 @@ var M = {
581
582
  "aria-valuemin": 0,
582
583
  "aria-valuemax": 100,
583
584
  className: [
584
- Ve.progress,
585
- Ve[`progress--${t}`],
585
+ Be.progress,
586
+ Be[`progress--${t}`],
586
587
  r ?? ""
587
588
  ].filter(Boolean).join(" "),
588
589
  children: /* @__PURE__ */ i("div", {
589
- className: [Ve.progress__fill, a ? Ve["progress__fill--indeterminate"] : ""].filter(Boolean).join(" "),
590
+ className: [Be.progress__fill, a ? Be["progress__fill--indeterminate"] : ""].filter(Boolean).join(" "),
590
591
  style: a ? void 0 : { width: `${o}%` }
591
592
  })
592
593
  });
593
- }, Ue = {
594
+ }, He = ["dark", "force-light"];
595
+ function Ue(e, r) {
596
+ let [i, a] = n("");
597
+ return t(() => {
598
+ if (!r || typeof document > "u") return;
599
+ let t = e.current;
600
+ if (!t) return;
601
+ let n = t.closest(He.map((e) => `.${e}`).join(", ")), i = n ? He.find((e) => n.classList.contains(e)) ?? "" : "";
602
+ a(i);
603
+ }, [e, r]), i;
604
+ }
605
+ var We = {
594
606
  "divider--horizontal": "_divider--horizontal_nem37_4",
595
607
  "divider--labeled": "_divider--labeled_nem37_13",
596
608
  "divider--vertical": "_divider--vertical_nem37_27",
597
609
  divider__label: "_divider__label_nem37_38"
598
- }, We = ({ orientation: e = "horizontal", label: t, className: n }) => /* @__PURE__ */ i("div", {
610
+ }, Ge = ({ orientation: e = "horizontal", label: t, className: n }) => /* @__PURE__ */ i("div", {
599
611
  role: "separator",
600
612
  "aria-orientation": e,
601
613
  className: [
602
- Ue.divider,
603
- Ue[`divider--${e}`],
604
- t ? Ue["divider--labeled"] : "",
614
+ We.divider,
615
+ We[`divider--${e}`],
616
+ t ? We["divider--labeled"] : "",
605
617
  n ?? ""
606
618
  ].filter(Boolean).join(" "),
607
619
  children: t && e === "horizontal" && /* @__PURE__ */ i("span", {
608
- className: Ue.divider__label,
620
+ className: We.divider__label,
609
621
  children: t
610
622
  })
611
- }), Ge = {
612
- backdrop: "_backdrop_7uc99_1",
613
- card: "_card_7uc99_12",
614
- header: "_header_7uc99_32",
615
- titleGroup: "_titleGroup_7uc99_40",
616
- iconWrap: "_iconWrap_7uc99_47",
617
- icon: "_icon_7uc99_47",
618
- title: "_title_7uc99_40",
619
- description: "_description_7uc99_73",
620
- footer: "_footer_7uc99_81",
621
- "footer--between": "_footer--between_7uc99_92"
623
+ }), F = {
624
+ backdrop: "_backdrop_123ke_1",
625
+ card: "_card_123ke_12",
626
+ header: "_header_123ke_32",
627
+ titleGroup: "_titleGroup_123ke_40",
628
+ iconWrap: "_iconWrap_123ke_47",
629
+ icon: "_icon_123ke_47",
630
+ title: "_title_123ke_40",
631
+ description: "_description_123ke_73",
632
+ footer: "_footer_123ke_81",
633
+ "footer--between": "_footer--between_123ke_92",
634
+ "backdrop--entering": "_backdrop--entering_123ke_110",
635
+ "sakani-modal-backdrop-in": "_sakani-modal-backdrop-in_123ke_1",
636
+ "backdrop--exiting": "_backdrop--exiting_123ke_111",
637
+ "sakani-modal-backdrop-out": "_sakani-modal-backdrop-out_123ke_1",
638
+ "card--entering": "_card--entering_123ke_112",
639
+ "sakani-modal-card-in": "_sakani-modal-card-in_123ke_1",
640
+ "card--exiting": "_card--exiting_123ke_113",
641
+ "sakani-modal-card-out": "_sakani-modal-card-out_123ke_1"
622
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 }) => {
623
- let S = c === "destructive", C = e.useRef(null), w = e.useRef(null), T = e.useRef(null), [E, ee] = e.useState(!1);
643
+ let S = c === "destructive", C = e.useRef(null), w = e.useRef(null), T = e.useRef(null), ee = Ue(T, t), [E, D] = e.useState(!1);
624
644
  return e.useEffect(() => {
625
- t && ee(!!T.current?.closest(".dark"));
645
+ t && D(!0);
626
646
  }, [t]), e.useEffect(() => {
647
+ if (t || !E) return;
648
+ let e = setTimeout(() => D(!1), 240);
649
+ return () => clearTimeout(e);
650
+ }, [t, E]), e.useEffect(() => {
627
651
  if (!t) return;
628
652
  let e = (e) => {
629
653
  if (h && e.key === "Escape") {
@@ -652,8 +676,12 @@ var M = {
652
676
  ref: T,
653
677
  style: { display: "none" },
654
678
  "aria-hidden": "true"
655
- }), t && me(/* @__PURE__ */ i("div", {
656
- className: [Ge.backdrop, E ? "dark" : ""].filter(Boolean).join(" "),
679
+ }), E && me(/* @__PURE__ */ i("div", {
680
+ className: [
681
+ F.backdrop,
682
+ ee,
683
+ t ? F["backdrop--entering"] : F["backdrop--exiting"]
684
+ ].filter(Boolean).join(" "),
657
685
  onMouseDown: (e) => {
658
686
  g && e.target === e.currentTarget && n();
659
687
  },
@@ -664,26 +692,33 @@ var M = {
664
692
  "aria-labelledby": v ? void 0 : "modal-title",
665
693
  "aria-label": v ? o : void 0,
666
694
  tabIndex: -1,
667
- className: [Ge.card, x ?? ""].filter(Boolean).join(" "),
695
+ className: [
696
+ F.card,
697
+ t ? F["card--entering"] : F["card--exiting"],
698
+ x ?? ""
699
+ ].filter(Boolean).join(" "),
700
+ onAnimationEnd: (e) => {
701
+ e.target === e.currentTarget && !t && D(!1);
702
+ },
668
703
  children: [
669
704
  !v && /* @__PURE__ */ a("div", {
670
- className: Ge.header,
705
+ className: F.header,
671
706
  children: [/* @__PURE__ */ a("div", {
672
- className: Ge.titleGroup,
707
+ className: F.titleGroup,
673
708
  children: [S && /* @__PURE__ */ i("span", {
674
- className: Ge.iconWrap,
709
+ className: F.iconWrap,
675
710
  "aria-hidden": "true",
676
711
  children: l ?? /* @__PURE__ */ i(se, {
677
712
  size: 24,
678
- strokeWidth: D(24),
679
- className: Ge.icon
713
+ strokeWidth: O(24),
714
+ className: F.icon
680
715
  })
681
716
  }), /* @__PURE__ */ i("p", {
682
717
  id: "modal-title",
683
- className: Ge.title,
718
+ className: F.title,
684
719
  children: o
685
720
  })]
686
- }), /* @__PURE__ */ i(Ae, {
721
+ }), /* @__PURE__ */ i(ke, {
687
722
  icon: ce,
688
723
  variant: "ghost",
689
724
  size: "lg",
@@ -692,19 +727,19 @@ var M = {
692
727
  })]
693
728
  }),
694
729
  s && /* @__PURE__ */ i("p", {
695
- className: Ge.description,
730
+ className: F.description,
696
731
  children: s
697
732
  }),
698
733
  _,
699
- !y && /* @__PURE__ */ i(We, {}),
734
+ !y && /* @__PURE__ */ i(Ge, {}),
700
735
  /* @__PURE__ */ a("div", {
701
- className: [Ge.footer, b === "between" ? Ge["footer--between"] : ""].filter(Boolean).join(" "),
702
- children: [/* @__PURE__ */ i(A, {
736
+ className: [F.footer, b === "between" ? F["footer--between"] : ""].filter(Boolean).join(" "),
737
+ children: [/* @__PURE__ */ i(M, {
703
738
  variant: "secondary",
704
739
  onClick: () => (f ?? n)(),
705
740
  style: { borderColor: "transparent" },
706
741
  children: u
707
- }), /* @__PURE__ */ i(A, {
742
+ }), /* @__PURE__ */ i(M, {
708
743
  variant: S ? "destructive" : "primary",
709
744
  onClick: p,
710
745
  loading: m,
@@ -714,7 +749,7 @@ var M = {
714
749
  ]
715
750
  })
716
751
  }), document.body)] });
717
- }, N = {
752
+ }, I = {
718
753
  row: "_row_88l3n_2",
719
754
  "row--unread": "_row--unread_88l3n_12",
720
755
  iconWrapSurface: "_iconWrapSurface_88l3n_17",
@@ -731,29 +766,29 @@ var M = {
731
766
  }, qe = ({ icon: e, title: t, timestamp: n, read: r = !1, description: s, onDismiss: c, dismissLabel: l = "Dismiss", actionLabel: u, onAction: d, className: f }) => {
732
767
  let p = s !== void 0, m = !r && !p, h = e ?? /* @__PURE__ */ i(o, {
733
768
  size: 24,
734
- strokeWidth: D(24)
769
+ strokeWidth: O(24)
735
770
  });
736
771
  return p ? /* @__PURE__ */ a("div", {
737
- className: [N.card, f ?? ""].filter(Boolean).join(" "),
772
+ className: [I.card, f ?? ""].filter(Boolean).join(" "),
738
773
  children: [/* @__PURE__ */ a("div", {
739
- className: N.cardTop,
774
+ className: I.cardTop,
740
775
  children: [
741
776
  /* @__PURE__ */ i("span", {
742
- className: N.iconWrapCanvas,
777
+ className: I.iconWrapCanvas,
743
778
  "aria-hidden": "true",
744
779
  children: h
745
780
  }),
746
781
  /* @__PURE__ */ a("div", {
747
- className: N.content,
782
+ className: I.content,
748
783
  children: [/* @__PURE__ */ i("p", {
749
- className: N.titleBold,
784
+ className: I.titleBold,
750
785
  children: t
751
786
  }), /* @__PURE__ */ i("p", {
752
- className: N.description,
787
+ className: I.description,
753
788
  children: s
754
789
  })]
755
790
  }),
756
- c && /* @__PURE__ */ i(Ae, {
791
+ c && /* @__PURE__ */ i(ke, {
757
792
  icon: ce,
758
793
  variant: "ghost",
759
794
  size: "sm",
@@ -762,13 +797,13 @@ var M = {
762
797
  })
763
798
  ]
764
799
  }), /* @__PURE__ */ a("div", {
765
- className: N.actions,
766
- children: [c && /* @__PURE__ */ i(A, {
800
+ className: I.actions,
801
+ children: [c && /* @__PURE__ */ i(M, {
767
802
  variant: "ghost",
768
803
  size: "sm",
769
804
  onClick: c,
770
805
  children: l
771
- }), u && /* @__PURE__ */ i(A, {
806
+ }), u && /* @__PURE__ */ i(M, {
772
807
  variant: "secondary",
773
808
  size: "sm",
774
809
  onClick: d,
@@ -777,25 +812,25 @@ var M = {
777
812
  })]
778
813
  })]
779
814
  }) : /* @__PURE__ */ a("div", {
780
- className: [N.row, m ? N["row--unread"] : ""].filter(Boolean).join(" "),
815
+ className: [I.row, m ? I["row--unread"] : ""].filter(Boolean).join(" "),
781
816
  children: [
782
817
  /* @__PURE__ */ i("span", {
783
- className: N.iconWrapSurface,
818
+ className: I.iconWrapSurface,
784
819
  "aria-hidden": "true",
785
820
  children: h
786
821
  }),
787
822
  /* @__PURE__ */ a("div", {
788
- className: N.content,
823
+ className: I.content,
789
824
  children: [/* @__PURE__ */ i("p", {
790
- className: m ? N.titleBold : N.titleMuted,
825
+ className: m ? I.titleBold : I.titleMuted,
791
826
  children: t
792
827
  }), n && /* @__PURE__ */ i("p", {
793
- className: N.timestamp,
828
+ className: I.timestamp,
794
829
  children: n
795
830
  })]
796
831
  }),
797
832
  m && /* @__PURE__ */ i("span", {
798
- className: N.dot,
833
+ className: I.dot,
799
834
  "aria-hidden": "true"
800
835
  })
801
836
  ]
@@ -816,7 +851,7 @@ var M = {
816
851
  className: Je.value,
817
852
  children: t
818
853
  })]
819
- }), /* @__PURE__ */ i(He, {
854
+ }), /* @__PURE__ */ i(Ve, {
820
855
  value: n,
821
856
  size: "lg",
822
857
  label: e
@@ -913,7 +948,7 @@ var M = {
913
948
  children: r
914
949
  })
915
950
  ]
916
- }), P = {
951
+ }), L = {
917
952
  stepper: "_stepper_1w3rz_1",
918
953
  stepBtn: "_stepBtn_1w3rz_10",
919
954
  stepDivider: "_stepDivider_1w3rz_27",
@@ -942,13 +977,13 @@ var M = {
942
977
  let e = setTimeout(() => o(null), 260);
943
978
  return () => clearTimeout(e);
944
979
  }, [r]), /* @__PURE__ */ a("span", {
945
- className: P.roll,
980
+ className: L.roll,
946
981
  children: [r && /* @__PURE__ */ i("span", {
947
- className: [P.rollNum, r.direction === "up" ? P.rollOutUp : P.rollOutDown].join(" "),
982
+ className: [L.rollNum, r.direction === "up" ? L.rollOutUp : L.rollOutDown].join(" "),
948
983
  "aria-hidden": "true",
949
984
  children: r.value
950
985
  }, `out-${r.value}`), /* @__PURE__ */ i("span", {
951
- className: [P.rollNum, r ? r.direction === "up" ? P.rollInUp : P.rollInDown : ""].filter(Boolean).join(" "),
986
+ className: [L.rollNum, r ? r.direction === "up" ? L.rollInUp : L.rollInDown : ""].filter(Boolean).join(" "),
952
987
  onAnimationEnd: () => o(null),
953
988
  children: t
954
989
  }, `in-${t}`)]
@@ -959,33 +994,33 @@ var M = {
959
994
  return r !== void 0 && (t = Math.max(r, t)), o !== void 0 && (t = Math.min(o, t)), t;
960
995
  };
961
996
  return /* @__PURE__ */ a("div", {
962
- className: [P.stepper, c ?? ""].filter(Boolean).join(" "),
997
+ className: [L.stepper, c ?? ""].filter(Boolean).join(" "),
963
998
  role: "group",
964
999
  "aria-label": s,
965
1000
  children: [
966
1001
  /* @__PURE__ */ i("button", {
967
1002
  type: "button",
968
- className: P.stepBtn,
1003
+ className: L.stepBtn,
969
1004
  disabled: !l,
970
1005
  onClick: () => n?.(Math.max(r, t - 1)),
971
1006
  "aria-label": "Decrease quantity",
972
- children: /* @__PURE__ */ i(S, {
1007
+ children: /* @__PURE__ */ i(C, {
973
1008
  size: 14,
974
- strokeWidth: D(14)
1009
+ strokeWidth: O(14)
975
1010
  })
976
1011
  }),
977
1012
  /* @__PURE__ */ i("span", {
978
- className: P.stepDivider,
1013
+ className: L.stepDivider,
979
1014
  "aria-hidden": "true"
980
1015
  }),
981
1016
  /* @__PURE__ */ a("span", {
982
- className: P.stepValue,
1017
+ className: L.stepValue,
983
1018
  children: [/* @__PURE__ */ i("input", {
984
1019
  ref: d,
985
1020
  type: "text",
986
1021
  inputMode: "numeric",
987
1022
  size: Math.max((f ? m : String(t)).length, 1),
988
- className: [P.stepInput, f ? "" : P.stepInputResting].filter(Boolean).join(" "),
1023
+ className: [L.stepInput, f ? "" : L.stepInputResting].filter(Boolean).join(" "),
989
1024
  value: f ? m : String(t),
990
1025
  "aria-label": s,
991
1026
  onFocus: (e) => {
@@ -1004,29 +1039,29 @@ var M = {
1004
1039
  e.key === "Enter" && (e.preventDefault(), d.current?.blur()), e.key === "Escape" && (h(String(t)), d.current?.blur());
1005
1040
  }
1006
1041
  }), /* @__PURE__ */ i("span", {
1007
- className: [P.rollOverlay, f ? P.rollOverlayHidden : ""].filter(Boolean).join(" "),
1042
+ className: [L.rollOverlay, f ? L.rollOverlayHidden : ""].filter(Boolean).join(" "),
1008
1043
  "aria-hidden": "true",
1009
1044
  children: /* @__PURE__ */ i(tt, { value: t })
1010
1045
  })]
1011
1046
  }),
1012
1047
  /* @__PURE__ */ i("span", {
1013
- className: P.stepDivider,
1048
+ className: L.stepDivider,
1014
1049
  "aria-hidden": "true"
1015
1050
  }),
1016
1051
  /* @__PURE__ */ i("button", {
1017
1052
  type: "button",
1018
- className: P.stepBtn,
1053
+ className: L.stepBtn,
1019
1054
  disabled: !u,
1020
1055
  onClick: () => n?.(o === void 0 ? t + 1 : Math.min(o, t + 1)),
1021
1056
  "aria-label": "Increase quantity",
1022
1057
  children: /* @__PURE__ */ i(E, {
1023
1058
  size: 14,
1024
- strokeWidth: D(14)
1059
+ strokeWidth: O(14)
1025
1060
  })
1026
1061
  })
1027
1062
  ]
1028
1063
  });
1029
- }, F = {
1064
+ }, R = {
1030
1065
  item: "_item_15jww_1",
1031
1066
  thumb: "_thumb_15jww_11",
1032
1067
  info: "_info_15jww_19",
@@ -1043,22 +1078,22 @@ var M = {
1043
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 }) => {
1044
1079
  let g = s !== void 0;
1045
1080
  return /* @__PURE__ */ a("div", {
1046
- className: [F.item, h ?? ""].filter(Boolean).join(" "),
1081
+ className: [R.item, h ?? ""].filter(Boolean).join(" "),
1047
1082
  children: [
1048
1083
  /* @__PURE__ */ i("img", {
1049
1084
  src: e,
1050
1085
  alt: t ?? n,
1051
- className: F.thumb
1086
+ className: R.thumb
1052
1087
  }),
1053
1088
  /* @__PURE__ */ a("div", {
1054
- className: F.info,
1089
+ className: R.info,
1055
1090
  children: [
1056
1091
  /* @__PURE__ */ i("p", {
1057
- className: F.name,
1092
+ className: R.name,
1058
1093
  children: n
1059
1094
  }),
1060
1095
  r && /* @__PURE__ */ i("p", {
1061
- className: F.variant,
1096
+ className: R.variant,
1062
1097
  children: r
1063
1098
  }),
1064
1099
  /* @__PURE__ */ i(nt, {
@@ -1071,21 +1106,21 @@ var M = {
1071
1106
  ]
1072
1107
  }),
1073
1108
  /* @__PURE__ */ a("div", {
1074
- className: F.right,
1109
+ className: R.right,
1075
1110
  children: [g ? /* @__PURE__ */ a("div", {
1076
- className: F.priceRow,
1111
+ className: R.priceRow,
1077
1112
  children: [/* @__PURE__ */ i("span", {
1078
- className: F.priceOriginal,
1113
+ className: R.priceOriginal,
1079
1114
  children: m(s)
1080
1115
  }), /* @__PURE__ */ i("span", {
1081
- className: F.priceSale,
1116
+ className: R.priceSale,
1082
1117
  children: m(o)
1083
1118
  })]
1084
1119
  }) : /* @__PURE__ */ i("p", {
1085
- className: F.price,
1120
+ className: R.price,
1086
1121
  children: m(o)
1087
- }), /* @__PURE__ */ i(Ae, {
1088
- icon: S,
1122
+ }), /* @__PURE__ */ i(ke, {
1123
+ icon: C,
1089
1124
  variant: "outline",
1090
1125
  size: "sm",
1091
1126
  "aria-label": p,
@@ -1094,7 +1129,7 @@ var M = {
1094
1129
  })
1095
1130
  ]
1096
1131
  });
1097
- }, I = {
1132
+ }, at = {
1098
1133
  steps: "_steps_t53um_1",
1099
1134
  step: "_step_t53um_1",
1100
1135
  connector: "_connector_t53um_16",
@@ -1105,74 +1140,74 @@ var M = {
1105
1140
  label: "_label_t53um_49",
1106
1141
  labelActive: "_labelActive_t53um_56",
1107
1142
  labelUpcoming: "_labelUpcoming_t53um_59"
1108
- }, at = [
1143
+ }, ot = [
1109
1144
  "Cart",
1110
1145
  "Shipping",
1111
1146
  "Payment",
1112
1147
  "Confirmation"
1113
- ], ot = ({ steps: t = at, currentStep: n, className: r }) => /* @__PURE__ */ i("div", {
1114
- className: [I.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(" "),
1115
1150
  role: "list",
1116
1151
  children: t.map((r, o) => {
1117
1152
  let s = o < n ? "completed" : o === n ? "active" : "upcoming", c = o === t.length - 1;
1118
1153
  return /* @__PURE__ */ a(e.Fragment, { children: [/* @__PURE__ */ a("div", {
1119
- className: I.step,
1154
+ className: at.step,
1120
1155
  role: "listitem",
1121
1156
  "aria-current": s === "active" ? "step" : void 0,
1122
1157
  children: [/* @__PURE__ */ i("span", {
1123
1158
  className: [
1124
- I.circle,
1125
- s === "completed" ? I.circleCompleted : "",
1126
- s === "active" ? I.circleActive : "",
1127
- s === "upcoming" ? I.circleUpcoming : ""
1159
+ at.circle,
1160
+ s === "completed" ? at.circleCompleted : "",
1161
+ s === "active" ? at.circleActive : "",
1162
+ s === "upcoming" ? at.circleUpcoming : ""
1128
1163
  ].filter(Boolean).join(" "),
1129
1164
  "aria-hidden": "true",
1130
1165
  children: /* @__PURE__ */ i(l, {
1131
1166
  size: 14,
1132
- strokeWidth: D(14)
1167
+ strokeWidth: O(14)
1133
1168
  })
1134
1169
  }), /* @__PURE__ */ i("span", {
1135
1170
  className: [
1136
- I.label,
1137
- s === "active" ? I.labelActive : "",
1138
- s === "upcoming" ? I.labelUpcoming : ""
1171
+ at.label,
1172
+ s === "active" ? at.labelActive : "",
1173
+ s === "upcoming" ? at.labelUpcoming : ""
1139
1174
  ].filter(Boolean).join(" "),
1140
1175
  children: r
1141
1176
  })]
1142
1177
  }), !c && /* @__PURE__ */ i("span", {
1143
- className: I.connector,
1178
+ className: at.connector,
1144
1179
  "aria-hidden": "true"
1145
1180
  })] }, r);
1146
1181
  })
1147
- }), st = "#fafaf9", ct = "#141414", lt = (e, t, n) => {
1182
+ }), ct = "#fafaf9", lt = "#141414", ut = (e, t, n) => {
1148
1183
  let r = (e) => {
1149
1184
  let t = e / 255;
1150
1185
  return t <= .03928 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
1151
1186
  };
1152
1187
  return .2126 * r(e) + .7152 * r(t) + .0722 * r(n);
1153
- }, ut = (e, t) => {
1188
+ }, dt = (e, t) => {
1154
1189
  let n = Math.max(e, t), r = Math.min(e, t);
1155
1190
  return (n + .05) / (r + .05);
1156
- }, dt = null, ft = (e) => {
1157
- if (typeof document > "u") return st;
1158
- dt ??= document.createElement("canvas"), dt.width = 1, dt.height = 1;
1159
- let t = dt.getContext("2d", { willReadFrequently: !0 });
1160
- if (!t) return st;
1191
+ }, ft = null, pt = (e) => {
1192
+ if (typeof document > "u") return ct;
1193
+ ft ??= document.createElement("canvas"), ft.width = 1, ft.height = 1;
1194
+ let t = ft.getContext("2d", { willReadFrequently: !0 });
1195
+ if (!t) return ct;
1161
1196
  t.clearRect(0, 0, 1, 1), t.fillStyle = e, t.fillRect(0, 0, 1, 1);
1162
- let [n, r, i] = t.getImageData(0, 0, 1, 1).data, a = lt(n, r, i), o = ut(a, lt(20, 20, 20));
1163
- return ut(a, lt(250, 250, 249)) >= o ? st : ct;
1164
- }, pt = {
1197
+ let [n, r, i] = t.getImageData(0, 0, 1, 1).data, a = ut(n, r, i), o = dt(a, ut(20, 20, 20));
1198
+ return dt(a, ut(250, 250, 249)) >= o ? ct : lt;
1199
+ }, mt = {
1165
1200
  swatch: "_swatch_1i3c3_1",
1166
1201
  circle: "_circle_1i3c3_22",
1167
1202
  circleUnavailable: "_circleUnavailable_1i3c3_32",
1168
1203
  ring: "_ring_1i3c3_39",
1169
1204
  check: "_check_1i3c3_55",
1170
1205
  strike: "_strike_1i3c3_66"
1171
- }, mt = ({ color: t, label: n, selected: r = !1, available: o = !0, onSelect: s, className: c }) => {
1172
- let u = e.useMemo(() => ft(t), [t]);
1206
+ }, ht = ({ color: t, label: n, selected: r = !1, available: o = !0, onSelect: s, className: c }) => {
1207
+ let u = e.useMemo(() => pt(t), [t]);
1173
1208
  return /* @__PURE__ */ a("button", {
1174
1209
  type: "button",
1175
- className: [pt.swatch, c ?? ""].filter(Boolean).join(" "),
1210
+ className: [mt.swatch, c ?? ""].filter(Boolean).join(" "),
1176
1211
  style: { "--swatch-color": t },
1177
1212
  disabled: !o,
1178
1213
  "aria-pressed": o ? r : void 0,
@@ -1180,46 +1215,46 @@ var M = {
1180
1215
  onClick: s,
1181
1216
  children: [
1182
1217
  r && o && /* @__PURE__ */ i("span", {
1183
- className: pt.ring,
1218
+ className: mt.ring,
1184
1219
  "aria-hidden": "true"
1185
1220
  }),
1186
1221
  /* @__PURE__ */ i("span", {
1187
- className: [pt.circle, o ? "" : pt.circleUnavailable].filter(Boolean).join(" "),
1222
+ className: [mt.circle, o ? "" : mt.circleUnavailable].filter(Boolean).join(" "),
1188
1223
  "aria-hidden": "true"
1189
1224
  }),
1190
1225
  r && o && /* @__PURE__ */ i(l, {
1191
1226
  size: 14,
1192
- strokeWidth: D(14),
1193
- className: pt.check,
1227
+ strokeWidth: O(14),
1228
+ className: mt.check,
1194
1229
  style: { color: u },
1195
1230
  "aria-hidden": "true"
1196
1231
  }),
1197
1232
  !o && /* @__PURE__ */ i("span", {
1198
- className: pt.strike,
1233
+ className: mt.strike,
1199
1234
  style: { background: u },
1200
1235
  "aria-hidden": "true"
1201
1236
  })
1202
1237
  ]
1203
1238
  });
1204
- }, ht = {
1239
+ }, gt = {
1205
1240
  row: "_row_1r4ef_1",
1206
1241
  original: "_original_1r4ef_8",
1207
1242
  price: "_price_1r4ef_17",
1208
1243
  priceSale: "_priceSale_1r4ef_24"
1209
- }, gt = (e) => e.toLocaleString("en-US", {
1244
+ }, _t = (e) => e.toLocaleString("en-US", {
1210
1245
  style: "currency",
1211
1246
  currency: "USD"
1212
- }), _t = ({ price: e, compareAtPrice: t, showBadge: n = !1, formatPrice: r = gt, className: o }) => {
1247
+ }), vt = ({ price: e, compareAtPrice: t, showBadge: n = !1, formatPrice: r = _t, className: o }) => {
1213
1248
  let s = t !== void 0, c = s ? Math.ceil((1 - e / t) * 100) : 0;
1214
1249
  return /* @__PURE__ */ a("div", {
1215
- className: [ht.row, o ?? ""].filter(Boolean).join(" "),
1250
+ className: [gt.row, o ?? ""].filter(Boolean).join(" "),
1216
1251
  children: [
1217
1252
  s && /* @__PURE__ */ i("span", {
1218
- className: ht.original,
1253
+ className: gt.original,
1219
1254
  children: r(t)
1220
1255
  }),
1221
1256
  /* @__PURE__ */ i("span", {
1222
- className: [ht.price, s ? ht.priceSale : ""].filter(Boolean).join(" "),
1257
+ className: [gt.price, s ? gt.priceSale : ""].filter(Boolean).join(" "),
1223
1258
  children: r(e)
1224
1259
  }),
1225
1260
  s && n && /* @__PURE__ */ a(et, {
@@ -1233,31 +1268,31 @@ var M = {
1233
1268
  })
1234
1269
  ]
1235
1270
  });
1236
- }, vt = {
1271
+ }, yt = {
1237
1272
  button: "_button_1mp7q_1",
1238
1273
  icon: "_icon_1mp7q_24",
1239
1274
  iconSaved: "_iconSaved_1mp7q_27",
1240
1275
  bounce: "_bounce_1mp7q_40",
1241
1276
  "wishlist-bounce": "_wishlist-bounce_1mp7q_1"
1242
- }, yt = ({ saved: t = !1, onToggle: n, label: r = "item", className: a }) => {
1277
+ }, bt = ({ saved: t = !1, onToggle: n, label: r = "item", className: a }) => {
1243
1278
  let [o, s] = e.useState(!1);
1244
1279
  return /* @__PURE__ */ i("button", {
1245
1280
  type: "button",
1246
- className: [vt.button, a ?? ""].filter(Boolean).join(" "),
1281
+ className: [yt.button, a ?? ""].filter(Boolean).join(" "),
1247
1282
  "aria-pressed": t,
1248
1283
  "aria-label": t ? `Remove ${r} from wishlist` : `Add ${r} to wishlist`,
1249
1284
  onClick: () => {
1250
1285
  t || s(!0), n?.(!t);
1251
1286
  },
1252
- children: /* @__PURE__ */ i(b, {
1287
+ children: /* @__PURE__ */ i(x, {
1253
1288
  size: 16,
1254
- strokeWidth: D(16),
1255
- className: [t ? vt.iconSaved : vt.icon, o ? vt.bounce : ""].filter(Boolean).join(" "),
1289
+ strokeWidth: O(16),
1290
+ className: [t ? yt.iconSaved : yt.icon, o ? yt.bounce : ""].filter(Boolean).join(" "),
1256
1291
  fill: t ? "currentColor" : "none",
1257
1292
  onAnimationEnd: () => s(!1)
1258
1293
  })
1259
1294
  });
1260
- }, L = {
1295
+ }, z = {
1261
1296
  card: "_card_jlv97_1",
1262
1297
  imageWrap: "_imageWrap_jlv97_16",
1263
1298
  image: "_image_jlv97_16",
@@ -1277,97 +1312,97 @@ var M = {
1277
1312
  description: "_description_jlv97_118",
1278
1313
  swatches: "_swatches_jlv97_131",
1279
1314
  addButton: "_addButton_jlv97_136"
1280
- }, bt = (e) => e.toLocaleString("en-US", {
1315
+ }, xt = (e) => e.toLocaleString("en-US", {
1281
1316
  style: "currency",
1282
1317
  currency: "USD"
1283
- }), 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 }) => {
1318
+ }), St = ({ 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: _ = xt, className: v }) => {
1284
1319
  let y = s !== void 0, b = y ? Math.ceil((1 - o / s) * 100) : 0, x = c === void 0 ? 0 : Math.round(c);
1285
1320
  return /* @__PURE__ */ a("div", {
1286
- className: [L.card, v ?? ""].filter(Boolean).join(" "),
1321
+ className: [z.card, v ?? ""].filter(Boolean).join(" "),
1287
1322
  children: [/* @__PURE__ */ a("div", {
1288
- className: L.imageWrap,
1323
+ className: z.imageWrap,
1289
1324
  children: [
1290
1325
  /* @__PURE__ */ i("img", {
1291
1326
  src: e,
1292
1327
  alt: t ?? n,
1293
- className: [L.image, f ? "" : L.imageDimmed].filter(Boolean).join(" ")
1328
+ className: [z.image, f ? "" : z.imageDimmed].filter(Boolean).join(" ")
1294
1329
  }),
1295
1330
  y && f && /* @__PURE__ */ a(et, {
1296
1331
  variant: "danger",
1297
1332
  emphasis: "solid",
1298
- className: L.saleBadge,
1333
+ className: z.saleBadge,
1299
1334
  children: [
1300
1335
  "-",
1301
1336
  b,
1302
1337
  "%"
1303
1338
  ]
1304
1339
  }),
1305
- f && /* @__PURE__ */ i(yt, {
1340
+ f && /* @__PURE__ */ i(bt, {
1306
1341
  saved: p,
1307
1342
  label: n,
1308
- className: L.wishlistBtn,
1343
+ className: z.wishlistBtn,
1309
1344
  onToggle: m
1310
1345
  }),
1311
1346
  !f && /* @__PURE__ */ i("span", {
1312
- className: L.outOfStockLabel,
1347
+ className: z.outOfStockLabel,
1313
1348
  children: "Out of stock"
1314
1349
  })
1315
1350
  ]
1316
1351
  }), /* @__PURE__ */ a("div", {
1317
- className: L.body,
1352
+ className: z.body,
1318
1353
  children: [
1319
1354
  c !== void 0 && /* @__PURE__ */ i("div", {
1320
- className: L.rating,
1355
+ className: z.rating,
1321
1356
  role: "img",
1322
1357
  "aria-label": `Rated ${c} out of 5${l ? ` (${l} reviews)` : ""}`,
1323
1358
  children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ i(re, {
1324
1359
  size: 16,
1325
- strokeWidth: D(16),
1326
- className: t < x ? L.starFilled : L.starEmpty,
1360
+ strokeWidth: O(16),
1361
+ className: t < x ? z.starFilled : z.starEmpty,
1327
1362
  fill: t < x ? "currentColor" : "none"
1328
1363
  }, t))
1329
1364
  }),
1330
1365
  /* @__PURE__ */ a("div", {
1331
- className: L.titleRow,
1366
+ className: z.titleRow,
1332
1367
  children: [/* @__PURE__ */ i("p", {
1333
- className: L.name,
1368
+ className: z.name,
1334
1369
  children: n
1335
1370
  }), /* @__PURE__ */ a("div", {
1336
- className: L.priceRow,
1371
+ className: z.priceRow,
1337
1372
  children: [y && /* @__PURE__ */ i("span", {
1338
- className: L.priceOriginal,
1373
+ className: z.priceOriginal,
1339
1374
  children: _(s)
1340
1375
  }), /* @__PURE__ */ i("span", {
1341
- className: L.price,
1376
+ className: z.price,
1342
1377
  children: _(o)
1343
1378
  })]
1344
1379
  })]
1345
1380
  }),
1346
1381
  r && /* @__PURE__ */ i("p", {
1347
- className: L.description,
1382
+ className: z.description,
1348
1383
  children: r
1349
1384
  }),
1350
1385
  u.length > 0 && /* @__PURE__ */ i("div", {
1351
- className: L.swatches,
1386
+ className: z.swatches,
1352
1387
  role: "group",
1353
1388
  "aria-label": "Color",
1354
- children: u.map((e) => /* @__PURE__ */ i(mt, {
1389
+ children: u.map((e) => /* @__PURE__ */ i(ht, {
1355
1390
  ...e,
1356
1391
  onSelect: () => d?.(e.id ?? e.label)
1357
1392
  }, e.id ?? e.label))
1358
1393
  }),
1359
- /* @__PURE__ */ i(A, {
1394
+ /* @__PURE__ */ i(M, {
1360
1395
  variant: "primary",
1361
1396
  size: "md",
1362
1397
  disabled: !f,
1363
- className: L.addButton,
1398
+ className: z.addButton,
1364
1399
  onClick: h,
1365
1400
  children: f ? g : "Out of stock"
1366
1401
  })
1367
1402
  ]
1368
1403
  })]
1369
1404
  });
1370
- }, R = {
1405
+ }, B = {
1371
1406
  gallery: "_gallery_1mrk8_1",
1372
1407
  galleryBottom: "_galleryBottom_1mrk8_5",
1373
1408
  galleryLeft: "_galleryLeft_1mrk8_10",
@@ -1382,11 +1417,11 @@ var M = {
1382
1417
  thumbLeft: "_thumbLeft_1mrk8_70",
1383
1418
  thumbActive: "_thumbActive_1mrk8_75",
1384
1419
  thumbImage: "_thumbImage_1mrk8_79"
1385
- }, St = ({ images: t, thumbsPosition: n = "bottom", activeIndex: r, defaultActiveIndex: o = 0, onActiveIndexChange: s, className: c }) => {
1420
+ }, Ct = ({ images: t, thumbsPosition: n = "bottom", activeIndex: r, defaultActiveIndex: o = 0, onActiveIndexChange: s, className: c }) => {
1386
1421
  let l = r !== void 0, [u, d] = e.useState(o), f = l ? r : u, p = (e) => {
1387
1422
  l || d(e), s?.(e);
1388
1423
  }, m = t[f] ?? t[0], h = n === "left", g = /* @__PURE__ */ i("div", {
1389
- className: [R.thumbs, h ? R.thumbsLeft : R.thumbsBottom].filter(Boolean).join(" "),
1424
+ className: [B.thumbs, h ? B.thumbsLeft : B.thumbsBottom].filter(Boolean).join(" "),
1390
1425
  role: "tablist",
1391
1426
  "aria-label": "Product images",
1392
1427
  children: t.map((e, t) => /* @__PURE__ */ i("button", {
@@ -1395,56 +1430,56 @@ var M = {
1395
1430
  "aria-selected": t === f,
1396
1431
  "aria-label": e.alt ?? `Image ${t + 1}`,
1397
1432
  className: [
1398
- R.thumb,
1399
- h ? R.thumbLeft : R.thumbBottom,
1400
- t === f ? R.thumbActive : ""
1433
+ B.thumb,
1434
+ h ? B.thumbLeft : B.thumbBottom,
1435
+ t === f ? B.thumbActive : ""
1401
1436
  ].filter(Boolean).join(" "),
1402
1437
  onClick: () => p(t),
1403
1438
  children: /* @__PURE__ */ i("img", {
1404
1439
  src: e.src,
1405
1440
  alt: "",
1406
- className: R.thumbImage
1441
+ className: B.thumbImage
1407
1442
  })
1408
1443
  }, e.src + t))
1409
1444
  });
1410
1445
  return /* @__PURE__ */ a("div", {
1411
1446
  className: [
1412
- R.gallery,
1413
- h ? R.galleryLeft : R.galleryBottom,
1447
+ B.gallery,
1448
+ h ? B.galleryLeft : B.galleryBottom,
1414
1449
  c ?? ""
1415
1450
  ].filter(Boolean).join(" "),
1416
1451
  children: [
1417
1452
  !h && m && /* @__PURE__ */ i("div", {
1418
- className: R.mainBottom,
1453
+ className: B.mainBottom,
1419
1454
  children: /* @__PURE__ */ i("img", {
1420
1455
  src: m.src,
1421
1456
  alt: m.alt ?? "",
1422
- className: R.mainImage
1457
+ className: B.mainImage
1423
1458
  })
1424
1459
  }),
1425
1460
  g,
1426
1461
  h && m && /* @__PURE__ */ i("div", {
1427
- className: R.mainLeft,
1462
+ className: B.mainLeft,
1428
1463
  children: /* @__PURE__ */ i("img", {
1429
1464
  src: m.src,
1430
1465
  alt: m.alt ?? "",
1431
- className: R.mainImage
1466
+ className: B.mainImage
1432
1467
  })
1433
1468
  })
1434
1469
  ]
1435
1470
  });
1436
- }, Ct = {
1471
+ }, wt = {
1437
1472
  button: "_button_1vgn5_1",
1438
1473
  unselected: "_unselected_1vgn5_23",
1439
1474
  selected: "_selected_1vgn5_32",
1440
1475
  unavailable: "_unavailable_1vgn5_37",
1441
1476
  label: "_label_1vgn5_44",
1442
1477
  strike: "_strike_1vgn5_55"
1443
- }, wt = ({ size: e, selected: t = !1, available: n = !0, onSelect: r, className: o }) => /* @__PURE__ */ a("button", {
1478
+ }, Tt = ({ size: e, selected: t = !1, available: n = !0, onSelect: r, className: o }) => /* @__PURE__ */ a("button", {
1444
1479
  type: "button",
1445
1480
  className: [
1446
- Ct.button,
1447
- n ? t ? Ct.selected : Ct.unselected : Ct.unavailable,
1481
+ wt.button,
1482
+ n ? t ? wt.selected : wt.unselected : wt.unavailable,
1448
1483
  o ?? ""
1449
1484
  ].filter(Boolean).join(" "),
1450
1485
  disabled: !n,
@@ -1452,13 +1487,13 @@ var M = {
1452
1487
  "aria-label": n ? `Size ${e}` : `Size ${e} (out of stock)`,
1453
1488
  onClick: r,
1454
1489
  children: [/* @__PURE__ */ i("span", {
1455
- className: Ct.label,
1490
+ className: wt.label,
1456
1491
  children: e
1457
1492
  }), !n && /* @__PURE__ */ i("span", {
1458
- className: Ct.strike,
1493
+ className: wt.strike,
1459
1494
  "aria-hidden": "true"
1460
1495
  })]
1461
- }), Tt = {
1496
+ }), Et = {
1462
1497
  row: "_row_1snsi_1",
1463
1498
  rowVertical: "_rowVertical_1snsi_8",
1464
1499
  stars: "_stars_1snsi_13",
@@ -1467,40 +1502,40 @@ var M = {
1467
1502
  label: "_label_1snsi_29",
1468
1503
  value: "_value_1snsi_38",
1469
1504
  count: "_count_1snsi_43"
1470
- }, Et = (e) => e.toLocaleString("en-US"), Dt = ({ rating: e, reviewCount: t, showLabel: n = !0, orientation: r = "horizontal", formatReviewCount: o = Et, className: s }) => {
1505
+ }, Dt = (e) => e.toLocaleString("en-US"), Ot = ({ rating: e, reviewCount: t, showLabel: n = !0, orientation: r = "horizontal", formatReviewCount: o = Dt, className: s }) => {
1471
1506
  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", {
1472
- className: Tt.stars,
1507
+ className: Et.stars,
1473
1508
  role: "img",
1474
1509
  "aria-label": `${c} out of 5 stars`,
1475
1510
  children: [
1476
1511
  Array.from({ length: u }, (e, t) => /* @__PURE__ */ i(re, {
1477
1512
  size: 24,
1478
- strokeWidth: D(24),
1479
- className: Tt.starFull,
1513
+ strokeWidth: O(24),
1514
+ className: Et.starFull,
1480
1515
  fill: "currentColor",
1481
1516
  "aria-hidden": "true"
1482
1517
  }, `full-${t}`)),
1483
1518
  d && /* @__PURE__ */ i(ie, {
1484
1519
  size: 24,
1485
- strokeWidth: D(24),
1486
- className: Tt.starFull,
1520
+ strokeWidth: O(24),
1521
+ className: Et.starFull,
1487
1522
  fill: "currentColor",
1488
1523
  "aria-hidden": "true"
1489
1524
  }),
1490
1525
  Array.from({ length: f }, (e, t) => /* @__PURE__ */ i(re, {
1491
1526
  size: 24,
1492
- strokeWidth: D(24),
1493
- className: Tt.starEmpty,
1527
+ strokeWidth: O(24),
1528
+ className: Et.starEmpty,
1494
1529
  "aria-hidden": "true"
1495
1530
  }, `empty-${t}`))
1496
1531
  ]
1497
1532
  }), m = n && /* @__PURE__ */ a("div", {
1498
- className: Tt.label,
1533
+ className: Et.label,
1499
1534
  children: [/* @__PURE__ */ i("span", {
1500
- className: Tt.value,
1535
+ className: Et.value,
1501
1536
  children: c.toFixed(1)
1502
1537
  }), t !== void 0 && /* @__PURE__ */ a("span", {
1503
- className: Tt.count,
1538
+ className: Et.count,
1504
1539
  children: [
1505
1540
  "(",
1506
1541
  o(t),
@@ -1508,8 +1543,8 @@ var M = {
1508
1543
  ]
1509
1544
  })]
1510
1545
  }), h = [
1511
- Tt.row,
1512
- r === "vertical" ? Tt.rowVertical : "",
1546
+ Et.row,
1547
+ r === "vertical" ? Et.rowVertical : "",
1513
1548
  s ?? ""
1514
1549
  ].filter(Boolean).join(" ");
1515
1550
  return r === "horizontal-reverse" ? /* @__PURE__ */ a("div", {
@@ -1519,7 +1554,7 @@ var M = {
1519
1554
  className: h,
1520
1555
  children: [p, m]
1521
1556
  });
1522
- }, Ot = ({ quantity: e, lowStockThreshold: t = 5, label: n, className: r }) => {
1557
+ }, kt = ({ quantity: e, lowStockThreshold: t = 5, label: n, className: r }) => {
1523
1558
  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";
1524
1559
  return /* @__PURE__ */ i(et, {
1525
1560
  variant: s,
@@ -1527,7 +1562,7 @@ var M = {
1527
1562
  className: r,
1528
1563
  children: n ?? c
1529
1564
  });
1530
- }, z = {
1565
+ }, V = {
1531
1566
  card: "_card_1w9hp_1",
1532
1567
  cardDefault: "_cardDefault_1w9hp_8",
1533
1568
  imageDefault: "_imageDefault_1w9hp_19",
@@ -1542,55 +1577,55 @@ var M = {
1542
1577
  excerpt: "_excerpt_1w9hp_114",
1543
1578
  author: "_author_1w9hp_123",
1544
1579
  authorText: "_authorText_1w9hp_130"
1545
- }, kt = ({ image: e, imageAlt: t, category: n, readTime: r, title: o, excerpt: s, author: c, layout: l = "default", className: u }) => {
1580
+ }, At = ({ image: e, imageAlt: t, category: n, readTime: r, title: o, excerpt: s, author: c, layout: l = "default", className: u }) => {
1546
1581
  let d = l === "horizontal";
1547
1582
  return /* @__PURE__ */ a("div", {
1548
1583
  className: [
1549
- z.card,
1550
- d ? z.cardHorizontal : z.cardDefault,
1584
+ V.card,
1585
+ d ? V.cardHorizontal : V.cardDefault,
1551
1586
  u ?? ""
1552
1587
  ].filter(Boolean).join(" "),
1553
1588
  children: [d ? /* @__PURE__ */ i("span", {
1554
- className: z.imageWrapHorizontal,
1589
+ className: V.imageWrapHorizontal,
1555
1590
  children: /* @__PURE__ */ i("img", {
1556
1591
  src: e,
1557
1592
  alt: t ?? "",
1558
- className: z.image
1593
+ className: V.image
1559
1594
  })
1560
1595
  }) : /* @__PURE__ */ i("img", {
1561
1596
  src: e,
1562
1597
  alt: t ?? "",
1563
- className: z.imageDefault
1598
+ className: V.imageDefault
1564
1599
  }), /* @__PURE__ */ a("div", {
1565
- className: d ? z.bodyHorizontal : z.bodyDefault,
1600
+ className: d ? V.bodyHorizontal : V.bodyDefault,
1566
1601
  children: [
1567
1602
  /* @__PURE__ */ a("div", {
1568
- className: z.metaRow,
1603
+ className: V.metaRow,
1569
1604
  children: [/* @__PURE__ */ i(et, {
1570
1605
  variant: "accent",
1571
1606
  emphasis: "subtle",
1572
1607
  children: n
1573
1608
  }), /* @__PURE__ */ i("span", {
1574
- className: z.readTime,
1609
+ className: V.readTime,
1575
1610
  children: r
1576
1611
  })]
1577
1612
  }),
1578
1613
  /* @__PURE__ */ i("p", {
1579
- className: z.title,
1614
+ className: V.title,
1580
1615
  children: o
1581
1616
  }),
1582
1617
  /* @__PURE__ */ i("p", {
1583
- className: z.excerpt,
1618
+ className: V.excerpt,
1584
1619
  children: s
1585
1620
  }),
1586
1621
  /* @__PURE__ */ a("div", {
1587
- className: z.author,
1588
- children: [/* @__PURE__ */ i(xe, {
1622
+ className: V.author,
1623
+ children: [/* @__PURE__ */ i(be, {
1589
1624
  size: "sm",
1590
1625
  src: c.avatarSrc,
1591
1626
  alt: c.avatarAlt ?? c.name
1592
1627
  }), /* @__PURE__ */ a("p", {
1593
- className: z.authorText,
1628
+ className: V.authorText,
1594
1629
  children: [
1595
1630
  c.name,
1596
1631
  " · ",
@@ -1601,7 +1636,7 @@ var M = {
1601
1636
  ]
1602
1637
  })]
1603
1638
  });
1604
- }, B = {
1639
+ }, H = {
1605
1640
  card: "_card_8cf5b_1",
1606
1641
  cardHorizontal: "_cardHorizontal_8cf5b_12",
1607
1642
  cardVertical: "_cardVertical_8cf5b_20",
@@ -1613,20 +1648,20 @@ var M = {
1613
1648
  footer: "_footer_8cf5b_86",
1614
1649
  author: "_author_8cf5b_94",
1615
1650
  authorText: "_authorText_8cf5b_101"
1616
- }, 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 }) => {
1651
+ }, jt = ({ image: e, imageAlt: t, badgeLabel: n = "Featured", title: r, excerpt: o, author: s, ctaLabel: c = "Read article", onCtaClick: l, orientation: u = "horizontal", className: d }) => {
1617
1652
  let f = u === "vertical";
1618
1653
  return /* @__PURE__ */ a("div", {
1619
1654
  className: [
1620
- B.card,
1621
- f ? B.cardVertical : B.cardHorizontal,
1655
+ H.card,
1656
+ f ? H.cardVertical : H.cardHorizontal,
1622
1657
  d ?? ""
1623
1658
  ].filter(Boolean).join(" "),
1624
1659
  children: [/* @__PURE__ */ i("img", {
1625
1660
  src: e,
1626
1661
  alt: t ?? "",
1627
- className: B.image
1662
+ className: H.image
1628
1663
  }), /* @__PURE__ */ a("div", {
1629
- className: f ? B.bodyVertical : B.bodyHorizontal,
1664
+ className: f ? H.bodyVertical : H.bodyHorizontal,
1630
1665
  children: [
1631
1666
  /* @__PURE__ */ i(et, {
1632
1667
  variant: "accent",
@@ -1634,31 +1669,31 @@ var M = {
1634
1669
  children: n
1635
1670
  }),
1636
1671
  /* @__PURE__ */ i("p", {
1637
- className: B.title,
1672
+ className: H.title,
1638
1673
  children: r
1639
1674
  }),
1640
1675
  /* @__PURE__ */ i("p", {
1641
- className: B.excerpt,
1676
+ className: H.excerpt,
1642
1677
  children: o
1643
1678
  }),
1644
1679
  /* @__PURE__ */ a("div", {
1645
- className: B.footer,
1680
+ className: H.footer,
1646
1681
  children: [/* @__PURE__ */ a("div", {
1647
- className: B.author,
1648
- children: [/* @__PURE__ */ i(xe, {
1682
+ className: H.author,
1683
+ children: [/* @__PURE__ */ i(be, {
1649
1684
  size: "md",
1650
1685
  src: s.avatarSrc,
1651
1686
  alt: s.avatarAlt ?? s.name,
1652
1687
  initials: s.initials
1653
1688
  }), /* @__PURE__ */ a("p", {
1654
- className: B.authorText,
1689
+ className: H.authorText,
1655
1690
  children: [
1656
1691
  s.name,
1657
1692
  " · ",
1658
1693
  s.date
1659
1694
  ]
1660
1695
  })]
1661
- }), /* @__PURE__ */ i(A, {
1696
+ }), /* @__PURE__ */ i(M, {
1662
1697
  variant: "secondary",
1663
1698
  size: "sm",
1664
1699
  onClick: l,
@@ -1668,7 +1703,7 @@ var M = {
1668
1703
  ]
1669
1704
  })]
1670
1705
  });
1671
- }, jt = {
1706
+ }, Mt = {
1672
1707
  chip: "_chip_scl8l_1",
1673
1708
  "chip--sm": "_chip--sm_scl8l_11",
1674
1709
  "chip--md": "_chip--md_scl8l_17",
@@ -1677,26 +1712,26 @@ var M = {
1677
1712
  "chip--outline": "_chip--outline_scl8l_35",
1678
1713
  "chip--solid": "_chip--solid_scl8l_39",
1679
1714
  "chip--subtle": "_chip--subtle_scl8l_43"
1680
- }, Mt = {
1715
+ }, Nt = {
1681
1716
  sm: 16,
1682
1717
  md: 20,
1683
1718
  lg: 24
1684
- }, Nt = ({ icon: t, size: n = "md", variant: r = "light", className: a }) => {
1685
- let o = Mt[n], s = e.isValidElement(t) ? e.cloneElement(t, {
1719
+ }, Pt = ({ icon: t, size: n = "md", variant: r = "light", className: a }) => {
1720
+ let o = Nt[n], s = e.isValidElement(t) ? e.cloneElement(t, {
1686
1721
  size: o,
1687
- strokeWidth: D(o)
1722
+ strokeWidth: O(o)
1688
1723
  }) : t;
1689
1724
  return /* @__PURE__ */ i("div", {
1690
1725
  className: [
1691
- jt.chip,
1692
- jt[`chip--${n}`],
1693
- jt[`chip--${r}`],
1726
+ Mt.chip,
1727
+ Mt[`chip--${n}`],
1728
+ Mt[`chip--${r}`],
1694
1729
  a ?? ""
1695
1730
  ].filter(Boolean).join(" "),
1696
1731
  "aria-hidden": "true",
1697
1732
  children: s
1698
1733
  });
1699
- }, Pt = {
1734
+ }, Ft = {
1700
1735
  group: "_group_mvlh4_3",
1701
1736
  group__item: "_group__item_mvlh4_6",
1702
1737
  "group--sm": "_group--sm_mvlh4_9",
@@ -1707,42 +1742,42 @@ var M = {
1707
1742
  "overflow--md": "_overflow--md_mvlh4_26",
1708
1743
  "overflow--lg": "_overflow--lg_mvlh4_27",
1709
1744
  "overflow--xl": "_overflow--xl_mvlh4_28"
1710
- }, Ft = ({ size: e = "md", max: t = 4, avatars: n, className: r }) => {
1745
+ }, It = ({ size: e = "md", max: t = 4, avatars: n, className: r }) => {
1711
1746
  let o = n.slice(0, t), s = n.length - o.length;
1712
1747
  return /* @__PURE__ */ a("div", {
1713
1748
  className: [
1714
- Pt.group,
1715
- Pt[`group--${e}`],
1749
+ Ft.group,
1750
+ Ft[`group--${e}`],
1716
1751
  r ?? ""
1717
1752
  ].filter(Boolean).join(" "),
1718
1753
  children: [o.map((t, n) => /* @__PURE__ */ i("span", {
1719
- className: Pt.group__item,
1720
- children: /* @__PURE__ */ i(xe, {
1754
+ className: Ft.group__item,
1755
+ children: /* @__PURE__ */ i(be, {
1721
1756
  size: e,
1722
1757
  src: t.src,
1723
1758
  initials: t.initials,
1724
1759
  alt: t.alt
1725
1760
  })
1726
1761
  }, n)), s > 0 && /* @__PURE__ */ i("span", {
1727
- className: Pt.group__item,
1762
+ className: Ft.group__item,
1728
1763
  children: /* @__PURE__ */ a("span", {
1729
- className: [Pt.overflow, Pt[`overflow--${e}`]].join(" "),
1764
+ className: [Ft.overflow, Ft[`overflow--${e}`]].join(" "),
1730
1765
  children: ["+", s]
1731
1766
  })
1732
1767
  })]
1733
1768
  });
1734
- }, It = {
1769
+ }, Lt = {
1735
1770
  root: "_root_165je_1",
1736
1771
  dot: "_dot_165je_13",
1737
1772
  dotActive: "_dotActive_165je_21",
1738
1773
  dotRemote: "_dotRemote_165je_25"
1739
- }, Lt = ({ location: e, status: t = "active", className: n }) => /* @__PURE__ */ a("span", {
1740
- className: [It.root, n ?? ""].filter(Boolean).join(" "),
1774
+ }, Rt = ({ location: e, status: t = "active", className: n }) => /* @__PURE__ */ a("span", {
1775
+ className: [Lt.root, n ?? ""].filter(Boolean).join(" "),
1741
1776
  children: [/* @__PURE__ */ i("span", {
1742
- className: [It.dot, t === "active" ? It.dotActive : It.dotRemote].join(" "),
1777
+ className: [Lt.dot, t === "active" ? Lt.dotActive : Lt.dotRemote].join(" "),
1743
1778
  "aria-hidden": "true"
1744
1779
  }), e]
1745
- }), V = {
1780
+ }), zt = {
1746
1781
  root: "_root_15jaa_1",
1747
1782
  rootCard: "_rootCard_15jaa_9",
1748
1783
  rootRow: "_rootRow_15jaa_21",
@@ -1752,18 +1787,18 @@ var M = {
1752
1787
  description: "_description_15jaa_56",
1753
1788
  metaRow: "_metaRow_15jaa_65",
1754
1789
  applyBtn: "_applyBtn_15jaa_72"
1755
- }, Rt = ({ title: e, description: t, department: n, employmentType: o, location: s, locationStatus: c = "remote", onApply: l, applyLabel: u = "Apply now", layout: d = "card", className: f }) => {
1790
+ }, Bt = ({ title: e, description: t, department: n, employmentType: o, location: s, locationStatus: c = "remote", onApply: l, applyLabel: u = "Apply now", layout: d = "card", className: f }) => {
1756
1791
  let p = d === "row", m = /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ a("div", {
1757
- className: V.titleGroup,
1792
+ className: zt.titleGroup,
1758
1793
  children: [/* @__PURE__ */ i("p", {
1759
- className: V.title,
1794
+ className: zt.title,
1760
1795
  children: e
1761
1796
  }), /* @__PURE__ */ i("p", {
1762
- className: V.description,
1797
+ className: zt.description,
1763
1798
  children: t
1764
1799
  })]
1765
1800
  }), /* @__PURE__ */ a("div", {
1766
- className: V.metaRow,
1801
+ className: zt.metaRow,
1767
1802
  children: [
1768
1803
  /* @__PURE__ */ i(et, {
1769
1804
  variant: "accent",
@@ -1775,7 +1810,7 @@ var M = {
1775
1810
  emphasis: "subtle",
1776
1811
  children: o
1777
1812
  }),
1778
- /* @__PURE__ */ i(Lt, {
1813
+ /* @__PURE__ */ i(Rt, {
1779
1814
  location: s,
1780
1815
  status: c
1781
1816
  })
@@ -1783,43 +1818,43 @@ var M = {
1783
1818
  })] });
1784
1819
  return p ? /* @__PURE__ */ a("div", {
1785
1820
  className: [
1786
- V.root,
1787
- V.rootRow,
1821
+ zt.root,
1822
+ zt.rootRow,
1788
1823
  f ?? ""
1789
1824
  ].filter(Boolean).join(" "),
1790
1825
  children: [/* @__PURE__ */ i("div", {
1791
- className: V.rowLeft,
1826
+ className: zt.rowLeft,
1792
1827
  children: m
1793
- }), /* @__PURE__ */ i(A, {
1828
+ }), /* @__PURE__ */ i(M, {
1794
1829
  variant: "secondary",
1795
1830
  size: "sm",
1796
- className: V.applyBtn,
1831
+ className: zt.applyBtn,
1797
1832
  onClick: l,
1798
1833
  children: u
1799
1834
  })]
1800
1835
  }) : /* @__PURE__ */ a("div", {
1801
1836
  className: [
1802
- V.root,
1803
- V.rootCard,
1837
+ zt.root,
1838
+ zt.rootCard,
1804
1839
  f ?? ""
1805
1840
  ].filter(Boolean).join(" "),
1806
- children: [m, /* @__PURE__ */ i(A, {
1841
+ children: [m, /* @__PURE__ */ i(M, {
1807
1842
  variant: "secondary",
1808
1843
  size: "sm",
1809
1844
  onClick: l,
1810
1845
  children: u
1811
1846
  })]
1812
1847
  });
1813
- }, zt = {
1848
+ }, Vt = {
1814
1849
  root: "_root_3bf2n_1",
1815
1850
  rootCenter: "_rootCenter_3bf2n_9",
1816
1851
  rootLeft: "_rootLeft_3bf2n_14",
1817
1852
  title: "_title_3bf2n_19",
1818
1853
  subtitle: "_subtitle_3bf2n_28"
1819
- }, Bt = ({ eyebrow: e, title: t, subtitle: n, align: r = "center", titleAs: o = "h2", className: s }) => /* @__PURE__ */ a("div", {
1854
+ }, Ht = ({ eyebrow: e, title: t, subtitle: n, align: r = "center", titleAs: o = "h2", className: s }) => /* @__PURE__ */ a("div", {
1820
1855
  className: [
1821
- zt.root,
1822
- r === "left" ? zt.rootLeft : zt.rootCenter,
1856
+ Vt.root,
1857
+ r === "left" ? Vt.rootLeft : Vt.rootCenter,
1823
1858
  s ?? ""
1824
1859
  ].filter(Boolean).join(" "),
1825
1860
  children: [
@@ -1829,15 +1864,15 @@ var M = {
1829
1864
  children: e
1830
1865
  }),
1831
1866
  /* @__PURE__ */ i(o, {
1832
- className: zt.title,
1867
+ className: Vt.title,
1833
1868
  children: t
1834
1869
  }),
1835
1870
  n && /* @__PURE__ */ i("p", {
1836
- className: zt.subtitle,
1871
+ className: Vt.subtitle,
1837
1872
  children: n
1838
1873
  })
1839
1874
  ]
1840
- }), H = {
1875
+ }), U = {
1841
1876
  card: "_card_1ye9i_1",
1842
1877
  imageWrap: "_imageWrap_1ye9i_16",
1843
1878
  image: "_image_1ye9i_16",
@@ -1850,42 +1885,42 @@ var M = {
1850
1885
  role: "_role_1ye9i_99",
1851
1886
  social: "_social_1ye9i_108",
1852
1887
  bio: "_bio_1ye9i_116"
1853
- }, Vt = ({ image: e, imageAlt: t, name: n, role: r, location: o, locationStatus: s = "active", bio: c, socialLinks: l = [], className: u }) => /* @__PURE__ */ a("div", {
1854
- className: [H.card, u ?? ""].filter(Boolean).join(" "),
1888
+ }, Ut = ({ image: e, imageAlt: t, name: n, role: r, location: o, locationStatus: s = "active", bio: c, socialLinks: l = [], className: u }) => /* @__PURE__ */ a("div", {
1889
+ className: [U.card, u ?? ""].filter(Boolean).join(" "),
1855
1890
  children: [/* @__PURE__ */ a("div", {
1856
- className: H.imageWrap,
1891
+ className: U.imageWrap,
1857
1892
  children: [/* @__PURE__ */ i("img", {
1858
1893
  src: e,
1859
1894
  alt: t ?? n,
1860
- className: H.image
1895
+ className: U.image
1861
1896
  }), /* @__PURE__ */ i("div", {
1862
- className: H.locationBar,
1863
- children: /* @__PURE__ */ i(Lt, {
1897
+ className: U.locationBar,
1898
+ children: /* @__PURE__ */ i(Rt, {
1864
1899
  location: o,
1865
1900
  status: s,
1866
- className: H.locationDot
1901
+ className: U.locationDot
1867
1902
  })
1868
1903
  })]
1869
1904
  }), /* @__PURE__ */ a("div", {
1870
- className: H.info,
1905
+ className: U.info,
1871
1906
  children: [/* @__PURE__ */ a("div", {
1872
- className: H.metaRow,
1907
+ className: U.metaRow,
1873
1908
  children: [/* @__PURE__ */ a("div", {
1874
- className: H.identity,
1909
+ className: U.identity,
1875
1910
  children: [/* @__PURE__ */ i("p", {
1876
- className: H.name,
1911
+ className: U.name,
1877
1912
  children: n
1878
1913
  }), /* @__PURE__ */ i("p", {
1879
- className: H.role,
1914
+ className: U.role,
1880
1915
  children: r
1881
1916
  })]
1882
1917
  }), l.length > 0 && /* @__PURE__ */ i("div", {
1883
- className: H.social,
1918
+ className: U.social,
1884
1919
  children: l.map((e, t) => /* @__PURE__ */ i("a", {
1885
1920
  href: e.href,
1886
1921
  onClick: e.onClick,
1887
1922
  "aria-label": e.label,
1888
- children: /* @__PURE__ */ i(Nt, {
1923
+ children: /* @__PURE__ */ i(Pt, {
1889
1924
  icon: e.icon,
1890
1925
  size: "sm",
1891
1926
  variant: "subtle"
@@ -1893,11 +1928,11 @@ var M = {
1893
1928
  }, e.label ?? t))
1894
1929
  })]
1895
1930
  }), c && /* @__PURE__ */ i("p", {
1896
- className: H.bio,
1931
+ className: U.bio,
1897
1932
  children: c
1898
1933
  })]
1899
1934
  })]
1900
- }), Ht = {
1935
+ }), Wt = {
1901
1936
  alert: "_alert_1hjs5_3",
1902
1937
  alert__icon: "_alert__icon_1hjs5_12",
1903
1938
  alert__content: "_alert__content_1hjs5_13",
@@ -1908,7 +1943,7 @@ var M = {
1908
1943
  "alert--warning": "_alert--warning_1hjs5_24",
1909
1944
  "alert--danger": "_alert--danger_1hjs5_27",
1910
1945
  "alert--neutral": "_alert--neutral_1hjs5_30"
1911
- }, Ut = {
1946
+ }, Gt = {
1912
1947
  info: /* @__PURE__ */ a(r, { children: [
1913
1948
  /* @__PURE__ */ i("circle", {
1914
1949
  cx: "12",
@@ -1982,38 +2017,38 @@ var M = {
1982
2017
  y2: "8"
1983
2018
  })
1984
2019
  ] })
1985
- }, Wt = ({ color: e = "info", title: t, description: n, icon: r, className: o }) => /* @__PURE__ */ a("div", {
2020
+ }, Kt = ({ color: e = "info", title: t, description: n, icon: r, className: o }) => /* @__PURE__ */ a("div", {
1986
2021
  role: "alert",
1987
2022
  className: [
1988
- Ht.alert,
1989
- Ht[`alert--${e}`],
2023
+ Wt.alert,
2024
+ Wt[`alert--${e}`],
1990
2025
  o ?? ""
1991
2026
  ].filter(Boolean).join(" "),
1992
2027
  children: [/* @__PURE__ */ i("span", {
1993
- className: Ht.alert__icon,
2028
+ className: Wt.alert__icon,
1994
2029
  "aria-hidden": "true",
1995
2030
  children: /* @__PURE__ */ i("svg", {
1996
2031
  viewBox: "0 0 24 24",
1997
2032
  fill: "none",
1998
2033
  stroke: "currentColor",
1999
- strokeWidth: D(18),
2034
+ strokeWidth: O(18),
2000
2035
  strokeLinecap: "round",
2001
2036
  strokeLinejoin: "round",
2002
2037
  width: 18,
2003
2038
  height: 18,
2004
- children: r ?? Ut[e]
2039
+ children: r ?? Gt[e]
2005
2040
  })
2006
2041
  }), /* @__PURE__ */ a("div", {
2007
- className: Ht.alert__content,
2042
+ className: Wt.alert__content,
2008
2043
  children: [t && /* @__PURE__ */ i("div", {
2009
- className: Ht.alert__title,
2044
+ className: Wt.alert__title,
2010
2045
  children: t
2011
2046
  }), n && /* @__PURE__ */ i("div", {
2012
- className: Ht.alert__description,
2047
+ className: Wt.alert__description,
2013
2048
  children: n
2014
2049
  })]
2015
2050
  })]
2016
- }), U = {
2051
+ }), W = {
2017
2052
  card: "_card_6iftf_2",
2018
2053
  "card--hover": "_card--hover_6iftf_15",
2019
2054
  "card--selected": "_card--selected_6iftf_16",
@@ -2030,60 +2065,60 @@ var M = {
2030
2065
  card__footer: "_card__footer_6iftf_47",
2031
2066
  card__meta: "_card__meta_6iftf_48",
2032
2067
  card__assignees: "_card__assignees_6iftf_49"
2033
- }, Gt = ({ 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 }) => {
2068
+ }, qt = ({ 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 }) => {
2034
2069
  let h = e !== "compact", g = d || f;
2035
2070
  return /* @__PURE__ */ a("div", {
2036
2071
  onClick: p,
2037
2072
  "aria-selected": t === "selected" || void 0,
2038
2073
  className: [
2039
- U.card,
2040
- U[`card--${e}`],
2041
- U[`card--${t}`],
2074
+ W.card,
2075
+ W[`card--${e}`],
2076
+ W[`card--${t}`],
2042
2077
  m ?? ""
2043
2078
  ].filter(Boolean).join(" "),
2044
2079
  children: [
2045
2080
  e === "cover" && /* @__PURE__ */ i("div", {
2046
- className: U.card__cover,
2081
+ className: W.card__cover,
2047
2082
  children: n
2048
2083
  }),
2049
2084
  /* @__PURE__ */ a("div", {
2050
- className: U.card__header,
2085
+ className: W.card__header,
2051
2086
  children: [
2052
2087
  o && /* @__PURE__ */ i("span", {
2053
- className: U.card__leading,
2088
+ className: W.card__leading,
2054
2089
  children: o
2055
2090
  }),
2056
2091
  /* @__PURE__ */ i("span", {
2057
- className: U.card__title,
2092
+ className: W.card__title,
2058
2093
  children: s
2059
2094
  }),
2060
2095
  c && /* @__PURE__ */ i("span", {
2061
- className: U.card__trailing,
2096
+ className: W.card__trailing,
2062
2097
  children: c
2063
2098
  })
2064
2099
  ]
2065
2100
  }),
2066
2101
  h && l && /* @__PURE__ */ i("p", {
2067
- className: U.card__desc,
2102
+ className: W.card__desc,
2068
2103
  children: l
2069
2104
  }),
2070
2105
  h && u && /* @__PURE__ */ i("div", {
2071
- className: U.card__tags,
2106
+ className: W.card__tags,
2072
2107
  children: u
2073
2108
  }),
2074
- g && /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("div", { className: U.card__divider }), /* @__PURE__ */ a("div", {
2075
- className: U.card__footer,
2109
+ g && /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("div", { className: W.card__divider }), /* @__PURE__ */ a("div", {
2110
+ className: W.card__footer,
2076
2111
  children: [d && /* @__PURE__ */ i("div", {
2077
- className: U.card__meta,
2112
+ className: W.card__meta,
2078
2113
  children: d
2079
2114
  }), f && /* @__PURE__ */ i("div", {
2080
- className: U.card__assignees,
2115
+ className: W.card__assignees,
2081
2116
  children: f
2082
2117
  })]
2083
2118
  })] })
2084
2119
  ]
2085
2120
  });
2086
- }, Kt = {
2121
+ }, Jt = {
2087
2122
  breadcrumb: "_breadcrumb_1uzuh_3",
2088
2123
  list: "_list_1uzuh_5",
2089
2124
  item: "_item_1uzuh_15",
@@ -2092,31 +2127,31 @@ var M = {
2092
2127
  separator: "_separator_1uzuh_33",
2093
2128
  "list--button": "_list--button_1uzuh_38",
2094
2129
  chip: "_chip_1uzuh_41"
2095
- }, qt = ({ size: e }) => /* @__PURE__ */ i("span", {
2096
- className: Kt.separator,
2130
+ }, Yt = ({ size: e }) => /* @__PURE__ */ i("span", {
2131
+ className: Jt.separator,
2097
2132
  "aria-hidden": "true",
2098
2133
  children: /* @__PURE__ */ i("svg", {
2099
2134
  viewBox: "0 0 24 24",
2100
2135
  fill: "none",
2101
2136
  stroke: "currentColor",
2102
- strokeWidth: D(e),
2137
+ strokeWidth: O(e),
2103
2138
  strokeLinecap: "round",
2104
2139
  strokeLinejoin: "round",
2105
2140
  width: e,
2106
2141
  height: e,
2107
2142
  children: /* @__PURE__ */ i("path", { d: "m9 18 6-6-6-6" })
2108
2143
  })
2109
- }), Jt = ({ items: e, variant: t = "text", className: n }) => {
2144
+ }), Xt = ({ items: e, variant: t = "text", className: n }) => {
2110
2145
  let r = t === "button";
2111
2146
  return /* @__PURE__ */ i("nav", {
2112
2147
  "aria-label": "Breadcrumb",
2113
- className: [Kt.breadcrumb, n ?? ""].filter(Boolean).join(" "),
2148
+ className: [Jt.breadcrumb, n ?? ""].filter(Boolean).join(" "),
2114
2149
  children: /* @__PURE__ */ i("ol", {
2115
- className: [Kt.list, r ? Kt["list--button"] : ""].filter(Boolean).join(" "),
2150
+ className: [Jt.list, r ? Jt["list--button"] : ""].filter(Boolean).join(" "),
2116
2151
  children: e.map((t, n) => {
2117
- let o = n === e.length - 1, s = r ? Kt.chip : o ? Kt.current : Kt.crumb;
2152
+ let o = n === e.length - 1, s = r ? Jt.chip : o ? Jt.current : Jt.crumb;
2118
2153
  return /* @__PURE__ */ a("li", {
2119
- className: Kt.item,
2154
+ className: Jt.item,
2120
2155
  children: [o || !t.href ? /* @__PURE__ */ i("span", {
2121
2156
  className: s,
2122
2157
  "aria-current": o ? "page" : void 0,
@@ -2125,26 +2160,26 @@ var M = {
2125
2160
  href: t.href,
2126
2161
  className: s,
2127
2162
  children: t.label
2128
- }), !o && /* @__PURE__ */ i(qt, { size: r ? 14 : 16 })]
2163
+ }), !o && /* @__PURE__ */ i(Yt, { size: r ? 14 : 16 })]
2129
2164
  }, n);
2130
2165
  })
2131
2166
  })
2132
2167
  });
2133
- }, Yt = {
2168
+ }, Zt = {
2134
2169
  meta: "_meta_g1mpv_2",
2135
2170
  meta__icon: "_meta__icon_g1mpv_3",
2136
2171
  meta__label: "_meta__label_g1mpv_4"
2137
- }, Xt = ({ icon: e, children: t, className: n }) => /* @__PURE__ */ a("span", {
2138
- className: [Yt.meta, n ?? ""].filter(Boolean).join(" "),
2172
+ }, Qt = ({ icon: e, children: t, className: n }) => /* @__PURE__ */ a("span", {
2173
+ className: [Zt.meta, n ?? ""].filter(Boolean).join(" "),
2139
2174
  children: [/* @__PURE__ */ i("span", {
2140
- className: Yt.meta__icon,
2175
+ className: Zt.meta__icon,
2141
2176
  "aria-hidden": "true",
2142
2177
  children: e
2143
2178
  }), /* @__PURE__ */ i("span", {
2144
- className: Yt.meta__label,
2179
+ className: Zt.meta__label,
2145
2180
  children: t
2146
2181
  })]
2147
- }), W = {
2182
+ }), G = {
2148
2183
  composer: "_composer_vd2eo_2",
2149
2184
  "composer--typing": "_composer--typing_vd2eo_15",
2150
2185
  input: "_input_vd2eo_22",
@@ -2159,13 +2194,13 @@ var M = {
2159
2194
  sendButton: "_sendButton_vd2eo_40",
2160
2195
  icon: "_icon_vd2eo_41",
2161
2196
  send: "_send_vd2eo_40"
2162
- }, Zt = ({ state: t = "default", value: n, placeholder: r = "Message...", onChange: o, onSend: s, onAttachmentsChange: c, uploadName: l, uploadProgress: u = 0, onCancelUpload: d, className: f }) => {
2197
+ }, $t = ({ state: t = "default", value: n, placeholder: r = "Message...", onChange: o, onSend: s, onAttachmentsChange: c, uploadName: l, uploadProgress: u = 0, onCancelUpload: d, className: f }) => {
2163
2198
  let p = t === "disabled", [m, h] = e.useState(""), [g, _] = e.useState(!1), [v, b] = e.useState({
2164
2199
  top: 0,
2165
2200
  right: 0
2166
- }), [x, S] = e.useState([]), C = e.useRef(null), w = e.useRef(null), E = e.useRef(null), ee = e.useRef(null), re = n === void 0 ? m : n, ie = !p && (re.trim().length > 0 || t === "typing" || x.length > 0), ae = () => {
2201
+ }), [x, S] = e.useState([]), C = e.useRef(null), w = e.useRef(null), T = e.useRef(null), E = e.useRef(null), D = n === void 0 ? m : n, re = !p && (D.trim().length > 0 || t === "typing" || x.length > 0), ie = () => {
2167
2202
  w.current?.click();
2168
- }, oe = (e) => {
2203
+ }, ae = (e) => {
2169
2204
  let t = e.target.files;
2170
2205
  t && (Array.from(t).forEach((e) => {
2171
2206
  if (e.type.startsWith("image/") || e.type.startsWith("video/")) {
@@ -2180,9 +2215,9 @@ var M = {
2180
2215
  }, t.readAsDataURL(e);
2181
2216
  }
2182
2217
  }), e.target.value = "");
2183
- }, se = (e) => {
2218
+ }, oe = (e) => {
2184
2219
  S((t) => t.filter((t, n) => n !== e));
2185
- }, le = () => {
2220
+ }, se = () => {
2186
2221
  if (!g && C.current) {
2187
2222
  let e = C.current.getBoundingClientRect();
2188
2223
  b({
@@ -2191,16 +2226,16 @@ var M = {
2191
2226
  });
2192
2227
  }
2193
2228
  _(!g);
2194
- }, ue = (e) => {
2229
+ }, le = (e) => {
2195
2230
  if (C.current) {
2196
- let t = C.current.selectionStart || re.length, n = re.slice(0, t) + e + re.slice(t);
2231
+ let t = C.current.selectionStart || D.length, n = D.slice(0, t) + e + D.slice(t);
2197
2232
  h(n), o?.(n), C.current.focus(), C.current.setSelectionRange(t + e.length, t + e.length);
2198
2233
  }
2199
2234
  _(!1);
2200
2235
  };
2201
2236
  return e.useEffect(() => {
2202
2237
  let e = (e) => {
2203
- ee.current && !ee.current.contains(e.target) && E.current && !E.current.contains(e.target) && _(!1);
2238
+ E.current && !E.current.contains(e.target) && T.current && !T.current.contains(e.target) && _(!1);
2204
2239
  };
2205
2240
  return g && document.addEventListener("mousedown", e), () => {
2206
2241
  document.removeEventListener("mousedown", e);
@@ -2209,34 +2244,34 @@ var M = {
2209
2244
  c?.(x);
2210
2245
  }, [x, c]), /* @__PURE__ */ a("div", {
2211
2246
  className: [
2212
- W.composer,
2213
- W[`composer--${t}`],
2247
+ G.composer,
2248
+ G[`composer--${t}`],
2214
2249
  f ?? ""
2215
2250
  ].filter(Boolean).join(" "),
2216
2251
  children: [
2217
2252
  t === "uploading" && /* @__PURE__ */ a("div", {
2218
- className: W.upload,
2253
+ className: G.upload,
2219
2254
  children: [
2220
2255
  /* @__PURE__ */ i(y, {
2221
2256
  size: 16,
2222
- strokeWidth: D(16),
2223
- className: W.upload__icon,
2257
+ strokeWidth: O(16),
2258
+ className: G.upload__icon,
2224
2259
  "aria-hidden": "true"
2225
2260
  }),
2226
2261
  /* @__PURE__ */ a("div", {
2227
- className: W.upload__body,
2262
+ className: G.upload__body,
2228
2263
  children: [/* @__PURE__ */ i("span", {
2229
- className: W.upload__name,
2264
+ className: G.upload__name,
2230
2265
  children: l
2231
2266
  }), /* @__PURE__ */ i("div", {
2232
- className: W.upload__track,
2267
+ className: G.upload__track,
2233
2268
  children: /* @__PURE__ */ i("div", {
2234
- className: W.upload__fill,
2269
+ className: G.upload__fill,
2235
2270
  style: { width: `${u}%` }
2236
2271
  })
2237
2272
  })]
2238
2273
  }),
2239
- /* @__PURE__ */ i(Ae, {
2274
+ /* @__PURE__ */ i(ke, {
2240
2275
  icon: ce,
2241
2276
  variant: "ghost",
2242
2277
  size: "md",
@@ -2293,7 +2328,7 @@ var M = {
2293
2328
  })]
2294
2329
  }), /* @__PURE__ */ i("button", {
2295
2330
  type: "button",
2296
- onClick: () => se(t),
2331
+ onClick: () => oe(t),
2297
2332
  style: {
2298
2333
  position: "absolute",
2299
2334
  top: "-8px",
@@ -2321,45 +2356,45 @@ var M = {
2321
2356
  type: "file",
2322
2357
  multiple: !0,
2323
2358
  accept: "image/*,video/*",
2324
- onChange: oe,
2359
+ onChange: ae,
2325
2360
  style: { display: "none" }
2326
2361
  }),
2327
2362
  /* @__PURE__ */ a("div", {
2328
- className: W.row,
2363
+ className: G.row,
2329
2364
  children: [
2330
- /* @__PURE__ */ i(Ae, {
2331
- icon: T,
2365
+ /* @__PURE__ */ i(ke, {
2366
+ icon: ee,
2332
2367
  variant: "ghost",
2333
2368
  size: "sm",
2334
- onClick: ae,
2369
+ onClick: ie,
2335
2370
  disabled: p,
2336
2371
  "aria-label": "Attach file"
2337
2372
  }),
2338
2373
  /* @__PURE__ */ i("input", {
2339
2374
  ref: C,
2340
2375
  type: "text",
2341
- className: W.input,
2342
- value: re,
2376
+ className: G.input,
2377
+ value: D,
2343
2378
  placeholder: p ? "You can't reply to this conversation" : r,
2344
2379
  disabled: p,
2345
2380
  onChange: (e) => {
2346
2381
  n === void 0 && h(e.target.value), o?.(e.target.value);
2347
2382
  },
2348
2383
  onKeyDown: (e) => {
2349
- e.key === "Enter" && ie && (e.preventDefault(), s?.());
2384
+ e.key === "Enter" && re && (e.preventDefault(), s?.());
2350
2385
  }
2351
2386
  }),
2352
- /* @__PURE__ */ i(Ae, {
2353
- ref: E,
2387
+ /* @__PURE__ */ i(ke, {
2388
+ ref: T,
2354
2389
  icon: ne,
2355
2390
  variant: "ghost",
2356
2391
  size: "sm",
2357
- onClick: le,
2392
+ onClick: se,
2358
2393
  disabled: p,
2359
2394
  "aria-label": "Add emoji"
2360
2395
  }),
2361
2396
  g && !p && pe.createPortal(/* @__PURE__ */ i("div", {
2362
- ref: ee,
2397
+ ref: E,
2363
2398
  style: {
2364
2399
  position: "fixed",
2365
2400
  top: `${v.top}px`,
@@ -2393,7 +2428,7 @@ var M = {
2393
2428
  "🤗",
2394
2429
  "😎"
2395
2430
  ].map((e) => /* @__PURE__ */ i("button", {
2396
- onClick: () => ue(e),
2431
+ onClick: () => le(e),
2397
2432
  style: {
2398
2433
  background: "none",
2399
2434
  border: "none",
@@ -2412,20 +2447,20 @@ var M = {
2412
2447
  children: e
2413
2448
  }, e))
2414
2449
  }), document.body),
2415
- /* @__PURE__ */ i(Ae, {
2450
+ /* @__PURE__ */ i(ke, {
2416
2451
  icon: te,
2417
2452
  variant: "primary",
2418
2453
  size: "sm",
2419
- className: W.sendButton,
2454
+ className: G.sendButton,
2420
2455
  onClick: s,
2421
- disabled: !ie,
2456
+ disabled: !re,
2422
2457
  "aria-label": "Send message"
2423
2458
  })
2424
2459
  ]
2425
2460
  })
2426
2461
  ]
2427
2462
  });
2428
- }, G = {
2463
+ }, en = {
2429
2464
  wrapper: "_wrapper_1nmcn_3",
2430
2465
  "wrapper--disabled": "_wrapper--disabled_1nmcn_11",
2431
2466
  input: "_input_1nmcn_14",
@@ -2437,16 +2472,16 @@ var M = {
2437
2472
  text__description: "_text__description_1nmcn_73",
2438
2473
  checkbox: "_checkbox_1nmcn_77",
2439
2474
  "wrapper--withDescription": "_wrapper--withDescription_1nmcn_81"
2440
- }, Qt = e.forwardRef(({ label: t, description: n, indeterminate: r, disabled: o, id: s, className: c, ...l }, u) => {
2475
+ }, tn = e.forwardRef(({ label: t, description: n, indeterminate: r, disabled: o, id: s, className: c, ...l }, u) => {
2441
2476
  let d = e.useId(), f = s ?? d, p = e.useRef(null);
2442
2477
  return e.useImperativeHandle(u, () => p.current), e.useEffect(() => {
2443
2478
  p.current && (p.current.indeterminate = !!r);
2444
2479
  }, [r]), /* @__PURE__ */ a("label", {
2445
2480
  htmlFor: f,
2446
2481
  className: [
2447
- G.wrapper,
2448
- n ? G["wrapper--withDescription"] : "",
2449
- o ? G["wrapper--disabled"] : "",
2482
+ en.wrapper,
2483
+ n ? en["wrapper--withDescription"] : "",
2484
+ o ? en["wrapper--disabled"] : "",
2450
2485
  c ?? ""
2451
2486
  ].filter(Boolean).join(" "),
2452
2487
  children: [
@@ -2455,14 +2490,14 @@ var M = {
2455
2490
  id: f,
2456
2491
  type: "checkbox",
2457
2492
  disabled: o,
2458
- className: G.input,
2493
+ className: en.input,
2459
2494
  ...l
2460
2495
  }),
2461
2496
  /* @__PURE__ */ a("span", {
2462
- className: G.box,
2497
+ className: en.box,
2463
2498
  "aria-hidden": "true",
2464
2499
  children: [/* @__PURE__ */ i("svg", {
2465
- className: G.check,
2500
+ className: en.check,
2466
2501
  width: 12,
2467
2502
  height: 12,
2468
2503
  viewBox: "0 0 24 24",
@@ -2472,22 +2507,22 @@ var M = {
2472
2507
  strokeLinecap: "round",
2473
2508
  strokeLinejoin: "round",
2474
2509
  children: /* @__PURE__ */ i("polyline", { points: "20 6 9 17 4 12" })
2475
- }), /* @__PURE__ */ i("span", { className: G.dash })]
2510
+ }), /* @__PURE__ */ i("span", { className: en.dash })]
2476
2511
  }),
2477
2512
  (t || n) && /* @__PURE__ */ a("span", {
2478
- className: G.text,
2513
+ className: en.text,
2479
2514
  children: [t && /* @__PURE__ */ i("span", {
2480
- className: G.text__label,
2515
+ className: en.text__label,
2481
2516
  children: t
2482
2517
  }), n && /* @__PURE__ */ i("span", {
2483
- className: G.text__description,
2518
+ className: en.text__description,
2484
2519
  children: n
2485
2520
  })]
2486
2521
  })
2487
2522
  ]
2488
2523
  });
2489
2524
  });
2490
- Qt.displayName = "Checkbox";
2525
+ tn.displayName = "Checkbox";
2491
2526
  var K = {
2492
2527
  item: "_item_1hp9t_2",
2493
2528
  "item--hover": "_item--hover_1hp9t_12",
@@ -2503,7 +2538,7 @@ var K = {
2503
2538
  item__preview: "_item__preview_1hp9t_31",
2504
2539
  item__typing: "_item__typing_1hp9t_36",
2505
2540
  item__badge: "_item__badge_1hp9t_37"
2506
- }, $t = ({ state: e = "default", avatar: t, name: n, timestamp: r, preview: o, unreadCount: c, onClick: l, className: u }) => /* @__PURE__ */ a("div", {
2541
+ }, nn = ({ state: e = "default", avatar: t, name: n, timestamp: r, preview: o, unreadCount: c, onClick: l, className: u }) => /* @__PURE__ */ a("div", {
2507
2542
  role: "button",
2508
2543
  tabIndex: 0,
2509
2544
  onClick: l,
@@ -2533,7 +2568,7 @@ var K = {
2533
2568
  }),
2534
2569
  e === "muted" && /* @__PURE__ */ i(s, {
2535
2570
  size: 12,
2536
- strokeWidth: D(12),
2571
+ strokeWidth: O(12),
2537
2572
  className: K.item__mute,
2538
2573
  "aria-hidden": "true"
2539
2574
  }),
@@ -2556,26 +2591,26 @@ var K = {
2556
2591
  })]
2557
2592
  })]
2558
2593
  })]
2559
- }), en = {
2594
+ }), rn = {
2560
2595
  empty: "_empty_15v2t_2",
2561
2596
  empty__chip: "_empty__chip_15v2t_12",
2562
2597
  "empty__chip--error": "_empty__chip--error_15v2t_22",
2563
2598
  empty__title: "_empty__title_15v2t_23",
2564
2599
  empty__desc: "_empty__desc_15v2t_31",
2565
2600
  empty__action: "_empty__action_15v2t_39"
2566
- }, tn = {
2601
+ }, an = {
2567
2602
  "no-data": {
2568
- icon: /* @__PURE__ */ i(x, {
2603
+ icon: /* @__PURE__ */ i(S, {
2569
2604
  size: 18,
2570
- strokeWidth: D(18)
2605
+ strokeWidth: O(18)
2571
2606
  }),
2572
2607
  title: "No data yet",
2573
2608
  description: "Records will appear here once they are added."
2574
2609
  },
2575
2610
  "no-results": {
2576
- icon: /* @__PURE__ */ i(ee, {
2611
+ icon: /* @__PURE__ */ i(D, {
2577
2612
  size: 18,
2578
- strokeWidth: D(18)
2613
+ strokeWidth: O(18)
2579
2614
  }),
2580
2615
  title: "No results found",
2581
2616
  description: "Try adjusting your search or removing filters."
@@ -2583,80 +2618,80 @@ var K = {
2583
2618
  error: {
2584
2619
  icon: /* @__PURE__ */ i(m, {
2585
2620
  size: 18,
2586
- strokeWidth: D(18)
2621
+ strokeWidth: O(18)
2587
2622
  }),
2588
2623
  title: "Couldn't load data",
2589
2624
  description: "Something went wrong while fetching records."
2590
2625
  }
2591
- }, nn = ({ type: e = "no-data", title: t, description: n, actionLabel: r, onAction: o, icon: s, className: c }) => {
2592
- let l = tn[e];
2626
+ }, on = ({ type: e = "no-data", title: t, description: n, actionLabel: r, onAction: o, icon: s, className: c }) => {
2627
+ let l = an[e];
2593
2628
  return /* @__PURE__ */ a("div", {
2594
- className: [en.empty, c ?? ""].filter(Boolean).join(" "),
2629
+ className: [rn.empty, c ?? ""].filter(Boolean).join(" "),
2595
2630
  role: "status",
2596
2631
  children: [
2597
2632
  /* @__PURE__ */ i("span", {
2598
- className: [en.empty__chip, en[`empty__chip--${e}`]].join(" "),
2633
+ className: [rn.empty__chip, rn[`empty__chip--${e}`]].join(" "),
2599
2634
  "aria-hidden": "true",
2600
2635
  children: s ?? l.icon
2601
2636
  }),
2602
2637
  /* @__PURE__ */ i("p", {
2603
- className: en.empty__title,
2638
+ className: rn.empty__title,
2604
2639
  children: t ?? l.title
2605
2640
  }),
2606
2641
  /* @__PURE__ */ i("p", {
2607
- className: en.empty__desc,
2642
+ className: rn.empty__desc,
2608
2643
  children: n ?? l.description
2609
2644
  }),
2610
2645
  r && /* @__PURE__ */ i("button", {
2611
2646
  type: "button",
2612
- className: en.empty__action,
2647
+ className: rn.empty__action,
2613
2648
  onClick: o,
2614
2649
  children: r
2615
2650
  })
2616
2651
  ]
2617
2652
  });
2618
- }, rn = {
2653
+ }, sn = {
2619
2654
  chip: "_chip_rpkox_2",
2620
2655
  chip__lead: "_chip__lead_rpkox_20",
2621
2656
  chip__trail: "_chip__trail_rpkox_20",
2622
2657
  "chip--active": "_chip--active_rpkox_22",
2623
2658
  chip__remove: "_chip__remove_rpkox_29",
2624
2659
  "chip--add": "_chip--add_rpkox_38"
2625
- }, an = ({ type: e = "default", children: t, onClick: n, onRemove: r, className: o }) => /* @__PURE__ */ a("button", {
2660
+ }, cn = ({ type: e = "default", children: t, onClick: n, onRemove: r, className: o }) => /* @__PURE__ */ a("button", {
2626
2661
  type: "button",
2627
2662
  onClick: n,
2628
2663
  className: [
2629
- rn.chip,
2630
- rn[`chip--${e}`],
2664
+ sn.chip,
2665
+ sn[`chip--${e}`],
2631
2666
  o ?? ""
2632
2667
  ].filter(Boolean).join(" "),
2633
2668
  children: [
2634
2669
  e === "add" && /* @__PURE__ */ i(E, {
2635
2670
  size: 14,
2636
- strokeWidth: D(14),
2637
- className: rn.chip__lead,
2671
+ strokeWidth: O(14),
2672
+ className: sn.chip__lead,
2638
2673
  "aria-hidden": "true"
2639
2674
  }),
2640
2675
  /* @__PURE__ */ i("span", {
2641
- className: rn.chip__label,
2676
+ className: sn.chip__label,
2642
2677
  children: t
2643
2678
  }),
2644
2679
  e === "default" && /* @__PURE__ */ i(d, {
2645
2680
  size: 14,
2646
- strokeWidth: D(14),
2647
- className: rn.chip__trail,
2681
+ strokeWidth: O(14),
2682
+ className: sn.chip__trail,
2648
2683
  "aria-hidden": "true"
2649
2684
  }),
2650
2685
  e === "active" && /* @__PURE__ */ i("span", {
2651
2686
  role: "button",
2652
2687
  "aria-label": "Remove filter",
2653
- className: rn.chip__remove,
2688
+ className: sn.chip__remove,
2654
2689
  onClick: (e) => {
2655
2690
  e.stopPropagation(), r?.();
2656
2691
  },
2657
2692
  children: /* @__PURE__ */ i(ce, {
2658
2693
  size: 14,
2659
- strokeWidth: D(14),
2694
+ strokeWidth: O(14),
2660
2695
  "aria-hidden": "true"
2661
2696
  })
2662
2697
  })
@@ -2675,10 +2710,10 @@ var K = {
2675
2710
  input__control: "_input__control_14s0o_74",
2676
2711
  input__icon: "_input__icon_14s0o_103",
2677
2712
  "input--unstyled": "_input--unstyled_14s0o_113"
2678
- }, on = 16, sn = (t) => e.isValidElement(t) ? e.cloneElement(t, {
2679
- size: on,
2680
- strokeWidth: D(on)
2681
- }) : t, cn = 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) => {
2713
+ }, ln = 16, un = (t) => e.isValidElement(t) ? e.cloneElement(t, {
2714
+ size: ln,
2715
+ strokeWidth: O(ln)
2716
+ }) : t, dn = 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) => {
2682
2717
  let h = e.useId(), g = d ?? h, _ = !!r;
2683
2718
  return /* @__PURE__ */ a("div", {
2684
2719
  className: [q.field, f ?? ""].filter(Boolean).join(" "),
@@ -2699,7 +2734,7 @@ var K = {
2699
2734
  c && /* @__PURE__ */ i("span", {
2700
2735
  className: q.input__icon,
2701
2736
  "aria-hidden": "true",
2702
- children: sn(c)
2737
+ children: un(c)
2703
2738
  }),
2704
2739
  /* @__PURE__ */ i("input", {
2705
2740
  ref: m,
@@ -2713,7 +2748,7 @@ var K = {
2713
2748
  l && /* @__PURE__ */ i("span", {
2714
2749
  className: q.input__icon,
2715
2750
  "aria-hidden": "true",
2716
- children: sn(l)
2751
+ children: un(l)
2717
2752
  })
2718
2753
  ]
2719
2754
  }),
@@ -2725,7 +2760,7 @@ var K = {
2725
2760
  ]
2726
2761
  });
2727
2762
  });
2728
- cn.displayName = "Input";
2763
+ dn.displayName = "Input";
2729
2764
  var J = {
2730
2765
  row: "_row_1q1m5_2",
2731
2766
  "row--sent": "_row--sent_1q1m5_3",
@@ -2750,7 +2785,7 @@ var J = {
2750
2785
  foot__receipt: "_foot__receipt_1q1m5_32",
2751
2786
  system: "_system_1q1m5_34",
2752
2787
  system__pill: "_system__pill_1q1m5_35"
2753
- }, ln = ({ 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 }) => {
2788
+ }, fn = ({ 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 }) => {
2754
2789
  if (e === "system") return /* @__PURE__ */ i("div", {
2755
2790
  className: [J.system, h ?? ""].filter(Boolean).join(" "),
2756
2791
  children: /* @__PURE__ */ i("span", {
@@ -2793,7 +2828,7 @@ var J = {
2793
2828
  children: [
2794
2829
  /* @__PURE__ */ i(y, {
2795
2830
  size: 18,
2796
- strokeWidth: D(18),
2831
+ strokeWidth: O(18),
2797
2832
  className: J.file__icon,
2798
2833
  "aria-hidden": "true"
2799
2834
  }),
@@ -2809,7 +2844,7 @@ var J = {
2809
2844
  }),
2810
2845
  /* @__PURE__ */ i(g, {
2811
2846
  size: 16,
2812
- strokeWidth: D(16),
2847
+ strokeWidth: O(16),
2813
2848
  className: J.file__dl,
2814
2849
  "aria-hidden": "true"
2815
2850
  })
@@ -2828,7 +2863,7 @@ var J = {
2828
2863
  children: s
2829
2864
  }), m && /* @__PURE__ */ i(u, {
2830
2865
  size: 13,
2831
- strokeWidth: D(13),
2866
+ strokeWidth: O(13),
2832
2867
  className: J.foot__receipt,
2833
2868
  "aria-hidden": "true"
2834
2869
  })] })]
@@ -2836,7 +2871,7 @@ var J = {
2836
2871
  ]
2837
2872
  })]
2838
2873
  });
2839
- }, un = {
2874
+ }, pn = {
2840
2875
  pagination: "_pagination_on2nb_2",
2841
2876
  page: "_page_on2nb_9",
2842
2877
  arrow: "_arrow_on2nb_9",
@@ -2845,7 +2880,7 @@ var J = {
2845
2880
  };
2846
2881
  //#endregion
2847
2882
  //#region src/components/Pagination/Pagination.tsx
2848
- function dn(e, t, n) {
2883
+ function mn(e, t, n) {
2849
2884
  let r = t, i = Math.min(t + n, e), a = /* @__PURE__ */ new Set([1, e]);
2850
2885
  for (let e = r; e <= i; e++) a.add(e);
2851
2886
  let o = Array.from(a).sort((e, t) => e - t), s = [];
@@ -2853,55 +2888,55 @@ function dn(e, t, n) {
2853
2888
  t > 0 && e - o[t - 1] > 1 && s.push("ellipsis"), s.push(e);
2854
2889
  }), s;
2855
2890
  }
2856
- var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o }) => {
2857
- let s = dn(e, t, r);
2891
+ var hn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o }) => {
2892
+ let s = mn(e, t, r);
2858
2893
  return /* @__PURE__ */ a("nav", {
2859
- className: [un.pagination, o ?? ""].filter(Boolean).join(" "),
2894
+ className: [pn.pagination, o ?? ""].filter(Boolean).join(" "),
2860
2895
  "aria-label": "Pagination",
2861
2896
  children: [
2862
2897
  /* @__PURE__ */ i("button", {
2863
2898
  type: "button",
2864
- className: un.arrow,
2899
+ className: pn.arrow,
2865
2900
  disabled: t <= 1,
2866
2901
  onClick: () => n(t - 1),
2867
2902
  "aria-label": "Previous page",
2868
2903
  children: /* @__PURE__ */ i(f, {
2869
2904
  size: 16,
2870
- strokeWidth: D(16)
2905
+ strokeWidth: O(16)
2871
2906
  })
2872
2907
  }),
2873
2908
  s.map((e, r) => e === "ellipsis" ? /* @__PURE__ */ i("span", {
2874
- className: un.ellipsis,
2909
+ className: pn.ellipsis,
2875
2910
  "aria-hidden": "true",
2876
2911
  children: "…"
2877
2912
  }, `e${r}`) : /* @__PURE__ */ i("button", {
2878
2913
  type: "button",
2879
- className: [un.page, e === t ? un["page--active"] : ""].filter(Boolean).join(" "),
2914
+ className: [pn.page, e === t ? pn["page--active"] : ""].filter(Boolean).join(" "),
2880
2915
  "aria-current": e === t ? "page" : void 0,
2881
2916
  onClick: () => n(e),
2882
2917
  children: e
2883
2918
  }, e)),
2884
2919
  /* @__PURE__ */ i("button", {
2885
2920
  type: "button",
2886
- className: un.arrow,
2921
+ className: pn.arrow,
2887
2922
  disabled: t >= e,
2888
2923
  onClick: () => n(t + 1),
2889
2924
  "aria-label": "Next page",
2890
2925
  children: /* @__PURE__ */ i(p, {
2891
2926
  size: 16,
2892
- strokeWidth: D(16)
2927
+ strokeWidth: O(16)
2893
2928
  })
2894
2929
  })
2895
2930
  ]
2896
2931
  });
2897
- }, pn = {
2932
+ }, gn = {
2898
2933
  track: "_track_13bev_2",
2899
2934
  segment: "_segment_13bev_12",
2900
2935
  "segment--active": "_segment--active_13bev_32",
2901
2936
  thumb: "_thumb_13bev_38",
2902
2937
  "thumb--animated": "_thumb--animated_13bev_52",
2903
2938
  "track--fullWidth": "_track--fullWidth_13bev_58"
2904
- }, mn = ({ options: t, value: n, defaultValue: r, onChange: o, fullWidth: s, className: c }) => {
2939
+ }, _n = ({ options: t, value: n, defaultValue: r, onChange: o, fullWidth: s, className: c }) => {
2905
2940
  let l = n !== void 0, [u, d] = e.useState(r ?? t[0]?.value), f = l ? n : u, p = (e) => {
2906
2941
  l || d(e), o?.(e);
2907
2942
  }, m = e.useRef(null), h = e.useRef({}), [g, _] = e.useState(null), [v, y] = e.useState(!1);
@@ -2922,13 +2957,13 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
2922
2957
  ref: m,
2923
2958
  role: "tablist",
2924
2959
  className: [
2925
- pn.track,
2926
- s ? pn["track--fullWidth"] : "",
2960
+ gn.track,
2961
+ s ? gn["track--fullWidth"] : "",
2927
2962
  c ?? ""
2928
2963
  ].filter(Boolean).join(" "),
2929
2964
  children: [g && /* @__PURE__ */ i("span", {
2930
2965
  "aria-hidden": "true",
2931
- className: [pn.thumb, v ? pn["thumb--animated"] : ""].filter(Boolean).join(" "),
2966
+ className: [gn.thumb, v ? gn["thumb--animated"] : ""].filter(Boolean).join(" "),
2932
2967
  style: {
2933
2968
  transform: `translateX(${g.left}px)`,
2934
2969
  width: g.width
@@ -2942,7 +2977,7 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
2942
2977
  role: "tab",
2943
2978
  type: "button",
2944
2979
  "aria-selected": t,
2945
- className: [pn.segment, t ? pn["segment--active"] : ""].filter(Boolean).join(" "),
2980
+ className: [gn.segment, t ? gn["segment--active"] : ""].filter(Boolean).join(" "),
2946
2981
  onClick: () => p(e.value),
2947
2982
  children: e.label
2948
2983
  }, e.value);
@@ -2977,14 +3012,14 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
2977
3012
  "option--selected": "_option--selected_wvw9t_159",
2978
3013
  option__label: "_option__label_wvw9t_161",
2979
3014
  option__check: "_option__check_wvw9t_162"
2980
- }, hn = ({ 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 }) => {
2981
- 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), [ee, te] = e.useState(0), ne = e.useRef(null), re = e.useRef(null), ie = e.useRef(null), [ae, oe] = e.useState(null);
3015
+ }, vn = ({ 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 }) => {
3016
+ 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, ee] = e.useState(!1), [E, D] = e.useState(0), te = e.useRef(null), ne = e.useRef(null), re = e.useRef(null), ie = Ue(te, T), [ae, oe] = e.useState(null);
2982
3017
  e.useEffect(() => {
2983
- C && E(!0);
3018
+ C && ee(!0);
2984
3019
  }, [C]), e.useLayoutEffect(() => {
2985
3020
  if (!C) return;
2986
3021
  let e = () => {
2987
- let e = re.current;
3022
+ let e = ne.current;
2988
3023
  if (!e) return;
2989
3024
  let t = e.getBoundingClientRect();
2990
3025
  oe({
@@ -3000,13 +3035,13 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3000
3035
  if (!C) return;
3001
3036
  let e = (e) => {
3002
3037
  let t = e.target;
3003
- ne.current?.contains(t) || ie.current?.contains(t) || w(!1);
3038
+ te.current?.contains(t) || re.current?.contains(t) || w(!1);
3004
3039
  };
3005
3040
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
3006
3041
  }, [C]), e.useEffect(() => {
3007
3042
  if (!C) return;
3008
3043
  let e = c.findIndex((e) => e.value === x);
3009
- te(e >= 0 ? e : 0);
3044
+ D(e >= 0 ? e : 0);
3010
3045
  }, [
3011
3046
  C,
3012
3047
  c,
@@ -3015,7 +3050,7 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3015
3050
  let se = (e) => {
3016
3051
  e.disabled || (l === void 0 && b(e.value), d?.(e.value), w(!1));
3017
3052
  }, ce = (e) => {
3018
- te((t) => {
3053
+ D((t) => {
3019
3054
  let n = t;
3020
3055
  for (let t = 0; t < c.length; t += 1) if (n = (n + e + c.length) % c.length, !c[n]?.disabled) return n;
3021
3056
  return t;
@@ -3023,7 +3058,7 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3023
3058
  };
3024
3059
  return /* @__PURE__ */ a("div", {
3025
3060
  className: [Y.field, m ?? ""].filter(Boolean).join(" "),
3026
- ref: ne,
3061
+ ref: te,
3027
3062
  children: [
3028
3063
  t && /* @__PURE__ */ i("label", {
3029
3064
  htmlFor: g,
@@ -3033,7 +3068,7 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3033
3068
  /* @__PURE__ */ a("div", {
3034
3069
  className: Y.anchor,
3035
3070
  children: [/* @__PURE__ */ a("div", {
3036
- ref: re,
3071
+ ref: ne,
3037
3072
  id: g,
3038
3073
  role: "combobox",
3039
3074
  tabIndex: f ? -1 : 0,
@@ -3042,7 +3077,7 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3042
3077
  "aria-controls": _,
3043
3078
  "aria-invalid": v || void 0,
3044
3079
  "aria-disabled": f || void 0,
3045
- "aria-activedescendant": C ? `${_}-opt-${ee}` : void 0,
3080
+ "aria-activedescendant": C ? `${_}-opt-${E}` : void 0,
3046
3081
  onClick: () => !f && w((e) => !e),
3047
3082
  onKeyDown: (e) => {
3048
3083
  if (!f) {
@@ -3052,11 +3087,11 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3052
3087
  }
3053
3088
  if (C) if (e.key === "ArrowDown") e.preventDefault(), ce(1);
3054
3089
  else if (e.key === "ArrowUp") e.preventDefault(), ce(-1);
3055
- else if (e.key === "Home") e.preventDefault(), te(0);
3056
- else if (e.key === "End") e.preventDefault(), te(c.length - 1);
3090
+ else if (e.key === "Home") e.preventDefault(), D(0);
3091
+ else if (e.key === "End") e.preventDefault(), D(c.length - 1);
3057
3092
  else if (e.key === "Enter" || e.key === " ") {
3058
3093
  e.preventDefault();
3059
- let t = c[ee];
3094
+ let t = c[E];
3060
3095
  t && se(t);
3061
3096
  } else e.key === "Escape" && (e.preventDefault(), w(!1));
3062
3097
  }
@@ -3080,17 +3115,21 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3080
3115
  viewBox: "0 0 24 24",
3081
3116
  fill: "none",
3082
3117
  stroke: "currentColor",
3083
- strokeWidth: D(16),
3118
+ strokeWidth: O(16),
3084
3119
  strokeLinecap: "round",
3085
3120
  strokeLinejoin: "round",
3086
3121
  children: /* @__PURE__ */ i("path", { d: "m6 9 6 6 6-6" })
3087
3122
  })
3088
3123
  })]
3089
3124
  }), T && ae && me(/* @__PURE__ */ i("div", {
3090
- ref: ie,
3125
+ ref: re,
3091
3126
  id: _,
3092
3127
  role: "listbox",
3093
- className: [Y.panel, C ? Y["panel--entering"] : Y["panel--exiting"]].filter(Boolean).join(" "),
3128
+ className: [
3129
+ ie,
3130
+ Y.panel,
3131
+ C ? Y["panel--entering"] : Y["panel--exiting"]
3132
+ ].filter(Boolean).join(" "),
3094
3133
  style: {
3095
3134
  position: "fixed",
3096
3135
  top: ae.top,
@@ -3098,18 +3137,18 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3098
3137
  width: ae.width
3099
3138
  },
3100
3139
  onAnimationEnd: () => {
3101
- C || E(!1);
3140
+ C || ee(!1);
3102
3141
  },
3103
3142
  children: c.map((e, t) => /* @__PURE__ */ a("div", {
3104
3143
  id: `${_}-opt-${t}`,
3105
3144
  role: "option",
3106
3145
  "aria-selected": e.value === x,
3107
3146
  "aria-disabled": e.disabled || void 0,
3108
- onMouseEnter: () => !e.disabled && te(t),
3147
+ onMouseEnter: () => !e.disabled && D(t),
3109
3148
  onClick: () => se(e),
3110
3149
  className: [
3111
3150
  Y.option,
3112
- t === ee ? Y["option--active"] : "",
3151
+ t === E ? Y["option--active"] : "",
3113
3152
  e.value === x ? Y["option--selected"] : "",
3114
3153
  e.disabled ? Y["option--disabled"] : ""
3115
3154
  ].filter(Boolean).join(" "),
@@ -3140,22 +3179,22 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3140
3179
  })
3141
3180
  ]
3142
3181
  });
3143
- }, gn = {
3182
+ }, yn = {
3144
3183
  sidebar: "_sidebar_14oy8_4",
3145
3184
  "sidebar--collapsed": "_sidebar--collapsed_14oy8_20"
3146
- }, _n = ({ collapsed: e = !1, children: t, className: n }) => /* @__PURE__ */ i("nav", {
3185
+ }, bn = ({ collapsed: e = !1, children: t, className: n }) => /* @__PURE__ */ i("nav", {
3147
3186
  className: [
3148
- gn.sidebar,
3149
- e ? gn["sidebar--collapsed"] : "",
3187
+ yn.sidebar,
3188
+ e ? yn["sidebar--collapsed"] : "",
3150
3189
  n ?? ""
3151
3190
  ].filter(Boolean).join(" "),
3152
3191
  "data-collapsed": e,
3153
3192
  children: t
3154
- }), vn = { divider: "_divider_18c5j_1" }, yn = () => /* @__PURE__ */ i("div", {
3155
- className: vn.divider,
3193
+ }), xn = { divider: "_divider_18c5j_1" }, Sn = () => /* @__PURE__ */ i("div", {
3194
+ className: xn.divider,
3156
3195
  role: "separator"
3157
- }), bn = { groupLabel: "_groupLabel_62q1j_2" }, xn = ({ children: e }) => /* @__PURE__ */ i("div", {
3158
- className: bn.groupLabel,
3196
+ }), Cn = { groupLabel: "_groupLabel_62q1j_2" }, wn = ({ children: e }) => /* @__PURE__ */ i("div", {
3197
+ className: Cn.groupLabel,
3159
3198
  children: e
3160
3199
  }), X = {
3161
3200
  header: "_header_1wyz2_2",
@@ -3169,7 +3208,7 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3169
3208
  header__title: "_header__title_1wyz2_65",
3170
3209
  header__subtitle: "_header__subtitle_1wyz2_66",
3171
3210
  header__toggle: "_header__toggle_1wyz2_67"
3172
- }, Sn = ({ type: e = "brand", title: t, subtitle: n, logo: r, collapsed: o, onToggle: s, toggleIcon: c = w }) => /* @__PURE__ */ a("div", {
3211
+ }, Tn = ({ type: e = "brand", title: t, subtitle: n, logo: r, collapsed: o, onToggle: s, toggleIcon: c = T }) => /* @__PURE__ */ a("div", {
3173
3212
  className: [X.header, o ? X["header--collapsed"] : ""].filter(Boolean).join(" "),
3174
3213
  children: [
3175
3214
  r && (o && e === "brand-toggle" && s ? /* @__PURE__ */ i("button", {
@@ -3187,7 +3226,7 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3187
3226
  "aria-hidden": "true",
3188
3227
  children: /* @__PURE__ */ i(c, {
3189
3228
  size: 16,
3190
- strokeWidth: D(16)
3229
+ strokeWidth: O(16)
3191
3230
  })
3192
3231
  })]
3193
3232
  })
@@ -3216,7 +3255,7 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3216
3255
  "aria-label": "Collapse sidebar",
3217
3256
  children: /* @__PURE__ */ i(c, {
3218
3257
  size: 18,
3219
- strokeWidth: D(18)
3258
+ strokeWidth: O(18)
3220
3259
  })
3221
3260
  })
3222
3261
  ]
@@ -3232,7 +3271,7 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3232
3271
  "item--collapsed": "_item--collapsed_1k6es_88",
3233
3272
  item__label: "_item__label_1k6es_114",
3234
3273
  "item__label--collapsed": "_item__label--collapsed_1k6es_123"
3235
- }, Cn = ({ icon: e, label: t, active: n, activeIndicator: o = !0, disabled: s, badge: c, hasSubmenu: l, collapsed: u, onClick: d, href: f, nativeTooltip: m = !0 }) => {
3274
+ }, En = ({ icon: e, label: t, active: n, activeIndicator: o = !0, disabled: s, badge: c, hasSubmenu: l, collapsed: u, onClick: d, href: f, nativeTooltip: m = !0 }) => {
3236
3275
  let h = n && (u || o), g = n && !u && !o, _ = [
3237
3276
  Z.item,
3238
3277
  h ? Z["item--active"] : "",
@@ -3249,7 +3288,7 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3249
3288
  "aria-hidden": "true",
3250
3289
  children: /* @__PURE__ */ i(e, {
3251
3290
  size: 18,
3252
- strokeWidth: D(18)
3291
+ strokeWidth: O(18)
3253
3292
  })
3254
3293
  }),
3255
3294
  /* @__PURE__ */ i("span", {
@@ -3265,7 +3304,7 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3265
3304
  "aria-hidden": "true",
3266
3305
  children: /* @__PURE__ */ i(p, {
3267
3306
  size: 16,
3268
- strokeWidth: D(16)
3307
+ strokeWidth: O(16)
3269
3308
  })
3270
3309
  })
3271
3310
  ] }), y = {
@@ -3285,25 +3324,25 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3285
3324
  ...y,
3286
3325
  children: v
3287
3326
  });
3288
- }, wn = {
3327
+ }, Dn = {
3289
3328
  subItem: "_subItem_b3cst_2",
3290
3329
  "subItem--disabled": "_subItem--disabled_b3cst_24",
3291
3330
  "subItem--active": "_subItem--active_b3cst_25",
3292
3331
  subItem__dot: "_subItem__dot_b3cst_29",
3293
3332
  subItem__label: "_subItem__label_b3cst_39"
3294
- }, Tn = ({ label: e, active: t, disabled: n, onClick: o, href: s }) => {
3333
+ }, On = ({ label: e, active: t, disabled: n, onClick: o, href: s }) => {
3295
3334
  let c = {
3296
3335
  className: [
3297
- wn.subItem,
3298
- t ? wn["subItem--active"] : "",
3299
- n ? wn["subItem--disabled"] : ""
3336
+ Dn.subItem,
3337
+ t ? Dn["subItem--active"] : "",
3338
+ n ? Dn["subItem--disabled"] : ""
3300
3339
  ].filter(Boolean).join(" "),
3301
3340
  "aria-current": t ? "page" : void 0
3302
3341
  }, l = /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("span", {
3303
- className: wn.subItem__dot,
3342
+ className: Dn.subItem__dot,
3304
3343
  "aria-hidden": "true"
3305
3344
  }), /* @__PURE__ */ i("span", {
3306
- className: wn.subItem__label,
3345
+ className: Dn.subItem__label,
3307
3346
  children: e
3308
3347
  })] });
3309
3348
  return s && !n ? /* @__PURE__ */ i("a", {
@@ -3317,41 +3356,41 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3317
3356
  ...c,
3318
3357
  children: l
3319
3358
  });
3320
- }, En = {
3359
+ }, kn = {
3321
3360
  skeleton: "_skeleton_94hr3_9",
3322
3361
  "skeleton-shimmer": "_skeleton-shimmer_94hr3_1",
3323
3362
  "skeleton--text": "_skeleton--text_94hr3_22",
3324
3363
  "skeleton--rect": "_skeleton--rect_94hr3_29",
3325
3364
  "skeleton--circle": "_skeleton--circle_94hr3_35"
3326
- }, Dn = ({ variant: e = "text", width: t, height: n, className: r }) => {
3365
+ }, An = ({ variant: e = "text", width: t, height: n, className: r }) => {
3327
3366
  let a = {};
3328
3367
  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", {
3329
3368
  "aria-hidden": "true",
3330
3369
  className: [
3331
- En.skeleton,
3332
- En[`skeleton--${e}`],
3370
+ kn.skeleton,
3371
+ kn[`skeleton--${e}`],
3333
3372
  r ?? ""
3334
3373
  ].filter(Boolean).join(" "),
3335
3374
  style: a
3336
3375
  });
3337
- }, On = {
3376
+ }, jn = {
3338
3377
  field: "_field_drnb1_3",
3339
3378
  header: "_header_drnb1_4",
3340
3379
  label: "_label_drnb1_5",
3341
3380
  value: "_value_drnb1_6",
3342
3381
  slider: "_slider_drnb1_8"
3343
- }, kn = 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) => {
3382
+ }, Mn = 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) => {
3344
3383
  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;
3345
3384
  return /* @__PURE__ */ a("div", {
3346
- className: [On.field, d ?? ""].filter(Boolean).join(" "),
3385
+ className: [jn.field, d ?? ""].filter(Boolean).join(" "),
3347
3386
  children: [(t || n) && /* @__PURE__ */ a("div", {
3348
- className: On.header,
3387
+ className: jn.header,
3349
3388
  children: [t && /* @__PURE__ */ i("label", {
3350
3389
  htmlFor: g,
3351
- className: On.label,
3390
+ className: jn.label,
3352
3391
  children: t
3353
3392
  }), n && /* @__PURE__ */ i("span", {
3354
- className: On.value,
3393
+ className: jn.value,
3355
3394
  children: b
3356
3395
  })]
3357
3396
  }), /* @__PURE__ */ i("input", {
@@ -3366,50 +3405,51 @@ var fn = ({ total: e, page: t, onPageChange: n, siblings: r = 1, className: o })
3366
3405
  onChange: (e) => {
3367
3406
  s === void 0 && y(Number(e.target.value)), f?.(e);
3368
3407
  },
3369
- className: On.slider,
3408
+ className: jn.slider,
3370
3409
  style: { "--pct": `${x}%` },
3371
3410
  ...p
3372
3411
  })]
3373
3412
  });
3374
3413
  });
3375
- kn.displayName = "Slider";
3414
+ Mn.displayName = "Slider";
3376
3415
  var Q = {
3377
- wrap: "_wrap_okjfz_6",
3378
- "wrap--bordered": "_wrap--bordered_okjfz_17",
3379
- table: "_table_okjfz_22",
3380
- headerRow: "_headerRow_okjfz_44",
3381
- headerCell: "_headerCell_okjfz_45",
3382
- bodyRow: "_bodyRow_okjfz_61",
3383
- "bodyRow--selected": "_bodyRow--selected_okjfz_66",
3384
- bodyCell: "_bodyCell_okjfz_68",
3385
- checkCell: "_checkCell_okjfz_80",
3386
- checkbox: "_checkbox_okjfz_104",
3387
- checkbox__input: "_checkbox__input_okjfz_111",
3388
- checkbox__box: "_checkbox__box_okjfz_113",
3389
- checkbox__check: "_checkbox__check_okjfz_134",
3390
- checkbox__dash: "_checkbox__dash_okjfz_141",
3391
- stackedList: "_stackedList_okjfz_160",
3392
- card: "_card_okjfz_167",
3393
- "card--selected": "_card--selected_okjfz_177",
3394
- card__field: "_card__field_okjfz_179",
3395
- card__label: "_card__label_okjfz_187",
3396
- card__value: "_card__value_okjfz_193",
3397
- card__selectRow: "_card__selectRow_okjfz_203",
3398
- "bodyRow--draggable": "_bodyRow--draggable_okjfz_213",
3399
- "bodyRow--dragging": "_bodyRow--dragging_okjfz_215",
3400
- "bodyRow--dropTarget": "_bodyRow--dropTarget_okjfz_216"
3401
- }, An = 640;
3402
- function jn(t) {
3416
+ wrap: "_wrap_1uzvf_6",
3417
+ "wrap--bordered": "_wrap--bordered_1uzvf_17",
3418
+ table: "_table_1uzvf_22",
3419
+ headerRow: "_headerRow_1uzvf_44",
3420
+ headerCell: "_headerCell_1uzvf_45",
3421
+ bodyRow: "_bodyRow_1uzvf_61",
3422
+ "bodyRow--selected": "_bodyRow--selected_1uzvf_66",
3423
+ bodyCell: "_bodyCell_1uzvf_68",
3424
+ checkCell: "_checkCell_1uzvf_80",
3425
+ checkbox: "_checkbox_1uzvf_104",
3426
+ checkbox__input: "_checkbox__input_1uzvf_111",
3427
+ checkbox__box: "_checkbox__box_1uzvf_113",
3428
+ checkbox__check: "_checkbox__check_1uzvf_134",
3429
+ checkbox__dash: "_checkbox__dash_1uzvf_141",
3430
+ stackedList: "_stackedList_1uzvf_160",
3431
+ card: "_card_1uzvf_167",
3432
+ "card--selected": "_card--selected_1uzvf_177",
3433
+ card__field: "_card__field_1uzvf_179",
3434
+ card__label: "_card__label_1uzvf_187",
3435
+ card__value: "_card__value_1uzvf_193",
3436
+ card__selectRow: "_card__selectRow_1uzvf_203",
3437
+ "bodyRow--dragging": "_bodyRow--dragging_1uzvf_213",
3438
+ "bodyRow--dropTarget": "_bodyRow--dropTarget_1uzvf_214",
3439
+ dragCell: "_dragCell_1uzvf_221",
3440
+ dragHandle: "_dragHandle_1uzvf_237"
3441
+ }, Nn = 640;
3442
+ function Pn(t) {
3403
3443
  let [n, r] = e.useState(!1);
3404
3444
  return e.useEffect(() => {
3405
3445
  if (t !== "auto") return;
3406
- let e = window.matchMedia(`(max-width: ${An}px)`);
3446
+ let e = window.matchMedia(`(max-width: ${Nn}px)`);
3407
3447
  r(e.matches);
3408
3448
  let n = (e) => r(e.matches);
3409
3449
  return e.addEventListener("change", n), () => e.removeEventListener("change", n);
3410
3450
  }, [t]), t === "default" ? "default" : t === "stacked" || n ? "stacked" : "default";
3411
3451
  }
3412
- var Mn = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
3452
+ var Fn = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
3413
3453
  let s = e.useRef(null);
3414
3454
  return e.useEffect(() => {
3415
3455
  s.current && (s.current.indeterminate = !!n);
@@ -3440,17 +3480,17 @@ var Mn = ({ checked: t, indeterminate: n, onChange: r, label: o }) => {
3440
3480
  })]
3441
3481
  });
3442
3482
  };
3443
- function Nn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionChange: s, rowKey: c, reorderable: l, onReorder: u, bordered: d = !0, responsive: f = "auto", className: p }) {
3444
- let m = jn(f), h = o !== void 0, [g, _] = e.useState([]), v = h ? o : g, y = (e) => {
3483
+ function In({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionChange: s, rowKey: c, reorderable: l, onReorder: u, bordered: d = !0, responsive: f = "auto", className: p }) {
3484
+ let m = Pn(f), h = o !== void 0, [g, _] = e.useState([]), v = h ? o : g, y = (e) => {
3445
3485
  h || _(e), s?.(e);
3446
- }, b = n.length > 0 && v.length === n.length, x = v.length > 0 && !b, [S, C] = e.useState(null), [w, T] = e.useState(null), E = () => {
3447
- if (S === null || w === null || S === w) {
3448
- C(null), T(null);
3486
+ }, x = n.length > 0 && v.length === n.length, S = v.length > 0 && !x, [C, w] = e.useState(null), [T, ee] = e.useState(null), E = () => {
3487
+ if (C === null || T === null || C === T) {
3488
+ w(null), ee(null);
3449
3489
  return;
3450
3490
  }
3451
- let e = [...n], [t] = e.splice(S, 1);
3452
- e.splice(w, 0, t), u?.(e), C(null), T(null);
3453
- }, ee = () => y(b ? [] : n.map((e, t) => t)), te = (e) => y(v.includes(e) ? v.filter((t) => t !== e) : [...v, e]);
3491
+ let e = [...n], [t] = e.splice(C, 1);
3492
+ e.splice(T, 0, t), u?.(e), w(null), ee(null);
3493
+ }, D = () => y(x ? [] : n.map((e, t) => t)), te = (e) => y(v.includes(e) ? v.filter((t) => t !== e) : [...v, e]);
3454
3494
  return m === "stacked" ? /* @__PURE__ */ i("div", {
3455
3495
  className: [Q.stackedList, p ?? ""].filter(Boolean).join(" "),
3456
3496
  role: "list",
@@ -3461,7 +3501,7 @@ function Nn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3461
3501
  className: [Q.card, o ? Q["card--selected"] : ""].filter(Boolean).join(" "),
3462
3502
  children: [r && /* @__PURE__ */ i("div", {
3463
3503
  className: Q.card__selectRow,
3464
- children: /* @__PURE__ */ i(Mn, {
3504
+ children: /* @__PURE__ */ i(Fn, {
3465
3505
  checked: o,
3466
3506
  onChange: () => te(n),
3467
3507
  label: `Select row ${n + 1}`
@@ -3488,59 +3528,81 @@ function Nn({ columns: t, rows: n, selectable: r, selectedRows: o, onSelectionCh
3488
3528
  className: Q.table,
3489
3529
  children: [/* @__PURE__ */ i("thead", { children: /* @__PURE__ */ a("tr", {
3490
3530
  className: Q.headerRow,
3491
- children: [r && /* @__PURE__ */ i("th", {
3492
- className: Q.checkCell,
3493
- children: /* @__PURE__ */ i(Mn, {
3494
- checked: b,
3495
- indeterminate: x,
3496
- onChange: ee,
3497
- label: "Select all rows"
3498
- })
3499
- }), t.map((e) => /* @__PURE__ */ i("th", {
3500
- className: Q.headerCell,
3501
- style: {
3502
- textAlign: e.align ?? "left",
3503
- width: e.width
3504
- },
3505
- children: e.header
3506
- }, e.key))]
3531
+ children: [
3532
+ l && /* @__PURE__ */ i("th", {
3533
+ className: Q.dragCell,
3534
+ "aria-hidden": "true"
3535
+ }),
3536
+ r && /* @__PURE__ */ i("th", {
3537
+ className: Q.checkCell,
3538
+ children: /* @__PURE__ */ i(Fn, {
3539
+ checked: x,
3540
+ indeterminate: S,
3541
+ onChange: D,
3542
+ label: "Select all rows"
3543
+ })
3544
+ }),
3545
+ t.map((e) => /* @__PURE__ */ i("th", {
3546
+ className: Q.headerCell,
3547
+ style: {
3548
+ textAlign: e.align ?? "left",
3549
+ width: e.width
3550
+ },
3551
+ children: e.header
3552
+ }, e.key))
3553
+ ]
3507
3554
  }) }), /* @__PURE__ */ i("tbody", { children: n.map((e, n) => {
3508
3555
  let o = v.includes(n);
3509
3556
  return /* @__PURE__ */ a("tr", {
3510
- draggable: l || void 0,
3511
- onDragStart: l ? () => C(n) : void 0,
3512
3557
  onDragOver: l ? (e) => {
3513
- e.preventDefault(), T(n);
3558
+ e.preventDefault(), ee(n);
3514
3559
  } : void 0,
3515
3560
  onDrop: l ? E : void 0,
3516
3561
  onDragEnd: l ? () => {
3517
- C(null), T(null);
3562
+ w(null), ee(null);
3518
3563
  } : void 0,
3519
3564
  className: [
3520
3565
  Q.bodyRow,
3521
3566
  o ? Q["bodyRow--selected"] : "",
3522
- l ? Q["bodyRow--draggable"] : "",
3523
- w === n && S !== null && S !== n ? Q["bodyRow--dropTarget"] : "",
3524
- S === n ? Q["bodyRow--dragging"] : ""
3567
+ T === n && C !== null && C !== n ? Q["bodyRow--dropTarget"] : "",
3568
+ C === n ? Q["bodyRow--dragging"] : ""
3525
3569
  ].filter(Boolean).join(" "),
3526
- children: [r && /* @__PURE__ */ i("td", {
3527
- className: Q.checkCell,
3528
- children: /* @__PURE__ */ i(Mn, {
3529
- checked: o,
3530
- onChange: () => te(n),
3531
- label: `Select row ${n + 1}`
3532
- })
3533
- }), t.map((t) => /* @__PURE__ */ i("td", {
3534
- className: Q.bodyCell,
3535
- style: { textAlign: t.align ?? "left" },
3536
- children: t.render ? t.render(e) : String(e[t.key] ?? "")
3537
- }, t.key))]
3570
+ children: [
3571
+ l && /* @__PURE__ */ i("td", {
3572
+ className: Q.dragCell,
3573
+ children: /* @__PURE__ */ i("span", {
3574
+ className: Q.dragHandle,
3575
+ draggable: !0,
3576
+ onDragStart: (e) => {
3577
+ e.dataTransfer.setDragImage(e.currentTarget.closest("tr"), 0, 0), w(n);
3578
+ },
3579
+ "aria-hidden": "true",
3580
+ children: /* @__PURE__ */ i(b, {
3581
+ size: 14,
3582
+ strokeWidth: 1.5
3583
+ })
3584
+ })
3585
+ }),
3586
+ r && /* @__PURE__ */ i("td", {
3587
+ className: Q.checkCell,
3588
+ children: /* @__PURE__ */ i(Fn, {
3589
+ checked: o,
3590
+ onChange: () => te(n),
3591
+ label: `Select row ${n + 1}`
3592
+ })
3593
+ }),
3594
+ t.map((t) => /* @__PURE__ */ i("td", {
3595
+ className: Q.bodyCell,
3596
+ style: { textAlign: t.align ?? "left" },
3597
+ children: t.render ? t.render(e) : String(e[t.key] ?? "")
3598
+ }, t.key))
3599
+ ]
3538
3600
  }, c ? c(e, n) : n);
3539
3601
  }) })]
3540
3602
  })
3541
3603
  });
3542
3604
  }
3543
- var Pn = {
3605
+ var Ln = {
3544
3606
  tabs: "_tabs_1122j_3",
3545
3607
  "tabs--borderless": "_tabs--borderless_1122j_16",
3546
3608
  "tabs--fill": "_tabs--fill_1122j_21",
@@ -3549,7 +3611,7 @@ var Pn = {
3549
3611
  "tab--active": "_tab--active_1122j_63",
3550
3612
  indicator: "_indicator_1122j_74",
3551
3613
  "indicator--animated": "_indicator--animated_1122j_88"
3552
- }, Fn = ({ items: t, value: n, defaultValue: r, onChange: o, bordered: s = !0, fill: c = !1, className: l }) => {
3614
+ }, Rn = ({ items: t, value: n, defaultValue: r, onChange: o, bordered: s = !0, fill: c = !1, className: l }) => {
3553
3615
  let u = n !== void 0, [d, f] = e.useState(r ?? t[0]?.value), p = u ? n : d, m = (e) => {
3554
3616
  u || f(e), o?.(e);
3555
3617
  }, h = e.useRef(null), g = e.useRef({}), [_, v] = e.useState(null), [y, b] = e.useState(!1);
@@ -3570,9 +3632,9 @@ var Pn = {
3570
3632
  ref: h,
3571
3633
  role: "tablist",
3572
3634
  className: [
3573
- Pn.tabs,
3574
- s ? "" : Pn["tabs--borderless"],
3575
- c ? Pn["tabs--fill"] : "",
3635
+ Ln.tabs,
3636
+ s ? "" : Ln["tabs--borderless"],
3637
+ c ? Ln["tabs--fill"] : "",
3576
3638
  l ?? ""
3577
3639
  ].filter(Boolean).join(" "),
3578
3640
  children: [t.map((e) => {
@@ -3586,27 +3648,27 @@ var Pn = {
3586
3648
  "aria-selected": t,
3587
3649
  disabled: e.disabled,
3588
3650
  className: [
3589
- Pn.tab,
3590
- t ? Pn["tab--active"] : "",
3591
- e.disabled ? Pn["tab--disabled"] : ""
3651
+ Ln.tab,
3652
+ t ? Ln["tab--active"] : "",
3653
+ e.disabled ? Ln["tab--disabled"] : ""
3592
3654
  ].filter(Boolean).join(" "),
3593
3655
  onClick: () => m(e.value),
3594
3656
  children: [n && /* @__PURE__ */ i(n, {
3595
3657
  size: 16,
3596
- strokeWidth: D(16),
3658
+ strokeWidth: O(16),
3597
3659
  "aria-hidden": "true"
3598
3660
  }), e.label]
3599
3661
  }, e.value);
3600
3662
  }), _ && /* @__PURE__ */ i("span", {
3601
3663
  "aria-hidden": "true",
3602
- className: [Pn.indicator, y ? Pn["indicator--animated"] : ""].filter(Boolean).join(" "),
3664
+ className: [Ln.indicator, y ? Ln["indicator--animated"] : ""].filter(Boolean).join(" "),
3603
3665
  style: {
3604
3666
  transform: `translateX(${_.left}px)`,
3605
3667
  width: _.width
3606
3668
  }
3607
3669
  })]
3608
3670
  });
3609
- }, In = {
3671
+ }, zn = {
3610
3672
  wrapper: "_wrapper_w6wtp_8",
3611
3673
  bubble: "_bubble_w6wtp_8",
3612
3674
  bubble__title: "_bubble__title_w6wtp_46",
@@ -3628,7 +3690,7 @@ var Pn = {
3628
3690
  "caret--center-left": "_caret--center-left_w6wtp_121",
3629
3691
  "bubble--center-right": "_bubble--center-right_w6wtp_131",
3630
3692
  "caret--center-right": "_caret--center-right_w6wtp_139"
3631
- }, Ln = ({ title: t, subtitle: n, pointer: r = "top-center", children: o, className: s }) => {
3693
+ }, Bn = ({ title: t, subtitle: n, pointer: r = "top-center", children: o, className: s }) => {
3632
3694
  let [c, l] = e.useState(!1);
3633
3695
  return e.useEffect(() => {
3634
3696
  let e = (e) => {
@@ -3636,24 +3698,24 @@ var Pn = {
3636
3698
  };
3637
3699
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
3638
3700
  }, []), /* @__PURE__ */ a("span", {
3639
- className: [In.wrapper, s ?? ""].filter(Boolean).join(" "),
3701
+ className: [zn.wrapper, s ?? ""].filter(Boolean).join(" "),
3640
3702
  "data-dismissed": c || void 0,
3641
3703
  onMouseLeave: () => l(!1),
3642
3704
  onBlur: () => l(!1),
3643
3705
  children: [o, /* @__PURE__ */ a("span", {
3644
3706
  role: "tooltip",
3645
- className: [In.bubble, In[`bubble--${r}`]].join(" "),
3707
+ className: [zn.bubble, zn[`bubble--${r}`]].join(" "),
3646
3708
  children: [
3647
3709
  /* @__PURE__ */ i("span", {
3648
- className: In.bubble__title,
3710
+ className: zn.bubble__title,
3649
3711
  children: t
3650
3712
  }),
3651
3713
  n && /* @__PURE__ */ i("span", {
3652
- className: In.bubble__subtitle,
3714
+ className: zn.bubble__subtitle,
3653
3715
  children: n
3654
3716
  }),
3655
3717
  /* @__PURE__ */ i("span", {
3656
- className: [In.caret, In[`caret--${r}`]].join(" "),
3718
+ className: [zn.caret, zn[`caret--${r}`]].join(" "),
3657
3719
  "aria-hidden": "true"
3658
3720
  })
3659
3721
  ]
@@ -3681,8 +3743,8 @@ var Pn = {
3681
3743
  "bar__left--search": "_bar__left--search_1fiq0_79",
3682
3744
  bar__accountChevron: "_bar__accountChevron_1fiq0_91",
3683
3745
  "bar__accountChevron--open": "_bar__accountChevron--open_1fiq0_97"
3684
- }, Rn = ({ type: e = "search", density: t = "md", left: n, showToggle: s = !0, onToggle: c, toggleIcon: l = C, 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 }) => {
3685
- let w = t === "md" ? 20 : 18, T = D(w);
3746
+ }, Vn = ({ 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 }) => {
3747
+ let C = t === "md" ? 20 : 18, T = O(C);
3686
3748
  return /* @__PURE__ */ i("header", {
3687
3749
  className: [
3688
3750
  $.bar,
@@ -3719,7 +3781,7 @@ var Pn = {
3719
3781
  onClick: c,
3720
3782
  "aria-label": "Toggle sidebar",
3721
3783
  children: /* @__PURE__ */ i(l, {
3722
- size: w,
3784
+ size: C,
3723
3785
  strokeWidth: T
3724
3786
  })
3725
3787
  }), /* @__PURE__ */ i("div", {
@@ -3739,7 +3801,7 @@ var Pn = {
3739
3801
  className: $.bar__icon,
3740
3802
  "aria-label": "Help",
3741
3803
  children: /* @__PURE__ */ i(h, {
3742
- size: w,
3804
+ size: C,
3743
3805
  strokeWidth: T
3744
3806
  })
3745
3807
  }),
@@ -3750,7 +3812,7 @@ var Pn = {
3750
3812
  children: /* @__PURE__ */ a("span", {
3751
3813
  className: $.bar__bell,
3752
3814
  children: [/* @__PURE__ */ i(o, {
3753
- size: w,
3815
+ size: C,
3754
3816
  strokeWidth: T
3755
3817
  }), p && /* @__PURE__ */ i("span", {
3756
3818
  className: $.bar__dot,
@@ -3764,7 +3826,7 @@ var Pn = {
3764
3826
  className: $.bar__account,
3765
3827
  children: [g, /* @__PURE__ */ i(d, {
3766
3828
  size: 16,
3767
- strokeWidth: D(16),
3829
+ strokeWidth: O(16),
3768
3830
  className: [$.bar__accountChevron, _ ? $["bar__accountChevron--open"] : ""].filter(Boolean).join(" ")
3769
3831
  })]
3770
3832
  })
@@ -3774,4 +3836,4 @@ var Pn = {
3774
3836
  });
3775
3837
  };
3776
3838
  //#endregion
3777
- export { We as $, Lt as A, yt as B, Xt as C, Vt as D, Wt as E, Ot as F, at as G, mt as H, Dt as I, et as J, it as K, wt as L, Nt as M, At as N, Bt as O, kt as P, Ke as Q, St as R, Zt as S, Gt as T, ft as U, _t as V, ot as W, Ye as X, Qe as Y, qe as Z, cn as _, kn as a, Ae as at, $t as b, Cn as c, Se as ct, yn as d, ge as dt, He as et, _n as f, D as ft, ln as g, fn as h, Nn as i, A as it, Ft as j, Rt as k, Sn as l, xe as lt, mn as m, Ln as n, Me as nt, Dn as o, De as ot, hn as p, nt as q, Fn as r, je as rt, Tn as s, Te as st, Rn as t, Be as tt, xn as u, _e as ut, an as v, Jt as w, Qt as x, nn as y, xt as z };
3839
+ export { Ge as $, Rt as A, bt as B, Qt as C, Ut as D, Kt as E, kt as F, ot as G, ht as H, Ot as I, et as J, it as K, Tt as L, Pt as M, jt as N, Ht as O, At as P, Ke as Q, Ct as R, $t as S, qt as T, pt as U, vt as V, st as W, Ye as X, Qe as Y, qe as Z, dn as _, Mn as a, Ee as at, nn as b, En as c, be as ct, Sn as d, O as dt, Ve as et, bn as f, fn as g, hn as h, In as i, ke as it, It as j, Bt as k, Tn as l, ge as lt, _n as m, Bn as n, Ae as nt, An as o, we as ot, vn as p, nt as q, Rn as r, M as rt, On as s, xe as st, Vn as t, ze as tt, wn as u, he as ut, cn as v, Xt as w, tn as x, on as y, St as z };